|
| OrbitManipulator (int flags=DEFAULT_SETTINGS) |
|
| OrbitManipulator (const OrbitManipulator &om, const osg::CopyOp ©Op=osg::CopyOp::SHALLOW_COPY) |
|
| META_Object (osgGA, OrbitManipulator) |
|
virtual void | setByMatrix (const osg::Matrixd &matrix) |
|
virtual void | setByInverseMatrix (const osg::Matrixd &matrix) |
|
virtual osg::Matrixd | getMatrix () const |
|
virtual osg::Matrixd | getInverseMatrix () const |
|
virtual void | setTransformation (const osg::Vec3d &eye, const osg::Quat &rotation) |
|
virtual void | setTransformation (const osg::Vec3d &eye, const osg::Vec3d ¢er, const osg::Vec3d &up) |
|
virtual void | getTransformation (osg::Vec3d &eye, osg::Quat &rotation) const |
|
virtual void | getTransformation (osg::Vec3d &eye, osg::Vec3d ¢er, osg::Vec3d &up) const |
|
void | setHeading (double azimuth) |
|
double | getHeading () const |
|
void | setElevation (double elevation) |
|
double | getElevation () const |
|
virtual void | setCenter (const osg::Vec3d ¢er) |
|
const osg::Vec3d & | getCenter () const |
|
virtual void | setRotation (const osg::Quat &rotation) |
|
const osg::Quat & | getRotation () const |
|
virtual void | setDistance (double distance) |
|
double | getDistance () const |
|
virtual void | setTrackballSize (const double &size) |
|
double | getTrackballSize () const |
|
virtual void | setWheelZoomFactor (double wheelZoomFactor) |
|
double | getWheelZoomFactor () const |
|
virtual void | setMinimumDistance (const double &minimumDistance, bool relativeToModelSize=false) |
|
double | getMinimumDistance (bool *relativeToModelSize=NULL) const |
|
virtual
osgUtil::SceneView::FusionDistanceMode | getFusionDistanceMode () const |
|
virtual float | getFusionDistanceValue () const |
|
Public Member Functions inherited from osgGA::StandardManipulator |
| StandardManipulator (int flags=DEFAULT_SETTINGS) |
|
| StandardManipulator (const StandardManipulator &m, const osg::CopyOp ©Op=osg::CopyOp::SHALLOW_COPY) |
|
virtual const char * | className () const |
|
virtual void | setNode (osg::Node *) |
|
virtual const osg::Node * | getNode () const |
|
virtual osg::Node * | getNode () |
|
virtual void | setVerticalAxisFixed (bool value) |
|
bool | getVerticalAxisFixed () const |
| Returns whether manipulator preserves camera's "UP" vector. More...
|
|
bool | getAllowThrow () const |
| Returns true if the camera can be thrown, false otherwise. It defaults to true. More...
|
|
virtual void | setAllowThrow (bool allowThrow) |
|
virtual void | setAnimationTime (const double t) |
|
double | getAnimationTime () const |
|
bool | isAnimating () const |
|
virtual void | finishAnimation () |
|
virtual void | home (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) |
|
virtual void | home (double) |
|
virtual void | init (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) |
|
virtual bool | handle (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) |
|
virtual void | getUsage (osg::ApplicationUsage &usage) const |
|
virtual void | setCoordinateFrameCallback (CoordinateFrameCallback *cb) |
|
CoordinateFrameCallback * | getCoordinateFrameCallback () |
|
const CoordinateFrameCallback * | getCoordinateFrameCallback () const |
|
osg::CoordinateFrame | getCoordinateFrame (const osg::Vec3d &position) const |
|
osg::Vec3d | getSideVector (const osg::CoordinateFrame &cf) const |
|
osg::Vec3d | getFrontVector (const osg::CoordinateFrame &cf) const |
|
osg::Vec3d | getUpVector (const osg::CoordinateFrame &cf) const |
|
virtual void | updateCamera (osg::Camera &camera) |
|
void | setIntersectTraversalMask (unsigned int mask) |
|
unsigned int | getIntersectTraversalMask () const |
|
virtual void | setHomePosition (const osg::Vec3d &eye, const osg::Vec3d ¢er, const osg::Vec3d &up, bool autoComputeHomePosition=false) |
|
virtual void | getHomePosition (osg::Vec3d &eye, osg::Vec3d ¢er, osg::Vec3d &up) const |
|
virtual void | setAutoComputeHomePosition (bool flag) |
|
bool | getAutoComputeHomePosition () const |
|
virtual void | computeHomePosition (const osg::Camera *camera=NULL, bool useBoundingBox=false) |
|
virtual bool | handle (osgGA::Event *event, osg::Object *object, osg::NodeVisitor *nv) |
|
Public Member Functions inherited from osgGA::GUIEventHandler |
| GUIEventHandler () |
|
| GUIEventHandler (const GUIEventHandler &eh, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) |
|
| META_Object (osgGA, GUIEventHandler) |
|
virtual bool | handle (const GUIEventAdapter &ea, GUIActionAdapter &aa, osg::Object *, osg::NodeVisitor *) |
|
Public Member Functions inherited from osgGA::EventHandler |
| EventHandler () |
|
| EventHandler (const EventHandler &eh, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) |
|
| META_Object (osgGA, EventHandler) |
|
virtual bool | run (osg::Object *object, osg::Object *data) |
|
virtual void | operator() (osg::Node *node, osg::NodeVisitor *nv) |
|
virtual void | event (osg::NodeVisitor *nv, osg::Drawable *drawable) |
|
| NodeCallback () |
|
| NodeCallback (const NodeCallback &nc, const CopyOp ©op) |
|
| META_Object (osg, NodeCallback) |
|
| Callback () |
|
| Callback (const Callback &cb, const CopyOp ©op) |
|
| META_Object (osg, Callback) |
|
bool | traverse (osg::Object *object, osg::Object *data) |
|
void | setNestedCallback (osg::Callback *cb) |
|
osg::Callback * | getNestedCallback () |
|
const osg::Callback * | getNestedCallback () const |
|
void | addNestedCallback (osg::Callback *nc) |
|
void | removeNestedCallback (osg::Callback *nc) |
|
| Object () |
|
| Object (bool threadSafeRefUnref) |
|
| Object (const Object &, const CopyOp ©op=CopyOp::SHALLOW_COPY) |
|
virtual Object * | cloneType () const =0 |
|
virtual Object * | clone (const CopyOp &) const =0 |
|
virtual bool | isSameKindAs (const Object *) const |
|
virtual const char * | libraryName () const =0 |
|
std::string | getCompoundClassName () const |
|
virtual Node * | asNode () |
|
virtual const Node * | asNode () const |
|
virtual NodeVisitor * | asNodeVisitor () |
|
virtual const NodeVisitor * | asNodeVisitor () const |
|
virtual StateAttribute * | asStateAttribute () |
|
virtual const StateAttribute * | asStateAttribute () const |
|
virtual Uniform * | asUniform () |
|
virtual const Uniform * | asUniform () const |
|
virtual void | setThreadSafeRefUnref (bool threadSafe) |
|
virtual void | setName (const std::string &name) |
|
void | setName (const char *name) |
|
const std::string & | getName () const |
|
void | setDataVariance (DataVariance dv) |
|
DataVariance | getDataVariance () const |
|
virtual void | computeDataVariance () |
|
void | setUserDataContainer (osg::UserDataContainer *udc) |
|
osg::UserDataContainer * | getUserDataContainer () |
|
const osg::UserDataContainer * | getUserDataContainer () const |
|
osg::UserDataContainer * | getOrCreateUserDataContainer () |
|
virtual void | setUserData (Referenced *obj) |
|
virtual Referenced * | getUserData () |
|
virtual const Referenced * | getUserData () const |
|
template<typename T > |
bool | getUserValue (const std::string &name, T &value) const |
|
template<typename T > |
void | setUserValue (const std::string &name, const T &value) |
|
virtual void | resizeGLObjectBuffers (unsigned int) |
|
virtual void | releaseGLObjects (osg::State *=0) const |
|
template<typename T > |
BoolValueObject
UCharValueObject
UShortValueObject
UIntValueObject
DoubleValueObject
Vec3fValueObject
Vec2dValueObject
Vec4dValueObject
PlaneValueObject
MatrixdValueObject
BoundingBoxdValueObject
BoundingSpheredValueObject
bool | getUserValue (const std::string &name, T &value) const |
|
| Referenced () |
|
| Referenced (bool threadSafeRefUnref) |
|
| Referenced (const Referenced &) |
|
Referenced & | operator= (const Referenced &) |
|
bool | getThreadSafeRefUnref () const |
|
OpenThreads::Mutex * | getRefMutex () const |
|
int | ref () const |
|
int | unref () const |
|
int | unref_nodelete () const |
|
int | referenceCount () const |
|
ObserverSet * | getObserverSet () const |
|
ObserverSet * | getOrCreateObserverSet () const |
|
void | addObserver (Observer *observer) const |
|
void | removeObserver (Observer *observer) const |
|
| EventCallback () |
|
| EventCallback (const EventCallback &, const CopyOp &) |
|
| META_Object (osg, EventCallback) |
|
|
virtual bool | handleMouseWheel (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) |
|
virtual bool | performMovementLeftMouseButton (const double eventTimeDelta, const double dx, const double dy) |
|
virtual bool | performMovementMiddleMouseButton (const double eventTimeDelta, const double dx, const double dy) |
|
virtual bool | performMovementRightMouseButton (const double eventTimeDelta, const double dx, const double dy) |
|
virtual bool | performMouseDeltaMovement (const float dx, const float dy) |
|
virtual void | applyAnimationStep (const double currentProgress, const double prevProgress) |
|
virtual void | rotateTrackball (const float px0, const float py0, const float px1, const float py1, const float scale) |
|
virtual void | rotateWithFixedVertical (const float dx, const float dy) |
|
virtual void | rotateWithFixedVertical (const float dx, const float dy, const osg::Vec3f &up) |
|
virtual void | panModel (const float dx, const float dy, const float dz=0.f) |
|
virtual void | zoomModel (const float dy, bool pushForwardIfNeeded=true) |
|
void | trackball (osg::Vec3d &axis, float &angle, float p1x, float p1y, float p2x, float p2y) |
|
float | tb_project_to_sphere (float r, float x, float y) |
|
virtual bool | startAnimationByMousePointerIntersection (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) |
|
virtual void | allocAnimationData () |
|
Protected Member Functions inherited from osgGA::StandardManipulator |
virtual bool | handleFrame (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) |
|
virtual bool | handleResize (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) |
|
virtual bool | handleMouseMove (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) |
|
virtual bool | handleMouseDrag (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) |
|
virtual bool | handleMousePush (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) |
|
virtual bool | handleMouseRelease (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) |
|
virtual bool | handleKeyDown (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) |
|
virtual bool | handleKeyUp (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) |
|
virtual bool | handleMouseDeltaMovement (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) |
|
virtual bool | performMovement () |
|
virtual bool | performAnimationMovement (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) |
|
void | addMouseEvent (const osgGA::GUIEventAdapter &ea) |
|
void | flushMouseEventStack () |
|
virtual bool | isMouseMoving () const |
|
float | getThrowScale (const double eventTimeDelta) const |
|
virtual void | centerMousePointer (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) |
|
void | fixVerticalAxis (osg::Vec3d &eye, osg::Quat &rotation, bool disallowFlipOver) |
|
virtual bool | setCenterByMousePointerIntersection (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) |
|
bool | getRelativeFlag (int index) const |
|
void | setRelativeFlag (int index, bool value) |
|
| CameraManipulator () |
|
| CameraManipulator (const CameraManipulator &mm, const osg::CopyOp ©Op=osg::CopyOp::SHALLOW_COPY) |
|
virtual | ~CameraManipulator () |
|
std::string | getManipulatorName () const |
|
Protected Member Functions inherited from osgGA::GUIEventHandler |
virtual | ~GUIEventHandler () |
|
virtual | ~NodeCallback () |
|
virtual | ~Callback () |
|
virtual | ~Object () |
|
virtual | ~Referenced () |
|
void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
|
void | deleteUsingDeleteHandler () const |
|
OrbitManipulator is base class for camera control based on focal center, distance from the center, and orientation of distance vector to the eye. This is the base class for trackball style manipulators.
Definition at line 31 of file OrbitManipulator.h.