#include <UWSimUtils.h>
Static Public Member Functions | |
static void | applyStateSets (osg::Node *) |
static osg::Node * | createFrame (double radius=0.015, double length=0.2) |
static osg::Node * | createOSGBox (osg::Vec3 size) |
static osg::Node * | createOSGCylinder (double radius, double height) |
static osg::Node * | createOSGSphere (double radius) |
static osg::Node * | createSwitchableFrame (double radius=0.015, double length=0.2) |
static osg::Node * | loadGeometry (boost::shared_ptr< Geometry > geom) |
static osg::Node * | retrieveResource (std::string name) |
Definition at line 134 of file UWSimUtils.h.
void UWSimGeometry::applyStateSets | ( | osg::Node * | node | ) | [static] |
Apply osgOcean-based state sets to a node
Definition at line 275 of file UWSimUtils.cpp.
osg::Node * UWSimGeometry::createFrame | ( | double | radius = 0.015 , |
double | length = 0.2 |
||
) | [static] |
Definition at line 144 of file UWSimUtils.cpp.
osg::Node * UWSimGeometry::createOSGBox | ( | osg::Vec3 | size | ) | [static] |
Definition at line 226 of file UWSimUtils.cpp.
osg::Node * UWSimGeometry::createOSGCylinder | ( | double | radius, |
double | height | ||
) | [static] |
Definition at line 242 of file UWSimUtils.cpp.
osg::Node * UWSimGeometry::createOSGSphere | ( | double | radius | ) | [static] |
Definition at line 259 of file UWSimUtils.cpp.
osg::Node * UWSimGeometry::createSwitchableFrame | ( | double | radius = 0.015 , |
double | length = 0.2 |
||
) | [static] |
Definition at line 135 of file UWSimUtils.cpp.
osg::Node * UWSimGeometry::loadGeometry | ( | boost::shared_ptr< Geometry > | geom | ) | [static] |
Definition at line 341 of file UWSimUtils.cpp.
osg::Node * UWSimGeometry::retrieveResource | ( | std::string | name | ) | [static] |
Definition at line 294 of file UWSimUtils.cpp.