State Struct Reference

Data structure that contains an object state.

Public Member Functions

 State ()
 Constructor. More...
 

Public Attributes

cVector3d Pos
 SHAPE and constraints position. More...
 
cMatrix3d Rot
 SHAPE orientation matrix. More...
 
cVector3d Dir
 Constraint direction. More...
 
double Kp
 Constraints stiffness factor, expressed as a factor (0.0 < Kp < 1.0) of the maximum allowed stiffness (which depends on the type of haptic devices connected to the scene). More...
 
double Kv
 Constraints viscosity factor, expressed as a factor (0.0 < Kv < 1.0) of the maximum allowed damping (which depends on the type of haptic devices connected to the scene). More...
 
double Fmax
 Constraints maximum force generated by the Kp member, expressed in N. More...
 

Constructor & Destructor Documentation

State::State ( )
inline

Member Data Documentation

cVector3d State::Pos
cMatrix3d State::Rot
cVector3d State::Dir
Note
For CONSTRAINT_POINT, this member is ignored.
For CONSTRAINT_SEGMENT, this member describes the segment length and direction from the Pos member.
For CONSTRAINT_PLANE, this member describes the normal direction to the plane.
double State::Kp
double State::Kv
double State::Fmax

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