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;
virtual btVector3 getNormal(const int indexId, const int segment=0) const
Return normal for a given triangle index.
virtual btMatrix3x3 getTriangle(const int index, const int segment=0) const
Get the vertices of a triangle in the mesh.
Bullet Target Shape for NAIF type 2 DSK models.
int getNumTriangles() const
Return the number of triangles in the shape.
Namespace for ISIS/Bullet specific routines.
BulletDskShape()
Default empty constructor.
Bullet Target Shape for planetary bodies.
virtual ~BulletDskShape()
Desctructor.
int getNumVertices() const
Return the number of verticies in the shape.
void loadFromDsk(const QString &dskfile)
! Triangular mesh representation of the target shape.