OpenSim  OpenSim 3.1
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
OpenSim::AnalyticGeometry Class Reference

Utility class used to abstract anayltic geometry. More...

#include <Geometry.h>

Inheritance diagram for OpenSim::AnalyticGeometry:
OpenSim::Geometry OpenSim::AnalyticCylinder OpenSim::AnalyticEllipsoid OpenSim::AnalyticSphere OpenSim::AnalyticTorus

Public Member Functions

 AnalyticGeometry (GeometryType aGeometricType)
virtual ~AnalyticGeometry ()
void setQuadrants (const bool quadrants[6])
void getQuadrants (bool quadrants[6])
const bool isPiece () const
- Public Member Functions inherited from OpenSim::Geometry
 Geometry ()
virtual ~Geometry ()
const GeometryType getShape () const
virtual bool isAnalytic () const
virtual void setFixed (bool aFixed)
virtual bool getFixed () const

Additional Inherited Members

- Public Types inherited from OpenSim::Geometry
enum  GeometryType {
  None, Sphere, Cylinder, Cone,
  Ellipsoid, Torus, Line, Arrow
}
- Protected Attributes inherited from OpenSim::Geometry
GeometryType _analyticType
 to indicate if the geometry is fixed vs deformable

Detailed Description

Utility class used to abstract anayltic geometry.

If the differentiation between types becomes an issue, or more info need to be stuffed in this class, it may be worth it to separate it into a bunch, one per shape.

Constructor & Destructor Documentation

OpenSim::AnalyticGeometry::AnalyticGeometry ( GeometryType  aGeometricType)
inline
virtual OpenSim::AnalyticGeometry::~AnalyticGeometry ( )
inlinevirtual

Member Function Documentation

void OpenSim::AnalyticGeometry::getQuadrants ( bool  quadrants[6])
inline
const bool OpenSim::AnalyticGeometry::isPiece ( ) const
inline
void OpenSim::AnalyticGeometry::setQuadrants ( const bool  quadrants[6])
inline

The documentation for this class was generated from the following file: