|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef BulletTargetShape_h
2 #define BulletTargetShape_h
10 #include <QSharedPointer>
11 #include <QScopedPointer>
48 btCollisionObject *
body()
const;
60 btScalar m_maximumDistance;
virtual ~BulletTargetShape()
Desctructor.
Definition: BulletTargetShape.cpp:47
File name manipulation and expansion.
Definition: FileName.h:100
void writeBullet(const QString &btName) const
Write a serialized version of the target shape to a Bullet file.
Definition: BulletTargetShape.cpp:141
Container for cube-like labels.
Definition: Pvl.h:119
Bullet Target Shape for NAIF type 2 DSK models.
Definition: BulletDskShape.h:26
void setMaximumDistance()
Calculate and save the maximum distance across the body.
Definition: BulletTargetShape.cpp:54
static BulletTargetShape * load(const QString &dem, const Pvl *conf=0)
Load a DEM file into the target shape.
Definition: BulletTargetShape.cpp:84
static BulletTargetShape * loadDSK(const QString &dem, const Pvl *conf=0)
Load a DSK in Bullet.
Definition: BulletTargetShape.cpp:117
static BulletTargetShape * loadCube(const QString &dem, const Pvl *conf=0)
Load an ISIS cube type DEM in Bullet.
Definition: BulletTargetShape.cpp:130
void setTargetBody(btCollisionObject *body)
Set the Bullet shape object to this object instance
Definition: BulletTargetShape.cpp:156
QString name() const
Return name of the target shape.
Definition: BulletTargetShape.cpp:71
QString extension() const
Returns the last extension of the file name.
Definition: FileName.cpp:178
BulletTargetShape()
Default empty constructor.
Definition: BulletTargetShape.cpp:28
Bullet Target Shape for planetary bodies.
Definition: BulletTargetShape.h:33
btScalar maximumDistance() const
Definition: BulletTargetShape.cpp:163
static BulletTargetShape * loadPC(const QString &dem, const Pvl *conf=0)
Load a point cloud type DEM in Bullet.
Definition: BulletTargetShape.cpp:105
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
btCollisionObject * body() const
Return a pointer to the Bullet target object/shape.
Definition: BulletTargetShape.cpp:150