|
Isis 3 Programmer Reference
|
1 #ifndef BulletDskShape_h
2 #define BulletDskShape_h
10 #include <QScopedPointer>
14 #include "BulletTargetShape.h"
15 #include "BulletClosestRayCallback.h"
35 virtual btVector3
getNormal(
const int indexId,
const int segment=0)
const;
36 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.
BulletDskShape()
Default empty constructor.
int getNumTriangles() const
Return the number of triangles in the shape.
Bullet Target Shape for NAIF type 2 DSK models.
virtual btMatrix3x3 getTriangle(const int index, const int segment=0) const
Get the vertices of a triangle in the mesh.
void loadFromDsk(const QString &dskfile)
! Triangular mesh representation of the target shape.
int getNumVertices() const
Return the number of verticies in the shape.
virtual ~BulletDskShape()
Desctructor.
Bullet Target Shape for planetary bodies.
This is free and unencumbered software released into the public domain.