File failed to load: https://isis.astrogeology.usgs.gov/3.9.0/Object/assets/jax/output/NativeMML/config.js
Isis 3 Developer Reference
BulletDskShape.h
Go to the documentation of this file.
1 #ifndef BulletDskShape_h
2 #define BulletDskShape_h
3 
26 #include <QScopedPointer>
27 #include <QString>
28 #include <QVector>
29 
30 #include "BulletTargetShape.h"
32 
33 namespace Isis {
34 
43  public:
45  BulletDskShape(const QString &dskfile);
46  virtual ~BulletDskShape();
47 
48  int getNumTriangles() const;
49  int getNumVertices() const;
50 
51  virtual btVector3 getNormal(const int indexId, const int segment=0) const;
52  virtual btMatrix3x3 getTriangle(const int index, const int segment=0) const;
53 
54  private:
61  // Custom DSK reader
62  void loadFromDsk(const QString &dskfile);
63 
64  };
65 
66 } // namespace Isis
67 
68 #endif
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

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the USGS Astrogeology Discussion Board
To report a bug, or suggest a feature go to: ISIS Github
File Modified: 07/12/2023 23:15:11