|
cisst-saw
|
Derive the base pointer class and add mts stuff. More...
#include <mtsOSGBodyUI.h>
Public Member Functions | |
| Pointer (osaOSGWorld *world, const vctFrame4x4< double > &Rt, const std::string &name, double scale=1.0, double alpha=1.0) | |
Public Member Functions inherited from osaOSGPointer3D | |
| osaOSGPointer3D (osaOSGWorld *world, const vctFrame4x4< double > &Rt, const std::string &name, double scale=1.0, double alpha=1.0) | |
| void | CheckIntersection () |
| void | Select () |
| void | Release () |
| void | SetVelocity (const vctFixedSizeVector< double, 3 > &v) |
Public Member Functions inherited from osaOSGBody | |
| osaOSGBody (osaOSGWorld *world, const vctFrame4x4< double > &Rt) | |
| OSG Body constructor. More... | |
| osaOSGBody (osaOSGBody *body, const vctFrame4x4< double > &Rt) | |
| osaOSGBody (const std::string &model, const vctFrame4x4< double > &Rt, double scale=1.0, double alpha=1.0, const vctFrame4x4< double > &Rtoffset=vctFrame4x4< double >(), const std::string &option=std::string("")) | |
| OSG Body constructor. More... | |
| osaOSGBody (const std::string &model, osaOSGWorld *world, const vctFrame4x4< double > &Rt, double scale=1.0, double alpha=1.0, const vctFrame4x4< double > &Rtoffset=vctFrame4x4< double >(), const std::string &option=std::string("")) | |
| OSG Body constructor. More... | |
| osaOSGBody (const std::string &model, osaOSGBody *world, const vctFrame4x4< double > &Rt, double scale=1.0, double alpha=1.0, const vctFrame4x4< double > &Rtoffset=vctFrame4x4< double >(), const std::string &option=std::string("")) | |
| OSG Body constructor. More... | |
| osaOSGBody (const std::string &model, osaOSGWorld *world, const vctFrm3 &Rt, double scale=1.0, double alpha=1.0, const std::string &option=std::string("")) | |
| OSG Body constructor. More... | |
| osaOSGBody (const vctDynamicMatrix< double > &pointcloud, osaOSGWorld *world, const vctFrm3 &Rt, const vctFixedSizeVector< unsigned char, 3 > &rgb=RGBDEFAULT, float size=3.0) | |
| Construcor for 3D point cloud. More... | |
| osaOSGBody () | |
| ~osaOSGBody () | |
| void | Initialize (double scale=1.0) |
| virtual void | SetTransform (const vctFrame4x4< double > &Rt) |
| Set the transform of the body. More... | |
| virtual void | SetTransform (const vctFrm3 &Rt) |
| virtual vctFrm3 | GetTransform () const |
| osg::ref_ptr < osg::MatrixTransform > | GetMatrixTransform () |
| void | ResetMatrixTransform () |
| void | SwitchOn () |
| Set the switch of the body. More... | |
| void | SwitchOff () |
| void | SetModeLine () |
| void | SetModePoint () |
| void | SetModeFill () |
| void | AddTransformCallback (void) |
| virtual vctDynamicMatrix< double > | GetVertices () |
Public Attributes | |
| vctFixedSizeVector< double, 3 > | told |
| mtsInterfaceRequired * | input |
| The input interface. More... | |
| mtsFunctionRead | GetPosition |
| mtsFunctionRead | GetVelocity |
| mtsFunctionRead | GetButtons |
Protected Member Functions | |
| virtual void | UpdateTransform () |
| This update method is called from the OSG callback. More... | |
Protected Member Functions inherited from osaOSGPointer3D | |
| void | BuildPolytope () |
Protected Member Functions inherited from osaOSGBody | |
| virtual void | UpdateSwitch () |
| This method is called from the switch callback. More... | |
| void | ReadModel (const std::string &fname, const std::string &options, double alpha) |
| void | Read3DData (const vctDynamicMatrix< double > &pc, const vctFixedSizeVector< unsigned char, 3 > &RGB=RGBDEFAULT, float size=3.0) |
Additional Inherited Members | |
Public Types inherited from osaOSGBody | |
| enum | Switch { SWITCH_OFF, SWITCH_ON } |
Static Public Attributes inherited from osaOSGBody | |
| static const vctFixedSizeVector< unsigned char, 3 > | RGBDEFAULT |
Protected Attributes inherited from osaOSGPointer3D | |
| osg::ref_ptr< osg::Geode > | geode |
| osg::ref_ptr< osg::ShapeDrawable > | drawable |
| osg::ref_ptr< osg::Sphere > | sphere |
| osg::ref_ptr < IntersectionCallback > | intersectioncallback |
| osg::ref_ptr< osaOSGWorld > | world |
| vctFixedSizeVector< double, 3 > | velocity |
| osg::Polytope | polytope |
| bool | select |
Protected Attributes inherited from osaOSGBody | |
| osg::ref_ptr< UserData > | userdata |
| osg::ref_ptr < osg::PositionAttitudeTransform > | osgscale |
| osg::ref_ptr< TransformCallback > | transformcallback |
| vctFrame4x4< double > | transform |
| vctFrame4x4< double > | Rtoffset |
| osg::ref_ptr < osg::MatrixTransform > | osgtransform |
| osg::ref_ptr< SwitchCallback > | switchcallback |
| Switch | onoff |
| osg::ref_ptr< osg::Switch > | osgswitch |
| osg::ref_ptr< osg::Geode > | osggeode |
Derive the base pointer class and add mts stuff.
|
inline |
|
protectedvirtual |
This update method is called from the OSG callback.
Reimplemented from osaOSGBody.
| mtsFunctionRead mtsOSGPointer3D::Pointer::GetButtons |
| mtsFunctionRead mtsOSGPointer3D::Pointer::GetPosition |
| mtsFunctionRead mtsOSGPointer3D::Pointer::GetVelocity |
| mtsInterfaceRequired* mtsOSGPointer3D::Pointer::input |
The input interface.
| vctFixedSizeVector<double,3> mtsOSGPointer3D::Pointer::told |
1.8.6