5 namespace Visualization
14 osg::ref_ptr<osg::Geode> m_gdeLine;
15 osg::ref_ptr<osg::Geometry> m_linesGeom;
16 osg::ref_ptr<osg::LineWidth> m_lineWidth;
19 osg::ref_ptr<osg::Vec3Array> m_aryLines;
33 m_instance->Initialize();
41 osg::Node* GetNode(){
return m_gdeLine.get();};
42 void SetStart(osg::Vec3 v3Start);
43 osg::Vec3 GetStart() {
return m_v3Start; };
45 void SetEnd(osg::Vec3 v3End);
46 osg::Vec3 GetEnd() {
return m_v3End; };
48 void SetGrabPosition(osg::Vec3 v3Grab) {m_v3Grab = v3Grab;};
49 osg::Vec3 GetGrabPosition() {
return m_v3Grab;}
51 void SetRigidBody (VsRigidBody *osgRB) {m_osgRB = osgRB;};
52 VsRigidBody* GetRigidBody() {
return m_osgRB;};
54 void Visible(
bool bVal);
Classes for implementing the cm-labs vortex physics engine for AnimatLab.