Detailed Description
CylinderPlaneProjector projects points onto the given cylinder.
Constructor & Destructor Documentation
osgManipulator::CylinderPlaneProjector::CylinderPlaneProjector |
( |
| ) |
|
osgManipulator::CylinderPlaneProjector::CylinderPlaneProjector |
( |
osg::Cylinder * |
cylinder | ) |
|
virtual osgManipulator::CylinderPlaneProjector::~CylinderPlaneProjector |
( |
| ) |
|
|
protectedvirtual |
Member Function Documentation
bool osgManipulator::CylinderPlaneProjector::isProjectionOnCylinder |
( |
| ) |
const |
|
inline |
Returns true if the previous projection was on the cylinder and false if the projection was on the plane.
virtual bool osgManipulator::CylinderPlaneProjector::project |
( |
const PointerInfo & |
pi, |
|
|
osg::Vec3d & |
projectedPoint |
|
) |
| const |
|
virtual |
Calculates the object coordinates (projectedPoint) of a window coordinate (pointToProject) when projected onto the given plane. Returns true on successful projection.
Reimplemented from osgManipulator::CylinderProjector.
Member Data Documentation
bool osgManipulator::CylinderPlaneProjector::_onCylinder |
|
mutableprotected |
osg::Plane osgManipulator::CylinderPlaneProjector::_plane |
|
mutableprotected |
osg::Vec3d osgManipulator::CylinderPlaneProjector::_planeLineEnd |
|
mutableprotected |
osg::Vec3d osgManipulator::CylinderPlaneProjector::_planeLineStart |
|
mutableprotected |
The documentation for this class was generated from the following file: