8 void ANIMAT_OSG_PORT SetMatrixUtil(OsgMatrixUtil *lpUtil);
9 osg::Matrix ANIMAT_OSG_PORT SetupMatrix(CStdFPoint &localPos, CStdFPoint &localRot);
10 osg::Matrix ANIMAT_OSG_PORT SetupMatrix(CStdFPoint &localPos, osg::Quat qRot);
11 CStdFPoint ANIMAT_OSG_PORT EulerRotationFromMatrix(osg::Matrix osgMT);
12 osg::Matrix ANIMAT_OSG_PORT LoadMatrix(CStdXml &oXml, std::string strElementName);
13 std::string ANIMAT_OSG_PORT SaveMatrixString(osg::Matrix osgMT);
14 void ANIMAT_OSG_PORT SaveMatrix(CStdXml &oXml, std::string strElementName, osg::Matrix osgMT);
16 void ANIMAT_OSG_PORT ApplyVertexTransform(osg::Node *node, osg::Matrix omat);
17 bool ANIMAT_OSG_PORT OsgMatricesEqual(osg::Matrix v1, osg::Matrix v2);
18 void ANIMAT_OSG_PORT SetNodeColor(osg::Node *osgNode, CStdColor &vAmbient, CStdColor &vDiffuse, CStdColor &vSpecular,
float fltShininess);
19 void ANIMAT_OSG_PORT AddNodeTexture(osg::Node *osgNode, std::string strTexture, osg::StateAttribute::GLMode eTextureMode);
20 osg::Geometry ANIMAT_OSG_PORT *CreateBoxGeometry(
float xsize,
float ysize,
float zsize,
float fltXSegWidth,
float fltYSegWidth,
float fltZSegWidth);
21 osg::Geometry ANIMAT_OSG_PORT *
CreateConeGeometry(
float height,
float topradius,
float botradius,
int sides,
bool doSide,
bool doTop,
bool doBottom);
23 osg::Geometry ANIMAT_OSG_PORT *
CreateEllipsoidGeometry(
int latres,
int longres,
float rSemiMajorAxis,
float rSemiMinorAxis);
24 osg::Geometry ANIMAT_OSG_PORT *CreatePlaneGeometry(
float fltCornerX,
float fltCornerY,
float fltXSize,
float fltYSize,
float fltXGrid,
float fltYGrid,
bool bBothSides);
25 osg::MatrixTransform ANIMAT_OSG_PORT *CreateLinearAxis(
float fltGripScale, CStdFPoint vRotAxis);
26 osg::Geode ANIMAT_OSG_PORT *CreateCircle(
int plane,
int approx,
float radius,
float width );
27 osg::Vec3Array ANIMAT_OSG_PORT *CreateCircleVerts(
int plane,
int approx,
float radius );
28 osg::Geometry ANIMAT_OSG_PORT *CreateTorusGeometry(
float innerRadius,
float outerRadius,
int sides,
int rings);
29 osg::Node ANIMAT_OSG_PORT *CreateHeightField(std::string heightFile,
float fltSegWidth,
float fltSegLength,
float fltMaxHeight, osg::HeightField **osgMap,
bool bAdjustHeight);
Classes for implementing the cm-labs vortex physics engine for AnimatLab.
osg::Geometry ANIMAT_OSG_PORT * CreateEllipsoidGeometry(int latres, int longres, float rSemiMajorAxis, float rSemiMinorAxis)
osg::Geometry ANIMAT_OSG_PORT * CreateConeGeometry(float height, float topradius, float botradius, int sides, bool doSide, bool doTop, bool doBottom)
osg::Geometry ANIMAT_OSG_PORT * CreateSphereGeometry(int latres, int longres, float radius)