Grip-Reloaded
Grip version visualizaiton interface for DART (DynamicAnimationandRoboticsToolkits)
Namespaces | Functions
/home/pete/myRepos/grip2/osgGolems/osgUtils.h File Reference

Utility functions for OpenSceneGraph. More...

Go to the source code of this file.

Namespaces

namespace  osgGolems
 

Namespace for all the classes that are only dependent upon OpenSceneGraph.


Functions

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.
osg::Matrix osgGolems::eigToOsgMatrix (const Eigen::Isometry3d &tf)
 Convert Eigen::Isometry3d matrix to an osg::Matrix. osg::Matrix is transposed.
osg::Matrix osgGolems::eigToOsgMatrix (const Eigen::Isometry3f &tf)
 Convert Eigen::Isometry3f matrix to an osg::Matrix. osg::Matrix is transposed.
osg::Vec3 osgGolems::eigToOsgVec3 (const Eigen::Vector3d &vec)
 Convert Eigen::Vector3d vector to an osg::Vec3d.
void osgGolems::addWireFrameMode (osg::Node *node)
 Adds a wireframe mode to the node passed in.
void osgGolems::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 osgGolems::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 osgGolems::setTransparency (osg::Node *node, float transparencyValue)
 Set the transparency value of a node Reference: OSG Cookbook p. 239.

Detailed Description

Utility functions for OpenSceneGraph.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator