AnimatLab
2
Test
|
#include <VsAutoTransform.h>
Public Types | |
enum | AutoRotateMode { NO_ROTATION, ROTATE_TO_SCREEN, ROTATE_TO_CAMERA } |
Public Member Functions | |
VsAutoTransform (const VsAutoTransform &pat, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
virtual void | accept (osg::NodeVisitor &nv) |
virtual VsAutoTransform * | asAutoTransform () |
virtual const VsAutoTransform * | asAutoTransform () const |
virtual const char * | className () const |
virtual osg::Object * | clone (const osg::CopyOp ©op) const |
virtual osg::Object * | cloneType () const |
virtual osg::BoundingSphere | computeBound () const |
virtual bool | computeLocalToWorldMatrix (osg::Matrix &matrix, osg::NodeVisitor *nv) const |
virtual bool | computeWorldToLocalMatrix (osg::Matrix &matrix, osg::NodeVisitor *nv) const |
AutoRotateMode | getAutoRotateMode () const |
bool | getAutoScaleToScreen () const |
float | getAutoScaleTransitionWidthRatio () const |
float | getAutoUpdateEyeMovementTolerance () |
double | getMaximumScale () |
double | getMinimumScale () |
const osg::Vec3d & | getPivotPoint () |
const osg::Vec3d & | getPosition () const |
const osg::Quat & | getRotation () const |
const osg::Vec3d & | getScale () |
virtual bool | isSameKindAs (const osg::Object *obj) const |
virtual const char * | libraryName () const |
void | setAutoRotateMode (AutoRotateMode mode) |
void | setAutoScaleToScreen (bool autoScaleToScreen) |
void | setAutoScaleTransitionWidthRatio (float ratio) |
void | setAutoUpdateEyeMovementTolerance (float tolerance) |
void | setMaximumScale (double maximumScale) |
void | setMinimumScale (double minimumScale) |
void | setPivotPoint (const osg::Vec3d &pivot) |
void | setPosition (const osg::Vec3d &pos) |
void | setRotation (const osg::Quat &quat) |
void | setScale (double scale) |
void | setScale (const osg::Vec3d &scale) |
Protected Member Functions | |
void | computeMatrix () const |
AutoTransform is a derived form of Transform that automatically scales or rotates to keep its children aligned with screen coordinates.
Definition at line 31 of file VsAutoTransform.h.