13 ConstraintLimit *m_lpThisLimit;
15 osg::ref_ptr<osg::Geometry> m_osgFlap;
16 osg::ref_ptr<osg::MatrixTransform> m_osgFlapTranslateMT;
17 osg::ref_ptr<osg::MatrixTransform> m_osgFlapRotateMT;
19 osg::ref_ptr<osg::Material> m_osgFlapMat;
20 osg::ref_ptr<osg::StateSet> m_osgFlapSS;
26 virtual void SetConstraintLimit(ConstraintLimit *lpLimit) {m_lpThisLimit = lpLimit;};
28 virtual void LimitAlpha(
float fltA);
29 virtual void SetLimitPos(
float fltHeight);
31 osg::Geometry *FlapGeometry() {
return m_osgFlap.get();};
32 osg::MatrixTransform *FlapTranslateMT() {
return m_osgFlapTranslateMT.get();};
33 osg::MatrixTransform *FlapRotateMT() {
return m_osgFlapRotateMT.get();};
34 osg::Material *FlapMat() {
return m_osgFlapMat.get();};
35 osg::StateSet *FlapSS() {
return m_osgFlapSS.get();};
37 virtual void SetupLimitGraphics(
float fltFlapWidth,
float fltCylinderHeight);
38 virtual void DeleteLimitGraphics();
Classes for implementing the cm-labs vortex physics engine for AnimatLab.