From 6c08183b456182592b2f362bce9624c562cefe4d Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 29 Aug 2002 14:29:49 +0000 Subject: [PATCH] Updated docs. --- doc/doc++/osg/AlphaFunc.html | 20 +- doc/doc++/osg/AnimationPath.html | 186 +++-- doc/doc++/osg/Array.html | 6 +- doc/doc++/osg/AttributeFunctor.html | 70 +- doc/doc++/osg/Billboard.html | 166 ++--- doc/doc++/osg/BlendFunc.html | 16 +- doc/doc++/osg/BoundingBox.html | 97 +-- doc/doc++/osg/BoundingSphere.html | 74 +- doc/doc++/osg/Camera.html | 92 +-- doc/doc++/osg/ClipNode.html | 74 +- doc/doc++/osg/ClipPlane.html | 102 +-- doc/doc++/osg/CollectOccludersVisitor.html | 118 +-- doc/doc++/osg/ColorMask.html | 74 +- doc/doc++/osg/ColorMatrix.html | 54 +- doc/doc++/osg/ConvexPlanerOccluder.html | 64 +- doc/doc++/osg/ConvexPlanerPolygon.html | 76 +- doc/doc++/osg/CopyOp.html | 90 ++- doc/doc++/osg/CullFace.html | 70 +- doc/doc++/osg/CullStack.html | 296 ++++---- doc/doc++/osg/CullingSet.html | 128 ++-- doc/doc++/osg/Depth.html | 112 +-- doc/doc++/osg/DisplaySettings.html | 320 ++++---- doc/doc++/osg/DrawArrayLengths.html | 84 +-- doc/doc++/osg/DrawArrays.html | 90 +-- doc/doc++/osg/DrawElementsUByte.html | 68 +- doc/doc++/osg/DrawElementsUInt.html | 68 +- doc/doc++/osg/DrawElementsUShort.html | 68 +- doc/doc++/osg/DrawPixels.html | 154 ++-- doc/doc++/osg/Drawable.html | 298 ++++---- doc/doc++/osg/Fog.html | 156 ++-- doc/doc++/osg/FrameStamp.html | 86 +-- doc/doc++/osg/FrontFace.html | 64 +- doc/doc++/osg/General.html | 152 +++- doc/doc++/osg/GeoSet.html | 700 +++++++++--------- doc/doc++/osg/Geode.html | 66 +- doc/doc++/osg/Geometry.html | 348 +++++---- doc/doc++/osg/Group.html | 70 +- doc/doc++/osg/HIER.html | 56 +- doc/doc++/osg/HIERjava.html | 78 +- doc/doc++/osg/Image.html | 283 +++---- doc/doc++/osg/Impostor.html | 74 +- doc/doc++/osg/ImpostorSprite.html | 222 +++--- doc/doc++/osg/ImpostorSpriteManager.html | 50 +- doc/doc++/osg/LOD.html | 94 +-- doc/doc++/osg/Light.html | 182 ++--- doc/doc++/osg/LightModel.html | 104 +-- doc/doc++/osg/LightSource.html | 50 +- doc/doc++/osg/LineSegment.html | 94 +-- doc/doc++/osg/LineStipple.html | 66 +- doc/doc++/osg/LineWidth.html | 52 +- doc/doc++/osg/META_Object.html | 2 +- doc/doc++/osg/META_StateAttribute.html | 2 +- doc/doc++/osg/Material.html | 238 +++--- doc/doc++/osg/Matrix.html | 409 +++++----- doc/doc++/osg/MatrixTransform.html | 130 ++-- doc/doc++/osg/NodeAcceptOp.html | 16 +- doc/doc++/osg/NodeCallback.html | 53 +- doc/doc++/osg/NodeVisitor.html | 286 ++++--- doc/doc++/osg/NotifySeverity.html | 28 +- doc/doc++/osg/Object.html | 80 +- doc/doc++/osg/OccluderNode.html | 58 +- doc/doc++/osg/Plane.html | 126 ++-- doc/doc++/osg/Point.html | 84 +-- doc/doc++/osg/PolygonMode.html | 90 +-- doc/doc++/osg/PolygonOffset.html | 66 +- doc/doc++/osg/Polytope.html | 150 ++-- doc/doc++/osg/PositionAttitudeTransform.html | 104 +-- doc/doc++/osg/Primitive.html | 106 +-- doc/doc++/osg/PrimitiveFunctor.html | 44 +- doc/doc++/osg/Projection.html | 42 +- doc/doc++/osg/Quat.html | 229 +++--- doc/doc++/osg/Referenced.html | 56 +- doc/doc++/osg/ShadeModel.html | 64 +- doc/doc++/osg/ShadowVolumeOccluder.html | 108 +-- doc/doc++/osg/State.html | 304 ++++---- doc/doc++/osg/StateAttribute.html | 218 +++--- doc/doc++/osg/StateSet.html | 390 +++++----- doc/doc++/osg/Statistics.html | 152 ++-- doc/doc++/osg/Stencil.html | 166 ++--- doc/doc++/osg/Switch.html | 60 +- doc/doc++/osg/TemplateArray.html | 16 +- doc/doc++/osg/TexEnv.html | 92 +-- doc/doc++/osg/TexGen.html | 118 +-- doc/doc++/osg/TexMat.html | 58 +- doc/doc++/osg/Texture.html | 623 +++++++--------- doc/doc++/osg/TextureCubeMap.html | 288 ++++--- doc/doc++/osg/Timer.html | 32 +- doc/doc++/osg/Transform.html | 271 +++---- doc/doc++/osg/TriangleFunctor.html | 66 +- doc/doc++/osg/UByte4.html | 112 +-- doc/doc++/osg/Vec2.html | 124 ++-- doc/doc++/osg/Vec3.html | 136 ++-- doc/doc++/osg/Vec4.html | 154 ++-- doc/doc++/osg/VectorSizei.html | 18 +- doc/doc++/osg/VectorUByte.html | 18 +- doc/doc++/osg/VectorUInt.html | 18 +- doc/doc++/osg/VectorUShort.html | 18 +- doc/doc++/osg/Viewport.html | 94 +-- doc/doc++/osg/clampArray3BetweenRange.html | 2 +- doc/doc++/osg/clampArray3GEQUAL.html | 2 +- doc/doc++/osg/clampArray3LEQUAL.html | 2 +- doc/doc++/osg/clampArray4BetweenRange.html | 2 +- doc/doc++/osg/clampArray4GEQUAL.html | 2 +- doc/doc++/osg/clampArray4LEQUAL.html | 2 +- .../osg/clampArrayElementBetweenRange.html | 2 +- doc/doc++/osg/clampArrayElementGEQUAL.html | 2 +- doc/doc++/osg/clampArrayElementLEQUAL.html | 2 +- .../osg/clampArrayElementsBetweenRange.html | 2 +- doc/doc++/osg/clampArrayElementsGEQUAL.html | 2 +- doc/doc++/osg/clampArrayElementsLEQUAL.html | 2 +- doc/doc++/osg/clampBetweenRange.html | 2 +- doc/doc++/osg/clampGEQUAL.html | 2 +- doc/doc++/osg/clampLEQUAL.html | 2 +- doc/doc++/osg/createGeodeForImage.2.html | 2 +- doc/doc++/osg/fast_back_stack.html | 76 +- doc/doc++/osg/for_each_triangle.html | 2 +- doc/doc++/osg/getGLExtensionFuncPtr.html | 10 +- doc/doc++/osg/index.html | 62 +- doc/doc++/osg/osg.html | 173 +++-- doc/doc++/osg/ref_ptr.html | 116 +-- doc/doc++/osg/tag_au.html | 58 +- doc/doc++/osgGA/CameraManipulator.html | 114 +-- doc/doc++/osgGA/DriveManipulator.html | 24 +- doc/doc++/osgGA/FlightManipulator.html | 28 +- doc/doc++/osgGA/GUIActionAdapter.html | 54 +- doc/doc++/osgGA/GUIEventAdapter.html | 106 +-- doc/doc++/osgGA/GUIEventHandler.html | 12 +- doc/doc++/osgGA/GUIEventHandlerVisitor.html | 5 +- .../osgGA/KeySwitchCameraManipulator.html | 15 +- doc/doc++/osgGA/SetSceneViewVisitor.html | 9 +- doc/doc++/osgGA/StateSetManipulator.html | 18 +- doc/doc++/osgGA/osgGA.html | 14 +- doc/doc++/osgGA/spaceosgGA.html | 11 +- doc/doc++/osgGLUT/Viewer.html | 50 +- doc/doc++/osgParticle/Particle.html | 4 +- doc/doc++/osgParticle/ParticleSystem.html | 217 ++++-- doc/doc++/osgParticle/range.html | 12 +- doc/doc++/osgUtil/CullVisitor.html | 22 +- doc/doc++/osgUtil/DepthSortedBin.html | 26 + doc/doc++/osgUtil/IntersectState.html | 36 +- doc/doc++/osgUtil/IntersectVisitor.html | 115 +-- doc/doc++/osgUtil/RenderBin.html | 154 +++- doc/doc++/osgUtil/RenderStage.html | 26 + doc/doc++/osgUtil/RenderToTextureStage.html | 38 +- doc/doc++/osgUtil/SceneView.html | 38 +- doc/install.html | 33 +- doc/plan.html | 7 +- include/osg/StateAttribute | 7 + src/osgPlugins/osg/StateSet.cpp | 1 + 149 files changed, 7422 insertions(+), 6602 deletions(-) diff --git a/doc/doc++/osg/AlphaFunc.html b/doc/doc++/osg/AlphaFunc.html index 97b00e0a3..c72259f4e 100644 --- a/doc/doc++/osg/AlphaFunc.html +++ b/doc/doc++/osg/AlphaFunc.html @@ -28,14 +28,14 @@ [more] AlphaFunc(const AlphaFunc& af, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, AlphaFunc, ALPHAFUNC) +[more] META_StateAttribute(osg, AlphaFunc, ALPHAFUNC)
[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
-[more]inline void setFunction(const ComparisonFunction func, const float ref) +[more]inline void setFunction(const ComparisonFunction func, const float ref)
[more]inline const ComparisonFunction getFunction() const
@@ -76,7 +76,7 @@
ovirtual const char* className() const
-ovirtual const Type getType() const +ovirtual const Type getType() const
ovirtual bool isTextureAttribute() const
@@ -109,9 +109,9 @@

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -127,7 +127,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -172,7 +172,7 @@

-

o META_StateAttribute(osg, AlphaFunc, ALPHAFUNC) +
o META_StateAttribute(osg, AlphaFunc, ALPHAFUNC)

@@ -181,7 +181,7 @@

-

ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const +
ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

@@ -223,7 +223,7 @@ -

oinline void setFunction(const ComparisonFunction func, const float ref) +
oinline void setFunction(const ComparisonFunction func, const float ref)

diff --git a/doc/doc++/osg/AnimationPath.html b/doc/doc++/osg/AnimationPath.html index b51b66e9b..733fd7d0e 100644 --- a/doc/doc++/osg/AnimationPath.html +++ b/doc/doc++/osg/AnimationPath.html @@ -12,7 +12,7 @@

Inheritance:

- + @@ -25,34 +25,69 @@

Public Methods

[more] AnimationPath()
-[more]virtual bool getMatrix(double time, Matrix& matrix) const -
get the local transformation matrix for a point in time +[more]bool getMatrix(double time, Matrix& matrix) const +
get the transformation matrix for a point in time
-[more]virtual bool getInverse(double time, Matrix& matrix) const -
get the local inverse transformation matrix for a point in time +[more]bool getInverse(double time, Matrix& matrix) const +
get the inverse transformation matrix for a point in time
-[more]virtual const bool computeLocalToWorldMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const -
Get the transformation matrix which moves from local coords to world coords +[more]virtual bool getInterpolatedControlPoint(double time, ControlPoint& ControlPoint) const +
get the local ControlPoint frame for a point in time
-[more]virtual const bool computeWorldToLocalMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const -
Get the transformation matrix which moves from world coords to local coords +[more]void insert(double time, const ControlPoint& ControlPoint)
-[more]void insert(double time, const Key& key) +[more]double getFirstTime() const +
+[more]double getLastTime() const +
+[more]double getPeriod() const +
+[more]void setLoopMode(LoopMode lm) +
+[more]LoopMode getLoopMode() const

Public Members

-[more]struct Key +[more]struct ControlPoint +
+[more]enum LoopMode +

+ +

+

Protected Fields

+[more]LoopMode _loopMode

Protected Methods

-[more]virtual ~AnimationPath() +[more]virtual ~AnimationPath()

Protected Members

-[more]typedef std::map<double,Key> TimeKeyMap TimeKeyMap _timeKeyMap +[more]typedef std::map<double,ControlPoint> TimeControlPointMap TimeControlPointMap _timeControlPointMap +

+ + +

Inherited from Referenced:

+
+

+

Public Methods

+oinline Referenced& operator = (Referenced&) +
+oinline void ref() const +
+oinline void unref() const +
+oinline void unref_nodelete() const +
+oinline const int referenceCount() const +

+ +

+

Protected Fields

+omutable int _refCount

@@ -69,75 +104,120 @@ be attached directly to Transform nodes to move subgraphs around the scene.
o AnimationPath()

- + -

ovirtual bool getMatrix(double time, Matrix& matrix) const -
get the local transformation matrix for a point in time -

- - -

ovirtual bool getInverse(double time, Matrix& matrix) const -
get the local inverse transformation matrix for a point in time -

- - -

ovirtual const bool computeLocalToWorldMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const -
Get the transformation matrix which moves from local coords to world coords -

- - -

ovirtual const bool computeWorldToLocalMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const -
Get the transformation matrix which moves from world coords to local coords -

- - -

ostruct Key +
ostruct ControlPoint

- - -
o Key() + + +
o ControlPoint()

- - -

o Key(const osg::Vec3& position, const osg::Quat& rotation, const osg::Vec3& scale) + + +
o ControlPoint(const osg::Vec3& position) +

+ + +

o ControlPoint(const osg::Vec3& position, const osg::Quat& rotation) +

+ + +

o ControlPoint(const osg::Vec3& position, const osg::Quat& rotation, const osg::Vec3& scale)

- +

oosg::Vec3 _position

- +

oosg::Quat _rotation

- +

oosg::Vec3 _scale

- -

oinline void interpolate(const float ratio, const Key& first, const Key& second) + +
oinline void interpolate(const float ratio, const ControlPoint& first, const ControlPoint& second)

- +

oinline void getMatrix(Matrix& matrix) const

- +

oinline void getInverse(Matrix& matrix) const

+ + +
obool getMatrix(double time, Matrix& matrix) const +
get the transformation matrix for a point in time +

+ + +

obool getInverse(double time, Matrix& matrix) const +
get the inverse transformation matrix for a point in time +

+ + +

ovirtual bool getInterpolatedControlPoint(double time, ControlPoint& ControlPoint) const +
get the local ControlPoint frame for a point in time +

+ +

ovoid insert(double time, const ControlPoint& ControlPoint) +

+ -

ovoid insert(double time, const Key& key) +
odouble getFirstTime() const +

+ + +

odouble getLastTime() const +

+ + +

odouble getPeriod() const +

+ + +

oenum LoopMode +

+ + + +
o SWING +

+ + +

o LOOP +

+ + +

o NO_LOOPING +

+ + + +
ovoid setLoopMode(LoopMode lm) +

+ + +

oLoopMode getLoopMode() const

- +

ovirtual ~AnimationPath()

- - -

otypedef std::map<double,Key> TimeKeyMap TimeKeyMap _timeKeyMap + + +
otypedef std::map<double,ControlPoint> TimeControlPointMap TimeControlPointMap _timeControlPointMap +

+ + +

oLoopMode _loopMode


This class has no child classes.
diff --git a/doc/doc++/osg/Array.html b/doc/doc++/osg/Array.html index 68c47e416..430f6d255 100644 --- a/doc/doc++/osg/Array.html +++ b/doc/doc++/osg/Array.html @@ -73,9 +73,9 @@
ovirtual Object* clone(const CopyOp&) const
-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -91,7 +91,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

diff --git a/doc/doc++/osg/AttributeFunctor.html b/doc/doc++/osg/AttributeFunctor.html index 96a9b8e1d..6cc9b2d9f 100644 --- a/doc/doc++/osg/AttributeFunctor.html +++ b/doc/doc++/osg/AttributeFunctor.html @@ -12,29 +12,29 @@

Public Methods

-[more]virtual ~AttributeFunctor() +[more]virtual ~AttributeFunctor()
-[more]virtual void apply(AttributeType, unsigned int, GLbyte*) +[more]virtual void apply(AttributeType, unsigned int, GLbyte*)
-[more]virtual void apply(AttributeType, unsigned int, GLshort*) +[more]virtual void apply(AttributeType, unsigned int, GLshort*)
-[more]virtual void apply(AttributeType, unsigned int, GLint*) +[more]virtual void apply(AttributeType, unsigned int, GLint*)
-[more]virtual void apply(AttributeType, unsigned int, GLubyte*) +[more]virtual void apply(AttributeType, unsigned int, GLubyte*)
-[more]virtual void apply(AttributeType, unsigned int, GLushort*) +[more]virtual void apply(AttributeType, unsigned int, GLushort*)
-[more]virtual void apply(AttributeType, unsigned int, GLuint*) +[more]virtual void apply(AttributeType, unsigned int, GLuint*)
-[more]virtual void apply(AttributeType, unsigned int, float*) +[more]virtual void apply(AttributeType, unsigned int, float*)
-[more]virtual void apply(AttributeType, unsigned int, Vec2*) +[more]virtual void apply(AttributeType, unsigned int, Vec2*)
-[more]virtual void apply(AttributeType, unsigned int, Vec3*) +[more]virtual void apply(AttributeType, unsigned int, Vec3*)
-[more]virtual void apply(AttributeType, unsigned int, Vec4*) +[more]virtual void apply(AttributeType, unsigned int, Vec4*)
-[more]virtual void apply(AttributeType, unsigned int, UByte4*) +[more]virtual void apply(AttributeType, unsigned int, UByte4*)

@@ -45,52 +45,52 @@
- +
ovirtual ~AttributeFunctor()

- -

ovirtual void apply(AttributeType, unsigned int, GLbyte*) + +
ovirtual void apply(AttributeType, unsigned int, GLbyte*)

- -

ovirtual void apply(AttributeType, unsigned int, GLshort*) + +
ovirtual void apply(AttributeType, unsigned int, GLshort*)

- -

ovirtual void apply(AttributeType, unsigned int, GLint*) + +
ovirtual void apply(AttributeType, unsigned int, GLint*)

- -

ovirtual void apply(AttributeType, unsigned int, GLubyte*) + +
ovirtual void apply(AttributeType, unsigned int, GLubyte*)

- -

ovirtual void apply(AttributeType, unsigned int, GLushort*) + +
ovirtual void apply(AttributeType, unsigned int, GLushort*)

- -

ovirtual void apply(AttributeType, unsigned int, GLuint*) + +
ovirtual void apply(AttributeType, unsigned int, GLuint*)

- -

ovirtual void apply(AttributeType, unsigned int, float*) + +
ovirtual void apply(AttributeType, unsigned int, float*)

- -

ovirtual void apply(AttributeType, unsigned int, Vec2*) + +
ovirtual void apply(AttributeType, unsigned int, Vec2*)

- -

ovirtual void apply(AttributeType, unsigned int, Vec3*) + +
ovirtual void apply(AttributeType, unsigned int, Vec3*)

- -

ovirtual void apply(AttributeType, unsigned int, Vec4*) + +
ovirtual void apply(AttributeType, unsigned int, Vec4*)

- -

ovirtual void apply(AttributeType, unsigned int, UByte4*) + +
ovirtual void apply(AttributeType, unsigned int, UByte4*)


This class has no child classes.
diff --git a/doc/doc++/osg/Billboard.html b/doc/doc++/osg/Billboard.html index 98a932af8..90452cc7b 100644 --- a/doc/doc++/osg/Billboard.html +++ b/doc/doc++/osg/Billboard.html @@ -42,77 +42,73 @@ [more]inline const Vec3& getAxis() const
Get the axis about which all the billboard's drawable rotate.
-[more]inline void setPos(int i, const Vec3& pos) +[more]void setNormal(const Vec3& normal) +
Set the normal which defines the billboard's drawable front face, when unrotated. +
+[more]inline const Vec3& getNormal() const +
Get the normal of billboard's drawable front face. +
+[more]inline void setPos(int i, const Vec3& pos)
Set the position of specified drawable.
-[more]inline const Vec3& getPos(int i) const +[more]inline const Vec3& getPos(int i) const
Get the position of specified drawable.
-[more]inline PositionList& getPositionList() +[more]inline PositionList& getPositionList()
Get the PositionList from the billboard
-[more]inline const PositionList& getPositionList() const +[more]inline const PositionList& getPositionList() const
Get a const PositionList from the billboard
-[more]virtual const bool addDrawable( Drawable* gset ) +[more]virtual const bool addDrawable( Drawable* gset )
Add Drawable to Billboard with default position(0,0,0); If gset not NULL and is not contained in Billboard then increment its reference count, and dirty the bounding box to cause it to recompute on next getBound() and return true for success.
-[more]virtual const bool addDrawable(Drawable* gset, const Vec3& pos) +[more]virtual const bool addDrawable(Drawable* gset, const Vec3& pos)
Add Drawable to Geode at position pos.
-[more]virtual const bool removeDrawable( Drawable* gset ) +[more]virtual const bool removeDrawable( Drawable* gset )
Remove Drawable and associated position from Billboard.
-[more]void setComputeBillboardCallback(ComputeBillboardCallback* ctc) -
Set the ComputeBillboardCallback which allows users to attach custom computation of the local transformation as seen by cull traversers and alike +[more]inline const bool getMatrix(Matrix& modelview, const Vec3& eye_local, const Vec3& pos_local) const
-[more]ComputeBillboardCallback* getComputeBillboardCallback() -
Get the non const ComputeBillboardCallback -
-[more]const ComputeBillboardCallback* getComputeBillboardCallback() const -
Get the const ComputeBillboardCallback -
-[more]inline const bool getMatrix(Matrix& modelview, const Vec3& eye_local, const Vec3& pos_local) const -
-[more]virtual const bool computeMatrix(Matrix& modelview, const Vec3& eye_local, const Vec3& pos_local) const +[more]virtual const bool computeMatrix(Matrix& modelview, const Vec3& eye_local, const Vec3& pos_local) const

Public Members

[more]enum Mode
-[more]typedef std::vector<Vec3> PositionList +[more]typedef std::vector<Vec3> PositionList
PositionList represents a list of pivot points for each drawable -
-[more]struct ComputeBillboardCallback: public osg::Referenced -
Callback attached to an Billboard which allows the users to customize the billboard orientation calculation during cull traversal

Protected Fields

-[more]Mode _mode +[more]Mode _mode
-[more]Vec3 _axis +[more]Vec3 _axis
-[more]PositionList _positionList +[more]Vec3 _normal
-[more]ref_ptr<ComputeBillboardCallback> _computeBillboardCallback +[more]PositionList _positionList
-[more]int _cachedMode +[more]int _cachedMode +
+[more]Vec3 _side

Protected Methods

-[more]virtual ~Billboard() +[more]virtual ~Billboard()
-[more]virtual const bool computeBound() const +[more]virtual const bool computeBound() const
-[more]void setCachedMode() +[more]void updateCache()

Protected Members

-[more]enum AxisAligned +[more]enum AxisAligned

@@ -195,40 +191,50 @@ the eye point. Typical uses are for trees, or particle explosions.
ovoid setAxis(const Vec3& axis) -
Set the axis about which all the billboard's drawable rotate. +
Set the axis about which all the billboard's drawable rotate. Only utlized when mode==AXIAL_ROT

oinline const Vec3& getAxis() const
Get the axis about which all the billboard's drawable rotate.

- + +

ovoid setNormal(const Vec3& normal) +
Set the normal which defines the billboard's drawable front face, when unrotated. +

+ + +

oinline const Vec3& getNormal() const +
Get the normal of billboard's drawable front face. +

+ +

oinline void setPos(int i, const Vec3& pos)
Set the position of specified drawable.

- +

oinline const Vec3& getPos(int i) const
Get the position of specified drawable.

- +

otypedef std::vector<Vec3> PositionList
PositionList represents a list of pivot points for each drawable

- -

oinline PositionList& getPositionList() + +
oinline PositionList& getPositionList()
Get the PositionList from the billboard

- -

oinline const PositionList& getPositionList() const + +
oinline const PositionList& getPositionList() const
Get a const PositionList from the billboard

- +

ovirtual const bool addDrawable( Drawable* gset )
Add Drawable to Billboard with default position(0,0,0); If gset not NULL and is not contained in Billboard then increment its @@ -236,7 +242,7 @@ reference count, and dirty the bounding box to cause it to recompute on next getBound() and return true for success. Otherwise return false.

- +

ovirtual const bool addDrawable(Drawable* gset, const Vec3& pos)
Add Drawable to Geode at position pos. If gset not NULL and is not contained in Billboard then increment its @@ -244,7 +250,7 @@ reference count, and dirty the bounding box to cause it to recompute on next getBound() and return true for success. Otherwise return false.

- +

ovirtual const bool removeDrawable( Drawable* gset )
Remove Drawable and associated position from Billboard. If gset is contained in Billboard then remove it from the geoset @@ -253,91 +259,71 @@ bounding box to cause it to recompute on next getBound() and return true for success. If gset is not found then return false and do not the reference count of gset is left unchanged.

- - -

ostruct ComputeBillboardCallback: public osg::Referenced -
Callback attached to an Billboard which allows the users to customize the billboard orientation calculation during cull traversal -

- - - -
ovirtual const bool computeMatrix(Matrix& modelview, const Billboard* billboard, const Vec3& eye_local, const Vec3& pos_local) const = 0 -
Get the transformation matrix which moves from local coords to world coords -

- - - -
ovoid setComputeBillboardCallback(ComputeBillboardCallback* ctc) -
Set the ComputeBillboardCallback which allows users to attach custom computation of the local transformation as -seen by cull traversers and alike -

- - -

oComputeBillboardCallback* getComputeBillboardCallback() -
Get the non const ComputeBillboardCallback -

- - -

oconst ComputeBillboardCallback* getComputeBillboardCallback() const -
Get the const ComputeBillboardCallback -

- +

oinline const bool getMatrix(Matrix& modelview, const Vec3& eye_local, const Vec3& pos_local) const

- +

ovirtual const bool computeMatrix(Matrix& modelview, const Vec3& eye_local, const Vec3& pos_local) const

- +

ovirtual ~Billboard()

- +

ovirtual const bool computeBound() const

- +

oenum AxisAligned

- +
o AXIAL_ROT_X_AXIS

- +

o AXIAL_ROT_Y_AXIS

- +

o AXIAL_ROT_Z_AXIS +

+ + +

o CACHE_DIRTY

- +
oMode _mode

- +

oVec3 _axis

- - -

oPositionList _positionList + + +
oVec3 _normal

- - -

oref_ptr<ComputeBillboardCallback> _computeBillboardCallback + + +
oPositionList _positionList

- +

oint _cachedMode

- - -

ovoid setCachedMode() + + +
oVec3 _side +

+ + +

ovoid updateCache()


This class has no child classes.
diff --git a/doc/doc++/osg/BlendFunc.html b/doc/doc++/osg/BlendFunc.html index 2c5266435..3af76ce9d 100644 --- a/doc/doc++/osg/BlendFunc.html +++ b/doc/doc++/osg/BlendFunc.html @@ -28,12 +28,12 @@ [more] BlendFunc(const BlendFunc& trans, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, BlendFunc, BLENDFUNC) +[more] META_StateAttribute(osg, BlendFunc, BLENDFUNC)
[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
[more]inline void setFunction( const int source, const int destination )
@@ -80,7 +80,7 @@
ovirtual const char* className() const
-ovirtual const Type getType() const +ovirtual const Type getType() const
ovirtual bool isTextureAttribute() const
@@ -113,9 +113,9 @@

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -131,7 +131,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -176,7 +176,7 @@

-

o META_StateAttribute(osg, BlendFunc, BLENDFUNC) +
o META_StateAttribute(osg, BlendFunc, BLENDFUNC)

@@ -185,7 +185,7 @@

-

ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const +
ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

diff --git a/doc/doc++/osg/BoundingBox.html b/doc/doc++/osg/BoundingBox.html index dcaf35bd5..8aaa36d69 100644 --- a/doc/doc++/osg/BoundingBox.html +++ b/doc/doc++/osg/BoundingBox.html @@ -34,53 +34,53 @@ [more]inline void init()

initialize to invalid values to represent an unset bounding box
-[more]inline const bool isValid() const -
deprecated, use valid() instead +[more]inline const bool valid() const
-[more]inline const bool valid() const +[more]inline void set(float xmin, float ymin, float zmin, float xmax, float ymax, float zmax)
-[more]inline void set(float xmin, float ymin, float zmin, float xmax, float ymax, float zmax) -
-[more]inline void set(const Vec3& min, const Vec3& max) +[more]inline void set(const Vec3& min, const Vec3& max)
construct to with specified min and max values
-[more]inline float& xMin() +[more]inline float& xMin()
-[more]inline const float xMin() const +[more]inline const float xMin() const
-[more]inline float& yMin() +[more]inline float& yMin()
-[more]inline const float yMin() const +[more]inline const float yMin() const
-[more]inline float& zMin() +[more]inline float& zMin()
-[more]inline const float zMin() const +[more]inline const float zMin() const
-[more]inline float& xMax() +[more]inline float& xMax()
-[more]inline const float xMax() const +[more]inline const float xMax() const
-[more]inline float& yMax() +[more]inline float& yMax()
-[more]inline const float yMax() const +[more]inline const float yMax() const
-[more]inline float& zMax() +[more]inline float& zMax()
-[more]inline const float zMax() const +[more]inline const float zMax() const
-[more]inline const Vec3 center() const +[more]inline const Vec3 center() const
Calculate and return the center of the bounding box
-[more]inline const float radius() const +[more]inline const float radius() const
Calculate and return the radius of the bounding box
-[more]inline const float radius2() const +[more]inline const float radius2() const
Calculate and return the radius squared of the bounding box.
-[more]inline const Vec3 corner(unsigned int pos) const +[more]inline const Vec3 corner(unsigned int pos) const
return the corner of the bounding box.
-[more]void expandBy(const Vec3& v) +[more]inline void expandBy(const Vec3& v) +
If the vertex is out-with the box expand to encompass vertex. +
+[more]inline void expandBy(float x, float y, float z)
If the vertex is out-with the box expand to encompass vertex.
[more]void expandBy(const BoundingBox& bb) @@ -135,90 +135,85 @@ bounding box
oinline void init()
initialize to invalid values to represent an unset bounding box

- - -

oinline const bool isValid() const -
deprecated, use valid() instead -

- +

oinline const bool valid() const

- +

oinline void set(float xmin, float ymin, float zmin, float xmax, float ymax, float zmax)

- +

oinline void set(const Vec3& min, const Vec3& max)
construct to with specified min and max values

- +

oinline float& xMin()

- +

oinline const float xMin() const

- +

oinline float& yMin()

- +

oinline const float yMin() const

- +

oinline float& zMin()

- +

oinline const float zMin() const

- +

oinline float& xMax()

- +

oinline const float xMax() const

- +

oinline float& yMax()

- +

oinline const float yMax() const

- +

oinline float& zMax()

- +

oinline const float zMax() const

- +

oinline const Vec3 center() const
Calculate and return the center of the bounding box

- +

oinline const float radius() const
Calculate and return the radius of the bounding box

- +

oinline const float radius2() const
Calculate and return the radius squared of the bounding box. Note, radius2() is faster to calculate than radius().

- +

oinline const Vec3 corner(unsigned int pos) const
return the corner of the bounding box. Position (pos) is specified by a number between 0 and 7, @@ -227,8 +222,14 @@ bit toggles between y min and y max, third bit toggles between z min and z max.

+ +

oinline void expandBy(const Vec3& v) +
If the vertex is out-with the box expand to encompass vertex. +If this box is empty then move set this box's min max to vertex. +

+ -

ovoid expandBy(const Vec3& v) +
oinline void expandBy(float x, float y, float z)
If the vertex is out-with the box expand to encompass vertex. If this box is empty then move set this box's min max to vertex.

diff --git a/doc/doc++/osg/BoundingSphere.html b/doc/doc++/osg/BoundingSphere.html index 50d41d559..84e9a30a5 100644 --- a/doc/doc++/osg/BoundingSphere.html +++ b/doc/doc++/osg/BoundingSphere.html @@ -23,58 +23,55 @@ [more] BoundingSphere()

construct to invalid values to represent an unset bounding sphere
-[more] BoundingSphere(const Vec3& center, float radius) +[more] BoundingSphere(const Vec3& center, float radius)
construct to specified bounding sphere
[more]inline void init()
initialize to invalid values to represent an unset bounding sphere
-[more]inline const bool isValid() const -
deprecated, use valid() instead -
-[more]inline const bool valid() const +[more]inline const bool valid() const
return true if the bounding sphere contains valid values, false if the bounding sphere is effectively unset
-[more]inline void set(const Vec3& center, float radius) +[more]inline void set(const Vec3& center, float radius)
set bounding sphere
-[more]inline Vec3& center() +[more]inline Vec3& center()
return the center of the bounding sphere
-[more]inline const Vec3& center() const +[more]inline const Vec3& center() const
return the const center of the bounding sphere
-[more]inline float& radius() +[more]inline float& radius()
return the radius of the bounding sphere
-[more]inline const float radius() const +[more]inline const float radius() const
return the const radius of the bounding sphere
-[more]inline const float radius2() const +[more]inline const float radius2() const
return the radius squared.
-[more]void expandBy(const Vec3& v) +[more]void expandBy(const Vec3& v)
If the vertex is out-with the sphere expand to encompass vertex.
-[more]void expandRadiusBy(const Vec3& v) +[more]void expandRadiusBy(const Vec3& v)
If the vertex is outwith the sphere expand radius to ecompass vertex.
-[more]void expandBy(const BoundingSphere& sh) +[more]void expandBy(const BoundingSphere& sh)
If incomming sphere is outwith the sphere expand to ecompass incomming sphere.
-[more]void expandRadiusBy(const BoundingSphere& sh) +[more]void expandRadiusBy(const BoundingSphere& sh)
If incomming sphere is outwith the sphere expand radius to ecompass incomming sphere.
-[more]void expandBy(const BoundingBox& bb) +[more]void expandBy(const BoundingBox& bb)
If incomming box is outwith the sphere expand to ecompass incomming box.
-[more]void expandRadiusBy(const BoundingBox& bb) +[more]void expandRadiusBy(const BoundingBox& bb)
If incomming box is outwith the sphere expand radius to ecompass incomming box.
-[more]inline const bool contains(const Vec3& v) const +[more]inline const bool contains(const Vec3& v) const
return true is vertex v is within the sphere
-[more]inline const bool intersects( const BoundingSphere& bs ) const +[more]inline const bool intersects( const BoundingSphere& bs ) const
return true if bounding sphere's intersect each other

@@ -105,7 +102,7 @@ than a BoundingBox so will not cull so aggressively.

-

o BoundingSphere(const Vec3& center, float radius) +
o BoundingSphere(const Vec3& center, float radius)
construct to specified bounding sphere

@@ -113,44 +110,39 @@ than a BoundingBox so will not cull so aggressively.

oinline void init()
initialize to invalid values to represent an unset bounding sphere

- - -

oinline const bool isValid() const -
deprecated, use valid() instead -

- +

oinline const bool valid() const
return true if the bounding sphere contains valid values, false if the bounding sphere is effectively unset

- -

oinline void set(const Vec3& center, float radius) + +
oinline void set(const Vec3& center, float radius)
set bounding sphere

- +

oinline Vec3& center()
return the center of the bounding sphere

- +

oinline const Vec3& center() const
return the const center of the bounding sphere

- +

oinline float& radius()
return the radius of the bounding sphere

- +

oinline const float radius() const
return the const radius of the bounding sphere

- +

oinline const float radius2() const
return the radius squared. Note, for performance reasons, assumes the calling method has ensured @@ -158,7 +150,7 @@ that the sphere is valid before calling radius2(), i.e. has _radius>=0.0, as it does not check th validity of sphere and will erroneously return a positive value.

- +

ovoid expandBy(const Vec3& v)
If the vertex is out-with the sphere expand to encompass vertex. Calculates the combination of movement of center and radius which @@ -166,14 +158,14 @@ minimizes the radius increase. If this sphere is empty then move the center to v and set radius to 0.

- +

ovoid expandRadiusBy(const Vec3& v)
If the vertex is outwith the sphere expand radius to ecompass vertex. Unlike update, does not move the center, just increasing the radius. If this sphere is empty then move the centrer to v and set radius to 0

- +

ovoid expandBy(const BoundingSphere& sh)
If incomming sphere is outwith the sphere expand to ecompass incomming sphere. calculates the combination of movement of center and radius which @@ -181,14 +173,14 @@ minimizes the radius increase. If this sphere is empty then move the centrer to v and set radius to 0.

- +

ovoid expandRadiusBy(const BoundingSphere& sh)
If incomming sphere is outwith the sphere expand radius to ecompass incomming sphere. Unlike update, does not move the center, just increasing the radius. If this sphere is empty then move the centrer to v and set radius to 0.

- +

ovoid expandBy(const BoundingBox& bb)
If incomming box is outwith the sphere expand to ecompass incomming box. calculates the combination of movement of center and radius which @@ -196,19 +188,19 @@ minimizes the radius increase. If this boz is empty then move the centrer to v and set radius to 0.

- +

ovoid expandRadiusBy(const BoundingBox& bb)
If incomming box is outwith the sphere expand radius to ecompass incomming box. Unlike update, does not move the center, just increasing the radius. If this sphere is empty then move the centrer to v and set radius to 0.

- +

oinline const bool contains(const Vec3& v) const
return true is vertex v is within the sphere

- +

oinline const bool intersects( const BoundingSphere& bs ) const
return true if bounding sphere's intersect each other

diff --git a/doc/doc++/osg/Camera.html b/doc/doc++/osg/Camera.html index 6d2e9f589..cf4878947 100644 --- a/doc/doc++/osg/Camera.html +++ b/doc/doc++/osg/Camera.html @@ -43,7 +43,7 @@ [more]void setFrustum(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)
Set a perspective projection.
-[more]void setPerspective(const double fovy, const double aspectRatio, const double zNear, const double zFar) +[more]void setPerspective(const double fovy, const double aspectRatio, const double zNear, const double zFar)
Set a symmetrical perspective projection, See gluPerspective for further details.
[more]void setFOV(const double fovx, const double fovy, const double zNear, const double zFar) @@ -93,7 +93,7 @@ [more]void setView(const Vec3& eyePoint, const Vec3& lookPoint, const Vec3& upVector)
Set the View, the up vector should be orthogonal to the look vector.
-[more]void setLookAt(const Vec3& eye, const Vec3& center, const Vec3& up) +[more]void setLookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
set the position and orientation of the camera, using the same convention as gluLookAt
[more]void setLookAt(const double eyeX, const double eyeY, const double eyeZ, const double centerX, const double centerY, const double centerZ, const double upX, const double upY, const double upZ) @@ -155,6 +155,9 @@
[more]const Matrix getModelViewMatrix() const
Get the ModelView matrix. +
+[more]inline Polytope getViewFrustum() const +
Get the camera view frustum

@@ -174,46 +177,46 @@

Protected Fields

-[more]ProjectionType _projectionType +[more]ProjectionType _projectionType
-[more]AdjustAspectRatioMode _adjustAspectRatioMode +[more]AdjustAspectRatioMode _adjustAspectRatioMode
-[more]double _left +[more]double _left
-[more]double _right +[more]double _right
-[more]double _bottom +[more]double _bottom
-[more]double _top +[more]double _top
-[more]double _zNear +[more]double _zNear
-[more]double _zFar +[more]double _zFar
-[more]LookAtType _lookAtType +[more]LookAtType _lookAtType
-[more]Vec3 _eye +[more]Vec3 _eye
-[more]Vec3 _center +[more]Vec3 _center
-[more]Vec3 _up +[more]Vec3 _up
-[more]TransformMode _attachedTransformMode +[more]TransformMode _attachedTransformMode
-[more]ref_ptr<Matrix> _eyeToModelTransform +[more]ref_ptr<Matrix> _eyeToModelTransform
-[more]ref_ptr<Matrix> _modelToEyeTransform +[more]ref_ptr<Matrix> _modelToEyeTransform
-[more]float _screenDistance +[more]float _screenDistance
-[more]FusionDistanceMode _fusionDistanceMode +[more]FusionDistanceMode _fusionDistanceMode
-[more]float _fusionDistanceRatio +[more]float _fusionDistanceRatio

Protected Methods

-[more]void copy(const Camera&) +[more]void copy(const Camera&)

@@ -314,7 +317,7 @@ and set perspective methods

-

ovoid setPerspective(const double fovy, const double aspectRatio, const double zNear, const double zFar) +
ovoid setPerspective(const double fovy, const double aspectRatio, const double zNear, const double zFar)
Set a symmetrical perspective projection, See gluPerspective for further details. Aspect ratio is defined as width/height.

@@ -458,7 +461,7 @@ kept for backwards compatibility.

-

ovoid setLookAt(const Vec3& eye, const Vec3& center, const Vec3& up) +
ovoid setLookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
set the position and orientation of the camera, using the same convention as gluLookAt

@@ -621,80 +624,85 @@ created by multiplying the current LookAt by ModelTransform. Otherwise it is simply created by using the current LookAt, equivalent to using gluLookAt.

- + +

oinline Polytope getViewFrustum() const +
Get the camera view frustum +

+ +

ovoid copy(const Camera&)

- +

oProjectionType _projectionType

- +

oAdjustAspectRatioMode _adjustAspectRatioMode

- +

odouble _left

- +

odouble _right

- +

odouble _bottom

- +

odouble _top

- +

odouble _zNear

- +

odouble _zFar

- +

oLookAtType _lookAtType

- +

oVec3 _eye

- +

oVec3 _center

- +

oVec3 _up

- +

oTransformMode _attachedTransformMode

- +

oref_ptr<Matrix> _eyeToModelTransform

- +

oref_ptr<Matrix> _modelToEyeTransform

- +

ofloat _screenDistance

- +

oFusionDistanceMode _fusionDistanceMode

- +

ofloat _fusionDistanceRatio

diff --git a/doc/doc++/osg/ClipNode.html b/doc/doc++/osg/ClipNode.html index 1ce670686..3dc0974d7 100644 --- a/doc/doc++/osg/ClipNode.html +++ b/doc/doc++/osg/ClipNode.html @@ -23,58 +23,58 @@

Public Methods

-[more]typedef std::vector<ref_ptr<ClipPlane> > ClipPlaneList ClipNode() +[more]typedef std::vector<ref_ptr<ClipPlane> > ClipPlaneList ClipNode()
-[more] ClipNode(const ClipNode& es, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] ClipNode(const ClipNode& es, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more] META_Node(osg, ClipNode) +[more] META_Node(osg, ClipNode)
-[more]void createClipBox(const BoundingBox& bb, unsigned int clipPlaneNumberBase=0) +[more]void createClipBox(const BoundingBox& bb, unsigned int clipPlaneNumberBase=0)
Create a 6 clip planes to create a clip box
-[more]const bool addClipPlane(ClipPlane* clipplane) +[more]const bool addClipPlane(ClipPlane* clipplane)
Add a ClipPlane to a ClipNode.
-[more]const bool removeClipPlane(ClipPlane* clipplane) +[more]const bool removeClipPlane(ClipPlane* clipplane)
Remove ClipPlane from a ClipNode.
-[more]const bool removeClipPlane(unsigned int pos) +[more]const bool removeClipPlane(unsigned int pos)
Remove ClipPlane, at specified index, from a ClipNode.
-[more]inline const unsigned int getNumClipPlanes() const +[more]inline const unsigned int getNumClipPlanes() const
return the number of ClipPlanes
-[more]inline ClipPlane* getClipPlane(unsigned int pos) +[more]inline ClipPlane* getClipPlane(unsigned int pos)
Get ClipPlane at specificed index position
-[more]inline const ClipPlane* getClipPlane(unsigned int pos) const +[more]inline const ClipPlane* getClipPlane(unsigned int pos) const
Get const ClipPlane at specificed index position
-[more]inline ClipPlaneList& getClipPlaneList() +[more]inline ClipPlaneList& getClipPlaneList()
Get the ClipPlaneList
-[more]inline const ClipPlaneList& getClipPlaneList() const +[more]inline const ClipPlaneList& getClipPlaneList() const
Get the const ClipPlaneList
-[more]void setStateSetModes(StateSet&, const StateAttribute::GLModeValue) const +[more]void setStateSetModes(StateSet&, const StateAttribute::GLModeValue) const
Set the GLModes on StateSet associated with the ClipPlanes
-[more]void setLocalStateSetModes(const StateAttribute::GLModeValue=StateAttribute::ON) +[more]void setLocalStateSetModes(const StateAttribute::GLModeValue=StateAttribute::ON)
Set up the local StateSet

Protected Fields

-[more]StateAttribute::GLModeValue _value +[more]StateAttribute::GLModeValue _value
-[more]ClipPlaneList _planes +[more]ClipPlaneList _planes

Protected Methods

-[more]virtual ~ClipNode() +[more]virtual ~ClipNode()
-[more]virtual const bool computeBound() const +[more]virtual const bool computeBound() const

@@ -117,89 +117,89 @@
- +
otypedef std::vector<ref_ptr<ClipPlane> > ClipPlaneList ClipNode()

- -

o ClipNode(const ClipNode& es, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o ClipNode(const ClipNode& es, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

- +

o META_Node(osg, ClipNode)

- +

ovoid createClipBox(const BoundingBox& bb, unsigned int clipPlaneNumberBase=0)
Create a 6 clip planes to create a clip box

- +

oconst bool addClipPlane(ClipPlane* clipplane)
Add a ClipPlane to a ClipNode. Return true if plane is added, return false if plane already exists in ClipNode, or clipplane is false.

- +

oconst bool removeClipPlane(ClipPlane* clipplane)
Remove ClipPlane from a ClipNode. Return true if plane is removed, return false if plane does not exists in ClipNode.

- +

oconst bool removeClipPlane(unsigned int pos)
Remove ClipPlane, at specified index, from a ClipNode. Return true if plane is removed, return false if plane does not exists in ClipNode.

- +

oinline const unsigned int getNumClipPlanes() const
return the number of ClipPlanes

- +

oinline ClipPlane* getClipPlane(unsigned int pos)
Get ClipPlane at specificed index position

- +

oinline const ClipPlane* getClipPlane(unsigned int pos) const
Get const ClipPlane at specificed index position

- +

oinline ClipPlaneList& getClipPlaneList()
Get the ClipPlaneList

- +

oinline const ClipPlaneList& getClipPlaneList() const
Get the const ClipPlaneList

- +

ovoid setStateSetModes(StateSet&, const StateAttribute::GLModeValue) const
Set the GLModes on StateSet associated with the ClipPlanes

- +

ovoid setLocalStateSetModes(const StateAttribute::GLModeValue=StateAttribute::ON)
Set up the local StateSet

- +

ovirtual ~ClipNode()

- +

ovirtual const bool computeBound() const

- +

oStateAttribute::GLModeValue _value

- +

oClipPlaneList _planes

diff --git a/doc/doc++/osg/ClipPlane.html b/doc/doc++/osg/ClipPlane.html index 860a43a44..58e2e45e6 100644 --- a/doc/doc++/osg/ClipPlane.html +++ b/doc/doc++/osg/ClipPlane.html @@ -23,65 +23,65 @@

Public Methods

-[more] ClipPlane() +[more] ClipPlane()
-[more]inline ClipPlane(unsigned int no, const Vec4& plane) +[more]inline ClipPlane(unsigned int no, const Vec4& plane)
-[more]inline ClipPlane(unsigned int no, const Plane& plane) +[more]inline ClipPlane(unsigned int no, const Plane& plane)
-[more]inline ClipPlane(unsigned int no, const double a, const double b, const double c, const double d) +[more]inline ClipPlane(unsigned int no, const double a, const double b, const double c, const double d)
-[more] ClipPlane(const ClipPlane& cp, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] ClipPlane(const ClipPlane& cp, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, ClipPlane, (Type)(CLIPPLANE+_clipPlaneNum)) +[more] META_StateAttribute(osg, ClipPlane, (Type)(CLIPPLANE+_clipPlaneNum))
-[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
-[more]void setClipPlane(const Vec4& plane) +[more]void setClipPlane(const Vec4& plane)
Set the clip plane, using a Vec4 to define plane.
-[more]void setClipPlane(const Plane& plane) +[more]void setClipPlane(const Plane& plane)
Set the clip plane, using a Plane to define plane.
-[more]void setClipPlane(const double* plane) +[more]void setClipPlane(const double* plane)
Set the clip plane, using a double[4] to define plane.
-[more]void setClipPlane(const double a, const double b, const double c, const double d) +[more]void setClipPlane(const double a, const double b, const double c, const double d)
Set the clip plane, using a a to define plane.
-[more]void getClipPlane(Vec4& plane) const +[more]void getClipPlane(Vec4& plane) const
Get the clip plane, values entered into a Vec4 passed to the getClipPlane.
-[more]void getClipPlane(Plane& plane) const +[more]void getClipPlane(Plane& plane) const
Get the clip plane, values entered into a Plane passed to the getClipPlane.
-[more]void getClipPlane(double* plane) const +[more]void getClipPlane(double* plane) const
Get the clip plane, values entered into a double[4] passed to the getClipPlane.
-[more]void setClipPlaneNum(const unsigned int num) +[more]void setClipPlaneNum(const unsigned int num)
Set the clip plane number.
-[more]const unsigned int getClipPlaneNum() const +[more]const unsigned int getClipPlaneNum() const
Get the clip plane number.
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const
Apply the clip plane's state to the OpenGL state machine.

Protected Fields

-[more]double _clipPlane[4] +[more]double _clipPlane[4]
-[more]unsigned int _clipPlaneNum +[more]unsigned int _clipPlaneNum

Protected Methods

-[more]virtual ~ClipPlane() +[more]virtual ~ClipPlane()

@@ -99,7 +99,7 @@
ovirtual const char* className() const
-ovirtual const Type getType() const +ovirtual const Type getType() const
ovirtual bool isTextureAttribute() const
@@ -132,9 +132,9 @@

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -150,7 +150,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -185,99 +185,99 @@
- +
o ClipPlane()

- +

oinline ClipPlane(unsigned int no, const Vec4& plane)

- +

oinline ClipPlane(unsigned int no, const Plane& plane)

- -

oinline ClipPlane(unsigned int no, const double a, const double b, const double c, const double d) + +
oinline ClipPlane(unsigned int no, const double a, const double b, const double c, const double d)

- -

o ClipPlane(const ClipPlane& cp, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o ClipPlane(const ClipPlane& cp, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy

- -

o META_StateAttribute(osg, ClipPlane, (Type)(CLIPPLANE+_clipPlaneNum)) + +
o META_StateAttribute(osg, ClipPlane, (Type)(CLIPPLANE+_clipPlaneNum))

- +

ovirtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

- -

ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const + +
ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

- +

ovoid setClipPlane(const Vec4& plane)
Set the clip plane, using a Vec4 to define plane.

- +

ovoid setClipPlane(const Plane& plane)
Set the clip plane, using a Plane to define plane.

- +

ovoid setClipPlane(const double* plane)
Set the clip plane, using a double[4] to define plane.

- -

ovoid setClipPlane(const double a, const double b, const double c, const double d) + +
ovoid setClipPlane(const double a, const double b, const double c, const double d)
Set the clip plane, using a a to define plane.

- +

ovoid getClipPlane(Vec4& plane) const
Get the clip plane, values entered into a Vec4 passed to the getClipPlane.

- +

ovoid getClipPlane(Plane& plane) const
Get the clip plane, values entered into a Plane passed to the getClipPlane.

- +

ovoid getClipPlane(double* plane) const
Get the clip plane, values entered into a double[4] passed to the getClipPlane.

- +

ovoid setClipPlaneNum(const unsigned int num)
Set the clip plane number.

- +

oconst unsigned int getClipPlaneNum() const
Get the clip plane number.

- +

ovirtual void apply(State& state) const
Apply the clip plane's state to the OpenGL state machine.

- +

ovirtual ~ClipPlane()

- +

odouble _clipPlane[4]

- +

ounsigned int _clipPlaneNum

diff --git a/doc/doc++/osg/CollectOccludersVisitor.html b/doc/doc++/osg/CollectOccludersVisitor.html index 3f5b15b8f..58e699c88 100644 --- a/doc/doc++/osg/CollectOccludersVisitor.html +++ b/doc/doc++/osg/CollectOccludersVisitor.html @@ -22,64 +22,64 @@

Public Methods

-[more]typedef std::set<ShadowVolumeOccluder> ShadowVolumeOccluderSet CollectOccludersVisitor() +[more]typedef std::set<ShadowVolumeOccluder> ShadowVolumeOccluderSet CollectOccludersVisitor()
-[more]virtual ~CollectOccludersVisitor() +[more]virtual ~CollectOccludersVisitor()
-[more]virtual CollectOccludersVisitor* cloneType() const +[more]virtual CollectOccludersVisitor* cloneType() const
-[more]virtual void reset() +[more]virtual void reset()
-[more]virtual void apply(osg::Node&) +[more]virtual void apply(osg::Node&)
-[more]virtual void apply(osg::Transform& node) +[more]virtual void apply(osg::Transform& node)
-[more]virtual void apply(osg::Projection& node) +[more]virtual void apply(osg::Projection& node)
-[more]virtual void apply(osg::Switch& node) +[more]virtual void apply(osg::Switch& node)
-[more]virtual void apply(osg::LOD& node) +[more]virtual void apply(osg::LOD& node)
-[more]virtual void apply(osg::OccluderNode& node) +[more]virtual void apply(osg::OccluderNode& node)
-[more]void setMinimumShadowOccluderVolume(float vol) +[more]void setMinimumShadowOccluderVolume(float vol)
-[more]float getMinimumShadowOccluderVolume() const +[more]float getMinimumShadowOccluderVolume() const
-[more]void setCreateDrawablesOnOccludeNodes(bool flag) +[more]void setCreateDrawablesOnOccludeNodes(bool flag)
-[more]bool getCreateDrawablesOnOccludeNodes() const +[more]bool getCreateDrawablesOnOccludeNodes() const
-[more]void setCollectedOcculderList(const ShadowVolumeOccluderSet& svol) +[more]void setCollectedOcculderList(const ShadowVolumeOccluderSet& svol)
-[more]ShadowVolumeOccluderSet& getCollectedOccluderSet() +[more]ShadowVolumeOccluderSet& getCollectedOccluderSet()
-[more]const ShadowVolumeOccluderSet& getCollectedOccluderSet() const +[more]const ShadowVolumeOccluderSet& getCollectedOccluderSet() const
-[more]void removeOccludedOccluders() +[more]void removeOccludedOccluders()
remove occluded occluders for the collected occluders list

Protected Fields

-[more]float _minimumShadowOccluderVolume +[more]float _minimumShadowOccluderVolume
-[more]bool _createDrawables +[more]bool _createDrawables
-[more]ShadowVolumeOccluderSet _occluderSet +[more]ShadowVolumeOccluderSet _occluderSet

Protected Methods

-[more] CollectOccludersVisitor(const CollectOccludersVisitor&) +[more] CollectOccludersVisitor(const CollectOccludersVisitor&)
prevent unwanted copy construction
-[more]CollectOccludersVisitor& operator = (const CollectOccludersVisitor&) +[more]CollectOccludersVisitor& operator = (const CollectOccludersVisitor&)
prevent unwanted copy operator
-[more]inline void handle_cull_callbacks_and_traverse(osg::Node& node) +[more]inline void handle_cull_callbacks_and_traverse(osg::Node& node)
-[more]inline void handle_cull_callbacks_and_accept(osg::Node& node, osg::Node* acceptNode) +[more]inline void handle_cull_callbacks_and_accept(osg::Node& node, osg::Node* acceptNode)

@@ -87,6 +87,10 @@

Public Methods

+oinline void setVisitorType(VisitorType type) +
+oinline VisitorType getVisitorType() const +
oinline void setTraversalNumber(const int fn)
oinline const int getTraversalNumber() const @@ -105,9 +109,9 @@
oinline const bool validNodeMask(const osg::Node& node) const
-ovoid setTraversalMode(const TraversalMode mode) +ovoid setTraversalMode(const TraversalMode mode)
-oinline const TraversalMode getTraversalMode() const +oinline const TraversalMode getTraversalMode() const
ovoid setTraversalVisitor(NodeVisitor* nv)
@@ -131,17 +135,21 @@

Public Members

oenum TraversalMode +
+oenum VisitorType

Protected Fields

+oVisitorType _visitorType +
oint _traversalNumber
oref_ptr<FrameStamp> _frameStamp
oref_ptr<NodeVisitor> _traversalVisitor
-oTraversalMode _traversalMode +oTraversalMode _traversalMode
oNode::NodeMask _traversalMask
@@ -206,7 +214,7 @@
ofloat getSmallFeatureCullingPixelSize() const
-ofloat pixelSize(const Vec3& v, float radius) const +ofloat pixelSize(const Vec3& v, float radius) const
ofloat pixelSize(const BoundingSphere& bs) const
@@ -329,106 +337,106 @@
- +
otypedef std::set<ShadowVolumeOccluder> ShadowVolumeOccluderSet CollectOccludersVisitor()

- +

ovirtual ~CollectOccludersVisitor()

- +

ovirtual CollectOccludersVisitor* cloneType() const

- +

ovirtual void reset()

- +

ovirtual void apply(osg::Node&)

- +

ovirtual void apply(osg::Transform& node)

- +

ovirtual void apply(osg::Projection& node)

- +

ovirtual void apply(osg::Switch& node)

- +

ovirtual void apply(osg::LOD& node)

- +

ovirtual void apply(osg::OccluderNode& node)

- +

ovoid setMinimumShadowOccluderVolume(float vol)

- +

ofloat getMinimumShadowOccluderVolume() const

- +

ovoid setCreateDrawablesOnOccludeNodes(bool flag)

- +

obool getCreateDrawablesOnOccludeNodes() const

- +

ovoid setCollectedOcculderList(const ShadowVolumeOccluderSet& svol)

- +

oShadowVolumeOccluderSet& getCollectedOccluderSet()

- +

oconst ShadowVolumeOccluderSet& getCollectedOccluderSet() const

- +

ovoid removeOccludedOccluders()
remove occluded occluders for the collected occluders list

- -

o CollectOccludersVisitor(const CollectOccludersVisitor&) + +
o CollectOccludersVisitor(const CollectOccludersVisitor&)
prevent unwanted copy construction

- +

oCollectOccludersVisitor& operator = (const CollectOccludersVisitor&)
prevent unwanted copy operator

- +

oinline void handle_cull_callbacks_and_traverse(osg::Node& node)

- +

oinline void handle_cull_callbacks_and_accept(osg::Node& node, osg::Node* acceptNode)

- +

ofloat _minimumShadowOccluderVolume

- +

obool _createDrawables

- +

oShadowVolumeOccluderSet _occluderSet

diff --git a/doc/doc++/osg/ColorMask.html b/doc/doc++/osg/ColorMask.html index 0bd1de353..184106fce 100644 --- a/doc/doc++/osg/ColorMask.html +++ b/doc/doc++/osg/ColorMask.html @@ -23,43 +23,43 @@

Public Methods

-[more] ColorMask() +[more] ColorMask()
-[more] ColorMask(const ColorMask& cm, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] ColorMask(const ColorMask& cm, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, ColorMask, COLORMASK) +[more] META_StateAttribute(osg, ColorMask, COLORMASK)
-[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]inline void setMask(bool red, bool green, bool blue, bool alpha) +[more]inline void setMask(bool red, bool green, bool blue, bool alpha)
-[more]inline const bool getRedMask() const +[more]inline const bool getRedMask() const
-[more]inline const bool getGreenMask() const +[more]inline const bool getGreenMask() const
-[more]inline const bool getBlueMask() const +[more]inline const bool getBlueMask() const
-[more]inline const bool getAlphaMask() const +[more]inline const bool getAlphaMask() const
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

Protected Fields

-[more]bool _red +[more]bool _red
-[more]bool _green +[more]bool _green
-[more]bool _blue +[more]bool _blue
-[more]bool _alpha +[more]bool _alpha

Protected Methods

-[more]virtual ~ColorMask() +[more]virtual ~ColorMask()

@@ -77,7 +77,7 @@
ovirtual const char* className() const
-ovirtual const Type getType() const +ovirtual const Type getType() const
ovirtual bool isTextureAttribute() const
@@ -87,7 +87,7 @@
obool operator != (const StateAttribute& rhs) const
-ovirtual void getAssociatedModes(std::vector<GLMode>& ) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
ovirtual void compile(State&) const

@@ -112,9 +112,9 @@

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -130,7 +130,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -165,65 +165,65 @@
- +
o ColorMask()

- -

o ColorMask(const ColorMask& cm, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o ColorMask(const ColorMask& cm, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy

- -

o META_StateAttribute(osg, ColorMask, COLORMASK) + +
o META_StateAttribute(osg, ColorMask, COLORMASK)

- +

ovirtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

- +

oinline void setMask(bool red, bool green, bool blue, bool alpha)

- +

oinline const bool getRedMask() const

- +

oinline const bool getGreenMask() const

- +

oinline const bool getBlueMask() const

- +

oinline const bool getAlphaMask() const

- +

ovirtual void apply(State& state) const

- +

ovirtual ~ColorMask()

- +

obool _red

- +

obool _green

- +

obool _blue

- +

obool _alpha

diff --git a/doc/doc++/osg/ColorMatrix.html b/doc/doc++/osg/ColorMatrix.html index be98adcf8..620d1a34f 100644 --- a/doc/doc++/osg/ColorMatrix.html +++ b/doc/doc++/osg/ColorMatrix.html @@ -23,37 +23,37 @@

Public Methods

-[more] ColorMatrix() +[more] ColorMatrix()
-[more] ColorMatrix(const ColorMatrix& cm, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] ColorMatrix(const ColorMatrix& cm, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, ColorMatrix, COLORMATRIX) +[more] META_StateAttribute(osg, ColorMatrix, COLORMATRIX)
-[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]inline void setMatrix(const Matrix& matrix) +[more]inline void setMatrix(const Matrix& matrix)
Set the color matrix
-[more]inline Matrix& getMatrix() +[more]inline Matrix& getMatrix()
Get the color matrix
-[more]inline const Matrix& getMatrix() const +[more]inline const Matrix& getMatrix() const
Get the const color matrix
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const
apply as OpenGL texture matrix

Protected Fields

-[more]Matrix _matrix +[more]Matrix _matrix

Protected Methods

-[more]virtual ~ColorMatrix( void ) +[more]virtual ~ColorMatrix( void )

@@ -71,7 +71,7 @@
ovirtual const char* className() const
-ovirtual const Type getType() const +ovirtual const Type getType() const
ovirtual bool isTextureAttribute() const
@@ -81,7 +81,7 @@
obool operator != (const StateAttribute& rhs) const
-ovirtual void getAssociatedModes(std::vector<GLMode>& ) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
ovirtual void compile(State&) const

@@ -106,9 +106,9 @@

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -124,7 +124,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -159,49 +159,49 @@
- +
o ColorMatrix()

- -

o ColorMatrix(const ColorMatrix& cm, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o ColorMatrix(const ColorMatrix& cm, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy

- -

o META_StateAttribute(osg, ColorMatrix, COLORMATRIX) + +
o META_StateAttribute(osg, ColorMatrix, COLORMATRIX)

- +

ovirtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

- +

oinline void setMatrix(const Matrix& matrix)
Set the color matrix

- +

oinline Matrix& getMatrix()
Get the color matrix

- +

oinline const Matrix& getMatrix() const
Get the const color matrix

- +

ovirtual void apply(State& state) const
apply as OpenGL texture matrix

- +

ovirtual ~ColorMatrix( void )

- +

oMatrix _matrix

diff --git a/doc/doc++/osg/ConvexPlanerOccluder.html b/doc/doc++/osg/ConvexPlanerOccluder.html index 7cc7abba5..7ae1e0511 100644 --- a/doc/doc++/osg/ConvexPlanerOccluder.html +++ b/doc/doc++/osg/ConvexPlanerOccluder.html @@ -23,39 +23,39 @@

Public Methods

-[more] ConvexPlanerOccluder() +[more] ConvexPlanerOccluder()
-[more] ConvexPlanerOccluder(const ConvexPlanerOccluder& cpo, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] ConvexPlanerOccluder(const ConvexPlanerOccluder& cpo, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more]META_Object (osg, ConvexPlanerOccluder)(const ConvexPlanerPolygon& cpp) +[more]META_Object (osg, ConvexPlanerOccluder)(const ConvexPlanerPolygon& cpp)
-[more]ConvexPlanerPolygon& getOccluder() +[more]ConvexPlanerPolygon& getOccluder()
-[more]const ConvexPlanerPolygon& getOccluder() const +[more]const ConvexPlanerPolygon& getOccluder() const
-[more]typedef std::vector<ConvexPlanerPolygon> HoleList void addHole(const ConvexPlanerPolygon& cpp) +[more]typedef std::vector<ConvexPlanerPolygon> HoleList void addHole(const ConvexPlanerPolygon& cpp)
-[more]HoleList& getHoleList() +[more]HoleList& getHoleList()
-[more]const HoleList& getHoleList() const +[more]const HoleList& getHoleList() const
-[more]void computeAttributes() +[more]void computeAttributes()
-[more]void computeBound(BoundingBox& bb) const +[more]void computeBound(BoundingBox& bb) const
-[more]void computeBound(BoundingSphere& bs) const +[more]void computeBound(BoundingSphere& bs) const

Protected Fields

-[more]ConvexPlanerPolygon _occluder +[more]ConvexPlanerPolygon _occluder
-[more]HoleList _holeList +[more]HoleList _holeList

Protected Methods

-[more] ~ConvexPlanerOccluder() +[more] ~ConvexPlanerOccluder()

@@ -73,9 +73,9 @@
ovirtual const char* className() const
-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -91,7 +91,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -127,59 +127,59 @@ When adding planes, their normals should point inwards (into the volume) - +
o ConvexPlanerOccluder()

- -

o ConvexPlanerOccluder(const ConvexPlanerOccluder& cpo, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o ConvexPlanerOccluder(const ConvexPlanerOccluder& cpo, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

- +

oMETA_Object (osg, ConvexPlanerOccluder)(const ConvexPlanerPolygon& cpp)

- +

oConvexPlanerPolygon& getOccluder()

- +

oconst ConvexPlanerPolygon& getOccluder() const

- +

otypedef std::vector<ConvexPlanerPolygon> HoleList void addHole(const ConvexPlanerPolygon& cpp)

- +

oHoleList& getHoleList()

- +

oconst HoleList& getHoleList() const

- +

ovoid computeAttributes()

- +

ovoid computeBound(BoundingBox& bb) const

- +

ovoid computeBound(BoundingSphere& bs) const

- +

o ~ConvexPlanerOccluder()

- +

oConvexPlanerPolygon _occluder

- +

oHoleList _holeList

diff --git a/doc/doc++/osg/ConvexPlanerPolygon.html b/doc/doc++/osg/ConvexPlanerPolygon.html index 6893d8517..6d2bee3ef 100644 --- a/doc/doc++/osg/ConvexPlanerPolygon.html +++ b/doc/doc++/osg/ConvexPlanerPolygon.html @@ -13,36 +13,18 @@

Public Methods

-[more]inline ConvexPlanerPolygon() +[more] ConvexPlanerPolygon()
-[more]float area() +[more]typedef std::vector<osg::Vec3> VertexList void add(const Vec3& v)
-[more]const Vec3& center() +[more]VertexList& getVertexList()
-[more]const Vec3& normal() -
-[more]typedef std::vector<osg::Vec3> VertexList void add(const Vec3& v) -
-[more]VertexList& getVertexList() -
-[more]const VertexList& getVertexList() const -
-[more]void computeAttributes() -
-[more]void computeBound(BoundingBox& bb) const -
-[more]void computeBound(BoundingSphere& bs) const +[more]const VertexList& getVertexList() const

Protected Fields

-[more]float _area -
-[more]Vec3 _center -
-[more]Vec3 _normal -
-[more]VertexList _vertexList +[more]VertexList _vertexList

@@ -55,59 +37,23 @@ When adding planes, their normals should point inwards (into the volume) - -
oinline ConvexPlanerPolygon() -

- - -

ofloat area() -

- - -

oconst Vec3& center() -

- - -

oconst Vec3& normal() + +
o ConvexPlanerPolygon()

- +

otypedef std::vector<osg::Vec3> VertexList void add(const Vec3& v)

- +

oVertexList& getVertexList()

- +

oconst VertexList& getVertexList() const

- - -

ovoid computeAttributes() -

- - -

ovoid computeBound(BoundingBox& bb) const -

- - -

ovoid computeBound(BoundingSphere& bs) const -

- - -

ofloat _area -

- - -

oVec3 _center -

- - -

oVec3 _normal -

- +

oVertexList _vertexList

diff --git a/doc/doc++/osg/CopyOp.html b/doc/doc++/osg/CopyOp.html index bdf8d3f86..5753134c3 100644 --- a/doc/doc++/osg/CopyOp.html +++ b/doc/doc++/osg/CopyOp.html @@ -13,35 +13,39 @@

Public Methods

-[more]typedef unsigned intinline CopyFlags CopyOp(CopyFlags flags=SHALLOW_COPY) +[more]typedef unsigned intinline CopyFlags CopyOp(CopyFlags flags=SHALLOW_COPY)
-[more]virtual ~CopyOp() +[more]virtual ~CopyOp()
-[more]virtual Referenced* operator() (const Referenced* ref) const +[more]virtual Referenced* operator() (const Referenced* ref) const
-[more]virtual Object* operator() (const Object* obj) const +[more]virtual Object* operator() (const Object* obj) const
-[more]virtual Node* operator() (const Node* node) const +[more]virtual Node* operator() (const Node* node) const
-[more]virtual Drawable* operator() (const Drawable* drawable) const +[more]virtual Drawable* operator() (const Drawable* drawable) const
-[more]virtual StateSet* operator() (const StateSet* stateset) const +[more]virtual StateSet* operator() (const StateSet* stateset) const
-[more]virtual StateAttribute* operator() (const StateAttribute* attr) const +[more]virtual StateAttribute* operator() (const StateAttribute* attr) const
-[more]virtual Texture* operator() (const Texture* text) const +[more]virtual Texture* operator() (const Texture* text) const
-[more]virtual Image* operator() (const Image* image) const +[more]virtual Image* operator() (const Image* image) const +
+[more]virtual Array* operator() (const Array* image) const +
+[more]virtual Primitive* operator() (const Primitive* image) const

Public Members

-[more]enum Options +[more]enum Options

Protected Fields

-[more]CopyFlags _flags +[more]CopyFlags _flags

@@ -54,89 +58,105 @@ during copy construction and clone operation
- +
oenum Options

- +
o SHALLOW_COPY

- +

o DEEP_COPY_OBJECTS

- +

o DEEP_COPY_NODES

- +

o DEEP_COPY_DRAWABLES

- +

o DEEP_COPY_STATESETS

- +

o DEEP_COPY_STATEATTRIBUTES

- +

o DEEP_COPY_TEXTURES

- +

o DEEP_COPY_IMAGES

+ + +

o DEEP_COPY_ARRAYS +

+ + +

o DEEP_COPY_PRIMITIVES +

- +

o DEEP_COPY_ALL

- -
otypedef unsigned intinline CopyFlags CopyOp(CopyFlags flags=SHALLOW_COPY) + +
otypedef unsigned intinline CopyFlags CopyOp(CopyFlags flags=SHALLOW_COPY)

- +

ovirtual ~CopyOp()

- -

ovirtual Referenced* operator() (const Referenced* ref) const + +
ovirtual Referenced* operator() (const Referenced* ref) const

- +

ovirtual Object* operator() (const Object* obj) const

- +

ovirtual Node* operator() (const Node* node) const

- +

ovirtual Drawable* operator() (const Drawable* drawable) const

- +

ovirtual StateSet* operator() (const StateSet* stateset) const

- +

ovirtual StateAttribute* operator() (const StateAttribute* attr) const

- +

ovirtual Texture* operator() (const Texture* text) const

- +

ovirtual Image* operator() (const Image* image) const

+ + +

ovirtual Array* operator() (const Array* image) const +

+ + +

ovirtual Primitive* operator() (const Primitive* image) const +

- +

oCopyFlags _flags

diff --git a/doc/doc++/osg/CullFace.html b/doc/doc++/osg/CullFace.html index 002883c29..03c19ae05 100644 --- a/doc/doc++/osg/CullFace.html +++ b/doc/doc++/osg/CullFace.html @@ -23,38 +23,38 @@

Public Methods

-[more] CullFace() +[more] CullFace()
-[more] CullFace(const CullFace& cf, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] CullFace(const CullFace& cf, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, CullFace, CULLFACE) +[more] META_StateAttribute(osg, CullFace, CULLFACE)
-[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
-[more]inline void setMode(const Mode mode) +[more]inline void setMode(const Mode mode)
-[more]inline const Mode getMode() const +[more]inline const Mode getMode() const
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

Public Members

-[more]enum Mode +[more]enum Mode

Protected Fields

-[more]Mode _mode +[more]Mode _mode

Protected Methods

-[more]virtual ~CullFace() +[more]virtual ~CullFace()

@@ -72,7 +72,7 @@
ovirtual const char* className() const
-ovirtual const Type getType() const +ovirtual const Type getType() const
ovirtual bool isTextureAttribute() const
@@ -105,9 +105,9 @@

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -123,7 +123,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -158,64 +158,64 @@
- +
o CullFace()

- -

o CullFace(const CullFace& cf, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o CullFace(const CullFace& cf, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy

- -

o META_StateAttribute(osg, CullFace, CULLFACE) + +
o META_StateAttribute(osg, CullFace, CULLFACE)

- +

ovirtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

- -

ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const + +
ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

- +

oenum Mode

- +
o FRONT

- +

o BACK

- +

o FRONT_AND_BACK

- -
oinline void setMode(const Mode mode) + +
oinline void setMode(const Mode mode)

- -

oinline const Mode getMode() const + +
oinline const Mode getMode() const

- +

ovirtual void apply(State& state) const

- +

ovirtual ~CullFace()

- -

oMode _mode + +
oMode _mode


This class has no child classes.
diff --git a/doc/doc++/osg/CullStack.html b/doc/doc++/osg/CullStack.html index eee476298..f466b018d 100644 --- a/doc/doc++/osg/CullStack.html +++ b/doc/doc++/osg/CullStack.html @@ -23,161 +23,161 @@

Public Methods

-[more] CullStack() +[more] CullStack()
-[more] ~CullStack() +[more] ~CullStack()
-[more]typedef unsigned int CullingMode void reset() +[more]typedef unsigned int CullingMode void reset()
-[more]void setOccluderList(const ShadowVolumeOccluderList& svol) +[more]void setOccluderList(const ShadowVolumeOccluderList& svol)
-[more]ShadowVolumeOccluderList& getOccluderList() +[more]ShadowVolumeOccluderList& getOccluderList()
-[more]const ShadowVolumeOccluderList& getOccluderList() const +[more]const ShadowVolumeOccluderList& getOccluderList() const
-[more]void pushViewport(osg::Viewport* viewport) +[more]void pushViewport(osg::Viewport* viewport)
-[more]void popViewport() +[more]void popViewport()
-[more]void pushProjectionMatrix(osg::Matrix* matrix) +[more]void pushProjectionMatrix(osg::Matrix* matrix)
-[more]void popProjectionMatrix() +[more]void popProjectionMatrix()
-[more]void pushModelViewMatrix(osg::Matrix* matrix) +[more]void pushModelViewMatrix(osg::Matrix* matrix)
-[more]void popModelViewMatrix() +[more]void popModelViewMatrix()
-[more]inline float getFrustumVolume() +[more]inline float getFrustumVolume()
-[more]void setCullingMode(CullingMode mode) +[more]void setCullingMode(CullingMode mode)
Sets the current CullingMode
-[more]CullingMode getCullingMode() const +[more]CullingMode getCullingMode() const
Returns the current CullingMode
-[more]void setLODBias(const float bias) +[more]void setLODBias(const float bias)
-[more]const float getLODBias() const +[more]const float getLODBias() const
-[more]void setSmallFeatureCullingPixelSize(float value) +[more]void setSmallFeatureCullingPixelSize(float value)
-[more]float getSmallFeatureCullingPixelSize() const +[more]float getSmallFeatureCullingPixelSize() const
-[more]float pixelSize(const Vec3& v, float radius) const +[more]float pixelSize(const Vec3& v, float radius) const
Compute the pixel of an object at position v, with specified radius
-[more]float pixelSize(const BoundingSphere& bs) const +[more]float pixelSize(const BoundingSphere& bs) const
Compute the pixel of an bounding sphere
-[more]inline void disableAndPushOccludersCurrentMask(NodePath& nodePath) +[more]inline void disableAndPushOccludersCurrentMask(NodePath& nodePath)
-[more]inline void popOccludersCurrentMask(NodePath& nodePath) +[more]inline void popOccludersCurrentMask(NodePath& nodePath)
-[more]inline bool isCulled(const std::vector<Vec3>& vertices) +[more]inline bool isCulled(const std::vector<Vec3>& vertices)
-[more]inline bool isCulled(const BoundingBox& bb) +[more]inline bool isCulled(const BoundingBox& bb)
-[more]inline bool isCulled(const BoundingSphere& bs) +[more]inline bool isCulled(const BoundingSphere& bs)
-[more]inline bool isCulled(const osg::Node& node) +[more]inline bool isCulled(const osg::Node& node)
-[more]inline void pushCurrentMask() +[more]inline void pushCurrentMask()
-[more]inline void popCurrentMask() +[more]inline void popCurrentMask()
-[more]typedef fast_back_stack<ref_ptr<CullingSet> > CullingStack CullingStack& getClipSpaceCullingStack() +[more]typedef fast_back_stack<ref_ptr<CullingSet> > CullingStack CullingStack& getClipSpaceCullingStack()
-[more]CullingStack& getProjectionCullingStack() +[more]CullingStack& getProjectionCullingStack()
-[more]CullingStack& getModelViewCullingStack() +[more]CullingStack& getModelViewCullingStack()
-[more]CullingSet& getCurrentCullingSet() +[more]CullingSet& getCurrentCullingSet()
-[more]inline osg::Viewport* getViewport() +[more]inline osg::Viewport* getViewport()
-[more]inline osg::Matrix& getModelViewMatrix() +[more]inline osg::Matrix& getModelViewMatrix()
-[more]inline osg::Matrix& getProjectionMatrix() +[more]inline osg::Matrix& getProjectionMatrix()
-[more]inline const osg::Matrix getWindowMatrix() +[more]inline const osg::Matrix getWindowMatrix()
-[more]inline const osg::Matrix& getMVPW() +[more]inline const osg::Matrix& getMVPW()
-[more]inline const osg::Vec3& getEyeLocal() const +[more]inline const osg::Vec3& getEyeLocal() const
-[more]inline const osg::Vec3 getUpLocal() const +[more]inline const osg::Vec3 getUpLocal() const
-[more]inline const osg::Vec3 getLookVectorLocal() const +[more]inline const osg::Vec3 getLookVectorLocal() const
-[more]inline Viewport* getViewport() +[more]inline Viewport* getViewport()
-[more]inline Matrix& getModelViewMatrix() +[more]inline Matrix& getModelViewMatrix()
-[more]inline Matrix& getProjectionMatrix() +[more]inline Matrix& getProjectionMatrix()
-[more]inline const Matrix getWindowMatrix() +[more]inline const Matrix getWindowMatrix()
-[more]inline const Matrix& getMVPW() +[more]inline const Matrix& getMVPW()
-[more]inline Matrix* createOrReuseMatrix(const osg::Matrix& value) +[more]inline Matrix* createOrReuseMatrix(const osg::Matrix& value)

Public Members

-[more]typedef std::vector<ShadowVolumeOccluder> OccluderListenum CullingModeValues +[more]typedef std::vector<ShadowVolumeOccluder> OccluderListenum CullingModeValues

Protected Fields

-[more]CullingMode _cullingMode +[more]CullingMode _cullingMode
-[more]float _LODBias +[more]float _LODBias
-[more]float _smallFeatureCullingPixelSize +[more]float _smallFeatureCullingPixelSize
-[more]ShadowVolumeOccluderList _occluderList +[more]ShadowVolumeOccluderList _occluderList
-[more]MatrixStack _modelviewStack +[more]MatrixStack _modelviewStack
-[more]MatrixStack _MVPW_Stack +[more]MatrixStack _MVPW_Stack
-[more]CullingStack _clipspaceCullingStack +[more]CullingStack _clipspaceCullingStack
-[more]CullingStack _projectionCullingStack +[more]CullingStack _projectionCullingStack
-[more]CullingStack _modelviewCullingStack +[more]CullingStack _modelviewCullingStack
-[more]float _frustumVolume +[more]float _frustumVolume
-[more]unsigned int _bbCornerNear +[more]unsigned int _bbCornerNear
-[more]unsigned int _bbCornerFar +[more]unsigned int _bbCornerFar
-[more]osg::Matrix _identity +[more]osg::Matrix _identity
-[more]unsigned int _currentReuseMatrixIndex +[more]unsigned int _currentReuseMatrixIndex

Protected Methods

-[more]void pushCullingSet() +[more]void pushCullingSet()
-[more]void popCullingSet() +[more]void popCullingSet()
-[more]void computeFrustumVolume() +[more]void computeFrustumVolume()
-[more]inline osg::Matrix* createOrReuseMatrix(const osg::Matrix& value) +[more]inline osg::Matrix* createOrReuseMatrix(const osg::Matrix& value)

Protected Members

-[more]typedef fast_back_stack< ref_ptr<Matrix> > MatrixStack MatrixStack _projectionStack +[more]typedef fast_back_stack< ref_ptr<Matrix> > MatrixStack MatrixStack _projectionStack
-[more]typedef fast_back_stack<ref_ptr<Viewport> > ViewportStack ViewportStack _viewportStack +[more]typedef fast_back_stack<ref_ptr<Viewport> > ViewportStack ViewportStack _viewportStack
-[more]typedef fast_back_stack<Vec3> EyePointStack EyePointStack _eyePointStack +[more]typedef fast_back_stack<Vec3> EyePointStack EyePointStack _eyePointStack
-[more]typedef std::vector< osg::ref_ptr<osg::Matrix> > MatrixList MatrixList _reuseMatrixList +[more]typedef std::vector< osg::ref_ptr<osg::Matrix> > MatrixList MatrixList _reuseMatrixList

@@ -190,317 +190,317 @@ and the CullingSet.
- +
o CullStack()

- +

o ~CullStack()

- +

otypedef std::vector<ShadowVolumeOccluder> OccluderListenum CullingModeValues

- +
o NO_CULLING

- +

o VIEW_FRUSTUM_CULLING

- +

o NEAR_PLANE_CULLING

- +

o FAR_PLANE_CULLING

- +

o SMALL_FEATURE_CULLING

- +

o SHADOW_OCCLUSION_CULLING

- +

o ENABLE_ALL_CULLING

- +
otypedef unsigned int CullingMode void reset()

- +

ovoid setOccluderList(const ShadowVolumeOccluderList& svol)

- +

oShadowVolumeOccluderList& getOccluderList()

- +

oconst ShadowVolumeOccluderList& getOccluderList() const

- +

ovoid pushViewport(osg::Viewport* viewport)

- +

ovoid popViewport()

- +

ovoid pushProjectionMatrix(osg::Matrix* matrix)

- +

ovoid popProjectionMatrix()

- +

ovoid pushModelViewMatrix(osg::Matrix* matrix)

- +

ovoid popModelViewMatrix()

- +

oinline float getFrustumVolume()

- +

ovoid setCullingMode(CullingMode mode)
Sets the current CullingMode

- +

oCullingMode getCullingMode() const
Returns the current CullingMode

- +

ovoid setLODBias(const float bias)

- +

oconst float getLODBias() const

- +

ovoid setSmallFeatureCullingPixelSize(float value)

- +

ofloat getSmallFeatureCullingPixelSize() const

- -

ofloat pixelSize(const Vec3& v, float radius) const + +
ofloat pixelSize(const Vec3& v, float radius) const
Compute the pixel of an object at position v, with specified radius

- +

ofloat pixelSize(const BoundingSphere& bs) const
Compute the pixel of an bounding sphere

- +

oinline void disableAndPushOccludersCurrentMask(NodePath& nodePath)

- +

oinline void popOccludersCurrentMask(NodePath& nodePath)

- +

oinline bool isCulled(const std::vector<Vec3>& vertices)

- +

oinline bool isCulled(const BoundingBox& bb)

- +

oinline bool isCulled(const BoundingSphere& bs)

- +

oinline bool isCulled(const osg::Node& node)

- +

oinline void pushCurrentMask()

- +

oinline void popCurrentMask()

- +

otypedef fast_back_stack<ref_ptr<CullingSet> > CullingStack CullingStack& getClipSpaceCullingStack()

- +

oCullingStack& getProjectionCullingStack()

- +

oCullingStack& getModelViewCullingStack()

- +

oCullingSet& getCurrentCullingSet()

- +

oinline osg::Viewport* getViewport()

- +

oinline osg::Matrix& getModelViewMatrix()

- +

oinline osg::Matrix& getProjectionMatrix()

- +

oinline const osg::Matrix getWindowMatrix()

- +

oinline const osg::Matrix& getMVPW()

- +

oinline const osg::Vec3& getEyeLocal() const

- +

oinline const osg::Vec3 getUpLocal() const

- +

oinline const osg::Vec3 getLookVectorLocal() const

- +

ovoid pushCullingSet()

- +

ovoid popCullingSet()

- +

oCullingMode _cullingMode

- +

ofloat _LODBias

- +

ofloat _smallFeatureCullingPixelSize

- +

oShadowVolumeOccluderList _occluderList

- +

otypedef fast_back_stack< ref_ptr<Matrix> > MatrixStack MatrixStack _projectionStack

- +

oMatrixStack _modelviewStack

- +

oMatrixStack _MVPW_Stack

- +

otypedef fast_back_stack<ref_ptr<Viewport> > ViewportStack ViewportStack _viewportStack

- +

otypedef fast_back_stack<Vec3> EyePointStack EyePointStack _eyePointStack

- +

oCullingStack _clipspaceCullingStack

- +

oCullingStack _projectionCullingStack

- +

oCullingStack _modelviewCullingStack

- +

ovoid computeFrustumVolume()

- +

ofloat _frustumVolume

- +

ounsigned int _bbCornerNear

- +

ounsigned int _bbCornerFar

- +

oosg::Matrix _identity

- +

otypedef std::vector< osg::ref_ptr<osg::Matrix> > MatrixList MatrixList _reuseMatrixList

- +

ounsigned int _currentReuseMatrixIndex

- +

oinline osg::Matrix* createOrReuseMatrix(const osg::Matrix& value)

- +

oinline Viewport* getViewport()

- +

oinline Matrix& getModelViewMatrix()

- +

oinline Matrix& getProjectionMatrix()

- +

oinline const Matrix getWindowMatrix()

- +

oinline const Matrix& getMVPW()

- +

oinline Matrix* createOrReuseMatrix(const osg::Matrix& value)


diff --git a/doc/doc++/osg/CullingSet.html b/doc/doc++/osg/CullingSet.html index 2e22b09c9..d8202968b 100644 --- a/doc/doc++/osg/CullingSet.html +++ b/doc/doc++/osg/CullingSet.html @@ -23,71 +23,71 @@

Public Methods

-[more] CullingSet() +[more] CullingSet()
-[more] CullingSet(const CullingSet& cs, const Matrix& matrix, const Vec4& pixelSizeVector) +[more] CullingSet(const CullingSet& cs, const Matrix& matrix, const Vec4& pixelSizeVector)
-[more] ~CullingSet() +[more] ~CullingSet()
-[more]void setCullingMask(Mask mask) +[more]void setCullingMask(Mask mask)
-[more]void setFrustum(Polytope& cv) +[more]void setFrustum(Polytope& cv)
-[more]Polytope& getFrustum() +[more]Polytope& getFrustum()
-[more]const Polytope& getFrustum() const +[more]const Polytope& getFrustum() const
-[more]void addOccluder(ShadowVolumeOccluder& cv) +[more]void addOccluder(ShadowVolumeOccluder& cv)
-[more]void setPixelSizeVector(const Vec4& v) +[more]void setPixelSizeVector(const Vec4& v)
-[more]Vec4& getPixelSizeVector() +[more]Vec4& getPixelSizeVector()
-[more]const Vec4& getPixelSizeVector() const +[more]const Vec4& getPixelSizeVector() const
-[more]void setSmallFeatureCullingPixelSize(float value) +[more]void setSmallFeatureCullingPixelSize(float value)
-[more]float& getSmallFeatureCullingPixelSize() +[more]float& getSmallFeatureCullingPixelSize()
-[more]float getSmallFeatureCullingPixelSize() const +[more]float getSmallFeatureCullingPixelSize() const
-[more]float pixelSize(const Vec3& v, float radius) const +[more]float pixelSize(const Vec3& v, float radius) const
Compute the pixel of an object at position v, with specified radius
-[more]float pixelSize(const BoundingSphere& bs) const +[more]float pixelSize(const BoundingSphere& bs) const
Compute the pixel of an bounding sphere
-[more]inline bool isCulled(const std::vector<Vec3>& vertices) +[more]inline bool isCulled(const std::vector<Vec3>& vertices)
-[more]inline bool isCulled(const BoundingBox& bb) +[more]inline bool isCulled(const BoundingBox& bb)
-[more]inline bool isCulled(const BoundingSphere& bs) +[more]inline bool isCulled(const BoundingSphere& bs)
-[more]inline void pushCurrentMask() +[more]inline void pushCurrentMask()
-[more]inline void popCurrentMask() +[more]inline void popCurrentMask()
-[more]void disableAndPushOccludersCurrentMask(NodePath& nodePath) +[more]void disableAndPushOccludersCurrentMask(NodePath& nodePath)
-[more]void popOccludersCurrentMask(NodePath& nodePath) +[more]void popOccludersCurrentMask(NodePath& nodePath)

Public Members

-[more]typedef unsigned int Maskenum MaskValues +[more]typedef unsigned int Maskenum MaskValues

Protected Fields

-[more]Mask _mask +[more]Mask _mask
-[more]Polytope _frustum +[more]Polytope _frustum
-[more]OccluderList _occluderList +[more]OccluderList _occluderList
-[more]Vec4 _pixelSizeVector +[more]Vec4 _pixelSizeVector
-[more]float _smallFeatureCullingPixelSize +[more]float _smallFeatureCullingPixelSize

@@ -120,139 +120,139 @@
- +
o CullingSet()

- -

o CullingSet(const CullingSet& cs, const Matrix& matrix, const Vec4& pixelSizeVector) + +
o CullingSet(const CullingSet& cs, const Matrix& matrix, const Vec4& pixelSizeVector)

- +

o ~CullingSet()

- +

otypedef unsigned int Maskenum MaskValues

- +
o VIEW_FRUSTUM_CULLING

- +

o SMALL_FEATURE_CULLING

- +

o SHADOW_OCCLUSION_CULLING

- +

o ALL_CULLING

- +
ovoid setCullingMask(Mask mask)

- +

ovoid setFrustum(Polytope& cv)

- +

oPolytope& getFrustum()

- +

oconst Polytope& getFrustum() const

- +

ovoid addOccluder(ShadowVolumeOccluder& cv)

- +

ovoid setPixelSizeVector(const Vec4& v)

- +

oVec4& getPixelSizeVector()

- +

oconst Vec4& getPixelSizeVector() const

- +

ovoid setSmallFeatureCullingPixelSize(float value)

- +

ofloat& getSmallFeatureCullingPixelSize()

- +

ofloat getSmallFeatureCullingPixelSize() const

- -

ofloat pixelSize(const Vec3& v, float radius) const + +
ofloat pixelSize(const Vec3& v, float radius) const
Compute the pixel of an object at position v, with specified radius

- +

ofloat pixelSize(const BoundingSphere& bs) const
Compute the pixel of an bounding sphere

- +

oinline bool isCulled(const std::vector<Vec3>& vertices)

- +

oinline bool isCulled(const BoundingBox& bb)

- +

oinline bool isCulled(const BoundingSphere& bs)

- +

oinline void pushCurrentMask()

- +

oinline void popCurrentMask()

- +

ovoid disableAndPushOccludersCurrentMask(NodePath& nodePath)

- +

ovoid popOccludersCurrentMask(NodePath& nodePath)

- +

oMask _mask

- +

oPolytope _frustum

- +

oOccluderList _occluderList

- +

oVec4 _pixelSizeVector

- +

ofloat _smallFeatureCullingPixelSize

diff --git a/doc/doc++/osg/Depth.html b/doc/doc++/osg/Depth.html index 6a2b7a2b9..842f0dbbe 100644 --- a/doc/doc++/osg/Depth.html +++ b/doc/doc++/osg/Depth.html @@ -23,54 +23,54 @@

Public Methods

-[more] Depth() +[more] Depth()
-[more] Depth(const Depth& dp, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Depth(const Depth& dp, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, Depth, DEPTH) +[more] META_StateAttribute(osg, Depth, DEPTH)
-[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
-[more]inline void setFunction(const Function func) +[more]inline void setFunction(const Function func)
-[more]inline const Function getFunction() const +[more]inline const Function getFunction() const
-[more]inline void setWriteMask(const bool mask) +[more]inline void setWriteMask(const bool mask)
-[more]inline const bool getWriteMask() const +[more]inline const bool getWriteMask() const
-[more]inline void setRange(const double zNear, const double zFar) +[more]inline void setRange(const double zNear, const double zFar)
-[more]inline const double getZNear() const +[more]inline const double getZNear() const
-[more]inline const double getZFar() const +[more]inline const double getZFar() const
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

Public Members

-[more]enum Function +[more]enum Function

Protected Fields

-[more]Function _func +[more]Function _func
-[more]bool _depthWriteMask +[more]bool _depthWriteMask
-[more]double _zNear +[more]double _zNear
-[more]double _zFar +[more]double _zFar

Protected Methods

-[more]virtual ~Depth() +[more]virtual ~Depth()

@@ -88,7 +88,7 @@
ovirtual const char* className() const
-ovirtual const Type getType() const +ovirtual const Type getType() const
ovirtual bool isTextureAttribute() const
@@ -121,9 +121,9 @@

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -139,7 +139,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -174,115 +174,115 @@
- +
o Depth()

- -

o Depth(const Depth& dp, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o Depth(const Depth& dp, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy

- -

o META_StateAttribute(osg, Depth, DEPTH) + +
o META_StateAttribute(osg, Depth, DEPTH)

- +

ovirtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

- -

ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const + +
ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

- +

oenum Function

- +
o NEVER

- +

o LESS

- +

o EQUAL

- +

o LEQUAL

- +

o GREATER

- +

o NOTEQUAL

- +

o GEQUAL

- +

o ALWAYS

- -
oinline void setFunction(const Function func) + +
oinline void setFunction(const Function func)

- -

oinline const Function getFunction() const + +
oinline const Function getFunction() const

- +

oinline void setWriteMask(const bool mask)

- +

oinline const bool getWriteMask() const

- +

oinline void setRange(const double zNear, const double zFar)

- +

oinline const double getZNear() const

- +

oinline const double getZFar() const

- +

ovirtual void apply(State& state) const

- +

ovirtual ~Depth()

- -

oFunction _func + +
oFunction _func

- +

obool _depthWriteMask

- +

odouble _zNear

- +

odouble _zFar

diff --git a/doc/doc++/osg/DisplaySettings.html b/doc/doc++/osg/DisplaySettings.html index 309ac3060..2a61b61b8 100644 --- a/doc/doc++/osg/DisplaySettings.html +++ b/doc/doc++/osg/DisplaySettings.html @@ -23,138 +23,138 @@

Public Methods

-[more]static DisplaySettings* instance() +[more]static DisplaySettings* instance()
Maintain a DisplaySettings singleton for objects to querry at runtime
-[more] DisplaySettings() +[more] DisplaySettings()
-[more] DisplaySettings(std::vector<std::string>& commandLine) +[more] DisplaySettings(std::vector<std::string>& commandLine)
-[more] DisplaySettings(const DisplaySettings& vs) +[more] DisplaySettings(const DisplaySettings& vs)
-[more]virtual ~DisplaySettings() +[more]virtual ~DisplaySettings()
-[more]DisplaySettings& operator = (const DisplaySettings& vs) +[more]DisplaySettings& operator = (const DisplaySettings& vs)
-[more]void merge(const DisplaySettings& vs) +[more]void merge(const DisplaySettings& vs)
-[more]void setDefaults() +[more]void setDefaults()
-[more]void readEnvironmentalVariables() +[more]void readEnvironmentalVariables()
-[more]void readCommandLine(std::vector<std::string>& commandLine) +[more]void readCommandLine(std::vector<std::string>& commandLine)
read the command line string list, removing any matched control sequences
-[more]void setStereo(const bool on) +[more]void setStereo(const bool on)
-[more]const bool getStereo() const +[more]const bool getStereo() const
-[more]void setStereoMode(const StereoMode mode) +[more]void setStereoMode(const StereoMode mode)
-[more]const StereoMode getStereoMode() const +[more]const StereoMode getStereoMode() const
-[more]void setEyeSeperation(const float eyeSeperation) +[more]void setEyeSeparation(const float eyeSeparation)
-[more]const float getEyeSeperation() const +[more]const float getEyeSeparation() const
-[more]void setScreenDistance(const float distance) +[more]void setScreenDistance(const float distance)
-[more]const float getScreenDistance() const +[more]const float getScreenDistance() const
-[more]void setSplitStereoHorizontalEyeMapping(SplitStereoHorizontalEyeMapping m) +[more]void setSplitStereoHorizontalEyeMapping(SplitStereoHorizontalEyeMapping m)
-[more]SplitStereoHorizontalEyeMapping getSplitStereoHorizontalEyeMapping() const +[more]SplitStereoHorizontalEyeMapping getSplitStereoHorizontalEyeMapping() const
-[more]void setSplitStereoHorizontalSeperation(const int s) +[more]void setSplitStereoHorizontalSeparation(const int s)
-[more]const int getSplitStereoHorizontalSeperation() const +[more]const int getSplitStereoHorizontalSeparation() const
-[more]void setSplitStereoVerticalEyeMapping(SplitStereoVerticalEyeMapping m) +[more]void setSplitStereoVerticalEyeMapping(SplitStereoVerticalEyeMapping m)
-[more]SplitStereoVerticalEyeMapping getSplitStereoVerticalEyeMapping() const +[more]SplitStereoVerticalEyeMapping getSplitStereoVerticalEyeMapping() const
-[more]void setSplitStereoVerticalSeperation(const int s) +[more]void setSplitStereoVerticalSeparation(const int s)
-[more]const int getSplitStereoVerticalSeperation() const +[more]const int getSplitStereoVerticalSeparation() const
-[more]void setScreenHeight(const float height) +[more]void setScreenHeight(const float height)
-[more]const float getScreenHeight() const +[more]const float getScreenHeight() const
-[more]void setDoubleBuffer(const bool flag) +[more]void setDoubleBuffer(const bool flag)
-[more]const bool getDoubleBuffer() const +[more]const bool getDoubleBuffer() const
-[more]void setRGB(const bool flag) +[more]void setRGB(const bool flag)
-[more]const bool getRGB() const +[more]const bool getRGB() const
-[more]void setDepthBuffer(const bool flag) +[more]void setDepthBuffer(const bool flag)
-[more]const bool getDepthBuffer() const +[more]const bool getDepthBuffer() const
-[more]void setMinimumNumAlphaBits(const unsigned int bits) +[more]void setMinimumNumAlphaBits(const unsigned int bits)
-[more]const unsigned int getMinimumNumAlphaBits() const +[more]const unsigned int getMinimumNumAlphaBits() const
-[more]const bool getAlphaBuffer() const +[more]const bool getAlphaBuffer() const
-[more]void setMinimumNumStencilBits(const unsigned int bits) +[more]void setMinimumNumStencilBits(const unsigned int bits)
-[more]const unsigned int getMinimumNumStencilBits() const +[more]const unsigned int getMinimumNumStencilBits() const
-[more]const bool getStencilBuffer() const +[more]const bool getStencilBuffer() const
-[more]void setMaxNumberOfGraphicsContexts(const int num) +[more]void setMaxNumberOfGraphicsContexts(const int num)
-[more]const int getMaxNumberOfGraphicsContexts() const +[more]const int getMaxNumberOfGraphicsContexts() const

Public Members

-[more]enum StereoMode +[more]enum StereoMode
-[more]enum SplitStereoHorizontalEyeMapping +[more]enum SplitStereoHorizontalEyeMapping
-[more]enum SplitStereoVerticalEyeMapping +[more]enum SplitStereoVerticalEyeMapping

Protected Fields

-[more]bool _stereo +[more]bool _stereo
-[more]StereoMode _stereoMode +[more]StereoMode _stereoMode
-[more]float _eyeSeperation +[more]float _eyeSeparation
-[more]float _screenDistance +[more]float _screenDistance
-[more]float _screenHeight +[more]float _screenHeight
-[more]SplitStereoHorizontalEyeMapping _splitStereoHorizontalEyeMapping +[more]SplitStereoHorizontalEyeMapping _splitStereoHorizontalEyeMapping
-[more]int _splitStereoHorizontalSeperation +[more]int _splitStereoHorizontalSeparation
-[more]SplitStereoVerticalEyeMapping _splitStereoVerticalEyeMapping +[more]SplitStereoVerticalEyeMapping _splitStereoVerticalEyeMapping
-[more]int _splitStereoVerticalSeperation +[more]int _splitStereoVerticalSeparation
-[more]bool _doubleBuffer +[more]bool _doubleBuffer
-[more]bool _RGB +[more]bool _RGB
-[more]bool _depthBuffer +[more]bool _depthBuffer
-[more]unsigned int _minimumNumberAlphaBits +[more]unsigned int _minimumNumberAlphaBits
-[more]unsigned int _minimumNumberStencilBits +[more]unsigned int _minimumNumberStencilBits
-[more]int _maxNumOfGraphicsContexts +[more]int _maxNumOfGraphicsContexts

Protected Methods

-[more]void copy(const DisplaySettings& vs) +[more]void copy(const DisplaySettings& vs)

@@ -186,287 +186,287 @@ have been set up, and the status of stereo viewing
- +
ostatic DisplaySettings* instance()
Maintain a DisplaySettings singleton for objects to querry at runtime

- +

o DisplaySettings()

- +

o DisplaySettings(std::vector<std::string>& commandLine)

- -

o DisplaySettings(const DisplaySettings& vs) + +
o DisplaySettings(const DisplaySettings& vs)

- +

ovirtual ~DisplaySettings()

- +

oDisplaySettings& operator = (const DisplaySettings& vs)

- +

ovoid merge(const DisplaySettings& vs)

- +

ovoid setDefaults()

- +

ovoid readEnvironmentalVariables()

- +

ovoid readCommandLine(std::vector<std::string>& commandLine)
read the command line string list, removing any matched control sequences

- +

ovoid setStereo(const bool on)

- +

oconst bool getStereo() const

- +

oenum StereoMode

- +
o QUAD_BUFFER

- +

o ANAGLYPHIC

- +

o HORIZONTAL_SPLIT

- +

o VERTICAL_SPLIT

- -
ovoid setStereoMode(const StereoMode mode) + +
ovoid setStereoMode(const StereoMode mode)

- -

oconst StereoMode getStereoMode() const + +
oconst StereoMode getStereoMode() const

- - -

ovoid setEyeSeperation(const float eyeSeperation) + + +
ovoid setEyeSeparation(const float eyeSeparation)

- - -

oconst float getEyeSeperation() const + + +
oconst float getEyeSeparation() const

- -

ovoid setScreenDistance(const float distance) + +
ovoid setScreenDistance(const float distance)

- +

oconst float getScreenDistance() const

- +

oenum SplitStereoHorizontalEyeMapping

- +
o LEFT_EYE_LEFT_VIEWPORT

- +

o LEFT_EYE_RIGHT_VIEWPORT

- -
ovoid setSplitStereoHorizontalEyeMapping(SplitStereoHorizontalEyeMapping m) + +
ovoid setSplitStereoHorizontalEyeMapping(SplitStereoHorizontalEyeMapping m)

- -

oSplitStereoHorizontalEyeMapping getSplitStereoHorizontalEyeMapping() const + +
oSplitStereoHorizontalEyeMapping getSplitStereoHorizontalEyeMapping() const

- - -

ovoid setSplitStereoHorizontalSeperation(const int s) + + +
ovoid setSplitStereoHorizontalSeparation(const int s)

- - -

oconst int getSplitStereoHorizontalSeperation() const + + +
oconst int getSplitStereoHorizontalSeparation() const

- +

oenum SplitStereoVerticalEyeMapping

- +
o LEFT_EYE_TOP_VIEWPORT

- +

o LEFT_EYE_BOTTOM_VIEWPORT

- -
ovoid setSplitStereoVerticalEyeMapping(SplitStereoVerticalEyeMapping m) + +
ovoid setSplitStereoVerticalEyeMapping(SplitStereoVerticalEyeMapping m)

- -

oSplitStereoVerticalEyeMapping getSplitStereoVerticalEyeMapping() const + +
oSplitStereoVerticalEyeMapping getSplitStereoVerticalEyeMapping() const

- - -

ovoid setSplitStereoVerticalSeperation(const int s) + + +
ovoid setSplitStereoVerticalSeparation(const int s)

- - -

oconst int getSplitStereoVerticalSeperation() const + + +
oconst int getSplitStereoVerticalSeparation() const

- -

ovoid setScreenHeight(const float height) + +
ovoid setScreenHeight(const float height)

- +

oconst float getScreenHeight() const

- +

ovoid setDoubleBuffer(const bool flag)

- +

oconst bool getDoubleBuffer() const

- +

ovoid setRGB(const bool flag)

- +

oconst bool getRGB() const

- +

ovoid setDepthBuffer(const bool flag)

- +

oconst bool getDepthBuffer() const

- +

ovoid setMinimumNumAlphaBits(const unsigned int bits)

- +

oconst unsigned int getMinimumNumAlphaBits() const

- +

oconst bool getAlphaBuffer() const

- +

ovoid setMinimumNumStencilBits(const unsigned int bits)

- +

oconst unsigned int getMinimumNumStencilBits() const

- +

oconst bool getStencilBuffer() const

- +

ovoid setMaxNumberOfGraphicsContexts(const int num)

- +

oconst int getMaxNumberOfGraphicsContexts() const

- +

ovoid copy(const DisplaySettings& vs)

- +

obool _stereo

- -

oStereoMode _stereoMode + +
oStereoMode _stereoMode

- - -

ofloat _eyeSeperation + + +
ofloat _eyeSeparation

- +

ofloat _screenDistance

- +

ofloat _screenHeight

- -

oSplitStereoHorizontalEyeMapping _splitStereoHorizontalEyeMapping + +
oSplitStereoHorizontalEyeMapping _splitStereoHorizontalEyeMapping

- - -

oint _splitStereoHorizontalSeperation + + +
oint _splitStereoHorizontalSeparation

- -

oSplitStereoVerticalEyeMapping _splitStereoVerticalEyeMapping + +
oSplitStereoVerticalEyeMapping _splitStereoVerticalEyeMapping

- - -

oint _splitStereoVerticalSeperation + + +
oint _splitStereoVerticalSeparation

- +

obool _doubleBuffer

- +

obool _RGB

- +

obool _depthBuffer

- +

ounsigned int _minimumNumberAlphaBits

- +

ounsigned int _minimumNumberStencilBits

- +

oint _maxNumOfGraphicsContexts

diff --git a/doc/doc++/osg/DrawArrayLengths.html b/doc/doc++/osg/DrawArrayLengths.html index f47919cfc..284182663 100644 --- a/doc/doc++/osg/DrawArrayLengths.html +++ b/doc/doc++/osg/DrawArrayLengths.html @@ -22,40 +22,40 @@

Public Methods

-[more] DrawArrayLengths(GLenum mode=0) +[more] DrawArrayLengths(GLenum mode=0)
-[more] DrawArrayLengths(const DrawArrayLengths& dal, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] DrawArrayLengths(const DrawArrayLengths& dal, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more] DrawArrayLengths(GLenum mode, GLint first, unsigned int no, GLsizei* ptr) +[more] DrawArrayLengths(GLenum mode, GLint first, unsigned int no, GLsizei* ptr)
-[more] DrawArrayLengths(GLenum mode, GLint first, unsigned int no) +[more] DrawArrayLengths(GLenum mode, GLint first, unsigned int no)
-[more]template<class InputIterator> DrawArrayLengths(GLenum mode, GLint first, InputIterator firstItr, InputIterator lastItr) +[more]template<class InputIterator> DrawArrayLengths(GLenum mode, GLint first, InputIterator firstItr, InputIterator lastItr)
-[more]virtual Object* cloneType() const +[more]virtual Object* cloneType() const
-[more]virtual Object* clone(const CopyOp& copyop) const +[more]virtual Object* clone(const CopyOp& copyop) const
-[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
-[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
-[more]virtual const char* className() const +[more]virtual const char* className() const
-[more]void setFirst(GLint first) +[more]void setFirst(GLint first)
-[more]GLint getFirst() const +[more]GLint getFirst() const
-[more]virtual void draw() const +[more]virtual void draw() const
-[more]virtual void accept(Drawable::PrimitiveFunctor& functor) +[more]virtual void accept(Drawable::PrimitiveFunctor& functor)
-[more]virtual void offsetIndices(int offset) +[more]virtual void offsetIndices(int offset)

Protected Fields

-[more]GLint _first +[more]GLint _first

@@ -63,7 +63,7 @@

Public Methods

-oType getType() const +oType getType() const
ovoid setMode(GLenum mode)
@@ -79,7 +79,7 @@

Protected Fields

-oType _primitiveType +oType _primitiveType
oGLenum _mode

@@ -89,9 +89,9 @@

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -107,7 +107,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -144,67 +144,67 @@
- +
o DrawArrayLengths(GLenum mode=0)

- -

o DrawArrayLengths(const DrawArrayLengths& dal, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o DrawArrayLengths(const DrawArrayLengths& dal, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

- -

o DrawArrayLengths(GLenum mode, GLint first, unsigned int no, GLsizei* ptr) + +
o DrawArrayLengths(GLenum mode, GLint first, unsigned int no, GLsizei* ptr)

- -

o DrawArrayLengths(GLenum mode, GLint first, unsigned int no) + +
o DrawArrayLengths(GLenum mode, GLint first, unsigned int no)

- -

otemplate<class InputIterator> DrawArrayLengths(GLenum mode, GLint first, InputIterator firstItr, InputIterator lastItr) + +
otemplate<class InputIterator> DrawArrayLengths(GLenum mode, GLint first, InputIterator firstItr, InputIterator lastItr)

- +

ovirtual Object* cloneType() const

- +

ovirtual Object* clone(const CopyOp& copyop) const

- +

ovirtual bool isSameKindAs(const Object* obj) const

- +

ovirtual const char* libraryName() const

- +

ovirtual const char* className() const

- -

ovoid setFirst(GLint first) + +
ovoid setFirst(GLint first)

- +

oGLint getFirst() const

- +

ovirtual void draw() const

- +

ovirtual void accept(Drawable::PrimitiveFunctor& functor)

- +

ovirtual void offsetIndices(int offset)

- +

oGLint _first

diff --git a/doc/doc++/osg/DrawArrays.html b/doc/doc++/osg/DrawArrays.html index 4c6c1e3cd..a7c038ea6 100644 --- a/doc/doc++/osg/DrawArrays.html +++ b/doc/doc++/osg/DrawArrays.html @@ -22,44 +22,44 @@

Public Methods

-[more] DrawArrays(GLenum mode=0) +[more] DrawArrays(GLenum mode=0)
-[more] DrawArrays(GLenum mode, GLint first, GLsizei count) +[more] DrawArrays(GLenum mode, GLint first, GLsizei count)
-[more] DrawArrays(const DrawArrays& da, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] DrawArrays(const DrawArrays& da, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more]virtual Object* cloneType() const +[more]virtual Object* cloneType() const
-[more]virtual Object* clone(const CopyOp& copyop) const +[more]virtual Object* clone(const CopyOp& copyop) const
-[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
-[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
-[more]virtual const char* className() const +[more]virtual const char* className() const
-[more]void set(GLenum mode, GLint first, GLsizei count) +[more]void set(GLenum mode, GLint first, GLsizei count)
-[more]void setFirst(GLint first) +[more]void setFirst(GLint first)
-[more]GLint getFirst() const +[more]GLint getFirst() const
-[more]void setCount(GLsizei count) +[more]void setCount(GLsizei count)
-[more]GLsizei getCount() const +[more]GLsizei getCount() const
-[more]virtual void draw() const +[more]virtual void draw() const
-[more]virtual void accept(Drawable::PrimitiveFunctor& functor) +[more]virtual void accept(Drawable::PrimitiveFunctor& functor)
-[more]virtual void offsetIndices(int offset) +[more]virtual void offsetIndices(int offset)

Protected Fields

-[more]GLint _first +[more]GLint _first
-[more]GLsizei _count +[more]GLsizei _count

@@ -67,7 +67,7 @@

Public Methods

-oType getType() const +oType getType() const
ovoid setMode(GLenum mode)
@@ -83,7 +83,7 @@

Protected Fields

-oType _primitiveType +oType _primitiveType
oGLenum _mode

@@ -93,9 +93,9 @@

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -111,7 +111,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -145,75 +145,75 @@
- +
o DrawArrays(GLenum mode=0)

- -

o DrawArrays(GLenum mode, GLint first, GLsizei count) + +
o DrawArrays(GLenum mode, GLint first, GLsizei count)

- -

o DrawArrays(const DrawArrays& da, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o DrawArrays(const DrawArrays& da, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

- +

ovirtual Object* cloneType() const

- +

ovirtual Object* clone(const CopyOp& copyop) const

- +

ovirtual bool isSameKindAs(const Object* obj) const

- +

ovirtual const char* libraryName() const

- +

ovirtual const char* className() const

- -

ovoid set(GLenum mode, GLint first, GLsizei count) + +
ovoid set(GLenum mode, GLint first, GLsizei count)

- -

ovoid setFirst(GLint first) + +
ovoid setFirst(GLint first)

- +

oGLint getFirst() const

- +

ovoid setCount(GLsizei count)

- +

oGLsizei getCount() const

- +

ovirtual void draw() const

- +

ovirtual void accept(Drawable::PrimitiveFunctor& functor)

- +

ovirtual void offsetIndices(int offset)

- +

oGLint _first

- +

oGLsizei _count

diff --git a/doc/doc++/osg/DrawElementsUByte.html b/doc/doc++/osg/DrawElementsUByte.html index 0e77f1e11..460e55680 100644 --- a/doc/doc++/osg/DrawElementsUByte.html +++ b/doc/doc++/osg/DrawElementsUByte.html @@ -22,31 +22,31 @@

Public Methods

-[more] DrawElementsUByte(GLenum mode=0) +[more] DrawElementsUByte(GLenum mode=0)
-[more] DrawElementsUByte(const DrawElementsUByte& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] DrawElementsUByte(const DrawElementsUByte& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more] DrawElementsUByte(GLenum mode, unsigned int no, GLubyte* ptr) +[more] DrawElementsUByte(GLenum mode, unsigned int no, GLubyte* ptr)
-[more] DrawElementsUByte(GLenum mode, unsigned int no) +[more] DrawElementsUByte(GLenum mode, unsigned int no)
-[more]template<class InputIterator> DrawElementsUByte(GLenum mode, InputIterator first, InputIterator last) +[more]template<class InputIterator> DrawElementsUByte(GLenum mode, InputIterator first, InputIterator last)
-[more]virtual Object* cloneType() const +[more]virtual Object* cloneType() const
-[more]virtual Object* clone(const CopyOp& copyop) const +[more]virtual Object* clone(const CopyOp& copyop) const
-[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
-[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
-[more]virtual const char* className() const +[more]virtual const char* className() const
-[more]virtual void draw() const +[more]virtual void draw() const
-[more]virtual void accept(Drawable::PrimitiveFunctor& functor) +[more]virtual void accept(Drawable::PrimitiveFunctor& functor)
-[more]virtual void offsetIndices(int offset) +[more]virtual void offsetIndices(int offset)

@@ -54,7 +54,7 @@

Public Methods

-oType getType() const +oType getType() const
ovoid setMode(GLenum mode)
@@ -70,7 +70,7 @@

Protected Fields

-oType _primitiveType +oType _primitiveType
oGLenum _mode

@@ -80,9 +80,9 @@

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -98,7 +98,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -135,55 +135,55 @@
- +
o DrawElementsUByte(GLenum mode=0)

- -

o DrawElementsUByte(const DrawElementsUByte& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o DrawElementsUByte(const DrawElementsUByte& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

- -

o DrawElementsUByte(GLenum mode, unsigned int no, GLubyte* ptr) + +
o DrawElementsUByte(GLenum mode, unsigned int no, GLubyte* ptr)

- +

o DrawElementsUByte(GLenum mode, unsigned int no)

- -

otemplate<class InputIterator> DrawElementsUByte(GLenum mode, InputIterator first, InputIterator last) + +
otemplate<class InputIterator> DrawElementsUByte(GLenum mode, InputIterator first, InputIterator last)

- +

ovirtual Object* cloneType() const

- +

ovirtual Object* clone(const CopyOp& copyop) const

- +

ovirtual bool isSameKindAs(const Object* obj) const

- +

ovirtual const char* libraryName() const

- +

ovirtual const char* className() const

- +

ovirtual void draw() const

- +

ovirtual void accept(Drawable::PrimitiveFunctor& functor)

- +

ovirtual void offsetIndices(int offset)

diff --git a/doc/doc++/osg/DrawElementsUInt.html b/doc/doc++/osg/DrawElementsUInt.html index ac4fc3533..9b9af08e6 100644 --- a/doc/doc++/osg/DrawElementsUInt.html +++ b/doc/doc++/osg/DrawElementsUInt.html @@ -22,31 +22,31 @@

Public Methods

-[more] DrawElementsUInt(GLenum mode=0) +[more] DrawElementsUInt(GLenum mode=0)
-[more] DrawElementsUInt(const DrawElementsUInt& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] DrawElementsUInt(const DrawElementsUInt& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more] DrawElementsUInt(GLenum mode, unsigned int no, GLuint* ptr) +[more] DrawElementsUInt(GLenum mode, unsigned int no, GLuint* ptr)
-[more] DrawElementsUInt(GLenum mode, unsigned int no) +[more] DrawElementsUInt(GLenum mode, unsigned int no)
-[more]template<class InputIterator> DrawElementsUInt(GLenum mode, InputIterator first, InputIterator last) +[more]template<class InputIterator> DrawElementsUInt(GLenum mode, InputIterator first, InputIterator last)
-[more]virtual Object* cloneType() const +[more]virtual Object* cloneType() const
-[more]virtual Object* clone(const CopyOp& copyop) const +[more]virtual Object* clone(const CopyOp& copyop) const
-[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
-[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
-[more]virtual const char* className() const +[more]virtual const char* className() const
-[more]virtual void draw() const +[more]virtual void draw() const
-[more]virtual void accept(Drawable::PrimitiveFunctor& functor) +[more]virtual void accept(Drawable::PrimitiveFunctor& functor)
-[more]virtual void offsetIndices(int offset) +[more]virtual void offsetIndices(int offset)

@@ -54,7 +54,7 @@

Public Methods

-oType getType() const +oType getType() const
ovoid setMode(GLenum mode)
@@ -70,7 +70,7 @@

Protected Fields

-oType _primitiveType +oType _primitiveType
oGLenum _mode

@@ -80,9 +80,9 @@

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -98,7 +98,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -135,55 +135,55 @@
- +
o DrawElementsUInt(GLenum mode=0)

- -

o DrawElementsUInt(const DrawElementsUInt& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o DrawElementsUInt(const DrawElementsUInt& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

- -

o DrawElementsUInt(GLenum mode, unsigned int no, GLuint* ptr) + +
o DrawElementsUInt(GLenum mode, unsigned int no, GLuint* ptr)

- +

o DrawElementsUInt(GLenum mode, unsigned int no)

- -

otemplate<class InputIterator> DrawElementsUInt(GLenum mode, InputIterator first, InputIterator last) + +
otemplate<class InputIterator> DrawElementsUInt(GLenum mode, InputIterator first, InputIterator last)

- +

ovirtual Object* cloneType() const

- +

ovirtual Object* clone(const CopyOp& copyop) const

- +

ovirtual bool isSameKindAs(const Object* obj) const

- +

ovirtual const char* libraryName() const

- +

ovirtual const char* className() const

- +

ovirtual void draw() const

- +

ovirtual void accept(Drawable::PrimitiveFunctor& functor)

- +

ovirtual void offsetIndices(int offset)

diff --git a/doc/doc++/osg/DrawElementsUShort.html b/doc/doc++/osg/DrawElementsUShort.html index 8bf3034ac..390e54406 100644 --- a/doc/doc++/osg/DrawElementsUShort.html +++ b/doc/doc++/osg/DrawElementsUShort.html @@ -22,31 +22,31 @@

Public Methods

-[more] DrawElementsUShort(GLenum mode=0) +[more] DrawElementsUShort(GLenum mode=0)
-[more] DrawElementsUShort(const DrawElementsUShort& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] DrawElementsUShort(const DrawElementsUShort& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more] DrawElementsUShort(GLenum mode, unsigned int no, GLushort* ptr) +[more] DrawElementsUShort(GLenum mode, unsigned int no, GLushort* ptr)
-[more] DrawElementsUShort(GLenum mode, unsigned int no) +[more] DrawElementsUShort(GLenum mode, unsigned int no)
-[more]template<class InputIterator> DrawElementsUShort(GLenum mode, InputIterator first, InputIterator last) +[more]template<class InputIterator> DrawElementsUShort(GLenum mode, InputIterator first, InputIterator last)
-[more]virtual Object* cloneType() const +[more]virtual Object* cloneType() const
-[more]virtual Object* clone(const CopyOp& copyop) const +[more]virtual Object* clone(const CopyOp& copyop) const
-[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
-[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
-[more]virtual const char* className() const +[more]virtual const char* className() const
-[more]virtual void draw() const +[more]virtual void draw() const
-[more]virtual void accept(Drawable::PrimitiveFunctor& functor) +[more]virtual void accept(Drawable::PrimitiveFunctor& functor)
-[more]virtual void offsetIndices(int offset) +[more]virtual void offsetIndices(int offset)

@@ -54,7 +54,7 @@

Public Methods

-oType getType() const +oType getType() const
ovoid setMode(GLenum mode)
@@ -70,7 +70,7 @@

Protected Fields

-oType _primitiveType +oType _primitiveType
oGLenum _mode

@@ -80,9 +80,9 @@

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -98,7 +98,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -135,55 +135,55 @@
- +
o DrawElementsUShort(GLenum mode=0)

- -

o DrawElementsUShort(const DrawElementsUShort& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o DrawElementsUShort(const DrawElementsUShort& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

- -

o DrawElementsUShort(GLenum mode, unsigned int no, GLushort* ptr) + +
o DrawElementsUShort(GLenum mode, unsigned int no, GLushort* ptr)

- +

o DrawElementsUShort(GLenum mode, unsigned int no)

- -

otemplate<class InputIterator> DrawElementsUShort(GLenum mode, InputIterator first, InputIterator last) + +
otemplate<class InputIterator> DrawElementsUShort(GLenum mode, InputIterator first, InputIterator last)

- +

ovirtual Object* cloneType() const

- +

ovirtual Object* clone(const CopyOp& copyop) const

- +

ovirtual bool isSameKindAs(const Object* obj) const

- +

ovirtual const char* libraryName() const

- +

ovirtual const char* className() const

- +

ovirtual void draw() const

- +

ovirtual void accept(Drawable::PrimitiveFunctor& functor)

- +

ovirtual void offsetIndices(int offset)

diff --git a/doc/doc++/osg/DrawPixels.html b/doc/doc++/osg/DrawPixels.html index e6d5e1504..9bb1d94e3 100644 --- a/doc/doc++/osg/DrawPixels.html +++ b/doc/doc++/osg/DrawPixels.html @@ -23,68 +23,68 @@

Public Methods

-[more] DrawPixels() +[more] DrawPixels()
-[more] DrawPixels(const DrawPixels& drawimage, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] DrawPixels(const DrawPixels& drawimage, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more]virtual Object* cloneType() const +[more]virtual Object* cloneType() const
-[more]virtual Object* clone(const CopyOp& copyop) const +[more]virtual Object* clone(const CopyOp& copyop) const
-[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
-[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
-[more]virtual const char* className() const +[more]virtual const char* className() const
-[more]void setPosition(const osg::Vec3& position) +[more]void setPosition(const osg::Vec3& position)
-[more]osg::Vec3& getPosition() +[more]osg::Vec3& getPosition()
-[more]const osg::Vec3& getPosition() const +[more]const osg::Vec3& getPosition() const
-[more]void setImage(osg::Image* image) +[more]void setImage(osg::Image* image)
-[more]osg::Image* getImage() +[more]osg::Image* getImage()
-[more]const osg::Image* getImage() const +[more]const osg::Image* getImage() const
-[more]void setUseCompleteImage() +[more]void setUseCompleteImage()
-[more]void setSubImageDimensions(unsigned int offsetX, unsigned int offsetY, unsigned int width, unsigned int height) +[more]void setSubImageDimensions(unsigned int offsetX, unsigned int offsetY, unsigned int width, unsigned int height)
-[more]void getSubImageDimensions(unsigned int& offsetX, unsigned int& offsetY, unsigned int& width, unsigned int& height) const +[more]void getSubImageDimensions(unsigned int& offsetX, unsigned int& offsetY, unsigned int& width, unsigned int& height) const
-[more]const bool getUseSubImage() const +[more]const bool getUseSubImage() const
-[more]virtual void drawImmediateMode(State& state) +[more]virtual void drawImmediateMode(State& state)

Protected Fields

-[more]Vec3 _position +[more]Vec3 _position
-[more]ref_ptr<Image> _image +[more]ref_ptr<Image> _image
-[more]bool _useSubImage +[more]bool _useSubImage
-[more]unsigned int _offsetX +[more]unsigned int _offsetX
-[more]unsigned int _offsetY +[more]unsigned int _offsetY
-[more]unsigned int _width +[more]unsigned int _width
-[more]unsigned int _height +[more]unsigned int _height

Protected Methods

-[more]DrawPixels& operator = (const DrawPixels&) +[more]DrawPixels& operator = (const DrawPixels&)
-[more]virtual ~DrawPixels() +[more]virtual ~DrawPixels()
-[more]virtual const bool computeBound() const +[more]virtual const bool computeBound() const

@@ -92,9 +92,9 @@

Public Methods

-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
-oinline ParentList getParents() +oinline ParentList getParents()
oinline Node* getParent(const unsigned int i)
@@ -124,23 +124,23 @@
ovoid compile(State& state)
-ovoid setAppCallback(AppCallback* ac) +ovoid setAppCallback(AppCallback* ac)
-oAppCallback* getAppCallback() +oAppCallback* getAppCallback()
-oconst AppCallback* getAppCallback() const +oconst AppCallback* getAppCallback() const
-ovoid setCullCallback(CullCallback* cc) +ovoid setCullCallback(CullCallback* cc)
-oCullCallback* getCullCallback() +oCullCallback* getCullCallback()
-oconst CullCallback* getCullCallback() const +oconst CullCallback* getCullCallback() const
-ovoid setDrawCallback(DrawCallback* dc) +ovoid setDrawCallback(DrawCallback* dc)
-oDrawCallback* getDrawCallback() +oDrawCallback* getDrawCallback()
-oconst DrawCallback* getDrawCallback() const +oconst DrawCallback* getDrawCallback() const
ostatic void deleteDisplayList(uint contextID, uint globj)
@@ -172,7 +172,7 @@ class PrimitiveFunctor

Protected Fields

-oParentList _parents +oParentList _parents
oref_ptr<StateSet> _dstate
@@ -184,11 +184,11 @@ class PrimitiveFunctor
omutable bool _bbox_computed
-oref_ptr<AppCallback> _appCallback +oref_ptr<AppCallback> _appCallback
-oref_ptr<DrawCallback> _drawCallback +oref_ptr<DrawCallback> _drawCallback
-oref_ptr<CullCallback> _cullCallback +oref_ptr<CullCallback> _cullCallback

@@ -210,9 +210,9 @@ class PrimitiveFunctor

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -228,7 +228,7 @@ class PrimitiveFunctor

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -262,116 +262,116 @@ images using glDrawPixels
- +
o DrawPixels()

- -

o DrawPixels(const DrawPixels& drawimage, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o DrawPixels(const DrawPixels& drawimage, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy

- +

ovirtual Object* cloneType() const

- +

ovirtual Object* clone(const CopyOp& copyop) const

- +

ovirtual bool isSameKindAs(const Object* obj) const

- +

ovirtual const char* libraryName() const

- +

ovirtual const char* className() const

- +

ovoid setPosition(const osg::Vec3& position)

- +

oosg::Vec3& getPosition()

- +

oconst osg::Vec3& getPosition() const

- +

ovoid setImage(osg::Image* image)

- +

oosg::Image* getImage()

- +

oconst osg::Image* getImage() const

- +

ovoid setUseCompleteImage()

- -

ovoid setSubImageDimensions(unsigned int offsetX, unsigned int offsetY, unsigned int width, unsigned int height) + +
ovoid setSubImageDimensions(unsigned int offsetX, unsigned int offsetY, unsigned int width, unsigned int height)

- -

ovoid getSubImageDimensions(unsigned int& offsetX, unsigned int& offsetY, unsigned int& width, unsigned int& height) const + +
ovoid getSubImageDimensions(unsigned int& offsetX, unsigned int& offsetY, unsigned int& width, unsigned int& height) const

- +

oconst bool getUseSubImage() const

- +

ovirtual void drawImmediateMode(State& state)

- +

oDrawPixels& operator = (const DrawPixels&)

- +

ovirtual ~DrawPixels()

- +

ovirtual const bool computeBound() const

- +

oVec3 _position

- +

oref_ptr<Image> _image

- +

obool _useSubImage

- +

ounsigned int _offsetX

- +

ounsigned int _offsetY

- +

ounsigned int _width

- +

ounsigned int _height

diff --git a/doc/doc++/osg/Drawable.html b/doc/doc++/osg/Drawable.html index 86b11142f..e09aa652f 100644 --- a/doc/doc++/osg/Drawable.html +++ b/doc/doc++/osg/Drawable.html @@ -23,124 +23,124 @@

Public Methods

-[more] Drawable() +[more] Drawable()
-[more] Drawable(const Drawable& drawable, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Drawable(const Drawable& drawable, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
-[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
-[more]virtual const char* className() const +[more]virtual const char* className() const
-[more]inline const ParentList& getParents() const +[more]inline const ParentList& getParents() const
Get the parent list of drawable.
-[more]inline ParentList getParents() +[more]inline ParentList getParents()
Get the a copy of parent list of node.
-[more]inline Node* getParent(const unsigned int i) +[more]inline Node* getParent(const unsigned int i)
Get a single parent of Drawable.
-[more]inline const Node* getParent(const unsigned int i) const +[more]inline const Node* getParent(const unsigned int i) const
Get a single const parent of Drawable.
-[more]inline const unsigned int getNumParents() const +[more]inline const unsigned int getNumParents() const
Get the number of parents of node.
-[more]inline void setStateSet(StateSet* state) +[more]inline void setStateSet(StateSet* state)
Set the StateSet attached to the Drawable.
-[more]inline StateSet* getStateSet() +[more]inline StateSet* getStateSet()
Get the attached StateSet
-[more]inline const StateSet* getStateSet() const +[more]inline const StateSet* getStateSet() const
Get the attached const StateSet
-[more]void setSupportsDisplayList(const bool flag) +[more]void setSupportsDisplayList(const bool flag)
Set the drawable to it can or cannot be used in conjunction with OpenGL display lists.
-[more]inline const bool getSupportsDisplayList() const +[more]inline const bool getSupportsDisplayList() const
Get whether display lists are supported for this drawable instance
-[more]void setUseDisplayList(const bool flag) +[more]void setUseDisplayList(const bool flag)
When set to true, force the draw method to use OpenGL Display List for rendering.
-[more]inline const bool getUseDisplayList() const +[more]inline const bool getUseDisplayList() const
Return whether OpenGL display lists are being used for rendering
-[more]void dirtyDisplayList() +[more]void dirtyDisplayList()
Force a recompile on next draw() of any OpenGL display list associated with this geoset
-[more]void dirtyBound() +[more]void dirtyBound()
Dirty the bounding box, forcing a computeBound() on the next call to getBound().
-[more]inline const BoundingBox& getBound() const +[more]inline const BoundingBox& getBound() const
get bounding box of geoset.
-[more]void compile(State& state) +[more]void compile(State& state)
Immediately compile this drawable into an OpenGL Display List.
-[more]void setAppCallback(AppCallback* ac) +[more]void setAppCallback(AppCallback* ac)
Set the AppCallback which allows users to attach customize the undating of an object during the app traversal
-[more]AppCallback* getAppCallback() +[more]AppCallback* getAppCallback()
Get the non const AppCallback
-[more]const AppCallback* getAppCallback() const +[more]const AppCallback* getAppCallback() const
Get the const AppCallback
-[more]void setCullCallback(CullCallback* cc) +[more]void setCullCallback(CullCallback* cc)
Set the CullCallback which allows users to attach customize the culling of Drawable during the cull traversal
-[more]CullCallback* getCullCallback() +[more]CullCallback* getCullCallback()
Get the non const CullCallback
-[more]const CullCallback* getCullCallback() const +[more]const CullCallback* getCullCallback() const
Get the const CullCallback
-[more]void setDrawCallback(DrawCallback* dc) +[more]void setDrawCallback(DrawCallback* dc)
Set the DrawCallback which allows users to attach customize the drawing of existing Drawable object
-[more]DrawCallback* getDrawCallback() +[more]DrawCallback* getDrawCallback()
Get the non const DrawCallback
-[more]const DrawCallback* getDrawCallback() const +[more]const DrawCallback* getDrawCallback() const
Get the const DrawCallback
-[more]virtual void drawImmediateMode(State& state) = 0 +[more]virtual void drawImmediateMode(State& state) = 0
draw directly ignoring an OpenGL display list which could be attached.
-[more]static void deleteDisplayList(uint contextID, uint globj) +[more]static void deleteDisplayList(uint contextID, uint globj)
use deleteDisplayList instead of glDeleteList to allow OpenGL display list to cached until they can be deleted by the OpenGL context in which they were created, specified by contextID
-[more]static void flushDeletedDisplayLists(uint contextID) +[more]static void flushDeletedDisplayLists(uint contextID)
flush all the cached display list which need to be deleted in the OpenGL context related to contextID
-[more]virtual void accept(AttributeFunctor&) +[more]virtual void accept(AttributeFunctor&)
accept an AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has
-[more]virtual void accept(PrimitiveFunctor&) +[more]virtual void accept(PrimitiveFunctor&)
accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has
-[more]inline void draw(State& state) +[more]inline void draw(State& state)
draw OpenGL primitives.

Public Members

-[more]typedef std::vector<Node*> ParentList +[more]typedef std::vector<Node*> ParentList
A vector of osg::Node pointers which is used to store the parent(s) of drawable
-[more]struct AppCallback: public osg::Referenced +[more]struct AppCallback: public osg::Referenced
-[more]struct CullCallback: public osg::Referenced +[more]struct CullCallback: public osg::Referenced
-[more]struct DrawCallback: public osg::Referenced +[more]struct DrawCallback: public osg::Referenced
Callback attached to an Drawable which allows the users to customize the drawing of an exist Drawable object.
-[more]enum AttributeType +[more]enum AttributeType
class AttributeFunctor
@@ -149,44 +149,44 @@ class PrimitiveFunctor

Protected Fields

-[more]ParentList _parents +[more]ParentList _parents
-[more]ref_ptr<StateSet> _dstate +[more]ref_ptr<StateSet> _dstate
-[more]bool _supportsDisplayList +[more]bool _supportsDisplayList
-[more]bool _useDisplayList +[more]bool _useDisplayList
-[more]mutable BoundingBox _bbox +[more]mutable BoundingBox _bbox
-[more]mutable bool _bbox_computed +[more]mutable bool _bbox_computed
-[more]ref_ptr<AppCallback> _appCallback +[more]ref_ptr<AppCallback> _appCallback
-[more]ref_ptr<DrawCallback> _drawCallback +[more]ref_ptr<DrawCallback> _drawCallback
-[more]ref_ptr<CullCallback> _cullCallback +[more]ref_ptr<CullCallback> _cullCallback

Protected Methods

-[more]Drawable& operator = (const Drawable&) +[more]Drawable& operator = (const Drawable&)
-[more]virtual ~Drawable() +[more]virtual ~Drawable()
-[more]virtual const bool computeBound() const = 0 +[more]virtual const bool computeBound() const
compute the bounding box of the drawable.
-[more]void addParent(osg::Node* node) +[more]void addParent(osg::Node* node)
-[more]void removeParent(osg::Node* node) +[more]void removeParent(osg::Node* node)

Protected Members

-[more]typedef std::vector<uint> GLObjectList mutable GLObjectList _globjList +[more]typedef std::vector<uint> GLObjectList mutable GLObjectList _globjList
-[more]typedef std::map<uint,std::set<uint> >static DeletedDisplayListCache DeletedDisplayListCache s_deletedDisplayListCache +[more]typedef std::map<uint,std::set<uint> >static DeletedDisplayListCache DeletedDisplayListCache s_deletedDisplayListCache

@@ -198,9 +198,9 @@ class PrimitiveFunctor
ovirtual Object* clone(const CopyOp&) const
-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -216,7 +216,7 @@ class PrimitiveFunctor

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -253,82 +253,82 @@ be shared for optimal memory usage and graphics performance.
- +
o Drawable()

- -

o Drawable(const Drawable& drawable, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o Drawable(const Drawable& drawable, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy

- +

ovirtual bool isSameKindAs(const Object* obj) const

- +

ovirtual const char* libraryName() const

- +

ovirtual const char* className() const

- +

otypedef std::vector<Node*> ParentList
A vector of osg::Node pointers which is used to store the parent(s) of drawable

- -

oinline const ParentList& getParents() const + +
oinline const ParentList& getParents() const
Get the parent list of drawable.

- -

oinline ParentList getParents() + +
oinline ParentList getParents()
Get the a copy of parent list of node. A copy is returned to prevent modification of the parent list.

- +

oinline Node* getParent(const unsigned int i)
Get a single parent of Drawable.
Parameters:
i - index of the parent to get.
Returns:
the parent i.

- +

oinline const Node* getParent(const unsigned int i) const
Get a single const parent of Drawable.
Parameters:
i - index of the parent to get.
Returns:
the parent i.

- +

oinline const unsigned int getNumParents() const
Get the number of parents of node.
Returns:
the number of parents of this node.

- +

oinline void setStateSet(StateSet* state)
Set the StateSet attached to the Drawable. Previously attached StateSet are automatically unreferenced on assignment of a new drawstate.

- +

oinline StateSet* getStateSet()
Get the attached StateSet

- +

oinline const StateSet* getStateSet() const
Get the attached const StateSet

- +

ovoid setSupportsDisplayList(const bool flag)
Set the drawable to it can or cannot be used in conjunction with OpenGL display lists. With set to true, calls to Drawable::setUseDisplayList, @@ -339,102 +339,102 @@ on objects with dynamic internal data such as continuous Level of Detail algorithms.

- +

oinline const bool getSupportsDisplayList() const
Get whether display lists are supported for this drawable instance

- +

ovoid setUseDisplayList(const bool flag)
When set to true, force the draw method to use OpenGL Display List for rendering. If false rendering directly. If the display list has not been already compile the next call to draw will automatically create the display list.

- +

oinline const bool getUseDisplayList() const
Return whether OpenGL display lists are being used for rendering

- +

ovoid dirtyDisplayList()
Force a recompile on next draw() of any OpenGL display list associated with this geoset

- +

ovoid dirtyBound()
Dirty the bounding box, forcing a computeBound() on the next call to getBound(). Should be called in the internal geometry of the Drawable is modified.

- +

oinline const BoundingBox& getBound() const
get bounding box of geoset. Note, now made virtual to make it possible to implement user-drawn objects albeit so what crudely, to be improved later.

- +

ovoid compile(State& state)
Immediately compile this drawable into an OpenGL Display List. Note I, operation is ignored if _useDisplayList to false. Note II, compile is not intended to be overridden in subclasses.

- +

ostruct AppCallback: public osg::Referenced

- +
ovirtual void app(osg::NodeVisitor* visitor, osg::Drawable* drawable) = 0
do customized app code

- -
ovoid setAppCallback(AppCallback* ac) + +
ovoid setAppCallback(AppCallback* ac)
Set the AppCallback which allows users to attach customize the undating of an object during the app traversal

- -

oAppCallback* getAppCallback() + +
oAppCallback* getAppCallback()
Get the non const AppCallback

- -

oconst AppCallback* getAppCallback() const + +
oconst AppCallback* getAppCallback() const
Get the const AppCallback

- +

ostruct CullCallback: public osg::Referenced

- +
ovirtual bool cull(osg::NodeVisitor* visitor, osg::Drawable* drawable, osg::State* state=NULL) const = 0
do customized cull code

- -
ovoid setCullCallback(CullCallback* cc) + +
ovoid setCullCallback(CullCallback* cc)
Set the CullCallback which allows users to attach customize the culling of Drawable during the cull traversal

- -

oCullCallback* getCullCallback() + +
oCullCallback* getCullCallback()
Get the non const CullCallback

- -

oconst CullCallback* getCullCallback() const + +
oconst CullCallback* getCullCallback() const
Get the const CullCallback

- +

ostruct DrawCallback: public osg::Referenced
Callback attached to an Drawable which allows the users to customize the drawing of an exist Drawable object. The draw callback is implement as a replacement to the Drawable's own drawImmediateMode() method, if the @@ -444,35 +444,35 @@ without fuss and can even diable the inner draw in required.

- +
ovirtual void drawImmediateMode(State& state, osg::Drawable* drawable) const = 0
do customized draw code

- -
ovoid setDrawCallback(DrawCallback* dc) + +
ovoid setDrawCallback(DrawCallback* dc)
Set the DrawCallback which allows users to attach customize the drawing of existing Drawable object

- -

oDrawCallback* getDrawCallback() + +
oDrawCallback* getDrawCallback()
Get the non const DrawCallback

- -

oconst DrawCallback* getDrawCallback() const + +
oconst DrawCallback* getDrawCallback() const
Get the const DrawCallback

- +

ovirtual void drawImmediateMode(State& state) = 0
draw directly ignoring an OpenGL display list which could be attached. This is the internal draw method which does the drawing itself, and is the method to override when deriving from Drawable.

- +

ostatic void deleteDisplayList(uint contextID, uint globj)
use deleteDisplayList instead of glDeleteList to allow OpenGL display list to cached until they can be deleted @@ -480,143 +480,143 @@ by the OpenGL context in which they were created, specified by contextID

- +

ostatic void flushDeletedDisplayLists(uint contextID)
flush all the cached display list which need to be deleted in the OpenGL context related to contextID

- +

oenum AttributeType

- +
o VERTICES

- +

o NORMALS

- +

o COLORS

- +

o TEXTURE_COORDS

- +

o TEXTURE_COORDS_0

- +

o TEXTURE_COORDS_1

- +

o TEXTURE_COORDS_2

- +

o TEXTURE_COORDS_3

- +

o TEXTURE_COORDS_4

- +

o TEXTURE_COORDS_5

- +

o TEXTURE_COORDS_6

- +

o TEXTURE_COORDS_7

- +
ovirtual void accept(AttributeFunctor&)
accept an AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has

- +

ovirtual void accept(PrimitiveFunctor&)
accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has

- +

oDrawable& operator = (const Drawable&)

- +

ovirtual ~Drawable()

- -

ovirtual const bool computeBound() const = 0 + +
ovirtual const bool computeBound() const
compute the bounding box of the drawable. Method must be implemented by subclasses.

- +

ovoid addParent(osg::Node* node)

- +

ovoid removeParent(osg::Node* node)

- -

oParentList _parents + +
oParentList _parents

- +

oref_ptr<StateSet> _dstate

- +

obool _supportsDisplayList

- +

obool _useDisplayList

- +

otypedef std::vector<uint> GLObjectList mutable GLObjectList _globjList

- +

omutable BoundingBox _bbox

- +

omutable bool _bbox_computed

- -

oref_ptr<AppCallback> _appCallback + +
oref_ptr<AppCallback> _appCallback

- -

oref_ptr<DrawCallback> _drawCallback + +
oref_ptr<DrawCallback> _drawCallback

- -

oref_ptr<CullCallback> _cullCallback + +
oref_ptr<CullCallback> _cullCallback

- +

otypedef std::map<uint,std::set<uint> >static DeletedDisplayListCache DeletedDisplayListCache s_deletedDisplayListCache

- +

oinline void draw(State& state)
draw OpenGL primitives. If the drawable has _useDisplayList set to true then use an OpenGL display diff --git a/doc/doc++/osg/Fog.html b/doc/doc++/osg/Fog.html index 0c1e7ed42..d3fc89535 100644 --- a/doc/doc++/osg/Fog.html +++ b/doc/doc++/osg/Fog.html @@ -23,62 +23,70 @@

Public Methods

-[more] Fog() +[more] Fog()
-[more] Fog(const Fog& fog, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Fog(const Fog& fog, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, Fog, FOG) +[more] META_StateAttribute(osg, Fog, FOG)
-[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
-[more]inline void setMode( const Mode mode ) +[more]inline void setMode( const Mode mode )
-[more]inline Mode getMode() const +[more]inline Mode getMode() const
-[more]inline void setDensity( const float density ) +[more]inline void setDensity( const float density )
-[more]inline const float getDensity() const +[more]inline const float getDensity() const
-[more]inline void setStart( const float start ) +[more]inline void setStart( const float start )
-[more]inline const float getStart() const +[more]inline const float getStart() const
-[more]inline void setEnd( const float end ) +[more]inline void setEnd( const float end )
-[more]inline const float getEnd() const +[more]inline const float getEnd() const
-[more]inline void setColor( const Vec4 &color ) +[more]inline void setColor( const Vec4 &color )
-[more]inline const Vec4& getColor() const +[more]inline const Vec4& getColor() const
-[more]virtual void apply(State& state) const +[more]inline void setFogCoordinateSource(GLint source) +
+[more]inline GLint getFogCoordinateSource() const +
+[more]virtual void apply(State& state) const

Public Members

-[more]enum Mode +[more]enum Mode +
+[more]enum FogCoordinateSource

Protected Fields

-[more]Mode _mode +[more]Mode _mode
-[more]float _density +[more]float _density
-[more]float _start +[more]float _start
-[more]float _end +[more]float _end
-[more]Vec4 _color +[more]Vec4 _color +
+[more]GLint _fogCoordinateSource

Protected Methods

-[more]virtual ~Fog() +[more]virtual ~Fog()

@@ -96,7 +104,7 @@
ovirtual const char* className() const
-ovirtual const Type getType() const +ovirtual const Type getType() const
ovirtual bool isTextureAttribute() const
@@ -129,9 +137,9 @@

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -147,7 +155,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -182,112 +190,138 @@
- +
o Fog()

- -

o Fog(const Fog& fog, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o Fog(const Fog& fog, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy

- -

o META_StateAttribute(osg, Fog, FOG) + +
o META_StateAttribute(osg, Fog, FOG)

- +

ovirtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

- -

ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const + +
ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

- +

oenum Mode

- +
o LINEAR

- +

o EXP

- +

o EXP2

- -
oinline void setMode( const Mode mode ) + +
oinline void setMode( const Mode mode )

- -

oinline Mode getMode() const + +
oinline Mode getMode() const

- +

oinline void setDensity( const float density )

- +

oinline const float getDensity() const

- -

oinline void setStart( const float start ) + +
oinline void setStart( const float start )

- +

oinline const float getStart() const

- -

oinline void setEnd( const float end ) + +
oinline void setEnd( const float end )

- +

oinline const float getEnd() const

- +

oinline void setColor( const Vec4 &color )

- +

oinline const Vec4& getColor() const

+ + +

oenum FogCoordinateSource +

+ + + +
o FOG_COORDINATE +

+ + +

o FRAGMENT_DEPTH +

+ + + +
oinline void setFogCoordinateSource(GLint source) +

+ + +

oinline GLint getFogCoordinateSource() const +

- +

ovirtual void apply(State& state) const

- +

ovirtual ~Fog()

- -

oMode _mode + +
oMode _mode

- +

ofloat _density

- +

ofloat _start

- +

ofloat _end

- +

oVec4 _color +

+ + +

oGLint _fogCoordinateSource


This class has no child classes.
diff --git a/doc/doc++/osg/FrameStamp.html b/doc/doc++/osg/FrameStamp.html index 5af9e2ffc..e588edeaf 100644 --- a/doc/doc++/osg/FrameStamp.html +++ b/doc/doc++/osg/FrameStamp.html @@ -23,50 +23,50 @@

Public Methods

-[more] FrameStamp() +[more] FrameStamp()
-[more] FrameStamp(const FrameStamp& fs) +[more] FrameStamp(const FrameStamp& fs)
-[more] ~FrameStamp() +[more] ~FrameStamp()
-[more]FrameStamp& operator = (const FrameStamp& fs) +[more]FrameStamp& operator = (const FrameStamp& fs)
-[more]void setFrameNumber(int fnum) +[more]void setFrameNumber(int fnum)
-[more]int getFrameNumber() const +[more]int getFrameNumber() const
-[more]void setReferenceTime(double refTime) +[more]void setReferenceTime(double refTime)
-[more]double getReferenceTime() const +[more]double getReferenceTime() const
-[more]void setCalendarTime(const tm& calendarTime) +[more]void setCalendarTime(const tm& calendarTime)
-[more]void getCalendarTime(tm& calendarTime) const +[more]void getCalendarTime(tm& calendarTime) const

Protected Fields

-[more]int _frameNumber +[more]int _frameNumber
-[more]double _referenceTime +[more]double _referenceTime
-[more]int tm_sec +[more]int tm_sec
-[more]int tm_min +[more]int tm_min
-[more]int tm_hour +[more]int tm_hour
-[more]int tm_mday +[more]int tm_mday
-[more]int tm_mon +[more]int tm_mon
-[more]int tm_year +[more]int tm_year
-[more]int tm_wday +[more]int tm_wday
-[more]int tm_yday +[more]int tm_yday
-[more]int tm_isdst +[more]int tm_isdst

@@ -101,87 +101,87 @@ of day etc.
- +
o FrameStamp()

- -

o FrameStamp(const FrameStamp& fs) + +
o FrameStamp(const FrameStamp& fs)

- +

o ~FrameStamp()

- +

oFrameStamp& operator = (const FrameStamp& fs)

- +

ovoid setFrameNumber(int fnum)

- +

oint getFrameNumber() const

- +

ovoid setReferenceTime(double refTime)

- +

odouble getReferenceTime() const

- +

ovoid setCalendarTime(const tm& calendarTime)

- +

ovoid getCalendarTime(tm& calendarTime) const

- +

oint _frameNumber

- +

odouble _referenceTime

- +

oint tm_sec

- +

oint tm_min

- +

oint tm_hour

- +

oint tm_mday

- +

oint tm_mon

- +

oint tm_year

- +

oint tm_wday

- +

oint tm_yday

- +

oint tm_isdst

diff --git a/doc/doc++/osg/FrontFace.html b/doc/doc++/osg/FrontFace.html index 09ddb2475..3451ea647 100644 --- a/doc/doc++/osg/FrontFace.html +++ b/doc/doc++/osg/FrontFace.html @@ -23,36 +23,36 @@

Public Methods

-[more] FrontFace() +[more] FrontFace()
-[more] FrontFace(const FrontFace& ff, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] FrontFace(const FrontFace& ff, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, FrontFace, FRONTFACE) +[more] META_StateAttribute(osg, FrontFace, FRONTFACE)
-[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]inline void setMode(const Mode mode) +[more]inline void setMode(const Mode mode)
-[more]inline const Mode getMode() const +[more]inline const Mode getMode() const
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

Public Members

-[more]enum Mode +[more]enum Mode

Protected Fields

-[more]Mode _mode +[more]Mode _mode

Protected Methods

-[more]virtual ~FrontFace() +[more]virtual ~FrontFace()

@@ -70,7 +70,7 @@
ovirtual const char* className() const
-ovirtual const Type getType() const +ovirtual const Type getType() const
ovirtual bool isTextureAttribute() const
@@ -80,7 +80,7 @@
obool operator != (const StateAttribute& rhs) const
-ovirtual void getAssociatedModes(std::vector<GLMode>& ) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
ovirtual void compile(State&) const

@@ -105,9 +105,9 @@

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -123,7 +123,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -158,56 +158,56 @@
- +
o FrontFace()

- -

o FrontFace(const FrontFace& ff, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o FrontFace(const FrontFace& ff, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy

- -

o META_StateAttribute(osg, FrontFace, FRONTFACE) + +
o META_StateAttribute(osg, FrontFace, FRONTFACE)

- +

ovirtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

- +

oenum Mode

- +
o CLOCKWISE

- +

o COUNTER_CLOCKWISE

- -
oinline void setMode(const Mode mode) + +
oinline void setMode(const Mode mode)

- -

oinline const Mode getMode() const + +
oinline const Mode getMode() const

- +

ovirtual void apply(State& state) const

- +

ovirtual ~FrontFace()

- -

oMode _mode + +
oMode _mode


This class has no child classes.
diff --git a/doc/doc++/osg/General.html b/doc/doc++/osg/General.html index c9823559c..d17d46e27 100644 --- a/doc/doc++/osg/General.html +++ b/doc/doc++/osg/General.html @@ -37,6 +37,9 @@ o#define OSG_CAMERA
+o#define +OSG_CLEARNODE
+ o#define OSG_CLIPNODE
@@ -52,11 +55,11 @@ o#define OSG_COLORMATRIX
-o#define -OSG_CONVEXPLANEROCCLUDER
+o#define +OSG_CONVEXPLANAROCCLUDER
-o#define -OSG_CONVEXPLANERPOLYGON
+o#define +OSG_CONVEXPLANARPOLYGON
o#define OSG_COPYOP
@@ -76,21 +79,18 @@ o#define OSG_DisplaySettings
+o#define +OSG_DOFTRANSFORM
+ o#define OSG_DRAWABLE
o#define OSG_DRAWPIXELS
-o#define -OSG_EARTHSKY
- o#define OSG_EXPORT
-o#define -USE_DEPRECATED_API
- o#define SG_EXPORT(dllexport)
@@ -115,6 +115,12 @@ o#define OSG_FOG
+o#define +GL_FOG_COORDINATE
+ +o#define +GL_FRAGMENT_DEPTH
+ o#define OSG_FRAMESTAMP
@@ -136,30 +142,18 @@ o#define OSG_GL
-o#define -WIN32_LEAN_AND_MEAN
- -o#define -GLUT_APIENTRY_DEFINED
- o#define APIENTRY
-o#define -CALLBACK
- -o#define -GLUT_WINGDIAPI_DEFINED
- -o#define -WINGDIAPI(dllimport)
- -o#define -_WCHAR_T_DEFINED
+oifdefined(__CYGWIN__) +(__MINGW32__)(dllimport)
o#define OSG_GLEXTENSIONS
+o#define +WIN32_LEAN_AND_MEAN
+ o#define OSG_GLU
@@ -202,8 +196,8 @@ o#define __OSG_MATH
-oifndef acosf defineacosf(float)(float)(float)(float)(float)(float)(float)(float) -(float)(float)
+odefined(macintosh)(sun)(__DARWIN_OSX__)(float)(float)(float)(float)(float)(float)(float)(float)(float)(macintosh)(sun)(__DARWIN_OSX__) +(__hpux__)(float)
o#define OSG_MATRIXTRANSFORM
@@ -331,6 +325,9 @@ o#define OSG_REF_PTR
+o#define +OSG_SEQUENCE
+ o#define OSG_SHADEMODEL
@@ -358,6 +355,84 @@ o#define OSG_TEXENV
+o#define +OSG_TEXENVCOMBINE
+ +o#define +GL_COMBINE_ARB
+ +o#define +GL_COMBINE_RGB_ARB
+ +o#define +GL_COMBINE_ALPHA_ARB
+ +o#define +GL_SOURCE0_RGB_ARB
+ +o#define +GL_SOURCE1_RGB_ARB
+ +o#define +GL_SOURCE2_RGB_ARB
+ +o#define +GL_SOURCE0_ALPHA_ARB
+ +o#define +GL_SOURCE1_ALPHA_ARB
+ +o#define +GL_SOURCE2_ALPHA_ARB
+ +o#define +GL_OPERAND0_RGB_ARB
+ +o#define +GL_OPERAND1_RGB_ARB
+ +o#define +GL_OPERAND2_RGB_ARB
+ +o#define +GL_OPERAND0_ALPHA_ARB
+ +o#define +GL_OPERAND1_ALPHA_ARB
+ +o#define +GL_OPERAND2_ALPHA_ARB
+ +o#define +GL_RGB_SCALE_ARB
+ +o#define +GL_ADD_SIGNED_ARB
+ +o#define +GL_INTERPOLATE_ARB
+ +o#define +GL_SUBTRACT_ARB
+ +o#define +GL_CONSTANT_ARB
+ +o#define +GL_PRIMARY_COLOR_ARB
+ +o#define +GL_PREVIOUS_ARB
+ +o#define +GL_DOT3_RGB_ARB
+ +o#define +GL_DOT3_RGBA_ARB
+ +o#define +GL_TEXTURE0
+ o#define OSG_TEXGEN
@@ -433,6 +508,15 @@ o#define GL_TEXTURE_3D
+o#define +OSG_TEXTURE1D
+ +o#define +OSG_TEXTURE2D
+ +o#define +OSG_TEXTURE3D
+ o#define OSG_TEXTURECUBEMAP
@@ -454,14 +538,14 @@ o#define OSG_TRANSFORM
-o#define -OSG_TRANSPARENCY
- o#define OSG_TYPES
-o#define -OSG_UBUTE
+o#define +OSG_UBYTE4
+ +o#define +OSG_UNITTESTFRAMEWORK
o#define OSG_VEC2
diff --git a/doc/doc++/osg/GeoSet.html b/doc/doc++/osg/GeoSet.html index cc162f85e..24aa51e86 100644 --- a/doc/doc++/osg/GeoSet.html +++ b/doc/doc++/osg/GeoSet.html @@ -23,312 +23,312 @@

Public Methods

-[more] GeoSet() +[more] GeoSet()
-[more] GeoSet(const GeoSet& geoset, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] GeoSet(const GeoSet& geoset, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more]virtual Object* cloneType() const +[more]virtual Object* cloneType() const
-[more]virtual Object* clone(const CopyOp& copyop) const +[more]virtual Object* clone(const CopyOp& copyop) const
-[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
-[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
-[more]virtual const char* className() const +[more]virtual const char* className() const
-[more]inline void setNumPrims( const int n ) +[more]inline void setNumPrims( const int n )
-[more]inline const int getNumPrims() const +[more]inline const int getNumPrims() const
-[more]void setPrimType( const PrimitiveType type ) +[more]void setPrimType( const PrimitiveType type )
-[more]inline const PrimitiveType getPrimType() const +[more]inline const PrimitiveType getPrimType() const
-[more]inline void setPrimLengths( int* lens ) +[more]inline void setPrimLengths( int* lens )
-[more]inline int* getPrimLengths() +[more]inline int* getPrimLengths()
-[more]inline const int* getPrimLengths() const +[more]inline const int* getPrimLengths() const
-[more]void computeNumVerts() const +[more]void computeNumVerts() const
-[more]inline const int getNumCoords() const +[more]inline const int getNumCoords() const
get the number of coords required by the defined primitives.
-[more]inline Vec3* getCoords() +[more]inline Vec3* getCoords()
get a pointer to Vec3 coord array.
-[more]inline const Vec3* getCoords() const +[more]inline const Vec3* getCoords() const
get a const pointer to Vec3 coord array.
-[more]inline const int getNumCoordIndices() const +[more]inline const int getNumCoordIndices() const
get the number of indices required by the defined primitives.
-[more]inline IndexPointer& getCoordIndices() +[more]inline IndexPointer& getCoordIndices()
get the coord index array.
-[more]inline const IndexPointer& getCoordIndices() const +[more]inline const IndexPointer& getCoordIndices() const
get the const coord index array.
-[more]void setCoords( Vec3* cp ) +[more]void setCoords( Vec3* cp )
set the coords (ie the geometry) of the geoset
-[more]void setCoords( Vec3* cp, GLushort* ci ) +[more]void setCoords( Vec3* cp, GLushort* ci )
set the coords (ie the geometry) and ushort indices of the geoset.
-[more]void setCoords( Vec3* cp, GLuint* ci ) +[more]void setCoords( Vec3* cp, GLuint* ci )
set the coords (ie the geometry) and uint indices of the geoset.
-[more]void setCoords( Vec3* cp, IndexPointer& ip ) +[more]void setCoords( Vec3* cp, IndexPointer& ip )
set the coords (ie the geometry) and indices of the geoset
-[more]inline const int getNumNormals() const +[more]inline const int getNumNormals() const
get the number of normals required by the defined primitives and normals binding
-[more]inline Vec3* getNormals() +[more]inline Vec3* getNormals()
get a pointer to Vec3 normal array.
-[more]inline const Vec3* getNormals() const +[more]inline const Vec3* getNormals() const
get a const pointer to Vec3 normal array.
-[more]inline int getNumNormalIndices() const +[more]inline int getNumNormalIndices() const
get the number of normal indices required by the defined primitives and normals binding
-[more]inline IndexPointer& getNormalIndices() +[more]inline IndexPointer& getNormalIndices()
get the normal index array.
-[more]inline const IndexPointer& getNormalIndices() const +[more]inline const IndexPointer& getNormalIndices() const
get the const normal index array.
-[more]void setNormals( Vec3* np ) +[more]void setNormals( Vec3* np )
set the normals of the geoset
-[more]void setNormals( Vec3* np, GLushort* ni ) +[more]void setNormals( Vec3* np, GLushort* ni )
set the normals and normal indices of the geoset
-[more]void setNormals( Vec3* np, GLuint* ni ) +[more]void setNormals( Vec3* np, GLuint* ni )
set the normals and normal indices of the geoset
-[more]void setNormals( Vec3* np, IndexPointer& ip ) +[more]void setNormals( Vec3* np, IndexPointer& ip )
set the normals and normal indices of the geoset
-[more]void setNormalBinding( const BindingType binding ) +[more]void setNormalBinding( const BindingType binding )
set the normals binding to the vertices/primitives/overall
-[more]inline const BindingType getNormalBinding() const +[more]inline const BindingType getNormalBinding() const
-[more]inline const int getNumColors() const +[more]inline const int getNumColors() const
get the number of colors required by the defined primitives and color binding
-[more]inline Vec4* getColors() +[more]inline Vec4* getColors()
get a pointer to Vec4 color array.
-[more]inline const Vec4* getColors() const +[more]inline const Vec4* getColors() const
get a pointer to Vec4 color array.
-[more]inline int getNumColorIndices() const +[more]inline int getNumColorIndices() const
get the number of colors indices required by the defined primitives and color binding
-[more]inline IndexPointer& getColorIndices() +[more]inline IndexPointer& getColorIndices()
get the color index array.
-[more]inline const IndexPointer& getColorIndices() const +[more]inline const IndexPointer& getColorIndices() const
get the const color index array.
-[more]void setColors( Vec4* cp ) +[more]void setColors( Vec4* cp )
set the colors of the geoset
-[more]void setColors( Vec4* cp, GLushort* li ) +[more]void setColors( Vec4* cp, GLushort* li )
set the colors and color indices of the geoset
-[more]void setColors( Vec4* cp, GLuint* li ) +[more]void setColors( Vec4* cp, GLuint* li )
set the colors and color indices of the geoset
-[more]void setColors( Vec4* cp, IndexPointer& ip ) +[more]void setColors( Vec4* cp, IndexPointer& ip )
set the colors and color indices of the geoset
-[more]void setColorBinding( const BindingType binding ) +[more]void setColorBinding( const BindingType binding )
set the color binding to the vertices/primitives/overall
-[more]inline BindingType getColorBinding() const +[more]inline BindingType getColorBinding() const
-[more]inline const int getNumTextureCoords() const +[more]inline const int getNumTextureCoords() const
get the number of texture coords required by the defined primitives and textures binding
-[more]inline Vec2* getTextureCoords() +[more]inline Vec2* getTextureCoords()
get a pointer to Vec4 color array.
-[more]inline const Vec2* getTextureCoords() const +[more]inline const Vec2* getTextureCoords() const
get a pointer to Vec4 color array.
-[more]inline const int getNumTextureIndices() const +[more]inline const int getNumTextureIndices() const
get the number of texture coord indices required by the defined primitives and texture binding
-[more]inline IndexPointer& getTextureIndices() +[more]inline IndexPointer& getTextureIndices()
get the texture index array.
-[more]inline const IndexPointer& getTextureIndices() const +[more]inline const IndexPointer& getTextureIndices() const
get the texture index array.
-[more]void setTextureCoords( Vec2* tc ) +[more]void setTextureCoords( Vec2* tc )
set the texture coords of the geoset
-[more]void setTextureCoords( Vec2* tc, GLushort* ti ) +[more]void setTextureCoords( Vec2* tc, GLushort* ti )
set the texture coords and texture coord indices of the geoset
-[more]void setTextureCoords( Vec2* tc, GLuint* ti ) +[more]void setTextureCoords( Vec2* tc, GLuint* ti )
set the texture coords and texture coord indices of the geoset
-[more]void setTextureCoords( Vec2* tc, IndexPointer& ip ) +[more]void setTextureCoords( Vec2* tc, IndexPointer& ip )
set the texture coords and texture indices of the geoset
-[more]void setTextureBinding( const BindingType binding ) +[more]void setTextureBinding( const BindingType binding )
set the texture coord binding to the vertices/primitives/overall
-[more]inline const BindingType getTextureBinding() const +[more]inline const BindingType getTextureBinding() const
-[more]inline const int getNumInterleavedCoords() const +[more]inline const int getNumInterleavedCoords() const
get the number of texture coords required by the defined primitives and textures binding
-[more]inline void* getInterleavedArray() +[more]inline void* getInterleavedArray()
get a pointer to interleaved float array.
-[more]inline const void* getInterleavedArray() const +[more]inline const void* getInterleavedArray() const
get a const pointer to interleaved float array.
-[more]inline const int getNumInterleavedIndices() const +[more]inline const int getNumInterleavedIndices() const
get the number of texture coord indices required by the defined primitives and texture binding
-[more]inline IndexPointer& getInterleavedIndices() +[more]inline IndexPointer& getInterleavedIndices()
get the texture index array.
-[more]inline const IndexPointer& getInterleavedIndices() const +[more]inline const IndexPointer& getInterleavedIndices() const
get the interleaved index array.
-[more]inline const InterleaveArrayType getInterleavedFormat() const +[more]inline const InterleaveArrayType getInterleavedFormat() const
get the interleaved array storage format.
-[more]void setInterleavedArray( const InterleaveArrayType format, float* ia ) +[more]void setInterleavedArray( const InterleaveArrayType format, float* ia )
set the interleaved arrays of the geoset
-[more]void setInterleavedArray( const InterleaveArrayType format, float* ia, GLushort* iai ) +[more]void setInterleavedArray( const InterleaveArrayType format, float* ia, GLushort* iai )
-[more]void setInterleavedArray( const InterleaveArrayType format, float* ia, GLuint* iai ) +[more]void setInterleavedArray( const InterleaveArrayType format, float* ia, GLuint* iai )
-[more]void setInterleavedArray( const InterleaveArrayType format, float* ia, IndexPointer& iai ) +[more]void setInterleavedArray( const InterleaveArrayType format, float* ia, IndexPointer& iai )
-[more]virtual void drawImmediateMode(State& state) +[more]virtual void drawImmediateMode(State& state)
draw geoset directly ignoring an OpenGL display list which could be attached.
-[more]const bool check() const +[more]const bool check() const
-[more]void setAttributeDeleteFunctor(AttributeDeleteFunctor* adf) +[more]void setAttributeDeleteFunctor(AttributeDeleteFunctor* adf)
set an alternative AttributeDeleteFunction to handle attribute arrays attached to this Geoset
-[more]AttributeDeleteFunctor* getAttributeDeleteFunctor() +[more]AttributeDeleteFunctor* getAttributeDeleteFunctor()
get the current AttributeDeleteFunction to handle attribute arrays attached to this Geoset
-[more]const AttributeDeleteFunctor* getAttributeDeleteFunctor() const +[more]const AttributeDeleteFunctor* getAttributeDeleteFunctor() const
get the current AttributeDeleteFunction to handle attribute arrays attached to this Geoset
-[more]virtual void accept(AttributeFunctor& af) +[more]virtual void accept(AttributeFunctor& af)
accept an AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has
-[more]virtual void accept(PrimitiveFunctor& pf) +[more]virtual void accept(PrimitiveFunctor& pf)
accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has
-[more]Geometry* convertToGeometry() +[more]Geometry* convertToGeometry()
convinience function for converting GeoSet's to equivilant Geometry nodes

Public Members

-[more]enum PrimitiveType +[more]enum PrimitiveType
-[more]enum BindingType +[more]enum BindingType
-[more]enum InterleaveArrayType +[more]enum InterleaveArrayType
-[more]struct IndexPointer +[more]struct IndexPointer
-[more]struct AttributeDeleteFunctor: public osg::Referenced +[more]struct AttributeDeleteFunctor: public osg::Referenced
function object which is used to handling the clean up of attribute arrays associated with GeoSet's.

Protected Fields

-[more]ref_ptr<AttributeDeleteFunctor> _adf +[more]ref_ptr<AttributeDeleteFunctor> _adf
-[more]int _numprims +[more]int _numprims
-[more]PrimitiveType _primtype +[more]PrimitiveType _primtype
-[more]int _needprimlen +[more]int _needprimlen
-[more]unsigned int _oglprimtype +[more]unsigned int _oglprimtype
-[more]int* _primLengths +[more]int* _primLengths
-[more]mutable unsigned char _primlength +[more]mutable unsigned char _primlength
-[more]unsigned char _flat_shaded_skip +[more]unsigned char _flat_shaded_skip
-[more]mutable int _numcoords +[more]mutable int _numcoords
-[more]Vec3* _coords +[more]Vec3* _coords
-[more]IndexPointer _cindex +[more]IndexPointer _cindex
-[more]BindingType _normal_binding +[more]BindingType _normal_binding
-[more]mutable int _numnormals +[more]mutable int _numnormals
-[more]Vec3* _normals +[more]Vec3* _normals
-[more]IndexPointer _nindex +[more]IndexPointer _nindex
-[more]BindingType _color_binding +[more]BindingType _color_binding
-[more]mutable int _numcolors +[more]mutable int _numcolors
-[more]Vec4* _colors +[more]Vec4* _colors
-[more]IndexPointer _colindex +[more]IndexPointer _colindex
-[more]BindingType _texture_binding +[more]BindingType _texture_binding
-[more]mutable int _numtcoords +[more]mutable int _numtcoords
-[more]Vec2* _tcoords +[more]Vec2* _tcoords
-[more]IndexPointer _tindex +[more]IndexPointer _tindex
-[more]void* _iarray +[more]void* _iarray
-[more]IndexPointer _iaindex +[more]IndexPointer _iaindex
-[more]InterleaveArrayType _iaformat +[more]InterleaveArrayType _iaformat
-[more]unsigned int _ogliaformat +[more]unsigned int _ogliaformat
-[more]int _fast_path +[more]int _fast_path

Protected Methods

-[more]GeoSet& operator = (const GeoSet&) +[more]GeoSet& operator = (const GeoSet&)
-[more]virtual ~GeoSet() +[more]virtual ~GeoSet()
-[more]virtual const bool computeBound() const +[more]virtual const bool computeBound() const
-[more]void set_fast_path( void ) +[more]void set_fast_path( void )
-[more]void draw_fast_path( State& state ) +[more]void draw_fast_path( State& state )
-[more]void draw_alternate_path( State& state ) +[more]void draw_alternate_path( State& state )

@@ -336,9 +336,9 @@

Public Methods

-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
-oinline ParentList getParents() +oinline ParentList getParents()
oinline Node* getParent(const unsigned int i)
@@ -368,23 +368,23 @@
ovoid compile(State& state)
-ovoid setAppCallback(AppCallback* ac) +ovoid setAppCallback(AppCallback* ac)
-oAppCallback* getAppCallback() +oAppCallback* getAppCallback()
-oconst AppCallback* getAppCallback() const +oconst AppCallback* getAppCallback() const
-ovoid setCullCallback(CullCallback* cc) +ovoid setCullCallback(CullCallback* cc)
-oCullCallback* getCullCallback() +oCullCallback* getCullCallback()
-oconst CullCallback* getCullCallback() const +oconst CullCallback* getCullCallback() const
-ovoid setDrawCallback(DrawCallback* dc) +ovoid setDrawCallback(DrawCallback* dc)
-oDrawCallback* getDrawCallback() +oDrawCallback* getDrawCallback()
-oconst DrawCallback* getDrawCallback() const +oconst DrawCallback* getDrawCallback() const
ostatic void deleteDisplayList(uint contextID, uint globj)
@@ -412,7 +412,7 @@ class PrimitiveFunctor

Protected Fields

-oParentList _parents +oParentList _parents
oref_ptr<StateSet> _dstate
@@ -424,11 +424,11 @@ class PrimitiveFunctor
omutable bool _bbox_computed
-oref_ptr<AppCallback> _appCallback +oref_ptr<AppCallback> _appCallback
-oref_ptr<DrawCallback> _drawCallback +oref_ptr<DrawCallback> _drawCallback
-oref_ptr<CullCallback> _cullCallback +oref_ptr<CullCallback> _cullCallback

@@ -450,9 +450,9 @@ class PrimitiveFunctor

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -468,7 +468,7 @@ class PrimitiveFunctor

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -510,580 +510,580 @@ be shared for optimal memory usage and graphics performance.
- +
oenum PrimitiveType

- +
o NO_TYPE

- +

o POINTS

- +

o LINES

- +

o LINE_STRIP

- +

o FLAT_LINE_STRIP

- +

o LINE_LOOP

- +

o TRIANGLES

- +

o TRIANGLE_STRIP

- +

o FLAT_TRIANGLE_STRIP

- +

o TRIANGLE_FAN

- +

o FLAT_TRIANGLE_FAN

- +

o QUADS

- +

o QUAD_STRIP

- +

o POLYGON

- +
oenum BindingType

- +
o BIND_OFF

- +

o BIND_OVERALL

- +

o BIND_PERPRIM

- +

o BIND_PERVERTEX

- +

o BIND_DEFAULT

- +
oenum InterleaveArrayType

- +
o IA_OFF

- +

o IA_V2F

- +

o IA_V3F

- +

o IA_C4UB_V2F

- +

o IA_C4UB_V3F

- +

o IA_C3F_V3F

- +

o IA_N3F_V3F

- +

o IA_C4F_N3F_V3F

- +

o IA_T2F_V3F

- +

o IA_T4F_V4F

- +

o IA_T2F_C4UB_V3F

- +

o IA_T2F_C3F_V3F

- +

o IA_T2F_N3F_V3F

- +

o IA_T2F_C4F_N3F_V3F

- +

o IA_T4F_C4F_N3F_V4F

- +
ostruct IndexPointer

- +
omutable uint _size

- +

obool _is_ushort

- +

ounion

- +
oGLushort* _ushort

- +

oGLuint* _uint

- +
o IndexPointer()

- -

oinline const bool operator == (const IndexPointer& ip) const + +
oinline const bool operator == (const IndexPointer& ip) const

- +

oinline const bool valid() const

- +

oinline const bool null() const

- +

oinline void setToNull()

- -

oinline void set(uint size, GLushort* data) + +
oinline void set(uint size, GLushort* data)

- -

ovoid set(const uint size, GLuint* data) + +
ovoid set(const uint size, GLuint* data)

- +

oinline const uint maxIndex() const

- +

oinline const GLint operator [] (const GLuint pos) const

- +
o GeoSet()

- -

o GeoSet(const GeoSet& geoset, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o GeoSet(const GeoSet& geoset, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy

- +

ovirtual Object* cloneType() const

- +

ovirtual Object* clone(const CopyOp& copyop) const

- +

ovirtual bool isSameKindAs(const Object* obj) const

- +

ovirtual const char* libraryName() const

- +

ovirtual const char* className() const

- +

oinline void setNumPrims( const int n )

- +

oinline const int getNumPrims() const

- -

ovoid setPrimType( const PrimitiveType type ) + +
ovoid setPrimType( const PrimitiveType type )

- -

oinline const PrimitiveType getPrimType() const + +
oinline const PrimitiveType getPrimType() const

- +

oinline void setPrimLengths( int* lens )

- +

oinline int* getPrimLengths()

- +

oinline const int* getPrimLengths() const

- +

ovoid computeNumVerts() const

- +

oinline const int getNumCoords() const
get the number of coords required by the defined primitives.

- +

oinline Vec3* getCoords()
get a pointer to Vec3 coord array.

- +

oinline const Vec3* getCoords() const
get a const pointer to Vec3 coord array.

- +

oinline const int getNumCoordIndices() const
get the number of indices required by the defined primitives.

- -

oinline IndexPointer& getCoordIndices() + +
oinline IndexPointer& getCoordIndices()
get the coord index array.

- -

oinline const IndexPointer& getCoordIndices() const + +
oinline const IndexPointer& getCoordIndices() const
get the const coord index array.

- +

ovoid setCoords( Vec3* cp )
set the coords (ie the geometry) of the geoset

- +

ovoid setCoords( Vec3* cp, GLushort* ci )
set the coords (ie the geometry) and ushort indices of the geoset. To reduce memory footprint and bandwidth for small datasets it is recommended the ushort indices are used instead of unit indices.

- +

ovoid setCoords( Vec3* cp, GLuint* ci )
set the coords (ie the geometry) and uint indices of the geoset. Unless your data set exceeds 65536 indices prefer ushort indices over uint indices, only use this unit indices version if necessary.

- -

ovoid setCoords( Vec3* cp, IndexPointer& ip ) + +
ovoid setCoords( Vec3* cp, IndexPointer& ip )
set the coords (ie the geometry) and indices of the geoset

- +

oinline const int getNumNormals() const
get the number of normals required by the defined primitives and normals binding

- +

oinline Vec3* getNormals()
get a pointer to Vec3 normal array.

- +

oinline const Vec3* getNormals() const
get a const pointer to Vec3 normal array.

- +

oinline int getNumNormalIndices() const
get the number of normal indices required by the defined primitives and normals binding

- -

oinline IndexPointer& getNormalIndices() + +
oinline IndexPointer& getNormalIndices()
get the normal index array.

- -

oinline const IndexPointer& getNormalIndices() const + +
oinline const IndexPointer& getNormalIndices() const
get the const normal index array.

- +

ovoid setNormals( Vec3* np )
set the normals of the geoset

- +

ovoid setNormals( Vec3* np, GLushort* ni )
set the normals and normal indices of the geoset

- +

ovoid setNormals( Vec3* np, GLuint* ni )
set the normals and normal indices of the geoset

- -

ovoid setNormals( Vec3* np, IndexPointer& ip ) + +
ovoid setNormals( Vec3* np, IndexPointer& ip )
set the normals and normal indices of the geoset

- -

ovoid setNormalBinding( const BindingType binding ) + +
ovoid setNormalBinding( const BindingType binding )
set the normals binding to the vertices/primitives/overall

- -

oinline const BindingType getNormalBinding() const + +
oinline const BindingType getNormalBinding() const

- +

oinline const int getNumColors() const
get the number of colors required by the defined primitives and color binding

- +

oinline Vec4* getColors()
get a pointer to Vec4 color array.

- +

oinline const Vec4* getColors() const
get a pointer to Vec4 color array.

- +

oinline int getNumColorIndices() const
get the number of colors indices required by the defined primitives and color binding

- -

oinline IndexPointer& getColorIndices() + +
oinline IndexPointer& getColorIndices()
get the color index array.

- -

oinline const IndexPointer& getColorIndices() const + +
oinline const IndexPointer& getColorIndices() const
get the const color index array.

- +

ovoid setColors( Vec4* cp )
set the colors of the geoset

- +

ovoid setColors( Vec4* cp, GLushort* li )
set the colors and color indices of the geoset

- +

ovoid setColors( Vec4* cp, GLuint* li )
set the colors and color indices of the geoset

- -

ovoid setColors( Vec4* cp, IndexPointer& ip ) + +
ovoid setColors( Vec4* cp, IndexPointer& ip )
set the colors and color indices of the geoset

- -

ovoid setColorBinding( const BindingType binding ) + +
ovoid setColorBinding( const BindingType binding )
set the color binding to the vertices/primitives/overall

- -

oinline BindingType getColorBinding() const + +
oinline BindingType getColorBinding() const

- +

oinline const int getNumTextureCoords() const
get the number of texture coords required by the defined primitives and textures binding

- +

oinline Vec2* getTextureCoords()
get a pointer to Vec4 color array.

- +

oinline const Vec2* getTextureCoords() const
get a pointer to Vec4 color array.

- +

oinline const int getNumTextureIndices() const
get the number of texture coord indices required by the defined primitives and texture binding

- -

oinline IndexPointer& getTextureIndices() + +
oinline IndexPointer& getTextureIndices()
get the texture index array.

- -

oinline const IndexPointer& getTextureIndices() const + +
oinline const IndexPointer& getTextureIndices() const
get the texture index array.

- +

ovoid setTextureCoords( Vec2* tc )
set the texture coords of the geoset

- +

ovoid setTextureCoords( Vec2* tc, GLushort* ti )
set the texture coords and texture coord indices of the geoset

- +

ovoid setTextureCoords( Vec2* tc, GLuint* ti )
set the texture coords and texture coord indices of the geoset

- -

ovoid setTextureCoords( Vec2* tc, IndexPointer& ip ) + +
ovoid setTextureCoords( Vec2* tc, IndexPointer& ip )
set the texture coords and texture indices of the geoset

- -

ovoid setTextureBinding( const BindingType binding ) + +
ovoid setTextureBinding( const BindingType binding )
set the texture coord binding to the vertices/primitives/overall

- -

oinline const BindingType getTextureBinding() const + +
oinline const BindingType getTextureBinding() const

- +

oinline const int getNumInterleavedCoords() const
get the number of texture coords required by the defined primitives and textures binding

- +

oinline void* getInterleavedArray()
get a pointer to interleaved float array.

- +

oinline const void* getInterleavedArray() const
get a const pointer to interleaved float array.

- +

oinline const int getNumInterleavedIndices() const
get the number of texture coord indices required by the defined primitives and texture binding

- -

oinline IndexPointer& getInterleavedIndices() + +
oinline IndexPointer& getInterleavedIndices()
get the texture index array.

- -

oinline const IndexPointer& getInterleavedIndices() const + +
oinline const IndexPointer& getInterleavedIndices() const
get the interleaved index array.

- -

oinline const InterleaveArrayType getInterleavedFormat() const + +
oinline const InterleaveArrayType getInterleavedFormat() const
get the interleaved array storage format.

- -

ovoid setInterleavedArray( const InterleaveArrayType format, float* ia ) + +
ovoid setInterleavedArray( const InterleaveArrayType format, float* ia )
set the interleaved arrays of the geoset

- -

ovoid setInterleavedArray( const InterleaveArrayType format, float* ia, GLushort* iai ) + +
ovoid setInterleavedArray( const InterleaveArrayType format, float* ia, GLushort* iai )

- -

ovoid setInterleavedArray( const InterleaveArrayType format, float* ia, GLuint* iai ) + +
ovoid setInterleavedArray( const InterleaveArrayType format, float* ia, GLuint* iai )

- -

ovoid setInterleavedArray( const InterleaveArrayType format, float* ia, IndexPointer& iai ) + +
ovoid setInterleavedArray( const InterleaveArrayType format, float* ia, IndexPointer& iai )

- +

ovirtual void drawImmediateMode(State& state)
draw geoset directly ignoring an OpenGL display list which could be attached. This is the internal draw method which does the drawing itself, and is the method to override when deriving from GeoSet for user-drawn objects.

- +

oconst bool check() const

- +

ostruct AttributeDeleteFunctor: public osg::Referenced
function object which is used to handling the clean up of attribute arrays associated with GeoSet's. A default is provided which assumes that all @@ -1093,174 +1093,174 @@ a specify your own memory deletion operation.

- +
ovirtual void operator() (GeoSet* gset)

- -
ovoid setAttributeDeleteFunctor(AttributeDeleteFunctor* adf) + +
ovoid setAttributeDeleteFunctor(AttributeDeleteFunctor* adf)
set an alternative AttributeDeleteFunction to handle attribute arrays attached to this Geoset

- -

oAttributeDeleteFunctor* getAttributeDeleteFunctor() + +
oAttributeDeleteFunctor* getAttributeDeleteFunctor()
get the current AttributeDeleteFunction to handle attribute arrays attached to this Geoset

- -

oconst AttributeDeleteFunctor* getAttributeDeleteFunctor() const + +
oconst AttributeDeleteFunctor* getAttributeDeleteFunctor() const
get the current AttributeDeleteFunction to handle attribute arrays attached to this Geoset

- +

ovirtual void accept(AttributeFunctor& af)
accept an AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has

- +

ovirtual void accept(PrimitiveFunctor& pf)
accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has

- +

oGeometry* convertToGeometry()
convinience function for converting GeoSet's to equivilant Geometry nodes

- +

oGeoSet& operator = (const GeoSet&)

- +

ovirtual ~GeoSet()

- +

ovirtual const bool computeBound() const

- -

oref_ptr<AttributeDeleteFunctor> _adf + +
oref_ptr<AttributeDeleteFunctor> _adf

- +

oint _numprims

- -

oPrimitiveType _primtype + +
oPrimitiveType _primtype

- +

oint _needprimlen

- +

ounsigned int _oglprimtype

- +

oint* _primLengths

- +

omutable unsigned char _primlength

- +

ounsigned char _flat_shaded_skip

- +

omutable int _numcoords

- +

oVec3* _coords

- -

oIndexPointer _cindex + +
oIndexPointer _cindex

- -

oBindingType _normal_binding + +
oBindingType _normal_binding

- +

omutable int _numnormals

- +

oVec3* _normals

- -

oIndexPointer _nindex + +
oIndexPointer _nindex

- -

oBindingType _color_binding + +
oBindingType _color_binding

- +

omutable int _numcolors

- +

oVec4* _colors

- -

oIndexPointer _colindex + +
oIndexPointer _colindex

- -

oBindingType _texture_binding + +
oBindingType _texture_binding

- +

omutable int _numtcoords

- +

oVec2* _tcoords

- -

oIndexPointer _tindex + +
oIndexPointer _tindex

- +

ovoid* _iarray

- -

oIndexPointer _iaindex + +
oIndexPointer _iaindex

- -

oInterleaveArrayType _iaformat + +
oInterleaveArrayType _iaformat

- +

ounsigned int _ogliaformat

- +

oint _fast_path

- +

ovoid set_fast_path( void )

- +

ovoid draw_fast_path( State& state )

- +

ovoid draw_alternate_path( State& state )

diff --git a/doc/doc++/osg/Geode.html b/doc/doc++/osg/Geode.html index f10e2a08e..b1e8d259d 100644 --- a/doc/doc++/osg/Geode.html +++ b/doc/doc++/osg/Geode.html @@ -23,54 +23,54 @@

Public Methods

-[more]typedef std::vector< ref_ptr<Drawable> > DrawableList Geode() +[more]typedef std::vector< ref_ptr<Drawable> > DrawableList Geode()
-[more] Geode(const Geode&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Geode(const Geode&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_Node(osg, Geode) +[more] META_Node(osg, Geode)
-[more]virtual const bool addDrawable( Drawable* drawable ) +[more]virtual const bool addDrawable( Drawable* drawable )
Add Drawable to Geode.
-[more]virtual const bool removeDrawable( Drawable* drawable ) +[more]virtual const bool removeDrawable( Drawable* drawable )
Remove Drawable from Geode.
-[more]virtual const bool replaceDrawable( Drawable* origDraw, Drawable* newDraw ) +[more]virtual const bool replaceDrawable( Drawable* origDraw, Drawable* newDraw )
Replace specified Drawable with another Drawable.
-[more]inline const unsigned int getNumDrawables() const +[more]inline const unsigned int getNumDrawables() const
return the number of geoset's
-[more]inline Drawable* getDrawable( const unsigned int i ) +[more]inline Drawable* getDrawable( const unsigned int i )
return geoset at position i
-[more]inline const Drawable* getDrawable( const unsigned int i ) const +[more]inline const Drawable* getDrawable( const unsigned int i ) const
return geoset at position i
-[more]inline const bool containsDrawable(const Drawable* gset) const +[more]inline const bool containsDrawable(const Drawable* gset) const
return true if geoset is contained within Geode
-[more]inline DrawableList::iterator findDrawable(const Drawable* gset) +[more]inline DrawableList::iterator findDrawable(const Drawable* gset)
return the iterator position for specified Drawable.
-[more]inline DrawableList::const_iterator findDrawable(const Drawable* gset) const +[more]inline DrawableList::const_iterator findDrawable(const Drawable* gset) const
return the const_iterator position for specified Drawable.
-[more]void compileDrawables(State& state) +[more]void compileDrawables(State& state)
compile OpenGL Display List for each geoset

Protected Fields

-[more]DrawableList _drawables +[more]DrawableList _drawables

Protected Methods

-[more]virtual ~Geode() +[more]virtual ~Geode()
-[more]virtual const bool computeBound() const +[more]virtual const bool computeBound() const

@@ -82,20 +82,20 @@
- +
otypedef std::vector< ref_ptr<Drawable> > DrawableList Geode()

- -

o Geode(const Geode&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o Geode(const Geode&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy

- +

o META_Node(osg, Geode)

- +

ovirtual const bool addDrawable( Drawable* drawable )
Add Drawable to Geode. If gset is not NULL and is not contained in Geode then increment its @@ -104,7 +104,7 @@ sphere to force it to recompute on next getBound() and return true for success. Otherwise return false.

- +

ovirtual const bool removeDrawable( Drawable* drawable )
Remove Drawable from Geode. If gset is contained in Geode then remove it from the geoset @@ -114,7 +114,7 @@ return true for success. If gset is not found then return false and do not change the reference count of gset.

- +

ovirtual const bool replaceDrawable( Drawable* origDraw, Drawable* newDraw )
Replace specified Drawable with another Drawable. Decrement the reference count origGSet and increments the @@ -125,52 +125,52 @@ add newGset. If newGset is NULL then return false and do not remove origGset.

- +

oinline const unsigned int getNumDrawables() const
return the number of geoset's

- +

oinline Drawable* getDrawable( const unsigned int i )
return geoset at position i

- +

oinline const Drawable* getDrawable( const unsigned int i ) const
return geoset at position i

- +

oinline const bool containsDrawable(const Drawable* gset) const
return true if geoset is contained within Geode

- +

oinline DrawableList::iterator findDrawable(const Drawable* gset)
return the iterator position for specified Drawable. return _geoset.end() if gset not is contained in Geode.

- +

oinline DrawableList::const_iterator findDrawable(const Drawable* gset) const
return the const_iterator position for specified Drawable. return _geoset.end() if gset not is contained in Geode.

- +

ovoid compileDrawables(State& state)
compile OpenGL Display List for each geoset

- +

ovirtual ~Geode()

- +

ovirtual const bool computeBound() const

- +

oDrawableList _drawables


diff --git a/doc/doc++/osg/Geometry.html b/doc/doc++/osg/Geometry.html index 1c99f5680..51ddacec7 100644 --- a/doc/doc++/osg/Geometry.html +++ b/doc/doc++/osg/Geometry.html @@ -22,110 +22,142 @@

Public Methods

-[more] Geometry() +[more] Geometry()
-[more] Geometry(const Geometry& Geometry, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Geometry(const Geometry& geometry, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more]virtual Object* cloneType() const +[more]virtual Object* cloneType() const
-[more]virtual Object* clone(const CopyOp& copyop) const +[more]virtual Object* clone(const CopyOp& copyop) const
-[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
-[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
-[more]virtual const char* className() const +[more]virtual const char* className() const
-[more]void setVertexArray(Vec3Array* array) +[more]void setVertexArray(Vec3Array* array)
-[more]Vec3Array* getVertexArray() +[more]Vec3Array* getVertexArray()
-[more]const Vec3Array* getVertexArray() const +[more]const Vec3Array* getVertexArray() const
-[more]void setNormalBinding(AttributeBinding ab) +[more]void setNormalBinding(AttributeBinding ab)
-[more]AttributeBinding getNormalBinding() const +[more]AttributeBinding getNormalBinding() const
-[more]void setNormalArray(Vec3Array* array) +[more]void setNormalArray(Vec3Array* array)
-[more]Vec3Array* getNormalArray() +[more]Vec3Array* getNormalArray()
-[more]const Vec3Array* getNormalArray() const +[more]const Vec3Array* getNormalArray() const
-[more]void setColorBinding(AttributeBinding ab) +[more]void setColorBinding(AttributeBinding ab)
-[more]AttributeBinding getColorBinding() const +[more]AttributeBinding getColorBinding() const
-[more]void setColorArray(Array* array) +[more]void setColorArray(Array* array)
-[more]Array* getColorArray() +[more]Array* getColorArray()
-[more]const Array* getColorArray() const +[more]const Array* getColorArray() const
-[more]typedef std::vector< ref_ptr<Array> > TexCoordArrayList void setTexCoordArray(unsigned int unit, Array*) +[more]void setSecondaryColorBinding(AttributeBinding ab)
-[more]Array* getTexCoordArray(unsigned int unit) +[more]AttributeBinding getSecondaryColorBinding() const
-[more]const Array* getTexCoordArray(unsigned int unit) const +[more]void setSecondaryColorArray(Array* array)
-[more]unsigned int getNumTexCoordArrays() const +[more]Array* getSecondaryColorArray()
-[more]TexCoordArrayList& getTexCoordArrayList() +[more]const Array* getSecondaryColorArray() const
-[more]const TexCoordArrayList& getTexCoordArrayList() const +[more]void setFogCoordBinding(AttributeBinding ab)
-[more]typedef std::vector< ref_ptr<Primitive> > PrimitiveList void setPrimitiveList(const PrimitiveList& primitives) +[more]AttributeBinding getFogCoordBinding() const
-[more]PrimitiveList& getPrimitiveList() +[more]void setFogCoordArray(FloatArray* array)
-[more]const PrimitiveList& getPrimitiveList() const +[more]FloatArray* getFogCoordArray()
-[more]void addPrimitive(Primitive* primitive) +[more]const FloatArray* getFogCoordArray() const
-[more]bool verifyBindings() const +[more]typedef std::vector< ref_ptr<Array> > TexCoordArrayList void setTexCoordArray(unsigned int unit, Array*)
-[more]void computeCorrectBindingsAndArraySizes() +[more]Array* getTexCoordArray(unsigned int unit)
-[more]virtual void drawImmediateMode(State& state) +[more]const Array* getTexCoordArray(unsigned int unit) const +
+[more]unsigned int getNumTexCoordArrays() const +
+[more]TexCoordArrayList& getTexCoordArrayList() +
+[more]const TexCoordArrayList& getTexCoordArrayList() const +
+[more]typedef std::vector< ref_ptr<Primitive> > PrimitiveList void setPrimitiveList(const PrimitiveList& primitives) +
+[more]PrimitiveList& getPrimitiveList() +
+[more]const PrimitiveList& getPrimitiveList() const +
+[more]unsigned int getNumPrimitives() const +
+[more]Primitive* getPrimitive(unsigned int pos) +
+[more]const Primitive* getPrimitive(unsigned int pos) const +
+[more]void addPrimitive(Primitive* primitive) +
+[more]bool verifyBindings() const +
+[more]void computeCorrectBindingsAndArraySizes() +
+[more]virtual void drawImmediateMode(State& state)
draw Geometry directly ignoring an OpenGL display list which could be attached.
-[more]virtual void accept(AttributeFunctor& af) +[more]virtual void accept(AttributeFunctor& af)
accept an AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has
-[more]virtual void accept(PrimitiveFunctor& pf) +[more]virtual void accept(PrimitiveFunctor& pf)
accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has

Public Members

-[more]enum AttributeBinding +[more]enum AttributeBinding

Protected Fields

-[more]PrimitiveList _primitives +[more]PrimitiveList _primitives
-[more]ref_ptr<Vec3Array> _vertexArray +[more]ref_ptr<Vec3Array> _vertexArray
-[more]AttributeBinding _normalBinding +[more]AttributeBinding _normalBinding
-[more]ref_ptr<Vec3Array> _normalArray +[more]ref_ptr<Vec3Array> _normalArray
-[more]AttributeBinding _colorBinding +[more]AttributeBinding _colorBinding
-[more]ref_ptr<Array> _colorArray +[more]ref_ptr<Array> _colorArray
-[more]TexCoordArrayList _texCoordList +[more]AttributeBinding _secondaryColorBinding +
+[more]ref_ptr<Array> _secondaryColorArray +
+[more]AttributeBinding _fogCoordBinding +
+[more]ref_ptr<FloatArray> _fogCoordArray +
+[more]TexCoordArrayList _texCoordList

Protected Methods

-[more]Geometry& operator = (const Geometry&) +[more]Geometry& operator = (const Geometry&)
-[more]virtual ~Geometry() -
-[more]virtual const bool computeBound() const +[more]virtual ~Geometry()

@@ -133,9 +165,9 @@

Public Methods

-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
-oinline ParentList getParents() +oinline ParentList getParents()
oinline Node* getParent(const unsigned int i)
@@ -165,23 +197,23 @@
ovoid compile(State& state)
-ovoid setAppCallback(AppCallback* ac) +ovoid setAppCallback(AppCallback* ac)
-oAppCallback* getAppCallback() +oAppCallback* getAppCallback()
-oconst AppCallback* getAppCallback() const +oconst AppCallback* getAppCallback() const
-ovoid setCullCallback(CullCallback* cc) +ovoid setCullCallback(CullCallback* cc)
-oCullCallback* getCullCallback() +oCullCallback* getCullCallback()
-oconst CullCallback* getCullCallback() const +oconst CullCallback* getCullCallback() const
-ovoid setDrawCallback(DrawCallback* dc) +ovoid setDrawCallback(DrawCallback* dc)
-oDrawCallback* getDrawCallback() +oDrawCallback* getDrawCallback()
-oconst DrawCallback* getDrawCallback() const +oconst DrawCallback* getDrawCallback() const
ostatic void deleteDisplayList(uint contextID, uint globj)
@@ -209,7 +241,7 @@ class PrimitiveFunctor

Protected Fields

-oParentList _parents +oParentList _parents
oref_ptr<StateSet> _dstate
@@ -221,15 +253,17 @@ class PrimitiveFunctor
omutable bool _bbox_computed
-oref_ptr<AppCallback> _appCallback +oref_ptr<AppCallback> _appCallback
-oref_ptr<DrawCallback> _drawCallback +oref_ptr<DrawCallback> _drawCallback
-oref_ptr<CullCallback> _cullCallback +oref_ptr<CullCallback> _cullCallback

Protected Methods

+ovirtual const bool computeBound() const +
ovoid addParent(osg::Node* node)
ovoid removeParent(osg::Node* node) @@ -247,9 +281,9 @@ class PrimitiveFunctor

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -265,7 +299,7 @@ class PrimitiveFunctor

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -297,211 +331,275 @@ class PrimitiveFunctor
- +
o Geometry()

- -

o Geometry(const Geometry& Geometry, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o Geometry(const Geometry& geometry, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy

- +

ovirtual Object* cloneType() const

- +

ovirtual Object* clone(const CopyOp& copyop) const

- +

ovirtual bool isSameKindAs(const Object* obj) const

- +

ovirtual const char* libraryName() const

- +

ovirtual const char* className() const

- +

oenum AttributeBinding

- +
o BIND_OFF

- +

o BIND_OVERALL

- +

o BIND_PER_PRIMITIVE

- +

o BIND_PER_VERTEX

- +
ovoid setVertexArray(Vec3Array* array)

- +

oVec3Array* getVertexArray()

- +

oconst Vec3Array* getVertexArray() const

- -

ovoid setNormalBinding(AttributeBinding ab) + +
ovoid setNormalBinding(AttributeBinding ab)

- -

oAttributeBinding getNormalBinding() const + +
oAttributeBinding getNormalBinding() const

- +

ovoid setNormalArray(Vec3Array* array)

- +

oVec3Array* getNormalArray()

- +

oconst Vec3Array* getNormalArray() const

- -

ovoid setColorBinding(AttributeBinding ab) + +
ovoid setColorBinding(AttributeBinding ab)

- -

oAttributeBinding getColorBinding() const + +
oAttributeBinding getColorBinding() const

- +

ovoid setColorArray(Array* array)

- +

oArray* getColorArray()

- +

oconst Array* getColorArray() const

+ + +

ovoid setSecondaryColorBinding(AttributeBinding ab) +

+ + +

oAttributeBinding getSecondaryColorBinding() const +

+ + +

ovoid setSecondaryColorArray(Array* array) +

+ + +

oArray* getSecondaryColorArray() +

+ + +

oconst Array* getSecondaryColorArray() const +

+ + +

ovoid setFogCoordBinding(AttributeBinding ab) +

+ + +

oAttributeBinding getFogCoordBinding() const +

+ + +

ovoid setFogCoordArray(FloatArray* array) +

+ + +

oFloatArray* getFogCoordArray() +

+ + +

oconst FloatArray* getFogCoordArray() const +

- +

otypedef std::vector< ref_ptr<Array> > TexCoordArrayList void setTexCoordArray(unsigned int unit, Array*)

- +

oArray* getTexCoordArray(unsigned int unit)

- +

oconst Array* getTexCoordArray(unsigned int unit) const

- +

ounsigned int getNumTexCoordArrays() const

- +

oTexCoordArrayList& getTexCoordArrayList()

- +

oconst TexCoordArrayList& getTexCoordArrayList() const

- +

otypedef std::vector< ref_ptr<Primitive> > PrimitiveList void setPrimitiveList(const PrimitiveList& primitives)

- +

oPrimitiveList& getPrimitiveList()

- +

oconst PrimitiveList& getPrimitiveList() const

+ + +

ounsigned int getNumPrimitives() const +

+ + +

oPrimitive* getPrimitive(unsigned int pos) +

+ + +

oconst Primitive* getPrimitive(unsigned int pos) const +

- +

ovoid addPrimitive(Primitive* primitive)

- +

obool verifyBindings() const

- +

ovoid computeCorrectBindingsAndArraySizes()

- +

ovirtual void drawImmediateMode(State& state)
draw Geometry directly ignoring an OpenGL display list which could be attached. This is the internal draw method which does the drawing itself, and is the method to override when deriving from Geometry for user-drawn objects.

- +

ovirtual void accept(AttributeFunctor& af)
accept an AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has

- +

ovirtual void accept(PrimitiveFunctor& pf)
accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has

- +

oGeometry& operator = (const Geometry&)

- +

ovirtual ~Geometry()

- - -

ovirtual const bool computeBound() const -

- +

oPrimitiveList _primitives

- +

oref_ptr<Vec3Array> _vertexArray

- -

oAttributeBinding _normalBinding + +
oAttributeBinding _normalBinding

- +

oref_ptr<Vec3Array> _normalArray

- -

oAttributeBinding _colorBinding + +
oAttributeBinding _colorBinding

- +

oref_ptr<Array> _colorArray

+ + +

oAttributeBinding _secondaryColorBinding +

+ + +

oref_ptr<Array> _secondaryColorArray +

+ + +

oAttributeBinding _fogCoordBinding +

+ + +

oref_ptr<FloatArray> _fogCoordArray +

- +

oTexCoordArrayList _texCoordList

diff --git a/doc/doc++/osg/Group.html b/doc/doc++/osg/Group.html index f2b7312b3..734a71bc4 100644 --- a/doc/doc++/osg/Group.html +++ b/doc/doc++/osg/Group.html @@ -12,7 +12,7 @@

Inheritance:

- + @@ -23,53 +23,53 @@

Public Methods

-[more]typedef std::vector<ref_ptr<Node> > ChildList Group() +[more]typedef std::vector<ref_ptr<Node> > ChildList Group()
-[more] Group(const Group&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Group(const Group&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_Node(osg, Group) +[more] META_Node(osg, Group)
-[more]virtual void traverse(NodeVisitor& nv) +[more]virtual void traverse(NodeVisitor& nv)
-[more]virtual bool addChild( Node* child ) +[more]virtual bool addChild( Node* child )
Add Node to Group.
-[more]virtual bool removeChild( Node* child ) +[more]virtual bool removeChild( Node* child )
Remove Node from Group.
-[more]virtual bool replaceChild( Node* origChild, Node* newChild ) +[more]virtual bool replaceChild( Node* origChild, Node* newChild )
Replace specified Node with another Node.
-[more]inline const unsigned int getNumChildren() const +[more]inline const unsigned int getNumChildren() const
return the number of chilren nodes
-[more]inline Node* getChild( const unsigned int i ) +[more]inline Node* getChild( const unsigned int i )
return child node at position i
-[more]inline const Node* getChild( const unsigned int i ) const +[more]inline const Node* getChild( const unsigned int i ) const
return child node at position i
-[more]inline bool containsNode( const Node* node ) const +[more]inline bool containsNode( const Node* node ) const
return true if node is contained within Group
-[more]inline ChildList::iterator findNode( const Node* node ) +[more]inline ChildList::iterator findNode( const Node* node )
return the iterator position for specified Node.
-[more]inline ChildList::const_iterator findNode( const Node* node ) const +[more]inline ChildList::const_iterator findNode( const Node* node ) const
return the const_iterator position for specified Node.

Protected Fields

-[more]ChildList _children +[more]ChildList _children

Protected Methods

-[more]virtual ~Group() +[more]virtual ~Group()
-[more]virtual const bool computeBound() const +[more]virtual const bool computeBound() const

@@ -83,24 +83,24 @@ with memory management handled automatically via osg::Referenced.
- +
otypedef std::vector<ref_ptr<Node> > ChildList Group()

- -

o Group(const Group&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o Group(const Group&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy

- +

o META_Node(osg, Group)

- +

ovirtual void traverse(NodeVisitor& nv)

- +

ovirtual bool addChild( Node* child )
Add Node to Group. If node is not NULL and is not contained in Group then increment its @@ -109,7 +109,7 @@ sphere to force it to recompute on next getBound() and return true for success. Otherwise return false. Scene nodes can't be added as child nodes.

- +

ovirtual bool removeChild( Node* child )
Remove Node from Group. If Node is contained in Group then remove it from the child @@ -119,7 +119,7 @@ return true for success. If Node is not found then return false and do not change the reference count of the Node.

- +

ovirtual bool replaceChild( Node* origChild, Node* newChild )
Replace specified Node with another Node. Decrement the reference count origNode and increments the @@ -130,47 +130,47 @@ add newNode. If newNode is NULL then return false and do not remove origNode. Also returns false if newChild is a Scene node.

- +

oinline const unsigned int getNumChildren() const
return the number of chilren nodes

- +

oinline Node* getChild( const unsigned int i )
return child node at position i

- +

oinline const Node* getChild( const unsigned int i ) const
return child node at position i

- +

oinline bool containsNode( const Node* node ) const
return true if node is contained within Group

- +

oinline ChildList::iterator findNode( const Node* node )
return the iterator position for specified Node. return _children.end() if node is not contained in Group.

- +

oinline ChildList::const_iterator findNode( const Node* node ) const
return the const_iterator position for specified Node. return _children.end() if node is not contained in Group.

- +

ovirtual ~Group()

- +

ovirtual const bool computeBound() const

- +

oChildList _children


@@ -181,8 +181,8 @@ return _children.end() if node is not contained in Group. OccluderNode
LightSource
LOD
-EarthSky
ClipNode
+ClearNode

Alphabetic index HTML hierarchy of classes or Java


diff --git a/doc/doc++/osg/HIER.html b/doc/doc++/osg/HIER.html index 124133f2b..5a6755e0f 100644 --- a/doc/doc++/osg/HIER.html +++ b/doc/doc++/osg/HIER.html @@ -9,12 +9,11 @@

Hierarchy of Classes

+
  • osg::Statistics +
  • osg::TextureCubeMap::SubloadCallback +
  • osg::Texture1D::SubloadCallback +
  • osg::Texture3D::SubloadCallback +
  • osg::Texture2D::SubloadCallback +
  • osgUtx::Test +
  • osg::ShadowVolumeOccluder +
  • osgUtx::TestContext +
  • osgUtx::TestGraph +
  • osgUtx::TestRecord +
  • osgUtx::TestReport +
  • osgUtx::TestVisitor + +
  • osgUtx::TestX +
  • osg::Timer +
  • osgUtx::TestContext::TraceStream
  • osg::TriangleFunctor
  • osg::UByte4
  • osg::Vec2 diff --git a/doc/doc++/osg/HIERjava.html b/doc/doc++/osg/HIERjava.html index 3f3e67d95..9f054dbc8 100644 --- a/doc/doc++/osg/HIERjava.html +++ b/doc/doc++/osg/HIERjava.html @@ -8,13 +8,6 @@

    Hierarchy of classes

      - - - - - - - @@ -37,7 +30,7 @@ - + @@ -78,11 +71,11 @@ - - - - - + + + + + @@ -106,11 +99,11 @@ - - - - - + + + + + @@ -204,6 +197,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + alphabetic index



      diff --git a/doc/doc++/osg/Image.html b/doc/doc++/osg/Image.html index e32f5aeb8..ecb17060d 100644 --- a/doc/doc++/osg/Image.html +++ b/doc/doc++/osg/Image.html @@ -23,142 +23,152 @@

      Public Methods

      -[more] Image() +[more] Image()
      -[more] Image(const Image& image, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Image(const Image& image, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy
      -[more]virtual Object* cloneType() const +[more]virtual Object* cloneType() const
      -[more]virtual Object* clone(const CopyOp& copyop) const +[more]virtual Object* clone(const CopyOp& copyop) const
      -[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
      -[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
      -[more]virtual const char* className() const +[more]virtual const char* className() const
      -[more]void setFileName(const std::string& fileName) +[more]void setFileName(const std::string& fileName)
      -[more]inline const std::string& getFileName() const +[more]inline const std::string& getFileName() const
      -[more]void createImage(int s, int t, int r, GLenum format, GLenum type, int packing=1) +[more]void allocateImage(int s, int t, int r, GLenum format, GLenum type, int packing=1)
      -[more]void setImage(int s, int t, int r, GLint internalTextureformat, GLenum format, GLenum type, unsigned char* data, int packing=1) +[more]void setImage(int s, int t, int r, GLint internalTextureformat, GLenum format, GLenum type, unsigned char* data, int packing=1)
      set the image data and format.
      -[more]void readPixels(int x, int y, int width, int height, GLenum format, GLenum type) +[more]void readPixels(int x, int y, int width, int height, GLenum format, GLenum type)
      readPixels from screen at specified position and size, using glReadPixels.
      -[more]void scaleImage(const int s, const int t, const int r) +[more]void scaleImage(const int s, const int t, const int r)
      Scale image to specified size.
      -[more]inline const int s() const +[more]void copySubImage(int s_offset, int t_offset, int r_offset, osg::Image* source) +
      Copy a source Image into a subpart of this Image at specified position. +
      +[more]inline const int s() const
      Width of image
      -[more]inline const int t() const +[more]inline const int t() const
      Height of image
      -[more]inline const int r() const +[more]inline const int r() const
      Depth of image
      -[more]void setInternalTextureFormat(GLint internalFormat) +[more]void setInternalTextureFormat(GLint internalFormat)
      -[more]inline const GLint getInternalTextureFormat() const +[more]inline const GLint getInternalTextureFormat() const
      -[more]void setPixelFormat(const GLenum format) +[more]void setPixelFormat(const GLenum format)
      -[more]inline const GLenum getPixelFormat() const +[more]inline const GLenum getPixelFormat() const
      -[more]inline const GLenum getDataType() const +[more]inline const GLenum getDataType() const
      -[more]inline const unsigned int getPacking() const +[more]inline const unsigned int getPacking() const
      -[more]inline const unsigned int getPixelSizeInBits() const +[more]inline const unsigned int getPixelSizeInBits() const
      return the numbers of bits required for each pixel
      -[more]inline const unsigned int getRowSizeInBytes() const +[more]inline const unsigned int getRowSizeInBytes() const
      return the numbers of bytes each row of pixels occupies once it has been packed
      -[more]inline const unsigned int getImageSizeInBytes() const +[more]inline const unsigned int getImageSizeInBytes() const
      return the numbers of bytes each image (_s*_t) of pixels occupies
      -[more]inline const unsigned int getTotalSizeInBytes() const +[more]inline const unsigned int getTotalSizeInBytes() const
      return the numbers of bytes the whole row/image/volume of pixels occupies
      -[more]inline unsigned char* data() +[more]inline unsigned char* data()
      raw image data
      -[more]inline const unsigned char* data() const +[more]inline const unsigned char* data() const
      raw const image data
      -[more]unsigned char* data(int column, int row=0, int image=0) +[more]inline unsigned char* data(int column, int row=0, int image=0)
      -[more]void flipHorizontal(int image=0) +[more]inline const unsigned char* data(int column, int row=0, int image=0) const +
      +[more]void flipHorizontal(int image=0)
      Flip the image horizontally
      -[more]void flipVertical(int image=0) +[more]void flipVertical(int image=0)
      Flip the image vertically
      -[more]void ensureValidSizeForTexturing() +[more]void ensureValidSizeForTexturing()
      Ensure image dimensions are a power of two.
      -[more]inline void dirty() +[more]inline void dirty()
      Dirty the image, which increments the modified flag, to force osg::Texture to reload the image
      -[more]inline void setModifiedTag(const unsigned int value) +[more]inline void setModifiedTag(const unsigned int value)
      Set the modified tag value, only used by osg::Texture when using texture subloading.
      -[more]inline const unsigned int getModifiedTag() const +[more]inline const unsigned int getModifiedTag() const
      Get modified tag value, only used by osg::Texture when using texture subloading.
      -[more]static const bool isPackedType(GLenum type) +[more]static const bool isPackedType(GLenum type)
      -[more]static const unsigned int computeNumComponents(GLenum format) +[more]static const unsigned int computeNumComponents(GLenum format)
      -[more]static const unsigned int computePixelSizeInBits(GLenum format, GLenum type) +[more]static const unsigned int computePixelSizeInBits(GLenum format, GLenum type)
      -[more]static const unsigned int computeRowWidthInBytes(int width, GLenum format, GLenum type, int packing) +[more]static const unsigned int computeRowWidthInBytes(int width, GLenum format, GLenum type, int packing)
      -[more]typedef std::vector< unsigned int >inline MipmapDataType bool isMipmap() const +[more]static const unsigned int computeNearestPowerOfTwo(unsigned int s, float bias=0.5f)
      -[more]unsigned int getNumMipmaps() const +[more]typedef std::vector< unsigned int >inline MipmapDataType bool isMipmap() const
      -[more]inline void setMipmapData(const MipmapDataType& mipmapDataVector) +[more]unsigned int getNumMipmapLevels() const
      -[more]inline unsigned char* getMipmapData(unsigned int mipmapNumber) const +[more]inline void setMipmapData(const MipmapDataType& mipmapDataVector) +
      +[more]inline unsigned char* getMipmapData(unsigned int mipmapNumber) const +
      +[more]void computeMipMaps() +
      converts a single image into mip mapped version image

      Protected Fields

      -[more]std::string _fileName +[more]std::string _fileName
      -[more]int _s +[more]int _s
      -[more]int _t +[more]int _t
      -[more]int _r +[more]int _r
      -[more]GLint _internalTextureFormat +[more]GLint _internalTextureFormat
      -[more]GLenum _pixelFormat +[more]GLenum _pixelFormat
      -[more]GLenum _dataType +[more]GLenum _dataType
      -[more]unsigned int _packing +[more]unsigned int _packing
      -[more]unsigned char* _data +[more]unsigned char* _data
      -[more]unsigned int _modifiedTag +[more]unsigned int _modifiedTag
      -[more]MipmapDataType _mipmapData +[more]MipmapDataType _mipmapData

      Protected Methods

      -[more]virtual ~Image() +[more]virtual ~Image()
      -[more]Image& operator = (const Image&) +[more]Image& operator = (const Image&)

      @@ -166,9 +176,9 @@

      Public Methods

      -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
      -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
      oinline void setUserData(Referenced* obj)
      @@ -184,7 +194,7 @@

      Protected Fields

      -oDataVariance _dataVariance +oDataVariance _dataVariance
      oref_ptr<Referenced> _userData

      @@ -217,49 +227,49 @@
      - +
      o Image()

      - -

      o Image(const Image& image, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
      o Image(const Image& image, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy

      - +

      ovirtual Object* cloneType() const

      - +

      ovirtual Object* clone(const CopyOp& copyop) const

      - +

      ovirtual bool isSameKindAs(const Object* obj) const

      - +

      ovirtual const char* libraryName() const

      - +

      ovirtual const char* className() const

      - +

      ovoid setFileName(const std::string& fileName)

      - +

      oinline const std::string& getFileName() const

      - - -

      ovoid createImage(int s, int t, int r, GLenum format, GLenum type, int packing=1) + + +
      ovoid allocateImage(int s, int t, int r, GLenum format, GLenum type, int packing=1)

      - -

      ovoid setImage(int s, int t, int r, GLint internalTextureformat, GLenum format, GLenum type, unsigned char* data, int packing=1) + +
      ovoid setImage(int s, int t, int r, GLint internalTextureformat, GLenum format, GLenum type, unsigned char* data, int packing=1)
      set the image data and format. note, when the packing value is negative (the default is -1) this method assumes a _packing width of 1 if the width is not a multiple of 4, @@ -267,102 +277,116 @@ otherwise automatically sets to _packing to 4. If a positive value of packing is supplied than _packing is simply set to that value.

      - -

      ovoid readPixels(int x, int y, int width, int height, GLenum format, GLenum type) + +
      ovoid readPixels(int x, int y, int width, int height, GLenum format, GLenum type)
      readPixels from screen at specified position and size, using glReadPixels. Create memory for storage if required, reuse existing pixel coords if possible. if pixelFormat or dataType

      - -

      ovoid scaleImage(const int s, const int t, const int r) + +
      ovoid scaleImage(const int s, const int t, const int r)
      Scale image to specified size.

      + + +

      ovoid copySubImage(int s_offset, int t_offset, int r_offset, osg::Image* source) +
      Copy a source Image into a subpart of this Image at specified position. +Typically used to copy to an already allocated image, such as creating +a 3D image from a stack 2D images. +If the this Image is empty then image data is created to +accomodate the imaging image in its offset position. +If source is NULL then no operation happens, this Image is left unchanged. +

      - +

      oinline const int s() const
      Width of image

      - +

      oinline const int t() const
      Height of image

      - +

      oinline const int r() const
      Depth of image

      - +

      ovoid setInternalTextureFormat(GLint internalFormat)

      - +

      oinline const GLint getInternalTextureFormat() const

      - +

      ovoid setPixelFormat(const GLenum format)

      - +

      oinline const GLenum getPixelFormat() const

      - +

      oinline const GLenum getDataType() const

      - +

      oinline const unsigned int getPacking() const

      - +

      oinline const unsigned int getPixelSizeInBits() const
      return the numbers of bits required for each pixel

      - +

      oinline const unsigned int getRowSizeInBytes() const
      return the numbers of bytes each row of pixels occupies once it has been packed

      - +

      oinline const unsigned int getImageSizeInBytes() const
      return the numbers of bytes each image (_s*_t) of pixels occupies

      - +

      oinline const unsigned int getTotalSizeInBytes() const
      return the numbers of bytes the whole row/image/volume of pixels occupies

      - +

      oinline unsigned char* data()
      raw image data

      - +

      oinline const unsigned char* data() const
      raw const image data

      - -

      ounsigned char* data(int column, int row=0, int image=0) + +
      oinline unsigned char* data(int column, int row=0, int image=0) +

      + + +

      oinline const unsigned char* data(int column, int row=0, int image=0) const

      - +

      ovoid flipHorizontal(int image=0)
      Flip the image horizontally

      - +

      ovoid flipVertical(int image=0)
      Flip the image vertically

      - +

      ovoid ensureValidSizeForTexturing()
      Ensure image dimensions are a power of two. Mip Mapped texture require the image dimensions to be @@ -370,102 +394,111 @@ power of two and are within the maxiumum texture size for the host machine.

      - +

      oinline void dirty()
      Dirty the image, which increments the modified flag, to force osg::Texture to reload the image

      - +

      oinline void setModifiedTag(const unsigned int value)
      Set the modified tag value, only used by osg::Texture when using texture subloading.

      - +

      oinline const unsigned int getModifiedTag() const
      Get modified tag value, only used by osg::Texture when using texture subloading.

      - +

      ostatic const bool isPackedType(GLenum type)

      - +

      ostatic const unsigned int computeNumComponents(GLenum format)

      - +

      ostatic const unsigned int computePixelSizeInBits(GLenum format, GLenum type)

      - -

      ostatic const unsigned int computeRowWidthInBytes(int width, GLenum format, GLenum type, int packing) + +
      ostatic const unsigned int computeRowWidthInBytes(int width, GLenum format, GLenum type, int packing) +

      + + +

      ostatic const unsigned int computeNearestPowerOfTwo(unsigned int s, float bias=0.5f)

      - +

      otypedef std::vector< unsigned int >inline MipmapDataType bool isMipmap() const

      - - -

      ounsigned int getNumMipmaps() const + + +
      ounsigned int getNumMipmapLevels() const

      - +

      oinline void setMipmapData(const MipmapDataType& mipmapDataVector)

      - +

      oinline unsigned char* getMipmapData(unsigned int mipmapNumber) const

      + + +

      ovoid computeMipMaps() +
      converts a single image into mip mapped version image +

      - +

      ovirtual ~Image()

      - +

      oImage& operator = (const Image&)

      - +

      ostd::string _fileName

      - +

      oint _s

      - +

      oint _t

      - +

      oint _r

      - +

      oGLint _internalTextureFormat

      - +

      oGLenum _pixelFormat

      - +

      oGLenum _dataType

      - +

      ounsigned int _packing

      - +

      ounsigned char* _data

      - +

      ounsigned int _modifiedTag

      - +

      oMipmapDataType _mipmapData

      diff --git a/doc/doc++/osg/Impostor.html b/doc/doc++/osg/Impostor.html index e3ce4478e..a90f2b067 100644 --- a/doc/doc++/osg/Impostor.html +++ b/doc/doc++/osg/Impostor.html @@ -23,47 +23,47 @@

      Public Methods

      -[more] Impostor() +[more] Impostor()
      -[more] Impostor(const Impostor& es, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Impostor(const Impostor& es, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      -[more] META_Node(osg, Impostor) +[more] META_Node(osg, Impostor)
      -[more]inline void setImpostorThreshold(float distance) +[more]inline void setImpostorThreshold(float distance)
      Set the Impostor threshold distance.
      -[more]inline void setImpostorThresholdToBound(float ratio=1.0f) +[more]inline void setImpostorThresholdToBound(float ratio=1.0f)
      Set the Impostor threshold distance relative to the node's bounding sphere's radius
      -[more]inline const float getImpostorThreshold() const +[more]inline const float getImpostorThreshold() const
      -[more]inline const float getImpostorThreshold2() const +[more]inline const float getImpostorThreshold2() const
      -[more]ImpostorSprite* findBestImpostorSprite(const osg::Vec3& currLocalEyePoint) +[more]ImpostorSprite* findBestImpostorSprite(const osg::Vec3& currLocalEyePoint)
      Find the ImposterSprite which fits the current eye point best
      -[more]void addImpostorSprite(ImpostorSprite* is) +[more]void addImpostorSprite(ImpostorSprite* is)
      Add an ImpostorSprite to the Impostor
      -[more]inline ImpostorSpriteList& getImpostorSpriteList() +[more]inline ImpostorSpriteList& getImpostorSpriteList()
      Get the list of ImpostorSprites attached to this Impostor
      -[more]inline const ImpostorSpriteList& getImpostorSpriteList() const +[more]inline const ImpostorSpriteList& getImpostorSpriteList() const
      Get a const list of ImpostorSprites attached to this const Impostor

      Protected Fields

      -[more]ImpostorSpriteList _impostorSpriteList +[more]ImpostorSpriteList _impostorSpriteList
      -[more]float _impostorThreshold +[more]float _impostorThreshold

      Protected Methods

      -[more]virtual ~Impostor() +[more]virtual ~Impostor()
      -[more]virtual const bool computeBound() const +[more]virtual const bool computeBound() const

      @@ -79,15 +79,15 @@
      oinline const unsigned int getNumRanges() const
      -oinline void setCenter(const Vec3 &center) +oinline void setCenter(const Vec3 &center)
      oinline const Vec3& getCenter() const
      -ovoid setEvaluateLODCallback(EvaluateLODCallback* cbc) +ovoid setEvaluateLODCallback(EvaluateLODCallback* cbc)
      -oEvaluateLODCallback* getEvaluateLODCallback() +oEvaluateLODCallback* getEvaluateLODCallback()
      -oconst EvaluateLODCallback* getEvaluateLODCallback() const +oconst EvaluateLODCallback* getEvaluateLODCallback() const
      oinline const int evaluate(const Vec3& eye_local, const float bias=1.0f) const
      @@ -103,7 +103,7 @@

      Protected Fields

      oRangeList _rangeList2
      -oref_ptr<EvaluateLODCallback> _evaluateLODCallback +oref_ptr<EvaluateLODCallback> _evaluateLODCallback
      oVec3 _center

      @@ -187,72 +187,72 @@ geometry.
      - +
      o Impostor()

      - -

      o Impostor(const Impostor& es, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
      o Impostor(const Impostor& es, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

      - +

      o META_Node(osg, Impostor)

      - -

      oinline void setImpostorThreshold(float distance) + +
      oinline void setImpostorThreshold(float distance)
      Set the Impostor threshold distance. For eye points further than this threshold the Imposter is used if appropriate, otherwise the LOD children as chosen as per a standard LOD node.

      - +

      oinline void setImpostorThresholdToBound(float ratio=1.0f)
      Set the Impostor threshold distance relative to the node's bounding sphere's radius

      - +

      oinline const float getImpostorThreshold() const

      - +

      oinline const float getImpostorThreshold2() const

      - +

      oImpostorSprite* findBestImpostorSprite(const osg::Vec3& currLocalEyePoint)
      Find the ImposterSprite which fits the current eye point best

      - +

      ovoid addImpostorSprite(ImpostorSprite* is)
      Add an ImpostorSprite to the Impostor

      - +

      oinline ImpostorSpriteList& getImpostorSpriteList()
      Get the list of ImpostorSprites attached to this Impostor

      - +

      oinline const ImpostorSpriteList& getImpostorSpriteList() const
      Get a const list of ImpostorSprites attached to this const Impostor

      - +

      ovirtual ~Impostor()

      - +

      ovirtual const bool computeBound() const

      - +

      oImpostorSpriteList _impostorSpriteList

      - +

      ofloat _impostorThreshold

      diff --git a/doc/doc++/osg/ImpostorSprite.html b/doc/doc++/osg/ImpostorSprite.html index 46bad7d51..155ffcf1d 100644 --- a/doc/doc++/osg/ImpostorSprite.html +++ b/doc/doc++/osg/ImpostorSprite.html @@ -23,118 +23,118 @@

      Public Methods

      -[more] ImpostorSprite() +[more] ImpostorSprite()
      -[more]virtual Object* cloneType() const +[more]virtual Object* cloneType() const
      Clone an object of the same type as an ImpostorSprite
      -[more]virtual Object* clone(const CopyOp&) const +[more]virtual Object* clone(const CopyOp&) const
      Clone on ImpostorSprite just returns a clone of type, since it is not appropriate to share data of an ImpostorSprite
      -[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
      -[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
      -[more]virtual const char* className() const +[more]virtual const char* className() const
      -[more]void setParent(Impostor* parent) +[more]void setParent(Impostor* parent)
      Set the parent, which must be an Impostor.
      -[more]Impostor* getParent() +[more]Impostor* getParent()
      Get the parent, which is an Impostor.
      -[more]const Impostor* getParent() const +[more]const Impostor* getParent() const
      Get the const parent, which is an Impostor.
      -[more]inline void setStoredLocalEyePoint(const Vec3& v) +[more]inline void setStoredLocalEyePoint(const Vec3& v)
      Set the eye point for when the ImpsotorSprite was snapped
      -[more]inline const Vec3& getStoredLocalEyePoint() const +[more]inline const Vec3& getStoredLocalEyePoint() const
      Get the eye point for when the ImpsotorSprite was snapped
      -[more]inline void setLastFrameUsed(const int frameNumber) +[more]inline void setLastFrameUsed(const int frameNumber)
      Set the frame number for when the ImpostorSprite was last used in rendering
      -[more]inline int getLastFrameUsed() const +[more]inline int getLastFrameUsed() const
      Get the frame number for when the ImpostorSprite was last used in rendering
      -[more]inline Vec3* getCoords() +[more]inline Vec3* getCoords()
      Get the coordinates of the corners of the quad.
      -[more]inline const Vec3* getCoords() const +[more]inline const Vec3* getCoords() const
      Get the const coordinates of the corners of the quad
      -[more]inline Vec2* getTexCoords() +[more]inline Vec2* getTexCoords()
      Get the texture coordinates of the corners of the quad.
      -[more]inline const Vec2* getTexCoords() const +[more]inline const Vec2* getTexCoords() const
      Get the const texture coordinates of the corners of the quad
      -[more]inline Vec3* getControlCoords() +[more]inline Vec3* getControlCoords()
      Get the control coordinates of the corners of the quad.
      -[more]inline const Vec3* getControlCoords() const +[more]inline const Vec3* getControlCoords() const
      Get the const control coordinates of the corners of the quad
      -[more]const float calcPixelError(const Matrix& MVPW) const +[more]const float calcPixelError(const Matrix& MVPW) const
      calculate the pixel error value for passing in the ModelViewProjectionWindow transform, which transform local coords into screen space
      -[more]void setTexture(Texture* tex, int s, int t) +[more]void setTexture(Texture2D* tex, int s, int t)
      -[more]Texture* getTexture() +[more]Texture2D* getTexture()
      -[more]const Texture* getTexture() const +[more]const Texture2D* getTexture() const
      -[more]const int s() const +[more]const int s() const
      -[more]const int t() const +[more]const int t() const
      -[more]virtual void drawImmediateMode(State& state) +[more]virtual void drawImmediateMode(State& state)
      draw ImpostorSprite directly.
      -[more]virtual void accept(AttributeFunctor& af) +[more]virtual void accept(AttributeFunctor& af)
      accept an AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has
      -[more]virtual void accept(PrimitiveFunctor& pf) +[more]virtual void accept(PrimitiveFunctor& pf)
      accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has

      Protected Fields

      -[more]Impostor* _parent +[more]Impostor* _parent
      -[more]ImpostorSpriteManager* _ism +[more]ImpostorSpriteManager* _ism
      -[more]ImpostorSprite* _previous +[more]ImpostorSprite* _previous
      -[more]ImpostorSprite* _next +[more]ImpostorSprite* _next
      -[more]int _lastFrameUsed +[more]int _lastFrameUsed
      -[more]Vec3 _storedLocalEyePoint +[more]Vec3 _storedLocalEyePoint
      -[more]Vec3 _coords[4] +[more]Vec3 _coords[4]
      -[more]Vec2 _texcoords[4] +[more]Vec2 _texcoords[4]
      -[more]Vec3 _controlcoords[4] +[more]Vec3 _controlcoords[4]
      -[more]Texture* _texture +[more]Texture2D* _texture
      -[more]int _s +[more]int _s
      -[more]int _t +[more]int _t

      Protected Methods

      -[more] ImpostorSprite(const ImpostorSprite&) +[more] ImpostorSprite(const ImpostorSprite&)
      -[more]ImpostorSprite& operator = (const ImpostorSprite&) +[more]ImpostorSprite& operator = (const ImpostorSprite&)
      -[more]virtual ~ImpostorSprite() +[more]virtual ~ImpostorSprite()
      -[more]virtual const bool computeBound() const +[more]virtual const bool computeBound() const

      @@ -142,9 +142,9 @@

      Public Methods

      -oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
      -oinline ParentList getParents() +oinline ParentList getParents()
      oinline const unsigned int getNumParents() const
      @@ -170,23 +170,23 @@
      ovoid compile(State& state)
      -ovoid setAppCallback(AppCallback* ac) +ovoid setAppCallback(AppCallback* ac)
      -oAppCallback* getAppCallback() +oAppCallback* getAppCallback()
      -oconst AppCallback* getAppCallback() const +oconst AppCallback* getAppCallback() const
      -ovoid setCullCallback(CullCallback* cc) +ovoid setCullCallback(CullCallback* cc)
      -oCullCallback* getCullCallback() +oCullCallback* getCullCallback()
      -oconst CullCallback* getCullCallback() const +oconst CullCallback* getCullCallback() const
      -ovoid setDrawCallback(DrawCallback* dc) +ovoid setDrawCallback(DrawCallback* dc)
      -oDrawCallback* getDrawCallback() +oDrawCallback* getDrawCallback()
      -oconst DrawCallback* getDrawCallback() const +oconst DrawCallback* getDrawCallback() const
      ostatic void deleteDisplayList(uint contextID, uint globj)
      @@ -214,7 +214,7 @@ class PrimitiveFunctor

      Protected Fields

      -oParentList _parents +oParentList _parents
      oref_ptr<StateSet> _dstate
      @@ -226,11 +226,11 @@ class PrimitiveFunctor
      omutable bool _bbox_computed
      -oref_ptr<AppCallback> _appCallback +oref_ptr<AppCallback> _appCallback
      -oref_ptr<DrawCallback> _drawCallback +oref_ptr<DrawCallback> _drawCallback
      -oref_ptr<CullCallback> _cullCallback +oref_ptr<CullCallback> _cullCallback

      @@ -252,9 +252,9 @@ class PrimitiveFunctor

      Public Methods

      -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
      -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
      oinline void setUserData(Referenced* obj)
      @@ -270,7 +270,7 @@ class PrimitiveFunctor

      Protected Fields

      -oDataVariance _dataVariance +oDataVariance _dataVariance
      oref_ptr<Referenced> _userData

      @@ -307,93 +307,93 @@ necessary to deal with it directly.
      - +
      o ImpostorSprite()

      - +

      ovirtual Object* cloneType() const
      Clone an object of the same type as an ImpostorSprite

      - +

      ovirtual Object* clone(const CopyOp&) const
      Clone on ImpostorSprite just returns a clone of type, since it is not appropriate to share data of an ImpostorSprite

      - +

      ovirtual bool isSameKindAs(const Object* obj) const

      - +

      ovirtual const char* libraryName() const

      - +

      ovirtual const char* className() const

      - +

      ovoid setParent(Impostor* parent)
      Set the parent, which must be an Impostor. Unlike conventional Drawables, ImpostorSprite's can only ever have one parent.

      - +

      oImpostor* getParent()
      Get the parent, which is an Impostor.

      - +

      oconst Impostor* getParent() const
      Get the const parent, which is an Impostor.

      - +

      oinline void setStoredLocalEyePoint(const Vec3& v)
      Set the eye point for when the ImpsotorSprite was snapped

      - +

      oinline const Vec3& getStoredLocalEyePoint() const
      Get the eye point for when the ImpsotorSprite was snapped

      - +

      oinline void setLastFrameUsed(const int frameNumber)
      Set the frame number for when the ImpostorSprite was last used in rendering

      - +

      oinline int getLastFrameUsed() const
      Get the frame number for when the ImpostorSprite was last used in rendering

      - +

      oinline Vec3* getCoords()
      Get the coordinates of the corners of the quad. Stored in the order, [0] - top_left, [1] - bottom_left, [2] - bottom_right, [3] - top_left.

      - +

      oinline const Vec3* getCoords() const
      Get the const coordinates of the corners of the quad

      - +

      oinline Vec2* getTexCoords()
      Get the texture coordinates of the corners of the quad. Stored in the order, [0] - top_left, [1] - bottom_left, [2] - bottom_right, [3] - top_left.

      - +

      oinline const Vec2* getTexCoords() const
      Get the const texture coordinates of the corners of the quad

      - +

      oinline Vec3* getControlCoords()
      Get the control coordinates of the corners of the quad. The control coordinates are the corners of the quad projected @@ -408,113 +408,113 @@ can then be used to determine whether the impostor needs to be updated. Stored in the order, [0] - top_left, [1] - bottom_left, [2] - bottom_right, [3] - top_left.

      - +

      oinline const Vec3* getControlCoords() const
      Get the const control coordinates of the corners of the quad

      - +

      oconst float calcPixelError(const Matrix& MVPW) const
      calculate the pixel error value for passing in the ModelViewProjectionWindow transform, which transform local coords into screen space

      - -

      ovoid setTexture(Texture* tex, int s, int t) + +
      ovoid setTexture(Texture2D* tex, int s, int t)

      - -

      oTexture* getTexture() + +
      oTexture2D* getTexture()

      - -

      oconst Texture* getTexture() const + +
      oconst Texture2D* getTexture() const

      - +

      oconst int s() const

      - +

      oconst int t() const

      - +

      ovirtual void drawImmediateMode(State& state)
      draw ImpostorSprite directly.

      - +

      ovirtual void accept(AttributeFunctor& af)
      accept an AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has

      - +

      ovirtual void accept(PrimitiveFunctor& pf)
      accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has

      - -

      o ImpostorSprite(const ImpostorSprite&) + +
      o ImpostorSprite(const ImpostorSprite&)

      - +

      oImpostorSprite& operator = (const ImpostorSprite&)

      - +

      ovirtual ~ImpostorSprite()

      - +

      ovirtual const bool computeBound() const

      - +

      oImpostor* _parent

      - +

      oImpostorSpriteManager* _ism

      - +

      oImpostorSprite* _previous

      - +

      oImpostorSprite* _next

      - +

      oint _lastFrameUsed

      - +

      oVec3 _storedLocalEyePoint

      - +

      oVec3 _coords[4]

      - +

      oVec2 _texcoords[4]

      - +

      oVec3 _controlcoords[4]

      - -

      oTexture* _texture + +
      oTexture2D* _texture

      - +

      oint _s

      - +

      oint _t

      diff --git a/doc/doc++/osg/ImpostorSpriteManager.html b/doc/doc++/osg/ImpostorSpriteManager.html index 2dfa31be5..4d735b0a7 100644 --- a/doc/doc++/osg/ImpostorSpriteManager.html +++ b/doc/doc++/osg/ImpostorSpriteManager.html @@ -23,35 +23,35 @@

      Public Methods

      -[more] ImpostorSpriteManager() +[more] ImpostorSpriteManager()
      -[more]const bool empty() const +[more]const bool empty() const
      -[more]ImpostorSprite* first() +[more]ImpostorSprite* first()
      -[more]ImpostorSprite* last() +[more]ImpostorSprite* last()
      -[more]void push_back(ImpostorSprite* is) +[more]void push_back(ImpostorSprite* is)
      -[more]void remove(ImpostorSprite* is) +[more]void remove(ImpostorSprite* is)
      -[more]ImpostorSprite* createOrReuseImpostorSprite(int s, int t, int frameNumber) +[more]ImpostorSprite* createOrReuseImpostorSprite(int s, int t, int frameNumber)

      Protected Fields

      -[more]ref_ptr<TexEnv> _texenv +[more]ref_ptr<TexEnv> _texenv
      -[more]ref_ptr<AlphaFunc> _alphafunc +[more]ref_ptr<AlphaFunc> _alphafunc
      -[more]ImpostorSprite* _first +[more]ImpostorSprite* _first
      -[more]ImpostorSprite* _last +[more]ImpostorSprite* _last

      Protected Methods

      -[more] ~ImpostorSpriteManager() +[more] ~ImpostorSpriteManager()

      @@ -84,51 +84,51 @@
      - +
      o ImpostorSpriteManager()

      - +

      oconst bool empty() const

      - +

      oImpostorSprite* first()

      - +

      oImpostorSprite* last()

      - +

      ovoid push_back(ImpostorSprite* is)

      - +

      ovoid remove(ImpostorSprite* is)

      - -

      oImpostorSprite* createOrReuseImpostorSprite(int s, int t, int frameNumber) + +
      oImpostorSprite* createOrReuseImpostorSprite(int s, int t, int frameNumber)

      - +

      o ~ImpostorSpriteManager()

      - +

      oref_ptr<TexEnv> _texenv

      - +

      oref_ptr<AlphaFunc> _alphafunc

      - +

      oImpostorSprite* _first

      - +

      oImpostorSprite* _last

      diff --git a/doc/doc++/osg/LOD.html b/doc/doc++/osg/LOD.html index 8e61cdaa4..2c58d16e9 100644 --- a/doc/doc++/osg/LOD.html +++ b/doc/doc++/osg/LOD.html @@ -23,68 +23,68 @@

      Public Methods

      -[more] LOD() +[more] LOD()
      -[more] LOD(const LOD&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] LOD(const LOD&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy
      -[more] META_Node(osg, LOD) +[more] META_Node(osg, LOD)
      -[more]virtual void traverse(NodeVisitor& nv) +[more]virtual void traverse(NodeVisitor& nv)
      -[more]void setRange(const unsigned int index, const float range) +[more]void setRange(const unsigned int index, const float range)
      Sets the value of range list element index to range which is a floating point distance specified in world coordinates.
      -[more]inline const float getRange(const unsigned int index) const +[more]inline const float getRange(const unsigned int index) const
      returns the range for specified index
      -[more]inline const unsigned int getNumRanges() const +[more]inline const unsigned int getNumRanges() const
      returns the number of ranges currently set
      -[more]inline void setCenter(const Vec3 &center) +[more]inline void setCenter(const Vec3 &center)
      Sets the object-space point which defines the center of the osg::LOD.
      -[more]inline const Vec3& getCenter() const +[more]inline const Vec3& getCenter() const
      return the LOD center point.
      -[more]void setEvaluateLODCallback(EvaluateLODCallback* cbc) +[more]void setEvaluateLODCallback(EvaluateLODCallback* cbc)
      Set the EvaluateLODCallback which allows users to attach customize computation of the the selection of LOD children
      -[more]EvaluateLODCallback* getEvaluateLODCallback() +[more]EvaluateLODCallback* getEvaluateLODCallback()
      Get the non const ComputeBillboardCallback
      -[more]const EvaluateLODCallback* getEvaluateLODCallback() const +[more]const EvaluateLODCallback* getEvaluateLODCallback() const
      Get the const ComputeBillboardCallback
      -[more]inline const int evaluate(const Vec3& eye_local, const float bias=1.0f) const +[more]inline const int evaluate(const Vec3& eye_local, const float bias=1.0f) const
      return the child to traverse.
      -[more]virtual const int evaluateLODChild(const Vec3& eye_local, const float bias) const +[more]virtual const int evaluateLODChild(const Vec3& eye_local, const float bias) const

      Public Members

      -[more]struct EvaluateLODCallback: public osg::Referenced +[more]struct EvaluateLODCallback: public osg::Referenced
      Callback attached to an LOD which allows the users to customize the selection of LOD children

      Protected Fields

      -[more]RangeList _rangeList2 +[more]RangeList _rangeList2
      -[more]ref_ptr<EvaluateLODCallback> _evaluateLODCallback +[more]ref_ptr<EvaluateLODCallback> _evaluateLODCallback
      -[more]Vec3 _center +[more]Vec3 _center

      Protected Methods

      -[more]virtual ~LOD() +[more]virtual ~LOD()

      Protected Members

      -[more]typedef std::vector<float> RangeList RangeList _rangeList +[more]typedef std::vector<float> RangeList RangeList _rangeList

      @@ -142,24 +142,24 @@ during rendering.
      - +
      o LOD()

      - -

      o LOD(const LOD&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
      o LOD(const LOD&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy

      - +

      o META_Node(osg, LOD)

      - +

      ovirtual void traverse(NodeVisitor& nv)

      - +

      ovoid setRange(const unsigned int index, const float range)
      Sets the value of range list element index to range which is a floating point distance specified in world coordinates. @@ -167,82 +167,82 @@ Range list automatically expands to accommodate values beyond the current getNumRanges().

      - +

      oinline const float getRange(const unsigned int index) const
      returns the range for specified index

      - +

      oinline const unsigned int getNumRanges() const
      returns the number of ranges currently set

      - -

      oinline void setCenter(const Vec3 &center) + +
      oinline void setCenter(const Vec3 &center)
      Sets the object-space point which defines the center of the osg::LOD. center is affected by any transforms in the hierarchy above the osg::LOD.

      - +

      oinline const Vec3& getCenter() const
      return the LOD center point.

      - +

      ostruct EvaluateLODCallback: public osg::Referenced
      Callback attached to an LOD which allows the users to customize the selection of LOD children

      - +
      ovirtual const int evaluateLODChild(const osg::LOD* lod, const Vec3& eye_local, const float bias) const = 0
      Compute the child to select

      - -
      ovoid setEvaluateLODCallback(EvaluateLODCallback* cbc) + +
      ovoid setEvaluateLODCallback(EvaluateLODCallback* cbc)
      Set the EvaluateLODCallback which allows users to attach customize computation of the the selection of LOD children

      - -

      oEvaluateLODCallback* getEvaluateLODCallback() + +
      oEvaluateLODCallback* getEvaluateLODCallback()
      Get the non const ComputeBillboardCallback

      - -

      oconst EvaluateLODCallback* getEvaluateLODCallback() const + +
      oconst EvaluateLODCallback* getEvaluateLODCallback() const
      Get the const ComputeBillboardCallback

      - +

      oinline const int evaluate(const Vec3& eye_local, const float bias=1.0f) const
      return the child to traverse. Selected by the distance between the eye point in local coordinates and the LOD center, multiplied by the bias.

      - +

      ovirtual const int evaluateLODChild(const Vec3& eye_local, const float bias) const

      - +

      ovirtual ~LOD()

      - +

      otypedef std::vector<float> RangeList RangeList _rangeList

      - +

      oRangeList _rangeList2

      - -

      oref_ptr<EvaluateLODCallback> _evaluateLODCallback + +
      oref_ptr<EvaluateLODCallback> _evaluateLODCallback

      - +

      oVec3 _center


      diff --git a/doc/doc++/osg/Light.html b/doc/doc++/osg/Light.html index 0d6db2e26..0a2ddeae2 100644 --- a/doc/doc++/osg/Light.html +++ b/doc/doc++/osg/Light.html @@ -23,121 +23,121 @@

      Public Methods

      -[more] Light() +[more] Light()
      -[more] Light(const Light& light, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Light(const Light& light, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy
      -[more] META_StateAttribute(osg, Light, (Type)(LIGHT_0+_lightnum)) +[more] META_StateAttribute(osg, Light, (Type)(LIGHT_0+_lightnum))
      -[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
      -[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
      -[more]void setLightNum(const int num) +[more]void setLightNum(const int num)
      Set which OpenGL light to operate on
      -[more]const int getLightNum() const +[more]const int getLightNum() const
      Get which OpenGL light this osg::Light operates on
      -[more]inline void setAmbient( const Vec4& ambient ) +[more]inline void setAmbient( const Vec4& ambient )
      Set the ambient component of the light.
      -[more]inline const Vec4& getAmbient() const +[more]inline const Vec4& getAmbient() const
      Get the ambient component of the light.
      -[more]inline void setDiffuse( const Vec4& diffuse ) +[more]inline void setDiffuse( const Vec4& diffuse )
      Set the diffuse component of the light.
      -[more]inline const Vec4& getDiffuse() const +[more]inline const Vec4& getDiffuse() const
      Get the diffuse component of the light.
      -[more]inline void setSpecular( const Vec4& specular ) +[more]inline void setSpecular( const Vec4& specular )
      Set the specular component of the light.
      -[more]inline const Vec4& getSpecular() const +[more]inline const Vec4& getSpecular() const
      Get the specular component of the light.
      -[more]inline void setPosition( const Vec4& position ) +[more]inline void setPosition( const Vec4& position )
      Set the position of the light.
      -[more]inline const Vec4& getPosition() const +[more]inline const Vec4& getPosition() const
      Get the position of the light.
      -[more]inline void setDirection( const Vec3& direction ) +[more]inline void setDirection( const Vec3& direction )
      Set the direction of the light.
      -[more]inline const Vec3& getDirection() const +[more]inline const Vec3& getDirection() const
      Get the direction of the light.
      -[more]inline void setConstantAttenuation( const float constant_attenuation ) +[more]inline void setConstantAttenuation( const float constant_attenuation )
      Set the constant attenuation of the light.
      -[more]inline const float getConstantAttenuation() const +[more]inline const float getConstantAttenuation() const
      Get the constant attenuation of the light.
      -[more]inline void setLinearAttenuation( const float linear_attenuation ) +[more]inline void setLinearAttenuation( const float linear_attenuation )
      Set the linear attenuation of the light.
      -[more]inline const float getLinearAttenuation() const +[more]inline const float getLinearAttenuation() const
      Get the linear attenuation of the light.
      -[more]inline void setQuadraticAttenuation( const float quadratic_attenuation ) +[more]inline void setQuadraticAttenuation( const float quadratic_attenuation )
      Set the quadratic attenuation of the light.
      -[more]inline const float getQuadraticAttenuation() const +[more]inline const float getQuadraticAttenuation() const
      Get the quadratic attenuation of the light.
      -[more]inline void setSpotExponent( const float spot_exponent ) +[more]inline void setSpotExponent( const float spot_exponent )
      Set the spot exponent of the light.
      -[more]inline const float getSpotExponent() const +[more]inline const float getSpotExponent() const
      Get the spot exponent of the light.
      -[more]inline void setSpotCutoff( const float spot_cutoff ) +[more]inline void setSpotCutoff( const float spot_cutoff )
      Set the spot cutoff of the light.
      -[more]inline const float getSpotCutoff() const +[more]inline const float getSpotCutoff() const
      Get the spot cutoff of the light.
      -[more]void captureLightState() +[more]void captureLightState()
      Capture the lighting settings of the current OpenGL state and store them in this object
      -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const
      Apply the light's state to the OpenGL state machine.

      Protected Fields

      -[more]int _lightnum +[more]int _lightnum
      -[more]Vec4 _ambient +[more]Vec4 _ambient
      -[more]Vec4 _diffuse +[more]Vec4 _diffuse
      -[more]Vec4 _specular +[more]Vec4 _specular
      -[more]Vec4 _position +[more]Vec4 _position
      -[more]Vec3 _direction +[more]Vec3 _direction
      -[more]float _constant_attenuation +[more]float _constant_attenuation
      -[more]float _linear_attenuation +[more]float _linear_attenuation
      -[more]float _quadratic_attenuation +[more]float _quadratic_attenuation
      -[more]float _spot_exponent +[more]float _spot_exponent
      -[more]float _spot_cutoff +[more]float _spot_cutoff

      Protected Methods

      -[more]virtual ~Light() +[more]virtual ~Light()
      -[more]void init() +[more]void init()
      Initialize the light's settings with some decent defaults.

      @@ -156,7 +156,7 @@
      ovirtual const char* className() const
      -ovirtual const Type getType() const +ovirtual const Type getType() const
      ovirtual bool isTextureAttribute() const
      @@ -189,9 +189,9 @@

      Public Methods

      -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
      -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
      oinline void setUserData(Referenced* obj)
      @@ -207,7 +207,7 @@

      Protected Fields

      -oDataVariance _dataVariance +oDataVariance _dataVariance
      oref_ptr<Referenced> _userData

      @@ -242,200 +242,200 @@
      - +
      o Light()

      - -

      o Light(const Light& light, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
      o Light(const Light& light, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy

      - -

      o META_StateAttribute(osg, Light, (Type)(LIGHT_0+_lightnum)) + +
      o META_StateAttribute(osg, Light, (Type)(LIGHT_0+_lightnum))

      - +

      ovirtual int compare(const StateAttribute& sa) const
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

      - -

      ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const + +
      ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

      - +

      ovoid setLightNum(const int num)
      Set which OpenGL light to operate on

      - +

      oconst int getLightNum() const
      Get which OpenGL light this osg::Light operates on

      - +

      oinline void setAmbient( const Vec4& ambient )
      Set the ambient component of the light.

      - +

      oinline const Vec4& getAmbient() const
      Get the ambient component of the light.

      - +

      oinline void setDiffuse( const Vec4& diffuse )
      Set the diffuse component of the light.

      - +

      oinline const Vec4& getDiffuse() const
      Get the diffuse component of the light.

      - +

      oinline void setSpecular( const Vec4& specular )
      Set the specular component of the light.

      - +

      oinline const Vec4& getSpecular() const
      Get the specular component of the light.

      - +

      oinline void setPosition( const Vec4& position )
      Set the position of the light.

      - +

      oinline const Vec4& getPosition() const
      Get the position of the light.

      - +

      oinline void setDirection( const Vec3& direction )
      Set the direction of the light.

      - +

      oinline const Vec3& getDirection() const
      Get the direction of the light.

      - +

      oinline void setConstantAttenuation( const float constant_attenuation )
      Set the constant attenuation of the light.

      - +

      oinline const float getConstantAttenuation() const
      Get the constant attenuation of the light.

      - +

      oinline void setLinearAttenuation( const float linear_attenuation )
      Set the linear attenuation of the light.

      - +

      oinline const float getLinearAttenuation() const
      Get the linear attenuation of the light.

      - +

      oinline void setQuadraticAttenuation( const float quadratic_attenuation )
      Set the quadratic attenuation of the light.

      - +

      oinline const float getQuadraticAttenuation() const
      Get the quadratic attenuation of the light.

      - +

      oinline void setSpotExponent( const float spot_exponent )
      Set the spot exponent of the light.

      - +

      oinline const float getSpotExponent() const
      Get the spot exponent of the light.

      - +

      oinline void setSpotCutoff( const float spot_cutoff )
      Set the spot cutoff of the light.

      - +

      oinline const float getSpotCutoff() const
      Get the spot cutoff of the light.

      - +

      ovoid captureLightState()
      Capture the lighting settings of the current OpenGL state and store them in this object

      - +

      ovirtual void apply(State& state) const
      Apply the light's state to the OpenGL state machine.

      - +

      ovirtual ~Light()

      - +

      ovoid init()
      Initialize the light's settings with some decent defaults.

      - +

      oint _lightnum

      - +

      oVec4 _ambient

      - +

      oVec4 _diffuse

      - +

      oVec4 _specular

      - +

      oVec4 _position

      - +

      oVec3 _direction

      - +

      ofloat _constant_attenuation

      - +

      ofloat _linear_attenuation

      - +

      ofloat _quadratic_attenuation

      - +

      ofloat _spot_exponent

      - +

      ofloat _spot_cutoff

      diff --git a/doc/doc++/osg/LightModel.html b/doc/doc++/osg/LightModel.html index 5f10a447d..7573dc0af 100644 --- a/doc/doc++/osg/LightModel.html +++ b/doc/doc++/osg/LightModel.html @@ -22,54 +22,54 @@

      Public Methods

      -[more] LightModel() +[more] LightModel()
      -[more] LightModel(const LightModel& lw, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] LightModel(const LightModel& lw, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy
      -[more] META_StateAttribute(osg, LightModel, LIGHTMODEL) +[more] META_StateAttribute(osg, LightModel, LIGHTMODEL)
      -[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
      -[more]void setAmbientIntensity(const osg::Vec4& ambient) +[more]void setAmbientIntensity(const osg::Vec4& ambient)
      -[more]const osg::Vec4& getAmbientIntensity() const +[more]const osg::Vec4& getAmbientIntensity() const
      -[more]void setColorControl(const ColorControl cc) +[more]void setColorControl(const ColorControl cc)
      -[more]inline const ColorControl getColorControl() const +[more]inline const ColorControl getColorControl() const
      -[more]void setLocalViewer(const bool localViewer) +[more]void setLocalViewer(const bool localViewer)
      -[more]inline const bool getLocalViewer() const +[more]inline const bool getLocalViewer() const
      -[more]void setTwoSided(const bool twoSided) +[more]void setTwoSided(const bool twoSided)
      -[more]inline const bool getTwoSided() const +[more]inline const bool getTwoSided() const
      -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

      Public Members

      -[more]enum ColorControl +[more]enum ColorControl

      Protected Fields

      -[more]osg::Vec4 _ambient +[more]osg::Vec4 _ambient
      -[more]ColorControl _colorControl +[more]ColorControl _colorControl
      -[more]bool _localViewer +[more]bool _localViewer
      -[more]bool _twoSided +[more]bool _twoSided

      Protected Methods

      -[more]virtual ~LightModel() +[more]virtual ~LightModel()

      @@ -87,7 +87,7 @@
      ovirtual const char* className() const
      -ovirtual const Type getType() const +ovirtual const Type getType() const
      ovirtual bool isTextureAttribute() const
      @@ -97,7 +97,7 @@
      obool operator != (const StateAttribute& rhs) const
      -ovirtual void getAssociatedModes(std::vector<GLMode>& ) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
      ovirtual void compile(State&) const

      @@ -122,9 +122,9 @@

      Public Methods

      -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
      -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
      oinline void setUserData(Referenced* obj)
      @@ -140,7 +140,7 @@

      Protected Fields

      -oDataVariance _dataVariance +oDataVariance _dataVariance
      oref_ptr<Referenced> _userData

      @@ -174,91 +174,91 @@
      - +
      o LightModel()

      - -

      o LightModel(const LightModel& lw, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
      o LightModel(const LightModel& lw, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy

      - -

      o META_StateAttribute(osg, LightModel, LIGHTMODEL) + +
      o META_StateAttribute(osg, LightModel, LIGHTMODEL)

      - +

      ovirtual int compare(const StateAttribute& sa) const
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

      - +

      ovoid setAmbientIntensity(const osg::Vec4& ambient)

      - +

      oconst osg::Vec4& getAmbientIntensity() const

      - +

      oenum ColorControl

      - - -
      o SEPERATE_SPECULAR_COLOR + + +
      o SEPARATE_SPECULAR_COLOR

      - +

      o SINGLE_COLOR

      - -
      ovoid setColorControl(const ColorControl cc) + +
      ovoid setColorControl(const ColorControl cc)

      - -

      oinline const ColorControl getColorControl() const + +
      oinline const ColorControl getColorControl() const

      - +

      ovoid setLocalViewer(const bool localViewer)

      - +

      oinline const bool getLocalViewer() const

      - +

      ovoid setTwoSided(const bool twoSided)

      - +

      oinline const bool getTwoSided() const

      - +

      ovirtual void apply(State& state) const

      - +

      ovirtual ~LightModel()

      - +

      oosg::Vec4 _ambient

      - -

      oColorControl _colorControl + +
      oColorControl _colorControl

      - +

      obool _localViewer

      - +

      obool _twoSided

      diff --git a/doc/doc++/osg/LightSource.html b/doc/doc++/osg/LightSource.html index b5a0f0a39..ac6586a6b 100644 --- a/doc/doc++/osg/LightSource.html +++ b/doc/doc++/osg/LightSource.html @@ -23,40 +23,40 @@

      Public Methods

      -[more] LightSource() +[more] LightSource()
      -[more] LightSource(const LightSource& ls, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] LightSource(const LightSource& ls, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      -[more] META_Node(osg, LightSource) +[more] META_Node(osg, LightSource)
      -[more]void setLight(StateAttribute* light) +[more]void setLight(StateAttribute* light)
      Set the attached light
      -[more]inline StateAttribute* getLight() +[more]inline StateAttribute* getLight()
      Get the attached light
      -[more]inline const StateAttribute* getLight() const +[more]inline const StateAttribute* getLight() const
      Get the const attached light
      -[more]void setStateSetModes(StateSet&, const StateAttribute::GLModeValue) const +[more]void setStateSetModes(StateSet&, const StateAttribute::GLModeValue) const
      Set the GLModes on StateSet associated with the LightSource
      -[more]void setLocalStateSetModes(const StateAttribute::GLModeValue=StateAttribute::ON) +[more]void setLocalStateSetModes(const StateAttribute::GLModeValue=StateAttribute::ON)
      Set up the local StateSet

      Protected Fields

      -[more]StateAttribute::GLModeValue _value +[more]StateAttribute::GLModeValue _value
      -[more]ref_ptr<StateAttribute> _light +[more]ref_ptr<StateAttribute> _light

      Protected Methods

      -[more]virtual ~LightSource() +[more]virtual ~LightSource()
      -[more]virtual const bool computeBound() const +[more]virtual const bool computeBound() const

      @@ -99,56 +99,56 @@
      - +
      o LightSource()

      - -

      o LightSource(const LightSource& ls, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
      o LightSource(const LightSource& ls, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

      - +

      o META_Node(osg, LightSource)

      - +

      ovoid setLight(StateAttribute* light)
      Set the attached light

      - +

      oinline StateAttribute* getLight()
      Get the attached light

      - +

      oinline const StateAttribute* getLight() const
      Get the const attached light

      - +

      ovoid setStateSetModes(StateSet&, const StateAttribute::GLModeValue) const
      Set the GLModes on StateSet associated with the LightSource

      - +

      ovoid setLocalStateSetModes(const StateAttribute::GLModeValue=StateAttribute::ON)
      Set up the local StateSet

      - +

      ovirtual ~LightSource()

      - +

      ovirtual const bool computeBound() const

      - +

      oStateAttribute::GLModeValue _value

      - +

      oref_ptr<StateAttribute> _light

      diff --git a/doc/doc++/osg/LineSegment.html b/doc/doc++/osg/LineSegment.html index 49aa9f0c2..39b52f520 100644 --- a/doc/doc++/osg/LineSegment.html +++ b/doc/doc++/osg/LineSegment.html @@ -23,60 +23,60 @@

      Public Methods

      -[more] LineSegment() +[more] LineSegment()
      -[more] LineSegment(const LineSegment& seg) +[more] LineSegment(const LineSegment& seg)
      -[more] LineSegment(const Vec3& s, const Vec3& e) +[more] LineSegment(const Vec3& s, const Vec3& e)
      -[more]LineSegment& operator = (const LineSegment& seg) +[more]LineSegment& operator = (const LineSegment& seg)
      -[more]inline void set(const Vec3& s, const Vec3& e) +[more]inline void set(const Vec3& s, const Vec3& e)
      -[more]inline Vec3& start() +[more]inline Vec3& start()
      -[more]inline const Vec3& start() const +[more]inline const Vec3& start() const
      -[more]inline Vec3& end() +[more]inline Vec3& end()
      -[more]inline const Vec3& end() const +[more]inline const Vec3& end() const
      -[more]inline const bool valid() const +[more]inline const bool valid() const
      -[more]const bool intersect(const BoundingBox& bb) const +[more]const bool intersect(const BoundingBox& bb) const
      return true if segment intersects BoundingBox
      -[more]const bool intersect(const BoundingBox& bb, float& r1, float& r2) const +[more]const bool intersect(const BoundingBox& bb, float& r1, float& r2) const
      return true if segment intersects BoundingBox and return the intersection ratio's
      -[more]const bool intersect(const BoundingSphere& bs) const +[more]const bool intersect(const BoundingSphere& bs) const
      return true if segment intersects BoundingSphere
      -[more]const bool intersect(const BoundingSphere& bs, float& r1, float& r2) const +[more]const bool intersect(const BoundingSphere& bs, float& r1, float& r2) const
      return true if segment intersects BoundingSphere and return the intersection ratio's
      -[more]const bool intersect(const Vec3& v1, const Vec3& v2, const Vec3& v3, float& r) +[more]const bool intersect(const Vec3& v1, const Vec3& v2, const Vec3& v3, float& r)
      return true if segment intersects triangle and set ratio long segment.
      -[more]inline void mult(const LineSegment& seg, const Matrix& m) +[more]inline void mult(const LineSegment& seg, const Matrix& m)
      post multiply a segment by matrix
      -[more]inline void mult(const Matrix& m, const LineSegment& seg) +[more]inline void mult(const Matrix& m, const LineSegment& seg)
      pre multiply a segment by matrix

      Protected Fields

      -[more]Vec3 _s +[more]Vec3 _s
      -[more]Vec3 _e +[more]Vec3 _e

      Protected Methods

      -[more]virtual ~LineSegment() +[more]virtual ~LineSegment()
      -[more]static const bool intersectAndClip(Vec3& s, Vec3& e, const BoundingBox& bb) +[more]static const bool intersectAndClip(Vec3& s, Vec3& e, const BoundingBox& bb)

      @@ -107,94 +107,94 @@
      - +
      o LineSegment()

      - -

      o LineSegment(const LineSegment& seg) + +
      o LineSegment(const LineSegment& seg)

      - -

      o LineSegment(const Vec3& s, const Vec3& e) + +
      o LineSegment(const Vec3& s, const Vec3& e)

      - +

      oLineSegment& operator = (const LineSegment& seg)

      - -

      oinline void set(const Vec3& s, const Vec3& e) + +
      oinline void set(const Vec3& s, const Vec3& e)

      - +

      oinline Vec3& start()

      - +

      oinline const Vec3& start() const

      - +

      oinline Vec3& end()

      - +

      oinline const Vec3& end() const

      - +

      oinline const bool valid() const

      - +

      oconst bool intersect(const BoundingBox& bb) const
      return true if segment intersects BoundingBox

      - +

      oconst bool intersect(const BoundingBox& bb, float& r1, float& r2) const
      return true if segment intersects BoundingBox and return the intersection ratio's

      - +

      oconst bool intersect(const BoundingSphere& bs) const
      return true if segment intersects BoundingSphere

      - +

      oconst bool intersect(const BoundingSphere& bs, float& r1, float& r2) const
      return true if segment intersects BoundingSphere and return the intersection ratio's

      - -

      oconst bool intersect(const Vec3& v1, const Vec3& v2, const Vec3& v3, float& r) + +
      oconst bool intersect(const Vec3& v1, const Vec3& v2, const Vec3& v3, float& r)
      return true if segment intersects triangle and set ratio long segment.

      - +

      oinline void mult(const LineSegment& seg, const Matrix& m)
      post multiply a segment by matrix

      - +

      oinline void mult(const Matrix& m, const LineSegment& seg)
      pre multiply a segment by matrix

      - +

      ovirtual ~LineSegment()

      - -

      ostatic const bool intersectAndClip(Vec3& s, Vec3& e, const BoundingBox& bb) + +
      ostatic const bool intersectAndClip(Vec3& s, Vec3& e, const BoundingBox& bb)

      - +

      oVec3 _s

      - +

      oVec3 _e

      diff --git a/doc/doc++/osg/LineStipple.html b/doc/doc++/osg/LineStipple.html index 4ac7417b5..c022e78a1 100644 --- a/doc/doc++/osg/LineStipple.html +++ b/doc/doc++/osg/LineStipple.html @@ -22,39 +22,39 @@

      Public Methods

      -[more] LineStipple() +[more] LineStipple()
      -[more] LineStipple(const LineStipple& lw, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] LineStipple(const LineStipple& lw, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy
      -[more] META_StateAttribute(osg, LineStipple, LINESTIPPLE) +[more] META_StateAttribute(osg, LineStipple, LINESTIPPLE)
      -[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
      -[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
      -[more]void setFactor(const int factor) +[more]void setFactor(const int factor)
      -[more]inline const int getFactor() const +[more]inline const int getFactor() const
      -[more]void setPattern(const unsigned short pattern) +[more]void setPattern(const unsigned short pattern)
      -[more]inline const unsigned short getPattern() const +[more]inline const unsigned short getPattern() const
      -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

      Protected Fields

      -[more]int _factor +[more]int _factor
      -[more]unsigned short _pattern +[more]unsigned short _pattern

      Protected Methods

      -[more]virtual ~LineStipple() +[more]virtual ~LineStipple()

      @@ -72,7 +72,7 @@
      ovirtual const char* className() const
      -ovirtual const Type getType() const +ovirtual const Type getType() const
      ovirtual bool isTextureAttribute() const
      @@ -105,9 +105,9 @@

      Public Methods

      -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
      -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
      oinline void setUserData(Referenced* obj)
      @@ -123,7 +123,7 @@

      Protected Fields

      -oDataVariance _dataVariance +oDataVariance _dataVariance
      oref_ptr<Referenced> _userData

      @@ -157,57 +157,57 @@
      - +
      o LineStipple()

      - -

      o LineStipple(const LineStipple& lw, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
      o LineStipple(const LineStipple& lw, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy

      - -

      o META_StateAttribute(osg, LineStipple, LINESTIPPLE) + +
      o META_StateAttribute(osg, LineStipple, LINESTIPPLE)

      - +

      ovirtual int compare(const StateAttribute& sa) const
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

      - -

      ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const + +
      ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

      - +

      ovoid setFactor(const int factor)

      - +

      oinline const int getFactor() const

      - +

      ovoid setPattern(const unsigned short pattern)

      - +

      oinline const unsigned short getPattern() const

      - +

      ovirtual void apply(State& state) const

      - +

      ovirtual ~LineStipple()

      - +

      oint _factor

      - +

      ounsigned short _pattern

      diff --git a/doc/doc++/osg/LineWidth.html b/doc/doc++/osg/LineWidth.html index d241a398b..ebfad26d5 100644 --- a/doc/doc++/osg/LineWidth.html +++ b/doc/doc++/osg/LineWidth.html @@ -23,31 +23,31 @@

      Public Methods

      -[more] LineWidth() +[more] LineWidth()
      -[more] LineWidth(const LineWidth& lw, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] LineWidth(const LineWidth& lw, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy
      -[more] META_StateAttribute(osg, LineWidth, LINEWIDTH) +[more] META_StateAttribute(osg, LineWidth, LINEWIDTH)
      -[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
      -[more]void setWidth(const float width) +[more]void setWidth(const float width)
      -[more]inline const float getWidth() const +[more]inline const float getWidth() const
      -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

      Protected Fields

      -[more]float _width +[more]float _width

      Protected Methods

      -[more]virtual ~LineWidth() +[more]virtual ~LineWidth()

      @@ -65,7 +65,7 @@
      ovirtual const char* className() const
      -ovirtual const Type getType() const +ovirtual const Type getType() const
      ovirtual bool isTextureAttribute() const
      @@ -75,7 +75,7 @@
      obool operator != (const StateAttribute& rhs) const
      -ovirtual void getAssociatedModes(std::vector<GLMode>& ) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
      ovirtual void compile(State&) const

      @@ -100,9 +100,9 @@

      Public Methods

      -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
      -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
      oinline void setUserData(Referenced* obj)
      @@ -118,7 +118,7 @@

      Protected Fields

      -oDataVariance _dataVariance +oDataVariance _dataVariance
      oref_ptr<Referenced> _userData

      @@ -153,41 +153,41 @@
      - +
      o LineWidth()

      - -

      o LineWidth(const LineWidth& lw, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
      o LineWidth(const LineWidth& lw, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy

      - -

      o META_StateAttribute(osg, LineWidth, LINEWIDTH) + +
      o META_StateAttribute(osg, LineWidth, LINEWIDTH)

      - +

      ovirtual int compare(const StateAttribute& sa) const
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

      - -

      ovoid setWidth(const float width) + +
      ovoid setWidth(const float width)

      - +

      oinline const float getWidth() const

      - +

      ovirtual void apply(State& state) const

      - +

      ovirtual ~LineWidth()

      - +

      ofloat _width

      diff --git a/doc/doc++/osg/META_Object.html b/doc/doc++/osg/META_Object.html index 39b69c175..e187eaba8 100644 --- a/doc/doc++/osg/META_Object.html +++ b/doc/doc++/osg/META_Object.html @@ -7,7 +7,7 @@ -

      #define osg::META_Object

      (library, name)

      META_Object macro define the standard clone, isSameKindAs and className methods.
      +

      #define osg::META_Object

      (library, name)

      META_Object macro define the standard clone, isSameKindAs and className methods.

      diff --git a/doc/doc++/osg/META_StateAttribute.html b/doc/doc++/osg/META_StateAttribute.html index a31505f73..75b0dd3e5 100644 --- a/doc/doc++/osg/META_StateAttribute.html +++ b/doc/doc++/osg/META_StateAttribute.html @@ -7,7 +7,7 @@ -

      #define osg::META_StateAttribute

      (library, name, type)

      META_StateAttribute macro define the standard clone, isSameKindAs, className and getType methods.
      +

      #define osg::META_StateAttribute

      (library, name, type)

      META_StateAttribute macro define the standard clone, isSameKindAs, className and getType methods.

      diff --git a/doc/doc++/osg/Material.html b/doc/doc++/osg/Material.html index c16083692..201d4ff6c 100644 --- a/doc/doc++/osg/Material.html +++ b/doc/doc++/osg/Material.html @@ -23,115 +23,115 @@

      Public Methods

      -[more] Material() +[more] Material()
      -[more] Material(const Material& mat, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Material(const Material& mat, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy
      -[more] META_StateAttribute(osg, Material, MATERIAL) +[more] META_StateAttribute(osg, Material, MATERIAL)
      -[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
      -[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
      -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const
      -[more]inline void setColorMode(const ColorMode mode) +[more]inline void setColorMode(const ColorMode mode)
      -[more]inline const ColorMode getColorMode() const +[more]inline const ColorMode getColorMode() const
      -[more]void setAmbient( const Face face, const Vec4& ambient ) +[more]void setAmbient( const Face face, const Vec4& ambient )
      -[more]const Vec4& getAmbient(const Face face) const +[more]const Vec4& getAmbient(const Face face) const
      -[more]inline const bool getAmbientFrontAndBack() const +[more]inline const bool getAmbientFrontAndBack() const
      -[more]void setDiffuse( const Face face, const Vec4& diffuse ) +[more]void setDiffuse( const Face face, const Vec4& diffuse )
      -[more]const Vec4& getDiffuse(const Face face) const +[more]const Vec4& getDiffuse(const Face face) const
      -[more]inline const bool getDiffuseFrontAndBack() const +[more]inline const bool getDiffuseFrontAndBack() const
      -[more]void setSpecular( const Face face, const Vec4& specular ) +[more]void setSpecular( const Face face, const Vec4& specular )
      Set specular value of specified face(s) of the material, valid specular[03] range is 00 to 10
      -[more]const Vec4& getSpecular(const Face face) const +[more]const Vec4& getSpecular(const Face face) const
      Get the specular value for specified face
      -[more]inline const bool getSpecularFrontAndBack() const +[more]inline const bool getSpecularFrontAndBack() const
      Get the whether specular values are equal for front and back faces
      -[more]void setEmission( const Face face, const Vec4& emission ) +[more]void setEmission( const Face face, const Vec4& emission )
      Set emission value of specified face(s) of the material, valid emmison[03] range is 00 to 10
      -[more]const Vec4& getEmission(const Face face) const +[more]const Vec4& getEmission(const Face face) const
      Get the emmsion value for specified face
      -[more]inline const bool getEmissionFrontAndBack() const +[more]inline const bool getEmissionFrontAndBack() const
      Get the whether emission values are equal for front and back faces
      -[more]void setShininess( const Face face, float shininess ) +[more]void setShininess( const Face face, float shininess )
      Set shininess of specified face(s) of the material, valid shininess range is 00 to 1280
      -[more]const float getShininess(const Face face) const +[more]const float getShininess(const Face face) const
      Get the shininess value for specified face
      -[more]inline const bool getShininessFrontAndBack() const +[more]inline const bool getShininessFrontAndBack() const
      Get the whether shininess values are equal for front and back faces
      -[more]void setTransparency(const Face face, float trans) +[more]void setTransparency(const Face face, float trans)
      Set the alpha value of ambient,diffuse,specular and emission colors, of specified face, to 1-transparency.
      -[more]void setAlpha(const Face face, float alpha) +[more]void setAlpha(const Face face, float alpha)
      Set the alpha value of ambient,diffuse,specular and emission colors.

      Public Members

      -[more]enum Face +[more]enum Face
      -[more]enum ColorMode +[more]enum ColorMode

      Protected Fields

      -[more]ColorMode _colorMode +[more]ColorMode _colorMode
      -[more]bool _ambientFrontAndBack +[more]bool _ambientFrontAndBack
      -[more]Vec4 _ambientFront +[more]Vec4 _ambientFront
      -[more]Vec4 _ambientBack +[more]Vec4 _ambientBack
      -[more]bool _diffuseFrontAndBack +[more]bool _diffuseFrontAndBack
      -[more]Vec4 _diffuseFront +[more]Vec4 _diffuseFront
      -[more]Vec4 _diffuseBack +[more]Vec4 _diffuseBack
      -[more]bool _specularFrontAndBack +[more]bool _specularFrontAndBack
      -[more]Vec4 _specularFront +[more]Vec4 _specularFront
      -[more]Vec4 _specularBack +[more]Vec4 _specularBack
      -[more]bool _emissionFrontAndBack +[more]bool _emissionFrontAndBack
      -[more]Vec4 _emissionFront +[more]Vec4 _emissionFront
      -[more]Vec4 _emissionBack +[more]Vec4 _emissionBack
      -[more]bool _shininessFrontAndBack +[more]bool _shininessFrontAndBack
      -[more]float _shininessFront +[more]float _shininessFront
      -[more]float _shininessBack +[more]float _shininessBack

      Protected Methods

      -[more]virtual ~Material() +[more]virtual ~Material()

      @@ -149,7 +149,7 @@
      ovirtual const char* className() const
      -ovirtual const Type getType() const +ovirtual const Type getType() const
      ovirtual bool isTextureAttribute() const
      @@ -182,9 +182,9 @@

      Public Methods

      -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
      -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
      oinline void setUserData(Referenced* obj)
      @@ -200,7 +200,7 @@

      Protected Fields

      -oDataVariance _dataVariance +oDataVariance _dataVariance
      oref_ptr<Referenced> _userData

      @@ -235,236 +235,236 @@
      - +
      o Material()

      - -

      o Material(const Material& mat, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
      o Material(const Material& mat, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy

      - -

      o META_StateAttribute(osg, Material, MATERIAL) + +
      o META_StateAttribute(osg, Material, MATERIAL)

      - +

      ovirtual int compare(const StateAttribute& sa) const
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

      - -

      ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const + +
      ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

      - +

      ovirtual void apply(State& state) const

      - +

      oenum Face

      - +
      o FRONT

      - +

      o BACK

      - +

      o FRONT_AND_BACK

      - +
      oenum ColorMode

      - +
      o AMBIENT

      - +

      o DIFFUSE

      - +

      o SPECULAR

      - +

      o EMISSION

      - +

      o AMBIENT_AND_DIFFUSE

      - +

      o OFF

      - -
      oinline void setColorMode(const ColorMode mode) + +
      oinline void setColorMode(const ColorMode mode)

      - -

      oinline const ColorMode getColorMode() const + +
      oinline const ColorMode getColorMode() const

      - -

      ovoid setAmbient( const Face face, const Vec4& ambient ) + +
      ovoid setAmbient( const Face face, const Vec4& ambient )

      - -

      oconst Vec4& getAmbient(const Face face) const + +
      oconst Vec4& getAmbient(const Face face) const

      - +

      oinline const bool getAmbientFrontAndBack() const

      - -

      ovoid setDiffuse( const Face face, const Vec4& diffuse ) + +
      ovoid setDiffuse( const Face face, const Vec4& diffuse )

      - -

      oconst Vec4& getDiffuse(const Face face) const + +
      oconst Vec4& getDiffuse(const Face face) const

      - +

      oinline const bool getDiffuseFrontAndBack() const

      - -

      ovoid setSpecular( const Face face, const Vec4& specular ) + +
      ovoid setSpecular( const Face face, const Vec4& specular )
      Set specular value of specified face(s) of the material, valid specular[03] range is 00 to 10

      - -

      oconst Vec4& getSpecular(const Face face) const + +
      oconst Vec4& getSpecular(const Face face) const
      Get the specular value for specified face

      - +

      oinline const bool getSpecularFrontAndBack() const
      Get the whether specular values are equal for front and back faces

      - -

      ovoid setEmission( const Face face, const Vec4& emission ) + +
      ovoid setEmission( const Face face, const Vec4& emission )
      Set emission value of specified face(s) of the material, valid emmison[03] range is 00 to 10

      - -

      oconst Vec4& getEmission(const Face face) const + +
      oconst Vec4& getEmission(const Face face) const
      Get the emmsion value for specified face

      - +

      oinline const bool getEmissionFrontAndBack() const
      Get the whether emission values are equal for front and back faces

      - -

      ovoid setShininess( const Face face, float shininess ) + +
      ovoid setShininess( const Face face, float shininess )
      Set shininess of specified face(s) of the material, valid shininess range is 00 to 1280

      - -

      oconst float getShininess(const Face face) const + +
      oconst float getShininess(const Face face) const
      Get the shininess value for specified face

      - +

      oinline const bool getShininessFrontAndBack() const
      Get the whether shininess values are equal for front and back faces

      - -

      ovoid setTransparency(const Face face, float trans) + +
      ovoid setTransparency(const Face face, float trans)
      Set the alpha value of ambient,diffuse,specular and emission colors, of specified face, to 1-transparency. Valid transparency range is 0.0 to 1.0.

      - -

      ovoid setAlpha(const Face face, float alpha) + +
      ovoid setAlpha(const Face face, float alpha)
      Set the alpha value of ambient,diffuse,specular and emission colors. Valid transparency range is 0.0 to 1.0.

      - +

      ovirtual ~Material()

      - -

      oColorMode _colorMode + +
      oColorMode _colorMode

      - +

      obool _ambientFrontAndBack

      - +

      oVec4 _ambientFront

      - +

      oVec4 _ambientBack

      - +

      obool _diffuseFrontAndBack

      - +

      oVec4 _diffuseFront

      - +

      oVec4 _diffuseBack

      - +

      obool _specularFrontAndBack

      - +

      oVec4 _specularFront

      - +

      oVec4 _specularBack

      - +

      obool _emissionFrontAndBack

      - +

      oVec4 _emissionFront

      - +

      oVec4 _emissionBack

      - +

      obool _shininessFrontAndBack

      - +

      ofloat _shininessFront

      - +

      ofloat _shininessBack

      diff --git a/doc/doc++/osg/Matrix.html b/doc/doc++/osg/Matrix.html index 6f9d65665..de67e1060 100644 --- a/doc/doc++/osg/Matrix.html +++ b/doc/doc++/osg/Matrix.html @@ -22,201 +22,199 @@

      Public Methods

      -[more] Matrix() +[more] Matrix()
      -[more] Matrix( const Matrix& other) +[more] Matrix( const Matrix& other)
      -[more]explicit Matrix( float const* const def ) +[more]explicit Matrix( float const* const def )
      -[more] Matrix( float a00, float a01, float a02, float a03, float a10, float a11, float a12, float a13, float a20, float a21, float a22, float a23, float a30, float a31, float a32, float a33) +[more] Matrix( float a00, float a01, float a02, float a03, float a10, float a11, float a12, float a13, float a20, float a21, float a22, float a23, float a30, float a31, float a32, float a33)
      -[more]virtual Object* cloneType() const +[more]virtual Object* cloneType() const
      -[more]virtual Object* clone(const CopyOp&) const +[more]virtual Object* clone(const CopyOp&) const
      -[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
      -[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
      -[more]virtual const char* className() const +[more]virtual const char* className() const
      -[more]virtual ~Matrix() +[more]virtual ~Matrix()
      -[more]int compare(const Matrix& m) const +[more]int compare(const Matrix& m) const
      -[more]bool operator < (const Matrix& m) const +[more]bool operator < (const Matrix& m) const
      -[more]bool operator == (const Matrix& m) const +[more]bool operator == (const Matrix& m) const
      -[more]bool operator != (const Matrix& m) const +[more]bool operator != (const Matrix& m) const
      -[more]inline float& operator()(int row, int col) +[more]inline float& operator()(int row, int col)
      -[more]inline float operator()(int row, int col) const +[more]inline float operator()(int row, int col) const
      -[more]inline const bool valid() const +[more]inline const bool valid() const
      -[more]inline const bool isNaN() const +[more]inline const bool isNaN() const
      -[more]inline Matrix& operator = (const Matrix& other) +[more]inline Matrix& operator = (const Matrix& other)
      -[more]inline void set(const Matrix& other) +[more]inline void set(const Matrix& other)
      -[more]inline void set(float const* const ptr) +[more]inline void set(float const* const ptr)
      -[more]void set( float a00, float a01, float a02, float a03, float a10, float a11, float a12, float a13, float a20, float a21, float a22, float a23, float a30, float a31, float a32, float a33) +[more]void set( float a00, float a01, float a02, float a03, float a10, float a11, float a12, float a13, float a20, float a21, float a22, float a23, float a30, float a31, float a32, float a33)
      -[more]float* ptr() +[more]float* ptr()
      -[more]const float* ptr() const +[more]const float* ptr() const
      -[more]void makeIdentity() +[more]void makeIdentity()
      -[more]void makeScale( const Vec3& ) +[more]void makeScale( const Vec3& )
      -[more]void makeScale( float, float, float ) +[more]void makeScale( float, float, float )
      -[more]void makeTranslate( const Vec3& ) +[more]void makeTranslate( const Vec3& )
      -[more]void makeTranslate( float, float, float ) +[more]void makeTranslate( float, float, float )
      -[more]void makeRotate( const Vec3& from, const Vec3& to ) +[more]void makeRotate( const Vec3& from, const Vec3& to )
      -[more]void makeRotate( float angle, const Vec3& axis ) +[more]void makeRotate( float angle, const Vec3& axis )
      -[more]void makeRotate( float angle, float x, float y, float z ) +[more]void makeRotate( float angle, float x, float y, float z )
      -[more]void makeRotate( const Quat& ) +[more]void makeRotate( const Quat& )
      -[more]void makeRotate( float heading, float pitch, float roll) -
      make a rotation Matrix from euler angles. +[more]void makeRotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)
      -[more]void makeOrtho(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar) +[more]void makeOrtho(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)
      Set to a orthographic projection.
      -[more]inline void makeOrtho2D(const double left, const double right, const double bottom, const double top) +[more]inline void makeOrtho2D(const double left, const double right, const double bottom, const double top)
      Set to a 2D orthographic projection.
      -[more]void makeFrustum(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar) +[more]void makeFrustum(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)
      Set to a perspective projection.
      -[more]void makePerspective(const double fovy, const double aspectRatio, const double zNear, const double zFar) +[more]void makePerspective(const double fovy, const double aspectRatio, const double zNear, const double zFar)
      Set to a symmetrical perspective projection, See gluPerspective for further details.
      -[more]void makeLookAt(const Vec3& eye, const Vec3& center, const Vec3& up) +[more]void makeLookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
      Set to the position and orientation as per a camera, using the same convention as gluLookAt.
      -[more]bool invert( const Matrix& ) +[more]bool invert( const Matrix& )
      -[more]inline static Matrix identity( void ) +[more]inline static Matrix identity( void )
      -[more]inline static Matrix scale( const Vec3& sv) +[more]inline static Matrix scale( const Vec3& sv)
      -[more]inline static Matrix scale( float sx, float sy, float sz) +[more]inline static Matrix scale( float sx, float sy, float sz)
      -[more]inline static Matrix translate( const Vec3& dv) +[more]inline static Matrix translate( const Vec3& dv)
      -[more]inline static Matrix translate( float x, float y, float z) +[more]inline static Matrix translate( float x, float y, float z)
      -[more]inline static Matrix rotate( const Vec3& from, const Vec3& to) +[more]inline static Matrix rotate( const Vec3& from, const Vec3& to)
      -[more]inline static Matrix rotate( float angle, float x, float y, float z) +[more]inline static Matrix rotate( float angle, float x, float y, float z)
      -[more]inline static Matrix rotate( float angle, const Vec3& axis) +[more]inline static Matrix rotate( float angle, const Vec3& axis)
      -[more]inline static Matrix rotate( float heading, float pitch, float roll) -
      construct rotation matrix from euler angles, for conventions see makeRotate() +[more]inline static Matrix rotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)
      -[more]inline static Matrix rotate( const Quat& quat) +[more]inline static Matrix rotate( const Quat& quat)
      -[more]inline static Matrix inverse( const Matrix& matrix) +[more]inline static Matrix inverse( const Matrix& matrix)
      -[more]inline static Matrix ortho(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar) +[more]inline static Matrix ortho(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)
      Create a orthographic projection.
      -[more]inline static Matrix ortho2D(const double left, const double right, const double bottom, const double top) +[more]inline static Matrix ortho2D(const double left, const double right, const double bottom, const double top)
      Create a 2D orthographic projection.
      -[more]inline static Matrix frustum(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar) +[more]inline static Matrix frustum(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)
      Create a perspective projection.
      -[more]inline static Matrix perspective(const double fovy, const double aspectRatio, const double zNear, const double zFar) +[more]inline static Matrix perspective(const double fovy, const double aspectRatio, const double zNear, const double zFar)
      Create a symmetrical perspective projection, See gluPerspective for further details.
      -[more]inline static Matrix lookAt(const Vec3& eye, const Vec3& center, const Vec3& up) +[more]inline static Matrix lookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
      Create the position and orientation as per a camera, using the same convention as gluLookAt.
      -[more]void setTrans( float tx, float ty, float tz ) +[more]void setTrans( float tx, float ty, float tz )
      -[more]void setTrans( const Vec3& v ) +[more]void setTrans( const Vec3& v )
      -[more]inline Vec3 getTrans() const +[more]inline Vec3 getTrans() const
      -[more]inline Vec3 getScale() const +[more]inline Vec3 getScale() const
      -[more]inline static Vec3 transform3x3(const Vec3& v, const Matrix& m) +[more]inline static Vec3 transform3x3(const Vec3& v, const Matrix& m)
      apply apply an 3x3 transform of v*M[02,02]
      -[more]inline static Vec3 transform3x3(const Matrix& m, const Vec3& v) +[more]inline static Vec3 transform3x3(const Matrix& m, const Vec3& v)
      apply apply an 3x3 transform of M[02,02]*v
      -[more]void mult( const Matrix&, const Matrix& ) +[more]void mult( const Matrix&, const Matrix& )
      -[more]void preMult( const Matrix& ) +[more]void preMult( const Matrix& )
      -[more]void postMult( const Matrix& ) +[more]void postMult( const Matrix& )
      -[more]inline void operator *= ( const Matrix& other ) +[more]inline void operator *= ( const Matrix& other )
      -[more]inline Matrix operator * ( const Matrix &m ) const +[more]inline Matrix operator * ( const Matrix &m ) const
      -[more]inline Matrix identity(void) +[more]inline Matrix identity(void)
      -[more]inline Matrix scale(float sx, float sy, float sz) +[more]inline Matrix scale(float sx, float sy, float sz)
      -[more]inline Matrix scale(const Vec3& v ) +[more]inline Matrix scale(const Vec3& v )
      -[more]inline Matrix translate(float tx, float ty, float tz) +[more]inline Matrix translate(float tx, float ty, float tz)
      -[more]inline Matrix translate(const Vec3& v ) +[more]inline Matrix translate(const Vec3& v )
      -[more]inline Matrix rotate( const Quat& q ) +[more]inline Matrix rotate( const Quat& q )
      -[more]inline Matrix rotate(float angle, float x, float y, float z ) +[more]inline Matrix rotate(float angle, float x, float y, float z )
      -[more]inline Matrix rotate(float angle, const Vec3& axis ) +[more]inline Matrix rotate(float angle, const Vec3& axis )
      -[more]inline Matrix rotate(float heading, float pitch, float roll) +[more]inline Matrix rotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)
      -[more]inline Matrix rotate(const Vec3& from, const Vec3& to ) +[more]inline Matrix rotate(const Vec3& from, const Vec3& to )
      -[more]inline Matrix inverse( const Matrix& matrix) +[more]inline Matrix inverse( const Matrix& matrix)
      -[more]inline Matrix ortho(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar) +[more]inline Matrix ortho(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)
      -[more]inline Matrix ortho2D(const double left, const double right, const double bottom, const double top) +[more]inline Matrix ortho2D(const double left, const double right, const double bottom, const double top)
      -[more]inline Matrix frustum(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar) +[more]inline Matrix frustum(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)
      -[more]inline Matrix perspective(const double fovy, const double aspectRatio, const double zNear, const double zFar) +[more]inline Matrix perspective(const double fovy, const double aspectRatio, const double zNear, const double zFar)
      -[more]inline Matrix lookAt(const Vec3& eye, const Vec3& center, const Vec3& up) +[more]inline Matrix lookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
      -[more]inline Vec3 postMult( const Vec3& v ) const +[more]inline Vec3 postMult( const Vec3& v ) const
      -[more]inline Vec3 preMult( const Vec3& v ) const +[more]inline Vec3 preMult( const Vec3& v ) const
      -[more]inline Vec4 postMult( const Vec4& v ) const +[more]inline Vec4 postMult( const Vec4& v ) const
      -[more]inline Vec4 preMult( const Vec4& v ) const +[more]inline Vec4 preMult( const Vec4& v ) const
      -[more]inline Vec3 transform3x3(const Vec3& v, const Matrix& m) +[more]inline Vec3 transform3x3(const Vec3& v, const Matrix& m)
      -[more]inline Vec3 transform3x3(const Matrix& m, const Vec3& v) +[more]inline Vec3 transform3x3(const Matrix& m, const Vec3& v)
      -[more]inline Vec3 operator* (const Vec3& v) const +[more]inline Vec3 operator* (const Vec3& v) const
      -[more]inline Vec4 operator* (const Vec4& v) const +[more]inline Vec4 operator* (const Vec4& v) const

      @@ -224,9 +222,9 @@

      Public Methods

      -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
      -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
      oinline void setUserData(Referenced* obj)
      @@ -242,7 +240,7 @@

      Protected Fields

      -oDataVariance _dataVariance +oDataVariance _dataVariance
      oref_ptr<Referenced> _userData

      @@ -274,388 +272,381 @@
      - +
      o Matrix()

      - -

      o Matrix( const Matrix& other) + +
      o Matrix( const Matrix& other)

      - +

      oexplicit Matrix( float const* const def )

      - +

      o Matrix( float a00, float a01, float a02, float a03, float a10, float a11, float a12, float a13, float a20, float a21, float a22, float a23, float a30, float a31, float a32, float a33)

      - +

      ovirtual Object* cloneType() const

      - +

      ovirtual Object* clone(const CopyOp&) const

      - +

      ovirtual bool isSameKindAs(const Object* obj) const

      - +

      ovirtual const char* libraryName() const

      - +

      ovirtual const char* className() const

      - +

      ovirtual ~Matrix()

      - +

      oint compare(const Matrix& m) const

      - +

      obool operator < (const Matrix& m) const

      - +

      obool operator == (const Matrix& m) const

      - +

      obool operator != (const Matrix& m) const

      - +

      oinline float& operator()(int row, int col)

      - +

      oinline float operator()(int row, int col) const

      - +

      oinline const bool valid() const

      - +

      oinline const bool isNaN() const

      - +

      oinline Matrix& operator = (const Matrix& other)

      - +

      oinline void set(const Matrix& other)

      - -

      oinline void set(float const* const ptr) + +
      oinline void set(float const* const ptr)

      - +

      ovoid set( float a00, float a01, float a02, float a03, float a10, float a11, float a12, float a13, float a20, float a21, float a22, float a23, float a30, float a31, float a32, float a33)

      - +

      ofloat* ptr()

      - +

      oconst float* ptr() const

      - +

      ovoid makeIdentity()

      - +

      ovoid makeScale( const Vec3& )

      - +

      ovoid makeScale( float, float, float )

      - +

      ovoid makeTranslate( const Vec3& )

      - +

      ovoid makeTranslate( float, float, float )

      - +

      ovoid makeRotate( const Vec3& from, const Vec3& to )

      - +

      ovoid makeRotate( float angle, const Vec3& axis )

      - -

      ovoid makeRotate( float angle, float x, float y, float z ) + +
      ovoid makeRotate( float angle, float x, float y, float z )

      - +

      ovoid makeRotate( const Quat& )

      - -

      ovoid makeRotate( float heading, float pitch, float roll) -
      make a rotation Matrix from euler angles. -assume Z up, Y north, X east and euler convention -as per Open Flight & Performer. -Applies a positive rotation about Y axis for roll, -then applies a positive roation about X for pitch, -and finally a negative rotation about the Z axis. + +
      ovoid makeRotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)

      - +

      ovoid makeOrtho(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)
      Set to a orthographic projection. See glOrtho for further details.

      - +

      oinline void makeOrtho2D(const double left, const double right, const double bottom, const double top)
      Set to a 2D orthographic projection. See glOrtho2D for further details.

      - +

      ovoid makeFrustum(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)
      Set to a perspective projection. See glFrustum for further details.

      - -

      ovoid makePerspective(const double fovy, const double aspectRatio, const double zNear, const double zFar) + +
      ovoid makePerspective(const double fovy, const double aspectRatio, const double zNear, const double zFar)
      Set to a symmetrical perspective projection, See gluPerspective for further details. Aspect ratio is defined as width/height.

      - -

      ovoid makeLookAt(const Vec3& eye, const Vec3& center, const Vec3& up) + +
      ovoid makeLookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
      Set to the position and orientation as per a camera, using the same convention as gluLookAt.

      - +

      obool invert( const Matrix& )

      - +

      oinline static Matrix identity( void )

      - +

      oinline static Matrix scale( const Vec3& sv)

      - +

      oinline static Matrix scale( float sx, float sy, float sz)

      - +

      oinline static Matrix translate( const Vec3& dv)

      - -

      oinline static Matrix translate( float x, float y, float z) + +
      oinline static Matrix translate( float x, float y, float z)

      - +

      oinline static Matrix rotate( const Vec3& from, const Vec3& to)

      - -

      oinline static Matrix rotate( float angle, float x, float y, float z) + +
      oinline static Matrix rotate( float angle, float x, float y, float z)

      - +

      oinline static Matrix rotate( float angle, const Vec3& axis)

      - -

      oinline static Matrix rotate( float heading, float pitch, float roll) -
      construct rotation matrix from euler angles, for conventions see makeRotate() + +
      oinline static Matrix rotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)

      - +

      oinline static Matrix rotate( const Quat& quat)

      - +

      oinline static Matrix inverse( const Matrix& matrix)

      - +

      oinline static Matrix ortho(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)
      Create a orthographic projection. See glOrtho for further details.

      - +

      oinline static Matrix ortho2D(const double left, const double right, const double bottom, const double top)
      Create a 2D orthographic projection. See glOrtho for further details.

      - +

      oinline static Matrix frustum(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)
      Create a perspective projection. See glFrustum for further details.

      - -

      oinline static Matrix perspective(const double fovy, const double aspectRatio, const double zNear, const double zFar) + +
      oinline static Matrix perspective(const double fovy, const double aspectRatio, const double zNear, const double zFar)
      Create a symmetrical perspective projection, See gluPerspective for further details. Aspect ratio is defined as width/height.

      - -

      oinline static Matrix lookAt(const Vec3& eye, const Vec3& center, const Vec3& up) + +
      oinline static Matrix lookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
      Create the position and orientation as per a camera, using the same convention as gluLookAt.

      - +

      ovoid setTrans( float tx, float ty, float tz )

      - +

      ovoid setTrans( const Vec3& v )

      - +

      oinline Vec3 getTrans() const

      - +

      oinline Vec3 getScale() const

      - +

      oinline static Vec3 transform3x3(const Vec3& v, const Matrix& m)
      apply apply an 3x3 transform of v*M[02,02]

      - +

      oinline static Vec3 transform3x3(const Matrix& m, const Vec3& v)
      apply apply an 3x3 transform of M[02,02]*v

      - +

      ovoid mult( const Matrix&, const Matrix& )

      - +

      ovoid preMult( const Matrix& )

      - +

      ovoid postMult( const Matrix& )

      - +

      oinline void operator *= ( const Matrix& other )

      - +

      oinline Matrix operator * ( const Matrix &m ) const

      - +

      oinline Matrix identity(void)

      - +

      oinline Matrix scale(float sx, float sy, float sz)

      - +

      oinline Matrix scale(const Vec3& v )

      - +

      oinline Matrix translate(float tx, float ty, float tz)

      - +

      oinline Matrix translate(const Vec3& v )

      - +

      oinline Matrix rotate( const Quat& q )

      - -

      oinline Matrix rotate(float angle, float x, float y, float z ) + +
      oinline Matrix rotate(float angle, float x, float y, float z )

      - +

      oinline Matrix rotate(float angle, const Vec3& axis )

      - -

      oinline Matrix rotate(float heading, float pitch, float roll) + +
      oinline Matrix rotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)

      - +

      oinline Matrix rotate(const Vec3& from, const Vec3& to )

      - +

      oinline Matrix inverse( const Matrix& matrix)

      - +

      oinline Matrix ortho(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)

      - +

      oinline Matrix ortho2D(const double left, const double right, const double bottom, const double top)

      - +

      oinline Matrix frustum(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)

      - -

      oinline Matrix perspective(const double fovy, const double aspectRatio, const double zNear, const double zFar) + +
      oinline Matrix perspective(const double fovy, const double aspectRatio, const double zNear, const double zFar)

      - -

      oinline Matrix lookAt(const Vec3& eye, const Vec3& center, const Vec3& up) + +
      oinline Matrix lookAt(const Vec3& eye, const Vec3& center, const Vec3& up)

      - +

      oinline Vec3 postMult( const Vec3& v ) const

      - +

      oinline Vec3 preMult( const Vec3& v ) const

      - +

      oinline Vec4 postMult( const Vec4& v ) const

      - +

      oinline Vec4 preMult( const Vec4& v ) const

      - +

      oinline Vec3 transform3x3(const Vec3& v, const Matrix& m)

      - +

      oinline Vec3 transform3x3(const Matrix& m, const Vec3& v)

      - +

      oinline Vec3 operator* (const Vec3& v) const

      - +

      oinline Vec4 operator* (const Vec4& v) const

      diff --git a/doc/doc++/osg/MatrixTransform.html b/doc/doc++/osg/MatrixTransform.html index df0c21c62..9ee970024 100644 --- a/doc/doc++/osg/MatrixTransform.html +++ b/doc/doc++/osg/MatrixTransform.html @@ -7,7 +7,7 @@ -

      class SG_EXPORT osg::MatrixTransform

      Transform - is group which all children are transformed by the the Transform's osg::Matrix.
      +

      class SG_EXPORT osg::MatrixTransform

      MatrixTransform - is a subclass of Transform which has an osg::Matrix which represent a 4x4 transformation of its children from local cordinates into the Transform's parent coordinates

      Inheritance:

      @@ -23,46 +23,53 @@

      Public Methods

      -[more] MatrixTransform() +[more] MatrixTransform()
      -[more] MatrixTransform(const MatrixTransform&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] MatrixTransform(const MatrixTransform&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy
      -[more] MatrixTransform(const Matrix& matix) +[more] MatrixTransform(const Matrix& matix)
      -[more] META_Node(osg, MatrixTransform) +[more] META_Node(osg, MatrixTransform)
      -[more]void setMatrix(const Matrix& mat) +[more]void setMatrix(const Matrix& mat)
      Set the transform's matrix
      -[more]inline const Matrix& getMatrix() const -
      Get the transform's matrix. +[more]inline const Matrix& getMatrix() const +
      Get the matrix.
      -[more]void preMult(const Matrix& mat) -
      preMult transform +[more]void preMult(const Matrix& mat) +
      pre multiply the transforms matrix
      -[more]void postMult(const Matrix& mat) -
      postMult transform +[more]void postMult(const Matrix& mat) +
      post multiply the transforms matrix
      -[more]virtual const bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor*) const +[more]inline const Matrix& getInverseMatrix() const +
      Get the inverse matrix.
      -[more]virtual const bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor*) const +[more]virtual const bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor*) const +
      +[more]virtual const bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor*) const +

      + +

      +

      Public Members

      +class SG_EXPORT AnimationPathCallback: public NodeCallback +
      Callback which can be attached to a MatrixTransform as an app callback to allow it to follow the path defined by a AnimationPath

      Protected Fields

      -[more]ref_ptr<Matrix> _matrix +[more]ref_ptr<Matrix> _matrix
      -[more]mutable ref_ptr<Matrix> _inverse +[more]mutable ref_ptr<Matrix> _inverse
      -[more]mutable bool _inverseDirty +[more]mutable bool _inverseDirty

      Protected Methods

      -[more]virtual ~MatrixTransform() -
      -[more]inline void computeInverse() const +[more]virtual ~MatrixTransform()

      @@ -70,15 +77,15 @@

      Public Methods

      -ovoid setReferenceFrame(ReferenceFrame rf) +ovoid setReferenceFrame(ReferenceFrame rf)
      -oconst ReferenceFrame getReferenceFrame() const +oconst ReferenceFrame getReferenceFrame() const
      -ovoid setComputeTransformCallback(ComputeTransformCallback* ctc) +ovoid setComputeTransformCallback(ComputeTransformCallback* ctc)
      -oComputeTransformCallback* getComputeTransformCallback() +oComputeTransformCallback* getComputeTransformCallback()
      -oconst ComputeTransformCallback* getComputeTransformCallback() const +oconst ComputeTransformCallback* getComputeTransformCallback() const
      oinline const bool getLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const
      @@ -94,15 +101,9 @@

      Protected Fields

      -oref_ptr<ComputeTransformCallback> _computeTransformCallback +oref_ptr<ComputeTransformCallback> _computeTransformCallback
      -oReferenceFrame _referenceFrame -
      -oref_ptr<Matrix> _deprecated_matrix -
      -omutable ref_ptr<Matrix> _deprecated_inverse -
      -omutable bool _deprecated_inverseDirty +oReferenceFrame _referenceFrame

      @@ -146,86 +147,75 @@

      Documentation

      -
      Transform - is group which all children are transformed by the the Transform's osg::Matrix. -Typical uses -of the Transform is for positioning objects within a scene or -producing trackball functionality or for animation. -The Transform node can be customized via the ComputeTransfromCallback which can be -attached to the node, this might be used to convert internal representations of the transformation -into generic osg::Matrix'c which are used during scene grpah traversal, such as CullTraversal and IntersectionTraversal. -Note, if the transformation matrix scales the subgraph then the -normals of the underlying geometry will need to be renormalized to -be unit vectors once more. One can done transparently through OpenGL's -use of either GL_NORMALIZE and GL_SCALE_NORMALIZE modes. Further -background reading see the glNormalize documentation in the OpenGL Reference -Guide (the blue book). To enable it in the OSG, you simple need to -attach a local osg::StateSet to the osg::Transform, and set the appropriate -mode to on via stateset->setMode(GL_NORMALIZE,osg::StateAttribute::ON);.
      +
      MatrixTransform - is a subclass of Transform which has an osg::Matrix +which represent a 4x4 transformation of its children from local cordinates +into the Transform's parent coordinates
      - +
      o MatrixTransform()

      - -

      o MatrixTransform(const MatrixTransform&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
      o MatrixTransform(const MatrixTransform&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy

      - +

      o MatrixTransform(const Matrix& matix)

      - +

      o META_Node(osg, MatrixTransform)

      - +

      ovoid setMatrix(const Matrix& mat)
      Set the transform's matrix

      - +

      oinline const Matrix& getMatrix() const -
      Get the transform's matrix. +
      Get the matrix.

      - +

      ovoid preMult(const Matrix& mat) -
      preMult transform +
      pre multiply the transforms matrix

      - +

      ovoid postMult(const Matrix& mat) -
      postMult transform +
      post multiply the transforms matrix +

      + + +

      oinline const Matrix& getInverseMatrix() const +
      Get the inverse matrix.

      - +

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

      - +

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

      - +

      ovirtual ~MatrixTransform()

      - - -

      oinline void computeInverse() const -

      - +

      oref_ptr<Matrix> _matrix

      - +

      omutable ref_ptr<Matrix> _inverse

      - +

      omutable bool _inverseDirty

      diff --git a/doc/doc++/osg/NodeAcceptOp.html b/doc/doc++/osg/NodeAcceptOp.html index ce6c3b674..8f26c7dc0 100644 --- a/doc/doc++/osg/NodeAcceptOp.html +++ b/doc/doc++/osg/NodeAcceptOp.html @@ -12,13 +12,13 @@

      -[more]NodeVisitor& _nv +[more]NodeVisitor& _nv
      -[more] NodeAcceptOp(NodeVisitor& nv) +[more] NodeAcceptOp(NodeVisitor& nv)
      -[more]void operator () (Node* node) +[more]void operator () (Node* node)
      -[more]void operator () (ref_ptr<Node> node) +[more]void operator () (ref_ptr<Node> node)

      @@ -29,19 +29,19 @@
      - +
      oNodeVisitor& _nv

      - +

      o NodeAcceptOp(NodeVisitor& nv)

      - +

      ovoid operator () (Node* node)

      - +

      ovoid operator () (ref_ptr<Node> node)

      Alphabetic index HTML hierarchy of classes or Java


      diff --git a/doc/doc++/osg/NodeCallback.html b/doc/doc++/osg/NodeCallback.html index d62081458..5d9f4b571 100644 --- a/doc/doc++/osg/NodeCallback.html +++ b/doc/doc++/osg/NodeCallback.html @@ -10,11 +10,11 @@

      class SG_EXPORT osg::NodeCallback


      Inheritance:

      - - - - - + + + + +
      @@ -22,28 +22,28 @@

      Public Fields

      -[more]ref_ptr<NodeCallback> _nestedCallback +[more]ref_ptr<NodeCallback> _nestedCallback

      Public Methods

      -[more] NodeCallback() +[more] NodeCallback()
      -[more]virtual ~NodeCallback() +[more]virtual ~NodeCallback()
      -[more]virtual void operator()(Node* node, NodeVisitor* nv) +[more]virtual void operator()(Node* node, NodeVisitor* nv)
      Callback method call by the NodeVisitor when visiting a node
      -[more]void traverse(Node* node, NodeVisitor* nv) +[more]void traverse(Node* node, NodeVisitor* nv)
      Call any nested callbacks and then traverse the scene graph.
      -[more]void setNestedCallback(NodeCallback* nc) +[more]void setNestedCallback(NodeCallback* nc)
      -[more]NodeCallback* getNestedCallback() +[more]NodeCallback* getNestedCallback()
      -[more]inline void addNestedCallback(NodeCallback* nc) +[more]inline void addNestedCallback(NodeCallback* nc)
      -[more]inline void removeNestedCallback(NodeCallback* nc) +[more]inline void removeNestedCallback(NodeCallback* nc)

      @@ -75,45 +75,48 @@
      - +
      o NodeCallback()

      - +

      ovirtual ~NodeCallback()

      - +

      ovirtual void operator()(Node* node, NodeVisitor* nv)
      Callback method call by the NodeVisitor when visiting a node

      - +

      ovoid traverse(Node* node, NodeVisitor* nv)
      Call any nested callbacks and then traverse the scene graph.

      - +

      ovoid setNestedCallback(NodeCallback* nc)

      - +

      oNodeCallback* getNestedCallback()

      - +

      oinline void addNestedCallback(NodeCallback* nc)

      - +

      oinline void removeNestedCallback(NodeCallback* nc)

      - +

      oref_ptr<NodeCallback> _nestedCallback

      - -
      This class has no child classes.
      +
      +
      Direct child classes: +
      AnimationPathCallback
      +AnimationPathCallback
      +

      Alphabetic index HTML hierarchy of classes or Java



      diff --git a/doc/doc++/osg/NodeVisitor.html b/doc/doc++/osg/NodeVisitor.html index d1b0c4848..6b104a30c 100644 --- a/doc/doc++/osg/NodeVisitor.html +++ b/doc/doc++/osg/NodeVisitor.html @@ -23,120 +23,140 @@

      Public Methods

      -[more] NodeVisitor(TraversalMode tm=TRAVERSE_NONE) +[more] NodeVisitor(TraversalMode tm=TRAVERSE_NONE)
      -[more]virtual ~NodeVisitor() +[more] NodeVisitor(VisitorType type, TraversalMode tm=TRAVERSE_NONE)
      -[more]virtual void reset() +[more]virtual ~NodeVisitor() +
      +[more]virtual void reset()
      Method to call to reset visitor.
      -[more]inline void setTraversalNumber(const int fn) +[more]inline void setVisitorType(VisitorType type) +
      Set the VisitorType, used to distingush different visitors during traversal of the scene, typically used in the Node::traverse() method to select which behaviour to use for different types of traversal/visitors +
      +[more]inline VisitorType getVisitorType() const +
      Get the VisitorType +
      +[more]inline void setTraversalNumber(const int fn)
      Set the traversal number.
      -[more]inline const int getTraversalNumber() const +[more]inline const int getTraversalNumber() const
      Get the traversal number.
      -[more]inline void setFrameStamp(FrameStamp* fs) +[more]inline void setFrameStamp(FrameStamp* fs)
      Set the FrameStamp that this traversal is assoicated with
      -[more]inline const FrameStamp* getFrameStamp() const +[more]inline const FrameStamp* getFrameStamp() const
      Get the FrameStamp that this traversal is assoicated with
      -[more]inline void setTraversalMask(const Node::NodeMask mask) +[more]inline void setTraversalMask(const Node::NodeMask mask)
      Set the TraversalMask of this NodeVisitor.
      -[more]inline const Node::NodeMask getTraversalMask() const +[more]inline const Node::NodeMask getTraversalMask() const
      Get the TraversalMask
      -[more]inline void setNodeMaskOverride(const Node::NodeMask mask) +[more]inline void setNodeMaskOverride(const Node::NodeMask mask)
      Set the NodeMaskOverride mask.
      -[more]inline const Node::NodeMask getNodeMaskOverride() const +[more]inline const Node::NodeMask getNodeMaskOverride() const
      Get the NodeMaskOverride mask
      -[more]inline const bool validNodeMask(const osg::Node& node) const +[more]inline const bool validNodeMask(const osg::Node& node) const
      Method to called by Node and its subclass' Node::accept() method, if the result is true to be used to cull operations of nodes and their subgraphs.
      -[more]void setTraversalMode(const TraversalMode mode) +[more]void setTraversalMode(const TraversalMode mode)
      Set the traversal mode for Node::traverse() to use when deciding which children of a node to traverse.
      -[more]inline const TraversalMode getTraversalMode() const +[more]inline const TraversalMode getTraversalMode() const
      Get the traversal mode
      -[more]void setTraversalVisitor(NodeVisitor* nv) +[more]void setTraversalVisitor(NodeVisitor* nv)
      Set a visitor to handle traversal.
      -[more]inline NodeVisitor* getTraversalVisitor() +[more]inline NodeVisitor* getTraversalVisitor()
      Get the traversal visitor, returns NULL if none is attached
      -[more]inline void traverse(Node& node) +[more]inline void traverse(Node& node)
      Method for handling traversal of a nodes.
      -[more]inline void pushOntoNodePath(Node* node) +[more]inline void pushOntoNodePath(Node* node)
      Method called by osg::Node::accept() method before a call the NodeVisitor::apply().
      -[more]inline void popFromNodePath() +[more]inline void popFromNodePath()
      Method callby osg::Node::accept() method after a call the NodeVisitor::apply().
      -[more]NodePath& getNodePath() +[more]NodePath& getNodePath()
      Get the non const NodePath from the top most node applied down to the current Node being visited
      -[more]const NodePath& getNodePath() const +[more]const NodePath& getNodePath() const
      Get the const NodePath from the top most node applied down to the current Node being visited
      -[more]const bool getLocalToWorldMatrix(Matrix& matrix, Node* node) +[more]const bool getLocalToWorldMatrix(Matrix& matrix, Node* node)
      Get the Local To World Matrix from the NodePath for specified Transform::Mode, and u
      -[more]const bool getWorldToLocalMatrix(Matrix& matrix, Node* node) +[more]const bool getWorldToLocalMatrix(Matrix& matrix, Node* node)
      Get the World To Local Matrix from the NodePath for specified Transform::Mode
      -[more]virtual void apply(Node& node) +[more]virtual void apply(Node& node)
      -[more]virtual void apply(Geode& node) +[more]virtual void apply(Geode& node)
      -[more]virtual void apply(Billboard& node) +[more]virtual void apply(Billboard& node)
      -[more]virtual void apply(LightSource& node) +[more]virtual void apply(Group& node)
      -[more]virtual void apply(ClipNode& node) +[more]virtual void apply(Projection& node)
      -[more]virtual void apply(Group& node) +[more]virtual void apply(ClipNode& node)
      -[more]virtual void apply(Projection& node) +[more]virtual void apply(LightSource& node)
      -[more]virtual void apply(Transform& node) +[more]virtual void apply(Transform& node)
      -[more]virtual void apply(Switch& node) +[more]virtual void apply(DOFTransform& node)
      -[more]virtual void apply(LOD& node) +[more]virtual void apply(MatrixTransform& node)
      -[more]virtual void apply(Impostor& node) +[more]virtual void apply(PositionAttitudeTransform& node)
      -[more]virtual void apply(EarthSky& node) +[more]virtual void apply(Switch& node)
      -[more]virtual void apply(OccluderNode& node) +[more]virtual void apply(Sequence& node) +
      +[more]virtual void apply(LOD& node) +
      +[more]virtual void apply(Impostor& node) +
      +[more]virtual void apply(ClearNode& node) +
      +[more]virtual void apply(OccluderNode& node)

      Public Members

      -[more]enum TraversalMode +[more]enum TraversalMode +
      +[more]enum VisitorType

      Protected Fields

      -[more]int _traversalNumber +[more]VisitorType _visitorType
      -[more]ref_ptr<FrameStamp> _frameStamp +[more]int _traversalNumber
      -[more]ref_ptr<NodeVisitor> _traversalVisitor +[more]ref_ptr<FrameStamp> _frameStamp
      -[more]TraversalMode _traversalMode +[more]ref_ptr<NodeVisitor> _traversalVisitor
      -[more]Node::NodeMask _traversalMask +[more]TraversalMode _traversalMode
      -[more]Node::NodeMask _nodeMaskOverride +[more]Node::NodeMask _traversalMask
      -[more]NodePath _nodePath +[more]Node::NodeMask _nodeMaskOverride +
      +[more]NodePath _nodePath

      @@ -182,69 +202,107 @@ not be called.
      - +
      oenum TraversalMode

      - +
      o TRAVERSE_NONE

      - +

      o TRAVERSE_PARENTS

      - +

      o TRAVERSE_ALL_CHILDREN

      - +

      o TRAVERSE_ACTIVE_CHILDREN

      - +

      o TRAVERSE_VISITOR

      + + +
      oenum VisitorType +

      + + + +
      o NODE_VISITOR +

      + + +

      o APP_VISITOR +

      + + +

      o COLLECT_OCCLUDER_VISITOR +

      + + +

      o CULL_VISITOR +

      + - -
      o NodeVisitor(TraversalMode tm=TRAVERSE_NONE) + +
      o NodeVisitor(TraversalMode tm=TRAVERSE_NONE) +

      + + +

      o NodeVisitor(VisitorType type, TraversalMode tm=TRAVERSE_NONE)

      - +

      ovirtual ~NodeVisitor()

      - +

      ovirtual void reset()
      Method to call to reset visitor. Useful for your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal than call reset() prior to each traversal.

      + + +

      oinline void setVisitorType(VisitorType type) +
      Set the VisitorType, used to distingush different visitors during +traversal of the scene, typically used in the Node::traverse() method +to select which behaviour to use for different types of traversal/visitors +

      + + +

      oinline VisitorType getVisitorType() const +
      Get the VisitorType +

      - +

      oinline void setTraversalNumber(const int fn)
      Set the traversal number. Typically used to denote the frame count.

      - +

      oinline const int getTraversalNumber() const
      Get the traversal number. Typically used to denote the frame count.

      - +

      oinline void setFrameStamp(FrameStamp* fs)
      Set the FrameStamp that this traversal is assoicated with

      - +

      oinline const FrameStamp* getFrameStamp() const
      Get the FrameStamp that this traversal is assoicated with

      - +

      oinline void setTraversalMask(const Node::NodeMask mask)
      Set the TraversalMask of this NodeVisitor. The TraversalMask is used by the NodeVisitor::validNodeMask() method @@ -257,12 +315,12 @@ _nodeMaskOverride to 0xffffffff will allow a visitor to work on all nodes regardless of their own Node::_nodeMask state.

      - +

      oinline const Node::NodeMask getTraversalMask() const
      Get the TraversalMask

      - +

      oinline void setNodeMaskOverride(const Node::NodeMask mask)
      Set the NodeMaskOverride mask. Used in validNodeMask() to determine whether to operate on a node or its @@ -271,12 +329,12 @@ Typically used to force on nodes which may have been switched off by their own Node::_nodeMask.

      - +

      oinline const Node::NodeMask getNodeMaskOverride() const
      Get the NodeMaskOverride mask

      - +

      oinline const bool validNodeMask(const osg::Node& node) const
      Method to called by Node and its subclass' Node::accept() method, if the result is true to be used to cull operations of nodes and their subgraphs. @@ -286,8 +344,8 @@ default values for _traversalMask is 0xffffffff, _nodeMaskOverride is 0x0, and osg::Node::_nodeMask is 0xffffffff.

      - -

      ovoid setTraversalMode(const TraversalMode mode) + +
      ovoid setTraversalMode(const TraversalMode mode)
      Set the traversal mode for Node::traverse() to use when deciding which children of a node to traverse. If a NodeVisitor has been attached via setTraverseVisitor() @@ -295,23 +353,23 @@ and the new mode is not TRAVERSE_VISITOR then the attached visitor is detached. Default mode is TRAVERSE_NONE.

      - -

      oinline const TraversalMode getTraversalMode() const + +
      oinline const TraversalMode getTraversalMode() const
      Get the traversal mode

      - +

      ovoid setTraversalVisitor(NodeVisitor* nv)
      Set a visitor to handle traversal. Overrides the traverse mode setting it to TRAVERSAL_VISITOR.

      - +

      oinline NodeVisitor* getTraversalVisitor()
      Get the traversal visitor, returns NULL if none is attached

      - +

      oinline void traverse(Node& node)
      Method for handling traversal of a nodes. If you intend to use the visitor for actively traversing @@ -319,7 +377,7 @@ the scene graph then make sure the accept() methods call this method unless they handle traversal directly.

      - +

      oinline void pushOntoNodePath(Node* node)
      Method called by osg::Node::accept() method before a call the NodeVisitor::apply(). The back of the list will, @@ -330,7 +388,7 @@ Note, the user does not typically call pushNodeOnPath() as it will be called automatically by the Node::accept() method.

      - +

      oinline void popFromNodePath()
      Method callby osg::Node::accept() method after a call the NodeVisitor::apply(). @@ -338,105 +396,125 @@ Note, the user does not typically call pushNodeOnPath() as it will be called automatically by the Node::accept() method.

      - +

      oNodePath& getNodePath()
      Get the non const NodePath from the top most node applied down to the current Node being visited

      - +

      oconst NodePath& getNodePath() const
      Get the const NodePath from the top most node applied down to the current Node being visited

      - +

      oconst bool getLocalToWorldMatrix(Matrix& matrix, Node* node)
      Get the Local To World Matrix from the NodePath for specified Transform::Mode, and u

      - +

      oconst bool getWorldToLocalMatrix(Matrix& matrix, Node* node)
      Get the World To Local Matrix from the NodePath for specified Transform::Mode

      - +

      ovirtual void apply(Node& node)

      - +

      ovirtual void apply(Geode& node)

      - +

      ovirtual void apply(Billboard& node)

      - -

      ovirtual void apply(LightSource& node) -

      - - -

      ovirtual void apply(ClipNode& node) -

      - - +

      ovirtual void apply(Group& node)

      - +

      ovirtual void apply(Projection& node)

      - + +

      ovirtual void apply(ClipNode& node) +

      + + +

      ovirtual void apply(LightSource& node) +

      + +

      ovirtual void apply(Transform& node)

      - + +

      ovirtual void apply(DOFTransform& node) +

      + + +

      ovirtual void apply(MatrixTransform& node) +

      + + +

      ovirtual void apply(PositionAttitudeTransform& node) +

      + +

      ovirtual void apply(Switch& node)

      - + +

      ovirtual void apply(Sequence& node) +

      + +

      ovirtual void apply(LOD& node)

      - +

      ovirtual void apply(Impostor& node)

      - -

      ovirtual void apply(EarthSky& node) + +
      ovirtual void apply(ClearNode& node)

      - +

      ovirtual void apply(OccluderNode& node)

      + + +

      oVisitorType _visitorType +

      - +

      oint _traversalNumber

      - +

      oref_ptr<FrameStamp> _frameStamp

      - +

      oref_ptr<NodeVisitor> _traversalVisitor

      - -

      oTraversalMode _traversalMode + +
      oTraversalMode _traversalMode

      - +

      oNode::NodeMask _traversalMask

      - +

      oNode::NodeMask _nodeMaskOverride

      - +

      oNodePath _nodePath


      diff --git a/doc/doc++/osg/NotifySeverity.html b/doc/doc++/osg/NotifySeverity.html index 73183336e..2ebf69834 100644 --- a/doc/doc++/osg/NotifySeverity.html +++ b/doc/doc++/osg/NotifySeverity.html @@ -12,19 +12,19 @@

      -[more] ALWAYS +[more] ALWAYS
      -[more] FATAL +[more] FATAL
      -[more] WARN +[more] WARN
      -[more] NOTICE +[more] NOTICE
      -[more] INFO +[more] INFO
      -[more] DEBUG_INFO +[more] DEBUG_INFO
      -[more] DEBUG_FP +[more] DEBUG_FP

      @@ -39,31 +39,31 @@ further details.
      - +
      o ALWAYS

      - +

      o FATAL

      - +

      o WARN

      - +

      o NOTICE

      - +

      o INFO

      - +

      o DEBUG_INFO

      - +

      o DEBUG_FP

      Alphabetic index HTML hierarchy of classes or Java


      diff --git a/doc/doc++/osg/Object.html b/doc/doc++/osg/Object.html index 4224e235d..be562b01e 100644 --- a/doc/doc++/osg/Object.html +++ b/doc/doc++/osg/Object.html @@ -12,7 +12,7 @@

      Inheritance:

      - + @@ -23,57 +23,57 @@

      Public Methods

      -[more]inline Object() +[more]inline Object()
      Construct an object.
      -[more] Object(const Object&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Object(const Object&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor, optional CopyOp object can be used to control shallow vs deep copying of dynamic data
      -[more]virtual Object* cloneType() const = 0 +[more]virtual Object* cloneType() const = 0
      Clone the type of an object, with Object* return type.
      -[more]virtual Object* clone(const CopyOp&) const = 0 +[more]virtual Object* clone(const CopyOp&) const = 0
      Clone the an object, with Object* return type.
      -[more]virtual bool isSameKindAs(const Object*) const +[more]virtual bool isSameKindAs(const Object*) const
      -[more]virtual const char* libraryName() const = 0 +[more]virtual const char* libraryName() const = 0
      return the name of the object's library.
      -[more]virtual const char* className() const = 0 +[more]virtual const char* className() const = 0
      return the name of the object's class type.
      -[more]inline void setDataVariance(const DataVariance dv) +[more]inline void setDataVariance(const DataVariance dv)
      Set the data variance of this object.
      -[more]inline const DataVariance getDataVariance() const +[more]inline const DataVariance getDataVariance() const
      Get the data variance of this object
      -[more]inline void setUserData(Referenced* obj) +[more]inline void setUserData(Referenced* obj)
      Set user data, data must be subclased from Referenced to allow automatic memory handling.
      -[more]inline Referenced* getUserData() +[more]inline Referenced* getUserData()
      Get user data
      -[more]inline const Referenced* getUserData() const +[more]inline const Referenced* getUserData() const
      Get const user data

      Public Members

      -[more]enum DataVariance +[more]enum DataVariance

      Protected Fields

      -[more]DataVariance _dataVariance +[more]DataVariance _dataVariance
      -[more]ref_ptr<Referenced> _userData +[more]ref_ptr<Referenced> _userData

      Protected Methods

      -[more]virtual ~Object() +[more]virtual ~Object()
      Object destructor.

      @@ -109,7 +109,7 @@ Based on GOF Composite, Prototype and Template Method patterns.
      - +
      oinline Object()
      Construct an object. Note Object is a pure virtual base class and therefore cannot be constructed on its own, only derived @@ -117,69 +117,69 @@ classes which override the clone and className methods are concrete classes and can be constructed.

      - -

      o Object(const Object&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
      o Object(const Object&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor, optional CopyOp object can be used to control shallow vs deep copying of dynamic data

      - +

      ovirtual Object* cloneType() const = 0
      Clone the type of an object, with Object* return type. Must be defined by derived classes.

      - +

      ovirtual Object* clone(const CopyOp&) const = 0
      Clone the an object, with Object* return type. Must be defined by derived classes.

      - +

      ovirtual bool isSameKindAs(const Object*) const

      - +

      ovirtual const char* libraryName() const = 0
      return the name of the object's library. Must be defined by derived classes. The OpenSceneGraph convention the is that the namspace of a library is the same as the library name.

      - +

      ovirtual const char* className() const = 0
      return the name of the object's class type. Must be defined by derived classes.

      - +

      oenum DataVariance

      - +
      o DYNAMIC

      - +

      o STATIC

      - -
      oinline void setDataVariance(const DataVariance dv) + +
      oinline void setDataVariance(const DataVariance dv)
      Set the data variance of this object. Can be set to either STATIC for values that do not change over the lifetime of the object, or DYNAMIC for values that vary over the lifetime of the object. The DataVariance value can be used be routines such as optimzation codes that wish to share static data.

      - -

      oinline const DataVariance getDataVariance() const + +
      oinline const DataVariance getDataVariance() const
      Get the data variance of this object

      - +

      oinline void setUserData(Referenced* obj)
      Set user data, data must be subclased from Referenced to allow @@ -188,17 +188,17 @@ subclassed from Referenced then create and adapter object which points to your own objects and handles the memory addressing.

      - +

      oinline Referenced* getUserData()
      Get user data

      - +

      oinline const Referenced* getUserData() const
      Get const user data

      - +

      ovirtual ~Object()
      Object destructor. Note, is protected so that Objects cannot be deleted other than by being dereferenced and the reference @@ -209,11 +209,11 @@ forcing all nodes to be created on the heap i.e Node* node = new Node().

      - -

      oDataVariance _dataVariance + +
      oDataVariance _dataVariance

      - +

      oref_ptr<Referenced> _userData


      @@ -224,7 +224,7 @@ forcing all nodes to be created on the heap i.e Node* node Matrix
      Image
      Drawable
      -ConvexPlanerOccluder
      +ConvexPlanarOccluder
      Array
      diff --git a/doc/doc++/osg/OccluderNode.html b/doc/doc++/osg/OccluderNode.html index 140ce79b5..5b53c536a 100644 --- a/doc/doc++/osg/OccluderNode.html +++ b/doc/doc++/osg/OccluderNode.html @@ -23,33 +23,33 @@

      Public Methods

      -[more] OccluderNode() +[more] OccluderNode()
      -[more] OccluderNode(const OccluderNode&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] OccluderNode(const OccluderNode&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy
      -[more] META_Node(osg, OccluderNode) +[more] META_Node(osg, OccluderNode)
      -[more]void setOccluder(ConvexPlanerOccluder* occluder) -
      Attach a ConvexPlanerOccluder to an OccluderNode +[more]void setOccluder(ConvexPlanarOccluder* occluder) +
      Attach a ConvexPlanarOccluder to an OccluderNode
      -[more]ConvexPlanerOccluder* getOccluder() -
      Get the ConvexPlanerOccluder* attached to a OccluderNode. +[more]ConvexPlanarOccluder* getOccluder() +
      Get the ConvexPlanarOccluder* attached to a OccluderNode.
      -[more]const ConvexPlanerOccluder* getOccluder() const -
      Get the const ConvexPlanerOccluder* attached to a OccluderNode +[more]const ConvexPlanarOccluder* getOccluder() const +
      Get the const ConvexPlanarOccluder* attached to a OccluderNode

      Protected Fields

      -[more]ref_ptr<ConvexPlanerOccluder> _occluder +[more]ref_ptr<ConvexPlanarOccluder> _occluder

      Protected Methods

      -[more]virtual ~OccluderNode() +[more]virtual ~OccluderNode()
      -[more]virtual const bool computeBound() const +[more]virtual const bool computeBound() const
      Override's Group's computeBound

      @@ -96,45 +96,45 @@ to represent the different states of a traffic light.
      - +
      o OccluderNode()

      - -

      o OccluderNode(const OccluderNode&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
      o OccluderNode(const OccluderNode&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy

      - +

      o META_Node(osg, OccluderNode)

      - -

      ovoid setOccluder(ConvexPlanerOccluder* occluder) -
      Attach a ConvexPlanerOccluder to an OccluderNode + +
      ovoid setOccluder(ConvexPlanarOccluder* occluder) +
      Attach a ConvexPlanarOccluder to an OccluderNode

      - -

      oConvexPlanerOccluder* getOccluder() -
      Get the ConvexPlanerOccluder* attached to a OccluderNode. + +
      oConvexPlanarOccluder* getOccluder() +
      Get the ConvexPlanarOccluder* attached to a OccluderNode.

      - -

      oconst ConvexPlanerOccluder* getOccluder() const -
      Get the const ConvexPlanerOccluder* attached to a OccluderNode + +
      oconst ConvexPlanarOccluder* getOccluder() const +
      Get the const ConvexPlanarOccluder* attached to a OccluderNode

      - +

      ovirtual ~OccluderNode()

      - +

      ovirtual const bool computeBound() const
      Override's Group's computeBound

      - -

      oref_ptr<ConvexPlanerOccluder> _occluder + +
      oref_ptr<ConvexPlanarOccluder> _occluder


      This class has no child classes.
      diff --git a/doc/doc++/osg/Plane.html b/doc/doc++/osg/Plane.html index 60c5071c0..b71fde251 100644 --- a/doc/doc++/osg/Plane.html +++ b/doc/doc++/osg/Plane.html @@ -13,76 +13,76 @@

      Public Methods

      -[more]inline Plane() +[more]inline Plane()
      -[more]inline Plane(const Plane& pl) +[more]inline Plane(const Plane& pl)
      -[more]inline Plane(const float a, const float b, const float c, const float d) +[more]inline Plane(const float a, const float b, const float c, const float d)
      -[more]inline Plane(const Vec4& vec) +[more]inline Plane(const Vec4& vec)
      -[more]inline Plane(const Vec3& norm, const float d) +[more]inline Plane(const Vec3& norm, const float d)
      -[more]inline Plane(const Vec3& v1, const Vec3& v2, const Vec3& v3) +[more]inline Plane(const Vec3& v1, const Vec3& v2, const Vec3& v3)
      -[more]inline Plane& operator = (const Plane& pl) +[more]inline Plane& operator = (const Plane& pl)
      -[more]inline void set(const Plane& pl) +[more]inline void set(const Plane& pl)
      -[more]inline void set(const float a, const float b, const float c, const float d) +[more]inline void set(const float a, const float b, const float c, const float d)
      -[more]inline void set(const Vec4& vec) +[more]inline void set(const Vec4& vec)
      -[more]inline void set(const Vec3& norm, const float d) +[more]inline void set(const Vec3& norm, const float d)
      -[more]inline void set(const Vec3& v1, const Vec3& v2, const Vec3& v3) +[more]inline void set(const Vec3& v1, const Vec3& v2, const Vec3& v3)
      -[more]inline void flip() +[more]inline void flip()
      flip/reverse the orientation of the plane
      -[more]inline void makeUnitLength() +[more]inline void makeUnitLength()
      -[more]inline void calculateUpperLowerBBCorners() +[more]inline void calculateUpperLowerBBCorners()
      calculate the upper and lower bounding box corners to be used in the intersect(BoundingBox&) method for speeding calculations
      -[more]inline const bool valid() const +[more]inline const bool valid() const
      -[more]inline Vec4& asVec4() +[more]inline Vec4& asVec4()
      -[more]inline const Vec4& asVec4() const +[more]inline const Vec4& asVec4() const
      -[more]inline float& operator [] (const int i) +[more]inline float& operator [] (const int i)
      -[more]inline float operator [] (const int i) const +[more]inline float operator [] (const int i) const
      -[more]inline osg::Vec3 getNormal() +[more]inline osg::Vec3 getNormal()
      -[more]inline const float distance(const osg::Vec3& v) const +[more]inline const float distance(const osg::Vec3& v) const
      calculate the distance between a point and the plane
      -[more]inline const int intersect(const std::vector<Vec3>& vertices) const +[more]inline const int intersect(const std::vector<Vec3>& vertices) const
      intersection test between plane and vertex list return 1 if the bs is completely above plane, return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane
      -[more]inline const int intersect(const BoundingSphere& bs) const +[more]inline const int intersect(const BoundingSphere& bs) const
      intersection test between plane and bounding sphere.
      -[more]inline const int intersect(const BoundingBox& bb) const +[more]inline const int intersect(const BoundingBox& bb) const
      intersection test between plane and bounding sphere.
      -[more]inline void transform(const osg::Matrix& matrix) +[more]inline void transform(const osg::Matrix& matrix)
      Transform the plane by matrix.
      -[more]inline void transformProvidingInverse(const osg::Matrix& matrix) +[more]inline void transformProvidingInverse(const osg::Matrix& matrix)
      Transform the plane by provide a pre inverted matrix.

      Protected Fields

      -[more]Vec4 _fv +[more]Vec4 _fv
      -[more]unsigned int _upperBBCorner +[more]unsigned int _upperBBCorner
      -[more]unsigned int _lowerBBCorner +[more]unsigned int _lowerBBCorner

      @@ -94,99 +94,99 @@
      - +
      oinline Plane()

      - -

      oinline Plane(const Plane& pl) + +
      oinline Plane(const Plane& pl)

      - -

      oinline Plane(const float a, const float b, const float c, const float d) + +
      oinline Plane(const float a, const float b, const float c, const float d)

      - +

      oinline Plane(const Vec4& vec)

      - +

      oinline Plane(const Vec3& norm, const float d)

      - +

      oinline Plane(const Vec3& v1, const Vec3& v2, const Vec3& v3)

      - +

      oinline Plane& operator = (const Plane& pl)

      - +

      oinline void set(const Plane& pl)

      - -

      oinline void set(const float a, const float b, const float c, const float d) + +
      oinline void set(const float a, const float b, const float c, const float d)

      - +

      oinline void set(const Vec4& vec)

      - +

      oinline void set(const Vec3& norm, const float d)

      - +

      oinline void set(const Vec3& v1, const Vec3& v2, const Vec3& v3)

      - +

      oinline void flip()
      flip/reverse the orientation of the plane

      - +

      oinline void makeUnitLength()

      - +

      oinline void calculateUpperLowerBBCorners()
      calculate the upper and lower bounding box corners to be used in the intersect(BoundingBox&) method for speeding calculations

      - +

      oinline const bool valid() const

      - +

      oinline Vec4& asVec4()

      - +

      oinline const Vec4& asVec4() const

      - +

      oinline float& operator [] (const int i)

      - +

      oinline float operator [] (const int i) const

      - +

      oinline osg::Vec3 getNormal()

      - +

      oinline const float distance(const osg::Vec3& v) const
      calculate the distance between a point and the plane

      - +

      oinline const int intersect(const std::vector<Vec3>& vertices) const
      intersection test between plane and vertex list return 1 if the bs is completely above plane, @@ -194,7 +194,7 @@ return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane

      - +

      oinline const int intersect(const BoundingSphere& bs) const
      intersection test between plane and bounding sphere. return 1 if the bs is completely above plane, @@ -202,7 +202,7 @@ return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane.

      - +

      oinline const int intersect(const BoundingBox& bb) const
      intersection test between plane and bounding sphere. return 1 if the bs is completely above plane, @@ -210,7 +210,7 @@ return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane.

      - +

      oinline void transform(const osg::Matrix& matrix)
      Transform the plane by matrix. Note, this operations carries out the calculation of the inverse of the matrix since to transforms @@ -220,21 +220,21 @@ calculated elsewhere then use transformProvidingInverse() instead. See http://www.worldserver.com/turk/computergraphics/NormalTransformations.pdf

      - +

      oinline void transformProvidingInverse(const osg::Matrix& matrix)
      Transform the plane by provide a pre inverted matrix. see transform for details.

      - +

      oVec4 _fv

      - +

      ounsigned int _upperBBCorner

      - +

      ounsigned int _lowerBBCorner

      diff --git a/doc/doc++/osg/Point.html b/doc/doc++/osg/Point.html index 93c83d476..b8b03cc56 100644 --- a/doc/doc++/osg/Point.html +++ b/doc/doc++/osg/Point.html @@ -23,47 +23,47 @@

      Public Methods

      -[more] Point() +[more] Point()
      -[more] Point(const Point& point, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Point(const Point& point, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy
      -[more] META_StateAttribute(osg, Point, POINT) +[more] META_StateAttribute(osg, Point, POINT)
      -[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
      -[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
      -[more]void setSize(const float size) +[more]void setSize(const float size)
      -[more]inline const float getSize() const +[more]inline const float getSize() const
      -[more]void setFadeThresholdSize(const float fadeThresholdSize) +[more]void setFadeThresholdSize(const float fadeThresholdSize)
      -[more]inline const float getFadeThresholdSize() const +[more]inline const float getFadeThresholdSize() const
      -[more]void setDistanceAttenuation(const Vec3& distanceAttenuation) +[more]void setDistanceAttenuation(const Vec3& distanceAttenuation)
      -[more]inline const Vec3& getDistanceAttenuation() const +[more]inline const Vec3& getDistanceAttenuation() const
      -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const
      -[more]static void init_GL_EXT() +[more]static void init_GL_EXT()

      Protected Fields

      -[more]float _size +[more]float _size
      -[more]float _fadeThresholdSize +[more]float _fadeThresholdSize
      -[more]Vec3 _distanceAttenuation +[more]Vec3 _distanceAttenuation

      Protected Methods

      -[more]virtual ~Point() +[more]virtual ~Point()

      @@ -81,7 +81,7 @@
      ovirtual const char* className() const
      -ovirtual const Type getType() const +ovirtual const Type getType() const
      ovirtual bool isTextureAttribute() const
      @@ -114,9 +114,9 @@

      Public Methods

      -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
      -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
      oinline void setUserData(Referenced* obj)
      @@ -132,7 +132,7 @@

      Protected Fields

      -oDataVariance _dataVariance +oDataVariance _dataVariance
      oref_ptr<Referenced> _userData

      @@ -167,73 +167,73 @@
      - +
      o Point()

      - -

      o Point(const Point& point, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
      o Point(const Point& point, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy

      - -

      o META_StateAttribute(osg, Point, POINT) + +
      o META_StateAttribute(osg, Point, POINT)

      - +

      ovirtual int compare(const StateAttribute& sa) const
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

      - -

      ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const + +
      ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

      - -

      ovoid setSize(const float size) + +
      ovoid setSize(const float size)

      - +

      oinline const float getSize() const

      - +

      ovoid setFadeThresholdSize(const float fadeThresholdSize)

      - +

      oinline const float getFadeThresholdSize() const

      - +

      ovoid setDistanceAttenuation(const Vec3& distanceAttenuation)

      - +

      oinline const Vec3& getDistanceAttenuation() const

      - +

      ovirtual void apply(State& state) const

      - +

      ostatic void init_GL_EXT()

      - +

      ovirtual ~Point()

      - +

      ofloat _size

      - +

      ofloat _fadeThresholdSize

      - +

      oVec3 _distanceAttenuation

      diff --git a/doc/doc++/osg/PolygonMode.html b/doc/doc++/osg/PolygonMode.html index d10143f58..2cc60bae6 100644 --- a/doc/doc++/osg/PolygonMode.html +++ b/doc/doc++/osg/PolygonMode.html @@ -23,44 +23,44 @@

      Public Methods

      -[more] PolygonMode() +[more] PolygonMode()
      -[more] PolygonMode(const PolygonMode& pm, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] PolygonMode(const PolygonMode& pm, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy
      -[more] META_StateAttribute(osg, PolygonMode, POLYGONMODE) +[more] META_StateAttribute(osg, PolygonMode, POLYGONMODE)
      -[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
      -[more]void setMode(const Face face, const Mode mode) +[more]void setMode(const Face face, const Mode mode)
      -[more]const Mode getMode(const Face face) const +[more]const Mode getMode(const Face face) const
      -[more]inline const bool getFrontAndBack() const +[more]inline const bool getFrontAndBack() const
      -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

      Public Members

      -[more]enum Face +[more]enum Face
      -[more]enum Mode +[more]enum Mode

      Protected Fields

      -[more]bool _frontAndBack +[more]bool _frontAndBack
      -[more]Mode _modeFront +[more]Mode _modeFront
      -[more]Mode _modeBack +[more]Mode _modeBack

      Protected Methods

      -[more]virtual ~PolygonMode() +[more]virtual ~PolygonMode()

      @@ -78,7 +78,7 @@
      ovirtual const char* className() const
      -ovirtual const Type getType() const +ovirtual const Type getType() const
      ovirtual bool isTextureAttribute() const
      @@ -88,7 +88,7 @@
      obool operator != (const StateAttribute& rhs) const
      -ovirtual void getAssociatedModes(std::vector<GLMode>& ) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
      ovirtual void compile(State&) const

      @@ -113,9 +113,9 @@

      Public Methods

      -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
      -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
      oinline void setUserData(Referenced* obj)
      @@ -131,7 +131,7 @@

      Protected Fields

      -oDataVariance _dataVariance +oDataVariance _dataVariance
      oref_ptr<Referenced> _userData

      @@ -166,90 +166,90 @@
      - +
      o PolygonMode()

      - -

      o PolygonMode(const PolygonMode& pm, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
      o PolygonMode(const PolygonMode& pm, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy

      - -

      o META_StateAttribute(osg, PolygonMode, POLYGONMODE) + +
      o META_StateAttribute(osg, PolygonMode, POLYGONMODE)

      - +

      ovirtual int compare(const StateAttribute& sa) const
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

      - +

      oenum Face

      - +
      o FRONT

      - +

      o BACK

      - +

      o FRONT_AND_BACK

      - +
      oenum Mode

      - +
      o POINT

      - +

      o LINE

      - +

      o FILL

      - -
      ovoid setMode(const Face face, const Mode mode) + +
      ovoid setMode(const Face face, const Mode mode)

      - -

      oconst Mode getMode(const Face face) const + +
      oconst Mode getMode(const Face face) const

      - +

      oinline const bool getFrontAndBack() const

      - +

      ovirtual void apply(State& state) const

      - +

      ovirtual ~PolygonMode()

      - +

      obool _frontAndBack

      - -

      oMode _modeFront + +
      oMode _modeFront

      - -

      oMode _modeBack + +
      oMode _modeBack


      This class has no child classes.
      diff --git a/doc/doc++/osg/PolygonOffset.html b/doc/doc++/osg/PolygonOffset.html index 8b1e4a0bd..c85f29730 100644 --- a/doc/doc++/osg/PolygonOffset.html +++ b/doc/doc++/osg/PolygonOffset.html @@ -23,39 +23,39 @@

      Public Methods

      -[more] PolygonOffset() +[more] PolygonOffset()
      -[more] PolygonOffset(const PolygonOffset& po, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] PolygonOffset(const PolygonOffset& po, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy
      -[more] META_StateAttribute(osg, PolygonOffset, POLYGONOFFSET) +[more] META_StateAttribute(osg, PolygonOffset, POLYGONOFFSET)
      -[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
      -[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
      -[more]inline void setFactor(const float factor) +[more]inline void setFactor(const float factor)
      -[more]inline const float getFactor() const +[more]inline const float getFactor() const
      -[more]inline void setUnits(const float units) +[more]inline void setUnits(const float units)
      -[more]inline const float getUnits() const +[more]inline const float getUnits() const
      -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

      Protected Fields

      -[more]float _factor +[more]float _factor
      -[more]float _units +[more]float _units

      Protected Methods

      -[more]virtual ~PolygonOffset() +[more]virtual ~PolygonOffset()

      @@ -73,7 +73,7 @@
      ovirtual const char* className() const
      -ovirtual const Type getType() const +ovirtual const Type getType() const
      ovirtual bool isTextureAttribute() const
      @@ -106,9 +106,9 @@

      Public Methods

      -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
      -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
      oinline void setUserData(Referenced* obj)
      @@ -124,7 +124,7 @@

      Protected Fields

      -oDataVariance _dataVariance +oDataVariance _dataVariance
      oref_ptr<Referenced> _userData

      @@ -159,57 +159,57 @@
      - +
      o PolygonOffset()

      - -

      o PolygonOffset(const PolygonOffset& po, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
      o PolygonOffset(const PolygonOffset& po, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy

      - -

      o META_StateAttribute(osg, PolygonOffset, POLYGONOFFSET) + +
      o META_StateAttribute(osg, PolygonOffset, POLYGONOFFSET)

      - +

      ovirtual int compare(const StateAttribute& sa) const
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

      - -

      ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const + +
      ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

      - +

      oinline void setFactor(const float factor)

      - +

      oinline const float getFactor() const

      - +

      oinline void setUnits(const float units)

      - +

      oinline const float getUnits() const

      - +

      ovirtual void apply(State& state) const

      - +

      ovirtual ~PolygonOffset()

      - +

      ofloat _factor

      - +

      ofloat _units

      diff --git a/doc/doc++/osg/Polytope.html b/doc/doc++/osg/Polytope.html index a674dd483..5e25a55a8 100644 --- a/doc/doc++/osg/Polytope.html +++ b/doc/doc++/osg/Polytope.html @@ -13,93 +13,93 @@

      Public Methods

      -[more]typedef fast_back_stack<ClippingMask>inline MaskStack Polytope() +[more]typedef fast_back_stack<ClippingMask>inline MaskStack Polytope()
      -[more]inline Polytope(const Polytope& cv) +[more]inline Polytope(const Polytope& cv)
      -[more]inline Polytope(const PlaneList& pl) +[more]inline Polytope(const PlaneList& pl)
      -[more]inline ~Polytope() +[more]inline ~Polytope()
      -[more]inline void clear() +[more]inline void clear()
      -[more]inline Polytope& operator = (const Polytope& cv) +[more]inline Polytope& operator = (const Polytope& cv)
      -[more]void setToUnitFrustum(bool withNear=true, bool withFar=true) +[more]void setToUnitFrustum(bool withNear=true, bool withFar=true)
      Create a Polytope with is cube, centered at 0,0,0, with sides of 2 units
      -[more]inline void set(const PlaneList& pl) +[more]inline void set(const PlaneList& pl)
      -[more]inline void add(const osg::Plane& pl) +[more]inline void add(const osg::Plane& pl)
      -[more]inline void flip() +[more]inline void flip()
      flip/reverse the orientation of all the planes
      -[more]inline PlaneList& getPlaneList() +[more]inline PlaneList& getPlaneList()
      -[more]inline const PlaneList& getPlaneList() const +[more]inline const PlaneList& getPlaneList() const
      -[more]inline void setReferenceVertexList(VertexList& vertices) +[more]inline void setReferenceVertexList(VertexList& vertices)
      -[more]inline VertexList& getReferenceVertexList() +[more]inline VertexList& getReferenceVertexList()
      -[more]inline const VertexList& getReferenceVertexList() const +[more]inline const VertexList& getReferenceVertexList() const
      -[more]inline void setupMask() +[more]inline void setupMask()
      -[more]inline ClippingMask& getCurrentMask() +[more]inline ClippingMask& getCurrentMask()
      -[more]inline ClippingMask getCurrentMask() const +[more]inline ClippingMask getCurrentMask() const
      -[more]inline void setResultMask(ClippingMask mask) +[more]inline void setResultMask(ClippingMask mask)
      -[more]inline ClippingMask getResultMask() const +[more]inline ClippingMask getResultMask() const
      -[more]MaskStack& getMaskStack() +[more]MaskStack& getMaskStack()
      -[more]const MaskStack& getMaskStack() const +[more]const MaskStack& getMaskStack() const
      -[more]inline void pushCurrentMask() +[more]inline void pushCurrentMask()
      -[more]inline void popCurrentMask() +[more]inline void popCurrentMask()
      -[more]inline const bool contains(const osg::Vec3& v) const +[more]inline const bool contains(const osg::Vec3& v) const
      Check whether a vertex is contained with clipping set
      -[more]inline const bool contains(const std::vector<Vec3>& vertices) +[more]inline const bool contains(const std::vector<Vec3>& vertices)
      Check whether any part of vertex list is contained with clipping set
      -[more]inline const bool contains(const osg::BoundingSphere& bs) +[more]inline const bool contains(const osg::BoundingSphere& bs)
      Check whether any part of a bounding sphere is contained within clipping set.
      -[more]inline const bool contains(const osg::BoundingBox& bb) +[more]inline const bool contains(const osg::BoundingBox& bb)
      Check whether any part of a bounding box is contained within clipping set.
      -[more]inline const bool containsAllOf(const std::vector<Vec3>& vertices) +[more]inline const bool containsAllOf(const std::vector<Vec3>& vertices)
      Check whether all of vertex list is contained with clipping set
      -[more]inline const bool containsAllOf(const osg::BoundingSphere& bs) +[more]inline const bool containsAllOf(const osg::BoundingSphere& bs)
      Check whether the entire bounding sphere is contained within clipping set
      -[more]inline const bool containsAllOf(const osg::BoundingBox& bb) +[more]inline const bool containsAllOf(const osg::BoundingBox& bb)
      Check whether the entire bounding box is contained within clipping set
      -[more]inline void transform(const osg::Matrix& matrix) +[more]inline void transform(const osg::Matrix& matrix)
      Transform the clipping set by matrix.
      -[more]inline void transformProvidingInverse(const osg::Matrix& matrix) +[more]inline void transformProvidingInverse(const osg::Matrix& matrix)
      Transform the clipping set by provide a pre inverted matrix.

      Protected Fields

      -[more]MaskStack _maskStack +[more]MaskStack _maskStack
      -[more]ClippingMask _resultMask +[more]ClippingMask _resultMask
      -[more]PlaneList _planeList +[more]PlaneList _planeList
      -[more]VertexList _referenceVertexList +[more]VertexList _referenceVertexList

      @@ -112,115 +112,115 @@ When adding planes, their normals should point inwards (into the volume) - +
      otypedef fast_back_stack<ClippingMask>inline MaskStack Polytope()

      - -

      oinline Polytope(const Polytope& cv) + +
      oinline Polytope(const Polytope& cv)

      - +

      oinline Polytope(const PlaneList& pl)

      - +

      oinline ~Polytope()

      - +

      oinline void clear()

      - +

      oinline Polytope& operator = (const Polytope& cv)

      - +

      ovoid setToUnitFrustum(bool withNear=true, bool withFar=true)
      Create a Polytope with is cube, centered at 0,0,0, with sides of 2 units

      - +

      oinline void set(const PlaneList& pl)

      - +

      oinline void add(const osg::Plane& pl)

      - +

      oinline void flip()
      flip/reverse the orientation of all the planes

      - +

      oinline PlaneList& getPlaneList()

      - +

      oinline const PlaneList& getPlaneList() const

      - +

      oinline void setReferenceVertexList(VertexList& vertices)

      - +

      oinline VertexList& getReferenceVertexList()

      - +

      oinline const VertexList& getReferenceVertexList() const

      - +

      oinline void setupMask()

      - +

      oinline ClippingMask& getCurrentMask()

      - +

      oinline ClippingMask getCurrentMask() const

      - +

      oinline void setResultMask(ClippingMask mask)

      - +

      oinline ClippingMask getResultMask() const

      - +

      oMaskStack& getMaskStack()

      - +

      oconst MaskStack& getMaskStack() const

      - +

      oinline void pushCurrentMask()

      - +

      oinline void popCurrentMask()

      - +

      oinline const bool contains(const osg::Vec3& v) const
      Check whether a vertex is contained with clipping set

      - +

      oinline const bool contains(const std::vector<Vec3>& vertices)
      Check whether any part of vertex list is contained with clipping set

      - +

      oinline const bool contains(const osg::BoundingSphere& bs)
      Check whether any part of a bounding sphere is contained within clipping set. Using a mask to determine which planes should be used for the check, and @@ -229,7 +229,7 @@ of any internal objects. This feature is used in osgUtil::CullVisitor to prevent redundant plane checking.

      - +

      oinline const bool contains(const osg::BoundingBox& bb)
      Check whether any part of a bounding box is contained within clipping set. Using a mask to determine which planes should be used for the check, and @@ -238,22 +238,22 @@ of any internal objects. This feature is used in osgUtil::CullVisitor to prevent redundant plane checking.

      - +

      oinline const bool containsAllOf(const std::vector<Vec3>& vertices)
      Check whether all of vertex list is contained with clipping set

      - +

      oinline const bool containsAllOf(const osg::BoundingSphere& bs)
      Check whether the entire bounding sphere is contained within clipping set

      - +

      oinline const bool containsAllOf(const osg::BoundingBox& bb)
      Check whether the entire bounding box is contained within clipping set

      - +

      oinline void transform(const osg::Matrix& matrix)
      Transform the clipping set by matrix. Note, this operations carries out the calculation of the inverse of the matrix since to transforms @@ -263,25 +263,25 @@ calculated elsewhere then use transformProvidingInverse() instead. See http://www.worldserver.com/turk/computergraphics/NormalTransformations.pdf

      - +

      oinline void transformProvidingInverse(const osg::Matrix& matrix)
      Transform the clipping set by provide a pre inverted matrix. see transform for details.

      - +

      oMaskStack _maskStack

      - +

      oClippingMask _resultMask

      - +

      oPlaneList _planeList

      - +

      oVertexList _referenceVertexList

      diff --git a/doc/doc++/osg/PositionAttitudeTransform.html b/doc/doc++/osg/PositionAttitudeTransform.html index ea192f462..9b8d713a2 100644 --- a/doc/doc++/osg/PositionAttitudeTransform.html +++ b/doc/doc++/osg/PositionAttitudeTransform.html @@ -7,7 +7,7 @@ -

      class SG_EXPORT osg::PositionAttitudeTransform

      PositionAttitideTransform - is Transfrom the set the coordinates transform up via a Vec3 position and Quat attitude
      +

      class SG_EXPORT osg::PositionAttitudeTransform

      PositionAttitideTransform - is Transform the set the coordinates transform up via a Vec3 position and Quat attitude

      Inheritance:

      @@ -23,30 +23,42 @@

      Public Methods

      -[more] PositionAttitudeTransform() +[more] PositionAttitudeTransform()
      -[more] PositionAttitudeTransform(const PositionAttitudeTransform& pat, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] PositionAttitudeTransform(const PositionAttitudeTransform& pat, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      -[more] META_Node(osg, PositionAttitudeTransform) +[more] META_Node(osg, PositionAttitudeTransform)
      -[more]void setPosition(const Vec3& pos) +[more]void setPosition(const Vec3& pos)
      -[more]const Vec3& getPosition() const +[more]const Vec3& getPosition() const
      -[more]void setAttitude(const Quat& quat) +[more]void setAttitude(const Quat& quat)
      -[more]const Quat& getAttitude() const +[more]const Quat& getAttitude() const
      -[more]virtual const bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const +[more]void setPivotPoint(const Vec3& pivot)
      -[more]virtual const bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const +[more]const Vec3& getPivotPoint() const +
      +[more]virtual const bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const +
      +[more]virtual const bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const +

      + +

      +

      Public Members

      +class SG_EXPORT AnimationPathCallback: public NodeCallback +
      Callback which can be attached to a PositionAttitudeTransform as an app callback to allow it to follow the path defined by a AnimationPath

      Protected Fields

      -[more]Vec3 _position +[more]Vec3 _position
      -[more]Quat _attitude +[more]Quat _attitude +
      +[more]Vec3 _pivotPoint

      @@ -54,27 +66,19 @@

      Public Methods

      -ovoid setReferenceFrame(ReferenceFrame rf) +ovoid setReferenceFrame(ReferenceFrame rf)
      -oconst ReferenceFrame getReferenceFrame() const +oconst ReferenceFrame getReferenceFrame() const
      -ovoid setComputeTransformCallback(ComputeTransformCallback* ctc) +ovoid setComputeTransformCallback(ComputeTransformCallback* ctc)
      -oComputeTransformCallback* getComputeTransformCallback() +oComputeTransformCallback* getComputeTransformCallback()
      -oconst ComputeTransformCallback* getComputeTransformCallback() const +oconst ComputeTransformCallback* getComputeTransformCallback() const
      oinline const bool getLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const
      oinline const bool getWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const -
      -ovoid setMatrix(const Matrix& mat) -
      -oinline const Matrix& getMatrix() const -
      -ovoid preMult(const Matrix& mat) -
      -ovoid postMult(const Matrix& mat)

      @@ -86,22 +90,14 @@

      Protected Fields

      -oref_ptr<ComputeTransformCallback> _computeTransformCallback +oref_ptr<ComputeTransformCallback> _computeTransformCallback
      -oReferenceFrame _referenceFrame -
      -oref_ptr<Matrix> _deprecated_matrix -
      -omutable ref_ptr<Matrix> _deprecated_inverse -
      -omutable bool _deprecated_inverseDirty +oReferenceFrame _referenceFrame

      Protected Methods

      ovirtual const bool computeBound() const -
      -oinline void computeInverse() const

      @@ -140,53 +136,65 @@

      Documentation

      -
      PositionAttitideTransform - is Transfrom the set the coordinates transform +
      PositionAttitideTransform - is Transform the set the coordinates transform up via a Vec3 position and Quat attitude
      - +
      o PositionAttitudeTransform()

      - -

      o PositionAttitudeTransform(const PositionAttitudeTransform& pat, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
      o PositionAttitudeTransform(const PositionAttitudeTransform& pat, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

      - +

      o META_Node(osg, PositionAttitudeTransform)

      - +

      ovoid setPosition(const Vec3& pos)

      - +

      oconst Vec3& getPosition() const

      - +

      ovoid setAttitude(const Quat& quat)

      - +

      oconst Quat& getAttitude() const

      + + +

      ovoid setPivotPoint(const Vec3& pivot) +

      + + +

      oconst Vec3& getPivotPoint() const +

      - +

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

      - +

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

      - +

      oVec3 _position

      - +

      oQuat _attitude +

      + + +

      oVec3 _pivotPoint


      This class has no child classes.
      diff --git a/doc/doc++/osg/Primitive.html b/doc/doc++/osg/Primitive.html index 3527e6133..b01ef8aa5 100644 --- a/doc/doc++/osg/Primitive.html +++ b/doc/doc++/osg/Primitive.html @@ -22,41 +22,41 @@

      Public Methods

      -[more] Primitive(Type primType=PrimitiveType, GLenum mode=0) +[more] Primitive(Type primType=PrimitiveType, GLenum mode=0)
      -[more] Primitive(const Primitive& prim, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Primitive(const Primitive& prim, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      -[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
      -[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
      -[more]virtual const char* className() const +[more]virtual const char* className() const
      -[more]Type getType() const +[more]Type getType() const
      -[more]void setMode(GLenum mode) +[more]void setMode(GLenum mode)
      -[more]GLenum getMode() const +[more]GLenum getMode() const
      -[more]virtual void draw() const = 0 +[more]virtual void draw() const = 0
      -[more]virtual void accept(Drawable::PrimitiveFunctor&) +[more]virtual void accept(Drawable::PrimitiveFunctor&)
      -[more]virtual void offsetIndices(int offset) = 0 +[more]virtual void offsetIndices(int offset) = 0

      Public Members

      -[more]enum Type +[more]enum Type
      -[more]enum Mode +[more]enum Mode

      Protected Fields

      -[more]Type _primitiveType +[more]Type _primitiveType
      -[more]GLenum _mode +[more]GLenum _mode

      @@ -68,9 +68,9 @@
      ovirtual Object* clone(const CopyOp&) const
      -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
      -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
      oinline void setUserData(Referenced* obj)
      @@ -86,7 +86,7 @@

      Protected Fields

      -oDataVariance _dataVariance +oDataVariance _dataVariance
      oref_ptr<Referenced> _userData

      @@ -120,131 +120,131 @@
      - +
      oenum Type

      - +
      o PrimitiveType

      - +

      o DrawArraysPrimitiveType

      - +

      o DrawArrayLengthsPrimitiveType

      - +

      o DrawElementsUBytePrimitiveType

      - +

      o DrawElementsUShortPrimitiveType

      - +

      o DrawElementsUIntPrimitiveType

      - +
      oenum Mode

      - +
      o POINTS

      - +

      o LINES

      - +

      o LINE_STRIP

      - +

      o LINE_LOOP

      - +

      o TRIANGLES

      - +

      o TRIANGLE_STRIP

      - +

      o TRIANGLE_FAN

      - +

      o QUADS

      - +

      o QUAD_STRIP

      - +

      o POLYGON

      - -
      o Primitive(Type primType=PrimitiveType, GLenum mode=0) + +
      o Primitive(Type primType=PrimitiveType, GLenum mode=0)

      - -

      o Primitive(const Primitive& prim, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
      o Primitive(const Primitive& prim, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

      - +

      ovirtual bool isSameKindAs(const Object* obj) const

      - +

      ovirtual const char* libraryName() const

      - +

      ovirtual const char* className() const

      - -

      oType getType() const + +
      oType getType() const

      - +

      ovoid setMode(GLenum mode)

      - +

      oGLenum getMode() const

      - +

      ovirtual void draw() const = 0

      - +

      ovirtual void accept(Drawable::PrimitiveFunctor&)

      - +

      ovirtual void offsetIndices(int offset) = 0

      - -

      oType _primitiveType + +
      oType _primitiveType

      - +

      oGLenum _mode


      diff --git a/doc/doc++/osg/PrimitiveFunctor.html b/doc/doc++/osg/PrimitiveFunctor.html index f0d897d80..0048ca4db 100644 --- a/doc/doc++/osg/PrimitiveFunctor.html +++ b/doc/doc++/osg/PrimitiveFunctor.html @@ -22,25 +22,25 @@

      Public Methods

      -[more]virtual ~PrimitiveFunctor() +[more]virtual ~PrimitiveFunctor()
      -[more]virtual void setVertexArray(unsigned int count, Vec3* vertices) = 0 +[more]virtual void setVertexArray(unsigned int count, Vec3* vertices) = 0
      -[more]virtual void drawArrays(GLenum mode, GLint first, GLsizei count) = 0 +[more]virtual void drawArrays(GLenum mode, GLint first, GLsizei count) = 0
      -[more]virtual void drawElements(GLenum mode, GLsizei count, GLubyte* indices) = 0 +[more]virtual void drawElements(GLenum mode, GLsizei count, GLubyte* indices) = 0
      -[more]virtual void drawElements(GLenum mode, GLsizei count, GLushort* indices) = 0 +[more]virtual void drawElements(GLenum mode, GLsizei count, GLushort* indices) = 0
      -[more]virtual void drawElements(GLenum mode, GLsizei count, GLuint* indices) = 0 +[more]virtual void drawElements(GLenum mode, GLsizei count, GLuint* indices) = 0
      -[more]virtual void begin(GLenum mode) = 0 +[more]virtual void begin(GLenum mode) = 0
      -[more]virtual void vertex(const Vec3& vert) = 0 +[more]virtual void vertex(const Vec3& vert) = 0
      -[more]virtual void vertex(float x, float y, float z) = 0 +[more]virtual void vertex(float x, float y, float z) = 0
      -[more]virtual void end() = 0 +[more]virtual void end() = 0

      @@ -51,43 +51,43 @@
      - +
      ovirtual ~PrimitiveFunctor()

      - +

      ovirtual void setVertexArray(unsigned int count, Vec3* vertices) = 0

      - -

      ovirtual void drawArrays(GLenum mode, GLint first, GLsizei count) = 0 + +
      ovirtual void drawArrays(GLenum mode, GLint first, GLsizei count) = 0

      - +

      ovirtual void drawElements(GLenum mode, GLsizei count, GLubyte* indices) = 0

      - +

      ovirtual void drawElements(GLenum mode, GLsizei count, GLushort* indices) = 0

      - +

      ovirtual void drawElements(GLenum mode, GLsizei count, GLuint* indices) = 0

      - +

      ovirtual void begin(GLenum mode) = 0

      - +

      ovirtual void vertex(const Vec3& vert) = 0

      - -

      ovirtual void vertex(float x, float y, float z) = 0 + +
      ovirtual void vertex(float x, float y, float z) = 0

      - +

      ovirtual void end() = 0


      diff --git a/doc/doc++/osg/Projection.html b/doc/doc++/osg/Projection.html index 6481042e3..943348848 100644 --- a/doc/doc++/osg/Projection.html +++ b/doc/doc++/osg/Projection.html @@ -23,36 +23,36 @@

      Public Methods

      -[more] Projection() +[more] Projection()
      -[more] Projection(const Projection&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Projection(const Projection&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy
      -[more] Projection(const Matrix& matix) +[more] Projection(const Matrix& matix)
      -[more] META_Node(osg, Projection) +[more] META_Node(osg, Projection)
      -[more]void setMatrix(const Matrix& mat) +[more]void setMatrix(const Matrix& mat)
      Set the transform's matrix
      -[more]inline const Matrix& getMatrix() const +[more]inline const Matrix& getMatrix() const
      Get the transform's matrix.
      -[more]void preMult(const Matrix& mat) +[more]void preMult(const Matrix& mat)
      preMult transform
      -[more]void postMult(const Matrix& mat) +[more]void postMult(const Matrix& mat)
      postMult transform

      Protected Fields

      -[more]ref_ptr<Matrix> _matrix +[more]ref_ptr<Matrix> _matrix

      Protected Methods

      -[more]virtual ~Projection() +[more]virtual ~Projection()

      @@ -100,48 +100,48 @@
      - +
      o Projection()

      - -

      o Projection(const Projection&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
      o Projection(const Projection&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy

      - +

      o Projection(const Matrix& matix)

      - +

      o META_Node(osg, Projection)

      - +

      ovoid setMatrix(const Matrix& mat)
      Set the transform's matrix

      - +

      oinline const Matrix& getMatrix() const
      Get the transform's matrix.

      - +

      ovoid preMult(const Matrix& mat)
      preMult transform

      - +

      ovoid postMult(const Matrix& mat)
      postMult transform

      - +

      ovirtual ~Projection()

      - +

      oref_ptr<Matrix> _matrix

      diff --git a/doc/doc++/osg/Quat.html b/doc/doc++/osg/Quat.html index 8baaa132c..beaf57150 100644 --- a/doc/doc++/osg/Quat.html +++ b/doc/doc++/osg/Quat.html @@ -13,104 +13,123 @@

      Public Fields

      -[more]Vec4 _fv +[more]Vec4 _fv

      Public Methods

      -[more] Quat() +[more] Quat()
      -[more] Quat( float x, float y, float z, float w ) +[more] Quat( float x, float y, float z, float w )
      -[more] Quat( const Vec4& v ) +[more] Quat( const Vec4& v )
      -[more]inline Vec4& asVec4() +[more]inline Vec4& asVec4()
      -[more]inline const Vec4& asVec4() const +[more]inline const Vec4& asVec4() const
      -[more]inline const Vec3 asVec3() const +[more]inline const Vec3 asVec3() const
      -[more]inline void set(const float x, const float y, const float z, const float w) +[more]inline void set(const float x, const float y, const float z, const float w)
      -[more]inline void set(const osg::Vec4& v) +[more]inline void set(const osg::Vec4& v)
      -[more]inline const Quat operator * (const float rhs) const +[more]inline float& operator [] (int i) +
      +[more]inline float operator [] (int i) const +
      +[more]inline float& x() +
      +[more]inline float& y() +
      +[more]inline float& z() +
      +[more]inline float& w() +
      +[more]inline float x() const +
      +[more]inline float y() const +
      +[more]inline float z() const +
      +[more]inline float w() const +
      +[more]inline const Quat operator * (const float rhs) const
      Multiply by scalar
      -[more]inline Quat& operator *= (const float rhs) +[more]inline Quat& operator *= (const float rhs)
      Unary multiply by scalar
      -[more]inline const Quat operator*(const Quat& rhs) const +[more]inline const Quat operator*(const Quat& rhs) const
      Binary multiply
      -[more]inline Quat& operator*=(const Quat& rhs) +[more]inline Quat& operator*=(const Quat& rhs)
      Unary multiply
      -[more]inline const Quat operator / (const float& rhs) const +[more]inline const Quat operator / (const float& rhs) const
      Divide by scalar
      -[more]inline Quat& operator /= (const float& rhs) +[more]inline Quat& operator /= (const float& rhs)
      Unary divide by scalar
      -[more]inline const Quat operator/(const Quat& denom) const +[more]inline const Quat operator/(const Quat& denom) const
      Binary divide
      -[more]inline Quat& operator/=(const Quat& denom) +[more]inline Quat& operator/=(const Quat& denom)
      Unary divide
      -[more]inline const Quat operator + (const Quat& rhs) const +[more]inline const Quat operator + (const Quat& rhs) const
      Binary addition
      -[more]inline Quat& operator += (const Quat& rhs) +[more]inline Quat& operator += (const Quat& rhs)
      Unary addition
      -[more]inline const Quat operator - (const Quat& rhs) const +[more]inline const Quat operator - (const Quat& rhs) const
      Binary subtraction
      -[more]inline Quat& operator -= (const Quat& rhs) +[more]inline Quat& operator -= (const Quat& rhs)
      Unary subtraction
      -[more]inline const Quat operator - () const +[more]inline const Quat operator - () const
      Negation operator - returns the negative of the quaternion.
      -[more]const float length() const +[more]const float length() const
      Length of the quaternion = sqrt( vec .
      -[more]const float length2() const +[more]const float length2() const
      Length of the quaternion = vec .
      -[more]inline const Quat conj() const +[more]inline const Quat conj() const
      Conjugate
      -[more]inline const Quat inverse() const +[more]inline const Quat inverse() const
      Multiplicative inverse method: q^(-1) = q^*/(qq^*)
      -[more]void makeRotate( const float angle, const float x, const float y, const float z ) +[more]void makeRotate( const float angle, const float x, const float y, const float z )
      -[more]void makeRotate( const float angle, const Vec3& vec ) +[more]void makeRotate( const float angle, const Vec3& vec )
      -[more]void makeRotate( const Vec3& vec1, const Vec3& vec2 ) +[more]void makeRotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3) +
      +[more]void makeRotate( const Vec3& vec1, const Vec3& vec2 )
      Make a rotation Quat which will rotate vec1 to vec2.
      -[more]void makeRotate( float heading, float pitch, float roll) -
      make a rotation Quat from euler angles. -
      -[more]void getRotate( float& angle, float& x, float& y, float& z ) const +[more]void getRotate( float& angle, float& x, float& y, float& z ) const
      Return the angle and vector components represented by the quaternion
      -[more]void getRotate( float& angle, Vec3& vec ) const +[more]void getRotate( float& angle, Vec3& vec ) const
      Return the angle and vector represented by the quaternion
      -[more]void slerp( const float t, const Quat& from, const Quat& to) +[more]void slerp( const float t, const Quat& from, const Quat& to)
      Spherical Linear Interpolation.
      -[more]void set( const Matrix& m ) +[more]void set( const Matrix& m )
      Set quaternion to be equivalent to specified matrix
      -[more]void get( Matrix& m ) const +[more]void get( Matrix& m ) const
      Get the equivalent matrix for this quaternion
      -[more]Matrix getMatrix() const +[more]Matrix getMatrix() const
      Get the equivalent matrix for this quaternion

      @@ -123,137 +142,181 @@
      - +
      oVec4 _fv

      - +

      o Quat()

      - -

      o Quat( float x, float y, float z, float w ) + +
      o Quat( float x, float y, float z, float w )

      - +

      o Quat( const Vec4& v )

      - +

      oinline Vec4& asVec4()

      - +

      oinline const Vec4& asVec4() const

      - +

      oinline const Vec3 asVec3() const

      - -

      oinline void set(const float x, const float y, const float z, const float w) + +
      oinline void set(const float x, const float y, const float z, const float w)

      - +

      oinline void set(const osg::Vec4& v)

      + + +

      oinline float& operator [] (int i) +

      + + +

      oinline float operator [] (int i) const +

      + + +

      oinline float& x() +

      + + +

      oinline float& y() +

      + + +

      oinline float& z() +

      + + +

      oinline float& w() +

      + + +

      oinline float x() const +

      + + +

      oinline float y() const +

      + + +

      oinline float z() const +

      + + +

      oinline float w() const +

      - +

      oinline const Quat operator * (const float rhs) const
      Multiply by scalar

      - +

      oinline Quat& operator *= (const float rhs)
      Unary multiply by scalar

      - +

      oinline const Quat operator*(const Quat& rhs) const
      Binary multiply

      - +

      oinline Quat& operator*=(const Quat& rhs)
      Unary multiply

      - +

      oinline const Quat operator / (const float& rhs) const
      Divide by scalar

      - +

      oinline Quat& operator /= (const float& rhs)
      Unary divide by scalar

      - +

      oinline const Quat operator/(const Quat& denom) const
      Binary divide

      - +

      oinline Quat& operator/=(const Quat& denom)
      Unary divide

      - +

      oinline const Quat operator + (const Quat& rhs) const
      Binary addition

      - +

      oinline Quat& operator += (const Quat& rhs)
      Unary addition

      - +

      oinline const Quat operator - (const Quat& rhs) const
      Binary subtraction

      - +

      oinline Quat& operator -= (const Quat& rhs)
      Unary subtraction

      - +

      oinline const Quat operator - () const
      Negation operator - returns the negative of the quaternion. Basically just calls operator - () on the Vec4

      - +

      oconst float length() const
      Length of the quaternion = sqrt( vec . vec )

      - +

      oconst float length2() const
      Length of the quaternion = vec . vec

      - +

      oinline const Quat conj() const
      Conjugate

      - +

      oinline const Quat inverse() const
      Multiplicative inverse method: q^(-1) = q^*/(qq^*)

      - -

      ovoid makeRotate( const float angle, const float x, const float y, const float z ) + +
      ovoid makeRotate( const float angle, const float x, const float y, const float z )

      - +

      ovoid makeRotate( const float angle, const Vec3& vec )

      - + +

      ovoid makeRotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3) +

      + +

      ovoid makeRotate( const Vec3& vec1, const Vec3& vec2 )
      Make a rotation Quat which will rotate vec1 to vec2. Generally take adot product to get the angle between these @@ -261,44 +324,34 @@ and then use a cross product to get the rotation axis Watch out for the two special cases of when the vectors are co-incident or opposite in direction.

      - - -

      ovoid makeRotate( float heading, float pitch, float roll) -
      make a rotation Quat from euler angles. -assume Z up, Y north, X east and euler convention -as per Open Flight & Performer. -Applies a positive rotation about Y axis for roll, -then applies a positive roation about X for pitch, -and finally a negative rotation about the Z axis. -

      - -

      ovoid getRotate( float& angle, float& x, float& y, float& z ) const + +
      ovoid getRotate( float& angle, float& x, float& y, float& z ) const
      Return the angle and vector components represented by the quaternion

      - +

      ovoid getRotate( float& angle, Vec3& vec ) const
      Return the angle and vector represented by the quaternion

      - -

      ovoid slerp( const float t, const Quat& from, const Quat& to) + +
      ovoid slerp( const float t, const Quat& from, const Quat& to)
      Spherical Linear Interpolation. As t goes from 0 to 1, the Quat object goes from "from" to "to".

      - +

      ovoid set( const Matrix& m )
      Set quaternion to be equivalent to specified matrix

      - +

      ovoid get( Matrix& m ) const
      Get the equivalent matrix for this quaternion

      - +

      oMatrix getMatrix() const
      Get the equivalent matrix for this quaternion

      diff --git a/doc/doc++/osg/Referenced.html b/doc/doc++/osg/Referenced.html index 9303bc0c6..b1a25fa67 100644 --- a/doc/doc++/osg/Referenced.html +++ b/doc/doc++/osg/Referenced.html @@ -11,11 +11,11 @@

      Inheritance:

      - - - - - + + + + +
      @@ -23,33 +23,33 @@

      Public Methods

      -[more] Referenced() +[more] Referenced()
      -[more] Referenced(const Referenced&) +[more] Referenced(const Referenced&)
      -[more]inline Referenced& operator = (Referenced&) +[more]inline Referenced& operator = (Referenced&)
      -[more]inline void ref() const +[more]inline void ref() const
      increment the reference count by one, indicating that this object has another pointer which is referencing it
      -[more]inline void unref() const +[more]inline void unref() const
      decrement the reference count by one, indicating that a pointer to this object is referencing it.
      -[more]inline void unref_nodelete() const +[more]inline void unref_nodelete() const
      decrement the reference count by one, indicating that a pointer to this object is referencing it.
      -[more]inline const int referenceCount() const +[more]inline const int referenceCount() const
      return the number pointers currently referencing this object.

      Protected Fields

      -[more]mutable int _refCount +[more]mutable int _refCount

      Protected Methods

      -[more]virtual ~Referenced() +[more]virtual ~Referenced()

      @@ -61,25 +61,25 @@
      - +
      o Referenced()

      - -

      o Referenced(const Referenced&) + +
      o Referenced(const Referenced&)

      - +

      oinline Referenced& operator = (Referenced&)

      - +

      oinline void ref() const
      increment the reference count by one, indicating that this object has another pointer which is referencing it

      - +

      oinline void unref() const
      decrement the reference count by one, indicating that a pointer to this object is referencing it. If the @@ -87,7 +87,7 @@ reference count goes to zero, it is assumed that this object is no longer referenced and is automatically deleted.

      - +

      oinline void unref_nodelete() const
      decrement the reference count by one, indicating that a pointer to this object is referencing it. However, do @@ -97,21 +97,26 @@ be resonsible for, one should prefer unref() over unref_nodelete() as the later can lead to memory leaks.

      - +

      oinline const int referenceCount() const
      return the number pointers currently referencing this object.

      - +

      ovirtual ~Referenced()

      - +

      omutable int _refCount


      Direct child classes: -
      Statistics
      +
      Test
      +SubloadCallback
      +SubloadCallback
      +SubloadCallback
      +SubloadCallback
      +Statistics
      State
      Object
      NodeVisitor
      @@ -122,6 +127,7 @@ as the later can lead to memory leaks. DisplaySettings
      CullingSet
      Camera
      +AnimationPath

      Alphabetic index HTML hierarchy of classes or Java


      diff --git a/doc/doc++/osg/ShadeModel.html b/doc/doc++/osg/ShadeModel.html index 0bf6162b7..4c15bb6af 100644 --- a/doc/doc++/osg/ShadeModel.html +++ b/doc/doc++/osg/ShadeModel.html @@ -23,36 +23,36 @@

      Public Methods

      -[more] ShadeModel() +[more] ShadeModel()
      -[more] ShadeModel(const ShadeModel& sm, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] ShadeModel(const ShadeModel& sm, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy
      -[more] META_StateAttribute(osg, ShadeModel, SHADEMODEL) +[more] META_StateAttribute(osg, ShadeModel, SHADEMODEL)
      -[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
      -[more]inline void setMode(const Mode mode) +[more]inline void setMode(const Mode mode)
      -[more]inline const Mode getMode() const +[more]inline const Mode getMode() const
      -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

      Public Members

      -[more]enum Mode +[more]enum Mode

      Protected Fields

      -[more]Mode _mode +[more]Mode _mode

      Protected Methods

      -[more]virtual ~ShadeModel() +[more]virtual ~ShadeModel()

      @@ -70,7 +70,7 @@
      ovirtual const char* className() const
      -ovirtual const Type getType() const +ovirtual const Type getType() const
      ovirtual bool isTextureAttribute() const
      @@ -80,7 +80,7 @@
      obool operator != (const StateAttribute& rhs) const
      -ovirtual void getAssociatedModes(std::vector<GLMode>& ) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
      ovirtual void compile(State&) const

      @@ -105,9 +105,9 @@

      Public Methods

      -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
      -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
      oinline void setUserData(Referenced* obj)
      @@ -123,7 +123,7 @@

      Protected Fields

      -oDataVariance _dataVariance +oDataVariance _dataVariance
      oref_ptr<Referenced> _userData

      @@ -158,56 +158,56 @@
      - +
      o ShadeModel()

      - -

      o ShadeModel(const ShadeModel& sm, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
      o ShadeModel(const ShadeModel& sm, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy

      - -

      o META_StateAttribute(osg, ShadeModel, SHADEMODEL) + +
      o META_StateAttribute(osg, ShadeModel, SHADEMODEL)

      - +

      ovirtual int compare(const StateAttribute& sa) const
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

      - +

      oenum Mode

      - +
      o FLAT

      - +

      o SMOOTH

      - -
      oinline void setMode(const Mode mode) + +
      oinline void setMode(const Mode mode)

      - -

      oinline const Mode getMode() const + +
      oinline const Mode getMode() const

      - +

      ovirtual void apply(State& state) const

      - +

      ovirtual ~ShadeModel()

      - -

      oMode _mode + +
      oMode _mode


      This class has no child classes.
      diff --git a/doc/doc++/osg/ShadowVolumeOccluder.html b/doc/doc++/osg/ShadowVolumeOccluder.html index 6f87e41f7..b886ce974 100644 --- a/doc/doc++/osg/ShadowVolumeOccluder.html +++ b/doc/doc++/osg/ShadowVolumeOccluder.html @@ -13,72 +13,72 @@

      Public Methods

      -[more]typedef std::vector<Polytope> HoleList ShadowVolumeOccluder(const ShadowVolumeOccluder& svo) +[more]typedef std::vector<Polytope> HoleList ShadowVolumeOccluder(const ShadowVolumeOccluder& svo)
      -[more] ShadowVolumeOccluder() +[more] ShadowVolumeOccluder()
      -[more]bool operator < (const ShadowVolumeOccluder& svo) const +[more]bool operator < (const ShadowVolumeOccluder& svo) const
      -[more]bool computeOccluder(const NodePath& nodePath, const ConvexPlanerOccluder& occluder, CullStack& cullStack, bool createDrawables=false) +[more]bool computeOccluder(const NodePath& nodePath, const ConvexPlanarOccluder& occluder, CullStack& cullStack, bool createDrawables=false)
      compute the shadow volume occluder.
      -[more]inline void disableResultMasks() +[more]inline void disableResultMasks()
      -[more]bool matchProjectionMatrix(const osg::Matrix& matrix) const +[more]bool matchProjectionMatrix(const osg::Matrix& matrix) const
      return true if the matrix passed in matches the projection matrix that this ShaowVolumeOccluder is associated with
      -[more]inline void setNodePath(NodePath& nodePath) +[more]inline void setNodePath(NodePath& nodePath)
      Set the NodePath which describes the which node in the scene graph that this occluder was attached to
      -[more]inline NodePath& getNodePath() +[more]inline NodePath& getNodePath()
      -[more]inline const NodePath& getNodePath() const +[more]inline const NodePath& getNodePath() const
      -[more]float getVolume() const +[more]float getVolume() const
      get the volume of the occluder minus its holes, in eye coords, the volume is normalized by dividing by the volume of the view frustum in eye coords
      -[more]Polytope& getOccluder() +[more]Polytope& getOccluder()
      return the occluder polytope
      -[more]const Polytope& getOccluder() const +[more]const Polytope& getOccluder() const
      return the const occluder polytope
      -[more]HoleList& getHoleList() +[more]HoleList& getHoleList()
      return the list of holes
      -[more]const HoleList& getHoleList() const +[more]const HoleList& getHoleList() const
      return the const list of holes
      -[more]bool contains(const std::vector<Vec3>& vertices) +[more]bool contains(const std::vector<Vec3>& vertices)
      return true if the specified vertex list is contaned entirely within this shadow occluder volume
      -[more]bool contains(const BoundingSphere& bound) +[more]bool contains(const BoundingSphere& bound)
      return true if the specified bounding sphere is contaned entirely within this shadow occluder volume
      -[more]bool contains(const BoundingBox& bound) +[more]bool contains(const BoundingBox& bound)
      return true if the specified bounding box is contained entirely within this shadow occluder volume
      -[more]inline void transformProvidingInverse(const osg::Matrix& matrix) +[more]inline void transformProvidingInverse(const osg::Matrix& matrix)
      -[more]typedef std::vector<ShadowVolumeOccluder>inline ShadowVolumeOccluderList void disableResultMasks() +[more]typedef std::vector<ShadowVolumeOccluder>inline ShadowVolumeOccluderList void disableResultMasks()
      A list of ShadowVolumeOccluder, used by CollectOccluderVisitor and CullVistor's
      -[more]inline void pushCurrentMask() +[more]inline void pushCurrentMask()
      -[more]inline void popCurrentMask() +[more]inline void popCurrentMask()

      Protected Fields

      -[more]float _volume +[more]float _volume
      -[more]NodePath _nodePath +[more]NodePath _nodePath
      -[more]ref_ptr<const Matrix> _projectionMatrix +[more]ref_ptr<const Matrix> _projectionMatrix
      -[more]Polytope _occluderVolume +[more]Polytope _occluderVolume
      -[more]HoleList _holeList +[more]HoleList _holeList

      @@ -90,125 +90,125 @@
      - -
      otypedef std::vector<Polytope> HoleList ShadowVolumeOccluder(const ShadowVolumeOccluder& svo) + +
      otypedef std::vector<Polytope> HoleList ShadowVolumeOccluder(const ShadowVolumeOccluder& svo)

      - +

      o ShadowVolumeOccluder()

      - +

      obool operator < (const ShadowVolumeOccluder& svo) const

      - -

      obool computeOccluder(const NodePath& nodePath, const ConvexPlanerOccluder& occluder, CullStack& cullStack, bool createDrawables=false) + +
      obool computeOccluder(const NodePath& nodePath, const ConvexPlanarOccluder& occluder, CullStack& cullStack, bool createDrawables=false)
      compute the shadow volume occluder.

      - +

      oinline void disableResultMasks()

      - +

      obool matchProjectionMatrix(const osg::Matrix& matrix) const
      return true if the matrix passed in matches the projection matrix that this ShaowVolumeOccluder is associated with

      - +

      oinline void setNodePath(NodePath& nodePath)
      Set the NodePath which describes the which node in the scene graph that this occluder was attached to

      - +

      oinline NodePath& getNodePath()

      - +

      oinline const NodePath& getNodePath() const

      - +

      ofloat getVolume() const
      get the volume of the occluder minus its holes, in eye coords, the volume is normalized by dividing by the volume of the view frustum in eye coords

      - +

      oPolytope& getOccluder()
      return the occluder polytope

      - +

      oconst Polytope& getOccluder() const
      return the const occluder polytope

      - +

      oHoleList& getHoleList()
      return the list of holes

      - +

      oconst HoleList& getHoleList() const
      return the const list of holes

      - +

      obool contains(const std::vector<Vec3>& vertices)
      return true if the specified vertex list is contaned entirely within this shadow occluder volume

      - +

      obool contains(const BoundingSphere& bound)
      return true if the specified bounding sphere is contaned entirely within this shadow occluder volume

      - +

      obool contains(const BoundingBox& bound)
      return true if the specified bounding box is contained entirely within this shadow occluder volume

      - +

      oinline void transformProvidingInverse(const osg::Matrix& matrix)

      - +

      ofloat _volume

      - +

      oNodePath _nodePath

      - +

      oref_ptr<const Matrix> _projectionMatrix

      - +

      oPolytope _occluderVolume

      - +

      oHoleList _holeList

      - +

      otypedef std::vector<ShadowVolumeOccluder>inline ShadowVolumeOccluderList void disableResultMasks()
      A list of ShadowVolumeOccluder, used by CollectOccluderVisitor and CullVistor's

      - +

      oinline void pushCurrentMask()

      - +

      oinline void popCurrentMask()

      diff --git a/doc/doc++/osg/State.html b/doc/doc++/osg/State.html index 2076991e5..fbc72f798 100644 --- a/doc/doc++/osg/State.html +++ b/doc/doc++/osg/State.html @@ -23,155 +23,167 @@

      Public Methods

      -[more] State() +[more] State()
      -[more]virtual ~State() +[more]virtual ~State()
      -[more]void pushStateSet(const StateSet* dstate) +[more]void pushStateSet(const StateSet* dstate)
      push stateset onto state stack
      -[more]void popStateSet() +[more]void popStateSet()
      pop drawstate off state stack
      -[more]void captureCurrentState(StateSet& stateset) const +[more]void captureCurrentState(StateSet& stateset) const
      copy the modes and attributes which captures the current state
      -[more]void reset() +[more]void reset()
      reset the state object to an empty stack
      -[more]inline void applyProjectionMatrix(const osg::Matrix* matrix) +[more]inline void applyProjectionMatrix(const osg::Matrix* matrix)
      -[more]const osg::Matrix& getProjectionMatrix() const +[more]const osg::Matrix& getProjectionMatrix() const
      -[more]inline void applyModelViewMatrix(const osg::Matrix* matrix) +[more]inline void applyModelViewMatrix(const osg::Matrix* matrix)
      -[more]const osg::Matrix& getModelViewMatrix() const +[more]const osg::Matrix& getModelViewMatrix() const
      -[more]Polytope getViewFrustum() const +[more]Polytope getViewFrustum() const
      -[more]void apply(const StateSet* dstate) +[more]void apply(const StateSet* dstate)
      Apply stateset
      -[more]void apply() +[more]void apply()
      Apply the state
      -[more]inline const bool applyMode(const StateAttribute::GLMode mode, const bool enabled) +[more]inline const bool applyMode(const StateAttribute::GLMode mode, const bool enabled)
      Apply an OpenGL mode if required.
      -[more]inline const bool applyTextureMode(unsigned int unit, const StateAttribute::GLMode mode, const bool enabled) +[more]inline const bool applyTextureMode(unsigned int unit, const StateAttribute::GLMode mode, const bool enabled)
      -[more]inline const bool applyAttribute(const StateAttribute* attribute) +[more]inline const bool applyAttribute(const StateAttribute* attribute)
      Apply an attribute if required.
      -[more]inline const bool applyTextureAttribute(unsigned int unit, const StateAttribute* attribute) +[more]inline const bool applyTextureAttribute(unsigned int unit, const StateAttribute* attribute)
      -[more]void haveAppliedMode(const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value) +[more]void haveAppliedMode(const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value)
      Mode has been set externally, update state to reflect this setting
      -[more]void haveAppliedMode(const StateAttribute::GLMode mode) +[more]void haveAppliedMode(const StateAttribute::GLMode mode)
      Mode has been set externally, therefore dirty the associated mode in osg::State so it is applied on next call to osg::State::apply()
      -[more]void haveAppliedAttribute(const StateAttribute* attribute) +[more]void haveAppliedAttribute(const StateAttribute* attribute)
      Attribute has been applied externally, update state to reflect this setting
      -[more]void haveAppliedAttribute(const StateAttribute::Type type) +[more]void haveAppliedAttribute(const StateAttribute::Type type)
      Attribute has been applied externally, and therefore this attribute type has been dirtied and will need to be re-appplied on next osg::Stateapply().
      -[more]const bool getLastAppliedMode(const StateAttribute::GLMode mode) const +[more]const bool getLastAppliedMode(const StateAttribute::GLMode mode) const
      Get whether the current specified mode is enabled (true) or disabled (false)
      -[more]const StateAttribute* getLastAppliedAttribute(const StateAttribute::Type type) const +[more]const StateAttribute* getLastAppliedAttribute(const StateAttribute::Type type) const
      Get the current specified attribute, return NULL is one has not yet been applied
      -[more]void haveAppliedTextureMode(unsigned int unit, const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value) +[more]void haveAppliedTextureMode(unsigned int unit, const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value)
      texture Mode has been set externally, update state to reflect this setting
      -[more]void haveAppliedTextureMode(unsigned int unit, const StateAttribute::GLMode mode) +[more]void haveAppliedTextureMode(unsigned int unit, const StateAttribute::GLMode mode)
      texture Mode has been set externally, therefore dirty the associated mode in osg::State so it is applied on next call to osg::State::apply()
      -[more]void haveAppliedTextureAttribute(unsigned int unit, const StateAttribute* attribute) +[more]void haveAppliedTextureAttribute(unsigned int unit, const StateAttribute* attribute)
      texture Attribute has been applied externally, update state to reflect this setting
      -[more]void haveAppliedTextureAttribute(unsigned int unit, const StateAttribute::Type type) +[more]void haveAppliedTextureAttribute(unsigned int unit, const StateAttribute::Type type)
      texture Attribute has been applied externally, and therefore this attribute type has been dirtied and will need to be re-appplied on next osg::Stateapply().
      -[more]const bool getLastAppliedTextureMode(unsigned int unit, const StateAttribute::GLMode mode) const +[more]const bool getLastAppliedTextureMode(unsigned int unit, const StateAttribute::GLMode mode) const
      Get whether the current specified texture mode is enabled (true) or disabled (false)
      -[more]const StateAttribute* getLastAppliedTextureAttribute(unsigned int unit, const StateAttribute::Type type) const +[more]const StateAttribute* getLastAppliedTextureAttribute(unsigned int unit, const StateAttribute::Type type) const
      Get the current specified texture attribute, return NULL is one has not yet been applied
      -[more]inline void setVertexPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr ) +[more]inline void setVertexPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr )
      wrapper around glEnableClientState(GL_VERTEX_ARRAY);glVertexPointer(); note, only updates values that change
      -[more]inline void disableVertexPointer() +[more]inline void disableVertexPointer()
      wrapper glDisableClientState(GL_VERTEX_ARRAY).
      -[more]inline void setNormalPointer( GLenum type, GLsizei stride, const GLvoid* ptr ) +[more]inline void setNormalPointer( GLenum type, GLsizei stride, const GLvoid* ptr )
      wrapper around glEnableClientState(GL_NORMAL_ARRAY);glNormalPointer(); note, only updates values that change
      -[more]inline void disableNormalPointer() +[more]inline void disableNormalPointer()
      wrapper around glDisableClientState(GL_NORMAL_ARRAY); note, only updates values that change
      -[more]inline void setColorPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr ) +[more]inline void setColorPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr )
      wrapper around glEnableClientState(GL_COLOR_ARRAY);glColorPointer(); note, only updates values that change
      -[more]inline void disableColorPointer() +[more]inline void disableColorPointer()
      wrapper around glDisableClientState(GL_COLOR_ARRAY); note, only updates values that change
      -[more]inline void setIndexPointer( GLenum type, GLsizei stride, const GLvoid* ptr ) +[more]void setSecondaryColorPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr ) +
      wrapper around glEnableClientState(GL_SECONDARY_COLOR_ARRAY);glSecondayColorPointer(); note, only updates values that change +
      +[more]inline void disableSecondaryColorPointer() +
      wrapper around glDisableClientState(GL_SECONDARY_COLOR_ARRAY); note, only updates values that change +
      +[more]inline void setIndexPointer( GLenum type, GLsizei stride, const GLvoid* ptr )
      wrapper around glEnableClientState(GL_INDEX_ARRAY);glIndexPointer(); note, only updates values that change
      -[more]inline void disableIndexPointer() +[more]inline void disableIndexPointer()
      wrapper around glDisableClientState(GL_INDEX_ARRAY); note, only updates values that change
      -[more]inline void setTexCoordPointer( unsigned int unit, GLint size, GLenum type, GLsizei stride, const GLvoid* ptr ) +[more]void setFogCoordPointer( GLenum type, GLsizei stride, const GLvoid* ptr ) +
      wrapper around glEnableClientState(GL_FOG_COORDINATE_ARRAY);glFogCoordPointer(); note, only updates values that change +
      +[more]inline void disableFogCoordPointer() +
      wrapper around glDisableClientState(GL_FOG_COORDINATE_ARRAY); note, only updates values that change +
      +[more]inline void setTexCoordPointer( unsigned int unit, GLint size, GLenum type, GLsizei stride, const GLvoid* ptr )
      wrapper around glEnableClientState(GL_TEXTURE_COORD_ARRAY);glTexCoordPointer(); note, only updates values that change
      -[more]inline void disableTexCoordPointer( unsigned int unit ) +[more]inline void disableTexCoordPointer( unsigned int unit )
      wrapper around glDisableClientState(GL_TEXTURE_COORD_ARRAY); note, only updates values that change
      -[more]inline void disableTexCoordPointersAboveAndIncluding( unsigned int unit ) +[more]inline void disableTexCoordPointersAboveAndIncluding( unsigned int unit )
      -[more]bool setClientActiveTextureUnit( unsigned int unit ) +[more]bool setClientActiveTextureUnit( unsigned int unit )
      set the current tex coord array texture unit, return true if selected, false if selection failed such as when multitexturing is not supported.
      -[more]bool setActiveTextureUnit( unsigned int unit ) +[more]bool setActiveTextureUnit( unsigned int unit )
      set the current texture unit, return true if selected, false if selection failed such as when multitexturing is not supported.
      -[more]inline void setContextID(unsigned int contextID) +[more]inline void setContextID(unsigned int contextID)
      Set the current OpenGL context uniqueID.
      -[more]inline const unsigned int getContextID() const +[more]inline const unsigned int getContextID() const
      Get the current OpenGL context unique ID
      -[more]inline void setFrameStamp(FrameStamp* fs) +[more]inline void setFrameStamp(FrameStamp* fs)
      Set the frame stamp for the current frame
      -[more]inline const FrameStamp* getFrameStamp() const +[more]inline const FrameStamp* getFrameStamp() const
      Set the frame stamp for the current frame
      -[more]inline void setDisplaySettings(DisplaySettings* vs) +[more]inline void setDisplaySettings(DisplaySettings* vs)
      Set the DisplaySettings.
      -[more]inline const DisplaySettings* getDisplaySettings() const +[more]inline const DisplaySettings* getDisplaySettings() const
      Get the DisplaySettings
      -[more]inline void pushModeList(ModeMap& modeMap, const StateSet::ModeList& modeList) +[more]inline void pushModeList(ModeMap& modeMap, const StateSet::ModeList& modeList)
      -[more]inline void pushAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList) +[more]inline void pushAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList)
      -[more]inline void popModeList(ModeMap& modeMap, const StateSet::ModeList& modeList) +[more]inline void popModeList(ModeMap& modeMap, const StateSet::ModeList& modeList)
      -[more]inline void popAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList) +[more]inline void popAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList)
      -[more]inline void applyModeList(ModeMap& modeMap, const StateSet::ModeList& modeList) +[more]inline void applyModeList(ModeMap& modeMap, const StateSet::ModeList& modeList)
      -[more]inline void applyAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList) +[more]inline void applyAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList)
      -[more]inline void applyModeMap(ModeMap& modeMap) +[more]inline void applyModeMap(ModeMap& modeMap)
      -[more]inline void applyAttributeMap(AttributeMap& attributeMap) +[more]inline void applyAttributeMap(AttributeMap& attributeMap)

      @@ -205,99 +217,99 @@ Lazy state updating is used to minimize state changes.
      - +
      o State()

      - +

      ovirtual ~State()

      - +

      ovoid pushStateSet(const StateSet* dstate)
      push stateset onto state stack

      - +

      ovoid popStateSet()
      pop drawstate off state stack

      - +

      ovoid captureCurrentState(StateSet& stateset) const
      copy the modes and attributes which captures the current state

      - +

      ovoid reset()
      reset the state object to an empty stack

      - +

      oinline void applyProjectionMatrix(const osg::Matrix* matrix)

      - +

      oconst osg::Matrix& getProjectionMatrix() const

      - +

      oinline void applyModelViewMatrix(const osg::Matrix* matrix)

      - +

      oconst osg::Matrix& getModelViewMatrix() const

      - +

      oPolytope getViewFrustum() const

      - +

      ovoid apply(const StateSet* dstate)
      Apply stateset

      - +

      ovoid apply()
      Apply the state

      - +

      oinline const bool applyMode(const StateAttribute::GLMode mode, const bool enabled)
      Apply an OpenGL mode if required.

      - +

      oinline const bool applyTextureMode(unsigned int unit, const StateAttribute::GLMode mode, const bool enabled)

      - +

      oinline const bool applyAttribute(const StateAttribute* attribute)
      Apply an attribute if required.

      - +

      oinline const bool applyTextureAttribute(unsigned int unit, const StateAttribute* attribute)

      - +

      ovoid haveAppliedMode(const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value)
      Mode has been set externally, update state to reflect this setting

      - +

      ovoid haveAppliedMode(const StateAttribute::GLMode mode)
      Mode has been set externally, therefore dirty the associated mode in osg::State so it is applied on next call to osg::State::apply()

      - +

      ovoid haveAppliedAttribute(const StateAttribute* attribute)
      Attribute has been applied externally, update state to reflect this setting

      - +

      ovoid haveAppliedAttribute(const StateAttribute::Type type)
      Attribute has been applied externally, and therefore this attribute type has been dirtied @@ -308,33 +320,33 @@ track the current state more accuratly and enable lazy state updating such that only changed state will be applied.

      - +

      oconst bool getLastAppliedMode(const StateAttribute::GLMode mode) const
      Get whether the current specified mode is enabled (true) or disabled (false)

      - +

      oconst StateAttribute* getLastAppliedAttribute(const StateAttribute::Type type) const
      Get the current specified attribute, return NULL is one has not yet been applied

      - +

      ovoid haveAppliedTextureMode(unsigned int unit, const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value)
      texture Mode has been set externally, update state to reflect this setting

      - +

      ovoid haveAppliedTextureMode(unsigned int unit, const StateAttribute::GLMode mode)
      texture Mode has been set externally, therefore dirty the associated mode in osg::State so it is applied on next call to osg::State::apply()

      - +

      ovoid haveAppliedTextureAttribute(unsigned int unit, const StateAttribute* attribute)
      texture Attribute has been applied externally, update state to reflect this setting

      - +

      ovoid haveAppliedTextureAttribute(unsigned int unit, const StateAttribute::Type type)
      texture Attribute has been applied externally, and therefore this attribute type has been dirtied @@ -345,93 +357,117 @@ track the current state more accuratly and enable lazy state updating such that only changed state will be applied.

      - +

      oconst bool getLastAppliedTextureMode(unsigned int unit, const StateAttribute::GLMode mode) const
      Get whether the current specified texture mode is enabled (true) or disabled (false)

      - +

      oconst StateAttribute* getLastAppliedTextureAttribute(unsigned int unit, const StateAttribute::Type type) const
      Get the current specified texture attribute, return NULL is one has not yet been applied

      - -

      oinline void setVertexPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr ) + +
      oinline void setVertexPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr )
      wrapper around glEnableClientState(GL_VERTEX_ARRAY);glVertexPointer(); note, only updates values that change

      - +

      oinline void disableVertexPointer()
      wrapper glDisableClientState(GL_VERTEX_ARRAY). note, only updates values that change.

      - -

      oinline void setNormalPointer( GLenum type, GLsizei stride, const GLvoid* ptr ) + +
      oinline void setNormalPointer( GLenum type, GLsizei stride, const GLvoid* ptr )
      wrapper around glEnableClientState(GL_NORMAL_ARRAY);glNormalPointer(); note, only updates values that change

      - +

      oinline void disableNormalPointer()
      wrapper around glDisableClientState(GL_NORMAL_ARRAY); note, only updates values that change

      - -

      oinline void setColorPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr ) + +
      oinline void setColorPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr )
      wrapper around glEnableClientState(GL_COLOR_ARRAY);glColorPointer(); note, only updates values that change

      - +

      oinline void disableColorPointer()
      wrapper around glDisableClientState(GL_COLOR_ARRAY); note, only updates values that change

      + + +

      ovoid setSecondaryColorPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr ) +
      wrapper around glEnableClientState(GL_SECONDARY_COLOR_ARRAY);glSecondayColorPointer(); +note, only updates values that change +

      + + +

      oinline void disableSecondaryColorPointer() +
      wrapper around glDisableClientState(GL_SECONDARY_COLOR_ARRAY); +note, only updates values that change +

      - -

      oinline void setIndexPointer( GLenum type, GLsizei stride, const GLvoid* ptr ) + +
      oinline void setIndexPointer( GLenum type, GLsizei stride, const GLvoid* ptr )
      wrapper around glEnableClientState(GL_INDEX_ARRAY);glIndexPointer(); note, only updates values that change

      - +

      oinline void disableIndexPointer()
      wrapper around glDisableClientState(GL_INDEX_ARRAY); note, only updates values that change

      + + +

      ovoid setFogCoordPointer( GLenum type, GLsizei stride, const GLvoid* ptr ) +
      wrapper around glEnableClientState(GL_FOG_COORDINATE_ARRAY);glFogCoordPointer(); +note, only updates values that change +

      + + +

      oinline void disableFogCoordPointer() +
      wrapper around glDisableClientState(GL_FOG_COORDINATE_ARRAY); +note, only updates values that change +

      - -

      oinline void setTexCoordPointer( unsigned int unit, GLint size, GLenum type, GLsizei stride, const GLvoid* ptr ) + +
      oinline void setTexCoordPointer( unsigned int unit, GLint size, GLenum type, GLsizei stride, const GLvoid* ptr )
      wrapper around glEnableClientState(GL_TEXTURE_COORD_ARRAY);glTexCoordPointer(); note, only updates values that change

      - +

      oinline void disableTexCoordPointer( unsigned int unit )
      wrapper around glDisableClientState(GL_TEXTURE_COORD_ARRAY); note, only updates values that change

      - +

      oinline void disableTexCoordPointersAboveAndIncluding( unsigned int unit )

      - +

      obool setClientActiveTextureUnit( unsigned int unit )
      set the current tex coord array texture unit, return true if selected, false if selection failed such as when multitexturing is not supported. note, only updates values that change.

      - +

      obool setActiveTextureUnit( unsigned int unit )
      set the current texture unit, return true if selected, false if selection failed such as when multitexturing is not supported. note, only updates values that change.

      - +

      oinline void setContextID(unsigned int contextID)
      Set the current OpenGL context uniqueID. Note, it is the application developers responsibility to @@ -441,129 +477,129 @@ help manage OpenGL display list and texture binds appropriate for each context.

      - +

      oinline const unsigned int getContextID() const
      Get the current OpenGL context unique ID

      - +

      oinline void setFrameStamp(FrameStamp* fs)
      Set the frame stamp for the current frame

      - +

      oinline const FrameStamp* getFrameStamp() const
      Set the frame stamp for the current frame

      - +

      oinline void setDisplaySettings(DisplaySettings* vs)
      Set the DisplaySettings. Note, nothing is applied, the visual settings are just used used in the State object to pass the current visual settings to Drawables during rendering.

      - +

      oinline const DisplaySettings* getDisplaySettings() const
      Get the DisplaySettings

      - +
      o ModeStack()

      - +

      obool changed

      - +

      obool last_applied_value

      - +

      obool global_default_value

      - +

      oValueVec valueVec

      - +
      o AttributeStack()

      - +

      obool changed
      apply an attribute if required, passing in attribute and appropriate attribute stack

      - +

      oconst StateAttribute* last_applied_attribute

      - +

      oref_ptr<StateAttribute> global_default_attribute

      - +

      oAttributeVec attributeVec

      - +
      o EnabledArrayPair()

      - -

      o EnabledArrayPair(const EnabledArrayPair& eap) + +
      o EnabledArrayPair(const EnabledArrayPair& eap)

      - -

      oEnabledArrayPair& operator = (const EnabledArrayPair& eap) + +
      oEnabledArrayPair& operator = (const EnabledArrayPair& eap)

      - +

      obool _enabled

      - +

      oconst GLvoid* _pointer

      - +
      oinline void pushModeList(ModeMap& modeMap, const StateSet::ModeList& modeList)

      - +

      oinline void pushAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList)

      - +

      oinline void popModeList(ModeMap& modeMap, const StateSet::ModeList& modeList)

      - +

      oinline void popAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList)

      - +

      oinline void applyModeList(ModeMap& modeMap, const StateSet::ModeList& modeList)

      - +

      oinline void applyAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList)

      - +

      oinline void applyModeMap(ModeMap& modeMap)

      - +

      oinline void applyAttributeMap(AttributeMap& attributeMap)

      diff --git a/doc/doc++/osg/StateAttribute.html b/doc/doc++/osg/StateAttribute.html index 8de75c5c7..7f171480e 100644 --- a/doc/doc++/osg/StateAttribute.html +++ b/doc/doc++/osg/StateAttribute.html @@ -11,11 +11,11 @@

      Inheritance:

      - - - - - + + + + +
      @@ -23,74 +23,74 @@

      Public Methods

      -[more] StateAttribute() +[more] StateAttribute()
      -[more] StateAttribute(const StateAttribute& sa, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] StateAttribute(const StateAttribute& sa, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      -[more]virtual Object* cloneType() const = 0 +[more]virtual Object* cloneType() const = 0
      Clone the type of an attribute, with Object* return type.
      -[more]virtual Object* clone(const CopyOp&) const = 0 +[more]virtual Object* clone(const CopyOp&) const = 0
      Clone an attribute, with Object* return type.
      -[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
      return true if this and obj are of the same kind of object
      -[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
      return the name of the attribute's library
      -[more]virtual const char* className() const +[more]virtual const char* className() const
      return the name of the attribute's class type
      -[more]virtual const Type getType() const = 0 +[more]virtual const Type getType() const = 0
      return the Type identifier of the attribute's class type
      -[more]virtual bool isTextureAttribute() const +[more]virtual bool isTextureAttribute() const
      return true if StateAttribute is a type which controls texturing and needs to be issued wrt to specific texture unit
      -[more]virtual int compare(const StateAttribute& sa) const = 0 +[more]virtual int compare(const StateAttribute& sa) const = 0
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
      -[more]bool operator < (const StateAttribute& rhs) const +[more]bool operator < (const StateAttribute& rhs) const
      -[more]bool operator == (const StateAttribute& rhs) const +[more]bool operator == (const StateAttribute& rhs) const
      -[more]bool operator != (const StateAttribute& rhs) const +[more]bool operator != (const StateAttribute& rhs) const
      -[more]virtual void getAssociatedModes(std::vector<GLMode>& ) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& ) const
      return the modes associated with this StateSet
      -[more]virtual void apply(State&) const = 0 +[more]virtual void apply(State&) const = 0
      apply the OpenGL state attributes.
      -[more]virtual void compile(State&) const +[more]virtual void compile(State&) const
      default to nothing to compile - all state is applied immediately.

      Public Members

      -[more]typedef GLenum GLMode +[more]typedef GLenum GLMode
      GLMode is the value used in glEnable/glDisable(mode)
      -[more]typedef unsigned int GLModeValue +[more]typedef unsigned int GLModeValue
      GLModeValue is used to specified whether an mode is enabled (ON) or disabled (OFF).
      -[more]typedef unsigned int OverrideValue +[more]typedef unsigned int OverrideValue
      Override is used to specified the override behavior of StateAttributes from from parent to children.
      -[more]enum Values +[more]enum Values
      list values which can be used in to set either GLModeValues or OverrideValues.
      -[more]typedef unsigned int Type +[more]typedef unsigned int Type
      Type identifier to differentiate between different state types.
      -[more]enum Types +[more]enum Types
      Values of StateAttribute::Type used to aid identification of different StateAttribute subclasses.

      Protected Methods

      -[more]virtual ~StateAttribute() +[more]virtual ~StateAttribute()

      @@ -98,9 +98,9 @@

      Public Methods

      -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
      -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
      oinline void setUserData(Referenced* obj)
      @@ -116,7 +116,7 @@

      Protected Fields

      -oDataVariance _dataVariance +oDataVariance _dataVariance
      oref_ptr<Referenced> _userData

      @@ -151,26 +151,26 @@
      - +
      otypedef GLenum GLMode
      GLMode is the value used in glEnable/glDisable(mode)

      - +

      otypedef unsigned int GLModeValue
      GLModeValue is used to specified whether an mode is enabled (ON) or disabled (OFF). GLMoveValue is also used to specify the override behavior of modes from parent to children. See enum Value description for more details.

      - +

      otypedef unsigned int OverrideValue
      Override is used to specified the override behavior of StateAttributes from from parent to children. See enum Value description for more details.

      - +

      oenum Values
      list values which can be used in to set either GLModeValues or OverrideValues. When using in conjunction with GLModeValues @@ -182,43 +182,38 @@ StateSet::setAttributeAndModes(..).

      - +
      o OFF
      means that associated GLMode and Override is disabled

      - +

      o ON
      means that associated GLMode is enabled and Override is disabled

      - +

      o OVERRIDE -
      Overriding of GLMode's or StateAttributes is enabled +
      Overriding of GLMode's or StateAttributes is enabled, so that state below it is overriden

      - - -

      o OVERRIDE_OFF -
      Equivilant to OFF | OVERRIDE -

      - - -

      o OVERRIDE_ON -
      Equivilant to ON | OVERRIDE + + +
      o PROTECTED +
      Protecting of GLMode's os StateAttributes is enabled, so that state from above connot override this and below state

      - +

      o INHERIT
      means that GLMode or StateAttribute should in inherited from above

      - +
      otypedef unsigned int Type
      Type identifier to differentiate between different state types.

      - +

      oenum Types
      Values of StateAttribute::Type used to aid identification of different StateAttribute subclasses. Each subclass defines @@ -231,235 +226,235 @@ that types value.

      - +
      o TEXTURE

      - +

      o POLYGONMODE

      - +

      o POLYGONOFFSET

      - +

      o MATERIAL

      - +

      o ALPHAFUNC

      - +

      o ANTIALIAS

      - +

      o COLORTABLE

      - +

      o CULLFACE

      - +

      o FOG

      - +

      o FRONTFACE

      - +

      o LIGHT

      - +

      o LIGHT_0

      - +

      o LIGHT_1

      - +

      o LIGHT_2

      - +

      o LIGHT_3

      - +

      o LIGHT_4

      - +

      o LIGHT_5

      - +

      o LIGHT_6

      - +

      o LIGHT_7

      - +

      o POINT

      - +

      o LINEWIDTH

      - +

      o LINESTIPPLE

      - +

      o SHADEMODEL

      - +

      o TEXENV

      - +

      o TEXGEN

      - +

      o TEXMAT

      - +

      o LIGHTMODEL

      - +

      o BLENDFUNC

      - +

      o STENCIL

      - +

      o COLORMASK

      - +

      o DEPTH

      - +

      o VIEWPORT

      - +

      o CLIPPLANE

      - +

      o CLIPPLANE_0

      - +

      o CLIPPLANE_1

      - +

      o CLIPPLANE_2

      - +

      o CLIPPLANE_3

      - +

      o CLIPPLANE_4

      - +

      o CLIPPLANE_5

      - +

      o COLORMATRIX

      - +
      o StateAttribute()

      - -

      o StateAttribute(const StateAttribute& sa, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
      o StateAttribute(const StateAttribute& sa, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

      - +

      ovirtual Object* cloneType() const = 0
      Clone the type of an attribute, with Object* return type. Must be defined by derived classes.

      - +

      ovirtual Object* clone(const CopyOp&) const = 0
      Clone an attribute, with Object* return type. Must be defined by derived classes.

      - +

      ovirtual bool isSameKindAs(const Object* obj) const
      return true if this and obj are of the same kind of object

      - +

      ovirtual const char* libraryName() const
      return the name of the attribute's library

      - +

      ovirtual const char* className() const
      return the name of the attribute's class type

      - -

      ovirtual const Type getType() const = 0 + +
      ovirtual const Type getType() const = 0
      return the Type identifier of the attribute's class type

      - +

      ovirtual bool isTextureAttribute() const
      return true if StateAttribute is a type which controls texturing and needs to be issued wrt to specific texture unit

      - +

      ovirtual int compare(const StateAttribute& sa) const = 0
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

      - +

      obool operator < (const StateAttribute& rhs) const

      - +

      obool operator == (const StateAttribute& rhs) const

      - +

      obool operator != (const StateAttribute& rhs) const

      - -

      ovirtual void getAssociatedModes(std::vector<GLMode>& ) const + +
      ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
      return the modes associated with this StateSet

      - +

      ovirtual void apply(State&) const = 0
      apply the OpenGL state attributes. The global state for the current OpenGL context is passed @@ -467,12 +462,12 @@ in to allow the StateAttribute to obtain details on the the current context and state.

      - +

      ovirtual void compile(State&) const
      default to nothing to compile - all state is applied immediately.

      - +

      ovirtual ~StateAttribute()


      @@ -481,6 +476,7 @@ the current context and state. Texture
      TexMat
      TexGen
      +TexEnvCombine
      TexEnv
      Stencil
      ShadeModel
      diff --git a/doc/doc++/osg/StateSet.html b/doc/doc++/osg/StateSet.html index 391386573..2029008f4 100644 --- a/doc/doc++/osg/StateSet.html +++ b/doc/doc++/osg/StateSet.html @@ -23,214 +23,214 @@

      Public Methods

      -[more] StateSet() +[more] StateSet()
      -[more] StateSet(const StateSet&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] StateSet(const StateSet&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      -[more]virtual Object* cloneType() const +[more]virtual Object* cloneType() const
      -[more]virtual Object* clone(const CopyOp& copyop) const +[more]virtual Object* clone(const CopyOp& copyop) const
      -[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
      -[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
      -[more]virtual const char* className() const +[more]virtual const char* className() const
      -[more]int compare(const StateSet& rhs, bool compareAttributeContents=false) const +[more]int compare(const StateSet& rhs, bool compareAttributeContents=false) const
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
      -[more]bool operator < (const StateSet& rhs) const +[more]bool operator < (const StateSet& rhs) const
      -[more]bool operator == (const StateSet& rhs) const +[more]bool operator == (const StateSet& rhs) const
      -[more]bool operator != (const StateSet& rhs) const +[more]bool operator != (const StateSet& rhs) const
      -[more]void setGlobalDefaults() +[more]void setGlobalDefaults()
      set all the modes to on or off so that it defines a complete state, typically used for a default global state
      -[more]void setAllToInherit() +[more]void setAllToInherit()
      set all the modes to inherit, typically used to signify nodes which inherit all of their modes for the global state
      -[more]void merge(const StateSet& rhs) +[more]void merge(const StateSet& rhs)
      merge this stateset with stateset rhs, this overrides the rhs if OVERRIDE is specified, otherwise rhs takes precedence
      -[more]void setMode(const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value) +[more]void setMode(const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value)
      set this StateSet to contain specified GLMode and value
      -[more]void setModeToInherit(const StateAttribute::GLMode mode) +[more]void setModeToInherit(const StateAttribute::GLMode mode)
      set this StateSet to inherit specified GLMode type from parents.
      -[more]const StateAttribute::GLModeValue getMode(const StateAttribute::GLMode mode) const +[more]const StateAttribute::GLModeValue getMode(const StateAttribute::GLMode mode) const
      get specified GLModeValue for specified GLMode.
      -[more]inline ModeList& getModeList() +[more]inline ModeList& getModeList()
      return the list of all GLModes contained in this StateSet
      -[more]inline const ModeList& getModeList() const +[more]inline const ModeList& getModeList() const
      return the const list of all GLModes contained in this const StateSet
      -[more]void setAttribute(StateAttribute* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF) +[more]void setAttribute(StateAttribute* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF)
      set this StateSet to contain specified attribute and override flag
      -[more]void setAttributeAndModes(StateAttribute* attribute, const StateAttribute::GLModeValue value=StateAttribute::ON) +[more]void setAttributeAndModes(StateAttribute* attribute, const StateAttribute::GLModeValue value=StateAttribute::ON)
      set this StateSet to contain specified attribute and set the associated GLMode's to specified value
      -[more]void setAttributeToInherit(const StateAttribute::Type type) +[more]void setAttributeToInherit(const StateAttribute::Type type)
      set this StateSet to inherit specified attribute type from parents.
      -[more]StateAttribute* getAttribute(const StateAttribute::Type type) +[more]StateAttribute* getAttribute(const StateAttribute::Type type)
      get specified StateAttribute for specified type.
      -[more]const StateAttribute* getAttribute(const StateAttribute::Type type) const +[more]const StateAttribute* getAttribute(const StateAttribute::Type type) const
      get specified const StateAttribute for specified type.
      -[more]const RefAttributePair* getAttributePair(const StateAttribute::Type type) const +[more]const RefAttributePair* getAttributePair(const StateAttribute::Type type) const
      get specified RefAttributePair for specified type.
      -[more]inline AttributeList& getAttributeList() +[more]inline AttributeList& getAttributeList()
      return the list of all StateAttributes contained in this StateSet
      -[more]inline const AttributeList& getAttributeList() const +[more]inline const AttributeList& getAttributeList() const
      return the const list of all StateAttributes contained in this const StateSet
      -[more]void setTextureMode(unsigned int unit, const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value) +[more]void setTextureMode(unsigned int unit, const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value)
      set this StateSet to contain specified GLMode and value
      -[more]void setTextureModeToInherit(unsigned int unit, const StateAttribute::GLMode mode) +[more]void setTextureModeToInherit(unsigned int unit, const StateAttribute::GLMode mode)
      set this StateSet to inherit specified GLMode type from parents.
      -[more]const StateAttribute::GLModeValue getTextureMode(unsigned int unit, const StateAttribute::GLMode mode) const +[more]const StateAttribute::GLModeValue getTextureMode(unsigned int unit, const StateAttribute::GLMode mode) const
      get specified GLModeValue for specified GLMode.
      -[more]inline TextureModeList& getTextureModeList() +[more]inline TextureModeList& getTextureModeList()
      return the list of all Texture related GLModes contained in this StateSet
      -[more]inline const TextureModeList& getTextureModeList() const +[more]inline const TextureModeList& getTextureModeList() const
      return the const list of all Texture related GLModes contained in this const StateSet
      -[more]void setTextureAttribute(unsigned int unit, StateAttribute* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF) +[more]void setTextureAttribute(unsigned int unit, StateAttribute* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF)
      set this StateSet to contain specified attribute and override flag
      -[more]void setTextureAttributeAndModes(unsigned int unit, StateAttribute* attribute, const StateAttribute::GLModeValue value=StateAttribute::ON) +[more]void setTextureAttributeAndModes(unsigned int unit, StateAttribute* attribute, const StateAttribute::GLModeValue value=StateAttribute::ON)
      set this StateSet to contain specified attribute and set the associated GLMode's to specified value
      -[more]void setTextureAttributeToInherit(unsigned int unit, const StateAttribute::Type type) +[more]void setTextureAttributeToInherit(unsigned int unit, const StateAttribute::Type type)
      set this StateSet to inherit specified attribute type from parents.
      -[more]StateAttribute* getTextureAttribute(unsigned int unit, const StateAttribute::Type type) +[more]StateAttribute* getTextureAttribute(unsigned int unit, const StateAttribute::Type type)
      get specified Texture related StateAttribute for specified type.
      -[more]const StateAttribute* getTextureAttribute(unsigned int unit, const StateAttribute::Type type) const +[more]const StateAttribute* getTextureAttribute(unsigned int unit, const StateAttribute::Type type) const
      get specified Texture related const StateAttribute for specified type.
      -[more]const RefAttributePair* getTextureAttributePair(unsigned int unit, const StateAttribute::Type type) const +[more]const RefAttributePair* getTextureAttributePair(unsigned int unit, const StateAttribute::Type type) const
      get specified Texture related RefAttributePair for specified type.
      -[more]inline TextureAttributeList& getTextureAttributeList() +[more]inline TextureAttributeList& getTextureAttributeList()
      return the list of all Texture related StateAttributes contained in this StateSet
      -[more]inline const TextureAttributeList& getTextureAttributeList() const +[more]inline const TextureAttributeList& getTextureAttributeList() const
      return the const list of all Texture related StateAttributes contained in this const StateSet
      -[more]void setAssociatedModes(const StateAttribute* attribute, const StateAttribute::GLModeValue value) +[more]void setAssociatedModes(const StateAttribute* attribute, const StateAttribute::GLModeValue value)
      -[more]void setAssociatedTextureModes(unsigned int unit, const StateAttribute* attribute, const StateAttribute::GLModeValue value) +[more]void setAssociatedTextureModes(unsigned int unit, const StateAttribute* attribute, const StateAttribute::GLModeValue value)
      -[more]void setRenderingHint(const int hint) +[more]void setRenderingHint(const int hint)
      set the RenderingHint of the StateSet.
      -[more]inline const int getRenderingHint() const +[more]inline const int getRenderingHint() const
      get the RenderingHint of the StateSet
      -[more]void setRenderBinDetails(const int binNum, const std::string& binName, const RenderBinMode mode=USE_RENDERBIN_DETAILS) +[more]void setRenderBinDetails(const int binNum, const std::string& binName, const RenderBinMode mode=USE_RENDERBIN_DETAILS)
      set the render bin details
      -[more]void setRendingBinToInherit() +[more]void setRendingBinToInherit()
      set the render bin details to inherit
      -[more]inline const RenderBinMode getRenderBinMode() const +[more]inline const RenderBinMode getRenderBinMode() const
      get the render bin mode
      -[more]inline const bool useRenderBinDetails() const +[more]inline const bool useRenderBinDetails() const
      get whether the render bin details are set and should be used
      -[more]inline const int getBinNumber() const +[more]inline const int getBinNumber() const
      get the render bin number
      -[more]inline const std::string& getBinName() const +[more]inline const std::string& getBinName() const
      get the render bin name
      -[more]void compile(State& state) const +[more]void compile(State& state) const
      call compile on all StateAttributes contained within this StateSet

      Public Members

      -[more]typedef std::map<StateAttribute::GLMode,StateAttribute::GLModeValue> ModeList +[more]typedef std::map<StateAttribute::GLMode,StateAttribute::GLModeValue> ModeList
      a container to map GLModes to their respective GLModeValues
      -[more]typedef std::pair<ref_ptr<StateAttribute>,StateAttribute::OverrideValue> RefAttributePair +[more]typedef std::pair<ref_ptr<StateAttribute>,StateAttribute::OverrideValue> RefAttributePair
      simple pairing between an attribute and its override flag
      -[more]typedef std::map<StateAttribute::Type,RefAttributePair> AttributeList +[more]typedef std::map<StateAttribute::Type,RefAttributePair> AttributeList
      a container to map StateAttribyte::Types to their respective RefAttributePair
      -[more]enum RenderingHint +[more]enum RenderingHint
      -[more]enum RenderBinMode +[more]enum RenderBinMode

      Protected Fields

      -[more]ModeList _modeList +[more]ModeList _modeList
      -[more]AttributeList _attributeList +[more]AttributeList _attributeList
      -[more]TextureModeList _textureModeList +[more]TextureModeList _textureModeList
      -[more]TextureAttributeList _textureAttributeList +[more]TextureAttributeList _textureAttributeList
      -[more]int _renderingHint +[more]int _renderingHint
      -[more]RenderBinMode _binMode +[more]RenderBinMode _binMode
      -[more]int _binNum +[more]int _binNum
      -[more]std::string _binName +[more]std::string _binName

      Protected Methods

      -[more]virtual ~StateSet() +[more]virtual ~StateSet()
      -[more]StateSet& operator = (const StateSet&) +[more]StateSet& operator = (const StateSet&)
      -[more]inline ModeList& getOrCreateTextureModeList(unsigned int unit) +[more]inline ModeList& getOrCreateTextureModeList(unsigned int unit)
      -[more]inline AttributeList& getOrCreateTextureAttributeList(unsigned int unit) +[more]inline AttributeList& getOrCreateTextureAttributeList(unsigned int unit)
      -[more]int compareModes(const ModeList& lhs, const ModeList& rhs) +[more]int compareModes(const ModeList& lhs, const ModeList& rhs)
      -[more]int compareAttributePtrs(const AttributeList& lhs, const AttributeList& rhs) +[more]int compareAttributePtrs(const AttributeList& lhs, const AttributeList& rhs)
      -[more]int compareAttributeContents(const AttributeList& lhs, const AttributeList& rhs) +[more]int compareAttributeContents(const AttributeList& lhs, const AttributeList& rhs)
      -[more]void setMode(ModeList& modeList, const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value) +[more]void setMode(ModeList& modeList, const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value)
      -[more]void setModeToInherit(ModeList& modeList, const StateAttribute::GLMode mode) +[more]void setModeToInherit(ModeList& modeList, const StateAttribute::GLMode mode)
      -[more]const StateAttribute::GLModeValue getMode(const ModeList& modeList, const StateAttribute::GLMode mode) const +[more]const StateAttribute::GLModeValue getMode(const ModeList& modeList, const StateAttribute::GLMode mode) const
      -[more]void setAssociatedModes(ModeList& modeList, const StateAttribute* attribute, const StateAttribute::GLModeValue value) +[more]void setAssociatedModes(ModeList& modeList, const StateAttribute* attribute, const StateAttribute::GLModeValue value)
      -[more]void setAttribute(AttributeList& attributeList, StateAttribute* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF) +[more]void setAttribute(AttributeList& attributeList, StateAttribute* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF)
      -[more]StateAttribute* getAttribute(AttributeList& attributeList, const StateAttribute::Type type) +[more]StateAttribute* getAttribute(AttributeList& attributeList, const StateAttribute::Type type)
      -[more]const StateAttribute* getAttribute(const AttributeList& attributeList, const StateAttribute::Type type) const +[more]const StateAttribute* getAttribute(const AttributeList& attributeList, const StateAttribute::Type type) const
      -[more]const RefAttributePair* getAttributePair(const AttributeList& attributeList, const StateAttribute::Type type) const +[more]const RefAttributePair* getAttributePair(const AttributeList& attributeList, const StateAttribute::Type type) const

      @@ -238,9 +238,9 @@

      Public Methods

      -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
      -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
      oinline void setUserData(Referenced* obj)
      @@ -256,7 +256,7 @@

      Protected Fields

      -oDataVariance _dataVariance +oDataVariance _dataVariance
      oref_ptr<Referenced> _userData

      @@ -294,253 +294,253 @@ in the graphics pipeline.
      - +
      o StateSet()

      - -

      o StateSet(const StateSet&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
      o StateSet(const StateSet&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

      - +

      ovirtual Object* cloneType() const

      - +

      ovirtual Object* clone(const CopyOp& copyop) const

      - +

      ovirtual bool isSameKindAs(const Object* obj) const

      - +

      ovirtual const char* libraryName() const

      - +

      ovirtual const char* className() const

      - -

      oint compare(const StateSet& rhs, bool compareAttributeContents=false) const + +
      oint compare(const StateSet& rhs, bool compareAttributeContents=false) const
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

      - +

      obool operator < (const StateSet& rhs) const

      - +

      obool operator == (const StateSet& rhs) const

      - +

      obool operator != (const StateSet& rhs) const

      - +

      ovoid setGlobalDefaults()
      set all the modes to on or off so that it defines a complete state, typically used for a default global state

      - +

      ovoid setAllToInherit()
      set all the modes to inherit, typically used to signify nodes which inherit all of their modes for the global state

      - +

      ovoid merge(const StateSet& rhs)
      merge this stateset with stateset rhs, this overrides the rhs if OVERRIDE is specified, otherwise rhs takes precedence

      - +

      otypedef std::map<StateAttribute::GLMode,StateAttribute::GLModeValue> ModeList
      a container to map GLModes to their respective GLModeValues

      - +

      ovoid setMode(const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value)
      set this StateSet to contain specified GLMode and value

      - +

      ovoid setModeToInherit(const StateAttribute::GLMode mode)
      set this StateSet to inherit specified GLMode type from parents. has the effect of deleting any GlMode of specified type from StateSet.

      - +

      oconst StateAttribute::GLModeValue getMode(const StateAttribute::GLMode mode) const
      get specified GLModeValue for specified GLMode. returns INHERIT if no GLModeValue is contained within StateSet.

      - -

      oinline ModeList& getModeList() + +
      oinline ModeList& getModeList()
      return the list of all GLModes contained in this StateSet

      - -

      oinline const ModeList& getModeList() const + +
      oinline const ModeList& getModeList() const
      return the const list of all GLModes contained in this const StateSet

      - +

      otypedef std::pair<ref_ptr<StateAttribute>,StateAttribute::OverrideValue> RefAttributePair
      simple pairing between an attribute and its override flag

      - -

      otypedef std::map<StateAttribute::Type,RefAttributePair> AttributeList + +
      otypedef std::map<StateAttribute::Type,RefAttributePair> AttributeList
      a container to map StateAttribyte::Types to their respective RefAttributePair

      - +

      ovoid setAttribute(StateAttribute* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF)
      set this StateSet to contain specified attribute and override flag

      - +

      ovoid setAttributeAndModes(StateAttribute* attribute, const StateAttribute::GLModeValue value=StateAttribute::ON)
      set this StateSet to contain specified attribute and set the associated GLMode's to specified value

      - +

      ovoid setAttributeToInherit(const StateAttribute::Type type)
      set this StateSet to inherit specified attribute type from parents. has the effect of deleting any state attributes of specified type from StateSet.

      - +

      oStateAttribute* getAttribute(const StateAttribute::Type type)
      get specified StateAttribute for specified type. returns NULL if no type is contained within StateSet.

      - +

      oconst StateAttribute* getAttribute(const StateAttribute::Type type) const
      get specified const StateAttribute for specified type. returns NULL if no type is contained within const StateSet.

      - -

      oconst RefAttributePair* getAttributePair(const StateAttribute::Type type) const + +
      oconst RefAttributePair* getAttributePair(const StateAttribute::Type type) const
      get specified RefAttributePair for specified type. returns NULL if no type is contained within StateSet.

      - -

      oinline AttributeList& getAttributeList() + +
      oinline AttributeList& getAttributeList()
      return the list of all StateAttributes contained in this StateSet

      - -

      oinline const AttributeList& getAttributeList() const + +
      oinline const AttributeList& getAttributeList() const
      return the const list of all StateAttributes contained in this const StateSet

      - +

      ovoid setTextureMode(unsigned int unit, const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value)
      set this StateSet to contain specified GLMode and value

      - +

      ovoid setTextureModeToInherit(unsigned int unit, const StateAttribute::GLMode mode)
      set this StateSet to inherit specified GLMode type from parents. has the effect of deleting any GlMode of specified type from StateSet.

      - +

      oconst StateAttribute::GLModeValue getTextureMode(unsigned int unit, const StateAttribute::GLMode mode) const
      get specified GLModeValue for specified GLMode. returns INHERIT if no GLModeValue is contained within StateSet.

      - +

      oinline TextureModeList& getTextureModeList()
      return the list of all Texture related GLModes contained in this StateSet

      - +

      oinline const TextureModeList& getTextureModeList() const
      return the const list of all Texture related GLModes contained in this const StateSet

      - +

      ovoid setTextureAttribute(unsigned int unit, StateAttribute* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF)
      set this StateSet to contain specified attribute and override flag

      - +

      ovoid setTextureAttributeAndModes(unsigned int unit, StateAttribute* attribute, const StateAttribute::GLModeValue value=StateAttribute::ON)
      set this StateSet to contain specified attribute and set the associated GLMode's to specified value

      - +

      ovoid setTextureAttributeToInherit(unsigned int unit, const StateAttribute::Type type)
      set this StateSet to inherit specified attribute type from parents. has the effect of deleting any state attributes of specified type from StateSet.

      - +

      oStateAttribute* getTextureAttribute(unsigned int unit, const StateAttribute::Type type)
      get specified Texture related StateAttribute for specified type. returns NULL if no type is contained within StateSet.

      - +

      oconst StateAttribute* getTextureAttribute(unsigned int unit, const StateAttribute::Type type) const
      get specified Texture related const StateAttribute for specified type. returns NULL if no type is contained within const StateSet.

      - -

      oconst RefAttributePair* getTextureAttributePair(unsigned int unit, const StateAttribute::Type type) const + +
      oconst RefAttributePair* getTextureAttributePair(unsigned int unit, const StateAttribute::Type type) const
      get specified Texture related RefAttributePair for specified type. returns NULL if no type is contained within StateSet.

      - +

      oinline TextureAttributeList& getTextureAttributeList()
      return the list of all Texture related StateAttributes contained in this StateSet

      - +

      oinline const TextureAttributeList& getTextureAttributeList() const
      return the const list of all Texture related StateAttributes contained in this const StateSet

      - +

      ovoid setAssociatedModes(const StateAttribute* attribute, const StateAttribute::GLModeValue value)

      - +

      ovoid setAssociatedTextureModes(unsigned int unit, const StateAttribute* attribute, const StateAttribute::GLModeValue value)

      - +

      oenum RenderingHint

      - +
      o DEFAULT_BIN

      - +

      o OPAQUE_BIN

      - +

      o TRANSPARENT_BIN

      - +
      ovoid setRenderingHint(const int hint)
      set the RenderingHint of the StateSet. RenderingHint is used by osgUtil::Renderer to determine which @@ -549,157 +549,157 @@ objects OPAQUE_BIN would typical used, which TRANSPARENT_BIN should be used for objects which need to be depth sorted.

      - +

      oinline const int getRenderingHint() const
      get the RenderingHint of the StateSet

      - +

      oenum RenderBinMode

      - +
      o INHERIT_RENDERBIN_DETAILS

      - +

      o USE_RENDERBIN_DETAILS

      - +

      o OVERRIDE_RENDERBIN_DETAILS

      - +

      o ENCLOSE_RENDERBIN_DETAILS

      - -
      ovoid setRenderBinDetails(const int binNum, const std::string& binName, const RenderBinMode mode=USE_RENDERBIN_DETAILS) + +
      ovoid setRenderBinDetails(const int binNum, const std::string& binName, const RenderBinMode mode=USE_RENDERBIN_DETAILS)
      set the render bin details

      - +

      ovoid setRendingBinToInherit()
      set the render bin details to inherit

      - -

      oinline const RenderBinMode getRenderBinMode() const + +
      oinline const RenderBinMode getRenderBinMode() const
      get the render bin mode

      - +

      oinline const bool useRenderBinDetails() const
      get whether the render bin details are set and should be used

      - +

      oinline const int getBinNumber() const
      get the render bin number

      - +

      oinline const std::string& getBinName() const
      get the render bin name

      - +

      ovoid compile(State& state) const
      call compile on all StateAttributes contained within this StateSet

      - +

      ovirtual ~StateSet()

      - +

      oStateSet& operator = (const StateSet&)

      - -

      oModeList _modeList + +
      oModeList _modeList

      - -

      oAttributeList _attributeList + +
      oAttributeList _attributeList

      - +

      oTextureModeList _textureModeList

      - +

      oTextureAttributeList _textureAttributeList

      - -

      oinline ModeList& getOrCreateTextureModeList(unsigned int unit) + +
      oinline ModeList& getOrCreateTextureModeList(unsigned int unit)

      - -

      oinline AttributeList& getOrCreateTextureAttributeList(unsigned int unit) + +
      oinline AttributeList& getOrCreateTextureAttributeList(unsigned int unit)

      - -

      oint compareModes(const ModeList& lhs, const ModeList& rhs) + +
      oint compareModes(const ModeList& lhs, const ModeList& rhs)

      - -

      oint compareAttributePtrs(const AttributeList& lhs, const AttributeList& rhs) + +
      oint compareAttributePtrs(const AttributeList& lhs, const AttributeList& rhs)

      - -

      oint compareAttributeContents(const AttributeList& lhs, const AttributeList& rhs) + +
      oint compareAttributeContents(const AttributeList& lhs, const AttributeList& rhs)

      - -

      ovoid setMode(ModeList& modeList, const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value) + +
      ovoid setMode(ModeList& modeList, const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value)

      - -

      ovoid setModeToInherit(ModeList& modeList, const StateAttribute::GLMode mode) + +
      ovoid setModeToInherit(ModeList& modeList, const StateAttribute::GLMode mode)

      - -

      oconst StateAttribute::GLModeValue getMode(const ModeList& modeList, const StateAttribute::GLMode mode) const + +
      oconst StateAttribute::GLModeValue getMode(const ModeList& modeList, const StateAttribute::GLMode mode) const

      - -

      ovoid setAssociatedModes(ModeList& modeList, const StateAttribute* attribute, const StateAttribute::GLModeValue value) + +
      ovoid setAssociatedModes(ModeList& modeList, const StateAttribute* attribute, const StateAttribute::GLModeValue value)

      - -

      ovoid setAttribute(AttributeList& attributeList, StateAttribute* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF) + +
      ovoid setAttribute(AttributeList& attributeList, StateAttribute* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF)

      - -

      oStateAttribute* getAttribute(AttributeList& attributeList, const StateAttribute::Type type) + +
      oStateAttribute* getAttribute(AttributeList& attributeList, const StateAttribute::Type type)

      - -

      oconst StateAttribute* getAttribute(const AttributeList& attributeList, const StateAttribute::Type type) const + +
      oconst StateAttribute* getAttribute(const AttributeList& attributeList, const StateAttribute::Type type) const

      - -

      oconst RefAttributePair* getAttributePair(const AttributeList& attributeList, const StateAttribute::Type type) const + +
      oconst RefAttributePair* getAttributePair(const AttributeList& attributeList, const StateAttribute::Type type) const

      - +

      oint _renderingHint

      - -

      oRenderBinMode _binMode + +
      oRenderBinMode _binMode

      - +

      oint _binNum

      - +

      ostd::string _binName

      diff --git a/doc/doc++/osg/Statistics.html b/doc/doc++/osg/Statistics.html index 618f39ebd..fb39c5db8 100644 --- a/doc/doc++/osg/Statistics.html +++ b/doc/doc++/osg/Statistics.html @@ -23,77 +23,77 @@

      Public Fields

      -[more]int numOpaque +[more]int numOpaque
      -[more]int nummat +[more]int nummat
      -[more]int nbins +[more]int nbins
      -[more]int nlights +[more]int nlights
      -[more]int depth +[more]int depth
      -[more]int _binNo +[more]int _binNo
      -[more]statsType stattype +[more]statsType stattype
      -[more]int nimpostor +[more]int nimpostor
      -[more]unsigned int _vertexCount +[more]unsigned int _vertexCount
      -[more]PrimtiveValueMap _primitiveCount +[more]PrimtiveValueMap _primitiveCount
      -[more]GLenum _currentPrimtiveFunctorMode +[more]GLenum _currentPrimtiveFunctorMode

      Public Methods

      -[more]typedef std::map<GLenum,PrimitivePair> PrimtiveValueMap Statistics() +[more]typedef std::map<GLenum,PrimitivePair> PrimtiveValueMap Statistics()
      -[more] ~Statistics() +[more] ~Statistics()
      -[more]void reset() +[more]void reset()
      -[more]void setType(statsType t) +[more]void setType(statsType t)
      -[more]virtual void setVertexArray(unsigned int count, Vec3*) +[more]virtual void setVertexArray(unsigned int count, Vec3*)
      -[more]virtual void drawArrays(GLenum mode, GLint, GLsizei count) +[more]virtual void drawArrays(GLenum mode, GLint, GLsizei count)
      -[more]virtual void drawElements(GLenum mode, GLsizei count, GLubyte*) +[more]virtual void drawElements(GLenum mode, GLsizei count, GLubyte*)
      -[more]virtual void drawElements(GLenum mode, GLsizei count, GLushort*) +[more]virtual void drawElements(GLenum mode, GLsizei count, GLushort*)
      -[more]virtual void drawElements(GLenum mode, GLsizei count, GLuint*) +[more]virtual void drawElements(GLenum mode, GLsizei count, GLuint*)
      -[more]virtual void begin(GLenum mode) +[more]virtual void begin(GLenum mode)
      -[more]virtual void vertex(const Vec3&) +[more]virtual void vertex(const Vec3&)
      -[more]virtual void vertex(float, float, float) +[more]virtual void vertex(float, float, float)
      -[more]virtual void end() +[more]virtual void end()
      -[more]void addOpaque() +[more]void addOpaque()
      -[more]void addMatrix() +[more]void addMatrix()
      -[more]void addLight(const int np) +[more]void addLight(const int np)
      -[more]void addImpostor(const int np) +[more]void addImpostor(const int np)
      -[more]inline const int getBins() +[more]inline const int getBins()
      -[more]void setDepth(const int d) +[more]void setDepth(const int d)
      -[more]void addBins(const int np) +[more]void addBins(const int np)
      -[more]void setBinNo(const int n) +[more]void setBinNo(const int n)

      Public Members

      -[more]enum statsType +[more]enum statsType

      @@ -139,169 +139,169 @@ each trifan or tristrip = (length-2) triangles and so on.
      - +
      otypedef std::map<GLenum,PrimitivePair> PrimtiveValueMap Statistics()

      - +

      o ~Statistics()

      - +

      oenum statsType

      - +
      o STAT_NONE

      - +

      o STAT_FRAMERATE

      - +

      o STAT_GRAPHS

      - +

      o STAT_PRIMS

      - +

      o STAT_PRIMSPERVIEW

      - +

      o STAT_PRIMSPERBIN

      - +

      o STAT_DC

      - +

      o STAT_RESTART

      - +
      ovoid reset()

      - -

      ovoid setType(statsType t) + +
      ovoid setType(statsType t)

      - +

      ovirtual void setVertexArray(unsigned int count, Vec3*)

      - +

      ovirtual void drawArrays(GLenum mode, GLint, GLsizei count)

      - +

      ovirtual void drawElements(GLenum mode, GLsizei count, GLubyte*)

      - +

      ovirtual void drawElements(GLenum mode, GLsizei count, GLushort*)

      - +

      ovirtual void drawElements(GLenum mode, GLsizei count, GLuint*)

      - +

      ovirtual void begin(GLenum mode)

      - +

      ovirtual void vertex(const Vec3&)

      - +

      ovirtual void vertex(float, float, float)

      - +

      ovirtual void end()

      - +

      ovoid addOpaque()

      - +

      ovoid addMatrix()

      - +

      ovoid addLight(const int np)

      - +

      ovoid addImpostor(const int np)

      - +

      oinline const int getBins()

      - +

      ovoid setDepth(const int d)

      - +

      ovoid addBins(const int np)

      - +

      ovoid setBinNo(const int n)

      - +

      oint numOpaque

      - +

      oint nummat

      - +

      oint nbins

      - +

      oint nlights

      - +

      oint depth

      - +

      oint _binNo

      - -

      ostatsType stattype + +
      ostatsType stattype

      - +

      oint nimpostor

      - +

      ounsigned int _vertexCount

      - +

      oPrimtiveValueMap _primitiveCount

      - +

      oGLenum _currentPrimtiveFunctorMode

      diff --git a/doc/doc++/osg/Stencil.html b/doc/doc++/osg/Stencil.html index ca5681f7a..5cde8fc3b 100644 --- a/doc/doc++/osg/Stencil.html +++ b/doc/doc++/osg/Stencil.html @@ -23,72 +23,72 @@

      Public Methods

      -[more] Stencil() +[more] Stencil()
      -[more] Stencil(const Stencil& stencil, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Stencil(const Stencil& stencil, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy
      -[more] META_StateAttribute(osg, Stencil, STENCIL) +[more] META_StateAttribute(osg, Stencil, STENCIL)
      -[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
      -[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
      -[more]inline void setFunction(const Function func, int ref, uint mask) +[more]inline void setFunction(const Function func, int ref, uint mask)
      -[more]inline const Function getFunction() const +[more]inline const Function getFunction() const
      -[more]inline const int getFunctionRef() const +[more]inline const int getFunctionRef() const
      -[more]inline const uint getFunctionMask() const +[more]inline const uint getFunctionMask() const
      -[more]inline void setOperation(const Operation sfail, const Operation zfail, const Operation zpass) +[more]inline void setOperation(const Operation sfail, const Operation zfail, const Operation zpass)
      set the operations to apply when the various stencil and depth tests fail or pass.
      -[more]inline const Operation getStencilFailOperation() const +[more]inline const Operation getStencilFailOperation() const
      get the operation when the stencil test fails
      -[more]inline const Operation getStencilPassAndDepthFailOperation() const +[more]inline const Operation getStencilPassAndDepthFailOperation() const
      get the operation when the stencil test passes but the depth test fails
      -[more]inline const Operation getStencilPassAndDepthPassOperation() const +[more]inline const Operation getStencilPassAndDepthPassOperation() const
      get the operation when both the stencil test and the depth test pass
      -[more]inline void setWriteMask(uint mask) +[more]inline void setWriteMask(uint mask)
      -[more]inline const uint getWriteMask() const +[more]inline const uint getWriteMask() const
      -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

      Public Members

      -[more]enum Function +[more]enum Function
      -[more]enum Operation +[more]enum Operation

      Protected Fields

      -[more]Function _func +[more]Function _func
      -[more]int _funcRef +[more]int _funcRef
      -[more]uint _funcMask +[more]uint _funcMask
      -[more]Operation _sfail +[more]Operation _sfail
      -[more]Operation _zfail +[more]Operation _zfail
      -[more]Operation _zpass +[more]Operation _zpass
      -[more]uint _writeMask +[more]uint _writeMask

      Protected Methods

      -[more]virtual ~Stencil() +[more]virtual ~Stencil()

      @@ -106,7 +106,7 @@
      ovirtual const char* className() const
      -ovirtual const Type getType() const +ovirtual const Type getType() const
      ovirtual bool isTextureAttribute() const
      @@ -139,9 +139,9 @@

      Public Methods

      -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
      -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
      oinline void setUserData(Referenced* obj)
      @@ -157,7 +157,7 @@

      Protected Fields

      -oDataVariance _dataVariance +oDataVariance _dataVariance
      oref_ptr<Referenced> _userData

      @@ -192,114 +192,114 @@
      - +
      o Stencil()

      - -

      o Stencil(const Stencil& stencil, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
      o Stencil(const Stencil& stencil, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy

      - -

      o META_StateAttribute(osg, Stencil, STENCIL) + +
      o META_StateAttribute(osg, Stencil, STENCIL)

      - +

      ovirtual int compare(const StateAttribute& sa) const
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

      - -

      ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const + +
      ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

      - +

      oenum Function

      - +
      o NEVER

      - +

      o LESS

      - +

      o EQUAL

      - +

      o LEQUAL

      - +

      o GREATER

      - +

      o NOTEQUAL

      - +

      o GEQUAL

      - +

      o ALWAYS

      - -
      oinline void setFunction(const Function func, int ref, uint mask) + +
      oinline void setFunction(const Function func, int ref, uint mask)

      - -

      oinline const Function getFunction() const + +
      oinline const Function getFunction() const

      - +

      oinline const int getFunctionRef() const

      - +

      oinline const uint getFunctionMask() const

      - +

      oenum Operation

      - +
      o KEEP

      - +

      o ZERO

      - +

      o REPLACE

      - +

      o INCR

      - +

      o DECR

      - +

      o INVERT

      - -
      oinline void setOperation(const Operation sfail, const Operation zfail, const Operation zpass) + +
      oinline void setOperation(const Operation sfail, const Operation zfail, const Operation zpass)
      set the operations to apply when the various stencil and depth tests fail or pass. First parameter is to control the operation when the stencil test fails. The second parameter is to control the @@ -309,62 +309,62 @@ and depth pass. Ordering of parameter is the same as if using glStencilOp(,,).

      - -

      oinline const Operation getStencilFailOperation() const + +
      oinline const Operation getStencilFailOperation() const
      get the operation when the stencil test fails

      - -

      oinline const Operation getStencilPassAndDepthFailOperation() const + +
      oinline const Operation getStencilPassAndDepthFailOperation() const
      get the operation when the stencil test passes but the depth test fails

      - -

      oinline const Operation getStencilPassAndDepthPassOperation() const + +
      oinline const Operation getStencilPassAndDepthPassOperation() const
      get the operation when both the stencil test and the depth test pass

      - +

      oinline void setWriteMask(uint mask)

      - +

      oinline const uint getWriteMask() const

      - +

      ovirtual void apply(State& state) const

      - +

      ovirtual ~Stencil()

      - -

      oFunction _func + +
      oFunction _func

      - +

      oint _funcRef

      - +

      ouint _funcMask

      - -

      oOperation _sfail + +
      oOperation _sfail

      - -

      oOperation _zfail + +
      oOperation _zfail

      - -

      oOperation _zpass + +
      oOperation _zpass

      - +

      ouint _writeMask

      diff --git a/doc/doc++/osg/Switch.html b/doc/doc++/osg/Switch.html index a75e078c5..d15b5ef3d 100644 --- a/doc/doc++/osg/Switch.html +++ b/doc/doc++/osg/Switch.html @@ -11,11 +11,11 @@

      Inheritance:

      - - - - - + + + + +
      @@ -23,37 +23,37 @@

      Public Methods

      -[more] Switch() +[more] Switch()
      -[more] Switch(const Switch&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Switch(const Switch&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy
      -[more] META_Node(osg, Switch) +[more] META_Node(osg, Switch)
      -[more]virtual void traverse(NodeVisitor& nv) +[more]virtual void traverse(NodeVisitor& nv)
      -[more]inline void setValue(const int value) +[more]inline void setValue(const int value)
      Selects the active child Node or enables a special SwitchType mode.
      -[more]inline const int getValue() const +[more]inline const int getValue() const
      Returns the number of the active child Node or the SwitchType

      Public Members

      -[more]enum SwitchType +[more]enum SwitchType
      Special mode values for the Switch.

      Protected Fields

      -[more]int _value +[more]int _value
      The current Switch value.

      Protected Methods

      -[more]virtual ~Switch() +[more]virtual ~Switch()

      @@ -102,7 +102,7 @@ to represent the different states of a traffic light.
      - +
      oenum SwitchType
      Special mode values for the Switch. Use these if you want to @@ -110,60 +110,62 @@ turn on/off all child nodes.

      - +
      o ALL_CHILDREN_ON
      Turn on all children.

      - +

      o ALL_CHILDREN_OFF
      Turn off all children.

      - +
      o Switch()

      - -

      o Switch(const Switch&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
      o Switch(const Switch&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy

      - +

      o META_Node(osg, Switch)

      - +

      ovirtual void traverse(NodeVisitor& nv)

      - +

      oinline void setValue(const int value)
      Selects the active child Node or enables a special SwitchType mode.
      Parameters:
      value - the number of the active child -(first child == number 0) or SwitchType. Invalid values +(first child == number 0) or SwitchType. Invalid values will be ignored.

      - +

      oinline const int getValue() const
      Returns the number of the active child Node or the SwitchType

      - +

      ovirtual ~Switch()

      - +

      oint _value
      The current Switch value.

      - -
      This class has no child classes.
      +
      +
      Direct child classes: +
      Sequence
      +

      Alphabetic index HTML hierarchy of classes or Java



      diff --git a/doc/doc++/osg/TemplateArray.html b/doc/doc++/osg/TemplateArray.html index f981341ea..f0b19c8fa 100644 --- a/doc/doc++/osg/TemplateArray.html +++ b/doc/doc++/osg/TemplateArray.html @@ -7,7 +7,7 @@ -

      template<typename T, Array::Type ARRAYTYPE, int DataSize, int DataType> class osg::TemplateArray


      +

      template<typename T, Array::Type ARRAYTYPE, int DataSize, int DataType> class osg::TemplateArray


      Inheritance:

      @@ -28,9 +28,9 @@
      [more] TemplateArray(unsigned int no)
      -[more] TemplateArray(unsigned int no, T* ptr) +[more] TemplateArray(unsigned int no, T* ptr)
      -[more]template<class InputIterator> TemplateArray(InputIterator first, InputIterator last) +[more]template<class InputIterator> TemplateArray(InputIterator first, InputIterator last)
      [more]virtual Object* cloneType() const
      @@ -85,9 +85,9 @@

      Public Methods

      -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
      -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
      oinline void setUserData(Referenced* obj)
      @@ -103,7 +103,7 @@

      Protected Fields

      -oDataVariance _dataVariance +oDataVariance _dataVariance
      oref_ptr<Referenced> _userData

      @@ -150,11 +150,11 @@

      -

      o TemplateArray(unsigned int no, T* ptr) +
      o TemplateArray(unsigned int no, T* ptr)

      -

      otemplate<class InputIterator> TemplateArray(InputIterator first, InputIterator last) +
      otemplate<class InputIterator> TemplateArray(InputIterator first, InputIterator last)

      diff --git a/doc/doc++/osg/TexEnv.html b/doc/doc++/osg/TexEnv.html index 651fb4f0f..3bc2201a9 100644 --- a/doc/doc++/osg/TexEnv.html +++ b/doc/doc++/osg/TexEnv.html @@ -23,46 +23,46 @@

      Public Methods

      -[more] TexEnv() +[more] TexEnv()
      -[more] TexEnv(const TexEnv& texenv, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] TexEnv(const TexEnv& texenv, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy
      -[more] META_StateAttribute(osg, TexEnv, TEXENV) +[more] META_StateAttribute(osg, TexEnv, TEXENV)
      -[more]virtual bool isTextureAttribute() const +[more]virtual bool isTextureAttribute() const
      -[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
      -[more]void setMode( const Mode mode ) +[more]void setMode( const Mode mode )
      -[more]const Mode getMode() const +[more]const Mode getMode() const
      -[more]void setColor( const Vec4& color ) +[more]void setColor( const Vec4& color )
      -[more]Vec4& getColor() +[more]Vec4& getColor()
      -[more]const Vec4& getColor() const +[more]const Vec4& getColor() const
      -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

      Public Members

      -[more]enum Mode +[more]enum Mode

      Protected Fields

      -[more]Mode _mode +[more]Mode _mode
      -[more]osg::Vec4 _color +[more]osg::Vec4 _color

      Protected Methods

      -[more]virtual ~TexEnv( void ) +[more]virtual ~TexEnv( void )

      @@ -80,7 +80,7 @@
      ovirtual const char* className() const
      -ovirtual const Type getType() const +ovirtual const Type getType() const
      obool operator < (const StateAttribute& rhs) const
      @@ -88,7 +88,7 @@
      obool operator != (const StateAttribute& rhs) const
      -ovirtual void getAssociatedModes(std::vector<GLMode>& ) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
      ovirtual void compile(State&) const

      @@ -113,9 +113,9 @@

      Public Methods

      -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
      -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
      oinline void setUserData(Referenced* obj)
      @@ -131,7 +131,7 @@

      Protected Fields

      -oDataVariance _dataVariance +oDataVariance _dataVariance
      oref_ptr<Referenced> _userData

      @@ -166,83 +166,87 @@
      - +
      o TexEnv()

      - -

      o TexEnv(const TexEnv& texenv, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
      o TexEnv(const TexEnv& texenv, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy

      - -

      o META_StateAttribute(osg, TexEnv, TEXENV) + +
      o META_StateAttribute(osg, TexEnv, TEXENV)

      - +

      ovirtual bool isTextureAttribute() const

      - +

      ovirtual int compare(const StateAttribute& sa) const
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

      - +

      oenum Mode

      - +
      o DECAL

      - +

      o MODULATE

      - +

      o BLEND

      - +

      o REPLACE +

      + + +

      o ADD

      - -
      ovoid setMode( const Mode mode ) + +
      ovoid setMode( const Mode mode )

      - -

      oconst Mode getMode() const + +
      oconst Mode getMode() const

      - +

      ovoid setColor( const Vec4& color )

      - +

      oVec4& getColor()

      - +

      oconst Vec4& getColor() const

      - +

      ovirtual void apply(State& state) const

      - +

      ovirtual ~TexEnv( void )

      - -

      oMode _mode + +
      oMode _mode

      - +

      oosg::Vec4 _color

      diff --git a/doc/doc++/osg/TexGen.html b/doc/doc++/osg/TexGen.html index 086b88643..570705f3f 100644 --- a/doc/doc++/osg/TexGen.html +++ b/doc/doc++/osg/TexGen.html @@ -23,55 +23,55 @@

      Public Methods

      -[more] TexGen() +[more] TexGen()
      -[more] TexGen(const TexGen& texgen, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] TexGen(const TexGen& texgen, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy
      -[more] META_StateAttribute(osg, TexGen, TEXGEN) +[more] META_StateAttribute(osg, TexGen, TEXGEN)
      -[more]virtual bool isTextureAttribute() const +[more]virtual bool isTextureAttribute() const
      -[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
      -[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
      -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const
      -[more]inline void setMode( const Mode mode ) +[more]inline void setMode( const Mode mode )
      -[more]const Mode getMode() const +[more]const Mode getMode() const
      -[more]void setPlane(const Coord which, const Vec4& plane) +[more]void setPlane(const Coord which, const Vec4& plane)
      -[more]const Vec4& getPlane(const Coord which) const +[more]const Vec4& getPlane(const Coord which) const

      Public Members

      -[more]enum Mode +[more]enum Mode
      -[more]enum Coord +[more]enum Coord

      Protected Fields

      -[more]Mode _mode +[more]Mode _mode
      -[more]Vec4 _plane_s +[more]Vec4 _plane_s
      additional texgen coefficents for GL_OBJECT_PLANE or GL_EYE_PLANE,
      -[more]Vec4 _plane_t +[more]Vec4 _plane_t
      -[more]Vec4 _plane_r +[more]Vec4 _plane_r
      -[more]Vec4 _plane_q +[more]Vec4 _plane_q

      Protected Methods

      -[more]virtual ~TexGen( void ) +[more]virtual ~TexGen( void )

      @@ -89,7 +89,7 @@
      ovirtual const char* className() const
      -ovirtual const Type getType() const +ovirtual const Type getType() const
      obool operator < (const StateAttribute& rhs) const
      @@ -120,9 +120,9 @@

      Public Methods

      -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
      -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
      oinline void setUserData(Referenced* obj)
      @@ -138,7 +138,7 @@

      Protected Fields

      -oDataVariance _dataVariance +oDataVariance _dataVariance
      oref_ptr<Referenced> _userData

      @@ -173,122 +173,122 @@
      - +
      o TexGen()

      - -

      o TexGen(const TexGen& texgen, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
      o TexGen(const TexGen& texgen, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy

      - -

      o META_StateAttribute(osg, TexGen, TEXGEN) + +
      o META_StateAttribute(osg, TexGen, TEXGEN)

      - +

      ovirtual bool isTextureAttribute() const

      - +

      ovirtual int compare(const StateAttribute& sa) const
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

      - -

      ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const + +
      ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const

      - +

      ovirtual void apply(State& state) const

      - +

      oenum Mode

      - +
      o OBJECT_LINEAR

      - +

      o EYE_LINEAR

      - +

      o SPHERE_MAP

      - +

      o NORMAL_MAP

      - +

      o REFLECTION_MAP

      - -
      oinline void setMode( const Mode mode ) + +
      oinline void setMode( const Mode mode )

      - -

      oconst Mode getMode() const + +
      oconst Mode getMode() const

      - +

      oenum Coord

      - +
      o S

      - +

      o T

      - +

      o R

      - +

      o Q

      - -
      ovoid setPlane(const Coord which, const Vec4& plane) + +
      ovoid setPlane(const Coord which, const Vec4& plane)

      - -

      oconst Vec4& getPlane(const Coord which) const + +
      oconst Vec4& getPlane(const Coord which) const

      - +

      ovirtual ~TexGen( void )

      - -

      oMode _mode + +
      oMode _mode

      - +

      oVec4 _plane_s
      additional texgen coefficents for GL_OBJECT_PLANE or GL_EYE_PLANE,

      - +

      oVec4 _plane_t

      - +

      oVec4 _plane_r

      - +

      oVec4 _plane_q

      diff --git a/doc/doc++/osg/TexMat.html b/doc/doc++/osg/TexMat.html index 0ccabdc0c..951665283 100644 --- a/doc/doc++/osg/TexMat.html +++ b/doc/doc++/osg/TexMat.html @@ -23,39 +23,39 @@

      Public Methods

      -[more] TexMat() +[more] TexMat()
      -[more] TexMat(const TexMat& texmat, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] TexMat(const TexMat& texmat, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy
      -[more] META_StateAttribute(osg, TexMat, TEXMAT) +[more] META_StateAttribute(osg, TexMat, TEXMAT)
      -[more]virtual bool isTextureAttribute() const +[more]virtual bool isTextureAttribute() const
      -[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
      -[more]inline void setMatrix(const Matrix& matrix) +[more]inline void setMatrix(const Matrix& matrix)
      Set the texture matrix
      -[more]inline Matrix& getMatrix() +[more]inline Matrix& getMatrix()
      Get the texture matrix
      -[more]inline const Matrix& getMatrix() const +[more]inline const Matrix& getMatrix() const
      Get the const texture matrix
      -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const
      apply as OpenGL texture matrix

      Protected Fields

      -[more]Matrix _matrix +[more]Matrix _matrix

      Protected Methods

      -[more]virtual ~TexMat( void ) +[more]virtual ~TexMat( void )

      @@ -73,7 +73,7 @@
      ovirtual const char* className() const
      -ovirtual const Type getType() const +ovirtual const Type getType() const
      obool operator < (const StateAttribute& rhs) const
      @@ -81,7 +81,7 @@
      obool operator != (const StateAttribute& rhs) const
      -ovirtual void getAssociatedModes(std::vector<GLMode>& ) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
      ovirtual void compile(State&) const

      @@ -106,9 +106,9 @@

      Public Methods

      -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
      -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
      oinline void setUserData(Referenced* obj)
      @@ -124,7 +124,7 @@

      Protected Fields

      -oDataVariance _dataVariance +oDataVariance _dataVariance
      oref_ptr<Referenced> _userData

      @@ -159,53 +159,53 @@
      - +
      o TexMat()

      - -

      o TexMat(const TexMat& texmat, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
      o TexMat(const TexMat& texmat, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy

      - -

      o META_StateAttribute(osg, TexMat, TEXMAT) + +
      o META_StateAttribute(osg, TexMat, TEXMAT)

      - +

      ovirtual bool isTextureAttribute() const

      - +

      ovirtual int compare(const StateAttribute& sa) const
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

      - +

      oinline void setMatrix(const Matrix& matrix)
      Set the texture matrix

      - +

      oinline Matrix& getMatrix()
      Get the texture matrix

      - +

      oinline const Matrix& getMatrix() const
      Get the const texture matrix

      - +

      ovirtual void apply(State& state) const
      apply as OpenGL texture matrix

      - +

      ovirtual ~TexMat( void )

      - +

      oMatrix _matrix

      diff --git a/doc/doc++/osg/Texture.html b/doc/doc++/osg/Texture.html index 82fd3ba3d..bbf622140 100644 --- a/doc/doc++/osg/Texture.html +++ b/doc/doc++/osg/Texture.html @@ -7,15 +7,15 @@ -

      class SG_EXPORT osg::Texture

      Texture state class which encapsulates OpenGl texture functionality
      +

      class SG_EXPORT osg::Texture

      Texture base class which encapsulates OpenGl texture functionality which common betweent the various types of OpenGL textures

      Inheritance:

      - - - - - + + + + +
      @@ -23,178 +23,151 @@

      Public Methods

      -[more] Texture() +[more] Texture()
      -[more] Texture(const Texture& text, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Texture(const Texture& text, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy
      -[more] META_StateAttribute(osg, Texture, TEXTURE) +[more]virtual osg::Object* cloneType() const = 0
      -[more]virtual bool isTextureAttribute() const +[more]virtual osg::Object* clone(const CopyOp& copyop) const = 0
      -[more]virtual int compare(const StateAttribute& rhs) const -
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs +[more]virtual bool isSameKindAs(const osg::Object* obj) const
      -[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual const char* libraryName() const
      -[more]void setImage(Image* image) -
      Set the texture image. +[more]virtual const char* className() const
      -[more]Image* getImage() -
      Get the texture image. +[more]virtual const Type getType() const
      -[more]inline const Image* getImage() const -
      Get the const texture image. +[more]virtual bool isTextureAttribute() const
      -[more]void copyTexImage2D(State& state, int x, int y, int width, int height ) -
      Copy pixels into a 2D texture imageAs per glCopyTexImage2D. -
      -[more]void copyTexSubImage2D(State& state, int xoffset, int yoffset, int x, int y, int width, int height ) -
      Copy a two-dimensional texture subimage. -
      -[more]void setWrap(const WrapParameter which, const WrapMode wrap) +[more]void setWrap(const WrapParameter which, const WrapMode wrap)
      Set the texture wrap mode
      -[more]const WrapMode getWrap(const WrapParameter which) const +[more]const WrapMode getWrap(const WrapParameter which) const
      Get the texture wrap mode
      -[more]void setBorderColor(const Vec4& color) +[more]void setBorderColor(const Vec4& color)
      Sets the border color for this texture.
      -[more]const Vec4& borderColor(void) const +[more]const Vec4& borderColor(void) const
      -[more]void setFilter(const FilterParameter which, const FilterMode filter) +[more]void setFilter(const FilterParameter which, const FilterMode filter)
      Set the texture filter mode
      -[more]const FilterMode getFilter(const FilterParameter which) const +[more]const FilterMode getFilter(const FilterParameter which) const
      Get the texture filter mode
      -[more]inline void setInternalFormatMode(const InternalFormatMode mode) +[more]void setMaxAnisotropy(float anis) +
      Set the maximum anisotropy value, default value is 10 for no anisotropic filtering. +
      +[more]inline float getMaxAnisotropy() const +
      Get the maximum anisotropy value +
      +[more]inline void setInternalFormatMode(const InternalFormatMode mode)
      Set the internal format mode.
      -[more]inline const InternalFormatMode getInternalFormatMode() const +[more]inline const InternalFormatMode getInternalFormatMode() const
      Get the internal format mode
      -[more]inline void setInternalFormatValue(const int internalFormat) +[more]inline void setInternalFormat(const int internalFormat)
      Set the internal format to use when creating OpenGL textures.
      -[more]inline const int getInternalFormatValue() const +[more]inline const int getInternalFormat() const
      Get the internal format to use when creating OpenGL textures
      -[more]inline const uint getTextureObject(const uint contextID) const +[more]bool isCompressedInternalFormat() const +
      +[more]inline GLuint& getTextureObject(const uint contextID) const
      return the OpenGL texture object for specified context
      -[more]inline void setSubloadMode(const SubloadMode mode) -
      Set the texture subload mode. +[more]inline uint& getModifiedTag(const uint contextID) const
      -[more]inline const SubloadMode getSubloadMode() const -
      Get the texture subload mode. -
      -[more]inline void setSubloadOffset(const int x, const int y) -
      Set the texture subload offsets. -
      -[more]inline void getSubloadOffset(int& x, int& y) const -
      Get the texture subload offsets. -
      -[more]inline void setSubloadSize(const int width, const int height) -
      Set the texture subload width. -
      -[more]inline void getSubloadSize(int& width, int& height) const -
      Get the texture subload width. -
      -[more]inline GLuint& getHandle(const uint contextID) const -
      Get the handle to the texture object for the current context -
      -[more]inline uint& getModifiedTag(const uint contextID) const -
      -[more]void dirtyTextureObject() +[more]void dirtyTextureObject()
      Force a recompile on next apply() of associated OpenGL texture objects
      -[more]virtual void apply(State& state) const -
      On first apply (unless already compiled), create the minmapped texture and bind it, subsequent apply will simple bind to texture -
      -[more]virtual void compile(State& state) const -
      Compile the texture mip maps. -
      -[more]static void deleteTextureObject(uint contextID, GLuint handle) +[more]static void deleteTextureObject(uint contextID, GLuint handle)
      use deleteTextureObject instead of glDeleteTextures to allow OpenGL texture objects to cached until they can be deleted by the OpenGL context in which they were created, specified by contextID
      -[more]static void flushDeletedTextureObjects(uint contextID) +[more]static void flushDeletedTextureObjects(uint contextID)
      flush all the cached display list which need to be deleted in the OpenGL context related to contextID +
      +[more]static GLint getMaxTextureSize() +
      Get the maximum texture size supported, this is the normally define by GL_MAX_TEXTURE_SIZE, but can be overridden by the OSG_MAX_TEXTURE_SIZE environmental variable +
      +[more]virtual void apply(State& state) const = 0 +
      Texture is pure virtual base class, apply must be overriden. +
      +[more]virtual void compile(State& state) const +
      Calls apply(state) to compile the texture.

      Public Members

      -[more]enum WrapParameter +[more]enum WrapParameter
      -[more]enum WrapMode +[more]enum WrapMode
      -[more]enum FilterParameter +[more]enum FilterParameter
      -[more]enum FilterMode +[more]enum FilterMode
      -[more]enum InternalFormatMode +[more]enum InternalFormatMode
      -[more]enum SubloadMode +[more] Get the handle to the texture object for the current context

      Protected Fields

      -[more]mutable ref_ptr<Image> _image +[more]WrapMode _wrap_s
      -[more]GLenum _target +[more]WrapMode _wrap_t
      -[more]WrapMode _wrap_s +[more]WrapMode _wrap_r
      -[more]WrapMode _wrap_t +[more]FilterMode _min_filter
      -[more]WrapMode _wrap_r +[more]FilterMode _mag_filter
      -[more]FilterMode _min_filter +[more]float _maxAnisotropy
      -[more]FilterMode _mag_filter +[more]Vec4 _borderColor
      -[more]mutable bool _texParamtersDirty +[more]mutable bool _texParametersDirty
      -[more]InternalFormatMode _internalFormatMode +[more]InternalFormatMode _internalFormatMode
      -[more]int _internalFormatValue -
      -[more]Vec4 _borderColor -
      -[more]mutable GLsizei _textureWidth -
      -[more]mutable GLsizei _textureHeight -
      -[more]SubloadMode _subloadMode -
      -[more]GLint _subloadOffsX -
      -[more]GLint _subloadOffsY -
      -[more]GLsizei _subloadWidth -
      -[more]GLsizei _subloadHeight +[more]mutable GLint _internalFormat

      Protected Methods

      -[more]virtual ~Texture() +[more]virtual ~Texture()
      -[more]void applyTexParameters(GLenum target, State& state) const -
      Method which does setting of texture paramters. +[more]virtual void computeInternalFormat() const = 0
      -[more]virtual void applyTexImage(GLenum target, Image* image, State& state) const -
      Method which does the creation of the texture itself, and does not set or use texture binding. +[more]void computeInternalFormatWithImage(osg::Image& image) const +
      +[more]bool isCompressedInternalFormat(GLint internalFormat) const +
      +[more]void applyTexParameters(GLenum target, State& state) const +
      Helper method which does setting of texture paramters. +
      +[more]void applyTexImage2D(GLenum target, Image* image, State& state, GLsizei& width, GLsizei& height, GLsizei& numMimpmapLevels) const +
      Helper method which does the creation of the texture itself, and does not set or use texture binding. +
      +[more]int compareTexture(const Texture& rhs) const +
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

      Protected Members

      -[more]typedef std::vector<GLuint> TextureNameList mutable TextureNameList _handleList +[more]typedef std::vector<GLuint> TextureNameList mutable TextureNameList _handleList
      -[more]typedef std::vector<uint> ImageModifiedTag mutable ImageModifiedTag _modifiedTag +[more]typedef std::vector<uint> ImageModifiedTag mutable ImageModifiedTag _modifiedTag
      -[more]typedef std::map<uint,std::set<uint> >static DeletedTextureObjectCache DeletedTextureObjectCache s_deletedTextureObjectCache +[more]typedef std::map<uint,std::set<uint> >static DeletedTextureObjectCache DeletedTextureObjectCache s_deletedTextureObjectCache

      @@ -202,23 +175,15 @@

      Public Methods

      -ovirtual Object* cloneType() const -
      -ovirtual Object* clone(const CopyOp&) const -
      -ovirtual bool isSameKindAs(const Object* obj) const -
      -ovirtual const char* libraryName() const -
      -ovirtual const char* className() const -
      -ovirtual const Type getType() const +ovirtual int compare(const StateAttribute& sa) const
      obool operator < (const StateAttribute& rhs) const
      obool operator == (const StateAttribute& rhs) const
      obool operator != (const StateAttribute& rhs) const +
      +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const

      @@ -241,9 +206,9 @@

      Public Methods

      -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
      -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
      oinline void setUserData(Referenced* obj)
      @@ -259,7 +224,7 @@

      Protected Fields

      -oDataVariance _dataVariance +oDataVariance _dataVariance
      oref_ptr<Referenced> _userData

      @@ -290,324 +255,257 @@

      Documentation

      -
      Texture state class which encapsulates OpenGl texture functionality
      +
      Texture base class which encapsulates OpenGl texture functionality which common betweent the various types of OpenGL textures
      - +
      o Texture()

      - -

      o Texture(const Texture& text, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
      o Texture(const Texture& text, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy

      - - -

      o META_StateAttribute(osg, Texture, TEXTURE) + + +
      ovirtual osg::Object* cloneType() const = 0 +

      + + +

      ovirtual osg::Object* clone(const CopyOp& copyop) const = 0 +

      + + +

      ovirtual bool isSameKindAs(const osg::Object* obj) const +

      + + +

      ovirtual const char* libraryName() const +

      + + +

      ovirtual const char* className() const +

      + + +

      ovirtual const Type getType() const

      - +

      ovirtual bool isTextureAttribute() const

      - - -

      ovirtual int compare(const StateAttribute& rhs) const -
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs -

      - - -

      ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const -

      - - -

      ovoid setImage(Image* image) -
      Set the texture image. -

      - - -

      oImage* getImage() -
      Get the texture image. -

      - - -

      oinline const Image* getImage() const -
      Get the const texture image. -

      - - -

      ovoid copyTexImage2D(State& state, int x, int y, int width, int height ) -
      Copy pixels into a 2D texture imageAs per glCopyTexImage2D. -Creates an OpenGL texture object from the current OpenGL background -framebuffer contents at pos \a x, \a y with width \a width and -height \a height. \a width and \a height must be a power of two. -

      - - -

      ovoid copyTexSubImage2D(State& state, int xoffset, int yoffset, int x, int y, int width, int height ) -
      Copy a two-dimensional texture subimage. As per glCopyTexSubImage2D. -Updates portion of an existing OpenGL texture object from the current OpenGL background -framebuffer contents at pos \a x, \a y with width \a width and -height \a height. \a width and \a height must be a power of two, -and writing into the texture with offset \a xoffset and \a yoffset. -

      - +

      oenum WrapParameter

      - +
      o WRAP_S

      - +

      o WRAP_T

      - +

      o WRAP_R

      - +
      oenum WrapMode

      - +
      o CLAMP

      - +

      o CLAMP_TO_EDGE

      - +

      o CLAMP_TO_BORDER

      - +

      o REPEAT

      - +

      o MIRROR

      - -
      ovoid setWrap(const WrapParameter which, const WrapMode wrap) + +
      ovoid setWrap(const WrapParameter which, const WrapMode wrap)
      Set the texture wrap mode

      - -

      oconst WrapMode getWrap(const WrapParameter which) const + +
      oconst WrapMode getWrap(const WrapParameter which) const
      Get the texture wrap mode

      - +

      ovoid setBorderColor(const Vec4& color)
      Sets the border color for this texture. Makes difference only if wrap mode is CLAMP_TO_BORDER

      - +

      oconst Vec4& borderColor(void) const

      - +

      oenum FilterParameter

      - +
      o MIN_FILTER

      - +

      o MAG_FILTER

      - +
      oenum FilterMode

      - +
      o LINEAR

      - +

      o LINEAR_MIPMAP_LINEAR

      - +

      o LINEAR_MIPMAP_NEAREST

      - +

      o NEAREST

      - +

      o NEAREST_MIPMAP_LINEAR

      - +

      o NEAREST_MIPMAP_NEAREST -

      - - -

      o ANISOTROPIC

      - -
      ovoid setFilter(const FilterParameter which, const FilterMode filter) + +
      ovoid setFilter(const FilterParameter which, const FilterMode filter)
      Set the texture filter mode

      - -

      oconst FilterMode getFilter(const FilterParameter which) const + +
      oconst FilterMode getFilter(const FilterParameter which) const
      Get the texture filter mode

      + + +

      ovoid setMaxAnisotropy(float anis) +
      Set the maximum anisotropy value, default value is 10 for +no anisotropic filtering. If hardware does not support anisotropic +filtering then normal filtering is used, equivilant to a max anisotropy value of 1.0. +valid range is 1.0f upwards. The maximum value depends on the graphics +system being used. +

      + + +

      oinline float getMaxAnisotropy() const +
      Get the maximum anisotropy value +

      - +

      oenum InternalFormatMode

      - +
      o USE_IMAGE_DATA_FORMAT

      - +

      o USE_USER_DEFINED_FORMAT

      - +

      o USE_ARB_COMPRESSION

      - +

      o USE_S3TC_DXT1_COMPRESSION

      - +

      o USE_S3TC_DXT3_COMPRESSION

      - +

      o USE_S3TC_DXT5_COMPRESSION

      - -
      oinline void setInternalFormatMode(const InternalFormatMode mode) + +
      oinline void setInternalFormatMode(const InternalFormatMode mode)
      Set the internal format mode. Note, If the mode is set USE_IMAGE_DATA_FORMAT, USE_ARB_COMPRESSION, USE_S3TC_COMPRESSION the internalFormat is automatically selected, -and will overwrite the previous _internalFormatValue. +and will overwrite the previous _internalFormat.

      - -

      oinline const InternalFormatMode getInternalFormatMode() const + +
      oinline const InternalFormatMode getInternalFormatMode() const
      Get the internal format mode

      - - -

      oinline void setInternalFormatValue(const int internalFormat) + + +
      oinline void setInternalFormat(const int internalFormat)
      Set the internal format to use when creating OpenGL textures. Also sets the internalFormatMode to USE_USER_DEFINED_FORMAT.

      - - -

      oinline const int getInternalFormatValue() const + + +
      oinline const int getInternalFormat() const
      Get the internal format to use when creating OpenGL textures

      - - -

      oinline const uint getTextureObject(const uint contextID) const -
      return the OpenGL texture object for specified context + + +
      obool isCompressedInternalFormat() const

      - - -

      oenum SubloadMode -

      - - - -
      o OFF -

      - - -

      o AUTO -

      - - -

      o IF_DIRTY -

      - - - -
      oinline void setSubloadMode(const SubloadMode mode) -
      Set the texture subload mode. -

      - - -

      oinline const SubloadMode getSubloadMode() const -
      Get the texture subload mode. -

      - - -

      oinline void setSubloadOffset(const int x, const int y) -
      Set the texture subload offsets. -

      - - -

      oinline void getSubloadOffset(int& x, int& y) const -
      Get the texture subload offsets. -

      - - -

      oinline void setSubloadSize(const int width, const int height) -
      Set the texture subload width. If width or height are zero then -the repsective size value is calculated from the source image sizes. -

      - - -

      oinline void getSubloadSize(int& width, int& height) const -
      Get the texture subload width. -

      - - -

      oinline GLuint& getHandle(const uint contextID) const + + +
      o Get the handle to the texture object for the current context
      Get the handle to the texture object for the current context

      + + +

      oinline GLuint& getTextureObject(const uint contextID) const +
      return the OpenGL texture object for specified context +

      - +

      oinline uint& getModifiedTag(const uint contextID) const

      - +

      ovoid dirtyTextureObject()
      Force a recompile on next apply() of associated OpenGL texture objects

      - - -

      ovirtual void apply(State& state) const -
      On first apply (unless already compiled), create the minmapped -texture and bind it, subsequent apply will simple bind to texture -

      - - -

      ovirtual void compile(State& state) const -
      Compile the texture mip maps. Implemented by simply calling apply(). -

      - +

      ostatic void deleteTextureObject(uint contextID, GLuint handle)
      use deleteTextureObject instead of glDeleteTextures to allow OpenGL texture objects to cached until they can be deleted @@ -615,113 +513,118 @@ by the OpenGL context in which they were created, specified by contextID

      - +

      ostatic void flushDeletedTextureObjects(uint contextID)
      flush all the cached display list which need to be deleted in the OpenGL context related to contextID

      + + +

      ostatic GLint getMaxTextureSize() +
      Get the maximum texture size supported, this is the +normally define by GL_MAX_TEXTURE_SIZE, but can be overridden +by the OSG_MAX_TEXTURE_SIZE environmental variable +

      + + +

      ovirtual void apply(State& state) const = 0 +
      Texture is pure virtual base class, apply must be overriden. +

      + + +

      ovirtual void compile(State& state) const +
      Calls apply(state) to compile the texture. +

      - +

      ovirtual ~Texture()

      - - -

      ovoid applyTexParameters(GLenum target, State& state) const -
      Method which does setting of texture paramters. + + +
      ovirtual void computeInternalFormat() const = 0

      - - -

      ovirtual void applyTexImage(GLenum target, Image* image, State& state) const -
      Method which does the creation of the texture itself, and + + +
      ovoid computeInternalFormatWithImage(osg::Image& image) const +

      + + +

      obool isCompressedInternalFormat(GLint internalFormat) const +

      + + +

      ovoid applyTexParameters(GLenum target, State& state) const +
      Helper method which does setting of texture paramters. +

      + + +

      ovoid applyTexImage2D(GLenum target, Image* image, State& state, GLsizei& width, GLsizei& height, GLsizei& numMimpmapLevels) const +
      Helper method which does the creation of the texture itself, and does not set or use texture binding.

      + + +

      oint compareTexture(const Texture& rhs) const +
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs +

      - +

      otypedef std::vector<GLuint> TextureNameList mutable TextureNameList _handleList

      - +

      otypedef std::vector<uint> ImageModifiedTag mutable ImageModifiedTag _modifiedTag

      - - -

      omutable ref_ptr<Image> _image -

      - - -

      oGLenum _target -

      - -

      oWrapMode _wrap_s + +
      oWrapMode _wrap_s

      - -

      oWrapMode _wrap_t + +
      oWrapMode _wrap_t

      - -

      oWrapMode _wrap_r + +
      oWrapMode _wrap_r

      - -

      oFilterMode _min_filter + +
      oFilterMode _min_filter

      - -

      oFilterMode _mag_filter + +
      oFilterMode _mag_filter

      - - -

      omutable bool _texParamtersDirty -

      - - -

      oInternalFormatMode _internalFormatMode -

      - - -

      oint _internalFormatValue + + +
      ofloat _maxAnisotropy

      - +

      oVec4 _borderColor

      - - -

      omutable GLsizei _textureWidth + + +
      omutable bool _texParametersDirty

      - - -

      omutable GLsizei _textureHeight + + +
      oInternalFormatMode _internalFormatMode

      - - -

      oSubloadMode _subloadMode -

      - - -

      oGLint _subloadOffsX -

      - - -

      oGLint _subloadOffsY -

      - - -

      oGLsizei _subloadWidth -

      - - -

      oGLsizei _subloadHeight + + +
      omutable GLint _internalFormat

      - +

      otypedef std::map<uint,std::set<uint> >static DeletedTextureObjectCache DeletedTextureObjectCache s_deletedTextureObjectCache


      Direct child classes:
      TextureCubeMap
      +Texture3D
      +Texture2D
      +Texture1D

      Alphabetic index HTML hierarchy of classes or Java


      diff --git a/doc/doc++/osg/TextureCubeMap.html b/doc/doc++/osg/TextureCubeMap.html index 46c3b160d..08f6b316e 100644 --- a/doc/doc++/osg/TextureCubeMap.html +++ b/doc/doc++/osg/TextureCubeMap.html @@ -23,50 +23,74 @@

      Public Methods

      -[more] TextureCubeMap() +[more] TextureCubeMap()
      -[more] TextureCubeMap(const TextureCubeMap& cm, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] TextureCubeMap(const TextureCubeMap& cm, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy
      -[more] META_StateAttribute(osg, TextureCubeMap, TEXTURE) +[more] META_StateAttribute(osg, TextureCubeMap, TEXTURE)
      -[more]virtual int compare(const StateAttribute& rhs) const +[more]virtual int compare(const StateAttribute& rhs) const
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
      -[more]void setImage(const Face, Image* image) +[more]void setImage(const Face, Image* image)
      Set the texture image for specified face.
      -[more]Image* getImage(const Face) +[more]Image* getImage(const Face)
      Get the texture image for specified face.
      -[more]const Image* getImage(const Face) const +[more]const Image* getImage(const Face) const
      Get the const texture image for specified face.
      -[more]virtual void apply(State& state) const +[more]inline void setTextureSize(const int width, const int height) const +
      Set the texture width and height. +
      +[more]inline void getTextureSize(int& width, int& height) const +
      Get the texture subload width. +
      +[more]void setSubloadCallback(SubloadCallback* cb) +
      +[more]SubloadCallback* getSubloadCallback() +
      +[more]const SubloadCallback* getSubloadCallback() const +
      +[more]void setNumMipmapLevels(unsigned int num) const +
      Set the number of mip map levels the the texture has been created with, should only be called within an osg::Texuture::apply() and custom OpenGL texture load +
      +[more]unsigned int getNumMipmapLevels() const +
      Get the number of mip map levels the the texture has been created with +
      +[more]virtual void apply(State& state) const
      On first apply (unless already compiled), create the minmapped texture and bind it, subsequent apply will simple bind to texture

      Public Members

      -[more]enum Face +[more]enum Face +
      +class SubloadCallback: public Referenced

      Protected Fields

      -[more]mutable ref_ptr<Image> _images[6] +[more]mutable ref_ptr<Image> _images[6] +
      +[more]mutable GLsizei _textureWidth +
      +[more]mutable GLsizei _textureHeight +
      +[more]mutable GLsizei _numMimpmapLevels +
      +[more]ref_ptr<SubloadCallback> _subloadCallback

      Protected Methods

      -[more]virtual ~TextureCubeMap() +[more]virtual ~TextureCubeMap()
      -[more]bool imagesValid() const +[more]bool imagesValid() const
      -[more]void setImage(Image*) -
      -[more]Image* getImage() -
      -[more]const Image* getImage() const +[more]virtual void computeInternalFormat() const

      @@ -74,59 +98,59 @@

      Public Methods

      +ovirtual osg::Object* cloneType() const +
      +ovirtual osg::Object* clone(const CopyOp& copyop) const +
      +ovirtual bool isSameKindAs(const osg::Object* obj) const +
      +ovirtual const char* libraryName() const +
      +ovirtual const char* className() const +
      +ovirtual const Type getType() const +
      ovirtual bool isTextureAttribute() const
      -ovirtual void getAssociatedModes(std::vector<GLMode>& modes) const +ovoid setWrap(const WrapParameter which, const WrapMode wrap)
      -ovoid copyTexImage2D(State& state, int x, int y, int width, int height ) -
      -ovoid copyTexSubImage2D(State& state, int xoffset, int yoffset, int x, int y, int width, int height ) -
      -ovoid setWrap(const WrapParameter which, const WrapMode wrap) -
      -oconst WrapMode getWrap(const WrapParameter which) const +oconst WrapMode getWrap(const WrapParameter which) const
      ovoid setBorderColor(const Vec4& color)
      oconst Vec4& borderColor(void) const
      -ovoid setFilter(const FilterParameter which, const FilterMode filter) +ovoid setFilter(const FilterParameter which, const FilterMode filter)
      -oconst FilterMode getFilter(const FilterParameter which) const +oconst FilterMode getFilter(const FilterParameter which) const
      -oinline void setInternalFormatMode(const InternalFormatMode mode) +ovoid setMaxAnisotropy(float anis)
      -oinline const InternalFormatMode getInternalFormatMode() const +oinline float getMaxAnisotropy() const
      -oinline void setInternalFormatValue(const int internalFormat) +oinline void setInternalFormatMode(const InternalFormatMode mode)
      -oinline const int getInternalFormatValue() const +oinline const InternalFormatMode getInternalFormatMode() const
      -oinline const uint getTextureObject(const uint contextID) const +oinline void setInternalFormat(const int internalFormat)
      -oinline void setSubloadMode(const SubloadMode mode) +oinline const int getInternalFormat() const
      -oinline const SubloadMode getSubloadMode() const +obool isCompressedInternalFormat() const
      -oinline void setSubloadOffset(const int x, const int y) -
      -oinline void getSubloadOffset(int& x, int& y) const -
      -oinline void setSubloadSize(const int width, const int height) -
      -oinline void getSubloadSize(int& width, int& height) const -
      -oinline GLuint& getHandle(const uint contextID) const +oinline GLuint& getTextureObject(const uint contextID) const
      oinline uint& getModifiedTag(const uint contextID) const
      ovoid dirtyTextureObject()
      -ovirtual void compile(State& state) const -
      ostatic void deleteTextureObject(uint contextID, GLuint handle)
      ostatic void flushDeletedTextureObjects(uint contextID) +
      +ostatic GLint getMaxTextureSize() +
      +ovirtual void compile(State& state) const

      @@ -141,53 +165,43 @@
      oenum InternalFormatMode
      -oenum SubloadMode +o Get the handle to the texture object for the current context

      Protected Fields

      -omutable ref_ptr<Image> _image +oWrapMode _wrap_s
      -oGLenum _target +oWrapMode _wrap_t
      -oWrapMode _wrap_s +oWrapMode _wrap_r
      -oWrapMode _wrap_t +oFilterMode _min_filter
      -oWrapMode _wrap_r +oFilterMode _mag_filter
      -oFilterMode _min_filter -
      -oFilterMode _mag_filter -
      -omutable bool _texParamtersDirty -
      -oInternalFormatMode _internalFormatMode -
      -oint _internalFormatValue +ofloat _maxAnisotropy
      oVec4 _borderColor
      -omutable GLsizei _textureWidth +omutable bool _texParametersDirty
      -omutable GLsizei _textureHeight +oInternalFormatMode _internalFormatMode
      -oSubloadMode _subloadMode -
      -oGLint _subloadOffsX -
      -oGLint _subloadOffsY -
      -oGLsizei _subloadWidth -
      -oGLsizei _subloadHeight +omutable GLint _internalFormat

      Protected Methods

      +ovoid computeInternalFormatWithImage(osg::Image& image) const +
      +obool isCompressedInternalFormat(GLint internalFormat) const +
      ovoid applyTexParameters(GLenum target, State& state) const
      -ovirtual void applyTexImage(GLenum target, Image* image, State& state) const +ovoid applyTexImage2D(GLenum target, Image* image, State& state, GLsizei& width, GLsizei& height, GLsizei& numMimpmapLevels) const +
      +oint compareTexture(const Texture& rhs) const

      @@ -204,23 +218,13 @@

      Public Methods

      -ovirtual Object* cloneType() const -
      -ovirtual Object* clone(const CopyOp&) const -
      -ovirtual bool isSameKindAs(const Object* obj) const -
      -ovirtual const char* libraryName() const -
      -ovirtual const char* className() const -
      -ovirtual const Type getType() const -
      obool operator < (const StateAttribute& rhs) const
      obool operator == (const StateAttribute& rhs) const
      obool operator != (const StateAttribute& rhs) const +
      +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const

      @@ -243,9 +247,9 @@

      Public Methods

      -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
      -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
      oinline void setUserData(Referenced* obj)
      @@ -261,7 +265,7 @@

      Protected Fields

      -oDataVariance _dataVariance +oDataVariance _dataVariance
      oref_ptr<Referenced> _userData

      @@ -296,97 +300,139 @@
      - +
      o TextureCubeMap()

      - -

      o TextureCubeMap(const TextureCubeMap& cm, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
      o TextureCubeMap(const TextureCubeMap& cm, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy

      - -

      o META_StateAttribute(osg, TextureCubeMap, TEXTURE) + +
      o META_StateAttribute(osg, TextureCubeMap, TEXTURE)

      - +

      ovirtual int compare(const StateAttribute& rhs) const
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

      - +

      oenum Face

      - +
      o POSITIVE_X

      - +

      o NEGATIVE_X

      - +

      o POSITIVE_Y

      - +

      o NEGATIVE_Y

      - +

      o POSITIVE_Z

      - +

      o NEGATIVE_Z

      - -
      ovoid setImage(const Face, Image* image) + +
      ovoid setImage(const Face, Image* image)
      Set the texture image for specified face.

      - -

      oImage* getImage(const Face) + +
      oImage* getImage(const Face)
      Get the texture image for specified face.

      - -

      oconst Image* getImage(const Face) const + +
      oconst Image* getImage(const Face) const
      Get the const texture image for specified face.

      + + +

      oinline void setTextureSize(const int width, const int height) const +
      Set the texture width and height. If width or height are zero then +the repsective size value is calculated from the source image sizes. +

      + + +

      oinline void getTextureSize(int& width, int& height) const +
      Get the texture subload width. +

      + + +

      ovoid setSubloadCallback(SubloadCallback* cb) +

      + + +

      oSubloadCallback* getSubloadCallback() +

      + + +

      oconst SubloadCallback* getSubloadCallback() const +

      + + +

      ovoid setNumMipmapLevels(unsigned int num) const +
      Set the number of mip map levels the the texture has been created with, +should only be called within an osg::Texuture::apply() and custom OpenGL texture load +

      + + +

      ounsigned int getNumMipmapLevels() const +
      Get the number of mip map levels the the texture has been created with +

      - +

      ovirtual void apply(State& state) const
      On first apply (unless already compiled), create the minmapped texture and bind it, subsequent apply will simple bind to texture

      - +

      ovirtual ~TextureCubeMap()

      - +

      obool imagesValid() const

      - - -

      ovoid setImage(Image*) -

      - - -

      oImage* getImage() -

      - - -

      oconst Image* getImage() const + + +
      ovirtual void computeInternalFormat() const

      - +

      omutable ref_ptr<Image> _images[6] +

      + + +

      omutable GLsizei _textureWidth +

      + + +

      omutable GLsizei _textureHeight +

      + + +

      omutable GLsizei _numMimpmapLevels +

      + + +

      oref_ptr<SubloadCallback> _subloadCallback


      This class has no child classes.
      diff --git a/doc/doc++/osg/Timer.html b/doc/doc++/osg/Timer.html index 670748cc6..aaa1a7acc 100644 --- a/doc/doc++/osg/Timer.html +++ b/doc/doc++/osg/Timer.html @@ -13,21 +13,21 @@

      Public Methods

      -[more] Timer() +[more] Timer()
      -[more] ~Timer() +[more] ~Timer()
      -[more]inline double delta_s( Timer_t t1, Timer_t t2 ) const +[more]inline double delta_s( Timer_t t1, Timer_t t2 ) const
      -[more]inline double delta_m( Timer_t t1, Timer_t t2 ) const +[more]inline double delta_m( Timer_t t1, Timer_t t2 ) const
      -[more]inline double delta_u( Timer_t t1, Timer_t t2 ) const +[more]inline double delta_u( Timer_t t1, Timer_t t2 ) const
      -[more]inline double delta_n( Timer_t t1, Timer_t t2 ) const +[more]inline double delta_n( Timer_t t1, Timer_t t2 ) const
      -[more]inline Timer_t tick() const +[more]inline Timer_t tick() const
      -[more]inline Timer_t tick( void ) const +[more]inline Timer_t tick( void ) const

      @@ -39,35 +39,35 @@
      - +
      o Timer()

      - +

      o ~Timer()

      - +

      oinline double delta_s( Timer_t t1, Timer_t t2 ) const

      - +

      oinline double delta_m( Timer_t t1, Timer_t t2 ) const

      - +

      oinline double delta_u( Timer_t t1, Timer_t t2 ) const

      - +

      oinline double delta_n( Timer_t t1, Timer_t t2 ) const

      - +

      oinline Timer_t tick() const

      - +

      oinline Timer_t tick( void ) const

      diff --git a/doc/doc++/osg/Transform.html b/doc/doc++/osg/Transform.html index 55a86a123..292372d69 100644 --- a/doc/doc++/osg/Transform.html +++ b/doc/doc++/osg/Transform.html @@ -7,15 +7,15 @@ -

      class SG_EXPORT osg::Transform

      Transform - is group which all children are transformed by the the Transform's osg::Matrix.
      +

      class SG_EXPORT osg::Transform

      A Transform is a group node for which all children are transformed by a 4x4 matrix.

      Inheritance:

      - - - - - + + + + +
      @@ -23,81 +23,59 @@

      Public Methods

      -[more] Transform() +[more] Transform()
      -[more] Transform(const Transform&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Transform(const Transform&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy
      -[more] Transform(const Matrix& matix) +[more] META_Node(osg, Transform)
      -[more] META_Node(osg, Transform) +[more]void setReferenceFrame(ReferenceFrame rf) +
      Set the transform's ReferenceFrame, either to be relative to its parent reference frame, or relative to an absolute coordinate frame.
      -[more]void setReferenceFrame(ReferenceFrame rf) -
      Set the transform's ReferenceFrame, either to be realtive to its parent reference frame, or relative to an absolute coordinate frame. +[more]const ReferenceFrame getReferenceFrame() const
      -[more]const ReferenceFrame getReferenceFrame() const +[more]void setComputeTransformCallback(ComputeTransformCallback* ctc) +
      Set the ComputerTransfromCallback which allows users to attach custom computation of the local transformation as seen by cull traversers and the like.
      -[more]void setComputeTransformCallback(ComputeTransformCallback* ctc) -
      Set the ComputerTransfromCallback which allows users to attach custom computation of the local transformation as seen by cull traversers and alike -
      -[more]ComputeTransformCallback* getComputeTransformCallback() +[more]ComputeTransformCallback* getComputeTransformCallback()
      Get the non const ComputerTransfromCallback
      -[more]const ComputeTransformCallback* getComputeTransformCallback() const +[more]const ComputeTransformCallback* getComputeTransformCallback() const
      Get the const ComputerTransfromCallback
      -[more]inline const bool getLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const +[more]inline const bool getLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const
      Get the transformation matrix which moves from local coords to world coords.
      -[more]inline const bool getWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const +[more]inline const bool getWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const
      Get the transformation matrix which moves from world coords to local coords.
      -[more]void setMatrix(const Matrix& mat) -
      Set the transform's matrix +[more]virtual const bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor*) const
      -[more]inline const Matrix& getMatrix() const -
      Get the transform's matrix. -
      -[more]void preMult(const Matrix& mat) -
      preMult transform -
      -[more]void postMult(const Matrix& mat) -
      postMult transform -
      -[more]virtual const bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor*) const -
      -[more]virtual const bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor*) const +[more]virtual const bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor*) const

      Public Members

      -[more]enum ReferenceFrame +[more]enum ReferenceFrame
      -[more]struct ComputeTransformCallback: public osg::Referenced -
      Callback attached to an Transform to specifiy how to compute the modelview transformation for the transform below the Transform node +[more]struct ComputeTransformCallback: public osg::Referenced +
      Callback attached to an Transform to specify how to compute the modelview transformation for the transform below the Transform node.

      Protected Fields

      -[more]ref_ptr<ComputeTransformCallback> _computeTransformCallback +[more]ref_ptr<ComputeTransformCallback> _computeTransformCallback
      -[more]ReferenceFrame _referenceFrame -
      -[more]ref_ptr<Matrix> _deprecated_matrix -
      -[more]mutable ref_ptr<Matrix> _deprecated_inverse -
      -[more]mutable bool _deprecated_inverseDirty +[more]ReferenceFrame _referenceFrame

      Protected Methods

      -[more]virtual ~Transform() +[more]virtual ~Transform()
      -[more]virtual const bool computeBound() const -
      Override's Group's computeBound. -
      -[more]inline void computeInverse() const +[more]virtual const bool computeBound() const +
      Overrides Group's computeBound.

      @@ -136,183 +114,162 @@

      Documentation

      -
      Transform - is group which all children are transformed by the the Transform's osg::Matrix. -Typical uses -of the Transform is for positioning objects within a scene or +
      A Transform is a group node for which all children are transformed by +a 4x4 matrix. It is often used for positioning objects within a scene, producing trackball functionality or for animation. -The Transform node can be customized via the ComputeTransfromCallback which can be -attached to the node, this might be used to convert internal representations of the transformation -into generic osg::Matrix'c which are used during scene grpah traversal, such as CullTraversal and IntersectionTraversal. -Note, if the transformation matrix scales the subgraph then the -normals of the underlying geometry will need to be renormalized to -be unit vectors once more. One can done transparently through OpenGL's -use of either GL_NORMALIZE and GL_SCALE_NORMALIZE modes. Further -background reading see the glNormalize documentation in the OpenGL Reference -Guide (the blue book). To enable it in the OSG, you simple need to -attach a local osg::StateSet to the osg::Transform, and set the appropriate -mode to on via stateset->setMode(GL_NORMALIZE,osg::StateAttribute::ON);.
      + +

      Transform itself does not provide set/get functions, only the interface +for defining what the 4x4 transformation is. Subclasses, such as +MatrixTransform and PositionAttitudeTransform support the use of an +osg::Matrix or a osg::Vec3/osg::Quat resprectively. +The Transform node can be customized via the ComputeTransfromCallback +which can be attached to the node. This might be used to convert from +internal representations of the transformation into generic osg::Matrix +objects which are used during scene grpah traversal, such as +CullTraversal and IntersectionTraversal. + +

      Note: if the transformation matrix scales the subgraph then the normals +of the underlying geometry will need to be renormalized to be unit +vectors once more. This can be done transparently through OpenGL's +use of either GL_NORMALIZE and GL_SCALE_NORMALIZE modes. For further +background reading see the glNormalize documentation in the OpenGL +Reference Guide (the blue book). To enable it in the OSG, you simply +need to attach a local osg::StateSet to the osg::Transform, and set +the appropriate mode to ON via +stateset->setMode(GL_NORMALIZE, osg::StateAttribute::ON);

      - +
      o Transform()

      - -

      o Transform(const Transform&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
      o Transform(const Transform&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy

      - - -

      o Transform(const Matrix& matix) -

      - +

      o META_Node(osg, Transform)

      - +

      oenum ReferenceFrame

      - +
      o RELATIVE_TO_PARENTS

      - +

      o RELATIVE_TO_ABSOLUTE

      - -
      ovoid setReferenceFrame(ReferenceFrame rf) -
      Set the transform's ReferenceFrame, either to be realtive to its parent reference frame, -or relative to an absolute coordinate frame. RELATIVE_TO_PARENTS is the default. -Note, setting the RefrenceFrame to be RELATIVE_TO_ABSOLUTE will also set the CullingActive flag on the -transform, and hence all its parents, to false, therby disabling culling of it and all its -parents. This is neccessary to prevent inappropriate culling, but may impact of cull times -if the absolute transform is deep in the scene graph, it is therefore recommend to only use -abolsoute Transforms at the top of the scene, for such things as headlight LightSource's or -Head up displays. + +
      ovoid setReferenceFrame(ReferenceFrame rf) +
      Set the transform's ReferenceFrame, either to be relative to its +parent reference frame, or relative to an absolute coordinate +frame. RELATIVE_TO_PARENTS is the default. +Note: setting the ReferenceFrame to be RELATIVE_TO_ABSOLUTE will +also set the CullingActive flag on the transform, and hence all +of its parents, to false, thereby disabling culling of it and +all its parents. This is neccessary to prevent inappropriate +culling, but may impact cull times if the absolute transform is +deep in the scene graph. It is therefore recommend to only use +absolute Transforms at the top of the scene, for such things as +headlight LightSources or Heads up displays.

      - -

      oconst ReferenceFrame getReferenceFrame() const + +
      oconst ReferenceFrame getReferenceFrame() const

      - +

      ostruct ComputeTransformCallback: public osg::Referenced -
      Callback attached to an Transform to specifiy how to compute the modelview transformation -for the transform below the Transform node +
      Callback attached to an Transform to specify how to compute the +modelview transformation for the transform below the Transform +node.

      - -
      ovirtual const bool computeLocalToWorldMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const = 0 -
      Get the transformation matrix which moves from local coords to world coords + +
      ovirtual const bool computeLocalToWorldMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const = 0 +
      Get the transformation matrix which moves from local coords +to world coords

      - -

      ovirtual const bool computeWorldToLocalMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const = 0 -
      Get the transformation matrix which moves from world coords to local coords + +
      ovirtual const bool computeWorldToLocalMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const = 0 +
      Get the transformation matrix which moves from world coords +to local coords

      - -
      ovoid setComputeTransformCallback(ComputeTransformCallback* ctc) -
      Set the ComputerTransfromCallback which allows users to attach custom computation of the local transformation as -seen by cull traversers and alike + +
      ovoid setComputeTransformCallback(ComputeTransformCallback* ctc) +
      Set the ComputerTransfromCallback which allows users to attach +custom computation of the local transformation as seen by cull +traversers and the like.

      - -

      oComputeTransformCallback* getComputeTransformCallback() + +
      oComputeTransformCallback* getComputeTransformCallback()
      Get the non const ComputerTransfromCallback

      - -

      oconst ComputeTransformCallback* getComputeTransformCallback() const + +
      oconst ComputeTransformCallback* getComputeTransformCallback() const
      Get the const ComputerTransfromCallback

      - +

      oinline const bool getLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const -
      Get the transformation matrix which moves from local coords to world coords. -Return true if Matrix passed in has been modified and +
      Get the transformation matrix which moves from local coords to +world coords. +Returns true if the Matrix passed in has been updated.

      - +

      oinline const bool getWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const -
      Get the transformation matrix which moves from world coords to local coords. -Return true if Matrix passed in has been modified and -

      - - -

      ovoid setMatrix(const Matrix& mat) -
      Set the transform's matrix -

      - - -

      oinline const Matrix& getMatrix() const -
      Get the transform's matrix. -

      - - -

      ovoid preMult(const Matrix& mat) -
      preMult transform -

      - - -

      ovoid postMult(const Matrix& mat) -
      postMult transform +
      Get the transformation matrix which moves from world coords to +local coords. +Return true if the Matrix passed in has been updated.

      - +

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

      - +

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

      - +

      ovirtual ~Transform()

      - +

      ovirtual const bool computeBound() const -
      Override's Group's computeBound. -There is no need to override in subclasses from osg::Transform since this computeBound() uses -the underlying matrix (calling computeMatrix if required.) +
      Overrides Group's computeBound. +There is no need to override in subclasses from osg::Transform +since this computeBound() uses the underlying matrix (calling +computeMatrix if required.)

      - -

      oref_ptr<ComputeTransformCallback> _computeTransformCallback + +
      oref_ptr<ComputeTransformCallback> _computeTransformCallback

      - -

      oReferenceFrame _referenceFrame -

      - - -

      oinline void computeInverse() const -

      - - -

      oref_ptr<Matrix> _deprecated_matrix -

      - - -

      omutable ref_ptr<Matrix> _deprecated_inverse -

      - - -

      omutable bool _deprecated_inverseDirty + +
      oReferenceFrame _referenceFrame


      Direct child classes:
      PositionAttitudeTransform
      MatrixTransform
      +DOFTransform

      Alphabetic index HTML hierarchy of classes or Java


      diff --git a/doc/doc++/osg/TriangleFunctor.html b/doc/doc++/osg/TriangleFunctor.html index 89a087e06..91414cbb2 100644 --- a/doc/doc++/osg/TriangleFunctor.html +++ b/doc/doc++/osg/TriangleFunctor.html @@ -7,7 +7,7 @@ -

      template<class T> class osg::TriangleFunctor


      +

      template<class T> class osg::TriangleFunctor


      Inheritance:

      @@ -22,39 +22,39 @@

      Public Methods

      -[more] TriangleFunctor() +[more] TriangleFunctor()
      -[more]virtual ~TriangleFunctor() +[more]virtual ~TriangleFunctor()
      -[more]virtual void setVertexArray(unsigned int count, Vec3* vertices) +[more]virtual void setVertexArray(unsigned int count, Vec3* vertices)
      -[more]virtual void drawArrays(GLenum mode, GLint first, GLsizei count) +[more]virtual void drawArrays(GLenum mode, GLint first, GLsizei count)
      -[more]virtual void drawElements(GLenum mode, GLsizei count, GLubyte* indices) +[more]virtual void drawElements(GLenum mode, GLsizei count, GLubyte* indices)
      -[more]virtual void drawElements(GLenum mode, GLsizei count, GLushort* indices) +[more]virtual void drawElements(GLenum mode, GLsizei count, GLushort* indices)
      -[more]virtual void drawElements(GLenum mode, GLsizei count, GLuint* indices) +[more]virtual void drawElements(GLenum mode, GLsizei count, GLuint* indices)
      -[more]inline void begin(GLenum mode) +[more]inline void begin(GLenum mode)
      begin(),vertex() & end() are convinience methods for adapting non vertex array primitives to vertex array based primitives.
      -[more]inline void vertex(const Vec3& vert) +[more]inline void vertex(const Vec3& vert)
      -[more]inline void vertex(float x, float y, float z) +[more]inline void vertex(float x, float y, float z)
      -[more]inline void end() +[more]inline void end()

      Protected Fields

      -[more]unsigned int _vertexArraySize +[more]unsigned int _vertexArraySize
      -[more]Vec3* _vertexArrayPtr +[more]Vec3* _vertexArrayPtr
      -[more]GLenum _modeCache +[more]GLenum _modeCache
      -[more]std::vector<Vec3> _vertexCache +[more]std::vector<Vec3> _vertexCache

      @@ -65,35 +65,35 @@
      - +
      o TriangleFunctor()

      - +

      ovirtual ~TriangleFunctor()

      - +

      ovirtual void setVertexArray(unsigned int count, Vec3* vertices)

      - -

      ovirtual void drawArrays(GLenum mode, GLint first, GLsizei count) + +
      ovirtual void drawArrays(GLenum mode, GLint first, GLsizei count)

      - +

      ovirtual void drawElements(GLenum mode, GLsizei count, GLubyte* indices)

      - +

      ovirtual void drawElements(GLenum mode, GLsizei count, GLushort* indices)

      - +

      ovirtual void drawElements(GLenum mode, GLsizei count, GLuint* indices)

      - +

      oinline void begin(GLenum mode)
      begin(),vertex() & end() are convinience methods for adapting non vertex array primitives to vertex array based primitives. @@ -101,31 +101,31 @@ this is done to simplify the implementation of primtive functor subclasses - users only need override drawArray and drawElements.

      - +

      oinline void vertex(const Vec3& vert)

      - -

      oinline void vertex(float x, float y, float z) + +
      oinline void vertex(float x, float y, float z)

      - +

      oinline void end()

      - +

      ounsigned int _vertexArraySize

      - +

      oVec3* _vertexArrayPtr

      - +

      oGLenum _modeCache

      - +

      ostd::vector<Vec3> _vertexCache

      diff --git a/doc/doc++/osg/UByte4.html b/doc/doc++/osg/UByte4.html index f2742f36e..ffcfb4677 100644 --- a/doc/doc++/osg/UByte4.html +++ b/doc/doc++/osg/UByte4.html @@ -13,69 +13,69 @@

      Public Fields

      -[more]unsigned char _v[4] +[more]unsigned char _v[4]

      Public Methods

      -[more] UByte4() +[more] UByte4()
      -[more] UByte4(unsigned char r, unsigned char g, unsigned char b, unsigned char a) +[more] UByte4(unsigned char r, unsigned char g, unsigned char b, unsigned char a)
      -[more]inline const bool operator == (const UByte4& v) const +[more]inline const bool operator == (const UByte4& v) const
      -[more]inline const bool operator != (const UByte4& v) const +[more]inline const bool operator != (const UByte4& v) const
      -[more]inline const bool operator < (const UByte4& v) const +[more]inline const bool operator < (const UByte4& v) const
      -[more]inline unsigned char* ptr() +[more]inline unsigned char* ptr()
      -[more]inline const unsigned char* ptr() const +[more]inline const unsigned char* ptr() const
      -[more]inline void set(unsigned char r, unsigned char g, unsigned char b, unsigned char a) +[more]inline void set(unsigned char r, unsigned char g, unsigned char b, unsigned char a)
      -[more]inline unsigned char& operator [] (const int i) +[more]inline unsigned char& operator [] (const int i)
      -[more]inline unsigned char operator [] (const int i) const +[more]inline unsigned char operator [] (const int i) const
      -[more]inline unsigned char& r() +[more]inline unsigned char& r()
      -[more]inline unsigned char& g() +[more]inline unsigned char& g()
      -[more]inline unsigned char& b() +[more]inline unsigned char& b()
      -[more]inline unsigned char& a() +[more]inline unsigned char& a()
      -[more]inline unsigned char r() const +[more]inline unsigned char r() const
      -[more]inline unsigned char g() const +[more]inline unsigned char g() const
      -[more]inline unsigned char b() const +[more]inline unsigned char b() const
      -[more]inline unsigned char a() const +[more]inline unsigned char a() const
      -[more]inline UByte4 operator * (const float rhs) const +[more]inline UByte4 operator * (const float rhs) const
      multiply by scalar
      -[more]inline UByte4& operator *= (const float rhs) +[more]inline UByte4& operator *= (const float rhs)
      unary multiply by scalar
      -[more]inline UByte4 operator / (const float rhs) const +[more]inline UByte4 operator / (const float rhs) const
      divide by scalar
      -[more]inline UByte4& operator /= (const float rhs) +[more]inline UByte4& operator /= (const float rhs)
      unary divide by scalar
      -[more]inline UByte4 operator + (const UByte4& rhs) const +[more]inline UByte4 operator + (const UByte4& rhs) const
      binary vector add
      -[more]inline UByte4& operator += (const UByte4& rhs) +[more]inline UByte4& operator += (const UByte4& rhs)
      unary vector add.
      -[more]inline UByte4 operator - (const UByte4& rhs) const +[more]inline UByte4 operator - (const UByte4& rhs) const
      binary vector subtract
      -[more]inline UByte4& operator -= (const UByte4& rhs) +[more]inline UByte4& operator -= (const UByte4& rhs)
      unary vector subtract

      @@ -92,119 +92,119 @@ UByte4 * float is okay
      - +
      o UByte4()

      - -

      o UByte4(unsigned char r, unsigned char g, unsigned char b, unsigned char a) + +
      o UByte4(unsigned char r, unsigned char g, unsigned char b, unsigned char a)

      - +

      ounsigned char _v[4]

      - +

      oinline const bool operator == (const UByte4& v) const

      - +

      oinline const bool operator != (const UByte4& v) const

      - +

      oinline const bool operator < (const UByte4& v) const

      - +

      oinline unsigned char* ptr()

      - +

      oinline const unsigned char* ptr() const

      - -

      oinline void set(unsigned char r, unsigned char g, unsigned char b, unsigned char a) + +
      oinline void set(unsigned char r, unsigned char g, unsigned char b, unsigned char a)

      - +

      oinline unsigned char& operator [] (const int i)

      - +

      oinline unsigned char operator [] (const int i) const

      - +

      oinline unsigned char& r()

      - +

      oinline unsigned char& g()

      - +

      oinline unsigned char& b()

      - +

      oinline unsigned char& a()

      - +

      oinline unsigned char r() const

      - +

      oinline unsigned char g() const

      - +

      oinline unsigned char b() const

      - +

      oinline unsigned char a() const

      - +

      oinline UByte4 operator * (const float rhs) const
      multiply by scalar

      - +

      oinline UByte4& operator *= (const float rhs)
      unary multiply by scalar

      - +

      oinline UByte4 operator / (const float rhs) const
      divide by scalar

      - +

      oinline UByte4& operator /= (const float rhs)
      unary divide by scalar

      - +

      oinline UByte4 operator + (const UByte4& rhs) const
      binary vector add

      - +

      oinline UByte4& operator += (const UByte4& rhs)
      unary vector add. Slightly more efficient because no temporary intermediate object

      - +

      oinline UByte4 operator - (const UByte4& rhs) const
      binary vector subtract

      - +

      oinline UByte4& operator -= (const UByte4& rhs)
      unary vector subtract

      diff --git a/doc/doc++/osg/Vec2.html b/doc/doc++/osg/Vec2.html index 10795d9b7..925e7e5b6 100644 --- a/doc/doc++/osg/Vec2.html +++ b/doc/doc++/osg/Vec2.html @@ -13,80 +13,80 @@

      Public Fields

      -[more]float _v[2] +[more]float _v[2]

      Public Methods

      -[more] Vec2() +[more] Vec2()
      -[more] Vec2(float x, float y) +[more] Vec2(float x, float y)
      -[more]inline const bool operator == (const Vec2& v) const +[more]inline const bool operator == (const Vec2& v) const
      -[more]inline const bool operator != (const Vec2& v) const +[more]inline const bool operator != (const Vec2& v) const
      -[more]inline const bool operator < (const Vec2& v) const +[more]inline const bool operator < (const Vec2& v) const
      -[more]inline float* ptr() +[more]inline float* ptr()
      -[more]inline const float* ptr() const +[more]inline const float* ptr() const
      -[more]inline void set( float x, float y ) +[more]inline void set( float x, float y )
      -[more]inline float& operator [] (int i) +[more]inline float& operator [] (int i)
      -[more]inline const float operator [] (int i) const +[more]inline const float operator [] (int i) const
      -[more]inline float& x() +[more]inline float& x()
      -[more]inline float& y() +[more]inline float& y()
      -[more]inline const float x() const +[more]inline const float x() const
      -[more]inline const float y() const +[more]inline const float y() const
      -[more]inline const bool valid() const +[more]inline const bool valid() const
      -[more]inline const bool isNaN() const +[more]inline const bool isNaN() const
      -[more]inline const float operator * (const Vec2& rhs) const +[more]inline const float operator * (const Vec2& rhs) const
      dot product
      -[more]inline const Vec2 operator * (const float& rhs) const +[more]inline const Vec2 operator * (const float& rhs) const
      multiply by scalar
      -[more]inline Vec2& operator *= (const float& rhs) +[more]inline Vec2& operator *= (const float& rhs)
      unary multiply by scalar
      -[more]inline const Vec2 operator / (const float& rhs) const +[more]inline const Vec2 operator / (const float& rhs) const
      divide by scalar
      -[more]inline Vec2& operator /= (const float& rhs) +[more]inline Vec2& operator /= (const float& rhs)
      unary divide by scalar
      -[more]inline const Vec2 operator + (const Vec2& rhs) const +[more]inline const Vec2 operator + (const Vec2& rhs) const
      binary vector add
      -[more]inline Vec2& operator += (const Vec2& rhs) +[more]inline Vec2& operator += (const Vec2& rhs)
      unary vector add.
      -[more]inline const Vec2 operator - (const Vec2& rhs) const +[more]inline const Vec2 operator - (const Vec2& rhs) const
      binary vector subtract
      -[more]inline Vec2& operator -= (const Vec2& rhs) +[more]inline Vec2& operator -= (const Vec2& rhs)
      unary vector subtract
      -[more]inline const Vec2 operator - () const +[more]inline const Vec2 operator - () const
      negation operator.
      -[more]inline const float length() const +[more]inline const float length() const
      Length of the vector = sqrt( vec .
      -[more]inline const float length2( void ) const +[more]inline const float length2( void ) const
      Length squared of the vector = vec .
      -[more]inline const float normalize() +[more]inline const float normalize()
      normalize the vector so that it has length unity returns the previous length of the vector

      @@ -103,136 +103,136 @@ BTW: Vec2 * float is okay
      - +
      o Vec2()

      - -

      o Vec2(float x, float y) + +
      o Vec2(float x, float y)

      - +

      ofloat _v[2]

      - +

      oinline const bool operator == (const Vec2& v) const

      - +

      oinline const bool operator != (const Vec2& v) const

      - +

      oinline const bool operator < (const Vec2& v) const

      - +

      oinline float* ptr()

      - +

      oinline const float* ptr() const

      - -

      oinline void set( float x, float y ) + +
      oinline void set( float x, float y )

      - +

      oinline float& operator [] (int i)

      - +

      oinline const float operator [] (int i) const

      - +

      oinline float& x()

      - +

      oinline float& y()

      - +

      oinline const float x() const

      - +

      oinline const float y() const

      - +

      oinline const bool valid() const

      - +

      oinline const bool isNaN() const

      - +

      oinline const float operator * (const Vec2& rhs) const
      dot product

      - +

      oinline const Vec2 operator * (const float& rhs) const
      multiply by scalar

      - +

      oinline Vec2& operator *= (const float& rhs)
      unary multiply by scalar

      - +

      oinline const Vec2 operator / (const float& rhs) const
      divide by scalar

      - +

      oinline Vec2& operator /= (const float& rhs)
      unary divide by scalar

      - +

      oinline const Vec2 operator + (const Vec2& rhs) const
      binary vector add

      - +

      oinline Vec2& operator += (const Vec2& rhs)
      unary vector add. Slightly more efficient because no temporary intermediate object.

      - +

      oinline const Vec2 operator - (const Vec2& rhs) const
      binary vector subtract

      - +

      oinline Vec2& operator -= (const Vec2& rhs)
      unary vector subtract

      - +

      oinline const Vec2 operator - () const
      negation operator. Returns the negative of the Vec2

      - +

      oinline const float length() const
      Length of the vector = sqrt( vec . vec )

      - +

      oinline const float length2( void ) const
      Length squared of the vector = vec . vec

      - +

      oinline const float normalize()
      normalize the vector so that it has length unity returns the previous length of the vector diff --git a/doc/doc++/osg/Vec3.html b/doc/doc++/osg/Vec3.html index de6ed05f4..644185a98 100644 --- a/doc/doc++/osg/Vec3.html +++ b/doc/doc++/osg/Vec3.html @@ -13,87 +13,87 @@

      Public Fields

      -[more]float _v[3] +[more]float _v[3]

      Public Methods

      -[more] Vec3() +[more] Vec3()
      -[more] Vec3(float x, float y, float z) +[more] Vec3(float x, float y, float z)
      -[more]inline const bool operator == (const Vec3& v) const +[more]inline const bool operator == (const Vec3& v) const
      -[more]inline const bool operator != (const Vec3& v) const +[more]inline const bool operator != (const Vec3& v) const
      -[more]inline const bool operator < (const Vec3& v) const +[more]inline const bool operator < (const Vec3& v) const
      -[more]inline float* ptr() +[more]inline float* ptr()
      -[more]inline const float* ptr() const +[more]inline const float* ptr() const
      -[more]inline void set( float x, float y, float z) +[more]inline void set( float x, float y, float z)
      -[more]inline float& operator [] (int i) +[more]inline float& operator [] (int i)
      -[more]inline const float operator [] (int i) const +[more]inline const float operator [] (int i) const
      -[more]inline float& x() +[more]inline float& x()
      -[more]inline float& y() +[more]inline float& y()
      -[more]inline float& z() +[more]inline float& z()
      -[more]inline const float x() const +[more]inline const float x() const
      -[more]inline const float y() const +[more]inline const float y() const
      -[more]inline const float z() const +[more]inline const float z() const
      -[more]inline const bool valid() const +[more]inline const bool valid() const
      -[more]inline const bool isNaN() const +[more]inline const bool isNaN() const
      -[more]inline float operator * (const Vec3& rhs) const +[more]inline float operator * (const Vec3& rhs) const
      dot product
      -[more]inline const Vec3 operator ^ (const Vec3& rhs) const +[more]inline const Vec3 operator ^ (const Vec3& rhs) const
      cross product
      -[more]inline const Vec3 operator * (const float& rhs) const +[more]inline const Vec3 operator * (const float& rhs) const
      multiply by scalar
      -[more]inline Vec3& operator *= (const float& rhs) +[more]inline Vec3& operator *= (const float& rhs)
      unary multiply by scalar
      -[more]inline const Vec3 operator / (const float& rhs) const +[more]inline const Vec3 operator / (const float& rhs) const
      divide by scalar
      -[more]inline Vec3& operator /= (const float& rhs) +[more]inline Vec3& operator /= (const float& rhs)
      unary divide by scalar
      -[more]inline const Vec3 operator + (const Vec3& rhs) const +[more]inline const Vec3 operator + (const Vec3& rhs) const
      binary vector add
      -[more]inline Vec3& operator += (const Vec3& rhs) +[more]inline Vec3& operator += (const Vec3& rhs)
      unary vector add.
      -[more]inline const Vec3 operator - (const Vec3& rhs) const +[more]inline const Vec3 operator - (const Vec3& rhs) const
      binary vector subtract
      -[more]inline Vec3& operator -= (const Vec3& rhs) +[more]inline Vec3& operator -= (const Vec3& rhs)
      unary vector subtract
      -[more]inline const Vec3 operator - () const +[more]inline const Vec3 operator - () const
      negation operator.
      -[more]inline const float length() const +[more]inline const float length() const
      Length of the vector = sqrt( vec .
      -[more]inline const float length2() const +[more]inline const float length2() const
      Length squared of the vector = vec .
      -[more]inline const float normalize() +[more]inline const float normalize()
      normalize the vector so that it has length unity returns the previous length of the vector

      @@ -110,149 +110,149 @@ Vec3 * float is okay
      - +
      o Vec3()

      - -

      o Vec3(float x, float y, float z) + +
      o Vec3(float x, float y, float z)

      - +

      ofloat _v[3]

      - +

      oinline const bool operator == (const Vec3& v) const

      - +

      oinline const bool operator != (const Vec3& v) const

      - +

      oinline const bool operator < (const Vec3& v) const

      - +

      oinline float* ptr()

      - +

      oinline const float* ptr() const

      - -

      oinline void set( float x, float y, float z) + +
      oinline void set( float x, float y, float z)

      - +

      oinline float& operator [] (int i)

      - +

      oinline const float operator [] (int i) const

      - +

      oinline float& x()

      - +

      oinline float& y()

      - +

      oinline float& z()

      - +

      oinline const float x() const

      - +

      oinline const float y() const

      - +

      oinline const float z() const

      - +

      oinline const bool valid() const

      - +

      oinline const bool isNaN() const

      - +

      oinline float operator * (const Vec3& rhs) const
      dot product

      - +

      oinline const Vec3 operator ^ (const Vec3& rhs) const
      cross product

      - +

      oinline const Vec3 operator * (const float& rhs) const
      multiply by scalar

      - +

      oinline Vec3& operator *= (const float& rhs)
      unary multiply by scalar

      - +

      oinline const Vec3 operator / (const float& rhs) const
      divide by scalar

      - +

      oinline Vec3& operator /= (const float& rhs)
      unary divide by scalar

      - +

      oinline const Vec3 operator + (const Vec3& rhs) const
      binary vector add

      - +

      oinline Vec3& operator += (const Vec3& rhs)
      unary vector add. Slightly more efficient because no temporary intermediate object

      - +

      oinline const Vec3 operator - (const Vec3& rhs) const
      binary vector subtract

      - +

      oinline Vec3& operator -= (const Vec3& rhs)
      unary vector subtract

      - +

      oinline const Vec3 operator - () const
      negation operator. Returns the negative of the Vec3

      - +

      oinline const float length() const
      Length of the vector = sqrt( vec . vec )

      - +

      oinline const float length2() const
      Length squared of the vector = vec . vec

      - +

      oinline const float normalize()
      normalize the vector so that it has length unity returns the previous length of the vector diff --git a/doc/doc++/osg/Vec4.html b/doc/doc++/osg/Vec4.html index 795ae99d6..578f640dd 100644 --- a/doc/doc++/osg/Vec4.html +++ b/doc/doc++/osg/Vec4.html @@ -13,94 +13,94 @@

      Public Fields

      -[more]float _v[4] +[more]float _v[4]

      Public Methods

      -[more] Vec4() +[more] Vec4()
      -[more] Vec4(float x, float y, float z, float w) +[more] Vec4(float x, float y, float z, float w)
      -[more] Vec4(const Vec3& v3, float w) +[more] Vec4(const Vec3& v3, float w)
      -[more]inline const bool operator == (const Vec4& v) const +[more]inline const bool operator == (const Vec4& v) const
      -[more]inline const bool operator != (const Vec4& v) const +[more]inline const bool operator != (const Vec4& v) const
      -[more]inline const bool operator < (const Vec4& v) const +[more]inline const bool operator < (const Vec4& v) const
      -[more]inline float* ptr() +[more]inline float* ptr()
      -[more]inline const float* ptr() const +[more]inline const float* ptr() const
      -[more]inline void set( float x, float y, float z, float w) +[more]inline void set( float x, float y, float z, float w)
      -[more]inline float& operator [] (const int i) +[more]inline float& operator [] (const int i)
      -[more]inline float operator [] (const int i) const +[more]inline float operator [] (const int i) const
      -[more]inline float& x() +[more]inline float& x()
      -[more]inline float& y() +[more]inline float& y()
      -[more]inline float& z() +[more]inline float& z()
      -[more]inline float& w() +[more]inline float& w()
      -[more]inline float x() const +[more]inline float x() const
      -[more]inline float y() const +[more]inline float y() const
      -[more]inline float z() const +[more]inline float z() const
      -[more]inline float w() const +[more]inline float w() const
      -[more]inline unsigned long asABGR() const +[more]inline unsigned long asABGR() const
      -[more]inline const unsigned long asRGBA() const +[more]inline const unsigned long asRGBA() const
      -[more]inline const bool valid() const +[more]inline const bool valid() const
      -[more]inline const bool isNaN() const +[more]inline const bool isNaN() const
      -[more]inline float operator * (const Vec4& rhs) const +[more]inline float operator * (const Vec4& rhs) const
      dot product
      -[more]inline Vec4 operator * (const float rhs) const +[more]inline Vec4 operator * (const float rhs) const
      multiply by scalar
      -[more]inline Vec4& operator *= (const float rhs) +[more]inline Vec4& operator *= (const float rhs)
      unary multiply by scalar
      -[more]inline Vec4 operator / (const float rhs) const +[more]inline Vec4 operator / (const float rhs) const
      divide by scalar
      -[more]inline Vec4& operator /= (const float rhs) +[more]inline Vec4& operator /= (const float rhs)
      unary divide by scalar
      -[more]inline Vec4 operator + (const Vec4& rhs) const +[more]inline Vec4 operator + (const Vec4& rhs) const
      binary vector add
      -[more]inline Vec4& operator += (const Vec4& rhs) +[more]inline Vec4& operator += (const Vec4& rhs)
      unary vector add.
      -[more]inline Vec4 operator - (const Vec4& rhs) const +[more]inline Vec4 operator - (const Vec4& rhs) const
      binary vector subtract
      -[more]inline Vec4& operator -= (const Vec4& rhs) +[more]inline Vec4& operator -= (const Vec4& rhs)
      unary vector subtract
      -[more]inline const Vec4 operator - () const +[more]inline const Vec4 operator - () const
      negation operator.
      -[more]inline const float length() const +[more]inline const float length() const
      Length of the vector = sqrt( vec .
      -[more]inline const float length2() const +[more]inline const float length2() const
      Length squared of the vector = vec .
      -[more]inline const float normalize() +[more]inline const float normalize()
      normalize the vector so that it has length unity returns the previous length of the vector

      @@ -117,164 +117,164 @@ Vec4 * float is okay
      - +
      o Vec4()

      - -

      o Vec4(float x, float y, float z, float w) + +
      o Vec4(float x, float y, float z, float w)

      - -

      o Vec4(const Vec3& v3, float w) + +
      o Vec4(const Vec3& v3, float w)

      - +

      ofloat _v[4]

      - +

      oinline const bool operator == (const Vec4& v) const

      - +

      oinline const bool operator != (const Vec4& v) const

      - +

      oinline const bool operator < (const Vec4& v) const

      - +

      oinline float* ptr()

      - +

      oinline const float* ptr() const

      - -

      oinline void set( float x, float y, float z, float w) + +
      oinline void set( float x, float y, float z, float w)

      - +

      oinline float& operator [] (const int i)

      - +

      oinline float operator [] (const int i) const

      - +

      oinline float& x()

      - +

      oinline float& y()

      - +

      oinline float& z()

      - +

      oinline float& w()

      - +

      oinline float x() const

      - +

      oinline float y() const

      - +

      oinline float z() const

      - +

      oinline float w() const

      - +

      oinline unsigned long asABGR() const

      - +

      oinline const unsigned long asRGBA() const

      - +

      oinline const bool valid() const

      - +

      oinline const bool isNaN() const

      - +

      oinline float operator * (const Vec4& rhs) const
      dot product

      - +

      oinline Vec4 operator * (const float rhs) const
      multiply by scalar

      - +

      oinline Vec4& operator *= (const float rhs)
      unary multiply by scalar

      - +

      oinline Vec4 operator / (const float rhs) const
      divide by scalar

      - +

      oinline Vec4& operator /= (const float rhs)
      unary divide by scalar

      - +

      oinline Vec4 operator + (const Vec4& rhs) const
      binary vector add

      - +

      oinline Vec4& operator += (const Vec4& rhs)
      unary vector add. Slightly more efficient because no temporary intermediate object

      - +

      oinline Vec4 operator - (const Vec4& rhs) const
      binary vector subtract

      - +

      oinline Vec4& operator -= (const Vec4& rhs)
      unary vector subtract

      - +

      oinline const Vec4 operator - () const
      negation operator. Returns the negative of the Vec4

      - +

      oinline const float length() const
      Length of the vector = sqrt( vec . vec )

      - +

      oinline const float length2() const
      Length squared of the vector = vec . vec

      - +

      oinline const float normalize()
      normalize the vector so that it has length unity returns the previous length of the vector diff --git a/doc/doc++/osg/VectorSizei.html b/doc/doc++/osg/VectorSizei.html index 43edc558f..5cbd1b159 100644 --- a/doc/doc++/osg/VectorSizei.html +++ b/doc/doc++/osg/VectorSizei.html @@ -22,13 +22,13 @@

      Public Methods

      -[more]typedef std::vector<value_type> inherited VectorSizei() +[more]typedef std::vector<value_type> inherited VectorSizei()
      -[more]explicit VectorSizei(size_type n) +[more]explicit VectorSizei(size_type n)
      -[more] VectorSizei(const VectorSizei &copy) +[more] VectorSizei(const VectorSizei &copy)
      -[more]template<class InputIterator> VectorSizei(InputIterator beg_, InputIterator end_) +[more]template<class InputIterator> VectorSizei(InputIterator beg_, InputIterator end_)

      @@ -39,19 +39,19 @@
      - +
      otypedef std::vector<value_type> inherited VectorSizei()

      - +

      oexplicit VectorSizei(size_type n)

      - -

      o VectorSizei(const VectorSizei &copy) + +
      o VectorSizei(const VectorSizei &copy)

      - +

      otemplate<class InputIterator> VectorSizei(InputIterator beg_, InputIterator end_)


      diff --git a/doc/doc++/osg/VectorUByte.html b/doc/doc++/osg/VectorUByte.html index c3069389a..212855a7d 100644 --- a/doc/doc++/osg/VectorUByte.html +++ b/doc/doc++/osg/VectorUByte.html @@ -22,13 +22,13 @@

      Public Methods

      -[more]typedef std::vector<value_type> inherited VectorUByte() +[more]typedef std::vector<value_type> inherited VectorUByte()
      -[more]explicit VectorUByte(size_type n) +[more]explicit VectorUByte(size_type n)
      -[more] VectorUByte(const VectorUByte &copy) +[more] VectorUByte(const VectorUByte &copy)
      -[more]template<class InputIterator> VectorUByte(InputIterator beg_, InputIterator end_) +[more]template<class InputIterator> VectorUByte(InputIterator beg_, InputIterator end_)

      @@ -39,19 +39,19 @@
      - +
      otypedef std::vector<value_type> inherited VectorUByte()

      - +

      oexplicit VectorUByte(size_type n)

      - -

      o VectorUByte(const VectorUByte &copy) + +
      o VectorUByte(const VectorUByte &copy)

      - +

      otemplate<class InputIterator> VectorUByte(InputIterator beg_, InputIterator end_)


      diff --git a/doc/doc++/osg/VectorUInt.html b/doc/doc++/osg/VectorUInt.html index 7cfd22c5b..02dadbc8a 100644 --- a/doc/doc++/osg/VectorUInt.html +++ b/doc/doc++/osg/VectorUInt.html @@ -22,13 +22,13 @@

      Public Methods

      -[more]typedef std::vector<value_type> inherited VectorUInt() +[more]typedef std::vector<value_type> inherited VectorUInt()
      -[more]explicit VectorUInt(size_type n) +[more]explicit VectorUInt(size_type n)
      -[more] VectorUInt(const VectorUInt &copy) +[more] VectorUInt(const VectorUInt &copy)
      -[more]template<class InputIterator> VectorUInt(InputIterator beg_, InputIterator end_) +[more]template<class InputIterator> VectorUInt(InputIterator beg_, InputIterator end_)

      @@ -39,19 +39,19 @@
      - +
      otypedef std::vector<value_type> inherited VectorUInt()

      - +

      oexplicit VectorUInt(size_type n)

      - -

      o VectorUInt(const VectorUInt &copy) + +
      o VectorUInt(const VectorUInt &copy)

      - +

      otemplate<class InputIterator> VectorUInt(InputIterator beg_, InputIterator end_)


      diff --git a/doc/doc++/osg/VectorUShort.html b/doc/doc++/osg/VectorUShort.html index 0291ebbf7..fc51acfec 100644 --- a/doc/doc++/osg/VectorUShort.html +++ b/doc/doc++/osg/VectorUShort.html @@ -22,13 +22,13 @@

      Public Methods

      -[more]typedef std::vector<value_type> inherited VectorUShort() +[more]typedef std::vector<value_type> inherited VectorUShort()
      -[more]explicit VectorUShort(size_type n) +[more]explicit VectorUShort(size_type n)
      -[more] VectorUShort(const VectorUShort &copy) +[more] VectorUShort(const VectorUShort &copy)
      -[more]template<class InputIterator> VectorUShort(InputIterator beg_, InputIterator end_) +[more]template<class InputIterator> VectorUShort(InputIterator beg_, InputIterator end_)

      @@ -39,19 +39,19 @@
      - +
      otypedef std::vector<value_type> inherited VectorUShort()

      - +

      oexplicit VectorUShort(size_type n)

      - -

      o VectorUShort(const VectorUShort &copy) + +
      o VectorUShort(const VectorUShort &copy)

      - +

      otemplate<class InputIterator> VectorUShort(InputIterator beg_, InputIterator end_)


      diff --git a/doc/doc++/osg/Viewport.html b/doc/doc++/osg/Viewport.html index 3c884ef2d..dab28f004 100644 --- a/doc/doc++/osg/Viewport.html +++ b/doc/doc++/osg/Viewport.html @@ -23,53 +23,53 @@

      Public Methods

      -[more] Viewport() +[more] Viewport()
      -[more] Viewport(const Viewport& vp, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Viewport(const Viewport& vp, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy
      -[more] META_StateAttribute(osg, Viewport, VIEWPORT) +[more] META_StateAttribute(osg, Viewport, VIEWPORT)
      -[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
      -[more]inline void setViewport(const int x, const int y, const int width, const int height) +[more]inline void setViewport(const int x, const int y, const int width, const int height)
      -[more]void getViewport(int& x, int& y, int& width, int& height) const +[more]void getViewport(int& x, int& y, int& width, int& height) const
      -[more]inline const int x() const +[more]inline const int x() const
      -[more]inline const int y() const +[more]inline const int y() const
      -[more]inline const int width() const +[more]inline const int width() const
      -[more]inline const int height() const +[more]inline const int height() const
      -[more]inline const bool valid() const +[more]inline const bool valid() const
      -[more]inline const float aspectRatio() const +[more]inline const float aspectRatio() const
      Return the aspcetRatio of the viewport, which is equal to width/height.
      -[more]inline const osg::Matrix computeWindowMatrix() const +[more]inline const osg::Matrix computeWindowMatrix() const
      Compute the Window Matrix which takes projected coords into Window coordinates.
      -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

      Protected Fields

      -[more]int _x +[more]int _x
      -[more]int _y +[more]int _y
      -[more]int _width +[more]int _width
      -[more]int _height +[more]int _height

      Protected Methods

      -[more]virtual ~Viewport() +[more]virtual ~Viewport()

      @@ -87,7 +87,7 @@
      ovirtual const char* className() const
      -ovirtual const Type getType() const +ovirtual const Type getType() const
      ovirtual bool isTextureAttribute() const
      @@ -97,7 +97,7 @@
      obool operator != (const StateAttribute& rhs) const
      -ovirtual void getAssociatedModes(std::vector<GLMode>& ) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
      ovirtual void compile(State&) const

      @@ -122,9 +122,9 @@

      Public Methods

      -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
      -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const
      oinline void setUserData(Referenced* obj)
      @@ -140,7 +140,7 @@

      Protected Fields

      -oDataVariance _dataVariance +oDataVariance _dataVariance
      oref_ptr<Referenced> _userData

      @@ -175,59 +175,59 @@
      - +
      o Viewport()

      - -

      o Viewport(const Viewport& vp, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
      o Viewport(const Viewport& vp, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
      Copy constructor using CopyOp to manage deep vs shallow copy

      - -

      o META_StateAttribute(osg, Viewport, VIEWPORT) + +
      o META_StateAttribute(osg, Viewport, VIEWPORT)

      - +

      ovirtual int compare(const StateAttribute& sa) const
      return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

      - -

      oinline void setViewport(const int x, const int y, const int width, const int height) + +
      oinline void setViewport(const int x, const int y, const int width, const int height)

      - -

      ovoid getViewport(int& x, int& y, int& width, int& height) const + +
      ovoid getViewport(int& x, int& y, int& width, int& height) const

      - +

      oinline const int x() const

      - +

      oinline const int y() const

      - +

      oinline const int width() const

      - +

      oinline const int height() const

      - +

      oinline const bool valid() const

      - +

      oinline const float aspectRatio() const
      Return the aspcetRatio of the viewport, which is equal to width/height. If height is zero, the potental division by zero is avoid by simply returning 1.0f.

      - +

      oinline const osg::Matrix computeWindowMatrix() const
      Compute the Window Matrix which takes projected coords into Window coordinates. To converted local coodinates into window coordinates use v_window = v_local * MVPW matrix, @@ -236,27 +236,27 @@ viewport::computeWindowMatrix(), the ModelView and Projection Matrix can either current osg::State object, via osgUtil::SceneView or CullVisitor.

      - +

      ovirtual void apply(State& state) const

      - +

      ovirtual ~Viewport()

      - +

      oint _x

      - +

      oint _y

      - +

      oint _width

      - +

      oint _height

      diff --git a/doc/doc++/osg/clampArray3BetweenRange.html b/doc/doc++/osg/clampArray3BetweenRange.html index 07654c830..f463e96a1 100644 --- a/doc/doc++/osg/clampArray3BetweenRange.html +++ b/doc/doc++/osg/clampArray3BetweenRange.html @@ -7,7 +7,7 @@ -

      template<class A, class T>inline void osg::clampArray3BetweenRange

      (A& value,
        const T minValue,
        const T maxValue,
        const char* valueName)

      if array4 elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
      +

      template<class A, class T>inline void osg::clampArray3BetweenRange

      (A& value,
        const T minValue,
        const T maxValue,
        const char* valueName)

      if array4 elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.

      diff --git a/doc/doc++/osg/clampArray3GEQUAL.html b/doc/doc++/osg/clampArray3GEQUAL.html index fc7fc8e4d..14c0145f2 100644 --- a/doc/doc++/osg/clampArray3GEQUAL.html +++ b/doc/doc++/osg/clampArray3GEQUAL.html @@ -7,7 +7,7 @@ -

      template<class A, class T>inline void osg::clampArray3GEQUAL

      (A& value,
        const T minValue,
        const char* valueName)

      if array4 elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
      +

      template<class A, class T>inline void osg::clampArray3GEQUAL

      (A& value,
        const T minValue,
        const char* valueName)

      if array4 elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

      diff --git a/doc/doc++/osg/clampArray3LEQUAL.html b/doc/doc++/osg/clampArray3LEQUAL.html index 81aac74d5..e2e7ca1c5 100644 --- a/doc/doc++/osg/clampArray3LEQUAL.html +++ b/doc/doc++/osg/clampArray3LEQUAL.html @@ -7,7 +7,7 @@ -

      template<class A, class T>inline void osg::clampArray3LEQUAL

      (A& value,
        const T maxValue,
        const char* valueName)

      if array4 elements are is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
      +

      template<class A, class T>inline void osg::clampArray3LEQUAL

      (A& value,
        const T maxValue,
        const char* valueName)

      if array4 elements are is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

      diff --git a/doc/doc++/osg/clampArray4BetweenRange.html b/doc/doc++/osg/clampArray4BetweenRange.html index 32f05c15f..25f7bfdd5 100644 --- a/doc/doc++/osg/clampArray4BetweenRange.html +++ b/doc/doc++/osg/clampArray4BetweenRange.html @@ -7,7 +7,7 @@ -

      template<class A, class T>inline void osg::clampArray4BetweenRange

      (A& value,
        const T minValue,
        const T maxValue,
        const char* valueName)

      if array4 elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
      +

      template<class A, class T>inline void osg::clampArray4BetweenRange

      (A& value,
        const T minValue,
        const T maxValue,
        const char* valueName)

      if array4 elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.

      diff --git a/doc/doc++/osg/clampArray4GEQUAL.html b/doc/doc++/osg/clampArray4GEQUAL.html index 63fae19f5..3bbd24e39 100644 --- a/doc/doc++/osg/clampArray4GEQUAL.html +++ b/doc/doc++/osg/clampArray4GEQUAL.html @@ -7,7 +7,7 @@ -

      template<class A, class T>inline void osg::clampArray4GEQUAL

      (A& value,
        const T minValue,
        const char* valueName)

      if array4 elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
      +

      template<class A, class T>inline void osg::clampArray4GEQUAL

      (A& value,
        const T minValue,
        const char* valueName)

      if array4 elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

      diff --git a/doc/doc++/osg/clampArray4LEQUAL.html b/doc/doc++/osg/clampArray4LEQUAL.html index a607d3551..c7285a724 100644 --- a/doc/doc++/osg/clampArray4LEQUAL.html +++ b/doc/doc++/osg/clampArray4LEQUAL.html @@ -7,7 +7,7 @@ -

      template<class A, class T>inline void osg::clampArray4LEQUAL

      (A& value,
        const unsigned int first,
        const unsigned int last,
        const T maxValue,
        const char* valueName)

      if array4 elements are is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
      +

      template<class A, class T>inline void osg::clampArray4LEQUAL

      (A& value,
        const unsigned int first,
        const unsigned int last,
        const T maxValue,
        const char* valueName)

      if array4 elements are is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

      diff --git a/doc/doc++/osg/clampArrayElementBetweenRange.html b/doc/doc++/osg/clampArrayElementBetweenRange.html index 7aa496ec5..fcb3063d9 100644 --- a/doc/doc++/osg/clampArrayElementBetweenRange.html +++ b/doc/doc++/osg/clampArrayElementBetweenRange.html @@ -7,7 +7,7 @@ -

      template<class A, class T>inline void osg::clampArrayElementBetweenRange

      (A& value,
        const unsigned int i,
        const T minValue,
        const T maxValue,
        const char* valueName)

      if array element value[i] is between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
      +

      template<class A, class T>inline void osg::clampArrayElementBetweenRange

      (A& value,
        const unsigned int i,
        const T minValue,
        const T maxValue,
        const char* valueName)

      if array element value[i] is between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.

      diff --git a/doc/doc++/osg/clampArrayElementGEQUAL.html b/doc/doc++/osg/clampArrayElementGEQUAL.html index a31017fdf..d98b47ee1 100644 --- a/doc/doc++/osg/clampArrayElementGEQUAL.html +++ b/doc/doc++/osg/clampArrayElementGEQUAL.html @@ -7,7 +7,7 @@ -

      template<class A, class T>inline void osg::clampArrayElementGEQUAL

      (A& value,
        const unsigned int i,
        const T minValue,
        const char* valueName)

      if array element value[i] is greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
      +

      template<class A, class T>inline void osg::clampArrayElementGEQUAL

      (A& value,
        const unsigned int i,
        const T minValue,
        const char* valueName)

      if array element value[i] is greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

      diff --git a/doc/doc++/osg/clampArrayElementLEQUAL.html b/doc/doc++/osg/clampArrayElementLEQUAL.html index 222f8c63e..8dbb004fa 100644 --- a/doc/doc++/osg/clampArrayElementLEQUAL.html +++ b/doc/doc++/osg/clampArrayElementLEQUAL.html @@ -7,7 +7,7 @@ -

      template<class A, class T>inline void osg::clampArrayElementLEQUAL

      (A& value,
        const unsigned int i,
        const T maxValue,
        const char* valueName)

      if array element value[i] is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
      +

      template<class A, class T>inline void osg::clampArrayElementLEQUAL

      (A& value,
        const unsigned int i,
        const T maxValue,
        const char* valueName)

      if array element value[i] is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

      diff --git a/doc/doc++/osg/clampArrayElementsBetweenRange.html b/doc/doc++/osg/clampArrayElementsBetweenRange.html index 79b7a2057..fd401b73e 100644 --- a/doc/doc++/osg/clampArrayElementsBetweenRange.html +++ b/doc/doc++/osg/clampArrayElementsBetweenRange.html @@ -7,7 +7,7 @@ -

      template<class A, class T>inline void osg::clampArrayElementsBetweenRange

      (A& value,
        const unsigned int first,
        const unsigned int last,
        const T minValue,
        const T maxValue,
        const char* valueName)

      if array elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
      +

      template<class A, class T>inline void osg::clampArrayElementsBetweenRange

      (A& value,
        const unsigned int first,
        const unsigned int last,
        const T minValue,
        const T maxValue,
        const char* valueName)

      if array elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.

      diff --git a/doc/doc++/osg/clampArrayElementsGEQUAL.html b/doc/doc++/osg/clampArrayElementsGEQUAL.html index 0298cc6fd..c205ac80b 100644 --- a/doc/doc++/osg/clampArrayElementsGEQUAL.html +++ b/doc/doc++/osg/clampArrayElementsGEQUAL.html @@ -7,7 +7,7 @@ -

      template<class A, class T>inline void osg::clampArrayElementsGEQUAL

      (A& value,
        const unsigned int first,
        const unsigned int last,
        const T minValue,
        const char* valueName)

      if array elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
      +

      template<class A, class T>inline void osg::clampArrayElementsGEQUAL

      (A& value,
        const unsigned int first,
        const unsigned int last,
        const T minValue,
        const char* valueName)

      if array elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

      diff --git a/doc/doc++/osg/clampArrayElementsLEQUAL.html b/doc/doc++/osg/clampArrayElementsLEQUAL.html index 14fc024a9..aaaef5171 100644 --- a/doc/doc++/osg/clampArrayElementsLEQUAL.html +++ b/doc/doc++/osg/clampArrayElementsLEQUAL.html @@ -7,7 +7,7 @@ -

      template<class A, class T>inline void osg::clampArrayElementsLEQUAL

      (A& value,
        const unsigned int first,
        const unsigned int last,
        const T maxValue,
        const char* valueName)

      if array elements are less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
      +

      template<class A, class T>inline void osg::clampArrayElementsLEQUAL

      (A& value,
        const unsigned int first,
        const unsigned int last,
        const T maxValue,
        const char* valueName)

      if array elements are less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

      diff --git a/doc/doc++/osg/clampBetweenRange.html b/doc/doc++/osg/clampBetweenRange.html index 8be79f137..2a226d4e8 100644 --- a/doc/doc++/osg/clampBetweenRange.html +++ b/doc/doc++/osg/clampBetweenRange.html @@ -7,7 +7,7 @@ -

      template<class T>inline void osg::clampBetweenRange

      (T& value,
        const T minValue,
        const T maxValue,
        const char* valueName)

      if value is between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
      +

      template<class T>inline void osg::clampBetweenRange

      (T& value,
        const T minValue,
        const T maxValue,
        const char* valueName)

      if value is between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.

      diff --git a/doc/doc++/osg/clampGEQUAL.html b/doc/doc++/osg/clampGEQUAL.html index faf3b80a2..2412d1774 100644 --- a/doc/doc++/osg/clampGEQUAL.html +++ b/doc/doc++/osg/clampGEQUAL.html @@ -7,7 +7,7 @@ -

      template<class T>inline void osg::clampGEQUAL

      (T& value,
        const T minValue,
        const char* valueName)

      if value is greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
      +

      template<class T>inline void osg::clampGEQUAL

      (T& value,
        const T minValue,
        const char* valueName)

      if value is greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

      diff --git a/doc/doc++/osg/clampLEQUAL.html b/doc/doc++/osg/clampLEQUAL.html index 037588d85..df37557f5 100644 --- a/doc/doc++/osg/clampLEQUAL.html +++ b/doc/doc++/osg/clampLEQUAL.html @@ -7,7 +7,7 @@ -

      template<class T>inline void osg::clampLEQUAL

      (T& value,
        const T maxValue,
        const char* valueName)

      if value is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
      +

      template<class T>inline void osg::clampLEQUAL

      (T& value,
        const T maxValue,
        const char* valueName)

      if value is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

      diff --git a/doc/doc++/osg/createGeodeForImage.2.html b/doc/doc++/osg/createGeodeForImage.2.html index af67151f9..13d8b69d1 100644 --- a/doc/doc++/osg/createGeodeForImage.2.html +++ b/doc/doc++/osg/createGeodeForImage.2.html @@ -7,7 +7,7 @@ -

      SG_EXPORT extern Geode* osg::createGeodeForImage

      (Image* image,
        const float s,
        const float t)

      Convenience function to be used by images loaders to generate a valid geode to return for readNode().
      +

      SG_EXPORT extern Geode* osg::createGeodeForImage

      (Image* image,
        const float s,
        const float t)

      Convenience function to be used by images loaders to generate a valid geode to return for readNode().

      diff --git a/doc/doc++/osg/fast_back_stack.html b/doc/doc++/osg/fast_back_stack.html index feec80c47..cbd8dee42 100644 --- a/doc/doc++/osg/fast_back_stack.html +++ b/doc/doc++/osg/fast_back_stack.html @@ -7,44 +7,44 @@ -

      template<class T> class osg::fast_back_stack

      Simple stack implementation that keeps the back() cached locally for fast access rather than at the back of the vector which is the traditional stack implementation.
      +

      template<class T> class osg::fast_back_stack

      Simple stack implementation that keeps the back() cached locally for fast access rather than at the back of the vector which is the traditional stack implementation.

      Public Fields

      -[more]T _value +[more]T _value
      -[more]std::vector<T> _stack +[more]std::vector<T> _stack
      -[more]unsigned int _size +[more]unsigned int _size

      Public Methods

      -[more]inline fast_back_stack() +[more]inline fast_back_stack()
      -[more]inline fast_back_stack(const fast_back_stack& fbs) +[more]inline fast_back_stack(const fast_back_stack& fbs)
      -[more]inline fast_back_stack(const T& value) +[more]inline fast_back_stack(const T& value)
      -[more]fast_back_stack& operator = (const fast_back_stack& fbs) +[more]fast_back_stack& operator = (const fast_back_stack& fbs)
      -[more]inline void clear() +[more]inline void clear()
      -[more]inline bool empty() const +[more]inline bool empty() const
      -[more]inline unsigned int size() const +[more]inline unsigned int size() const
      -[more]inline T& back() +[more]inline T& back()
      -[more]inline const T& back() const +[more]inline const T& back() const
      -[more]inline void push_back() +[more]inline void push_back()
      -[more]inline void push_back(const T& value) +[more]inline void push_back(const T& value)
      -[more]inline void pop_back() +[more]inline void pop_back()

      @@ -62,63 +62,63 @@ back can be accessed.
      - +
      oinline fast_back_stack()

      - -

      oinline fast_back_stack(const fast_back_stack& fbs) + +
      oinline fast_back_stack(const fast_back_stack& fbs)

      - -

      oinline fast_back_stack(const T& value) + +
      oinline fast_back_stack(const T& value)

      - +

      ofast_back_stack& operator = (const fast_back_stack& fbs)

      - +

      oinline void clear()

      - +

      oinline bool empty() const

      - +

      oinline unsigned int size() const

      - -

      oinline T& back() + +
      oinline T& back()

      - -

      oinline const T& back() const + +
      oinline const T& back() const

      - +

      oinline void push_back()

      - -

      oinline void push_back(const T& value) + +
      oinline void push_back(const T& value)

      - +

      oinline void pop_back()

      - -

      oT _value + +
      oT _value

      - -

      ostd::vector<T> _stack + +
      ostd::vector<T> _stack

      - +

      ounsigned int _size

      diff --git a/doc/doc++/osg/for_each_triangle.html b/doc/doc++/osg/for_each_triangle.html index ec0524604..694e1e89d 100644 --- a/doc/doc++/osg/for_each_triangle.html +++ b/doc/doc++/osg/for_each_triangle.html @@ -7,7 +7,7 @@ -

      template<class T> void osg::for_each_triangle

      (GeoSet& gset,
        T& op)

      Template function for iterating through a GeoSet operating on triangles with templated functor.
      +

      template<class T> void osg::for_each_triangle

      (GeoSet& gset,
        T& op)

      Template function for iterating through a GeoSet operating on triangles with templated functor.

      diff --git a/doc/doc++/osg/getGLExtensionFuncPtr.html b/doc/doc++/osg/getGLExtensionFuncPtr.html index b35e2e0be..9d2b38c52 100644 --- a/doc/doc++/osg/getGLExtensionFuncPtr.html +++ b/doc/doc++/osg/getGLExtensionFuncPtr.html @@ -2,18 +2,22 @@ - SG_EXPORT extern void* osg::getGLExtensionFuncPtr + inline void* osg::getGLExtensionFuncPtr -

      SG_EXPORT extern void* osg::getGLExtensionFuncPtr

      (const char* funcName)

      return the address of the specified OpenGL function.
      +

      inline void* osg::getGLExtensionFuncPtr

      (const char* funcName)

      return the address of the specified OpenGL function.

      Documentation

      return the address of the specified OpenGL function. -return NULL if function not supported by OpenGL library.
      +return NULL if function not supported by OpenGL library. +Note, glGLExtensionFuncPtr is declared inline so that the code +is compiled localy to the calling code. This should get by Windows +dumb implementation of having different GL function ptr's for each +library when links to it.

      Alphabetic index HTML hierarchy of classes or Java



      This page was generated with the help of DOC++. diff --git a/doc/doc++/osg/index.html b/doc/doc++/osg/index.html index 9e5838a48..149956265 100644 --- a/doc/doc++/osg/index.html +++ b/doc/doc++/osg/index.html @@ -11,10 +11,12 @@

      Namespaces

      Functions

      diff --git a/doc/doc++/osg/osg.html b/doc/doc++/osg/osg.html index 4d7591001..e44dd497b 100644 --- a/doc/doc++/osg/osg.html +++ b/doc/doc++/osg/osg.html @@ -14,12 +14,12 @@ class SG_EXPORT AlphaFunc: public StateAttribute
      Encapsulate OpenGL glAlphaFunc
      -class SG_EXPORT AnimationPath: public Transform::ComputeTransformCallback +class SG_EXPORT AnimationPath: public osg::Referenced
      AnimationPath for specify the time varying transformation pathway to use when update camera and model objects.
      class SG_EXPORT Array: public Object
      -template<typename T, Array::Type ARRAYTYPE, int DataSize, int DataType> class TemplateArray: public Array, public std::vector<T> +template<typename T, Array::Type ARRAYTYPE, int DataSize, int DataType> class TemplateArray: public Array, public std::vector<T>
      typedef TemplateArray<Vec4,Array::Vec4ArrayType,4,GL_FLOAT> Vec4Arrayclass ArrayVisitor
      @@ -35,54 +35,57 @@ class SG_EXPORT BoundingBox class SG_EXPORT BoundingSphere
      General purpose bounding sphere class for enclosing nodes/objects/vertices.
      -template<class T>inline void clampGEQUAL(T& value, const T minValue, const char* valueName) +template<class T>inline void clampGEQUAL(T& value, const T minValue, const char* valueName)
      if value is greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
      -template<class T>inline void clampLEQUAL(T& value, const T maxValue, const char* valueName) +template<class T>inline void clampLEQUAL(T& value, const T maxValue, const char* valueName)
      if value is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
      -template<class T>inline void clampBetweenRange(T& value, const T minValue, const T maxValue, const char* valueName) +template<class T>inline void clampBetweenRange(T& value, const T minValue, const T maxValue, const char* valueName)
      if value is between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
      -template<class A, class T>inline void clampArrayElementGEQUAL(A& value, const unsigned int i, const T minValue, const char* valueName) +template<class A, class T>inline void clampArrayElementGEQUAL(A& value, const unsigned int i, const T minValue, const char* valueName)
      if array element value[i] is greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
      -template<class A, class T>inline void clampArrayElementLEQUAL(A& value, const unsigned int i, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArrayElementLEQUAL(A& value, const unsigned int i, const T maxValue, const char* valueName)
      if array element value[i] is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
      -template<class A, class T>inline void clampArrayElementBetweenRange(A& value, const unsigned int i, const T minValue, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArrayElementBetweenRange(A& value, const unsigned int i, const T minValue, const T maxValue, const char* valueName)
      if array element value[i] is between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
      -template<class A, class T>inline void clampArrayElementsGEQUAL(A& value, const unsigned int first, const unsigned int last, const T minValue, const char* valueName) +template<class A, class T>inline void clampArrayElementsGEQUAL(A& value, const unsigned int first, const unsigned int last, const T minValue, const char* valueName)
      if array elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
      -template<class A, class T>inline void clampArrayElementsLEQUAL(A& value, const unsigned int first, const unsigned int last, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArrayElementsLEQUAL(A& value, const unsigned int first, const unsigned int last, const T maxValue, const char* valueName)
      if array elements are less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
      -template<class A, class T>inline void clampArrayElementsBetweenRange(A& value, const unsigned int first, const unsigned int last, const T minValue, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArrayElementsBetweenRange(A& value, const unsigned int first, const unsigned int last, const T minValue, const T maxValue, const char* valueName)
      if array elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
      -template<class A, class T>inline void clampArray3GEQUAL(A& value, const T minValue, const char* valueName) +template<class A, class T>inline void clampArray3GEQUAL(A& value, const T minValue, const char* valueName)
      if array4 elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
      -template<class A, class T>inline void clampArray3LEQUAL(A& value, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArray3LEQUAL(A& value, const T maxValue, const char* valueName)
      if array4 elements are is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
      -template<class A, class T>inline void clampArray3BetweenRange(A& value, const T minValue, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArray3BetweenRange(A& value, const T minValue, const T maxValue, const char* valueName)
      if array4 elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
      -template<class A, class T>inline void clampArray4GEQUAL(A& value, const T minValue, const char* valueName) +template<class A, class T>inline void clampArray4GEQUAL(A& value, const T minValue, const char* valueName)
      if array4 elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
      -template<class A, class T>inline void clampArray4LEQUAL(A& value, const unsigned int first, const unsigned int last, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArray4LEQUAL(A& value, const unsigned int first, const unsigned int last, const T maxValue, const char* valueName)
      if array4 elements are is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
      -template<class A, class T>inline void clampArray4BetweenRange(A& value, const T minValue, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArray4BetweenRange(A& value, const T minValue, const T maxValue, const char* valueName)
      if array4 elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
      class SG_EXPORT Camera: public osg::Referenced
      Camera class for encapsulating the view position and orientation and projection (lens) used.
      +class SG_EXPORT ClearNode: public Group +
      ClearNode is a Group node which controls the clearing of the color and depth buffers at the start of each frame. +
      class SG_EXPORT ClipNode: public Group
      Leaf Node for defining the position of ClipPlanes in the scene
      @@ -97,10 +100,10 @@ class SG_EXPORT ColorMask: public ColorMatrix: public StateAttribute
      Texture Matrix state class for encapsulating OpenGL texture matrix functionality
      -class SG_EXPORT ConvexPlanerOccluder: public Object +class SG_EXPORT ConvexPlanarOccluder: public Object
      A class for representing convex clipping volumes made up.
      -class SG_EXPORT ConvexPlanerPolygon +class SG_EXPORT ConvexPlanarPolygon
      A class for representing convex clipping volumes made up.
      class SG_EXPORT CopyOp @@ -121,20 +124,20 @@ class SG_EXPORT Depth: public DisplaySettings: public osg::Referenced
      DisplaySettings class for encapsulating what visuals are required and have been set up, and the status of stereo viewing
      -[more]#define USE_SEPERATE_COMPILE_AND_EXECUTE +class SG_EXPORT DOFTransform: public Transform +
      DOFTransform - encapsulates Multigen DOF behavior +
      +[more]#define USE_SEPARATE_COMPILE_AND_EXECUTE
      class SG_EXPORT Drawable: public Object
      Pure virtual base class for drawable Geometry.
      -template<class T> class TriangleFunctor: public Drawable::PrimitiveFunctor, public T +template<class T> class TriangleFunctor: public Drawable::PrimitiveFunctor, public T
      class SG_EXPORT DrawPixels: public Drawable
      DrawPixels is an osg::Drawable subclass which encapsulates the drawing of images using glDrawPixels
      -class SG_EXPORT EarthSky: public Group -
      EarthSky is a Group node which controls the clearing of the color and depth buffers at the start of each frame. -
      -template<class T> class fast_back_stack +template<class T> class fast_back_stack
      Simple stack implementation that keeps the back() cached locally for fast access rather than at the back of the vector which is the traditional stack implementation.
      class SG_EXPORT Fog: public StateAttribute @@ -154,18 +157,23 @@ class SG_EXPORT Geometry: public GeoSet: public Drawable
      Note, osg::GeoSet is now deprecated, please use osg::Geometry instead.
      -template<class T> void for_each_triangle(GeoSet& gset, T& op) +template<class T> void for_each_triangle(GeoSet& gset, T& op)
      Template function for iterating through a GeoSet operating on triangles with templated functor.
      SG_EXPORT extern const bool isGLExtensionSupported(const char* extension)
      return true if OpenGL "extension" is supported.
      -SG_EXPORT extern void* getGLExtensionFuncPtr(const char* funcName) +inline void* getGLExtensionFuncPtr(const char* funcName)
      return the address of the specified OpenGL function.
      inline void* getGLExtensionFuncPtr(const char* funcName, const char* fallbackFuncName)
      return the address of the specified OpenGL function, if not found then check a second function name, if this fails then return NULL as function is not supported by OpenGL library.
      +SG_EXPORT extern const bool isGLUExtensionSupported(const char* extension) +
      return true if OpenGL "extension" is supported. +
      +[more]inline void* getGLUExtensionFuncPtr(const char* funcName) +
      class SG_EXPORT Group: public Node
      General group node which maintains a list of children.
      @@ -175,7 +183,7 @@ class SG_EXPORT Image: public Geode* createGeodeForImage(Image* image)
      Convenience function to be used by images loaders to generate a valid geode to return for readNode().
      -SG_EXPORT extern Geode* createGeodeForImage(Image* image, const float s, const float t) +SG_EXPORT extern Geode* createGeodeForImage(Image* image, const float s, const float t)
      Convenience function to be used by images loaders to generate a valid geode to return for readNode().
      class SG_EXPORT Impostor: public LOD @@ -211,14 +219,14 @@ class SG_EXPORT Material: public class SG_EXPORT Matrix: public Object
      -[more]inline Vec3 operator* (const Vec3& v, const Matrix& m ) +[more]inline Vec3 operator* (const Vec3& v, const Matrix& m )
      -[more]inline Vec4 operator* (const Vec4& v, const Matrix& m ) +[more]inline Vec4 operator* (const Vec4& v, const Matrix& m )
      -[more]inline std::ostream& operator<< (std::ostream& os, const Matrix& m ) +[more]inline std::ostream& operator<< (std::ostream& os, const Matrix& m )
      class SG_EXPORT MatrixTransform: public Transform -
      Transform - is group which all children are transformed by the the Transform's osg::Matrix. +
      MatrixTransform - is a subclass of Transform which has an osg::Matrix which represent a 4x4 transformation of its children from local cordinates into the Transform's parent coordinates
      class SG_EXPORT NodeCallback: public Referenced
      @@ -247,9 +255,9 @@ SG_EXPORT extern bool initNotifyLevel( SG_EXPORT extern std::ostream& notify(const NotifySeverity severity)
      notify messaging function for providing fatal through to verbose debugging messages.
      -[more]inline std::ostream& notify(void) +[more]inline std::ostream& notify(void)
      -#define META_Object(library,name) +#define META_Object(library,name)
      META_Object macro define the standard clone, isSameKindAs and className methods.
      class SG_EXPORT Object: public Referenced @@ -261,7 +269,7 @@ class SG_EXPORT OccluderNode: public Plane
      A plane class.
      -[more]inline std::ostream& operator << (std::ostream& output, const Plane& pl) +[more]inline std::ostream& operator << (std::ostream& output, const Plane& pl)
      class SG_EXPORT Point: public StateAttribute
      Point - encapsulates the OpenGL point smoothing and size state @@ -276,7 +284,7 @@ class SG_EXPORT Polytope
      A Polytope class for representing convex clipping volumes made up.
      class SG_EXPORT PositionAttitudeTransform: public Transform -
      PositionAttitideTransform - is Transfrom the set the coordinates transform up via a Vec3 position and Quat attitude +
      PositionAttitideTransform - is Transform the set the coordinates transform up via a Vec3 position and Quat attitude
      typedef std::vector<GLuint> VectorUIntclass VectorSizei: public std::vector<GLsizei>
      @@ -304,21 +312,28 @@ class SG_EXPORT Projection: public Quat
      A quaternion class.
      -[more]inline std::ostream& operator << (std::ostream& output, const Quat& vec) +[more]inline std::ostream& operator << (std::ostream& output, const Quat& vec)
      class SG_EXPORT Referenced
      Base class from providing referencing counted objects
      -template<class T> class ref_ptr +template<class T> class ref_ptr
      Smart pointer for handling referenced counted objects
      +class SG_EXPORT Sequence: public Switch +
      Sequence is a Group node which allows automatic, time based switching between children +
      class SG_EXPORT ShadeModel: public StateAttribute
      Class which encapsulates glShadeModel()
      class SG_EXPORT ShadowVolumeOccluder
      ShadowVolumeOccluder is a helper class for implementating shadow occlusion culling.
      -[more]#define GL_TEXTURE0 +[more]#define GL_TEXTURE0 +
      +[more]#define GL_FOG_COORDINATE_ARRAY +
      +[more]#define GL_SECONDARY_COLOR_ARRAY
      #define OSG_GL_DEBUG(message)
      macro for use with osg::StateAttrbiute::apply methods for detected and reporting OpenGL error messages @@ -326,7 +341,7 @@ class SG_EXPORT ShadowVolumeOccluder class SG_EXPORT State: public Referenced
      State class for managing a state stack.
      -#define META_StateAttribute(library,name,type) +#define META_StateAttribute(library,name,type)
      META_StateAttribute macro define the standard clone, isSameKindAs, className and getType methods.
      #define COMPARE_StateAttribute_Types(TYPE,rhs_attribute) @@ -353,9 +368,12 @@ class SG_EXPORT Switch: public TexEnv: public StateAttribute
      TexEnv - encapsulates the OpenGL glTexEnv (texture environment) state
      -[more]#define GL_NORMAL_MAP_ARB +class SG_EXPORT TexEnvCombine: public StateAttribute +
      TexEnvCombine - encapsulates the OpenGL glTexEnvCombine (texture environment) state
      -[more]#define GL_REFLECTION_MAP_ARB +[more]#define GL_NORMAL_MAP_ARB +
      +[more]#define GL_REFLECTION_MAP_ARB
      class SG_EXPORT TexGen: public StateAttribute
      TexGen - encapsulates the OpenGL glTexGen (texture coordinate generation) state @@ -363,9 +381,18 @@ class SG_EXPORT TexGen: public TexMat: public StateAttribute
      Texture Matrix state class for encapsulating OpenGL texture matrix functionality
      -class SG_EXPORT Texture: public StateAttribute +class SG_EXPORT Texture: public osg::StateAttribute +
      Texture base class which encapsulates OpenGl texture functionality which common betweent the various types of OpenGL textures +
      +class SG_EXPORT Texture1D: public Texture +
      Texture state class which encapsulates OpenGl 1D texture functionality +
      +class SG_EXPORT Texture2D: public Texture
      Texture state class which encapsulates OpenGl texture functionality
      +class SG_EXPORT Texture3D: public Texture +
      Texture state class which encapsulates OpenGl 3D texture functionality +
      class SG_EXPORT TextureCubeMap: public Texture
      TextureCubeMap state class which encapsulates OpenGl texture cubemap functionality
      @@ -373,7 +400,7 @@ class SG_EXPORT Timer
      A high resolution, low latency time stamper
      class SG_EXPORT Transform: public Group -
      Transform - is group which all children are transformed by the the Transform's osg::Matrix. +
      A Transform is a group node for which all children are transformed by a 4x4 matrix.
      class UByte4
      General purpose float quad, uses include representation of colour coordinates. @@ -384,7 +411,13 @@ class Vec2 class Vec3
      General purpose float triple for use as vertices, vectors and normals.
      -[more]inline std::ostream& operator << (std::ostream& output, const Vec3& vec) +[more]inline std::ostream& operator << (std::ostream& output, const Vec3& vec) +
      +[more]const Vec3 X_AXIS(1.0f, 0.0f, 0.0f) +
      +[more]const Vec3 Y_AXIS(0.0f, 1.0f, 0.0f) +
      +[more]const Vec3 Z_AXIS(0.0f, 0.0f, 1.0f)
      class Vec4
      General purpose float quad, uses include representation of colour coordinates. @@ -405,49 +438,73 @@ class SG_EXPORT Viewport: public Documentation
      - - -
      o#define USE_SEPERATE_COMPILE_AND_EXECUTE + + +
      o#define USE_SEPARATE_COMPILE_AND_EXECUTE +

      + + +

      oinline void* getGLUExtensionFuncPtr(const char* funcName)

      - +

      oinline Vec3 operator* (const Vec3& v, const Matrix& m )

      - +

      oinline Vec4 operator* (const Vec4& v, const Matrix& m )

      - +

      oinline std::ostream& operator<< (std::ostream& os, const Matrix& m )

      - +

      oinline std::ostream& notify(void)

      - +

      oinline std::ostream& operator << (std::ostream& output, const Plane& pl)

      - +

      oinline std::ostream& operator << (std::ostream& output, const Quat& vec)

      - +

      o#define GL_TEXTURE0

      + + +

      o#define GL_FOG_COORDINATE_ARRAY +

      + + +

      o#define GL_SECONDARY_COLOR_ARRAY +

      - +

      o#define GL_NORMAL_MAP_ARB

      - +

      o#define GL_REFLECTION_MAP_ARB

      - +

      oinline std::ostream& operator << (std::ostream& output, const Vec3& vec) +

      + + +

      oconst Vec3 X_AXIS(1.0f, 0.0f, 0.0f) +

      + + +

      oconst Vec3 Y_AXIS(0.0f, 1.0f, 0.0f) +

      + + +

      oconst Vec3 Z_AXIS(0.0f, 0.0f, 1.0f)

      Alphabetic index HTML hierarchy of classes or Java



      diff --git a/doc/doc++/osg/ref_ptr.html b/doc/doc++/osg/ref_ptr.html index b20fe1c0b..040c3b547 100644 --- a/doc/doc++/osg/ref_ptr.html +++ b/doc/doc++/osg/ref_ptr.html @@ -7,55 +7,55 @@ -

      template<class T> class osg::ref_ptr

      Smart pointer for handling referenced counted objects
      +

      template<class T> class osg::ref_ptr

      Smart pointer for handling referenced counted objects

      Public Methods

      -[more] ref_ptr() +[more] ref_ptr()
      -[more] ref_ptr(T* t) +[more] ref_ptr(T* t)
      -[more] ref_ptr(const ref_ptr& rp) +[more] ref_ptr(const ref_ptr& rp)
      -[more] ~ref_ptr() +[more] ~ref_ptr()
      -[more]inline ref_ptr& operator = (const ref_ptr& rp) +[more]inline ref_ptr& operator = (const ref_ptr& rp)
      -[more]inline ref_ptr& operator = (T* ptr) +[more]inline ref_ptr& operator = (T* ptr)
      -[more]inline const bool operator == (const ref_ptr& rp) const +[more]inline const bool operator == (const ref_ptr& rp) const
      -[more]inline const bool operator == (const T* ptr) const +[more]inline const bool operator == (const T* ptr) const
      -[more]inline const bool operator != (const ref_ptr& rp) const +[more]inline const bool operator != (const ref_ptr& rp) const
      -[more]inline const bool operator != (const T* ptr) const +[more]inline const bool operator != (const T* ptr) const
      -[more]inline const bool operator < (const ref_ptr& rp) const +[more]inline const bool operator < (const ref_ptr& rp) const
      -[more]inline const bool operator > (const ref_ptr& rp) const +[more]inline const bool operator > (const ref_ptr& rp) const
      -[more]inline const bool operator > (const T* ptr) const +[more]inline const bool operator > (const T* ptr) const
      -[more]inline T& operator*() +[more]inline T& operator*()
      -[more]inline const T& operator*() const +[more]inline const T& operator*() const
      -[more]inline T* operator->() +[more]inline T* operator->()
      -[more]inline const T* operator->() const +[more]inline const T* operator->() const
      -[more]inline const bool operator!() const +[more]inline const bool operator!() const
      -[more]inline const bool valid() const +[more]inline const bool valid() const
      -[more]inline T* get() +[more]inline T* get()
      -[more]inline const T* get() const +[more]inline const T* get() const
      -[more]inline T* take() +[more]inline T* take()
      take control over the object pointed to by ref_ptr, unreference but do not delete even if ref count goes to 0, return the pointer to the object.

      @@ -68,92 +68,92 @@
      - +
      o ref_ptr()

      - -

      o ref_ptr(T* t) + +
      o ref_ptr(T* t)

      - -

      o ref_ptr(const ref_ptr& rp) + +
      o ref_ptr(const ref_ptr& rp)

      - +

      o ~ref_ptr()

      - +

      oinline ref_ptr& operator = (const ref_ptr& rp)

      - -

      oinline ref_ptr& operator = (T* ptr) + +
      oinline ref_ptr& operator = (T* ptr)

      - +

      oinline const bool operator == (const ref_ptr& rp) const

      - -

      oinline const bool operator == (const T* ptr) const + +
      oinline const bool operator == (const T* ptr) const

      - +

      oinline const bool operator != (const ref_ptr& rp) const

      - -

      oinline const bool operator != (const T* ptr) const + +
      oinline const bool operator != (const T* ptr) const

      - +

      oinline const bool operator < (const ref_ptr& rp) const

      - +

      oinline const bool operator > (const ref_ptr& rp) const

      - -

      oinline const bool operator > (const T* ptr) const + +
      oinline const bool operator > (const T* ptr) const

      - -

      oinline T& operator*() + +
      oinline T& operator*()

      - -

      oinline const T& operator*() const + +
      oinline const T& operator*() const

      - -

      oinline T* operator->() + +
      oinline T* operator->()

      - -

      oinline const T* operator->() const + +
      oinline const T* operator->() const

      - +

      oinline const bool operator!() const

      - +

      oinline const bool valid() const

      - -

      oinline T* get() + +
      oinline T* get()

      - -

      oinline const T* get() const + +
      oinline const T* get() const

      - -

      oinline T* take() + +
      oinline T* take()
      take control over the object pointed to by ref_ptr, unreference but do not delete even if ref count goes to 0, return the pointer to the object. Note, do not use this unless you are 100% sure your code handles the deletion of the object correctly, and diff --git a/doc/doc++/osg/tag_au.html b/doc/doc++/osg/tag_au.html index a1c1dece2..73e296874 100644 --- a/doc/doc++/osg/tag_au.html +++ b/doc/doc++/osg/tag_au.html @@ -11,31 +11,33 @@

      -[more]size_t actualSize +[more]size_t actualSize
      -[more]size_t reportedSize +[more]size_t reportedSize
      -[more]void* actualAddress +[more]void* actualAddress
      -[more]void* reportedAddress +[more]void* reportedAddress
      -[more]char sourceFile[40] +[more]char sourceFile[40]
      -[more]char sourceFunc[40] +[more]char sourceFunc[40]
      -[more]unsigned int sourceLine +[more]unsigned int sourceLine
      -[more]unsigned int allocationType +[more]unsigned int allocationType
      -[more]bool breakOnDealloc +[more]bool breakOnDealloc
      -[more]bool breakOnRealloc +[more]bool breakOnRealloc
      -[more]unsigned int allocationNumber +[more]unsigned int allocationNumber
      -[more]struct tag_au *next +[more]struct tag_au *next
      -[more]struct tag_au *prev +[more]struct tag_au *prev +
      +[more]bool printedOutUnintializedInfo

      @@ -45,56 +47,60 @@
      - +
      osize_t actualSize

      - +

      osize_t reportedSize

      - +

      ovoid* actualAddress

      - +

      ovoid* reportedAddress

      - +

      ochar sourceFile[40]

      - +

      ochar sourceFunc[40]

      - +

      ounsigned int sourceLine

      - +

      ounsigned int allocationType

      - +

      obool breakOnDealloc

      - +

      obool breakOnRealloc

      - +

      ounsigned int allocationNumber

      - +

      ostruct tag_au *next

      - +

      ostruct tag_au *prev +

      + + +

      obool printedOutUnintializedInfo

      Alphabetic index HTML hierarchy of classes or Java



      diff --git a/doc/doc++/osgGA/CameraManipulator.html b/doc/doc++/osgGA/CameraManipulator.html index 98b20ef16..a080605a1 100644 --- a/doc/doc++/osgGA/CameraManipulator.html +++ b/doc/doc++/osgGA/CameraManipulator.html @@ -22,38 +22,34 @@

      Public Methods

      -[more] CameraManipulator() +[more]virtual void setCamera(osg::Camera*) +
      Attach a camera to the manipulator to be used for specifying view
      -[more]virtual ~CameraManipulator() +[more]virtual const osg::Camera* getCamera() const +
      Get the attached camera
      -[more]virtual void setCamera(osg::Camera*) -
      attach a camera to the manipulator to be used for specifying view +[more]virtual osg::Camera* getCamera() +
      Get the attached camera
      -[more]virtual const osg::Camera* getCamera() const -
      get the attached camera +[more]virtual void setNode(osg::Node*) +
      Attach a node to the manipulator, automatically detaching any previously attached node.
      -[more]virtual osg::Camera* getCamera() -
      get the attached camera +[more]virtual const osg::Node* getNode() const +
      Return const node if attached
      -[more]virtual void setNode(osg::Node*) -
      Attach a node to the manipulator. -
      -[more]virtual const osg::Node* getNode() const +[more]virtual osg::Node* getNode()
      Return node if attached
      -[more]virtual osg::Node* getNode() -
      Return node if attached +[more]virtual void home(const GUIEventAdapter&, GUIActionAdapter&) +
      Move the camera to the default position.
      -[more]virtual void home(const GUIEventAdapter&, GUIActionAdapter&) -
      Move the camera to the default position. +[more]virtual void init(const GUIEventAdapter&, GUIActionAdapter&) +
      Start/restart the manipulator.
      -[more]virtual void init(const GUIEventAdapter&, GUIActionAdapter&) -
      Start/restart the manipulator +[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) +
      Handle events, return true if handled, false otherwise.
      -[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) -
      Handle events, return true if handled, false otherwise -
      -[more]virtual void accept(GUIEventHandlerVisitor& v) +[more]virtual void accept(GUIEventHandlerVisitor& v)
      Handle visitations

      @@ -62,6 +58,13 @@ [more]osg::ref_ptr<osg::Camera> _camera

      +

      +

      Protected Methods

      +[more] CameraManipulator() +
      +[more]virtual ~CameraManipulator() +

      +

      Inherited from GUIEventHandler:

      @@ -77,70 +80,79 @@

      Documentation

      +
      + +

      CameraManipulator is an abstract base class defining the interface, and a certain +amount of default functionality, for classes which wish to control OSG cameras +in response to GUI events. +

      - - -
      o CameraManipulator() -

      - - -

      ovirtual ~CameraManipulator() -

      - +

      ovirtual void setCamera(osg::Camera*) -
      attach a camera to the manipulator to be used for specifying view +
      Attach a camera to the manipulator to be used for specifying view

      - +

      ovirtual const osg::Camera* getCamera() const -
      get the attached camera +
      Get the attached camera

      - +

      ovirtual osg::Camera* getCamera() -
      get the attached camera +
      Get the attached camera

      - +

      ovirtual void setNode(osg::Node*) -
      Attach a node to the manipulator. -Automatically detaches previously attached node. -setNode(NULL) detaches previously nodes. -Is ignored by manipulators which do not require a reference model. +
      +Attach a node to the manipulator, automatically detaching any previously attached node. +setNode(NULL) detaches previous nodes. +May be ignored by manipulators which do not require a reference model.

      - +

      ovirtual const osg::Node* getNode() const -
      Return node if attached +
      Return const node if attached

      - +

      ovirtual osg::Node* getNode()
      Return node if attached

      - +

      ovirtual void home(const GUIEventAdapter&, GUIActionAdapter&) -
      Move the camera to the default position. +
      +Move the camera to the default position. May be ignored by manipulators if home functionality is not appropriate.

      - +

      ovirtual void init(const GUIEventAdapter&, GUIActionAdapter&) -
      Start/restart the manipulator +
      +Start/restart the manipulator. +FIXME: what does this actually mean? Provide examples.

      - +

      ovirtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) -
      Handle events, return true if handled, false otherwise +
      Handle events, return true if handled, false otherwise.

      - +

      ovirtual void accept(GUIEventHandlerVisitor& v)
      Handle visitations

      + + +

      o CameraManipulator() +

      + + +

      ovirtual ~CameraManipulator() +

      oosg::ref_ptr<osg::Camera> _camera diff --git a/doc/doc++/osgGA/DriveManipulator.html b/doc/doc++/osgGA/DriveManipulator.html index 77db2f095..670753731 100644 --- a/doc/doc++/osgGA/DriveManipulator.html +++ b/doc/doc++/osgGA/DriveManipulator.html @@ -7,7 +7,8 @@ -

      class OSGGA_EXPORT osgGA::DriveManipulator


      +

      class OSGGA_EXPORT osgGA::DriveManipulator

      DriveManipulator is a camera manipulator which provides drive-like functionality.
      +

      Inheritance:

      @@ -27,22 +28,16 @@ [more]virtual ~DriveManipulator()
      [more]virtual void setNode(osg::Node*) -
      Attach a node to the manipulator.
      [more]virtual const osg::Node* getNode() const -
      Return node if attached
      [more]virtual osg::Node* getNode() -
      Return node if attached
      [more]virtual void home(const GUIEventAdapter& ea, GUIActionAdapter& us) -
      Move the camera to the default position.
      [more]virtual void init(const GUIEventAdapter& ea, GUIActionAdapter& us) -
      Start/restart the manipulator
      [more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) -
      handle events, return true if handled, false otherwise

      @@ -79,6 +74,11 @@

      Documentation

      +
      +DriveManipulator is a camera manipulator which provides drive-like +functionality. By default, the left mouse button accelerates, the right +mouse button decelerates, and the middle mouse button (or left and +right simultaneously) stops dead.
      @@ -92,36 +92,26 @@
      ovirtual void setNode(osg::Node*) -
      Attach a node to the manipulator. -Automatically detaches previously attached node. -setNode(NULL) detaches previously nodes. -Is ignored by manipulators which do not require a reference model.

      ovirtual const osg::Node* getNode() const -
      Return node if attached

      ovirtual osg::Node* getNode() -
      Return node if attached

      ovirtual void home(const GUIEventAdapter& ea, GUIActionAdapter& us) -
      Move the camera to the default position. -May be ignored by manipulators if home functionality is not appropriate.

      ovirtual void init(const GUIEventAdapter& ea, GUIActionAdapter& us) -
      Start/restart the manipulator

      ovirtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) -
      handle events, return true if handled, false otherwise

      diff --git a/doc/doc++/osgGA/FlightManipulator.html b/doc/doc++/osgGA/FlightManipulator.html index 0199db767..5b74cf062 100644 --- a/doc/doc++/osgGA/FlightManipulator.html +++ b/doc/doc++/osgGA/FlightManipulator.html @@ -7,7 +7,8 @@ -

      class OSGGA_EXPORT osgGA::FlightManipulator


      +

      class OSGGA_EXPORT osgGA::FlightManipulator

      FlightManipulator is a CameraManipulator which provides flight simulator-like updating of the camera position & orientation.
      +

      Inheritance:

      @@ -27,25 +28,19 @@ [more]virtual ~FlightManipulator()
      [more]virtual void setNode(osg::Node*) -
      Attach a node to the manipulator.
      [more]virtual const osg::Node* getNode() const -
      Return node if attached
      [more]virtual osg::Node* getNode() -
      Return node if attached
      [more]virtual void home(const GUIEventAdapter& ea, GUIActionAdapter& us) -
      Move the camera to the default position.
      [more]virtual void init(const GUIEventAdapter& ea, GUIActionAdapter& us) -
      Start/restart the manipulator
      [more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) -
      handle events, return true if handled, false otherwise
      [more]void setYawControlMode(YawControlMode ycm) -
      Set the yaw control between no yaw and yawing when banked +
      Configure the Yaw control for the flight model.

      @@ -87,6 +82,11 @@

      Documentation

      +
      +FlightManipulator is a CameraManipulator which provides flight simulator-like +updating of the camera position & orientation. By default, the left mouse +button accelerates, the right mouse button decelerates, and the middle mouse +button (or left and right simultaneously) stops dead.
      @@ -100,36 +100,26 @@
      ovirtual void setNode(osg::Node*) -
      Attach a node to the manipulator. -Automatically detaches previously attached node. -setNode(NULL) detaches previously nodes. -Is ignored by manipulators which do not require a reference model.

      ovirtual const osg::Node* getNode() const -
      Return node if attached

      ovirtual osg::Node* getNode() -
      Return node if attached

      ovirtual void home(const GUIEventAdapter& ea, GUIActionAdapter& us) -
      Move the camera to the default position. -May be ignored by manipulators if home functionality is not appropriate.

      ovirtual void init(const GUIEventAdapter& ea, GUIActionAdapter& us) -
      Start/restart the manipulator

      ovirtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) -
      handle events, return true if handled, false otherwise

      @@ -148,7 +138,7 @@ May be ignored by manipulators if home functionality is not appropriate.

      ovoid setYawControlMode(YawControlMode ycm) -
      Set the yaw control between no yaw and yawing when banked +
      Configure the Yaw control for the flight model.


      This class has no child classes.
      diff --git a/doc/doc++/osgGA/GUIActionAdapter.html b/doc/doc++/osgGA/GUIActionAdapter.html index 43d3afa12..94e48b01a 100644 --- a/doc/doc++/osgGA/GUIActionAdapter.html +++ b/doc/doc++/osgGA/GUIActionAdapter.html @@ -7,17 +7,20 @@ -

      class osgGA::GUIActionAdapter

      Pure virtual base class for adapting the GUI actions requested by CameraManipulators into actions which are handled by the GUI toolkit of the users application.
      +

      class osgGA::GUIActionAdapter

      Abstract base class defining the interface by which GUIEventHandlers may request actions of the GUI system in use.

      Public Methods

      [more]virtual void requestRedraw() = 0 +
      requestRedraw() requests a single redraw
      [more]virtual void requestContinuousUpdate(bool needed=true) = 0 +
      requestContinousUpdate(bool) is for en/disabling a throw or idle callback to be requested by a GUIEventHandler (typically a CameraManipulator, though other GUIEventHandler's may also provide functionality).
      [more]virtual void requestWarpPointer(int x, int y) = 0 +
      requestWarpPointer(int,int) is requesting a repositioning of the mouse pointer to a specified x,y location on the window.

      @@ -25,13 +28,26 @@

      Documentation

      -
      Pure virtual base class for adapting the GUI actions requested by CameraManipulators -into actions which are handled by the GUI toolkit of the users application. +
      +Abstract base class defining the interface by which GUIEventHandlers may request +actions of the GUI system in use. These requests for actions should then be honoured +by the GUI toolkit of the user's application. -

      There are several was of using the ActionAdapter either inheriting it as -done with osgGLUT::Viewer class or passing a simple struct to the camera -manipulator then unpacking the results and working out what to do to respond -to the requests. +

      To provide more detail, when a GUIEventHandler (e.g. a TrackballManipulator) +handles an incoming event, such as a mouse event, it may wish to make +a request of the GUI. E.g. if a model is 'thrown', the trackball manipulator +may wish to start a timer, and be repeatedly called, to continuously refresh the +camera's position and orientation. However, it has no way of doing this, as it +knows nothing of the window system in which it's operating. Instead, the +GUIEventHandler issues it's request via a GUIActionAdapter, and the viewer +in use should honour the request, using the GUI system in play. + +

      There is more than one way of using the GUIActionAdapter. E.g. it may be inherited +into a Viewer class, as is done with osgGLUT::Viewer. Alternatively, a simple +subclass of GUIActionAdapter (e.g. osgQt::QtActionAdapter) may be passed to +the GUIEventHandler::handle() function; once the function has returned, the viewer +will then unpack the results and work out what to do to respond to the +requests.

      Also there are several ways to run your app and handle the updating of the window. osgGLUT::Viewer always has a idle callback registered which does a @@ -43,29 +59,33 @@ requestContinousUpdate(bool) and again there is more than one way to handle it. You can override requestRedraw() and implement to call your own window redraw straight away. Or you can implement so that a flag is set and then you then respond the flag being set in your own leisure. - -

      requestContinousUpdate(bool) is for enabling a throw or idle -callback to be requested by the camera manipulator. Again you can respond -to this immediately by registering a idle callback or a timed callback, or -you can delay setting the callback and do at you own leisure. - -

      requestWarpPointer(int,int) is requesting a respositioning of a mouse pointer -to a specified x,y location on the window. Used by some camera manipulators -to initialize the mouse pointer when mouse position relative to a controls -neutral mouse position is required, i.e when mimicking a aircrafts joystick.

      +
      ovirtual void requestRedraw() = 0 +
      +requestRedraw() requests a single redraw

      ovirtual void requestContinuousUpdate(bool needed=true) = 0 +
      +requestContinousUpdate(bool) is for en/disabling a throw or idle +callback to be requested by a GUIEventHandler (typically a CameraManipulator, +though other GUIEventHandler's may also provide functionality). +GUI toolkits can respond to this immediately by registering an idle/timed +callback, or can delay setting the callback and update at their own leisure.

      ovirtual void requestWarpPointer(int x, int y) = 0 +
      +requestWarpPointer(int,int) is requesting a repositioning of the mouse pointer +to a specified x,y location on the window. This is used by some camera manipulators +to initialise the mouse pointer when mouse position relative to a controls +neutral mouse position is required, i.e when mimicking a aircrafts joystick.


      This class has no child classes.
      diff --git a/doc/doc++/osgGA/GUIEventAdapter.html b/doc/doc++/osgGA/GUIEventAdapter.html index 9003fa00a..1f95c1447 100644 --- a/doc/doc++/osgGA/GUIEventAdapter.html +++ b/doc/doc++/osgGA/GUIEventAdapter.html @@ -2,12 +2,12 @@ - class osgGA::GUIEventAdapter + class OSGGA_EXPORT osgGA::GUIEventAdapter -

      class osgGA::GUIEventAdapter

      Pure virtual base class for adapting platform specific events into generic keyboard and mouse events.
      +

      class OSGGA_EXPORT osgGA::GUIEventAdapter

      Pure virtual base class for adapting platform specific events into generic keyboard and mouse events.

      Inheritance:

      @@ -23,51 +23,51 @@

      Public Methods

      -[more] GUIEventAdapter() -
      -[more]virtual EventType getEventType() const = 0 +[more]virtual EventType getEventType() const = 0
      Get the EventType of the GUI event
      -[more]virtual int getKey() const = 0 -
      key pressed, return -1 if inappropriate for this event. +[more]virtual int getKey() const = 0 +
      key pressed, return -1 if inappr opriate for this event.
      -[more]virtual int getButton() const = 0 +[more]virtual int getButton() const = 0
      button pressed/released, return -1 if inappropriate for this event
      -[more]virtual int getXmin() const = 0 +[more]virtual int getXmin() const = 0
      window minimum x.
      -[more]virtual int getXmax() const = 0 +[more]virtual int getXmax() const = 0
      window maximum x.
      -[more]virtual int getYmin() const = 0 +[more]virtual int getYmin() const = 0
      window minimum y.
      -[more]virtual int getYmax() const = 0 +[more]virtual int getYmax() const = 0
      window maximum y.
      -[more]virtual int getX() const = 0 +[more]virtual int getX() const = 0
      current mouse x position
      -[more]virtual int getY() const = 0 +[more]virtual int getY() const = 0
      current mouse y position
      -[more]virtual unsigned int getButtonMask() const = 0 +[more]virtual unsigned int getButtonMask() const = 0
      current mouse button state
      -[more]virtual double time() const = 0 +[more]virtual double time() const = 0
      time in seconds of event.

      Public Members

      -[more]enum MouseButtonMask +[more]enum MouseButtonMask
      -[more]enum EventType +[more]enum EventType

      Protected Methods

      +[more] GUIEventAdapter() +
      [more]virtual ~GUIEventAdapter()
      Force users to create on heap, so that multiple referencing is safe

      @@ -77,129 +77,131 @@

      Documentation

      -
      Pure virtual base class for adapting platform specific events into +
      +Pure virtual base class for adapting platform specific events into generic keyboard and mouse events. -

      Used as GUI toolkit independent input into the osgUtil::CameraManipualor's. -For an example of how GUIEventAdapter is specialised for a particular GUI -Toolkit see osgGLUT::GLUTEventAdapter.

      +

      Used as GUI toolkit-independent input into GUIEventAdapters. Viewer +writers should subclass this base class to implement the functionality +to translate one of their GUI events, e.g. a Qt Event or an MFC Event, +as appropriate.

      - - -
      o GUIEventAdapter() -

      - +

      oenum MouseButtonMask

      - +
      o LEFT_MOUSE_BUTTON

      - +

      o MIDDLE_MOUSE_BUTTON

      - +

      o RIGHT_MOUSE_BUTTON

      - +
      oenum EventType

      - +
      o PUSH

      - +

      o RELEASE

      - +

      o DRAG

      - +

      o MOVE

      - +

      o KEYBOARD

      - +

      o FRAME

      - +

      o RESIZE

      - +

      o NONE

      - -
      ovirtual EventType getEventType() const = 0 + +
      ovirtual EventType getEventType() const = 0
      Get the EventType of the GUI event

      - +

      ovirtual int getKey() const = 0 -
      key pressed, return -1 if inappropriate for this event. +
      key pressed, return -1 if inappr opriate for this event.

      - +

      ovirtual int getButton() const = 0
      button pressed/released, return -1 if inappropriate for this event

      - +

      ovirtual int getXmin() const = 0
      window minimum x.

      - +

      ovirtual int getXmax() const = 0
      window maximum x.

      - +

      ovirtual int getYmin() const = 0
      window minimum y.

      - +

      ovirtual int getYmax() const = 0
      window maximum y.

      - +

      ovirtual int getX() const = 0
      current mouse x position

      - +

      ovirtual int getY() const = 0
      current mouse y position

      - +

      ovirtual unsigned int getButtonMask() const = 0
      current mouse button state

      - +

      ovirtual double time() const = 0
      time in seconds of event.

      + + +

      o GUIEventAdapter() +

      ovirtual ~GUIEventAdapter() diff --git a/doc/doc++/osgGA/GUIEventHandler.html b/doc/doc++/osgGA/GUIEventHandler.html index 2c5b616d4..a183e4ef0 100644 --- a/doc/doc++/osgGA/GUIEventHandler.html +++ b/doc/doc++/osgGA/GUIEventHandler.html @@ -23,13 +23,13 @@

      Public Methods

      [more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) = 0 -
      Handle events, return true if handled, false otherwise +
      Handle events, return true if handled, false otherwise.
      [more]virtual const CompositeGUIEventHandler* getComposite() const -
      Is this const GUIEventHandler a composite? +
      Returns 0 if this GUIEventHandler is not a CompositeGUIEventHandler.
      [more]virtual CompositeGUIEventHandler* getComposite() -
      Is this non-const GUIEventHandler a composite? +
      Returns 0 if this GUIEventHandler is not a CompositeGUIEventHandler.
      [more]virtual void accept(GUIEventHandlerVisitor&) = 0
      Accept visits from GUIEventHandler visitors @@ -61,17 +61,17 @@ This request is made via the GUIActionAdapter class.
      ovirtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) = 0 -
      Handle events, return true if handled, false otherwise +
      Handle events, return true if handled, false otherwise.

      ovirtual const CompositeGUIEventHandler* getComposite() const -
      Is this const GUIEventHandler a composite? +
      Returns 0 if this GUIEventHandler is not a CompositeGUIEventHandler.

      ovirtual CompositeGUIEventHandler* getComposite() -
      Is this non-const GUIEventHandler a composite? +
      Returns 0 if this GUIEventHandler is not a CompositeGUIEventHandler.

      diff --git a/doc/doc++/osgGA/GUIEventHandlerVisitor.html b/doc/doc++/osgGA/GUIEventHandlerVisitor.html index 115b52194..5cc9bbd05 100644 --- a/doc/doc++/osgGA/GUIEventHandlerVisitor.html +++ b/doc/doc++/osgGA/GUIEventHandlerVisitor.html @@ -7,7 +7,7 @@ -

      class OSGGA_EXPORT osgGA::GUIEventHandlerVisitor

      Base class primarily for visiting GUIEventHandlers.
      +

      class OSGGA_EXPORT osgGA::GUIEventHandlerVisitor

      Base class for visiting GUIEventHandlers.

      Inheritance:

      @@ -50,7 +50,8 @@

      Documentation

      -
      Base class primarily for visiting GUIEventHandlers. +
      +Base class for visiting GUIEventHandlers.

      A Default Visitor, (Might want to make it an Extrinsic Visitor at some point). By default, it does nothing to the things it visits. Sub classes of this Visitor diff --git a/doc/doc++/osgGA/KeySwitchCameraManipulator.html b/doc/doc++/osgGA/KeySwitchCameraManipulator.html index f04483846..f612c4bf7 100644 --- a/doc/doc++/osgGA/KeySwitchCameraManipulator.html +++ b/doc/doc++/osgGA/KeySwitchCameraManipulator.html @@ -7,7 +7,8 @@ -

      class OSGGA_EXPORT osgGA::KeySwitchCameraManipulator


      +

      class OSGGA_EXPORT osgGA::KeySwitchCameraManipulator

      KeySwitchCameraManipulator is a decorator which allows the type of camera manipulator being used to be switched by pressing a key.
      +

      Inheritance:

      @@ -23,8 +24,10 @@

      Public Methods

      [more]void addCameraManipulator(int key, std::string name, CameraManipulator* cm) +
      Add a camera manipulator with an associated name, and a key to trigger the switch,
      [more]void addNumberedCameraManipulator(CameraManipulator* cm) +
      Add a camera manipulator with an autogenerated keybinding which is '1' + previous number of camera's registerd
      [more]virtual void setCamera(osg::Camera* c)
      @@ -73,15 +76,25 @@

      Documentation

      +
      +KeySwitchCameraManipulator is a decorator which allows the type of camera manipulator +being used to be switched by pressing a key. E.g. '1' for a TrackballManipultor, +'2' for a DriveManipulator, '3' for a FlightManipulator. The manipulators available, +and the associated switch keys, can be configured.
      ovoid addCameraManipulator(int key, std::string name, CameraManipulator* cm) +
      +Add a camera manipulator with an associated name, and a key to +trigger the switch,

      ovoid addNumberedCameraManipulator(CameraManipulator* cm) +
      +Add a camera manipulator with an autogenerated keybinding which is '1' + previous number of camera's registerd

      diff --git a/doc/doc++/osgGA/SetSceneViewVisitor.html b/doc/doc++/osgGA/SetSceneViewVisitor.html index 474e5e5ce..e37b1cad5 100644 --- a/doc/doc++/osgGA/SetSceneViewVisitor.html +++ b/doc/doc++/osgGA/SetSceneViewVisitor.html @@ -7,7 +7,7 @@ -

      class OSGGA_EXPORT osgGA::SetSceneViewVisitor

      SetSceneViewGUIEventHandlerVisitor which visits various types of GUIEventHandler and sets them up appropriately, given a new scene view.
      +

      class OSGGA_EXPORT osgGA::SetSceneViewVisitor

      SetSceneViewGUIEventHandlerVisitor which visits various types of GUIEventHandler and sets them up appropriately, given a new scene view

      Inheritance:

      @@ -47,9 +47,10 @@

      Documentation

      -
      SetSceneViewGUIEventHandlerVisitor which visits various types of GUIEventHandler and -sets them up appropriately, given a new scene view. -.
      +
      +SetSceneViewGUIEventHandlerVisitor which visits various types of +GUIEventHandler and sets them up appropriately, given a new scene +view
      diff --git a/doc/doc++/osgGA/StateSetManipulator.html b/doc/doc++/osgGA/StateSetManipulator.html index 279d237f2..8778aec0c 100644 --- a/doc/doc++/osgGA/StateSetManipulator.html +++ b/doc/doc++/osgGA/StateSetManipulator.html @@ -7,7 +7,8 @@ -

      class OSGGA_EXPORT osgGA::StateSetManipulator


      +

      class OSGGA_EXPORT osgGA::StateSetManipulator

      Experimental class, not been looked at for a while, but which will be returned to at some point :-\
      +

      Inheritance:

      @@ -27,13 +28,13 @@ [more]virtual ~StateSetManipulator()
      [more]virtual void setStateSet(osg::StateSet*) -
      attach a stateset to the manipulator to be used for specifying view +
      attach a geostate to the manipulator to be used for specifying view
      [more]virtual osg::StateSet* getStateSet() -
      get the attached a stateset +
      get the attached a geostate
      [more]virtual const osg::StateSet* getStateSet() const -
      get the attached a stateset +
      get the attached a geostate
      [more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us)
      Handle events, return true if handled, false otherwise @@ -68,6 +69,9 @@

      Documentation

      +
      +Experimental class, not been looked at for a while, but which will +be returned to at some point :-\
      @@ -81,17 +85,17 @@
      ovirtual void setStateSet(osg::StateSet*) -
      attach a stateset to the manipulator to be used for specifying view +
      attach a geostate to the manipulator to be used for specifying view

      ovirtual osg::StateSet* getStateSet() -
      get the attached a stateset +
      get the attached a geostate

      ovirtual const osg::StateSet* getStateSet() const -
      get the attached a stateset +
      get the attached a geostate

      diff --git a/doc/doc++/osgGA/osgGA.html b/doc/doc++/osgGA/osgGA.html index dafb43949..32cc6e4b6 100644 --- a/doc/doc++/osgGA/osgGA.html +++ b/doc/doc++/osgGA/osgGA.html @@ -14,14 +14,16 @@ class OSGGA_EXPORT CameraManipulator: public GUIEventHandler

      class OSGGA_EXPORT DriveManipulator: public CameraManipulator +
      DriveManipulator is a camera manipulator which provides drive-like functionality.
      class OSGGA_EXPORT FlightManipulator: public CameraManipulator +
      FlightManipulator is a CameraManipulator which provides flight simulator-like updating of the camera position & orientation.
      class GUIActionAdapter -
      Pure virtual base class for adapting the GUI actions requested by CameraManipulators into actions which are handled by the GUI toolkit of the users application. +
      Abstract base class defining the interface by which GUIEventHandlers may request actions of the GUI system in use.
      -class GUIEventAdapter: public osg::Referenced -
      Pure virtual base class for adapting platform specific events into generic keyboard and mouse events. +class OSGGA_EXPORT GUIEventAdapter: public osg::Referenced +
      Pure virtual base class for adapting platform specific events into generic keyboard and mouse events.
      class OSGGA_EXPORT GUIEventHandler: public osg::Referenced
      @@ -29,14 +31,16 @@ class OSGGA_EXPORT CompositeGUIEvent
      CompositeGUIEventHandler allows GUIEventHandlers to be composed into hierarchies
      class OSGGA_EXPORT GUIEventHandlerVisitor -
      Base class primarily for visiting GUIEventHandlers. +
      Base class for visiting GUIEventHandlers.
      class OSGGA_EXPORT KeySwitchCameraManipulator: public CameraManipulator +
      KeySwitchCameraManipulator is a decorator which allows the type of camera manipulator being used to be switched by pressing a key.
      class OSGGA_EXPORT SetSceneViewVisitor: public GUIEventHandlerVisitor -
      SetSceneViewGUIEventHandlerVisitor which visits various types of GUIEventHandler and sets them up appropriately, given a new scene view. +
      SetSceneViewGUIEventHandlerVisitor which visits various types of GUIEventHandler and sets them up appropriately, given a new scene view
      class OSGGA_EXPORT StateSetManipulator: public GUIEventHandler +
      Experimental class, not been looked at for a while, but which will be returned to at some point :-\
      class OSGGA_EXPORT TrackballManipulator: public CameraManipulator

      diff --git a/doc/doc++/osgGA/spaceosgGA.html b/doc/doc++/osgGA/spaceosgGA.html index 2aa27989e..cda7a22cf 100644 --- a/doc/doc++/osgGA/spaceosgGA.html +++ b/doc/doc++/osgGA/spaceosgGA.html @@ -2,12 +2,19 @@ - #define space osgGA + space osgGA -

      #define space osgGA

      +

      space osgGA

      +
      +
      +
      + +o +CmdLineArgs
      +

      diff --git a/doc/doc++/osgGLUT/Viewer.html b/doc/doc++/osgGLUT/Viewer.html index 337be1534..c5fc51465 100644 --- a/doc/doc++/osgGLUT/Viewer.html +++ b/doc/doc++/osgGLUT/Viewer.html @@ -30,11 +30,11 @@ [more]virtual void init(osg::Node* rootnode)

      init is deprecated, you should use addViewport instead.
      -[more]virtual void addViewport(osgUtil::SceneView* sv, float x = 0.0, float y = 0.0, float width = 1.0, float height = 1.0) +[more]virtual unsigned int addViewport(osgUtil::SceneView* sv, float x = 0.0, float y = 0.0, float width = 1.0, float height = 1.0)
      -[more]virtual void addViewport(osg::Node*, float x = 0.0, float y = 0.0, float width = 1.0, float height = 1.0) +[more]virtual unsigned int addViewport(osg::Node*, float x = 0.0, float y = 0.0, float width = 1.0, float height = 1.0)
      -[more]const int getNumViewports() const +[more]const unsigned int getNumViewports() const
      [more]osgUtil::SceneView* getViewportSceneView(unsigned int pos)
      @@ -108,11 +108,11 @@
      [more]int _printStats
      -[more]bool _useDisplayLists +[more]StatsRecord times[3]
      -[more]osg::Timer _timer +[more]bool _useDisplayLists
      -[more]osg::Timer_t _tickRatePerSecond +[more]osg::Timer _timer
      [more]osg::Timer_t _initialTick
      @@ -158,7 +158,7 @@
      [more]typedef std::vector<ViewportDef> ViewportList ViewportList _viewportList
      -[more]struct +[more]struct StatsRecord

      @@ -277,15 +277,15 @@ only available for backwards compatibility.

      -

      ovirtual void addViewport(osgUtil::SceneView* sv, float x = 0.0, float y = 0.0, float width = 1.0, float height = 1.0) +
      ovirtual unsigned int addViewport(osgUtil::SceneView* sv, float x = 0.0, float y = 0.0, float width = 1.0, float height = 1.0)

      -

      ovirtual void addViewport(osg::Node*, float x = 0.0, float y = 0.0, float width = 1.0, float height = 1.0) +
      ovirtual unsigned int addViewport(osg::Node*, float x = 0.0, float y = 0.0, float width = 1.0, float height = 1.0)

      -

      oconst int getNumViewports() const +
      oconst unsigned int getNumViewports() const

      @@ -494,43 +494,47 @@ only available for backwards compatibility.

      oint _printStats

      - + -

      ostruct +
      ostruct StatsRecord

      - + +
      o StatsRecord() +

      + +

      ofloat timeApp

      - +

      ofloat timeCull

      - +

      ofloat timeDraw

      - +

      ofloat timeFrame

      - +

      oosg::Timer_t frameend

      - + +
      oStatsRecord times[3] +

      + +

      obool _useDisplayLists

      - -

      oosg::Timer _timer -

      - -

      oosg::Timer_t _tickRatePerSecond +
      oosg::Timer _timer

      diff --git a/doc/doc++/osgParticle/Particle.html b/doc/doc++/osgParticle/Particle.html index b446fbfb6..de7fa3dc5 100644 --- a/doc/doc++/osgParticle/Particle.html +++ b/doc/doc++/osgParticle/Particle.html @@ -21,7 +21,7 @@ [more]bool update(double dt)

      Update the particle (don't call this method manually).
      -[more]void render(const osg::Matrix &modelview, float scale = 1.0f) const +[more]void render(const osg::Vec3 &xpos, const osg::Vec3 &px, const osg::Vec3 &py, float scale = 1.0f) const
      Render the particle.
      [more]inline Particle::Shape getShape() const @@ -193,7 +193,7 @@ by computing P = P + V * dt (where P is the position and V

      -

      ovoid render(const osg::Matrix &modelview, float scale = 1.0f) const +
      ovoid render(const osg::Vec3 &xpos, const osg::Vec3 &px, const osg::Vec3 &py, float scale = 1.0f) const
      Render the particle. Called automatically by particle systems.

      diff --git a/doc/doc++/osgParticle/ParticleSystem.html b/doc/doc++/osgParticle/ParticleSystem.html index 2a98abc87..dad10437f 100644 --- a/doc/doc++/osgParticle/ParticleSystem.html +++ b/doc/doc++/osgParticle/ParticleSystem.html @@ -23,95 +23,123 @@

      Public Methods

      -[more] ParticleSystem() +[more] ParticleSystem()
      -[more] ParticleSystem(const ParticleSystem &copy, const osg::CopyOp &copyop = osg::CopyOp::SHALLOW_COPY) +[more] ParticleSystem(const ParticleSystem &copy, const osg::CopyOp &copyop = osg::CopyOp::SHALLOW_COPY)
      -[more] META_Object(osgParticle, ParticleSystem) +[more] META_Object(osgParticle, ParticleSystem)
      -[more]inline virtual Particle* createParticle(const Particle* ptemplate) +[more]inline Alignment getParticleAlignment() const +
      Get the alignment type of particles +
      +[more]inline virtual Particle* createParticle(const Particle* ptemplate)
      Create a new particle from the specified template (or the default one if ptemplate is null)
      -[more]inline virtual void destroyParticle(int i) +[more]inline virtual void destroyParticle(int i)
      Destroy the i-th particle
      -[more]void setDefaultAttributes(const std::string &texturefile = "", bool emissive_particles = true, bool lighting = false, int texture_unit = 0) +[more]void setDefaultAttributes(const std::string &texturefile = "", bool emissive_particles = true, bool lighting = false, int texture_unit = 0)
      A useful method to set the most common StateAttribute's in one call.
      -[more]virtual void update(double dt) +[more]virtual void update(double dt)
      Update the particles.
      -[more]inline bool isFrozen() const +[more]inline ParticleSystem::Alignment getParticleAlignment() const +
      +[more]inline void setParticleAlignment(Alignment a) +
      Set the alignment type of particles +
      +[more]inline const osg::Vec3& getAlignVectorX() const +
      Get the X-axis alignment vector +
      +[more]inline void setAlignVectorX(const osg::Vec3 &v) +
      Set the X-axis alignment vector +
      +[more]inline const osg::Vec3& getAlignVectorY() const +
      Get the Y-axis alignment vector +
      +[more]inline void setAlignVectorY(const osg::Vec3 &v) +
      Set the Y-axis alignment vector +
      +[more]inline void setAlignVectors(const osg::Vec3 &X, const osg::Vec3 &Y) +
      Set the alignment vectors +
      +[more]inline bool isFrozen() const
      Return true if the particle system is frozen
      -[more]inline void setFrozen(bool v) +[more]inline void setFrozen(bool v)
      Set or reset the frozen state.
      -[more]inline const osg::BoundingBox& getDefaultBoundingBox() const +[more]inline const osg::BoundingBox& getDefaultBoundingBox() const
      Get the default bounding box
      -[more]inline void setDefaultBoundingBox(const osg::BoundingBox &bbox) +[more]inline void setDefaultBoundingBox(const osg::BoundingBox &bbox)
      Set the default bounding box.
      -[more]inline bool getDoublePassRendering() const +[more]inline bool getDoublePassRendering() const
      Get the double pass rendering flag
      -[more]inline void setDoublePassRendering(bool v) +[more]inline void setDoublePassRendering(bool v)
      Set the double pass rendering flag.
      -[more]inline int numParticles() const +[more]inline int numParticles() const
      Get the number of allocated particles (alive + dead)
      -[more]inline int numDeadParticles() const +[more]inline int numDeadParticles() const
      Get the number of dead particles
      -[more]inline Particle* getParticle(int i) +[more]inline Particle* getParticle(int i)
      Get a pointer to the i-th particle
      -[more]inline const Particle* getParticle(int i) const +[more]inline const Particle* getParticle(int i) const
      Get a const pointer to the i-th particle
      -[more]inline void destroyParticle(int i) +[more]inline void destroyParticle(int i)
      -[more]inline int getLastFrameNumber() const +[more]inline int getLastFrameNumber() const
      Get the last frame number
      -[more]inline const bool computeBound() const +[more]inline const bool computeBound() const
      -[more]inline void update_bounds(const osg::Vec3 &p, float r) +[more]inline void update_bounds(const osg::Vec3 &p, float r)
      -[more]inline const Particle& getDefaultParticleTemplate() const +[more]inline const Particle& getDefaultParticleTemplate() const
      Get a reference to the default particle template
      -[more]inline void setDefaultParticleTemplate(const Particle &p) +[more]inline void setDefaultParticleTemplate(const Particle &p)
      Set the default particle template (particle is copied)
      -[more]inline bool getFreezeOnCull() const +[more]inline bool getFreezeOnCull() const
      Get whether the particle system can freeze when culled
      -[more]inline void setFreezeOnCull(bool v) +[more]inline void setFreezeOnCull(bool v)
      Set whether the particle system can freeze when culled (default is true)
      -[more]inline int getLevelOfDetail() const +[more]inline int getLevelOfDetail() const
      (EXPERIMENTAL) Get the level of detail
      -[more]inline void setLevelOfDetail(int v) +[more]inline void setLevelOfDetail(int v)
      (EXPERIMENTAL) Set the level of detail.
      -[more]inline Particle* createParticle(const Particle* ptemplate) +[more]inline Particle* createParticle(const Particle* ptemplate) +

      + +

      +

      Public Members

      +[more]enum Alignment

      Protected Methods

      -[more]virtual ~ParticleSystem() +[more]virtual ~ParticleSystem()
      -[more]ParticleSystem& operator=(const ParticleSystem &) +[more]ParticleSystem& operator=(const ParticleSystem &)
      -[more]inline virtual const bool computeBound() const +[more]inline virtual const bool computeBound() const
      -[more]virtual void drawImmediateMode(osg::State &state) +[more]virtual void drawImmediateMode(osg::State &state)
      -[more]void single_pass_render(const osg::Matrix &modelview) +[more]void single_pass_render(osg::State &state, const osg::Matrix &modelview)

      @@ -126,89 +154,142 @@ particles; it provides the interface for creating particles and iterating through them (see the Emitter and Program classes).
      - + +
      oenum Alignment +

      + + + +
      o BILLBOARD +

      + + +

      o FIXED +

      + + +
      o ParticleSystem()

      - -

      o ParticleSystem(const ParticleSystem &copy, const osg::CopyOp &copyop = osg::CopyOp::SHALLOW_COPY) + +
      o ParticleSystem(const ParticleSystem &copy, const osg::CopyOp &copyop = osg::CopyOp::SHALLOW_COPY)

      - +

      o META_Object(osgParticle, ParticleSystem)

      + + +

      oinline Alignment getParticleAlignment() const +
      Get the alignment type of particles +

      - +

      oinline virtual Particle* createParticle(const Particle* ptemplate)
      Create a new particle from the specified template (or the default one if ptemplate is null)

      - +

      oinline virtual void destroyParticle(int i)
      Destroy the i-th particle

      - +

      ovoid setDefaultAttributes(const std::string &texturefile = "", bool emissive_particles = true, bool lighting = false, int texture_unit = 0)
      A useful method to set the most common StateAttribute's in one call. If texturefile is empty, then texturing is turned off.

      - +

      ovirtual void update(double dt)
      Update the particles. Don't call this directly, use a ParticleSystemUpdater instead.

      - +

      ovirtual ~ParticleSystem()

      - +

      oParticleSystem& operator=(const ParticleSystem &)

      - +

      oinline virtual const bool computeBound() const

      - +

      ovirtual void drawImmediateMode(osg::State &state)

      - -

      ovoid single_pass_render(const osg::Matrix &modelview) + +
      ovoid single_pass_render(osg::State &state, const osg::Matrix &modelview) +

      + + +

      oinline ParticleSystem::Alignment getParticleAlignment() const +

      + + +

      oinline void setParticleAlignment(Alignment a) +
      Set the alignment type of particles +

      + + +

      oinline const osg::Vec3& getAlignVectorX() const +
      Get the X-axis alignment vector +

      + + +

      oinline void setAlignVectorX(const osg::Vec3 &v) +
      Set the X-axis alignment vector +

      + + +

      oinline const osg::Vec3& getAlignVectorY() const +
      Get the Y-axis alignment vector +

      + + +

      oinline void setAlignVectorY(const osg::Vec3 &v) +
      Set the Y-axis alignment vector +

      + + +

      oinline void setAlignVectors(const osg::Vec3 &X, const osg::Vec3 &Y) +
      Set the alignment vectors

      - +

      oinline bool isFrozen() const
      Return true if the particle system is frozen

      - +

      oinline void setFrozen(bool v)
      Set or reset the frozen state. When the particle system is frozen, emitters and programs won't do anything on it.

      - +

      oinline const osg::BoundingBox& getDefaultBoundingBox() const
      Get the default bounding box

      - +

      oinline void setDefaultBoundingBox(const osg::BoundingBox &bbox)
      Set the default bounding box. The default bounding box is used when a real bounding box cannot be computed, for example because no particles has been updated yet.

      - +

      oinline bool getDoublePassRendering() const
      Get the double pass rendering flag

      - +

      oinline void setDoublePassRendering(bool v)
      Set the double pass rendering flag. Double pass rendering avoids overdraw problems between particle systems @@ -218,75 +299,75 @@ If you set the default attributes with setDefaultAttributes, then t system will fall into a transparent bin.

      - +

      oinline int numParticles() const
      Get the number of allocated particles (alive + dead)

      - +

      oinline int numDeadParticles() const
      Get the number of dead particles

      - +

      oinline Particle* getParticle(int i)
      Get a pointer to the i-th particle

      - +

      oinline const Particle* getParticle(int i) const
      Get a const pointer to the i-th particle

      - +

      oinline void destroyParticle(int i)

      - +

      oinline int getLastFrameNumber() const
      Get the last frame number

      - +

      oinline const bool computeBound() const

      - +

      oinline void update_bounds(const osg::Vec3 &p, float r)

      - +

      oinline const Particle& getDefaultParticleTemplate() const
      Get a reference to the default particle template

      - +

      oinline void setDefaultParticleTemplate(const Particle &p)
      Set the default particle template (particle is copied)

      - +

      oinline bool getFreezeOnCull() const
      Get whether the particle system can freeze when culled

      - +

      oinline void setFreezeOnCull(bool v)
      Set whether the particle system can freeze when culled (default is true)

      - +

      oinline int getLevelOfDetail() const
      (EXPERIMENTAL) Get the level of detail

      - +

      oinline void setLevelOfDetail(int v)
      (EXPERIMENTAL) Set the level of detail. The total number of particles is divided by the detail value to get the actual number of particles to be drawn. This value must be greater than zero.

      - +

      oinline Particle* createParticle(const Particle* ptemplate)

      diff --git a/doc/doc++/osgParticle/range.html b/doc/doc++/osgParticle/range.html index 240ee7e4b..94f5a2078 100644 --- a/doc/doc++/osgParticle/range.html +++ b/doc/doc++/osgParticle/range.html @@ -12,10 +12,10 @@

      -[more]T_ min +[more]T_ minimum
      Lower bound
      -[more]T_ max +[more]T_ maximum
      Higher bound
      [more] range() @@ -44,14 +44,14 @@ This struct could be extended to customize the random number generator (now it u std::rand()).
      - + -
      oT_ min +
      oT_ minimum
      Lower bound

      - + -

      oT_ max +
      oT_ maximum
      Higher bound

      diff --git a/doc/doc++/osgUtil/CullVisitor.html b/doc/doc++/osgUtil/CullVisitor.html index a312c6795..481e858ab 100644 --- a/doc/doc++/osgUtil/CullVisitor.html +++ b/doc/doc++/osgUtil/CullVisitor.html @@ -51,15 +51,15 @@

      [more]virtual void apply(osg::LOD& node)
      -[more]virtual void apply(osg::EarthSky& node) +[more]virtual void apply(osg::ClearNode& node)
      [more]virtual void apply(osg::OccluderNode& node)
      [more]virtual void apply(osg::Impostor& node)
      -[more]void setEarthSky(const osg::EarthSky* earthSky) +[more]void setClearNode(const osg::ClearNode* earthSky)
      -[more]const osg::EarthSky* getEarthSky() const +[more]const osg::ClearNode* getClearNode() const
      [more]void setImpostorsActive(const bool active)
      Switch the creation of Impostors on or off. @@ -165,7 +165,7 @@
      [more]float _computed_zfar
      -[more]osg::ref_ptr<const osg::EarthSky> _earthSky +[more]osg::ref_ptr<const osg::ClearNode> _clearNode
      [more]TransparencySortMode _tsm
      @@ -277,7 +277,7 @@ from the eye to the one nearest the eye.

      -

      ovirtual void apply(osg::EarthSky& node) +
      ovirtual void apply(osg::ClearNode& node)

      @@ -287,13 +287,13 @@ from the eye to the one nearest the eye.

      ovirtual void apply(osg::Impostor& node)

      - + -

      ovoid setEarthSky(const osg::EarthSky* earthSky) +
      ovoid setClearNode(const osg::ClearNode* earthSky)

      - + -

      oconst osg::EarthSky* getEarthSky() const +
      oconst osg::ClearNode* getClearNode() const

      @@ -520,9 +520,9 @@ to generate the impostor texture.

      ofloat _computed_zfar

      - + -

      oosg::ref_ptr<const osg::EarthSky> _earthSky +
      oosg::ref_ptr<const osg::ClearNode> _clearNode

      diff --git a/doc/doc++/osgUtil/DepthSortedBin.html b/doc/doc++/osgUtil/DepthSortedBin.html index e3f1f4872..6fcf174c4 100644 --- a/doc/doc++/osgUtil/DepthSortedBin.html +++ b/doc/doc++/osgUtil/DepthSortedBin.html @@ -76,6 +76,10 @@ oRenderGraphList _renderGraphList

      oRenderLeafList _renderLeafList +
      +oSortMode _sortMode +
      +oosg::ref_ptr<SortCallback> _sortLocalCallback

      @@ -92,6 +96,22 @@
      ovoid sort()
      +ovoid setSortMode(SortMode mode) +
      +oSortMode getSortMode() const +
      +ovirtual void sort_local_by_state() +
      +ovirtual void sort_local_front_to_back() +
      +ovirtual void sort_local_back_to_front() +
      +ovoid setSortLocalCallback(SortCallback* sortCallback) +
      +oSortCallback* getSortLocalCallback() +
      +oconst SortCallback* getSortLocalCallback() const +
      ovirtual void draw(osg::State& state, RenderLeaf*& previous)
      obool getStats(osg::Statistics* primStats) @@ -99,10 +119,16 @@ ovoid getPrims(osg::Statistics* primStats)
      obool getPrims(osg::Statistics* primStats, const int nbin) +
      +ovoid copyLeavesFromRenderGraphListToRenderLeafList()

      Public Members

      +oenum SortMode +
      +ostruct SortCallback: public osg::Referenced +
      otypedef std::map< std::string, osg::ref_ptr<RenderBin> >static RenderBinPrototypeList RenderBinPrototypeList s_renderBinPrototypeList

      diff --git a/doc/doc++/osgUtil/IntersectState.html b/doc/doc++/osgUtil/IntersectState.html index 3e354a3c3..9cef2b35d 100644 --- a/doc/doc++/osgUtil/IntersectState.html +++ b/doc/doc++/osgUtil/IntersectState.html @@ -22,32 +22,32 @@

      Public Fields

      -[more]osg::ref_ptr<osg::Matrix> _matrix +[more]osg::ref_ptr<osg::Matrix> _matrix
      -[more]osg::ref_ptr<osg::Matrix> _inverse +[more]osg::ref_ptr<osg::Matrix> _inverse

      Public Methods

      -[more] IntersectState() +[more] IntersectState()
      -[more]bool isCulled(const osg::BoundingSphere& bs, LineSegmentmentMask& segMaskOut) +[more]bool isCulled(const osg::BoundingSphere& bs, LineSegmentmentMask& segMaskOut)
      -[more]bool isCulled(const osg::BoundingBox& bb, LineSegmentmentMask& segMaskOut) +[more]bool isCulled(const osg::BoundingBox& bb, LineSegmentmentMask& segMaskOut)
      -[more]void addLineSegmentPair(osg::LineSegment* first, osg::LineSegment* second) +[more]void addLineSegmentPair(osg::LineSegment* first, osg::LineSegment* second)

      Public Members

      -[more]typedef std::vector< LineSegmentPair > LineSegmentList LineSegmentList _segList +[more]typedef std::vector< LineSegmentPair > LineSegmentList LineSegmentList _segList
      -[more]typedef std::vector<LineSegmentmentMask> LineSegmentmentMaskStack LineSegmentmentMaskStack _segmentMaskStack +[more]typedef std::vector<LineSegmentmentMask> LineSegmentmentMaskStack LineSegmentmentMaskStack _segmentMaskStack

      Protected Methods

      -[more] ~IntersectState() +[more] ~IntersectState()

      @@ -58,39 +58,39 @@
      - +
      o IntersectState()

      - +

      oosg::ref_ptr<osg::Matrix> _matrix

      - +

      oosg::ref_ptr<osg::Matrix> _inverse

      - +

      otypedef std::vector< LineSegmentPair > LineSegmentList LineSegmentList _segList

      - +

      otypedef std::vector<LineSegmentmentMask> LineSegmentmentMaskStack LineSegmentmentMaskStack _segmentMaskStack

      - +

      obool isCulled(const osg::BoundingSphere& bs, LineSegmentmentMask& segMaskOut)

      - +

      obool isCulled(const osg::BoundingBox& bb, LineSegmentmentMask& segMaskOut)

      - +

      ovoid addLineSegmentPair(osg::LineSegment* first, osg::LineSegment* second)

      - +

      o ~IntersectState()

      diff --git a/doc/doc++/osgUtil/IntersectVisitor.html b/doc/doc++/osgUtil/IntersectVisitor.html index 823e81698..05877ca18 100644 --- a/doc/doc++/osgUtil/IntersectVisitor.html +++ b/doc/doc++/osgUtil/IntersectVisitor.html @@ -32,66 +32,52 @@ [more]void addLineSegment(osg::LineSegment* seg)
      Add a line segment to use for intersection testing during scene traversal
      -[more]void setHitReportingMode(HitReportingMode hrm) -
      Set the mode of how hits should reported back from a traversal +[more]typedef std::map<osg::LineSegment*,HitList > LineSegmentHitListMap HitList& getHitList(osg::LineSegment* seg)
      -[more]HitReportingMode getHitReportingMode() -
      Get the mode of how hits should reported back from a traversal +[more]int getNumHits(osg::LineSegment* seg)
      -[more]typedef std::map<osg::LineSegment*,HitList > LineSegmentHitListMap HitList& getHitList(osg::LineSegment* seg) +[more]bool hits()
      -[more]int getNumHits(osg::LineSegment* seg) +[more]virtual void apply(osg::Node&)
      -[more]bool hits() +[more]virtual void apply(osg::Geode& node)
      -[more]virtual void apply(osg::Node&) +[more]virtual void apply(osg::Billboard& node)
      -[more]virtual void apply(osg::Geode& node) +[more]virtual void apply(osg::Group& node)
      -[more]virtual void apply(osg::Billboard& node) +[more]virtual void apply(osg::Transform& node)
      -[more]virtual void apply(osg::Group& node) +[more]virtual void apply(osg::Switch& node)
      -[more]virtual void apply(osg::Transform& node) -
      -[more]virtual void apply(osg::Switch& node) -
      -[more]virtual void apply(osg::LOD& node) -

      - -

      -

      Public Members

      -[more]enum HitReportingMode -
      Modes to control how IntersectVisitor reports hits. +[more]virtual void apply(osg::LOD& node)

      Protected Fields

      -[more]osg::NodePath _nodePath +[more]osg::NodePath _nodePath
      -[more]HitReportingMode _hitReportingMode -
      -[more]LineSegmentHitListMap _segHitList +[more]LineSegmentHitListMap _segHitList

      Protected Methods

      -[more]bool intersect(osg::Drawable& gset) +[more]bool intersect(osg::Drawable& gset)
      -[more]void pushMatrix(const osg::Matrix& matrix) +[more]void pushMatrix(const osg::Matrix& matrix)
      -[more]void popMatrix() +[more]void popMatrix()
      -[more]bool enterNode(osg::Node& node) +[more]bool enterNode(osg::Node& node)
      -[more]void leaveNode() +[more]void leaveNode()

      Protected Members

      class IntersectState: public osg::Referenced
      -[more]typedef std::vector<osg::ref_ptr<IntersectState> > IntersectStateStack IntersectStateStack _intersectStateStack +[more]typedef std::vector<osg::ref_ptr<IntersectState> > IntersectStateStack IntersectStateStack _intersectStateStack

      @@ -119,105 +105,76 @@ class IntersectState: public osg::Refe
      ovoid addLineSegment(osg::LineSegment* seg)
      Add a line segment to use for intersection testing during scene traversal

      - - -

      oenum HitReportingMode -
      Modes to control how IntersectVisitor reports hits. -

      - - - -
      o ONLY_NEAREST_HIT -

      - - -

      o ALL_HITS -

      - - - -
      ovoid setHitReportingMode(HitReportingMode hrm) -
      Set the mode of how hits should reported back from a traversal -

      - - -

      oHitReportingMode getHitReportingMode() -
      Get the mode of how hits should reported back from a traversal -

      - +

      otypedef std::map<osg::LineSegment*,HitList > LineSegmentHitListMap HitList& getHitList(osg::LineSegment* seg)

      - +

      oint getNumHits(osg::LineSegment* seg)

      - +

      obool hits()

      - +

      ovirtual void apply(osg::Node&)

      - +

      ovirtual void apply(osg::Geode& node)

      - +

      ovirtual void apply(osg::Billboard& node)

      - +

      ovirtual void apply(osg::Group& node)

      - +

      ovirtual void apply(osg::Transform& node)

      - +

      ovirtual void apply(osg::Switch& node)

      - +

      ovirtual void apply(osg::LOD& node)

      - +

      obool intersect(osg::Drawable& gset)

      - +

      ovoid pushMatrix(const osg::Matrix& matrix)

      - +

      ovoid popMatrix()

      - +

      obool enterNode(osg::Node& node)

      - +

      ovoid leaveNode()

      - +

      otypedef std::vector<osg::ref_ptr<IntersectState> > IntersectStateStack IntersectStateStack _intersectStateStack

      - +

      oosg::NodePath _nodePath

      - - -

      oHitReportingMode _hitReportingMode -

      - +

      oLineSegmentHitListMap _segHitList

      diff --git a/doc/doc++/osgUtil/RenderBin.html b/doc/doc++/osgUtil/RenderBin.html index 11e45b6a2..1a8603f0e 100644 --- a/doc/doc++/osgUtil/RenderBin.html +++ b/doc/doc++/osgUtil/RenderBin.html @@ -23,17 +23,21 @@

      Public Fields

      -[more]int _binNum +[more]int _binNum
      -[more]RenderBin* _parent +[more]RenderBin* _parent
      -[more]RenderStage* _stage +[more]RenderStage* _stage
      -[more]RenderBinList _bins +[more]RenderBinList _bins
      -[more]RenderGraphList _renderGraphList +[more]RenderGraphList _renderGraphList
      -[more]RenderLeafList _renderLeafList +[more]RenderLeafList _renderLeafList +
      +[more]SortMode _sortMode +
      +[more]osg::ref_ptr<SortCallback> _sortLocalCallback

      @@ -64,28 +68,50 @@
      [more]void sort()
      -[more]virtual void sort_local() +[more]void setSortMode(SortMode mode)
      -[more]virtual void draw(osg::State& state, RenderLeaf*& previous) +[more]SortMode getSortMode() const
      -[more]virtual void draw_local(osg::State& state, RenderLeaf*& previous) +[more]virtual void sort_local()
      -[more]bool getStats(osg::Statistics* primStats) +[more]virtual void sort_local_by_state() +
      +[more]virtual void sort_local_front_to_back() +
      +[more]virtual void sort_local_back_to_front() +
      +[more]void setSortLocalCallback(SortCallback* sortCallback) +
      +[more]SortCallback* getSortLocalCallback() +
      +[more]const SortCallback* getSortLocalCallback() const +
      +[more]virtual void draw(osg::State& state, RenderLeaf*& previous) +
      +[more]virtual void draw_local(osg::State& state, RenderLeaf*& previous) +
      +[more]bool getStats(osg::Statistics* primStats)
      extract stats for current draw list.
      -[more]void getPrims(osg::Statistics* primStats) +[more]void getPrims(osg::Statistics* primStats)
      -[more]bool getPrims(osg::Statistics* primStats, const int nbin) +[more]bool getPrims(osg::Statistics* primStats, const int nbin) +
      +[more]void copyLeavesFromRenderGraphListToRenderLeafList()

      Public Members

      -[more]typedef std::map< std::string, osg::ref_ptr<RenderBin> >static RenderBinPrototypeList RenderBinPrototypeList s_renderBinPrototypeList +[more]enum SortMode +
      +[more]struct SortCallback: public osg::Referenced +
      +[more]typedef std::map< std::string, osg::ref_ptr<RenderBin> >static RenderBinPrototypeList RenderBinPrototypeList s_renderBinPrototypeList

      Protected Methods

      -[more]virtual ~RenderBin() +[more]virtual ~RenderBin()

      @@ -149,61 +175,133 @@ RenderBin base class
      ovoid sort()

      - + +

      oenum SortMode +

      + + + +
      o SORT_BY_STATE +

      + + +

      o SORT_FRONT_TO_BACK +

      + + +

      o SORT_BACK_TO_FONT +

      + + + +
      ovoid setSortMode(SortMode mode) +

      + + +

      oSortMode getSortMode() const +

      + +

      ovirtual void sort_local()

      + + +

      ovirtual void sort_local_by_state() +

      + + +

      ovirtual void sort_local_front_to_back() +

      + + +

      ovirtual void sort_local_back_to_front() +

      + + +

      ostruct SortCallback: public osg::Referenced +

      + + + +
      ovirtual void sort(RenderBin*) = 0 +

      + + + +
      ovoid setSortLocalCallback(SortCallback* sortCallback) +

      + + +

      oSortCallback* getSortLocalCallback() +

      + + +

      oconst SortCallback* getSortLocalCallback() const +

      - +

      ovirtual void draw(osg::State& state, RenderLeaf*& previous)

      - +

      ovirtual void draw_local(osg::State& state, RenderLeaf*& previous)

      - +

      obool getStats(osg::Statistics* primStats)
      extract stats for current draw list.

      - +

      ovoid getPrims(osg::Statistics* primStats)

      - +

      obool getPrims(osg::Statistics* primStats, const int nbin)

      + + +

      ovoid copyLeavesFromRenderGraphListToRenderLeafList() +

      - +

      oint _binNum

      - +

      oRenderBin* _parent

      - +

      oRenderStage* _stage

      - +

      oRenderBinList _bins

      - +

      oRenderGraphList _renderGraphList

      - +

      oRenderLeafList _renderLeafList

      + + +

      oSortMode _sortMode +

      + + +

      oosg::ref_ptr<SortCallback> _sortLocalCallback +

      - +

      otypedef std::map< std::string, osg::ref_ptr<RenderBin> >static RenderBinPrototypeList RenderBinPrototypeList s_renderBinPrototypeList

      - +

      ovirtual ~RenderBin()


      diff --git a/doc/doc++/osgUtil/RenderStage.html b/doc/doc++/osgUtil/RenderStage.html index bd6e45448..89ea59288 100644 --- a/doc/doc++/osgUtil/RenderStage.html +++ b/doc/doc++/osgUtil/RenderStage.html @@ -141,6 +141,10 @@ oRenderGraphList _renderGraphList
      oRenderLeafList _renderLeafList +
      +oSortMode _sortMode +
      +oosg::ref_ptr<SortCallback> _sortLocalCallback

      @@ -159,17 +163,39 @@
      ovoid sort()
      +ovoid setSortMode(SortMode mode) +
      +oSortMode getSortMode() const +
      ovirtual void sort_local()
      +ovirtual void sort_local_by_state() +
      +ovirtual void sort_local_front_to_back() +
      +ovirtual void sort_local_back_to_front() +
      +ovoid setSortLocalCallback(SortCallback* sortCallback) +
      +oSortCallback* getSortLocalCallback() +
      +oconst SortCallback* getSortLocalCallback() const +
      ovirtual void draw_local(osg::State& state, RenderLeaf*& previous)
      ovoid getPrims(osg::Statistics* primStats)
      obool getPrims(osg::Statistics* primStats, const int nbin) +
      +ovoid copyLeavesFromRenderGraphListToRenderLeafList()

      Public Members

      +oenum SortMode +
      +ostruct SortCallback: public osg::Referenced +
      otypedef std::map< std::string, osg::ref_ptr<RenderBin> >static RenderBinPrototypeList RenderBinPrototypeList s_renderBinPrototypeList

      diff --git a/doc/doc++/osgUtil/RenderToTextureStage.html b/doc/doc++/osgUtil/RenderToTextureStage.html index 7324a176c..0dda5c3be 100644 --- a/doc/doc++/osgUtil/RenderToTextureStage.html +++ b/doc/doc++/osgUtil/RenderToTextureStage.html @@ -37,9 +37,9 @@
      [more]virtual void reset()
      -[more]void setTexture(osg::Texture* texture) +[more]void setTexture(osg::Texture2D* texture)
      -[more]osg::Texture* getTexture() +[more]osg::Texture2D* getTexture()
      [more]void setImage(osg::Image* image)
      @@ -50,7 +50,7 @@

      Protected Fields

      -[more]osg::ref_ptr<osg::Texture> _texture +[more]osg::ref_ptr<osg::Texture2D> _texture
      [more]osg::ref_ptr<osg::Image> _image

      @@ -150,6 +150,10 @@ oRenderGraphList _renderGraphList
      oRenderLeafList _renderLeafList +
      +oSortMode _sortMode +
      +oosg::ref_ptr<SortCallback> _sortLocalCallback

      @@ -166,17 +170,39 @@
      ovoid sort()
      +ovoid setSortMode(SortMode mode) +
      +oSortMode getSortMode() const +
      ovirtual void sort_local()
      +ovirtual void sort_local_by_state() +
      +ovirtual void sort_local_front_to_back() +
      +ovirtual void sort_local_back_to_front() +
      +ovoid setSortLocalCallback(SortCallback* sortCallback) +
      +oSortCallback* getSortLocalCallback() +
      +oconst SortCallback* getSortLocalCallback() const +
      ovirtual void draw_local(osg::State& state, RenderLeaf*& previous)
      ovoid getPrims(osg::Statistics* primStats)
      obool getPrims(osg::Statistics* primStats, const int nbin) +
      +ovoid copyLeavesFromRenderGraphListToRenderLeafList()

      Public Members

      +oenum SortMode +
      +ostruct SortCallback: public osg::Referenced +
      otypedef std::map< std::string, osg::ref_ptr<RenderBin> >static RenderBinPrototypeList RenderBinPrototypeList s_renderBinPrototypeList

      @@ -220,11 +246,11 @@ Generally used as a pre-rendering stage.

      -

      ovoid setTexture(osg::Texture* texture) +
      ovoid setTexture(osg::Texture2D* texture)

      -

      oosg::Texture* getTexture() +
      oosg::Texture2D* getTexture()

      @@ -244,7 +270,7 @@ Generally used as a pre-rendering stage.

      -

      oosg::ref_ptr<osg::Texture> _texture +
      oosg::ref_ptr<osg::Texture2D> _texture

      diff --git a/doc/doc++/osgUtil/SceneView.html b/doc/doc++/osgUtil/SceneView.html index 50f2101ed..8a58f8a9f 100644 --- a/doc/doc++/osgUtil/SceneView.html +++ b/doc/doc++/osgUtil/SceneView.html @@ -266,23 +266,21 @@

      [more]osg::ref_ptr<osg::FrameStamp> _frameStamp
      -[more]bool _need_compile +[more]osg::Vec4 _backgroundColor
      -[more]osg::Vec4 _backgroundColor +[more]CullVisitor::ComputeNearFarMode _computeNearFar
      -[more]CullVisitor::ComputeNearFarMode _computeNearFar +[more]osg::CullStack::CullingMode _cullingMode
      -[more]osg::CullStack::CullingMode _cullingMode +[more]float _LODBias
      -[more]float _LODBias +[more]float _smallFeatureCullingPixelSize
      -[more]float _smallFeatureCullingPixelSize +[more]osg::ref_ptr<osg::Viewport> _viewport
      -[more]osg::ref_ptr<osg::Viewport> _viewport +[more]LightingMode _lightingMode
      -[more]LightingMode _lightingMode -
      -[more]bool _prioritizeTextures +[more]bool _prioritizeTextures

      @@ -812,40 +810,36 @@ graphics context.
      oosg::ref_ptr<osg::FrameStamp> _frameStamp

      - - -

      obool _need_compile -

      - +

      oosg::Vec4 _backgroundColor

      - +

      oCullVisitor::ComputeNearFarMode _computeNearFar

      - +

      oosg::CullStack::CullingMode _cullingMode

      - +

      ofloat _LODBias

      - +

      ofloat _smallFeatureCullingPixelSize

      - +

      oosg::ref_ptr<osg::Viewport> _viewport

      - +

      oLightingMode _lightingMode

      - +

      obool _prioritizeTextures

      diff --git a/doc/install.html b/doc/install.html index 813a923c3..96b1cc14e 100644 --- a/doc/install.html +++ b/doc/install.html @@ -104,28 +104,30 @@ with make help to bring up help. For platform specific details:

      Compiling under Windows with Visual Studio.

      -The Microsoft Visual C++ 6.0 workspace file is VisualStudio.dsw located -in the VisualStudio below the OSG this root directory. The OSG will compile -with the basic VisualC++6.0, but, and this is a big but, the STL version -which comes with VisualC++6.0 is extremely buggy and unable to handle things -even as simple as std::mamp without crashing, even the latest service packs -(which are recommended won't fix the STL bugs). This is a problem for the -OpenSceneGraph since it makes proper use of Standard C++. One can struggle -on with the MS's and expect crashes and optimization disabled, or adopt -one of the following: + +

      The Microsoft Visual C++ 6.0 workspace file is VisualStudio.dsw located +in the VisualStudio below the OSG this root directory. VC++6.0 workspace +files can also be used in VisualStudio7.0 without problem. + +

      IMPORTANT NOTE: Whilst the OSG will compile cleanly with the basic VC++6.0 and +its own STL implementation, the OSG will crash regularily due to bugs in VC++6.0's +STL. VC++6.0's STL is horribly broken and therefore is *NOT* supported. Do not +attempt to use the OSG in conjunction with native VC++6.0 STL implemention. +

      The supported combinations are:

        -
      1. -Visual Studio .NET
      2. -Dinkumware's STL bug fix patches - http://www.dinkumware.com/vc_fixes.html.
      3. +Visual Studio7.0 .NET +
      4. +Visual Studio6.0 + Dinkumware's STL bug fix patches (see details below).
      5. -STLport - http://www.stlport.org
      6. +Visual Studio6.0 + STLport (see details below)
      -The OSG is composed of a number of scene graph libraries (with Core in +

      The OSG is composed of a number of scene graph libraries (with Core in front of the project names), executables (with Demos in front of the project -names), and plugins which read and write 3D data formats and 2D image formats. +names), and plugins which read and write 3D data formats and 2D image formats +(with osgPlugins in front of the project names). To get the OSG running you'll need at least to compile Core osg,osgUtil,osgDB,osgGLUT, osgPlugin dot_osg and Demo sgv. The rest of the libraries and executables are optional and can be compiled if you need them, however for simplicity @@ -136,6 +138,7 @@ libpng), you can ignore these compilation errors unless you need to load the related file types. To help the compilation the plugins, osgGLUT and osgText one can download .zip archive will all the dependencies in it. Further details on this .zip file can be found in dependencies.html +

      To execute the viewer the file path for the .dll's and .exe, both compiled into the OSG's bin directory, need to be setup, such as by adding the PATH to your autoexec.bat, its also useful to add the OSGFILEPATH to your autoexec.bat diff --git a/doc/plan.html b/doc/plan.html index c14257666..cf7acd93d 100644 --- a/doc/plan.html +++ b/doc/plan.html @@ -61,7 +61,7 @@ shapes and environmental effects such as stars, planets, cloud layers and ground planes.

    • -Integrate unit tests for all classes, and develop a test suite.
    • +Integrate unit tests for all classes, using the osgUtx Unit Test Framework.

      @@ -89,7 +89,8 @@ cluster graphics systems. Similar in concept to OpenGL multipipe SDK, except cross platform and with support of graphics clusters.
    • -osgSim - cross platform library for the visual simulation market with support for light points and small target anti-aliasing.
    • +osgSim - cross platform library for the visual simulation market with support for light points, +small target anti-aliasing, geometry correction and clip mapping.

      @@ -108,7 +109,7 @@ not comply with the terms of the LGPL, such as turn key systems.
    • Develop training courses.
    • -For further details on osgMP, osgLP, OSGPL licensing, professional support, +For further details on osgMP, osgSim, OSGPL licensing, professional support, training and consultancy services contact Robert Osfield at robert@openscenegraph.com or Don Burns at don@andesengineering.com. diff --git a/include/osg/StateAttribute b/include/osg/StateAttribute index 8dab1fc3f..c4d38a828 100644 --- a/include/osg/StateAttribute +++ b/include/osg/StateAttribute @@ -48,6 +48,13 @@ class StateSet; if (parameter