osgManipulator Namespace Reference


Classes

class  AntiSquish
 Class that performs the Anti Squish by making the scaling uniform along all axes. More...
class  MotionCommand
 Base class for motion commands that are generated by draggers. More...
class  TranslateInLineCommand
 Command for translating in a line. More...
class  TranslateInPlaneCommand
 Command for translating in a plane. More...
class  Scale1DCommand
 Command for 1D scaling. More...
class  Scale2DCommand
 Command for 2D scaling. More...
class  ScaleUniformCommand
 Command for uniform 3D scaling. More...
class  Rotate3DCommand
 Command for rotation in 3D. More...
class  CommandManager
 Command manager receives commands from draggers and dispatches them to selections. More...
class  Constraint
class  GridConstraint
 Constraint to snap motion commands to a sugar cube grid. More...
class  PointerInfo
class  Dragger
 Base class for draggers. More...
class  CompositeDragger
 CompositeDragger allows to create complex draggers that are composed of a hierarchy of Draggers. More...
class  Projector
 Base class for Projectors. More...
class  LineProjector
 LineProjector projects points onto the closest point on the given line. More...
class  PlaneProjector
 PlaneProjector projects points onto the given line. More...
class  SphereProjector
 SphereProjector projects points onto the given sphere. More...
class  SpherePlaneProjector
 SpherePlaneProjector projects points onto a sphere, failing which it project onto a plane oriented to the viewing direction. More...
class  CylinderProjector
 CylinderProjector projects points onto the given cylinder. More...
class  CylinderPlaneProjector
 CylinderPlaneProjector projects points onto the given cylinder. More...
class  RotateCylinderDragger
 Dragger for performing 3D rotation on a cylinder. More...
class  RotateSphereDragger
 Dragger for performing 3D rotation on a sphere. More...
class  Scale1DDragger
 Dragger for performing 1D scaling. More...
class  Scale2DDragger
 Dragger for performing 2D scaling. More...
class  ScaleAxisDragger
 Dragger for performing scaling on all 3 axes. More...
class  Selection
 Selection listens to motion commands generated by draggers. More...
class  TabBoxDragger
 TabBoxDragger consists of 6 TabPlaneDraggers to form a box dragger that performs translation and scaling. More...
class  TabPlaneDragger
 Tab plane dragger consists of a plane with tabs on it's corners and edges for scaling. More...
class  TabPlaneTrackballDragger
 Dragger for performing rotation in all axes. More...
class  TrackballDragger
 Dragger for performing rotation in all axes. More...
class  Translate1DDragger
 Dragger for performing 1D translation. More...
class  Translate2DDragger
 Dragger for performing 2D translation. More...
class  TranslateAxisDragger
 Dragger for performing translation in all three axes. More...
class  TranslatePlaneDragger
 Tab plane dragger consists of a plane with tabs on it's corners and edges for scaling. More...

Functions

void
OSGMANIPULATOR_EXPORT 
setDrawableToAlwaysCull (osg::Drawable &drawable)
 Culls the drawable all the time.
void
OSGMANIPULATOR_EXPORT 
setMaterialColor (const osg::Vec4 &color, osg::Node &node)
 Convenience function for setting the material color on a node.
OSGMANIPULATOR_EXPORT
void 
computeNodePathToRoot (osg::Node &node, osg::NodePath &np)
 Computes the nodepath from the given node all the way upto the root.


Function Documentation

OSGMANIPULATOR_EXPORT void osgManipulator::computeNodePathToRoot ( osg::Node node,
osg::NodePath np 
)

Computes the nodepath from the given node all the way upto the root.

void OSGMANIPULATOR_EXPORT osgManipulator::setDrawableToAlwaysCull ( osg::Drawable drawable  ) 

Culls the drawable all the time.

Used by draggers to have invisible geometry around lines and points so that they can be picked. For example, a dragger could have a line with an invisible cylinder around it to enable picking on that line.

void OSGMANIPULATOR_EXPORT osgManipulator::setMaterialColor ( const osg::Vec4 color,
osg::Node node 
)

Convenience function for setting the material color on a node.


Generated at Sun Oct 14 02:12:39 2007 for the OpenSceneGraph by doxygen 1.5.3.