15#ifndef OSGMANIPULATOR_ROTATECYLINDERDRAGGER
16#define OSGMANIPULATOR_ROTATECYLINDERDRAGGER 1
The core osg library provides the basic scene graph classes such as Nodes, State and Drawables,...
Definition AlphaFunc:19
Matrixd Matrix
Definition Matrix:27
Vec4f Vec4
Definition Vec4:21
The 'GA' in osgGA stands for 'GUI Abstraction'; the osgGA namespace provides facilities to help devel...
Definition Callback:21
The osgManipulator library is a NodeKit that extends the core scene graph to support 3D interactive m...
Definition AntiSquish:23
void OSGMANIPULATOR_EXPORT setMaterialColor(const osg::Vec4 &color, osg::Node &node)
Convenience function for setting the material color on a node.
A quaternion class.
Definition Quat:30
Smart pointer for handling referenced counted objects.
Definition ref_ptr:32
General purpose double triple for use as vertices, vectors and normals.
Definition Vec3d:30
virtual bool handle(const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &aa)
osg::Matrix _startLocalToWorld
Definition RotateCylinderDragger:62
void setPickColor(const osg::Vec4 &color)
Set/Get pick color for dragger.
Definition RotateCylinderDragger:51
void setColor(const osg::Vec4 &color)
Set/Get color for dragger.
Definition RotateCylinderDragger:43
const osg::Vec4 & getColor() const
Definition RotateCylinderDragger:44
const osgGA::GUIEventAdapter & ea
Definition RotateCylinderDragger:37
osg::Vec3d _prevWorldProjPt
Definition RotateCylinderDragger:61
osg::Vec4 _pickColor
Definition RotateCylinderDragger:66
const osgGA::GUIEventAdapter osgGA::GUIActionAdapter & us
Definition RotateCylinderDragger:37
virtual ~RotateCylinderDragger()
osg::Quat _prevRotation
Definition RotateCylinderDragger:63
osg::Matrix _startWorldToLocal
Definition RotateCylinderDragger:62
META_OSGMANIPULATOR_Object(osgManipulator, RotateCylinderDragger) virtual bool handle(const PointerInfo &pi
Handle pick events on dragger and generate TranslateInLine commands.
const osg::Vec4 & getPickColor() const
Definition RotateCylinderDragger:52
void setupDefaultGeometry()
Setup default geometry for dragger.
osg::Vec4 _color
Definition RotateCylinderDragger:65
osg::ref_ptr< CylinderPlaneProjector > _projector
Definition RotateCylinderDragger:59
#define OSGMANIPULATOR_EXPORT
Definition Export:27