1 #ifndef BulletTargetShape_h 2 #define BulletTargetShape_h 26 #include <QSharedPointer> 27 #include <QScopedPointer> 64 btCollisionObject *
body()
const;
76 btScalar m_maximumDistance;
void writeBullet(const QString &btName) const
Write a serialized version of the target shape to a Bullet file.
Definition: BulletTargetShape.cpp:158
static BulletTargetShape * loadPC(const QString &dem, const Pvl *conf=0)
Load a point cloud type DEM in Bullet.
Definition: BulletTargetShape.cpp:122
virtual ~BulletTargetShape()
Desctructor.
Definition: BulletTargetShape.cpp:64
btCollisionObject * body() const
Return a pointer to the Bullet target object/shape.
Definition: BulletTargetShape.cpp:167
static BulletTargetShape * load(const QString &dem, const Pvl *conf=0)
Load a DEM file into the target shape.
Definition: BulletTargetShape.cpp:101
static BulletTargetShape * loadDSK(const QString &dem, const Pvl *conf=0)
Load a DSK in Bullet.
Definition: BulletTargetShape.cpp:134
void setMaximumDistance()
Calculate and save the maximum distance across the body.
Definition: BulletTargetShape.cpp:71
void setTargetBody(btCollisionObject *body)
Set the Bullet shape object to this object instance.
Definition: BulletTargetShape.cpp:173
static BulletTargetShape * loadCube(const QString &dem, const Pvl *conf=0)
Load an ISIS cube type DEM in Bullet.
Definition: BulletTargetShape.cpp:147
Container for cube-like labels.
Definition: Pvl.h:135
QString name() const
Return name of the target shape.
Definition: BulletTargetShape.cpp:88
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
BulletTargetShape()
Default empty constructor.
Definition: BulletTargetShape.cpp:45
btScalar maximumDistance() const
Definition: BulletTargetShape.cpp:180
Bullet Target Shape for planetary bodies.
Definition: BulletTargetShape.h:49