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

Class Geometry is intended to be used as the base class for all geometry that needs to be represented in the system, both as vtk files, or analytic. More...

#include <Geometry.h>

Inheritance diagram for OpenSim::Geometry:
OpenSim::AnalyticGeometry OpenSim::LineGeometry OpenSim::PolyhedralGeometry OpenSim::AnalyticCylinder OpenSim::AnalyticEllipsoid OpenSim::AnalyticSphere OpenSim::AnalyticTorus OpenSim::ArrowGeometry

Public Types

enum  GeometryType {
  None, Sphere, Cylinder, Cone,
  Ellipsoid, Torus, Line, Arrow
}

Public Member Functions

 Geometry ()
virtual ~Geometry ()
const GeometryType getShape () const
virtual bool isAnalytic () const
virtual void setFixed (bool aFixed)
virtual bool getFixed () const

Protected Attributes

GeometryType _analyticType
 to indicate if the geometry is fixed vs deformable

Detailed Description

Class Geometry is intended to be used as the base class for all geometry that needs to be represented in the system, both as vtk files, or analytic.

Version
1.0
Author
Ayman Habib

Member Enumeration Documentation

Enumerator:
None 
Sphere 
Cylinder 
Cone 
Ellipsoid 
Torus 
Line 
Arrow 

Constructor & Destructor Documentation

OpenSim::Geometry::Geometry ( )
inline
virtual OpenSim::Geometry::~Geometry ( )
inlinevirtual

Member Function Documentation

virtual bool OpenSim::Geometry::getFixed ( ) const
inlinevirtual
const GeometryType OpenSim::Geometry::getShape ( ) const
inline
virtual bool OpenSim::Geometry::isAnalytic ( ) const
inlinevirtual
virtual void OpenSim::Geometry::setFixed ( bool  aFixed)
inlinevirtual

Member Data Documentation

GeometryType OpenSim::Geometry::_analyticType
protected

to indicate if the geometry is fixed vs deformable


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