From 4689db0fd8b20c1c04c9aebf5a9f8482ba7dc015 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 6 Aug 2004 08:34:54 +0000 Subject: [PATCH] Updated docs --- doc/doc++/osg/AutoTransform.html | 145 ++++++++++++++++++++----------- doc/doc++/osg/osg.html | 2 +- 2 files changed, 94 insertions(+), 53 deletions(-) diff --git a/doc/doc++/osg/AutoTransform.html b/doc/doc++/osg/AutoTransform.html index b96066e8b..06b6584e7 100644 --- a/doc/doc++/osg/AutoTransform.html +++ b/doc/doc++/osg/AutoTransform.html @@ -7,7 +7,7 @@ -

class SG_EXPORT osg::AutoTransform

AutoTransform - is Transform the automatically scales or rotates to keep its children relative to screen space coordinates.
+

class SG_EXPORT osg::AutoTransform

AutoTransform - is Transform the automatically scales or rotates to keep its children relative to screen space coordinates

Inheritance:

@@ -21,6 +21,11 @@
+

+

Public Classes

+[more]enum AutoRotateMode +

+

Public Methods

[more] AutoTransform() @@ -65,57 +70,63 @@
[more]float getAutoUpdateEyeMovementTolerance() const
-[more]void setAutoRotateToScreen(bool autoRotateToScreen) +[more]void setAutoRotateMode(AutoRotateMode mode)
-[more]bool getAutoRotateToScreen() const +[more]AutoRotateMode getAutoRotateMode() const
-[more]void setAutoScaleToScreen(bool autoScaleToScreen) +[more]void setAutoRotateToScreen(bool autoRotateToScreen)
-[more]bool getAutoScaleToScreen() const +[more]void setAutoRotateToCamera(bool autoRotateToCamera)
-[more]virtual bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const +[more]bool getAutoRotateToCamera() const
-[more]virtual bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const +[more]void setAutoScaleToScreen(bool autoScaleToScreen) +
+[more]bool getAutoScaleToScreen() const +
+[more]virtual bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const +
+[more]virtual bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const

Protected Fields

-[more]Vec3 _position +[more]Vec3 _position
-[more]Vec3 _pivotPoint +[more]Vec3 _pivotPoint
-[more]float _autoUpdateEyeMovementTolerance +[more]float _autoUpdateEyeMovementTolerance
-[more]bool _autoRotateToScreen +[more]AutoRotateMode _autoRotateMode
-[more]bool _autoScaleToScreen +[more]bool _autoScaleToScreen
-[more]mutable Quat _rotation +[more]mutable Quat _rotation
-[more]mutable Vec3 _scale +[more]mutable Vec3 _scale
-[more]mutable bool _firstTimeToInitEyePoint +[more]mutable bool _firstTimeToInitEyePoint
-[more]mutable osg::Vec3 _previousEyePoint +[more]mutable osg::Vec3 _previousEyePoint
-[more]mutable int _previousWidth +[more]mutable int _previousWidth
-[more]mutable int _previousHeight +[more]mutable int _previousHeight
-[more]mutable osg::Matrix _previousProjection +[more]mutable osg::Matrix _previousProjection
-[more]mutable osg::Vec3 _previousPosition +[more]mutable osg::Vec3 _previousPosition
-[more]mutable bool _matrixDirty +[more]mutable bool _matrixDirty
-[more]mutable osg::Matrix _cachedMatrix +[more]mutable osg::Matrix _cachedMatrix

Protected Methods

-[more]virtual ~AutoTransform() +[more]virtual ~AutoTransform()
-[more]void computeMatrix() const +[more]void computeMatrix() const

@@ -393,7 +404,7 @@

Documentation

AutoTransform - is Transform the automatically scales or rotates -to keep its children relative to screen space coordinates.
+to keep its children relative to screen space coordinates
@@ -480,96 +491,126 @@ to keep its children relative to screen space coordinates.
ofloat getAutoUpdateEyeMovementTolerance() const

- + +

oenum AutoRotateMode +

+ + + +
o NO_ROTATION +

+ + +

o ROTATE_TO_SCREEN +

+ + +

o ROTATE_TO_CAMERA +

+ + + +
ovoid setAutoRotateMode(AutoRotateMode mode) +

+ + +

oAutoRotateMode getAutoRotateMode() const +

+ +

ovoid setAutoRotateToScreen(bool autoRotateToScreen)

- - -

obool getAutoRotateToScreen() const + + +
ovoid setAutoRotateToCamera(bool autoRotateToCamera) +

+ + +

obool getAutoRotateToCamera() const

- +

ovoid setAutoScaleToScreen(bool autoScaleToScreen)

- +

obool getAutoScaleToScreen() const

- +

ovirtual bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const

- +

ovirtual bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const

- +

ovirtual ~AutoTransform()

- +

oVec3 _position

- +

oVec3 _pivotPoint

- +

ofloat _autoUpdateEyeMovementTolerance

- - -

obool _autoRotateToScreen + + +
oAutoRotateMode _autoRotateMode

- +

obool _autoScaleToScreen

- +

omutable Quat _rotation

- +

omutable Vec3 _scale

- +

omutable bool _firstTimeToInitEyePoint

- +

omutable osg::Vec3 _previousEyePoint

- +

omutable int _previousWidth

- +

omutable int _previousHeight

- +

omutable osg::Matrix _previousProjection

- +

omutable osg::Vec3 _previousPosition

- +

ovoid computeMatrix() const

- +

omutable bool _matrixDirty

- +

omutable osg::Matrix _cachedMatrix

diff --git a/doc/doc++/osg/osg.html b/doc/doc++/osg/osg.html index 9bb45e7a3..2e94d1641 100644 --- a/doc/doc++/osg/osg.html +++ b/doc/doc++/osg/osg.html @@ -96,7 +96,7 @@ class ConstValueVisitor [more]template<typename T, Array::Type ARRAYTYPE, int DataSize, int DataType>inline void TemplateIndexArray<T,ARRAYTYPE,DataSize,DataType> ::accept(unsigned int index, ConstValueVisitor& vv) const
class SG_EXPORT AutoTransform: public Transform -
AutoTransform - is Transform the automatically scales or rotates to keep its children relative to screen space coordinates. +
AutoTransform - is Transform the automatically scales or rotates to keep its children relative to screen space coordinates
class SG_EXPORT Billboard: public Geode
Billboard - a Geode which orientates its child osg::Drawable's to face the eye point.