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

#include <Geometry.h>

Inheritance diagram for OpenSim::LineGeometry:
OpenSim::Geometry OpenSim::ArrowGeometry

Public Member Functions

 LineGeometry (SimTK::Vec3 &aPoint1, SimTK::Vec3 &aPoint2)
 LineGeometry ()
virtual ~LineGeometry ()
void getPoints (SimTK::Vec3 &rPoint1, SimTK::Vec3 &rPoint2) const
void getPoints (double rPoint1[], double rPoint2[]) const
void setPoints (SimTK::Vec3 &aPoint1, SimTK::Vec3 &aPoint2)
void setPoints (double aPoint1[], double aPoint2[])
- 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

Protected Attributes

SimTK::Vec3 _point1
SimTK::Vec3 _point2
- Protected Attributes inherited from OpenSim::Geometry
GeometryType _analyticType
 to indicate if the geometry is fixed vs deformable

Additional Inherited Members

- Public Types inherited from OpenSim::Geometry
enum  GeometryType {
  None, Sphere, Cylinder, Cone,
  Ellipsoid, Torus, Line, Arrow
}

Constructor & Destructor Documentation

OpenSim::LineGeometry::LineGeometry ( SimTK::Vec3 &  aPoint1,
SimTK::Vec3 &  aPoint2 
)
inline
OpenSim::LineGeometry::LineGeometry ( )
inline
virtual OpenSim::LineGeometry::~LineGeometry ( )
inlinevirtual

Member Function Documentation

void OpenSim::LineGeometry::getPoints ( SimTK::Vec3 &  rPoint1,
SimTK::Vec3 &  rPoint2 
) const
inline
void OpenSim::LineGeometry::getPoints ( double  rPoint1[],
double  rPoint2[] 
) const
inline
void OpenSim::LineGeometry::setPoints ( SimTK::Vec3 &  aPoint1,
SimTK::Vec3 &  aPoint2 
)
inline
void OpenSim::LineGeometry::setPoints ( double  aPoint1[],
double  aPoint2[] 
)
inline

Member Data Documentation

SimTK::Vec3 OpenSim::LineGeometry::_point1
protected
SimTK::Vec3 OpenSim::LineGeometry::_point2
protected

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