OpenSceneGraph
Classes | Typedefs | Functions
osgManipulator Namespace Reference

The osgManipulator library is a NodeKit that extends the core scene graph to support 3D interactive manipulators. More...

Classes

class  AntiSquish
 Class that performs the Anti Squish by making the scaling uniform along all axes. More...
 
class  CommandManager
 Deprecated. More...
 
class  CompositeDragger
 CompositeDragger allows to create complex draggers that are composed of a hierarchy of Draggers. More...
 
class  Constraint
 
class  CylinderPlaneProjector
 CylinderPlaneProjector projects a point onto a plane relative to the given cylinder. More...
 
class  CylinderProjector
 CylinderProjector projects points onto the given cylinder. More...
 
class  Dragger
 Base class for draggers. More...
 
class  DraggerCallback
 
class  DraggerTransformCallback
 
class  GridConstraint
 Constraint to snap motion commands to a sugar cube grid. More...
 
class  LineProjector
 LineProjector projects points onto the closest point on the given line. More...
 
class  MotionCommand
 Base class for motion commands that are generated by draggers. More...
 
class  PlaneProjector
 PlaneProjector projects points onto the given line. More...
 
class  PointerInfo
 
class  Projector
 Base class for Projectors. More...
 
class  Rotate3DCommand
 Command for rotation in 3D. More...
 
class  RotateCylinderDragger
 Dragger for performing 3D rotation on a cylinder. More...
 
class  RotateSphereDragger
 Dragger for performing 3D rotation on a sphere. More...
 
class  Scale1DCommand
 Command for 1D scaling. More...
 
class  Scale1DDragger
 Dragger for performing 1D scaling. More...
 
class  Scale2DCommand
 Command for 2D scaling. More...
 
class  Scale2DDragger
 Dragger for performing 2D scaling. More...
 
class  ScaleAxisDragger
 Dragger for performing scaling on all 3 axes. More...
 
class  ScaleUniformCommand
 Command for uniform 3D scaling. More...
 
class  SpherePlaneProjector
 SpherePlaneProjector projects points onto a sphere, failing which it project onto a plane oriented to the viewing direction. More...
 
class  SphereProjector
 SphereProjector projects points onto the given sphere. More...
 
class  TabBoxDragger
 TabBoxDragger consists of 6 TabPlaneDraggers to form a box dragger that performs translation and scaling. More...
 
class  TabBoxTrackballDragger
 Dragger for performing rotation in all axes. 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  TranslateInLineCommand
 Command for translating in a line. More...
 
class  TranslateInPlaneCommand
 Command for translating in a plane. More...
 
class  TranslatePlaneDragger
 Translate plane dragger consists of a wireframe box representing a plane that can be dragged to translate along the plane. More...
 

Typedefs

typedef osg::MatrixTransform Selection
 

Functions

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

Detailed Description

The osgManipulator library is a NodeKit that extends the core scene graph to support 3D interactive manipulators.

Typedef Documentation

◆ Selection

Function Documentation

◆ computeNodePathToRoot()

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

Computes the nodepath from the given node all the way up to the root.

◆ setDrawableToAlwaysCull()

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.

◆ setMaterialColor()

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