AnimatLab
2
Test
|
Implements the light object within osg. More...
Classes | |
class | OsgBody |
Vortex base body class. More... | |
class | OsgJoint |
A common class for all joint data specific to vortex. More... | |
class | OsgLight |
Vortex physical structure implementation. More... | |
class | OsgLine |
class | OsgMovableItem |
class | OsgOrganism |
Vortex Organism implementation. More... | |
class | OsgRigidBody |
A common class for all rigid body data specific to vortex. More... | |
class | OsgStructure |
Vortex physical structure implementation. More... | |
Enumerations | |
enum | DynamicsControlType { ControlAnimated, ControlNode, ControlDynamic, ControlStatic } |
Functions | |
void ANIMAT_OSG_PORT | AddNodeTexture (osg::Node *osgNode, std::string strTexture, osg::StateAttribute::GLMode eTextureMode) |
void ANIMAT_OSG_PORT | ApplyVertexTransform (osg::Node *node, osg::Matrix omat) |
osg::Geometry ANIMAT_OSG_PORT * | CreateBoxGeometry (float xsize, float ysize, float zsize, float fltXSegWidth, float fltYSegWidth, float fltZSegWidth) |
osg::Geode ANIMAT_OSG_PORT * | CreateCircle (int plane, int segments, float radius, float width) |
osg::Vec3Array ANIMAT_OSG_PORT * | CreateCircleVerts (int plane, int segments, float radius) |
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 * | CreateEllipsoidGeometry (int latres, int longres, float rSemiMajorAxis, float rSemiMinorAxis) |
osg::Node ANIMAT_OSG_PORT * | CreateHeightField (std::string heightFile, float fltSegWidth, float fltSegLength, float fltMaxHeight, osg::HeightField **osgMap, bool bAdjustHeight) |
osg::MatrixTransform ANIMAT_OSG_PORT * | CreateLinearAxis (float fltGripScale, CStdFPoint vRotAxis) |
osg::Geometry ANIMAT_OSG_PORT * | CreatePlaneGeometry (float fltCornerX, float fltCornerY, float fltXSize, float fltYSize, float fltXGrid, float fltYGrid, bool bBothSides) |
osg::Geometry ANIMAT_OSG_PORT * | CreateSphereGeometry (int latres, int longres, float radius) |
osg::Geometry ANIMAT_OSG_PORT * | CreateTorusGeometry (float innerRadius, float outerRadius, int sides, int rings) |
CStdFPoint ANIMAT_OSG_PORT | EulerRotationFromMatrix (osg::Matrix osgMT) |
osg::Matrix ANIMAT_OSG_PORT | LoadMatrix (CStdXml &oXml, std::string strElementName) |
bool ANIMAT_OSG_PORT | OsgMatricesEqual (osg::Matrix v1, osg::Matrix v2) |
void ANIMAT_OSG_PORT | SaveMatrix (CStdXml &oXml, std::string strElementName, osg::Matrix osgMT) |
std::string ANIMAT_OSG_PORT | SaveMatrixString (osg::Matrix osgMT) |
void ANIMAT_OSG_PORT | SetMatrixUtil (OsgMatrixUtil *lpUtil) |
void ANIMAT_OSG_PORT | SetNodeColor (osg::Node *osgNode, CStdColor &vAmbient, CStdColor &vDiffuse, CStdColor &vSpecular, float fltShininess) |
osg::Matrix ANIMAT_OSG_PORT | SetupMatrix (CStdFPoint &localPos, CStdFPoint &localRot) |
osg::Matrix ANIMAT_OSG_PORT | SetupMatrix (CStdFPoint &localPos, osg::Quat qRot) |
Variables | |
OsgMatrixUtil * | g_lpUtil = NULL |
Implements the light object within osg.
Classes for the virtual world simulation that use the vortex physics engine.
osg::Geometry ANIMAT_OSG_PORT * OsgAnimatSim::Environment::CreateConeGeometry | ( | float | height, |
float | topradius, | ||
float | botradius, | ||
int | sides, | ||
bool | doSide, | ||
bool | doTop, | ||
bool | doBottom | ||
) |
Create the Geometry Core used by OSG::makeConicalFrustum.
[in] | height | Height of the conical frustum. |
[in] | topradius | Radius at the top of the conical frustum. |
[in] | botradius | Radius at the bottom of the conical frustum. |
[in] | sides | Number of sides the base is subdivided into. |
[in] | doSide | If true, side faces are created. |
[in] | doTop | If true, top cap faces are created. |
[in] | doBttom | If true, bottom cap faces are created. |
Definition at line 407 of file OsgAnimatSim/OsgGeometry.cpp.
Referenced by OsgAnimatSim::Environment::Joints::OsgHinge::CreateCylinderGraphics().
osg::Geometry ANIMAT_OSG_PORT * OsgAnimatSim::Environment::CreateEllipsoidGeometry | ( | int | latres, |
int | longres, | ||
float | rSemiMajorAxis, | ||
float | rSemiMinorAxis | ||
) |
Create the Geometry Core used by OSG::makeLatLongSphere.
[in] | latres | Number of subdivisions along latitudes. |
[in] | longres | Number of subdivisions along longitudes. |
[in] | radius | Radius of sphere. |
Definition at line 679 of file OsgAnimatSim/OsgGeometry.cpp.
osg::Geometry ANIMAT_OSG_PORT * OsgAnimatSim::Environment::CreateSphereGeometry | ( | int | latres, |
int | longres, | ||
float | radius | ||
) |
Create the Geometry Core used by OSG::makeLatLongSphere.
[in] | latres | Number of subdivisions along latitudes. |
[in] | longres | Number of subdivisions along longitudes. |
[in] | radius | Radius of sphere. |
Definition at line 570 of file OsgAnimatSim/OsgGeometry.cpp.
Referenced by OsgAnimatSim::Environment::OsgJoint::CreateJointGraphics().