1 #ifndef BulletDskShape_h 2 #define BulletDskShape_h 26 #include <QScopedPointer> 51 virtual btVector3
getNormal(
const int indexId,
const int segment=0)
const;
52 virtual btMatrix3x3
getTriangle(
const int index,
const int segment=0)
const;
62 void loadFromDsk(
const QString &dskfile);
virtual btVector3 getNormal(const int indexId, const int segment=0) const
Return normal for a given triangle index.
Definition: BulletDskShape.cpp:130
virtual btMatrix3x3 getTriangle(const int index, const int segment=0) const
Get the vertices of a triangle in the mesh.
Definition: BulletDskShape.cpp:147
Bullet Target Shape for NAIF type 2 DSK models.
Definition: BulletDskShape.h:42
int getNumTriangles() const
Return the number of triangles in the shape.
Definition: BulletDskShape.cpp:87
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
BulletDskShape()
Default empty constructor.
Definition: BulletDskShape.cpp:51
Bullet Target Shape for planetary bodies.
Definition: BulletTargetShape.h:49
virtual ~BulletDskShape()
Desctructor.
Definition: BulletDskShape.cpp:68
int getNumVertices() const
Return the number of verticies in the shape.
Definition: BulletDskShape.cpp:105