Grip-Reloaded
Grip version visualizaiton interface for DART (DynamicAnimationandRoboticsToolkits)
|
Namespace for all the classes that are only dependent upon OpenSceneGraph. More...
Classes | |
class | Axes |
Class that subclasses osg::Geode to create x,y,z axes. More... | |
class | CameraManipulator |
Camera manipulator class that subclasses osgGA::OrbitManipulator. It sets up desired behavior for robot simulator. More... | |
class | Grid |
Class for creating an OpenSceneGraph osg::Geomtry grid of user-specified width, depth and grid square size. More... | |
class | Line |
Class that subclasses osg::Geode to create x,y,z axes. More... | |
class | Sphere |
Convenience class for creating a sphere node. Subclasses osg::Geode. More... | |
class | Cylinder |
Convenience class for creating a cylinder node. Subclasses osg::Geode. More... | |
class | Box |
Convenience class for creating a box node. Subclasses osg::Geode. More... | |
class | Cone |
Convenience class for creating a cone node. Subclasses osg::Geode. More... | |
class | Capsule |
Convenience class for creating a capsule node. Subclasses osg::Geode. More... | |
Enumerations | |
enum | lineType_t { LINE = 0, LINE_ENDING_WITH_ARROW, LINE_WITH_ARROWS, NUM_LINE_TYPES } |
Functions | |
osgViewer::View * | createView (int x, int y, int w, int h, osg::Node *scene=NULL) |
Creates a osgViewer::View pointer with the specified location of the upper-left corner of the window, width, height and scene. | |
osg::Matrix | eigToOsgMatrix (const Eigen::Isometry3d &tf) |
Convert Eigen::Isometry3d matrix to an osg::Matrix. osg::Matrix is transposed. | |
osg::Matrix | eigToOsgMatrix (const Eigen::Isometry3f &tf) |
Convert Eigen::Isometry3f matrix to an osg::Matrix. osg::Matrix is transposed. | |
osg::Vec3 | eigToOsgVec3 (const Eigen::Vector3d &vec) |
Convert Eigen::Vector3d vector to an osg::Vec3d. | |
void | addWireFrameMode (osg::Node *node) |
Adds a wireframe mode to the node passed in. | |
void | setWireFrameOn (osg::Node *node) |
Turns on wireframe mode for the passed in node If it doesn't have a wireframe mode, one is created. | |
void | setWireFrameOff (osg::Node *node) |
Turns off wireframe mode for the passed in node If it doesn't have a wireframe mode, one is created. | |
void | setTransparency (osg::Node *node, float transparencyValue) |
Set the transparency value of a node Reference: OSG Cookbook p. 239. |
Namespace for all the classes that are only dependent upon OpenSceneGraph.
Namespace to encompass the general OpenSceneGraph utilities.
void osgGolems::addWireFrameMode | ( | osg::Node * | node | ) | [inline] |
Adds a wireframe mode to the node passed in.
[out] | node | Node for which to add a wireframe mode |
osgViewer::View * osgGolems::createView | ( | int | x, |
int | y, | ||
int | w, | ||
int | h, | ||
osg::Node * | scene = NULL |
||
) |
Creates a osgViewer::View pointer with the specified location of the upper-left corner of the window, width, height and scene.
x | X-coordinate of the upper-left corner of the window |
x | Y-coordinate of the upper-left corner of the window |
w | Width of the window |
h | Height of the window |
scene | A osg::Node pointer to be put into the viewer window |
osg::Matrix osgGolems::eigToOsgMatrix | ( | const Eigen::Isometry3d & | tf | ) | [inline] |
Convert Eigen::Isometry3d matrix to an osg::Matrix. osg::Matrix is transposed.
tf | Eigen::Isometry3d to be converted. Passed in by reference |
osg::Matrix osgGolems::eigToOsgMatrix | ( | const Eigen::Isometry3f & | tf | ) | [inline] |
Convert Eigen::Isometry3f matrix to an osg::Matrix. osg::Matrix is transposed.
tf | Eigen::Isometry3f to be converted. Passed in by reference |
osg::Vec3 osgGolems::eigToOsgVec3 | ( | const Eigen::Vector3d & | vec | ) | [inline] |
Convert Eigen::Vector3d vector to an osg::Vec3d.
vec | Eigen::Vector3d to be converted. Passed in by reference |
void osgGolems::setTransparency | ( | osg::Node * | node, |
float | transparencyValue | ||
) | [inline] |
Set the transparency value of a node Reference: OSG Cookbook p. 239.
node | Node of which to change the transparency value |
transparencyValue | New transparency value for the node (between 0 and 1) |
void osgGolems::setWireFrameOff | ( | osg::Node * | node | ) | [inline] |
Turns off wireframe mode for the passed in node If it doesn't have a wireframe mode, one is created.
node | Node for which to turn off wireframe mode |
void osgGolems::setWireFrameOn | ( | osg::Node * | node | ) | [inline] |
Turns on wireframe mode for the passed in node If it doesn't have a wireframe mode, one is created.
node | Node for which to turn on wireframe mode |