|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef BulletDskShape_h
2 #define BulletDskShape_h
10 #include <QScopedPointer>
35 virtual btVector3
getNormal(
const int indexId,
const int segment=0)
const;
36 virtual btMatrix3x3
getTriangle(
const int index,
const int segment=0)
const;
46 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:113
File name manipulation and expansion.
Definition: FileName.h:100
BulletDskShape()
Default empty constructor.
Definition: BulletDskShape.cpp:34
int getNumTriangles() const
Return the number of triangles in the shape.
Definition: BulletDskShape.cpp:70
Bullet Target Shape for NAIF type 2 DSK models.
Definition: BulletDskShape.h:26
static void CheckErrors(bool resetNaif=true)
This method looks for any naif errors that might have occurred.
Definition: NaifStatus.cpp:28
void setMaximumDistance()
Calculate and save the maximum distance across the body.
Definition: BulletTargetShape.cpp:54
virtual btMatrix3x3 getTriangle(const int index, const int segment=0) const
Get the vertices of a triangle in the mesh.
Definition: BulletDskShape.cpp:130
void setTargetBody(btCollisionObject *body)
Set the Bullet shape object to this object instance
Definition: BulletTargetShape.cpp:156
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
Isis exception class.
Definition: IException.h:91
int getNumVertices() const
Return the number of verticies in the shape.
Definition: BulletDskShape.cpp:88
Namespace for the standard library.
virtual ~BulletDskShape()
Desctructor.
Definition: BulletDskShape.cpp:51
Bullet Target Shape for planetary bodies.
Definition: BulletTargetShape.h:33
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
Definition: IException.h:126