vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DAControlPoint Class Reference

Control point of Motion trail. More...

#include <MTControlPoint.h>

Inheritance diagram for DAControlPoint:

Public Member Functions

 DAControlPoint (DAControlPointType p_type, osg::Group *p_EOOwner, osg::Vec3 point, osg::Quat orient)
 
 ~DAControlPoint ()
 
osg::Vec3 getBinormal ()
 
double getCurvature ()
 
osg::Vec3 getNormal ()
 
osg::Quat getOrientation ()
 
osg::Vec3 getPosition ()
 
double getPriority ()
 
double getSegmentLength ()
 
double getSpeed ()
 
osg::Vec3 getTangent ()
 
double getTorsion ()
 
double getTvalue ()
 
DAControlPointType getType ()
 
osg::Group * getVisualOwner ()
 
string getPositionString ()
 
void setCharacteristics (osg::Vec3 tan, osg::Vec3 norm, osg::Vec3 binorm, double curvature, double torsion)
 
void setNormal (osg::Vec3 nrml)
 
void setBinormal (osg::Vec3 binrml)
 
void setPosition (osg::Vec3 pos)
 
void setPosition (osg::Vec3f::value_type x, osg::Vec3f::value_type y, osg::Vec3f::value_type z)
 
void setPriority (double prior)
 
void setSegmentLength (double length)
 
double setSpeed (double spee)
 
void setTangent (osg::Vec3 tngt)
 
void setTvalue (double tval)
 
void setVisibleVisualBox (bool vis)
 
void showGizmo (bool show)
 show or hide graphical gizmo of point More...
 

Public Attributes

bool frenetFremeComputed
 

Detailed Description

Control point of Motion trail.

Set of control points is computed from set of samples. Control points are used as control points of leading curve of swept-volume of motion trail. may contains:

  • position, orientation
  • Frenet-frame - local coordinate system
  • speed
  • priority

Constructor & Destructor Documentation

DAControlPoint::DAControlPoint ( DAControlPointType  p_type,
osg::Group *  p_EOOwner,
osg::Vec3  point,
osg::Quat  orient 
)
DAControlPoint::~DAControlPoint ( )

Member Function Documentation

osg::Vec3 DAControlPoint::getBinormal ( )
inline
double DAControlPoint::getCurvature ( )
inline
osg::Vec3 DAControlPoint::getNormal ( )
inline
osg::Quat DAControlPoint::getOrientation ( )
inline
osg::Vec3 DAControlPoint::getPosition ( )
inline
string DAControlPoint::getPositionString ( )
double DAControlPoint::getPriority ( )
inline
double DAControlPoint::getSegmentLength ( )
inline
double DAControlPoint::getSpeed ( )
inline
osg::Vec3 DAControlPoint::getTangent ( )
inline
double DAControlPoint::getTorsion ( )
inline
double DAControlPoint::getTvalue ( )
inline
DAControlPointType DAControlPoint::getType ( void  )
inline
osg::Group* DAControlPoint::getVisualOwner ( )
inline
void DAControlPoint::setBinormal ( osg::Vec3  binrml)
inline
void DAControlPoint::setCharacteristics ( osg::Vec3  tan,
osg::Vec3  norm,
osg::Vec3  binorm,
double  curvature,
double  torsion 
)
void DAControlPoint::setNormal ( osg::Vec3  nrml)
inline
void DAControlPoint::setPosition ( osg::Vec3  pos)
void DAControlPoint::setPosition ( osg::Vec3f::value_type  x,
osg::Vec3f::value_type  y,
osg::Vec3f::value_type  z 
)
void DAControlPoint::setPriority ( double  prior)
inline
void DAControlPoint::setSegmentLength ( double  length)
inline
double DAControlPoint::setSpeed ( double  spee)
inline
void DAControlPoint::setTangent ( osg::Vec3  tngt)
inline
void DAControlPoint::setTvalue ( double  tval)
inline
void DAControlPoint::setVisibleVisualBox ( bool  vis)
inline
void DAControlPoint::showGizmo ( bool  show)

show or hide graphical gizmo of point

Member Data Documentation

bool DAControlPoint::frenetFremeComputed
Todo:
make this private....

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