Inheritance diagram for osg::AutoTransform:
Public Types | |
enum | AutoRotateMode { NO_ROTATION, ROTATE_TO_SCREEN, ROTATE_TO_CAMERA } |
Public Member Functions | |
AutoTransform () | |
AutoTransform (const AutoTransform &pat, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
virtual osg::Object * | cloneType () const |
clone an object of the same type as the node. | |
virtual osg::Object * | clone (const osg::CopyOp ©op) const |
virtual bool | isSameKindAs (const osg::Object *obj) const |
virtual const char * | className () const |
return the name of the node's class type. | |
virtual const char * | libraryName () const |
return the name of the node's library. | |
virtual void | accept (NodeVisitor &nv) |
Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. | |
virtual AutoTransform * | asAutoTransform () |
virtual const AutoTransform * | asAutoTransform () const |
void | setPosition (const Vec3 &pos) |
const Vec3 & | getPosition () const |
void | setRotation (const Quat &quat) |
const Quat & | getRotation () const |
void | setScale (float scale) |
void | setScale (const Vec3 &scale) |
const Vec3 & | getScale () const |
void | setPivotPoint (const Vec3 &pivot) |
const Vec3 & | getPivotPoint () const |
void | setAutoUpdateEyeMovementTolerance (float tolerance) |
float | getAutoUpdateEyeMovementTolerance () const |
void | setAutoRotateMode (AutoRotateMode mode) |
AutoRotateMode | getAutoRotateMode () const |
void | setAutoScaleToScreen (bool autoScaleToScreen) |
bool | getAutoScaleToScreen () const |
virtual bool | computeLocalToWorldMatrix (Matrix &matrix, NodeVisitor *nv) const |
virtual bool | computeWorldToLocalMatrix (Matrix &matrix, NodeVisitor *nv) const |
Protected Member Functions | |
virtual | ~AutoTransform () |
void | computeMatrix () const |
Protected Attributes | |
Vec3 | _position |
Vec3 | _pivotPoint |
float | _autoUpdateEyeMovementTolerance |
AutoRotateMode | _autoRotateMode |
bool | _autoScaleToScreen |
Quat | _rotation |
Vec3 | _scale |
bool | _firstTimeToInitEyePoint |
osg::Vec3 | _previousEyePoint |
osg::Vec3 | _previousLocalUp |
int | _previousWidth |
int | _previousHeight |
osg::Matrix | _previousProjection |
osg::Vec3 | _previousPosition |
bool | _matrixDirty |
osg::Matrix | _cachedMatrix |
|
|
|
|
|
|
|
|
|
Visitor Pattern : calls the apply method of a NodeVisitor with this node's type.
Reimplemented from osg::Node. |
|
|
|
|
|
return the name of the node's class type.
Reimplemented from osg::Node. |
|
|
|
clone an object of the same type as the node.
Reimplemented from osg::Node. |
|
Reimplemented from osg::Transform. |
|
|
|
Reimplemented from osg::Transform. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return the name of the node's library.
Reimplemented from osg::Node. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|