From f5560936a43d32901fbc17069d1551bd8ff1cb5c Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sat, 9 Feb 2002 10:54:18 +0000 Subject: [PATCH] Updated docs. --- doc/doc++/osg/AlphaFunc.html | 84 +- doc/doc++/osg/AttributeFunctor.html | 48 +- doc/doc++/osg/Billboard.html | 241 +++-- doc/doc++/osg/Camera.html | 8 +- doc/doc++/osg/ClipPlane.html | 78 +- doc/doc++/osg/ColorMask.html | 70 +- doc/doc++/osg/ColorMatrix.html | 54 +- doc/doc++/osg/CullFace.html | 70 +- doc/doc++/osg/Depth.html | 112 +- doc/doc++/osg/DisplaySettings.html | 192 ++-- doc/doc++/osg/Drawable.html | 288 ++++-- doc/doc++/osg/EarthSky.html | 62 +- doc/doc++/osg/Fog.html | 122 ++- doc/doc++/osg/FrameStamp.html | 86 +- doc/doc++/osg/FrontFace.html | 64 +- doc/doc++/osg/General.html | 63 +- doc/doc++/osg/GeoSet.html | 965 +++++++++--------- doc/doc++/osg/Geode.html | 88 +- doc/doc++/osg/Group.html | 88 +- doc/doc++/osg/HIER.html | 18 +- doc/doc++/osg/HIERjava.html | 19 +- doc/doc++/osg/Image.html | 156 +-- doc/doc++/osg/Impostor.html | 104 +- doc/doc++/osg/ImpostorSprite.html | 212 ++-- doc/doc++/osg/ImpostorSpriteManager.html | 50 +- doc/doc++/osg/LOD.html | 138 ++- doc/doc++/osg/Light.html | 182 ++-- doc/doc++/osg/LightSource.html | 58 +- doc/doc++/osg/LineSegment.html | 106 +- doc/doc++/osg/LineWidth.html | 52 +- doc/doc++/osg/META_Object.html | 2 +- doc/doc++/osg/Material.html | 238 ++--- doc/doc++/osg/Matrix.html | 315 +++--- doc/doc++/osg/MemoryAdapter.html | 20 +- doc/doc++/osg/Node.html | 276 ++--- doc/doc++/osg/NodeAcceptOp.html | 16 +- doc/doc++/osg/NodeCallback.html | 70 +- doc/doc++/osg/NodeVisitor.html | 231 +++-- doc/doc++/osg/NotifySeverity.html | 28 +- doc/doc++/osg/Object.html | 57 +- doc/doc++/osg/Plane.html | 110 +- doc/doc++/osg/Point.html | 82 +- doc/doc++/osg/PolygonMode.html | 90 +- doc/doc++/osg/PolygonOffset.html | 66 +- doc/doc++/osg/Quat.html | 146 +-- doc/doc++/osg/Referenced.html | 47 +- doc/doc++/osg/State.html | 100 +- doc/doc++/osg/StateAttribute.html | 211 ++-- doc/doc++/osg/StateSet.html | 234 ++--- doc/doc++/osg/Statistics.html | 212 ++-- doc/doc++/osg/Stencil.html | 166 +-- doc/doc++/osg/Switch.html | 66 +- doc/doc++/osg/TexEnv.html | 70 +- doc/doc++/osg/TexGen.html | 112 +- doc/doc++/osg/TexMat.html | 56 +- doc/doc++/osg/Texture.html | 336 +++--- doc/doc++/osg/Timer.html | 36 +- doc/doc++/osg/Transform.html | 253 +++-- doc/doc++/osg/Transparency.html | 96 +- doc/doc++/osg/Vec2.html | 130 ++- doc/doc++/osg/Vec3.html | 142 ++- doc/doc++/osg/Vec4.html | 146 ++- doc/doc++/osg/Viewport.html | 90 +- 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/for_each_triangle.html | 6 +- doc/doc++/osg/index.html | 29 +- doc/doc++/osg/mem_ptr.html | 96 +- doc/doc++/osg/osg.html | 140 +-- doc/doc++/osg/ref_ptr.html | 114 ++- doc/doc++/osgDB/General.html | 7 +- doc/doc++/osgDB/Output.html | 128 ++- doc/doc++/osgDB/index.html | 1 + doc/doc++/osgGLUT/General.html | 4 +- doc/doc++/osgGLUT/Viewer.html | 16 + doc/doc++/osgGLUT/Window.html | 136 ++- doc/doc++/osgGLUT/index.html | 2 +- doc/doc++/osgGLUT/osgGLUT.html | 2 +- doc/doc++/osgText/BitmapFont.html | 47 +- doc/doc++/osgText/Font.html | 140 ++- doc/doc++/osgText/OutlineFont.html | 47 +- doc/doc++/osgText/Paragraph.html | 98 +- doc/doc++/osgText/PixmapFont.html | 47 +- doc/doc++/osgText/PolygonFont.html | 53 +- doc/doc++/osgText/RasterFont.html | 40 +- doc/doc++/osgText/Text.html | 238 +++-- doc/doc++/osgText/TextureFont.html | 53 +- doc/doc++/osgText/VectorFont.html | 44 +- doc/doc++/osgText/osgText.html | 3 + doc/doc++/osgUtil/CombineLODsVisitor.html | 16 +- doc/doc++/osgUtil/CullViewState.html | 4 +- doc/doc++/osgUtil/CullVisitor.html | 182 ++-- doc/doc++/osgUtil/DepthSortedBin.html | 66 +- doc/doc++/osgUtil/DisplayListVisitor.html | 16 +- .../FlattenStaticTransformsVisitor.html | 165 ++- doc/doc++/osgUtil/GUIEventAdapter.html | 12 +- doc/doc++/osgUtil/HIER.html | 2 +- doc/doc++/osgUtil/HIERjava.html | 14 +- doc/doc++/osgUtil/Hit.html | 116 ++- doc/doc++/osgUtil/IntersectState.html | 48 +- doc/doc++/osgUtil/IntersectVisitor.html | 116 +-- doc/doc++/osgUtil/Optimizer.html | 24 +- doc/doc++/osgUtil/RegisterRenderBinProxy.html | 12 +- .../osgUtil/RemoveRedundentNodesVisitor.html | 16 +- doc/doc++/osgUtil/RenderBin.html | 104 +- doc/doc++/osgUtil/RenderGraph.html | 70 +- doc/doc++/osgUtil/RenderLeaf.html | 34 +- doc/doc++/osgUtil/RenderStage.html | 196 ++-- doc/doc++/osgUtil/RenderStageLighting.html | 88 +- doc/doc++/osgUtil/RenderToTextureStage.html | 48 +- doc/doc++/osgUtil/SceneView.html | 340 +++--- doc/doc++/osgUtil/SceneViewManipulator.html | 60 +- doc/doc++/osgUtil/SmoothingVisitor.html | 12 +- doc/doc++/osgUtil/StateSetManipulator.html | 40 +- doc/doc++/osgUtil/StateVisitor.html | 28 +- doc/doc++/osgUtil/Tesselator.html | 104 +- doc/doc++/osgUtil/TrackballManipulator.html | 28 +- doc/doc++/osgUtil/TransformCallback.html | 28 +- doc/doc++/osgUtil/TriStripVisitor.html | 12 +- doc/doc++/osgUtil/osgUtil.html | 4 +- 134 files changed, 6531 insertions(+), 5125 deletions(-) diff --git a/doc/doc++/osg/AlphaFunc.html b/doc/doc++/osg/AlphaFunc.html index 7e183602d..bc5e36537 100644 --- a/doc/doc++/osg/AlphaFunc.html +++ b/doc/doc++/osg/AlphaFunc.html @@ -25,37 +25,40 @@

Public Methods

[more] AlphaFunc()
-[more] META_StateAttribute(AlphaFunc, ALPHAFUNC) +[more] AlphaFunc(const AlphaFunc& af, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
Copy constructor using CopyOp to manage deep vs shallow copy
-[more]virtual int compare(const StateAttribute& sa) const +[more] META_StateAttribute(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 setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) 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 +[more]inline const ComparisonFunction getFunction() const
-[more]inline const float getReferenceValue() const +[more]inline const float getReferenceValue() const
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

Public Members

-[more]enum ComparisonFunction +[more]enum ComparisonFunction

Protected Fields

-[more]ComparisonFunction _comparisonFunc +[more]ComparisonFunction _comparisonFunc
-[more]float _referenceValue +[more]float _referenceValue

Protected Methods

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

@@ -63,13 +66,15 @@

Public Methods

-ovirtual Object* clone() const +ovirtual Object* cloneType() const +
+ovirtual Object* clone(const CopyOp&) const
ovirtual bool isSameKindAs(const Object* obj) const
ovirtual const char* className() const
-ovirtual const Type getType() const +ovirtual const Type getType() const
obool operator < (const StateAttribute& rhs) const
@@ -129,83 +134,88 @@
o AlphaFunc()

- + -

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

+ + +

o META_StateAttribute(AlphaFunc, ALPHAFUNC)

- +

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

- -

ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) const + +
ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) const

- +

oenum ComparisonFunction

- +
o NEVER

- +

o LESS

- +

o EQUAL

- +

o LEQUAL

- +

o GREATER

- +

o NOTEQUAL

- +

o GEQUAL

- +

o ALWAYS

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

- -

oinline const ComparisonFunction getFunction() const + +
oinline const ComparisonFunction getFunction() const

- +

oinline const float getReferenceValue() const

- +

ovirtual void apply(State& state) const

- +

ovirtual ~AlphaFunc()

- -

oComparisonFunction _comparisonFunc + +
oComparisonFunction _comparisonFunc

- +

ofloat _referenceValue

diff --git a/doc/doc++/osg/AttributeFunctor.html b/doc/doc++/osg/AttributeFunctor.html index b0752ed2f..33373f836 100644 --- a/doc/doc++/osg/AttributeFunctor.html +++ b/doc/doc++/osg/AttributeFunctor.html @@ -9,27 +9,37 @@

class AttributeFunctor


+

Inheritance:

+ + + + + + + +
+

Public Methods

-[more] AttributeFunctor(AttributeBitMask abm) +[more] AttributeFunctor(AttributeBitMask abm)
-[more]virtual ~AttributeFunctor() +[more]virtual ~AttributeFunctor()
-[more]void setAttributeBitMask(AttributeBitMask abm) +[more]void setAttributeBitMask(AttributeBitMask abm)
-[more]AttributeBitMask getAttributeBitMask() const +[more]AttributeBitMask getAttributeBitMask() const
-[more]virtual bool apply(AttributeBitMask, Vec2*, Vec2*) +[more]virtual bool apply(AttributeBitMask, Vec2*, Vec2*)
-[more]virtual bool apply(AttributeBitMask, Vec3*, Vec3*) +[more]virtual bool apply(AttributeBitMask, Vec3*, Vec3*)
-[more]virtual bool apply(AttributeBitMask, Vec4*, Vec4*) +[more]virtual bool apply(AttributeBitMask, Vec4*, Vec4*)

Protected Fields

-[more]AttributeBitMask _abm +[more]AttributeBitMask _abm

@@ -40,39 +50,41 @@
- +
o AttributeFunctor(AttributeBitMask abm)

- +

ovirtual ~AttributeFunctor()

- +

ovoid setAttributeBitMask(AttributeBitMask abm)

- +

oAttributeBitMask getAttributeBitMask() const

- +

ovirtual bool apply(AttributeBitMask, Vec2*, Vec2*)

- +

ovirtual bool apply(AttributeBitMask, Vec3*, Vec3*)

- +

ovirtual bool apply(AttributeBitMask, Vec4*, Vec4*)

- +

oAttributeBitMask _abm

- -
This class has no child classes.
+
+
Direct child classes: +
Statistics
+

Alphabetic index HTML hierarchy of classes or Java



diff --git a/doc/doc++/osg/Billboard.html b/doc/doc++/osg/Billboard.html index edcee50b4..e05275df6 100644 --- a/doc/doc++/osg/Billboard.html +++ b/doc/doc++/osg/Billboard.html @@ -25,68 +25,94 @@

Public Methods

[more] Billboard()
-[more] META_Node(Billboard) +[more] Billboard(const Billboard&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
Copy constructor using CopyOp to manage deep vs shallow copy
-[more]inline void setAxis(const Vec3& axis) -
Set the axis about which all the billboard's drawable rotate. +[more] META_Node(Billboard)
-[more]inline const Vec3& getAxis() const -
Get the axis about which all the billboard's drawable rotate. -
-[more]inline void setMode(const Mode mode) +[more]void setMode(const Mode mode)
Set the billboard rotation mode.
-[more]inline const Mode getMode() const +[more]inline const Mode getMode() const
Get the billboard rotation mode.
-[more]inline void setPos(int i, const Vec3& pos) +[more]void setAxis(const Vec3& axis) +
Set the axis about which all the billboard's drawable rotate. +
+[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)
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 calcRotation(const Vec3& eye_local, const Vec3& pos_local, Matrix& mat) const +[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]void calcTransform(const Vec3& eye_local, const Vec3& pos_local, Matrix& mat) const +[more]ComputeBillboardCallback* getComputeBillboardCallback() +
Get the non const ComputeBillboardCallback +
+[more]const ComputeBillboardCallback* getComputeBillboardCallback() const +
Get the const ComputeBillboardCallback +
+[more]inline const bool getMatrix(Matrix& matrix, const Vec3& eye_local, const Vec3& up_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]PositionList _positionList +
+[more]ref_ptr<ComputeBillboardCallback> _computeBillboardCallback +
+[more]int _cachedMode

Protected Methods

-[more]virtual ~Billboard() +[more]virtual ~Billboard()
-[more]virtual const bool computeBound() const +[more]virtual const bool computeBound() const +
+[more]virtual const bool computeMatrix(Matrix& matrix, const Vec3& eye_local, const Vec3& up_local, const Vec3& pos_local) const +
+[more]void setCachedMode() +

+ +

+

Protected Members

+[more]enum AxisAligned

@@ -121,7 +147,9 @@

Public Methods

-ovirtual Object* clone() const +ovirtual Object* cloneType() const +
+ovirtual Object* clone(const CopyOp& copyop) const
ovirtual bool isSameKindAs(const Object* obj) const
@@ -139,7 +167,9 @@
oinline const std::string& getName() const
-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const +
+oinline ParentList getParents()
oinline Group* getParent(const int i)
@@ -171,9 +201,9 @@
oinline const NodeMask getNodeMask() const
-oinline const DescriptionList& getDescriptions() const +oinline const DescriptionList& getDescriptions() const
-oinline DescriptionList& getDescriptions() +oinline DescriptionList& getDescriptions()
oinline const std::string& getDescription(const int i) const
@@ -209,7 +239,7 @@
ostd::string _name
-oParentList _parents +oParentList _parents
oref_ptr<NodeCallback> _appCallback
@@ -223,13 +253,17 @@
oNodeMask _nodeMask
-oDescriptionList _descriptions +oDescriptionList _descriptions
oref_ptr<StateSet> _dstate

Protected Methods

+ovoid addParent(osg::Group* node) +
+ovoid removeParent(osg::Group* node) +
ovoid setNumChildrenRequiringAppTraversal(const int num)
ovoid setNumChildrenWithCullingDisabled(const int num) @@ -271,74 +305,79 @@ the eye point. Typical uses are for trees, or particle explosions.
oenum Mode

- - -
o AXIAL_ROT -

- +

o POINT_ROT_EYE

- +

o POINT_ROT_WORLD +

+ + +

o AXIAL_ROT

o Billboard()

- + +

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

+ +

o META_Node(Billboard)

- - -

oinline void setAxis(const Vec3& axis) -
Set the axis about which all the billboard's drawable rotate. -

- - -

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

- -

oinline void setMode(const Mode mode) + +
ovoid setMode(const Mode mode)
Set the billboard rotation mode.

- +

oinline const Mode getMode() const
Get the billboard rotation mode.

- + + +

ovoid setAxis(const Vec3& axis) +
Set the axis about which all the billboard's drawable rotate. +

+ +

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

+ +

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 @@ -346,7 +385,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 @@ -354,7 +393,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 @@ -363,38 +402,96 @@ 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.

- - -

ovoid calcRotation(const Vec3& eye_local, const Vec3& pos_local, Matrix& mat) const -

- + -

ovoid calcTransform(const Vec3& eye_local, const Vec3& pos_local, Matrix& mat) const +
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(const Matrix& matrix, const Billboard* billboard, const Vec3& eye_local, const Vec3& up_local, const Vec3& pos_local) const +
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& matrix, const Vec3& eye_local, const Vec3& up_local, const Vec3& pos_local) const

- +

ovirtual ~Billboard()

- +

ovirtual const bool computeBound() const

+ + +

ovirtual const bool computeMatrix(Matrix& matrix, const Vec3& eye_local, const Vec3& up_local, const Vec3& pos_local) const +

+ + +

oenum AxisAligned +

+ + + +
o AXIAL_ROT_X_AXIS +

+ + +

o AXIAL_ROT_Y_AXIS +

+ + +

o AXIAL_ROT_Z_AXIS +

+ - +
oMode _mode

- +

oVec3 _axis

- -

oPositionList _positionList + +
oPositionList _positionList +

+ + +

oref_ptr<ComputeBillboardCallback> _computeBillboardCallback +

+ + +

oint _cachedMode +

+ + +

ovoid setCachedMode()


This class has no child classes.
-

Alphabetic index HTML hierarchy of classes or Java


+
Friends:
struct osg::Billboard::ComputeBillboardCallback

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++. diff --git a/doc/doc++/osg/Camera.html b/doc/doc++/osg/Camera.html index 7c82477f6..a690e5385 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) @@ -373,7 +373,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.

@@ -402,6 +402,10 @@ changes in windows aspect ratio,

o ADJUST_HORIZONTAL +

+ + +

o ADJUST_NONE

diff --git a/doc/doc++/osg/ClipPlane.html b/doc/doc++/osg/ClipPlane.html index e2b771cda..f5105f006 100644 --- a/doc/doc++/osg/ClipPlane.html +++ b/doc/doc++/osg/ClipPlane.html @@ -25,51 +25,54 @@

Public Methods

[more] ClipPlane()
-[more] META_StateAttribute(ClipPlane, (Type)(CLIPPLANE+_clipPlaneNum)) +[more] ClipPlane(const ClipPlane& cp, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
Copy constructor using CopyOp to manage deep vs shallow copy
-[more]virtual int compare(const StateAttribute& sa) const +[more] META_StateAttribute(ClipPlane, (Type)(CLIPPLANE+_clipPlaneNum)) +
+[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) 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 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()

@@ -77,13 +80,15 @@

Public Methods

-ovirtual Object* clone() const +ovirtual Object* cloneType() const +
+ovirtual Object* clone(const CopyOp&) const
ovirtual bool isSameKindAs(const Object* obj) const
ovirtual const char* className() const
-ovirtual const Type getType() const +ovirtual const Type getType() const
obool operator < (const StateAttribute& rhs) const
@@ -143,74 +148,79 @@
o ClipPlane()

- + -

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

+ + +

o META_StateAttribute(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 setStateSetModes(StateSet& ds, const GLModeValue value) const + +
ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) 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 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/ColorMask.html b/doc/doc++/osg/ColorMask.html index df105f820..156b32cb3 100644 --- a/doc/doc++/osg/ColorMask.html +++ b/doc/doc++/osg/ColorMask.html @@ -25,38 +25,41 @@

Public Methods

[more] ColorMask()
-[more] META_StateAttribute(ColorMask, COLORMASK) +[more] ColorMask(const ColorMask& cm, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
Copy constructor using CopyOp to manage deep vs shallow copy
-[more]virtual int compare(const StateAttribute& sa) const +[more] META_StateAttribute(ColorMask, COLORMASK) +
+[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()

@@ -64,13 +67,15 @@

Public Methods

-ovirtual Object* clone() const +ovirtual Object* cloneType() const +
+ovirtual Object* clone(const CopyOp&) const
ovirtual bool isSameKindAs(const Object* obj) const
ovirtual const char* className() const
-ovirtual const Type getType() const +ovirtual const Type getType() const
obool operator < (const StateAttribute& rhs) const
@@ -78,7 +83,7 @@
obool operator != (const StateAttribute& rhs) const
-ovirtual void setStateSetModes(StateSet&, const GLModeValue) const +ovirtual void setStateSetModes(StateSet&, const GLModeValue) const
ovirtual void compile(State&) const

@@ -132,57 +137,62 @@
o ColorMask()

- + -

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

+ + +

o META_StateAttribute(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 584e70d47..2752946c2 100644 --- a/doc/doc++/osg/ColorMatrix.html +++ b/doc/doc++/osg/ColorMatrix.html @@ -23,34 +23,37 @@

Public Methods

-[more] ColorMatrix( void ) +[more] ColorMatrix()
-[more] META_StateAttribute(ColorMatrix, COLORMATRIX) +[more] ColorMatrix(const ColorMatrix& cm, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
Copy constructor using CopyOp to manage deep vs shallow copy
-[more]virtual int compare(const StateAttribute& sa) const +[more] META_StateAttribute(ColorMatrix, COLORMATRIX) +
+[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 )

@@ -58,13 +61,15 @@

Public Methods

-ovirtual Object* clone() const +ovirtual Object* cloneType() const +
+ovirtual Object* clone(const CopyOp&) const
ovirtual bool isSameKindAs(const Object* obj) const
ovirtual const char* className() const
-ovirtual const Type getType() const +ovirtual const Type getType() const
obool operator < (const StateAttribute& rhs) const
@@ -72,7 +77,7 @@
obool operator != (const StateAttribute& rhs) const
-ovirtual void setStateSetModes(StateSet&, const GLModeValue) const +ovirtual void setStateSetModes(StateSet&, const GLModeValue) const
ovirtual void compile(State&) const

@@ -124,43 +129,48 @@ -
o ColorMatrix( void ) +
o ColorMatrix() +

+ + +

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

- -

o META_StateAttribute(ColorMatrix, COLORMATRIX) + +
o META_StateAttribute(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/CullFace.html b/doc/doc++/osg/CullFace.html index 8a683b4da..dc6d1ca0d 100644 --- a/doc/doc++/osg/CullFace.html +++ b/doc/doc++/osg/CullFace.html @@ -23,35 +23,38 @@

Public Methods

-[more] CullFace() +[more] CullFace()
-[more] META_StateAttribute(CullFace, CULLFACE) +[more] CullFace(const CullFace& cf, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
Copy constructor using CopyOp to manage deep vs shallow copy
-[more]virtual int compare(const StateAttribute& sa) const +[more] META_StateAttribute(CullFace, CULLFACE) +
+[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) 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()

@@ -59,13 +62,15 @@

Public Methods

-ovirtual Object* clone() const +ovirtual Object* cloneType() const +
+ovirtual Object* clone(const CopyOp&) const
ovirtual bool isSameKindAs(const Object* obj) const
ovirtual const char* className() const
-ovirtual const Type getType() const +ovirtual const Type getType() const
obool operator < (const StateAttribute& rhs) const
@@ -122,59 +127,64 @@
- +
o CullFace()

+ + +

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

- -

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

- +

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

- -

ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) const + +
ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) 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/Depth.html b/doc/doc++/osg/Depth.html index fb117c901..e6681bdf6 100644 --- a/doc/doc++/osg/Depth.html +++ b/doc/doc++/osg/Depth.html @@ -23,51 +23,54 @@

Public Methods

-[more] Depth() +[more] Depth()
-[more] META_StateAttribute(Depth, DEPTH) +[more] Depth(const Depth& dp, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
Copy constructor using CopyOp to manage deep vs shallow copy
-[more]virtual int compare(const StateAttribute& sa) const +[more] META_StateAttribute(Depth, DEPTH) +
+[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) 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()

@@ -75,13 +78,15 @@

Public Methods

-ovirtual Object* clone() const +ovirtual Object* cloneType() const +
+ovirtual Object* clone(const CopyOp&) const
ovirtual bool isSameKindAs(const Object* obj) const
ovirtual const char* className() const
-ovirtual const Type getType() const +ovirtual const Type getType() const
obool operator < (const StateAttribute& rhs) const
@@ -138,110 +143,115 @@
- +
o Depth()

+ + +

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

- -

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

- +

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

- -

ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) const + +
ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) 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 9cb2a321a..420dc3167 100644 --- a/doc/doc++/osg/DisplaySettings.html +++ b/doc/doc++/osg/DisplaySettings.html @@ -23,101 +23,101 @@

Public Methods

-[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 setEyeSeperation(const float eyeSeperation)
-[more]const float getEyeSeperation() const +[more]const float getEyeSeperation() 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 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

Public Members

-[more]enum StereoMode +[more]enum StereoMode

Protected Fields

-[more]bool _stereo +[more]bool _stereo
-[more]StereoMode _stereoMode +[more]StereoMode _stereoMode
-[more]float _eyeSeperation +[more]float _eyeSeperation
-[more]float _screenDistance +[more]float _screenDistance
-[more]float _screenHeight +[more]float _screenHeight
-[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

Protected Methods

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

@@ -147,194 +147,194 @@ have been set up, and the status of stereo viewing
- +
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)

- +

oconst float getEyeSeperation() const

- -

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

- +

oconst float getScreenDistance() 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 copy(const DisplaySettings& vs)

- +

obool _stereo

- -

oStereoMode _stereoMode + +
oStereoMode _stereoMode

- +

ofloat _eyeSeperation

- +

ofloat _screenDistance

- +

ofloat _screenHeight

- +

obool _doubleBuffer

- +

obool _RGB

- +

obool _depthBuffer

- +

ounsigned int _minimumNumberAlphaBits

- +

ounsigned int _minimumNumberStencilBits

diff --git a/doc/doc++/osg/Drawable.html b/doc/doc++/osg/Drawable.html index 0e8b2da45..4e8202690 100644 --- a/doc/doc++/osg/Drawable.html +++ b/doc/doc++/osg/Drawable.html @@ -23,104 +23,143 @@

Public Methods

-[more] Drawable() +[more] Drawable()
-[more]virtual bool isSameKindAs(const Object* obj) const +[more] Drawable(const Drawable& drawable, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
Copy constructor using CopyOp to manage deep vs shallow copy
-[more]virtual const char* className() const +[more]virtual bool isSameKindAs(const Object* obj) const
-[more]inline void setStateSet(StateSet* state) +[more]virtual const char* className() const +
+[more]inline const ParentList& getParents() const +
Get the parent list of drawable. +
+[more]inline ParentList getParents() +
Get the a copy of parent list of node. +
+[more]inline Node* getParent(const int i) +
Get a single parent of Drawable. +
+[more]inline const Node* getParent(const int i) const +
Get a single const parent of Drawable. +
+[more]inline const int getNumParents() const +
Get the number of parents of node. +
+[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]inline 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]virtual void drawImmediateMode(State& state) = 0 +[more]void setDrawCallback(DrawCallback* dc) +
Set the DrawCallback which allows users to attach customize the drawing of existing Drawable object +
+[more]DrawCallback* getDrawCallback() +
Get the non const ComputerTransfromCallback +
+[more]const DrawCallback* getDrawCallback() const +
Get the const ComputerTransfromCallback +
+[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 bool getStats(Statistics&) +[more]virtual bool getStats(Statistics&)
Collect Stistics count from Drawable
-[more]virtual AttributeBitMask suppportsAttributeOperation() const +[more]virtual AttributeBitMask suppportsAttributeOperation() const
return the attributes supported by applyAttrbuteOperation() as an AttributeBitMask
-[more]virtual AttributeBitMask applyAttributeOperation(AttributeFunctor&) +[more]virtual AttributeBitMask applyAttributeOperation(AttributeFunctor&)
return the attributes successully applied in applyAttributeUpdate
-[more]inline void draw(State& state) +[more]inline void draw(State& state)
draw OpenGL primitives.

Public Members

-[more]typedef uint AttributeBitMaskenum AttributeBitMaskValues +[more]typedef std::vector<Node*> ParentList +
A vector of osg::Node pointers which is used to store the parent(s) of drawable +
+[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]typedef uint AttributeBitMaskenum AttributeBitMaskValues
class AttributeFunctor

Protected Fields

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

Protected Methods

-[more] Drawable(const Drawable&) +[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 = 0
compute the bounding box of the drawable. +
+[more]void addParent(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

@@ -128,7 +167,9 @@ class AttributeFunctor

Public Methods

-ovirtual Object* clone() const +ovirtual Object* cloneType() const +
+ovirtual Object* clone(const CopyOp&) const

@@ -174,36 +215,78 @@ quads are in the display list).
- +
o Drawable()

+ + +

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* 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 +
Get the parent list of drawable. +

+ + +

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 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 int i) const +
Get a single const parent of Drawable. + +
Parameters:
i - index of the parent to get. +
Returns:
the parent i.

+ + +

oinline const 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, @@ -214,57 +297,88 @@ 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

- -

oinline void dirtyBound() + +
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 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 +the user intends to decorate the exist draw code then simple call the drawable->drawImmediateMode() from +with the callbacks drawImmediateMode() method. This allows the users to do both pre and post callbacks +without fuss and can even diable the inner draw in required. +

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

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

+ + +

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

+ + +

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

+ +

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 @@ -272,112 +386,124 @@ 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

- +

ovirtual bool getStats(Statistics&)
Collect Stistics count from Drawable

- +

otypedef uint AttributeBitMaskenum AttributeBitMaskValues

- +
o COORDS

- +

o NORMALS

- +

o COLORS

- +

o TEXTURE_COORDS

- +

o TEXTURE_COORDS_0

- +

o TEXTURE_COORDS_1

- +

o TEXTURE_COORDS_2

- +

o TEXTURE_COORDS_3

- +
ovirtual AttributeBitMask suppportsAttributeOperation() const
return the attributes supported by applyAttrbuteOperation() as an AttributeBitMask

- +

ovirtual AttributeBitMask applyAttributeOperation(AttributeFunctor&)
return the attributes successully applied in applyAttributeUpdate

- - -

o Drawable(const Drawable&) -

- +

oDrawable& operator = (const Drawable&)

- +

ovirtual ~Drawable()

- +

ovirtual const bool computeBound() const = 0
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 +

- +

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<DrawCallback> _drawCallback +

- +

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 @@ -392,7 +518,7 @@ manages the optional display list. GeoSet
-

Alphabetic index HTML hierarchy of classes or Java


+
Friends:
struct osg::Drawable::DrawCallback
class Node
class Geode

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++. diff --git a/doc/doc++/osg/EarthSky.html b/doc/doc++/osg/EarthSky.html index a5c255245..527821b6a 100644 --- a/doc/doc++/osg/EarthSky.html +++ b/doc/doc++/osg/EarthSky.html @@ -23,33 +23,35 @@

Public Methods

-[more] EarthSky() +[more] EarthSky()
-[more] META_Node(EarthSky) +[more] EarthSky(const EarthSky& es, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more]inline void setRequiresClear(const bool requiresClear) +[more] META_Node(EarthSky) +
+[more]inline void setRequiresClear(const bool requiresClear)
Sets the flag which control whether a glClear is required at the beginning of each frame.
-[more]inline const bool getRequiresClear() const +[more]inline const bool getRequiresClear() const
Gets the flag which control whether a glClear is required at the beginning of each frame.
-[more]inline void setClearColor(const Vec4& color) +[more]inline void setClearColor(const Vec4& color)
Sets the clear color.
-[more]inline const Vec4& getClearColor() const +[more]inline const Vec4& getClearColor() const
Returns the clear color.

Protected Fields

-[more]bool _requiresClear +[more]bool _requiresClear
-[more]Vec4 _clearColor +[more]Vec4 _clearColor

Protected Methods

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

@@ -93,7 +95,9 @@

Public Methods

-ovirtual Object* clone() const +ovirtual Object* cloneType() const +
+ovirtual Object* clone(const CopyOp& copyop) const
ovirtual bool isSameKindAs(const Object* obj) const
@@ -109,7 +113,9 @@
oinline const std::string& getName() const
-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const +
+oinline ParentList getParents()
oinline Group* getParent(const int i)
@@ -141,9 +147,9 @@
oinline const NodeMask getNodeMask() const
-oinline const DescriptionList& getDescriptions() const +oinline const DescriptionList& getDescriptions() const
-oinline DescriptionList& getDescriptions() +oinline DescriptionList& getDescriptions()
oinline const std::string& getDescription(const int i) const
@@ -179,7 +185,7 @@
ostd::string _name
-oParentList _parents +oParentList _parents
oref_ptr<NodeCallback> _appCallback
@@ -193,13 +199,17 @@
oNodeMask _nodeMask
-oDescriptionList _descriptions +oDescriptionList _descriptions
oref_ptr<StateSet> _dstate

Protected Methods

+ovoid addParent(osg::Group* node) +
+ovoid removeParent(osg::Group* node) +
ovoid setNumChildrenRequiringAppTraversal(const int num)
ovoid setNumChildrenWithCullingDisabled(const int num) @@ -244,43 +254,47 @@ are rendered prior to standard opaque and transparent drawables.
- +
o EarthSky()

+ + +

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

- +

o META_Node(EarthSky)

- +

oinline void setRequiresClear(const bool requiresClear)
Sets the flag which control whether a glClear is required at the beginning of each frame.

- +

oinline const bool getRequiresClear() const
Gets the flag which control whether a glClear is required at the beginning of each frame.

- +

oinline void setClearColor(const Vec4& color)
Sets the clear color.

- +

oinline const Vec4& getClearColor() const
Returns the clear color.

- +

ovirtual ~EarthSky()

- +

obool _requiresClear

- +

oVec4 _clearColor

diff --git a/doc/doc++/osg/Fog.html b/doc/doc++/osg/Fog.html index 1fa3bdbbc..be9a543fc 100644 --- a/doc/doc++/osg/Fog.html +++ b/doc/doc++/osg/Fog.html @@ -23,59 +23,62 @@

Public Methods

-[more] Fog() +[more] Fog()
-[more] META_StateAttribute(Fog, FOG) +[more] Fog(const Fog& fog, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
Copy constructor using CopyOp to manage deep vs shallow copy
-[more]virtual int compare(const StateAttribute& sa) const +[more] META_StateAttribute(Fog, FOG) +
+[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) 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]virtual void apply(State& state) const

Public Members

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

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

Protected Methods

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

@@ -83,13 +86,15 @@

Public Methods

-ovirtual Object* clone() const +ovirtual Object* cloneType() const +
+ovirtual Object* clone(const CopyOp&) const
ovirtual bool isSameKindAs(const Object* obj) const
ovirtual const char* className() const
-ovirtual const Type getType() const +ovirtual const Type getType() const
obool operator < (const StateAttribute& rhs) const
@@ -146,106 +151,111 @@
- +
o Fog()

+ + +

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

- -

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

- +

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

- -

ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) const + +
ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) 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

- +

ovirtual void apply(State& state) const

- +

ovirtual ~Fog()

- -

oMode _mode + +
oMode _mode

- +

ofloat _density

- +

ofloat _start

- +

ofloat _end

- +

oVec4 _color

diff --git a/doc/doc++/osg/FrameStamp.html b/doc/doc++/osg/FrameStamp.html index 764aa7269..d203b7f0b 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 setCalanderTime(const tm& calanderTime) +[more]void setCalanderTime(const tm& calanderTime)
-[more]void getCalanderTime(tm& calanderTime) const +[more]void getCalanderTime(tm& calanderTime) 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

@@ -99,87 +99,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 setCalanderTime(const tm& calanderTime)

- +

ovoid getCalanderTime(tm& calanderTime) 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 2ca9568e8..dfe8d466f 100644 --- a/doc/doc++/osg/FrontFace.html +++ b/doc/doc++/osg/FrontFace.html @@ -23,33 +23,36 @@

Public Methods

-[more] FrontFace() +[more] FrontFace()
-[more] META_StateAttribute(FrontFace, FRONTFACE) +[more] FrontFace(const FrontFace& ff, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
Copy constructor using CopyOp to manage deep vs shallow copy
-[more]virtual int compare(const StateAttribute& sa) const +[more] META_StateAttribute(FrontFace, FRONTFACE) +
+[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()

@@ -57,13 +60,15 @@

Public Methods

-ovirtual Object* clone() const +ovirtual Object* cloneType() const +
+ovirtual Object* clone(const CopyOp&) const
ovirtual bool isSameKindAs(const Object* obj) const
ovirtual const char* className() const
-ovirtual const Type getType() const +ovirtual const Type getType() const
obool operator < (const StateAttribute& rhs) const
@@ -71,7 +76,7 @@
obool operator != (const StateAttribute& rhs) const
-ovirtual void setStateSetModes(StateSet&, const GLModeValue) const +ovirtual void setStateSetModes(StateSet&, const GLModeValue) const
ovirtual void compile(State&) const

@@ -122,51 +127,56 @@
- +
o FrontFace()

+ + +

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

- -

o META_StateAttribute(FrontFace, FRONTFACE) + +
o META_StateAttribute(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 b9743f3c5..55edf23f7 100644 --- a/doc/doc++/osg/General.html +++ b/doc/doc++/osg/General.html @@ -40,6 +40,9 @@ o#define OSG_COLORMATRIX
+o#define +OSG_COPYOP
+ o#define OSG_CULLFACE
@@ -112,6 +115,9 @@ o#define WINGDIAPI(dllimport)
+o#define +_WCHAR_T_DEFINED
+ o#define OSG_GLEXTENSIONS
@@ -151,45 +157,6 @@ o#define __OSG_MATH
-o#define -M_E
- -o#define -M_LOG2E
- -o#define -M_LOG10E
- -o#define -M_LN2
- -o#define -M_LN10
- -o#define -M_PI
- -o#define -M_PI_2
- -o#define -M_PI_4
- -o#define -M_1_PI
- -o#define -M_2_PI
- -o#define -M_2_SQRTPI
- -o#define -M_SQRT2
- -o#define -M_SQRT1_2
- o#define acosf(float)
@@ -214,6 +181,9 @@ o#define sqrtf(float)
+o#define +fabs(float)
+ o#define OSG_MATRIX
@@ -226,9 +196,6 @@ o#define OSG_NODE
-o#define -OSG_NODECALLBACK
- o#define OSG_NODEVISITOR
@@ -250,6 +217,9 @@ o#define OSG_POLYGONOFFSET
+o#define +OSG_POSITIONATTITIDETRANSFORM
+ o#define OSG_QUAT
@@ -259,6 +229,9 @@ o#define OSG_REF_PTR
+o#define +OSG_SHADEMODEL
+ o#define OSG_STATE
@@ -355,6 +328,9 @@ opragmaoptimize("", on) (x)(".byte 0x0f, 0x31" : "=A" (x))
+odefineCLK +(x)(".byte 0x0f, 0x31" : "=A" (x))
+ o#define OSG_TRANSFORM
@@ -364,9 +340,6 @@ o#define OSG_TYPES
-otypedef uchar -ubyte
- o#define OSG_VEC2
diff --git a/doc/doc++/osg/GeoSet.html b/doc/doc++/osg/GeoSet.html index 23cb86820..1905e9015 100644 --- a/doc/doc++/osg/GeoSet.html +++ b/doc/doc++/osg/GeoSet.html @@ -7,7 +7,7 @@ -

class SG_EXPORT osg::GeoSet

Encapsulates OpenGL drawing primitives, geometry and optional binding of normal, color and texture coordinates.Encapsulates OpenGL drawing primitives, geometry and optional binding of normal, color and texture coordinates.Encapsulates OpenGL drawing primitives, geometry and optional binding of normal, color and texture coordinates.
+

class SG_EXPORT osg::GeoSet

Encapsulates OpenGL drawing primitives, geometry and optional binding of normal, color and texture coordinates.

Inheritance:

@@ -23,307 +23,310 @@

Public Methods

-[more] GeoSet() +[more] GeoSet()
-[more]virtual Object* clone() const +[more] GeoSet(const GeoSet& geoset, 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 Object* cloneType() const
-[more]virtual const char* className() const +[more]virtual Object* clone(const CopyOp& copyop) const
-[more]inline void setNumPrims( const int n ) +[more]virtual bool isSameKindAs(const Object* obj) const
-[more]inline const int getNumPrims() const +[more]virtual const char* className() const
-[more]void setPrimType( const PrimitiveType type ) +[more]inline void setNumPrims( const int n )
-[more]inline const PrimitiveType getPrimType() const +[more]inline const int getNumPrims() const
-[more]inline void setPrimLengths( int* lens ) +[more]void setPrimType( const PrimitiveType type )
-[more]inline int* getPrimLengths() +[more]inline const PrimitiveType getPrimType() const
-[more]inline const int* getPrimLengths() const +[more]inline void setPrimLengths( int* lens )
-[more]void computeNumVerts() const +[more]inline int* getPrimLengths()
-[more]inline const int getNumCoords() const -
get the number of coords required by the defined primitives.get the number of coords required by the defined primitives.get the number of coords required by the defined primitives. +[more]inline const int* getPrimLengths() const
-[more]inline Vec3* getCoords() -
get a pointer to Vec3 coord array.get a pointer to Vec3 coord array.get a pointer to Vec3 coord array. +[more]void computeNumVerts() const
-[more]inline const Vec3* getCoords() const -
get a const pointer to Vec3 coord array.get a const pointer to Vec3 coord array.get a const pointer to Vec3 coord array. +[more]inline const int getNumCoords() const +
get the number of coords required by the defined primitives.
-[more]inline const int getNumCoordIndices() const -
get the number of indices required by the defined primitives.get the number of indices required by the defined primitives.get the number of indices required by the defined primitives. +[more]inline Vec3* getCoords() +
get a pointer to Vec3 coord array.
-[more]inline IndexPointer& getCoordIndices() -
get the coord index array.get the coord index array.get the coord index array. +[more]inline const Vec3* getCoords() const +
get a const pointer to Vec3 coord array.
-[more]inline const IndexPointer& getCoordIndices() const -
get the const coord index array.get the const coord index array.get the const coord index array. +[more]inline const int getNumCoordIndices() const +
get the number of indices required by the defined primitives.
-[more]void setCoords( Vec3* cp ) -
set the coords (ie the geometry) of the geosetset the coords (ie the geometry) of the geosetset the coords (ie the geometry) of the geoset +[more]inline IndexPointer& getCoordIndices() +
get the coord index array.
-[more]void setCoords( Vec3* cp, ushort* ci ) -
set the coords (ie the geometry) and ushort indices of the geoset.set the coords (ie the geometry) and ushort indices of the geoset.set the coords (ie the geometry) and ushort indices of the geoset. +[more]inline const IndexPointer& getCoordIndices() const +
get the const coord index array.
-[more]void setCoords( Vec3* cp, uint* ci ) -
set the coords (ie the geometry) and uint indices of the geoset.set the coords (ie the geometry) and uint indices of the geoset.set the coords (ie the geometry) and uint indices of the geoset. +[more]void setCoords( Vec3* cp ) +
set the coords (ie the geometry) of the geoset
-[more]void setCoords( Vec3* cp, IndexPointer& ip ) -
set the coords (ie the geometry) and indices of the geosetset the coords (ie the geometry) and indices of the geosetset the coords (ie the geometry) and indices of the geoset +[more]void setCoords( Vec3* cp, ushort* ci ) +
set the coords (ie the geometry) and ushort indices of the geoset.
-[more]inline const int getNumNormals() const -
get the number of normals required by the defined primitives and normals bindingget the number of normals required by the defined primitives and normals bindingget the number of normals required by the defined primitives and normals binding +[more]void setCoords( Vec3* cp, uint* ci ) +
set the coords (ie the geometry) and uint indices of the geoset.
-[more]inline Vec3* getNormals() -
get a pointer to Vec3 normal array.get a pointer to Vec3 normal array.get a pointer to Vec3 normal array. +[more]void setCoords( Vec3* cp, IndexPointer& ip ) +
set the coords (ie the geometry) and indices of the geoset
-[more]inline const Vec3* getNormals() const -
get a const pointer to Vec3 normal array.get a const pointer to Vec3 normal array.get a const pointer to Vec3 normal array. +[more]inline const int getNumNormals() const +
get the number of normals required by the defined primitives and normals binding
-[more]inline int getNumNormalIndices() const -
get the number of normal indices required by the defined primitives and normals bindingget the number of normal indices required by the defined primitives and normals bindingget the number of normal indices required by the defined primitives and normals binding +[more]inline Vec3* getNormals() +
get a pointer to Vec3 normal array.
-[more]inline IndexPointer& getNormalIndices() -
get the normal index array.get the normal index array.get the normal index array. +[more]inline const Vec3* getNormals() const +
get a const pointer to Vec3 normal array.
-[more]inline const IndexPointer& getNormalIndices() const -
get the const normal index array.get the const normal index array.get the const normal index array. +[more]inline int getNumNormalIndices() const +
get the number of normal indices required by the defined primitives and normals binding
-[more]void setNormals( Vec3* np ) -
set the normals of the geosetset the normals of the geosetset the normals of the geoset +[more]inline IndexPointer& getNormalIndices() +
get the normal index array.
-[more]void setNormals( Vec3* np, ushort* ni ) -
set the normals and normal indices of the geosetset the normals and normal indices of the geosetset the normals and normal indices of the geoset +[more]inline const IndexPointer& getNormalIndices() const +
get the const normal index array.
-[more]void setNormals( Vec3* np, uint* ni ) -
set the normals and normal indices of the geosetset the normals and normal indices of the geosetset the normals and normal indices of the geoset +[more]void setNormals( Vec3* np ) +
set the normals of the geoset
-[more]void setNormals( Vec3* np, IndexPointer& ip ) -
set the normals and normal indices of the geosetset the normals and normal indices of the geosetset the normals and normal indices of the geoset +[more]void setNormals( Vec3* np, ushort* ni ) +
set the normals and normal indices of the geoset
-[more]void setNormalBinding( const BindingType binding ) -
set the normals binding to the vertices/primitives/overallset the normals binding to the vertices/primitives/overallset the normals binding to the vertices/primitives/overall +[more]void setNormals( Vec3* np, uint* ni ) +
set the normals and normal indices of the geoset
-[more]inline const BindingType getNormalBinding() const +[more]void setNormals( Vec3* np, IndexPointer& ip ) +
set the normals and normal indices of the geoset
-[more]inline const int getNumColors() const -
get the number of colors required by the defined primitives and color bindingget the number of colors required by the defined primitives and color bindingget the number of colors required by the defined primitives and color binding +[more]void setNormalBinding( const BindingType binding ) +
set the normals binding to the vertices/primitives/overall
-[more]inline Vec4* getColors() -
get a pointer to Vec4 color array.get a pointer to Vec4 color array.get a pointer to Vec4 color array. +[more]inline const BindingType getNormalBinding() const
-[more]inline const Vec4* getColors() const -
get a pointer to Vec4 color array.get a pointer to Vec4 color array.get a pointer to Vec4 color array. +[more]inline const int getNumColors() const +
get the number of colors required by the defined primitives and color binding
-[more]inline int getNumColorIndices() const -
get the number of colors indices required by the defined primitives and color bindingget the number of colors indices required by the defined primitives and color bindingget the number of colors indices required by the defined primitives and color binding +[more]inline Vec4* getColors() +
get a pointer to Vec4 color array.
-[more]inline IndexPointer& getColorIndices() -
get the color index array.get the color index array.get the color index array. +[more]inline const Vec4* getColors() const +
get a pointer to Vec4 color array.
-[more]inline const IndexPointer& getColorIndices() const -
get the const color index array.get the const color index array.get the const color index array. +[more]inline int getNumColorIndices() const +
get the number of colors indices required by the defined primitives and color binding
-[more]void setColors( Vec4* cp ) -
set the colors of the geosetset the colors of the geosetset the colors of the geoset +[more]inline IndexPointer& getColorIndices() +
get the color index array.
-[more]void setColors( Vec4* cp, ushort* li ) -
set the colors and color indices of the geosetset the colors and color indices of the geosetset the colors and color indices of the geoset +[more]inline const IndexPointer& getColorIndices() const +
get the const color index array.
-[more]void setColors( Vec4* cp, uint* li ) -
set the colors and color indices of the geosetset the colors and color indices of the geosetset the colors and color indices of the geoset +[more]void setColors( Vec4* cp ) +
set the colors of the geoset
-[more]void setColors( Vec4* cp, IndexPointer& ip ) -
set the colors and color indices of the geosetset the colors and color indices of the geosetset the colors and color indices of the geoset +[more]void setColors( Vec4* cp, ushort* li ) +
set the colors and color indices of the geoset
-[more]void setColorBinding( BindingType binding ) -
set the color binding to the vertices/primitives/overallset the color binding to the vertices/primitives/overallset the color binding to the vertices/primitives/overall +[more]void setColors( Vec4* cp, uint* li ) +
set the colors and color indices of the geoset
-[more]inline BindingType getColorBinding() const +[more]void setColors( Vec4* cp, IndexPointer& ip ) +
set the colors and color indices of the geoset
-[more]inline const int getNumTextureCoords() const -
get the number of texture coords required by the defined primitives and textures bindingget the number of texture coords required by the defined primitives and textures bindingget the number of texture coords required by the defined primitives and textures binding +[more]void setColorBinding( BindingType binding ) +
set the color binding to the vertices/primitives/overall
-[more]inline Vec2* getTextureCoords() -
get a pointer to Vec4 color array.get a pointer to Vec4 color array.get a pointer to Vec4 color array. +[more]inline BindingType getColorBinding() const
-[more]inline const Vec2* getTextureCoords() const -
get a pointer to Vec4 color array.get a pointer to Vec4 color array.get a pointer to Vec4 color array. +[more]inline const int getNumTextureCoords() const +
get the number of texture coords required by the defined primitives and textures binding
-[more]inline const int getNumTextureIndices() const -
get the number of texture coord indices required by the defined primitives and texture bindingget the number of texture coord indices required by the defined primitives and texture bindingget the number of texture coord indices required by the defined primitives and texture binding +[more]inline Vec2* getTextureCoords() +
get a pointer to Vec4 color array.
-[more]inline IndexPointer& getTextureIndices() -
get the texture index array.get the texture index array.get the texture index array. +[more]inline const Vec2* getTextureCoords() const +
get a pointer to Vec4 color array.
-[more]inline const IndexPointer& getTextureIndices() const -
get the texture index array.get the texture index array.get the texture index array. +[more]inline const int getNumTextureIndices() const +
get the number of texture coord indices required by the defined primitives and texture binding
-[more]void setTextureCoords( Vec2* tc ) -
set the texture coords of the geosetset the texture coords of the geosetset the texture coords of the geoset +[more]inline IndexPointer& getTextureIndices() +
get the texture index array.
-[more]void setTextureCoords( Vec2* tc, ushort* ti ) -
set the texture coords and texture coord indices of the geosetset the texture coords and texture coord indices of the geosetset the texture coords and texture coord indices of the geoset +[more]inline const IndexPointer& getTextureIndices() const +
get the texture index array.
-[more]void setTextureCoords( Vec2* tc, uint* ti ) -
set the texture coords and texture coord indices of the geosetset the texture coords and texture coord indices of the geosetset the texture coords and texture coord indices of the geoset +[more]void setTextureCoords( Vec2* tc ) +
set the texture coords of the geoset
-[more]void setTextureCoords( Vec2* tc, IndexPointer& ip ) -
set the texture coords and texture indices of the geosetset the texture coords and texture indices of the geosetset the texture coords and texture indices of the geoset +[more]void setTextureCoords( Vec2* tc, ushort* ti ) +
set the texture coords and texture coord indices of the geoset
-[more]void setTextureBinding( const BindingType binding ) -
set the texture coord binding to the vertices/primitives/overallset the texture coord binding to the vertices/primitives/overallset the texture coord binding to the vertices/primitives/overall +[more]void setTextureCoords( Vec2* tc, uint* ti ) +
set the texture coords and texture coord indices of the geoset
-[more]inline const BindingType getTextureBinding() const +[more]void setTextureCoords( Vec2* tc, IndexPointer& ip ) +
set the texture coords and texture indices of the geoset
-[more]inline const int getNumInterleavedCoords() const -
get the number of texture coords required by the defined primitives and textures bindingget the number of texture coords required by the defined primitives and textures bindingget the number of texture coords required by the defined primitives and textures binding +[more]void setTextureBinding( const BindingType binding ) +
set the texture coord binding to the vertices/primitives/overall
-[more]inline void* getInterleavedArray() -
get a pointer to interleaved float array.get a pointer to interleaved float array.get a pointer to interleaved float array. +[more]inline const BindingType getTextureBinding() const
-[more]inline const void* getInterleavedArray() const -
get a const pointer to interleaved float array.get a const pointer to interleaved float array.get a const pointer to interleaved float array. +[more]inline const int getNumInterleavedCoords() const +
get the number of texture coords required by the defined primitives and textures binding
-[more]inline const int getNumInterleavedIndices() const -
get the number of texture coord indices required by the defined primitives and texture bindingget the number of texture coord indices required by the defined primitives and texture bindingget the number of texture coord indices required by the defined primitives and texture binding +[more]inline void* getInterleavedArray() +
get a pointer to interleaved float array.
-[more]inline IndexPointer& getInterleavedIndices() -
get the texture index array.get the texture index array.get the texture index array. +[more]inline const void* getInterleavedArray() const +
get a const pointer to interleaved float array.
-[more]inline const IndexPointer& getInterleavedIndices() const -
get the interleaved index array.get the interleaved index array.get the interleaved index array. +[more]inline const int getNumInterleavedIndices() const +
get the number of texture coord indices required by the defined primitives and texture binding
-[more]inline const InterleaveArrayType getInterleavedFormat() const -
get the interleaved array storage format.get the interleaved array storage format.get the interleaved array storage format. +[more]inline IndexPointer& getInterleavedIndices() +
get the texture index array.
-[more]void setInterleavedArray( const InterleaveArrayType format, float* ia ) -
set the interleaved arrays of the geosetset the interleaved arrays of the geosetset the interleaved arrays of the geoset +[more]inline const IndexPointer& getInterleavedIndices() const +
get the interleaved index array.
-[more]void setInterleavedArray( const InterleaveArrayType format, float* ia, ushort* iai ) +[more]inline const InterleaveArrayType getInterleavedFormat() const +
get the interleaved array storage format.
-[more]void setInterleavedArray( const InterleaveArrayType format, float* ia, uint* iai ) +[more]void setInterleavedArray( const InterleaveArrayType format, float* ia ) +
set the interleaved arrays of the geoset
-[more]void setInterleavedArray( const InterleaveArrayType format, float* ia, IndexPointer& iai ) +[more]void setInterleavedArray( const InterleaveArrayType format, float* ia, ushort* iai )
-[more]virtual void drawImmediateMode(State& state) -
draw geoset directly ignoring an OpenGL display list which could be attached.draw geoset directly ignoring an OpenGL display list which could be attached.draw geoset directly ignoring an OpenGL display list which could be attached. +[more]void setInterleavedArray( const InterleaveArrayType format, float* ia, uint* iai )
-[more]const bool check() const +[more]void setInterleavedArray( const InterleaveArrayType format, float* ia, IndexPointer& iai )
-[more]void setAttributeDeleteFunctor(AttributeDeleteFunctor* adf) -
set an alternative AttributeDeleteFunction to handle attribute arrays attached to this Geosetset an alternative AttributeDeleteFunction to handle attribute arrays attached to this Geosetset an alternative AttributeDeleteFunction to handle attribute arrays attached to this Geoset +[more]virtual void drawImmediateMode(State& state) +
draw geoset directly ignoring an OpenGL display list which could be attached.
-[more]AttributeDeleteFunctor* getAttributeDeleteFunctor() -
get the current AttributeDeleteFunction to handle attribute arrays attached to this Geosetget the current AttributeDeleteFunction to handle attribute arrays attached to this Geosetget the current AttributeDeleteFunction to handle attribute arrays attached to this Geoset +[more]const bool check() const
-[more]const AttributeDeleteFunctor* getAttributeDeleteFunctor() const -
get the current AttributeDeleteFunction to handle attribute arrays attached to this Geosetget the current AttributeDeleteFunction to handle attribute arrays attached to this Geosetget the current AttributeDeleteFunction to handle attribute arrays attached to this Geoset +[more]void setAttributeDeleteFunctor(AttributeDeleteFunctor* adf) +
set an alternative AttributeDeleteFunction to handle attribute arrays attached to this Geoset
-[more]bool getStats(Statistics &) -
Statistics collection for each drawable- 260901Statistics collection for each drawable- 260901Statistics collection for each drawable- 260901 +[more]AttributeDeleteFunctor* getAttributeDeleteFunctor() +
get the current AttributeDeleteFunction to handle attribute arrays attached to this Geoset
-[more]virtual AttributeBitMask suppportsAttributeOperation() const -
return the attributes supported by applyAttrbuteUpdate() as an AttributeBitMaskreturn the attributes supported by applyAttrbuteUpdate() as an AttributeBitMaskreturn the attributes supported by applyAttrbuteUpdate() as an AttributeBitMask +[more]const AttributeDeleteFunctor* getAttributeDeleteFunctor() const +
get the current AttributeDeleteFunction to handle attribute arrays attached to this Geoset
-[more]virtual AttributeBitMask applyAttributeOperation(AttributeFunctor& auf) -
return the attributes successully applied in applyAttributeUpdatereturn the attributes successully applied in applyAttributeUpdatereturn the attributes successully applied in applyAttributeUpdate +[more]bool getStats(Statistics &) +
Statistics collection for each drawable- 260901 +
+[more]virtual AttributeBitMask suppportsAttributeOperation() const +
return the attributes supported by applyAttrbuteUpdate() as an AttributeBitMask +
+[more]virtual AttributeBitMask applyAttributeOperation(AttributeFunctor& auf) +
return the attributes successully applied in applyAttributeUpdate

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 -
function object which is used to handling the clean up of attribute arrays associated with GeoSet's.function object which is used to handling the clean up of attribute arrays associated with GeoSet's.function object which is used to handling the clean up of attribute arrays associated with GeoSet's. +[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(const GeoSet&) +[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( void )
-[more]void draw_fast_path( void ) -
-[more]void draw_alternate_path( void ) +[more]void draw_alternate_path( void )

@@ -331,6 +334,16 @@

Public Methods

+oinline const ParentList& getParents() const +
+oinline ParentList getParents() +
+oinline Node* getParent(const int i) +
+oinline const Node* getParent(const int i) const +
+oinline const int getNumParents() const +
oinline void setStateSet(StateSet* state)
oinline StateSet* getStateSet() @@ -347,12 +360,18 @@
ovoid dirtyDisplayList()
-oinline void dirtyBound() +ovoid dirtyBound()
oinline const BoundingBox& getBound() const
ovoid compile(State& state)
+ovoid setDrawCallback(DrawCallback* dc) +
+oDrawCallback* getDrawCallback() +
+oconst DrawCallback* getDrawCallback() const +
ostatic void deleteDisplayList(uint contextID, uint globj)
ostatic void flushDeletedDisplayLists(uint contextID) @@ -362,6 +381,10 @@

Public Members

+otypedef std::vector<Node*> ParentList +
+ostruct DrawCallback: public osg::Referenced +
otypedef uint AttributeBitMaskenum AttributeBitMaskValues
class AttributeFunctor @@ -369,6 +392,8 @@ class AttributeFunctor

Protected Fields

+oParentList _parents +
oref_ptr<StateSet> _dstate
obool _supportsDisplayList @@ -378,6 +403,15 @@ class AttributeFunctor omutable BoundingBox _bbox
omutable bool _bbox_computed +
+oref_ptr<DrawCallback> _drawCallback +

+ +

+

Protected Methods

+ovoid addParent(osg::Node* node) +
+ovoid removeParent(osg::Node* node)

@@ -417,782 +451,757 @@ optional binding of normal, color and texture coordinates. Used for representing the visible objects in the scene. State attributes for a GeoSet are maintained in StateSet which the GeoSet maintains a referenced counted pointer to. Both GeoSet's and StateSet's can -be shared for optimal memory usage and graphics performance.Encapsulates OpenGL drawing primitives, geometry and -optional binding of normal, color and texture coordinates. Used -for representing the visible objects in the scene. State attributes -for a GeoSet are maintained in StateSet which the GeoSet maintains -a referenced counted pointer to. Both GeoSet's and StateSet's can -be shared for optimal memory usage and graphics performance.Encapsulates OpenGL drawing primitives, geometry and -optional binding of normal, color and texture coordinates. Used -for representing the visible objects in the scene. State attributes -for a GeoSet are maintained in StateSet which the GeoSet maintains -a referenced counted pointer to. Both GeoSet's and StateSet's can 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

- +
oushort* _ushort

- +

ouint* _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, ushort* data) + +
oinline void set(uint size, ushort* data)

- -

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

- +

oinline const uint maxIndex() const

- +

oinline const uint operator [] (const uint pos) const

- +
o GeoSet()

+ + +

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 + +
ovirtual Object* clone(const CopyOp& copyop) const

- +

ovirtual bool isSameKindAs(const Object* obj) 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. get the number of coords required by the defined primitives. get the number of coords required by the defined primitives. +
get the number of coords required by the defined primitives.

- +

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

- +

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

- +

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

- -

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

- -

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

- +

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

- +

ovoid setCoords( Vec3* cp, ushort* 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.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.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, uint* 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.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.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 ) -
set the coords (ie the geometry) and indices of the geosetset the coords (ie the geometry) and indices of the geosetset the coords (ie the geometry) and indices of the geoset + +
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 bindingget the number of normals required by the defined primitives and normals bindingget the number of normals required by the defined primitives and normals binding +
get the number of normals required by the defined primitives and normals binding

- +

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

- +

oinline const Vec3* getNormals() const -
get a const pointer to Vec3 normal array. get a const pointer to Vec3 normal array. get a const pointer to Vec3 normal array. +
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 bindingget the number of normal indices required by the defined primitives and normals bindingget the number of normal indices required by the defined primitives and normals binding +
get the number of normal indices required by the defined primitives and normals binding

- -

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

- -

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

- +

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

- +

ovoid setNormals( Vec3* np, ushort* ni ) -
set the normals and normal indices of the geosetset the normals and normal indices of the geosetset the normals and normal indices of the geoset +
set the normals and normal indices of the geoset

- +

ovoid setNormals( Vec3* np, uint* ni ) -
set the normals and normal indices of the geosetset the normals and normal indices of the geosetset the normals and normal indices of the geoset +
set the normals and normal indices of the geoset

- -

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

- -

ovoid setNormalBinding( const BindingType binding ) -
set the normals binding to the vertices/primitives/overallset the normals binding to the vertices/primitives/overallset the normals binding to the vertices/primitives/overall + +
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 bindingget the number of colors required by the defined primitives and color bindingget the number of colors required by the defined primitives and color binding +
get the number of colors required by the defined primitives and color binding

- +

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

- +

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

- +

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

- -

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

- -

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

- +

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

- +

ovoid setColors( Vec4* cp, ushort* li ) -
set the colors and color indices of the geosetset the colors and color indices of the geosetset the colors and color indices of the geoset +
set the colors and color indices of the geoset

- +

ovoid setColors( Vec4* cp, uint* li ) -
set the colors and color indices of the geosetset the colors and color indices of the geosetset the colors and color indices of the geoset +
set the colors and color indices of the geoset

- -

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

- -

ovoid setColorBinding( BindingType binding ) -
set the color binding to the vertices/primitives/overallset the color binding to the vertices/primitives/overallset the color binding to the vertices/primitives/overall + +
ovoid setColorBinding( 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 bindingget the number of texture coords required by the defined primitives and textures bindingget the number of texture coords required by the defined primitives and textures binding +
get the number of texture coords required by the defined primitives and textures binding

- +

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

- +

oinline const Vec2* getTextureCoords() const -
get a pointer to Vec4 color array. get a pointer to Vec4 color array. get a pointer to Vec4 color array. +
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 bindingget the number of texture coord indices required by the defined primitives and texture bindingget the number of texture coord indices required by the defined primitives and texture binding +
get the number of texture coord indices required by the defined primitives and texture binding

- -

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

- -

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

- +

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

- +

ovoid setTextureCoords( Vec2* tc, ushort* ti ) -
set the texture coords and texture coord indices of the geosetset the texture coords and texture coord indices of the geosetset the texture coords and texture coord indices of the geoset +
set the texture coords and texture coord indices of the geoset

- +

ovoid setTextureCoords( Vec2* tc, uint* ti ) -
set the texture coords and texture coord indices of the geosetset the texture coords and texture coord indices of the geosetset the texture coords and texture coord indices of the geoset +
set the texture coords and texture coord indices of the geoset

- -

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

- -

ovoid setTextureBinding( const BindingType binding ) -
set the texture coord binding to the vertices/primitives/overallset the texture coord binding to the vertices/primitives/overallset the texture coord binding to the vertices/primitives/overall + +
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 bindingget the number of texture coords required by the defined primitives and textures bindingget the number of texture coords required by the defined primitives and textures binding +
get the number of texture coords required by the defined primitives and textures binding

- +

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

- +

oinline const void* getInterleavedArray() const -
get a const pointer to interleaved float array. get a const pointer to interleaved float array. get a const pointer to interleaved float array. +
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 bindingget the number of texture coord indices required by the defined primitives and texture bindingget the number of texture coord indices required by the defined primitives and texture binding +
get the number of texture coord indices required by the defined primitives and texture binding

- -

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

- -

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

- -

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

- -

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

- -

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

- -

ovoid setInterleavedArray( const InterleaveArrayType format, float* ia, uint* iai ) + +
ovoid setInterleavedArray( const InterleaveArrayType format, float* ia, uint* 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.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.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 momory attached to the GeoSet is owned by this GeoSet and can be deleted using delete []. If this is not the cause derive your own AttributeDeleteFunctor -a specify your own memory deletion operation.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 -momory attached to the GeoSet is owned by this GeoSet and can be deleted -using delete []. If this is not the cause derive your own AttributeDeleteFunctor -a specify your own memory deletion operation.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 -momory attached to the GeoSet is owned by this GeoSet and can be deleted -using delete []. If this is not the cause derive your own AttributeDeleteFunctor a specify your own memory deletion operation.

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

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

- -

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

- -

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

- +

obool getStats(Statistics &) -
Statistics collection for each drawable- 260901Statistics collection for each drawable- 260901Statistics collection for each drawable- 260901 +
Statistics collection for each drawable- 260901

- +

ovirtual AttributeBitMask suppportsAttributeOperation() const -
return the attributes supported by applyAttrbuteUpdate() as an AttributeBitMaskreturn the attributes supported by applyAttrbuteUpdate() as an AttributeBitMaskreturn the attributes supported by applyAttrbuteUpdate() as an AttributeBitMask +
return the attributes supported by applyAttrbuteUpdate() as an AttributeBitMask

- +

ovirtual AttributeBitMask applyAttributeOperation(AttributeFunctor& auf) -
return the attributes successully applied in applyAttributeUpdatereturn the attributes successully applied in applyAttributeUpdatereturn the attributes successully applied in applyAttributeUpdate -

- - -

o GeoSet(const GeoSet&) +
return the attributes successully applied in applyAttributeUpdate

- +

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( void )

- +

ovoid draw_alternate_path( void )

diff --git a/doc/doc++/osg/Geode.html b/doc/doc++/osg/Geode.html index dc670d677..40f002f38 100644 --- a/doc/doc++/osg/Geode.html +++ b/doc/doc++/osg/Geode.html @@ -23,51 +23,54 @@

Public Methods

-[more]typedef std::vector< ref_ptr<Drawable> > DrawableList Geode() +[more]typedef std::vector< ref_ptr<Drawable> > DrawableList Geode()
-[more] META_Node(Geode) +[more] Geode(const Geode&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
Copy constructor using CopyOp to manage deep vs shallow copy
-[more]virtual const bool addDrawable( Drawable* drawable ) +[more] META_Node(Geode) +
+[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 int getNumDrawables() const +[more]inline const int getNumDrawables() const
return the number of geoset's
-[more]inline Drawable* getDrawable( const int i ) +[more]inline Drawable* getDrawable( const int i )
return geoset at position i
-[more]inline const Drawable* getDrawable( const int i ) const +[more]inline const Drawable* getDrawable( const 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

@@ -75,7 +78,9 @@

Public Methods

-ovirtual Object* clone() const +ovirtual Object* cloneType() const +
+ovirtual Object* clone(const CopyOp& copyop) const
ovirtual bool isSameKindAs(const Object* obj) const
@@ -93,7 +98,9 @@
oinline const std::string& getName() const
-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const +
+oinline ParentList getParents()
oinline Group* getParent(const int i)
@@ -125,9 +132,9 @@
oinline const NodeMask getNodeMask() const
-oinline const DescriptionList& getDescriptions() const +oinline const DescriptionList& getDescriptions() const
-oinline DescriptionList& getDescriptions() +oinline DescriptionList& getDescriptions()
oinline const std::string& getDescription(const int i) const
@@ -163,7 +170,7 @@
ostd::string _name
-oParentList _parents +oParentList _parents
oref_ptr<NodeCallback> _appCallback
@@ -177,13 +184,17 @@
oNodeMask _nodeMask
-oDescriptionList _descriptions +oDescriptionList _descriptions
oref_ptr<StateSet> _dstate

Protected Methods

+ovoid addParent(osg::Group* node) +
+ovoid removeParent(osg::Group* node) +
ovoid setNumChildrenRequiringAppTraversal(const int num)
ovoid setNumChildrenWithCullingDisabled(const int num) @@ -220,15 +231,20 @@
- +
otypedef std::vector< ref_ptr<Drawable> > DrawableList Geode()

+ + +

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

- +

o META_Node(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 @@ -237,7 +253,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 @@ -247,7 +263,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 @@ -258,52 +274,52 @@ add newGset. If newGset is NULL then return false and do not remove origGset.

- +

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

- +

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

- +

oinline const Drawable* getDrawable( const 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/Group.html b/doc/doc++/osg/Group.html index 6645d744a..0e187ebae 100644 --- a/doc/doc++/osg/Group.html +++ b/doc/doc++/osg/Group.html @@ -23,50 +23,53 @@

Public Methods

-[more]typedef std::vector<ref_ptr<Node> > ChildList Group() +[more]typedef std::vector<ref_ptr<Node> > ChildList Group()
-[more] META_Node(Group) +[more] Group(const Group&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
Copy constructor using CopyOp to manage deep vs shallow copy
-[more]virtual void traverse(NodeVisitor& nv) +[more] META_Node(Group)
-[more]virtual bool addChild( Node* child ) +[more]virtual void traverse(NodeVisitor& nv) +
+[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 int getNumChildren() const +[more]inline const int getNumChildren() const
return the number of chilren nodes
-[more]inline Node* getChild( const int i ) +[more]inline Node* getChild( const int i )
return child node at position i
-[more]inline const Node* getChild( const int i ) const +[more]inline const Node* getChild( const 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

@@ -74,7 +77,9 @@

Public Methods

-ovirtual Object* clone() const +ovirtual Object* cloneType() const +
+ovirtual Object* clone(const CopyOp& copyop) const
ovirtual bool isSameKindAs(const Object* obj) const
@@ -90,7 +95,9 @@
oinline const std::string& getName() const
-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const +
+oinline ParentList getParents()
oinline Group* getParent(const int i)
@@ -122,9 +129,9 @@
oinline const NodeMask getNodeMask() const
-oinline const DescriptionList& getDescriptions() const +oinline const DescriptionList& getDescriptions() const
-oinline DescriptionList& getDescriptions() +oinline DescriptionList& getDescriptions()
oinline const std::string& getDescription(const int i) const
@@ -160,7 +167,7 @@
ostd::string _name
-oParentList _parents +oParentList _parents
oref_ptr<NodeCallback> _appCallback
@@ -174,13 +181,17 @@
oNodeMask _nodeMask
-oDescriptionList _descriptions +oDescriptionList _descriptions
oref_ptr<StateSet> _dstate

Protected Methods

+ovoid addParent(osg::Group* node) +
+ovoid removeParent(osg::Group* node) +
ovoid setNumChildrenRequiringAppTraversal(const int num)
ovoid setNumChildrenWithCullingDisabled(const int num) @@ -219,19 +230,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) +
Copy constructor using CopyOp to manage deep vs shallow copy +

- +

o META_Node(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 @@ -240,7 +256,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 @@ -250,7 +266,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 @@ -261,47 +277,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 int getNumChildren() const
return the number of chilren nodes

- +

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

- +

oinline const Node* getChild( const 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


diff --git a/doc/doc++/osg/HIER.html b/doc/doc++/osg/HIER.html index 6332602d4..93a337708 100644 --- a/doc/doc++/osg/HIER.html +++ b/doc/doc++/osg/HIER.html @@ -9,10 +9,14 @@

Hierarchy of Classes

+
  • osg::Transform +
  • osg::LightSource @@ -68,6 +75,7 @@
  • osg::Point
  • osg::PolygonMode
  • osg::PolygonOffset +
  • osg::ShadeModel
  • osg::Stencil
  • osg::TexEnv
  • osg::TexGen @@ -76,10 +84,10 @@
  • osg::Transparency
  • osg::Viewport -
  • osg::StateSet -
  • osg::Statistics +
  • osg::StateSet -
  • osg::State +
  • osg::State +
  • osg::Statistics
  • osg::Timer
  • osg::Vec2 diff --git a/doc/doc++/osg/HIERjava.html b/doc/doc++/osg/HIERjava.html index 02437d10b..30568a1f9 100644 --- a/doc/doc++/osg/HIERjava.html +++ b/doc/doc++/osg/HIERjava.html @@ -30,12 +30,19 @@ - + + + + + + + + @@ -50,11 +57,11 @@ - - - - - + + + + + diff --git a/doc/doc++/osg/Image.html b/doc/doc++/osg/Image.html index c631c0cc7..2772588d0 100644 --- a/doc/doc++/osg/Image.html +++ b/doc/doc++/osg/Image.html @@ -23,86 +23,93 @@

    Public Methods

    -[more] Image() +[more] Image()
    -[more]virtual Object* clone() const +[more] Image(const Image& image, 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 Object* cloneType() const
    -[more]virtual const char* className() const +[more]virtual Object* clone(const CopyOp& copyop) const
    -[more]inline const std::string& getFileName() const +[more]virtual bool isSameKindAs(const Object* obj) const
    -[more]void setFileName(const std::string& fileName) +[more]virtual const char* className() const
    -[more]void setImage(const int s, const int t, const int r, const int internalFormat, const unsigned int pixelFormat, const unsigned int dataType, unsigned char* data, const int packing=-1) +[more]inline const std::string& getFileName() const +
    +[more]void setFileName(const std::string& fileName) +
    +[more]void setImage(const int s, const int t, const int r, const int internalFormat, const unsigned int pixelFormat, const unsigned int dataType, unsigned char* data, const int packing=-1)
    set the image data and format.
    -[more]inline const int s() const +[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]inline const int internalFormat() const +[more]inline const int internalFormat() const
    -[more]inline const unsigned int pixelFormat() const +[more]inline const unsigned int pixelFormat() const
    -[more]inline const unsigned int dataType() const +[more]inline const unsigned int dataType() const
    -[more]inline const unsigned int packing() const +[more]inline const unsigned int packing() const
    -[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]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]void ensureDimensionsArePowerOfTwo() +[more]void ensureDimensionsArePowerOfTwo()
    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.

    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]int _internalFormat +[more]int _internalFormat
    -[more]unsigned int _pixelFormat +[more]unsigned int _pixelFormat
    -[more]unsigned int _dataType +[more]unsigned int _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

    Protected Methods

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

    @@ -113,8 +120,6 @@

    Public Methods

    -oinline Referenced& operator = (Referenced&) -
    oinline void ref() const
    oinline void unref() const @@ -136,32 +141,41 @@
    - +
    o Image()

    + + +

    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 + +
    ovirtual Object* clone(const CopyOp& copyop) const

    - +

    ovirtual bool isSameKindAs(const Object* obj) const

    - +

    ovirtual const char* className() const

    - +

    oinline const std::string& getFileName() const

    - +

    ovoid setFileName(const std::string& fileName)

    - -

    ovoid setImage(const int s, const int t, const int r, const int internalFormat, const unsigned int pixelFormat, const unsigned int dataType, unsigned char* data, const int packing=-1) + +
    ovoid setImage(const int s, const int t, const int r, const int internalFormat, const unsigned int pixelFormat, const unsigned int dataType, unsigned char* data, const 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, @@ -169,115 +183,119 @@ otherwise automatically sets to _packing to 4. If a positive value of packing is supplied than _packing is simply set to that value.

    - +

    oinline const int s() const
    Width of image

    - +

    oinline const int t() const
    Height of image

    - +

    oinline const int r() const
    Depth of image

    - +

    oinline const int internalFormat() const

    - +

    oinline const unsigned int pixelFormat() const

    - +

    oinline const unsigned int dataType() const

    - +

    oinline const unsigned int packing() const

    - +

    oinline unsigned char* data()
    raw image data

    - +

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

    - -

    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 ensureDimensionsArePowerOfTwo()
    Ensure image dimensions are a power of two. Mip Mapped texture require the image dimensions to be power of two.

    - +

    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.

    - +

    ovirtual ~Image()

    + + +

    oImage& operator = (const Image&) +

    - +

    ostd::string _fileName

    - +

    oint _s

    - +

    oint _t

    - +

    oint _r

    - +

    oint _internalFormat

    - +

    ounsigned int _pixelFormat

    - +

    ounsigned int _dataType

    - +

    ounsigned int _packing

    - +

    ounsigned char* _data

    - +

    ounsigned int _modifiedTag

    diff --git a/doc/doc++/osg/Impostor.html b/doc/doc++/osg/Impostor.html index 64404314d..2fd02a9f5 100644 --- a/doc/doc++/osg/Impostor.html +++ b/doc/doc++/osg/Impostor.html @@ -23,45 +23,47 @@

    Public Methods

    -[more] Impostor() +[more] Impostor()
    -[more] META_Node(Impostor) +[more] Impostor(const Impostor& es, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    -[more]inline void setImpostorThreshold(float distance) +[more] META_Node(Impostor) +
    +[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

    @@ -81,16 +83,34 @@
    oinline const Vec3& getCenter() const
    -oconst int evaluate(const Vec3& eye_local, const float bias=1.0f) const +ovoid setEvaluateLODCallback(EvaluateLODCallback* cbc) +
    +oEvaluateLODCallback* getEvaluateLODCallback() +
    +oconst EvaluateLODCallback* getEvaluateLODCallback() const +
    +oinline const int evaluate(const Vec3& eye_local, const float bias=1.0f) const +

    + +

    +

    Public Members

    +ostruct EvaluateLODCallback: public osg::Referenced

    Protected Fields

    oRangeList _rangeList2
    +oref_ptr<EvaluateLODCallback> _evaluateLODCallback +
    oVec3 _center

    +

    +

    Protected Methods

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

    +

    Protected Members

    otypedef std::vector<float> RangeList RangeList _rangeList @@ -130,7 +150,9 @@

    Public Methods

    -ovirtual Object* clone() const +ovirtual Object* cloneType() const +
    +ovirtual Object* clone(const CopyOp& copyop) const
    ovirtual bool isSameKindAs(const Object* obj) const
    @@ -146,7 +168,9 @@
    oinline const std::string& getName() const
    -oinline const ParentList& getParents() const +oinline const ParentList& getParents() const +
    +oinline ParentList getParents()
    oinline Group* getParent(const int i)
    @@ -178,9 +202,9 @@
    oinline const NodeMask getNodeMask() const
    -oinline const DescriptionList& getDescriptions() const +oinline const DescriptionList& getDescriptions() const
    -oinline DescriptionList& getDescriptions() +oinline DescriptionList& getDescriptions()
    oinline const std::string& getDescription(const int i) const
    @@ -216,7 +240,7 @@
    ostd::string _name
    -oParentList _parents +oParentList _parents
    oref_ptr<NodeCallback> _appCallback
    @@ -230,13 +254,17 @@
    oNodeMask _nodeMask
    -oDescriptionList _descriptions +oDescriptionList _descriptions
    oref_ptr<StateSet> _dstate

    Protected Methods

    +ovoid addParent(osg::Group* node) +
    +ovoid removeParent(osg::Group* node) +
    ovoid setNumChildrenRequiringAppTraversal(const int num)
    ovoid setNumChildrenWithCullingDisabled(const int num) @@ -309,68 +337,72 @@ geometry.
    - +
    o Impostor()

    + + +

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

    - +

    o META_Node(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 badaf045d..0e1868fe3 100644 --- a/doc/doc++/osg/ImpostorSprite.html +++ b/doc/doc++/osg/ImpostorSprite.html @@ -23,108 +23,112 @@

    Public Methods

    -[more] ImpostorSprite() +[more] ImpostorSprite()
    -[more]virtual Object* clone() const +[more]virtual Object* cloneType() const +
    Clone an object of the same type as an ImpostorSprite
    -[more]virtual bool isSameKindAs(const Object* obj) 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 const char* className() const +[more]virtual bool isSameKindAs(const Object* obj) const
    -[more]void setParent(Impostor* parent) +[more]virtual const char* className() const +
    +[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 Camera& camera, const Viewport& viewport, const osg::Matrix* matrix) const +[more]const float calcPixelError(const Camera& camera, const Viewport& viewport, const osg::Matrix* matrix) const
    calculate the pixel error value for current camera position and object position
    -[more]void setTexture(Texture* tex, int s, int t) +[more]void setTexture(Texture* tex, int s, int t)
    -[more]Texture* getTexture() +[more]Texture* getTexture()
    -[more]const Texture* getTexture() const +[more]const Texture* 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]bool getStats(Statistics &stat) +[more]bool getStats(Statistics &stat)

    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]Texture* _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

    @@ -132,6 +136,12 @@

    Public Methods

    +oinline const ParentList& getParents() const +
    +oinline ParentList getParents() +
    +oinline const int getNumParents() const +
    oinline void setStateSet(StateSet* state)
    oinline StateSet* getStateSet() @@ -148,12 +158,18 @@
    ovoid dirtyDisplayList()
    -oinline void dirtyBound() +ovoid dirtyBound()
    oinline const BoundingBox& getBound() const
    ovoid compile(State& state)
    +ovoid setDrawCallback(DrawCallback* dc) +
    +oDrawCallback* getDrawCallback() +
    +oconst DrawCallback* getDrawCallback() const +
    ostatic void deleteDisplayList(uint contextID, uint globj)
    ostatic void flushDeletedDisplayLists(uint contextID) @@ -167,6 +183,10 @@

    Public Members

    +otypedef std::vector<Node*> ParentList +
    +ostruct DrawCallback: public osg::Referenced +
    otypedef uint AttributeBitMaskenum AttributeBitMaskValues
    class AttributeFunctor @@ -174,6 +194,8 @@ class AttributeFunctor

    Protected Fields

    +oParentList _parents +
    oref_ptr<StateSet> _dstate
    obool _supportsDisplayList @@ -183,6 +205,15 @@ class AttributeFunctor omutable BoundingBox _bbox
    omutable bool _bbox_computed +
    +oref_ptr<DrawCallback> _drawCallback +

    + +

    +

    Protected Methods

    +ovoid addParent(osg::Node* node) +
    +ovoid removeParent(osg::Node* node)

    @@ -225,82 +256,89 @@ 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 + +
    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* 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 @@ -315,112 +353,112 @@ 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 Camera& camera, const Viewport& viewport, const osg::Matrix* matrix) const
    calculate the pixel error value for current camera position and object position

    - -

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

    - +

    oTexture* getTexture()

    - +

    oconst Texture* getTexture() const

    - +

    oconst int s() const

    - +

    oconst int t() const

    - +

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

    - +

    obool getStats(Statistics &stat)

    - -

    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

    - +

    oint _s

    - +

    oint _t


    This class has no child classes.
    -
    Friends:
    ImpostorSpriteManager

    Alphabetic index HTML hierarchy of classes or Java


    +
    Friends:
    class osg::ImpostorSpriteManager

    Alphabetic index HTML hierarchy of classes or Java



    This page was generated with the help of DOC++. diff --git a/doc/doc++/osg/ImpostorSpriteManager.html b/doc/doc++/osg/ImpostorSpriteManager.html index b26d32496..fe9ba6772 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()

    @@ -82,51 +82,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 b1e856eae..a5972c589 100644 --- a/doc/doc++/osg/LOD.html +++ b/doc/doc++/osg/LOD.html @@ -23,46 +23,68 @@

    Public Methods

    -[more] LOD() +[more] LOD()
    -[more] META_Node(LOD) +[more] LOD(const LOD&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more]virtual void traverse(NodeVisitor& nv) +[more] META_Node(LOD)
    -[more]void setRange(const unsigned int index, const float range) +[more]virtual void traverse(NodeVisitor& nv) +
    +[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 int getNumRanges() const +[more]inline const 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]const int evaluate(const Vec3& eye_local, const float bias=1.0f) const +[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() +
    Get the non const ComputeBillboardCallback +
    +[more]const EvaluateLODCallback* getEvaluateLODCallback() const +
    Get the const ComputeBillboardCallback +
    +[more]inline const int evaluate(const Vec3& eye_local, const float bias=1.0f) const
    return the child to traverse.

    +

    +

    Public Members

    +[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]Vec3 _center +[more]ref_ptr<EvaluateLODCallback> _evaluateLODCallback +
    +[more]Vec3 _center

    Protected Methods

    -[more]virtual ~LOD() +[more]virtual ~LOD() +
    +[more]virtual const int evaluateLODChild(const Vec3& eye_local, const float bias) const

    Protected Members

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

    @@ -104,7 +126,9 @@

    Public Methods

    -ovirtual Object* clone() const +ovirtual Object* cloneType() const +
    +ovirtual Object* clone(const CopyOp& copyop) const
    ovirtual bool isSameKindAs(const Object* obj) const
    @@ -120,7 +144,9 @@
    oinline const std::string& getName() const
    -oinline const ParentList& getParents() const +oinline const ParentList& getParents() const +
    +oinline ParentList getParents()
    oinline Group* getParent(const int i)
    @@ -152,9 +178,9 @@
    oinline const NodeMask getNodeMask() const
    -oinline const DescriptionList& getDescriptions() const +oinline const DescriptionList& getDescriptions() const
    -oinline DescriptionList& getDescriptions() +oinline DescriptionList& getDescriptions()
    oinline const std::string& getDescription(const int i) const
    @@ -190,7 +216,7 @@
    ostd::string _name
    -oParentList _parents +oParentList _parents
    oref_ptr<NodeCallback> _appCallback
    @@ -204,13 +230,17 @@
    oNodeMask _nodeMask
    -oDescriptionList _descriptions +oDescriptionList _descriptions
    oref_ptr<StateSet> _dstate

    Protected Methods

    +ovoid addParent(osg::Group* node) +
    +ovoid removeParent(osg::Group* node) +
    ovoid setNumChildrenRequiringAppTraversal(const int num)
    ovoid setNumChildrenWithCullingDisabled(const int num) @@ -259,19 +289,24 @@ during rendering.
    - +
    o LOD()

    + + +

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

    - +

    o META_Node(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. @@ -279,47 +314,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 int getNumRanges() const
    returns the number of ranges currently set

    - +

    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 +
    Compute the child to select +

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

    + + +

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

    + + +

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

    - -

    oconst int evaluate(const Vec3& eye_local, const float bias=1.0f) const + +
    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 ~LOD()

    + + +

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

    - +

    otypedef std::vector<float> RangeList RangeList _rangeList

    - +

    oRangeList _rangeList2

    + + +

    oref_ptr<EvaluateLODCallback> _evaluateLODCallback +

    - +

    oVec3 _center


    @@ -327,7 +397,7 @@ coordinates and the LOD center, multiplied by the bias.
    Impostor
    -

    Alphabetic index HTML hierarchy of classes or Java


    +
    Friends:
    struct osg::LOD::EvaluateLODCallback

    Alphabetic index HTML hierarchy of classes or Java



    This page was generated with the help of DOC++. diff --git a/doc/doc++/osg/Light.html b/doc/doc++/osg/Light.html index 93014e0be..e6acc2981 100644 --- a/doc/doc++/osg/Light.html +++ b/doc/doc++/osg/Light.html @@ -23,118 +23,121 @@

    Public Methods

    -[more] Light() +[more] Light()
    -[more] META_StateAttribute(Light, (Type)(LIGHT_0+_lightnum)) +[more] Light(const Light& light, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more]virtual int compare(const StateAttribute& sa) const +[more] META_StateAttribute(Light, (Type)(LIGHT_0+_lightnum)) +
    +[more]virtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
    -[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) 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.

    @@ -143,13 +146,15 @@

    Public Methods

    -ovirtual Object* clone() const +ovirtual Object* cloneType() const +
    +ovirtual Object* clone(const CopyOp&) const
    ovirtual bool isSameKindAs(const Object* obj) const
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -206,195 +211,200 @@
    - +
    o Light()

    + + +

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

    - -

    o META_StateAttribute(Light, (Type)(LIGHT_0+_lightnum)) + +
    o META_StateAttribute(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 setStateSetModes(StateSet& ds, const GLModeValue value) const + +
    ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) 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/LightSource.html b/doc/doc++/osg/LightSource.html index 11be2fc8d..f6a3327c5 100644 --- a/doc/doc++/osg/LightSource.html +++ b/doc/doc++/osg/LightSource.html @@ -23,30 +23,32 @@

    Public Methods

    -[more] LightSource() +[more] LightSource()
    -[more] META_Node(LightSource) +[more] LightSource(const LightSource& es, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    -[more]inline void setLight(Light* light) +[more] META_Node(LightSource) +
    +[more]inline void setLight(Light* light)
    Set the attached light
    -[more]inline Light* getLight() +[more]inline Light* getLight()
    Get the attached light
    -[more]inline const Light* getLight() const +[more]inline const Light* getLight() const
    Get the const attached light

    Protected Fields

    -[more]ref_ptr<Light> _light +[more]ref_ptr<Light> _light

    Protected Methods

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

    @@ -54,7 +56,9 @@

    Public Methods

    -ovirtual Object* clone() const +ovirtual Object* cloneType() const +
    +ovirtual Object* clone(const CopyOp& copyop) const
    ovirtual bool isSameKindAs(const Object* obj) const
    @@ -72,7 +76,9 @@
    oinline const std::string& getName() const
    -oinline const ParentList& getParents() const +oinline const ParentList& getParents() const +
    +oinline ParentList getParents()
    oinline Group* getParent(const int i)
    @@ -104,9 +110,9 @@
    oinline const NodeMask getNodeMask() const
    -oinline const DescriptionList& getDescriptions() const +oinline const DescriptionList& getDescriptions() const
    -oinline DescriptionList& getDescriptions() +oinline DescriptionList& getDescriptions()
    oinline const std::string& getDescription(const int i) const
    @@ -142,7 +148,7 @@
    ostd::string _name
    -oParentList _parents +oParentList _parents
    oref_ptr<NodeCallback> _appCallback
    @@ -156,13 +162,17 @@
    oNodeMask _nodeMask
    -oDescriptionList _descriptions +oDescriptionList _descriptions
    oref_ptr<StateSet> _dstate

    Protected Methods

    +ovoid addParent(osg::Group* node) +
    +ovoid removeParent(osg::Group* node) +
    ovoid setNumChildrenRequiringAppTraversal(const int num)
    ovoid setNumChildrenWithCullingDisabled(const int num) @@ -199,38 +209,42 @@
    - +
    o LightSource()

    + + +

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

    - +

    o META_Node(LightSource)

    - +

    oinline void setLight(Light* light)
    Set the attached light

    - +

    oinline Light* getLight()
    Get the attached light

    - +

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

    - +

    ovirtual ~LightSource()

    - +

    ovirtual const bool computeBound() const

    - +

    oref_ptr<Light> _light

    diff --git a/doc/doc++/osg/LineSegment.html b/doc/doc++/osg/LineSegment.html index fa3898415..4ba7e1c5b 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]virtual ~LineSegment() +[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 -
    return true if segment intersects BoundingSphere and return the intersection ratio's +[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]static const bool intersectAndClip(Vec3& s, Vec3& e, const BoundingBox& bb) +[more]virtual ~LineSegment() +
    +[more]static const bool intersectAndClip(Vec3& s, Vec3& e, const BoundingBox& bb)

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

    - -

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

    - -

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

    - - -

    ovirtual ~LineSegment() + +
    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 BoundingSphere and return the intersection ratio's +
    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/LineWidth.html b/doc/doc++/osg/LineWidth.html index 6576374c3..0f54da5c8 100644 --- a/doc/doc++/osg/LineWidth.html +++ b/doc/doc++/osg/LineWidth.html @@ -23,28 +23,31 @@

    Public Methods

    -[more] LineWidth() +[more] LineWidth()
    -[more] META_StateAttribute(LineWidth, LINEWIDTH) +[more] LineWidth(const LineWidth& lw, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more]virtual int compare(const StateAttribute& sa) const +[more] META_StateAttribute(LineWidth, LINEWIDTH) +
    +[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()

    @@ -52,13 +55,15 @@

    Public Methods

    -ovirtual Object* clone() const +ovirtual Object* cloneType() const +
    +ovirtual Object* clone(const CopyOp&) const
    ovirtual bool isSameKindAs(const Object* obj) const
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -66,7 +71,7 @@
    obool operator != (const StateAttribute& rhs) const
    -ovirtual void setStateSetModes(StateSet&, const GLModeValue) const +ovirtual void setStateSetModes(StateSet&, const GLModeValue) const
    ovirtual void compile(State&) const

    @@ -117,36 +122,41 @@
    - +
    o LineWidth()

    + + +

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

    - -

    o META_StateAttribute(LineWidth, LINEWIDTH) + +
    o META_StateAttribute(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 bbd13a94c..5a8760eb8 100644 --- a/doc/doc++/osg/META_Object.html +++ b/doc/doc++/osg/META_Object.html @@ -7,7 +7,7 @@ -

    #define osg::META_Object

    (name)

    META_Object macro define the standard clone, isSameKindAs and className methods.
    +

    #define osg::META_Object

    (T)

    META_Object macro define the standard clone, isSameKindAs and className methods.

    diff --git a/doc/doc++/osg/Material.html b/doc/doc++/osg/Material.html index c09191628..b8c926389 100644 --- a/doc/doc++/osg/Material.html +++ b/doc/doc++/osg/Material.html @@ -23,112 +23,115 @@

    Public Methods

    -[more] Material() +[more] Material()
    -[more] META_StateAttribute(Material, MATERIAL) +[more] Material(const Material& mat, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more]virtual int compare(const StateAttribute& sa) const +[more] META_StateAttribute(Material, MATERIAL) +
    +[more]virtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
    -[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) 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 10
    -[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()

    @@ -136,13 +139,15 @@

    Public Methods

    -ovirtual Object* clone() const +ovirtual Object* cloneType() const +
    +ovirtual Object* clone(const CopyOp&) const
    ovirtual bool isSameKindAs(const Object* obj) const
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -199,231 +204,236 @@
    - +
    o Material()

    + + +

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

    - -

    o META_StateAttribute(Material, MATERIAL) + +
    o META_StateAttribute(Material, MATERIAL)

    - +

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

    - -

    ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) const + +
    ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) 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 10

    - -

    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 82e36d77e..6ec0ca5dd 100644 --- a/doc/doc++/osg/Matrix.html +++ b/doc/doc++/osg/Matrix.html @@ -22,153 +22,152 @@

    Public Methods

    -[more] META_Object(Matrix) +[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 ~Matrix() +[more]virtual Object* clone(const CopyOp&) const
    -[more]Matrix& operator = (const Matrix& ) +[more]virtual bool isSameKindAs(const Object* obj) const
    -[more]int compare(const Matrix& m) const +[more]virtual const char* className() const
    -[more]bool operator < (const Matrix& m) const +[more]virtual ~Matrix()
    -[more]bool operator == (const Matrix& m) const +[more]Matrix& operator = (const Matrix& )
    -[more]bool operator != (const Matrix& m) const +[more]int compare(const Matrix& m) const
    -[more]inline float& operator()(int row, int col) +[more]bool operator < (const Matrix& m) const
    -[more]inline float operator()(int row, int col) const +[more]bool operator == (const Matrix& m) const
    -[more]void set( float const* const ) +[more]bool operator != (const Matrix& m) const
    -[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]inline float& operator()(int row, int col)
    -[more]float* ptr() +[more]inline float operator()(int row, int col) const
    -[more]const float* ptr() const +[more]inline const bool valid() const
    -[more]inline void ensureRealized() const +[more]inline const bool isNaN() const
    -[more]void makeIdentity() +[more]void set( float const* const )
    -[more]void makeScale( const Vec3& ) +[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 makeScale( float, float, float ) +[more]float* ptr()
    -[more]void makeTranslate( const Vec3& ) +[more]const float* ptr() const
    -[more]void makeTranslate( float, float, float ) +[more]void makeIdentity()
    -[more]void makeRotate( const Vec3& from, const Vec3& to ) +[more]void makeScale( const Vec3& )
    -[more]void makeRotate( float angle, const Vec3& axis ) +[more]void makeScale( float, float, float )
    -[more]void makeRotate( float angle, float x, float y, float z ) +[more]void makeTranslate( const Vec3& )
    -[more]void makeRotate( const Quat& ) +[more]void makeTranslate( float, float, float )
    -[more]void makeRotate( float, float, float ) +[more]void makeRotate( const Vec3& from, const Vec3& to )
    -[more]bool invert( const Matrix& ) +[more]void makeRotate( float angle, const Vec3& axis )
    -[more]bool invertAffine( const Matrix& ) +[more]void makeRotate( float angle, float x, float y, float z )
    -[more]inline static Matrix identity( void ) +[more]void makeRotate( const Quat& )
    -[more]inline static Matrix scale( const Vec3& ) +[more]void makeRotate( float, float, float )
    -[more]inline static Matrix scale( float, float, float ) +[more]bool invert( const Matrix& )
    -[more]inline static Matrix translate( const Vec3& ) +[more]bool invertAffine( const Matrix& )
    -[more]inline static Matrix translate( float, float, float ) +[more]inline static Matrix identity( void )
    -[more]inline static Matrix rotate( const Vec3&, const Vec3& ) +[more]inline static Matrix scale( const Vec3& )
    -[more]inline static Matrix rotate( float, float, float, float ) +[more]inline static Matrix scale( float, float, float )
    -[more]inline static Matrix rotate( float angle, const Vec3& axis) +[more]inline static Matrix translate( const Vec3& )
    -[more]inline static Matrix rotate( const Quat& ) +[more]inline static Matrix translate( float, float, float )
    -[more]void setTrans( float tx, float ty, float tz ) +[more]inline static Matrix rotate( const Vec3&, const Vec3& )
    -[more]void setTrans( const Vec3& v ) +[more]inline static Matrix rotate( float, float, float, float )
    -[more]Vec3 getTrans() const +[more]inline static Matrix rotate( float angle, const Vec3& axis)
    -[more]inline static Vec3 transform3x3(const Vec3& v, const Matrix& m) +[more]inline static Matrix rotate( const Quat& ) +
    +[more]void setTrans( float tx, float ty, float tz ) +
    +[more]void setTrans( const Vec3& v ) +
    +[more]Vec3 getTrans() const +
    +[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(const Vec3& from, const Vec3& to ) +[more]inline Matrix rotate(const Vec3& from, const Vec3& to )
    -[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


    Inherited from Object:

    -

    -

    Public Methods

    -ovirtual Object* clone() const -
    -ovirtual bool isSameKindAs(const Object*) const -
    -ovirtual const char* className() const -

    -

    Inherited from Referenced:

    @@ -193,270 +192,286 @@

    Documentation

    - - -
    o META_Object(Matrix) -

    - +

    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* className() const +

    - +

    ovirtual ~Matrix()

    - +

    oMatrix& operator = (const 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 +

    - +

    ovoid set( float const* const )

    - +

    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

    - - -

    oinline void ensureRealized() 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, float, float )

    - +

    obool invert( const Matrix& )

    - +

    obool invertAffine( const Matrix& )

    - +

    oinline static Matrix identity( void )

    - +

    oinline static Matrix scale( const Vec3& )

    - +

    oinline static Matrix scale( float, float, float )

    - +

    oinline static Matrix translate( const Vec3& )

    - +

    oinline static Matrix translate( float, float, float )

    - +

    oinline static Matrix rotate( const Vec3&, const Vec3& )

    - +

    oinline static Matrix rotate( float, float, float, float )

    - +

    oinline static Matrix rotate( float angle, const Vec3& axis)

    - +

    oinline static Matrix rotate( const Quat& )

    - +

    ovoid setTrans( float tx, float ty, float tz )

    - +

    ovoid setTrans( const Vec3& v )

    - +

    oVec3 getTrans() 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(const Vec3& from, const Vec3& to )

    - +

    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/MemoryAdapter.html b/doc/doc++/osg/MemoryAdapter.html index 6141725a1..d0411fa18 100644 --- a/doc/doc++/osg/MemoryAdapter.html +++ b/doc/doc++/osg/MemoryAdapter.html @@ -23,21 +23,21 @@

    Public Methods

    -[more] MemoryAdapter() +[more] MemoryAdapter()
    -[more]virtual void ref_data(void* ) = 0 +[more]virtual void ref_data(void* ) = 0
    Increment the reference count of the userData
    -[more]virtual void unref_data(void* ) = 0 +[more]virtual void unref_data(void* ) = 0
    Decrement the reference count of the userData.
    -[more]virtual void* clone_data(void* ) +[more]virtual void* clone_data(void* )
    not current used, but will be used in future

    Protected Methods

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

    @@ -70,16 +70,16 @@ which can be attached to osg::Node.
    - +
    o MemoryAdapter()

    - +

    ovirtual void ref_data(void* ) = 0
    Increment the reference count of the userData

    - +

    ovirtual void unref_data(void* ) = 0
    Decrement the reference count of the userData. Is usually implemented such that if reference count @@ -88,12 +88,12 @@ deleted. However, this is entirely up to the discretion of the user who is extending this base class.

    - +

    ovirtual void* clone_data(void* )
    not current used, but will be used in future

    - +

    ovirtual ~MemoryAdapter()

    diff --git a/doc/doc++/osg/Node.html b/doc/doc++/osg/Node.html index fdf390646..48a3e39b8 100644 --- a/doc/doc++/osg/Node.html +++ b/doc/doc++/osg/Node.html @@ -23,165 +23,177 @@

    Public Methods

    -[more] Node() +[more] Node()
    Construct a node.
    -[more]virtual Object* clone() const -
    return a shallow copy of a node, with Object* return type +[more] Node(const Node&, 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 Object* cloneType() const +
    clone the an object of the same type as the node +
    +[more]virtual Object* clone(const CopyOp& copyop) const +
    return a clone of a node, with Object* return type +
    +[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* className() const +[more]virtual const char* className() const
    return the name of the node's class type
    -[more]virtual void accept(NodeVisitor& nv) +[more]virtual void accept(NodeVisitor& nv)
    Visitor Pattern : calls the apply method of a NodeVisitor with this node's type
    -[more]virtual void ascend(NodeVisitor& nv) +[more]virtual void ascend(NodeVisitor& nv)
    Traverse upwards : calls parents' accept method with NodeVisitor
    -[more]virtual void traverse(NodeVisitor& ) +[more]virtual void traverse(NodeVisitor& )
    Traverse downwards : calls children's accept method with NodeVisitor
    -[more]inline void setName( const std::string& name ) +[more]inline void setName( const std::string& name )
    Set the name of node using C++ style string
    -[more]inline void setName( const char* name ) +[more]inline void setName( const char* name )
    Set the name of node using a C style string
    -[more]inline const std::string& getName() const +[more]inline const std::string& getName() const
    Get the name of node
    -[more]inline const ParentList& getParents() const +[more]inline const ParentList& getParents() const
    Get the parent list of node.
    -[more]inline Group* getParent(const int i) +[more]inline ParentList getParents()
    Get the a copy of parent list of node.
    -[more]inline const Group* getParent(const int i) const +[more]inline Group* getParent(const int i) +
    +[more]inline const Group* getParent(const int i) const
    Get a single const parent of node.
    -[more]inline const int getNumParents() const +[more]inline const int getNumParents() const
    Get the number of parents of node.
    -[more]void setAppCallback(NodeCallback* nc) +[more]void setAppCallback(NodeCallback* nc)
    Set app node callback, called during app traversal.
    -[more]inline NodeCallback* getAppCallback() +[more]inline NodeCallback* getAppCallback()
    Get app node callback, called during app traversal.
    -[more]inline const NodeCallback* getAppCallback() const +[more]inline const NodeCallback* getAppCallback() const
    Get const app node callback, called during app traversal.
    -[more]inline const int getNumChildrenRequiringAppTraversal() const +[more]inline const int getNumChildrenRequiringAppTraversal() const
    Get the number of Children of this node which require App traversal, since they have an AppCallback attached to them or their children
    -[more]void setCullingActive(const bool active) +[more]void setCullingActive(const bool active)
    Set the view frustum/small feature culling of this node to be active or inactive.
    -[more]inline const bool getCullingActive() const +[more]inline const bool getCullingActive() const
    Get the view frustum/small feature _cullingActive flag.
    -[more]inline const int getNumChildrenWithCullingDisabled() const +[more]inline const int getNumChildrenWithCullingDisabled() const
    Get the number of Children of this node which have culling disabled
    -[more]inline void setUserData(osg::Referenced* obj) +[more]inline void setUserData(osg::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
    -[more]inline void setNodeMask(const NodeMask nm) +[more]inline void setNodeMask(const NodeMask nm)
    Set the node mask.
    -[more]inline const NodeMask getNodeMask() const +[more]inline const NodeMask getNodeMask() const
    Get the node Mask.
    -[more]inline const DescriptionList& getDescriptions() const +[more]inline const DescriptionList& getDescriptions() const
    Get the description list of the const node
    -[more]inline DescriptionList& getDescriptions() +[more]inline DescriptionList& getDescriptions()
    Get the description list of the const node
    -[more]inline const std::string& getDescription(const int i) const +[more]inline const std::string& getDescription(const int i) const
    Get a single const description of the const node
    -[more]inline std::string& getDescription(const int i) +[more]inline std::string& getDescription(const int i)
    Get a single description of the node
    -[more]inline const int getNumDescriptions() const +[more]inline const int getNumDescriptions() const
    Get the number of descriptions of the node
    -[more]void addDescription(const std::string& desc) +[more]void addDescription(const std::string& desc)
    Add a description string to the node
    -[more]inline void setStateSet(osg::StateSet* dstate) +[more]inline void setStateSet(osg::StateSet* dstate)
    set the node's StateSet
    -[more]inline osg::StateSet* getStateSet() +[more]inline osg::StateSet* getStateSet()
    return the node's StateSet
    -[more]inline const osg::StateSet* getStateSet() const +[more]inline const osg::StateSet* getStateSet() const
    return the node's const StateSet
    -[more]inline const BoundingSphere& getBound() const +[more]inline const BoundingSphere& getBound() const
    get the bounding sphere of node.
    -[more]void dirtyBound() +[more]void dirtyBound()
    Mark this node's bounding sphere dirty.

    Public Members

    -[more]typedef std::vector<Group*> ParentList +[more]typedef std::vector<Group*> ParentList
    A vector of osg::Group pointers which is used to store the parent(s) of node
    -[more]typedef std::vector<std::string> DescriptionList +[more]typedef std::vector<std::string> DescriptionList
    A vector of std::string's which are used to describe the object

    Protected Fields

    -[more]mutable BoundingSphere _bsphere +[more]mutable BoundingSphere _bsphere
    -[more]mutable bool _bsphere_computed +[more]mutable bool _bsphere_computed
    -[more]std::string _name +[more]std::string _name
    -[more]ParentList _parents +[more]ParentList _parents
    -[more]ref_ptr<NodeCallback> _appCallback +[more]ref_ptr<NodeCallback> _appCallback
    -[more]int _numChildrenRequiringAppTraversal +[more]int _numChildrenRequiringAppTraversal
    -[more]bool _cullingActive +[more]bool _cullingActive
    -[more]int _numChildrenWithCullingDisabled +[more]int _numChildrenWithCullingDisabled
    -[more]osg::ref_ptr<Referenced> _userData +[more]osg::ref_ptr<Referenced> _userData
    -[more]NodeMask _nodeMask +[more]NodeMask _nodeMask
    -[more]DescriptionList _descriptions +[more]DescriptionList _descriptions
    -[more]ref_ptr<StateSet> _dstate +[more]ref_ptr<StateSet> _dstate

    Protected Methods

    -[more]virtual ~Node() +[more]virtual ~Node()
    Node destructor.
    -[more]virtual const bool computeBound() const +[more]virtual const bool computeBound() const
    Compute the bounding sphere around Node's geometry or children.
    -[more]void setNumChildrenRequiringAppTraversal(const int num) +[more]void addParent(osg::Group* node)
    -[more]void setNumChildrenWithCullingDisabled(const int num) +[more]void removeParent(osg::Group* node) +
    +[more]void setNumChildrenRequiringAppTraversal(const int num) +
    +[more]void setNumChildrenWithCullingDisabled(const int num)

    @@ -216,75 +228,89 @@ Provides interface for most common node operations (Composite Pattern). - +
    o Node()
    Construct a node. Initialize the parent list to empty, node name to "" and bounding sphere dirty flag to true.

    + + +

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

    + + +

    ovirtual Object* cloneType() const +
    clone the an object of the same type as the node +

    - -

    ovirtual Object* clone() const -
    return a shallow copy of a node, with Object* return type + +
    ovirtual Object* clone(const CopyOp& copyop) const +
    return a clone of a node, with Object* return type

    - +

    ovirtual bool isSameKindAs(const Object* obj) const
    return true if this and obj are of the same kind of object

    - +

    ovirtual const char* className() const
    return the name of the node's class type

    - +

    ovirtual void accept(NodeVisitor& nv)
    Visitor Pattern : calls the apply method of a NodeVisitor with this node's type

    - +

    ovirtual void ascend(NodeVisitor& nv)
    Traverse upwards : calls parents' accept method with NodeVisitor

    - +

    ovirtual void traverse(NodeVisitor& )
    Traverse downwards : calls children's accept method with NodeVisitor

    - +

    oinline void setName( const std::string& name )
    Set the name of node using C++ style string

    - +

    oinline void setName( const char* name )
    Set the name of node using a C style string

    - +

    oinline const std::string& getName() const
    Get the name of node

    - +

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

    - -

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

    - - -

    oinline Group* getParent(const int i) + + +
    oinline ParentList getParents()
    Get the a copy of parent list of node. A copy is returned to prevent modification of the parent list.

    - + +

    oinline Group* getParent(const int i) +

    + +

    oinline const Group* getParent(const int i) const
    Get a single const parent of node. @@ -292,53 +318,53 @@ Get a single const parent of node.
    Parameters:
    i - index of the parent to get.
    Returns:
    the parent i.

    - +

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

    - +

    ovoid setAppCallback(NodeCallback* nc)
    Set app node callback, called during app traversal.

    - +

    oinline NodeCallback* getAppCallback()
    Get app node callback, called during app traversal.

    - +

    oinline const NodeCallback* getAppCallback() const
    Get const app node callback, called during app traversal.

    - +

    oinline const int getNumChildrenRequiringAppTraversal() const
    Get the number of Children of this node which require App traversal, since they have an AppCallback attached to them or their children

    - +

    ovoid setCullingActive(const bool active)
    Set the view frustum/small feature culling of this node to be active or inactive. The default value to true for _cullingActive. Used a guide to the cull traversal.

    - +

    oinline const bool getCullingActive() const
    Get the view frustum/small feature _cullingActive flag. Used a guide to the cull traversal.

    - +

    oinline const int getNumChildrenWithCullingDisabled() const
    Get the number of Children of this node which have culling disabled

    - +

    oinline void setUserData(osg::Referenced* obj)
    Set user data, data must be subclased from Referenced to allow @@ -347,89 +373,89 @@ 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

    - +

    oinline void setNodeMask(const NodeMask nm)
    Set the node mask. Note, node mask is will be replaced by TraversalMask.

    - +

    oinline const NodeMask getNodeMask() const
    Get the node Mask. Note, node mask is will be replaced by TraversalMask.

    - +

    otypedef std::vector<std::string> DescriptionList
    A vector of std::string's which are used to describe the object

    - -

    oinline const DescriptionList& getDescriptions() const + +
    oinline const DescriptionList& getDescriptions() const
    Get the description list of the const node

    - -

    oinline DescriptionList& getDescriptions() + +
    oinline DescriptionList& getDescriptions()
    Get the description list of the const node

    - +

    oinline const std::string& getDescription(const int i) const
    Get a single const description of the const node

    - +

    oinline std::string& getDescription(const int i)
    Get a single description of the node

    - +

    oinline const int getNumDescriptions() const
    Get the number of descriptions of the node

    - +

    ovoid addDescription(const std::string& desc)
    Add a description string to the node

    - +

    oinline void setStateSet(osg::StateSet* dstate)
    set the node's StateSet

    - +

    oinline osg::StateSet* getStateSet()
    return the node's StateSet

    - +

    oinline const osg::StateSet* getStateSet() const
    return the node's const StateSet

    - +

    oinline const BoundingSphere& getBound() const
    get the bounding sphere of node. Using lazy evaluation computes the bounding sphere if it is 'dirty'.

    - +

    ovoid dirtyBound()
    Mark this node's bounding sphere dirty. Forcing it to be computed on the next call to getBound().

    - +

    ovirtual ~Node()
    Node destructor. Note, is protected so that Nodes cannot be deleted other than by being dereferenced and the reference @@ -440,66 +466,74 @@ forcing all nodes to be created on the heap i.e Node* node = new Node().

    - +

    ovirtual const bool computeBound() const
    Compute the bounding sphere around Node's geometry or children. This method is automatically called by getBound() when the bounding sphere has been marked dirty via dirtyBound().

    - +

    omutable BoundingSphere _bsphere

    - +

    omutable bool _bsphere_computed

    - +

    ostd::string _name

    + + +

    ovoid addParent(osg::Group* node) +

    + + +

    ovoid removeParent(osg::Group* node) +

    - -

    oParentList _parents + +
    oParentList _parents

    - +

    oref_ptr<NodeCallback> _appCallback

    - +

    oint _numChildrenRequiringAppTraversal

    - +

    ovoid setNumChildrenRequiringAppTraversal(const int num)

    - +

    obool _cullingActive

    - +

    oint _numChildrenWithCullingDisabled

    - +

    ovoid setNumChildrenWithCullingDisabled(const int num)

    - +

    oosg::ref_ptr<Referenced> _userData

    - +

    oNodeMask _nodeMask

    - -

    oDescriptionList _descriptions + +
    oDescriptionList _descriptions

    - +

    oref_ptr<StateSet> _dstate


    @@ -509,7 +543,7 @@ sphere has been marked dirty via dirtyBound(). Geode
    -
    Friends:
    Group

    Alphabetic index HTML hierarchy of classes or Java


    +
    Friends:
    class osg::Group

    Alphabetic index HTML hierarchy of classes or Java



    This page was generated with the help of DOC++. diff --git a/doc/doc++/osg/NodeAcceptOp.html b/doc/doc++/osg/NodeAcceptOp.html index fa7dd7493..a795fefa6 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 a383b2f20..653f81cb4 100644 --- a/doc/doc++/osg/NodeCallback.html +++ b/doc/doc++/osg/NodeCallback.html @@ -22,41 +22,41 @@

    Public Fields

    -[more]Requirements _requirements +[more]Requirements _requirements
    -[more]ref_ptr<NodeCallback> _nestedCallback +[more]ref_ptr<NodeCallback> _nestedCallback

    Public Methods

    -[more] NodeCallback(const Requirements ncr=NO_REQUIREMENTS) +[more] NodeCallback(const Requirements ncr=NO_REQUIREMENTS)
    -[more]virtual ~NodeCallback() +[more]virtual ~NodeCallback()
    -[more]inline void setRequirements(const Requirements ncr) +[more]inline void setRequirements(const Requirements ncr)
    Set what values from traversal are required by this NodeCallback
    -[more]inline const Requirements getRequirements() const +[more]inline const Requirements getRequirements() const
    Get what values from traversal are required by this NodeCallback
    -[more]virtual void operator()(Node*, NodeVisitor*) +[more]virtual void operator()(Node*, NodeVisitor*)
    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)

    Public Members

    -[more]enum Requirements +[more]enum Requirements
    The range of values which can be accumulated by the NodeVisitor.

    @@ -87,82 +87,82 @@
    - +
    oenum Requirements
    The range of values which can be accumulated by the NodeVisitor.

    - +
    o NO_REQUIREMENTS

    - +

    o REQUIRES_TRAVERSAL

    - +

    o REQUIRES_PARENT_PATH

    - +

    o REQUIRES_ACCUMULATED_MATRIX

    - +

    o REQUIRES_ACCUMULATED_INVERSE

    - -
    o NodeCallback(const Requirements ncr=NO_REQUIREMENTS) + +
    o NodeCallback(const Requirements ncr=NO_REQUIREMENTS)

    - +

    ovirtual ~NodeCallback()

    - -

    oinline void setRequirements(const Requirements ncr) + +
    oinline void setRequirements(const Requirements ncr)
    Set what values from traversal are required by this NodeCallback

    - -

    oinline const Requirements getRequirements() const + +
    oinline const Requirements getRequirements() const
    Get what values from traversal are required by this NodeCallback

    - +

    ovirtual void operator()(Node*, NodeVisitor*)
    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)

    - -

    oRequirements _requirements + +
    oRequirements _requirements

    - +

    oref_ptr<NodeCallback> _nestedCallback

    diff --git a/doc/doc++/osg/NodeVisitor.html b/doc/doc++/osg/NodeVisitor.html index c5f5e39f5..c4c051f55 100644 --- a/doc/doc++/osg/NodeVisitor.html +++ b/doc/doc++/osg/NodeVisitor.html @@ -23,96 +23,114 @@

    Public Methods

    -[more] NodeVisitor(TraversalMode tm=TRAVERSE_NONE) +[more] NodeVisitor(TraversalMode tm=TRAVERSE_NONE)
    -[more]virtual ~NodeVisitor() +[more]virtual ~NodeVisitor()
    -[more]virtual void reset() +[more]virtual void reset()
    Method to call to reset visitor.
    -[more]inline void setTraversalNumber(const int fn) +[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]NodeVisitor* getTraversalVisitor() +[more]inline NodeVisitor* getTraversalVisitor()
    Get the traversal visitor, returns NULL if none is attached
    -[more]void traverse(Node& node) -
    Inline method for handling traversal of a nodes. +[more]inline void traverse(Node& node) +
    Method for handling traversal of a nodes.
    -[more]virtual void apply(Node& node) +[more]inline void pushOntoNodePath(Node* node) +
    Method called by osg::Node::accept() method before a call the NodeVisitor::apply().
    -[more]virtual void apply(Geode& node) +[more]inline void popFromNodePath() +
    Method callby osg::Node::accept() method after a call the NodeVisitor::apply().
    -[more]virtual void apply(Billboard& node) +[more]NodePath& getNodePath() +
    Get the non const NodePath from the top most node applied down to the current Node being visited
    -[more]virtual void apply(LightSource& node) +[more]const NodePath& getNodePath() const +
    Get the const NodePath from the top most node applied down to the current Node being visited
    -[more]virtual void apply(Group& node) +[more]const bool getLocalToWorldMatrix(Matrix& matrix, MatrixMode mode) +
    Get the Local To World Matrix from the NodePath for specified Transform::Mode
    -[more]virtual void apply(Transform& node) +[more]const bool getWorldToLocalMatrix(Matrix& matrix, MatrixMode mode) +
    Get the World To Local Matrix from the NodePath for specified Transform::Mode
    -[more]virtual void apply(Switch& node) +[more]virtual void apply(Node& node)
    -[more]virtual void apply(Sequence& node) +[more]virtual void apply(Geode& node)
    -[more]virtual void apply(LOD& node) +[more]virtual void apply(Billboard& node)
    -[more]virtual void apply(Impostor& node) +[more]virtual void apply(LightSource& node)
    -[more]virtual void apply(EarthSky& node) +[more]virtual void apply(Group& node) +
    +[more]virtual void apply(Transform& node) +
    +[more]virtual void apply(Switch& node) +
    +[more]virtual void apply(LOD& node) +
    +[more]virtual void apply(Impostor& node) +
    +[more]virtual void apply(EarthSky& node)

    Public Members

    -[more]enum TraversalMode +[more]enum TraversalMode

    Protected Fields

    -[more]int _traversalNumber +[more]int _traversalNumber
    -[more]ref_ptr<FrameStamp> _frameStamp +[more]ref_ptr<FrameStamp> _frameStamp
    -[more]ref_ptr<NodeVisitor> _traversalVisitor +[more]ref_ptr<NodeVisitor> _traversalVisitor
    -[more]TraversalMode _traversalMode +[more]TraversalMode _traversalMode
    -[more]Node::NodeMask _traversalMask +[more]Node::NodeMask _traversalMask
    -[more]Node::NodeMask _nodeMaskOverride +[more]Node::NodeMask _nodeMaskOverride +
    +[more]NodePath _nodePath

    @@ -156,41 +174,41 @@ not be called.
    - +
    oenum TraversalMode

    - +
    o TRAVERSE_NONE

    - +

    o TRAVERSE_PARENTS

    - +

    o TRAVERSE_ALL_CHILDREN

    - +

    o TRAVERSE_ACTIVE_CHILDREN

    - +

    o TRAVERSE_VISITOR

    - -
    o NodeVisitor(TraversalMode tm=TRAVERSE_NONE) + +
    o NodeVisitor(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. @@ -198,27 +216,27 @@ To flush that state for the next traversal than call reset() prior to each traversal.

    - +

    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 @@ -231,12 +249,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 @@ -245,12 +263,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. @@ -260,8 +278,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() @@ -269,96 +287,137 @@ 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.

    - -

    oNodeVisitor* getTraversalVisitor() + +
    oinline NodeVisitor* getTraversalVisitor()
    Get the traversal visitor, returns NULL if none is attached

    - -

    ovoid traverse(Node& node) -
    Inline method for handling traversal of a nodes. + +
    oinline void traverse(Node& node) +
    Method for handling traversal of a nodes. If you intend to use the visitor for actively traversing 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, +therefore, be the current node being visited inside the apply(..), +and the rest of the list will be the parental sequence of nodes +from the top most node applied down the graph to the current node. +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(). +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, MatrixMode mode) +
    Get the Local To World Matrix from the NodePath for specified Transform::Mode +

    + + +

    oconst bool getWorldToLocalMatrix(Matrix& matrix, MatrixMode mode) +
    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(Group& node)

    - +

    ovirtual void apply(Transform& 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)

    - +

    oint _traversalNumber

    - +

    oref_ptr<FrameStamp> _frameStamp

    - +

    oref_ptr<NodeVisitor> _traversalVisitor

    - -

    oTraversalMode _traversalMode + +
    oTraversalMode _traversalMode

    - +

    oNode::NodeMask _traversalMask

    - +

    oNode::NodeMask _nodeMaskOverride +

    + + +

    oNodePath _nodePath


    This class has no child classes.
    diff --git a/doc/doc++/osg/NotifySeverity.html b/doc/doc++/osg/NotifySeverity.html index cd5c46be9..d258b2da3 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 75112fb7c..a26289b81 100644 --- a/doc/doc++/osg/Object.html +++ b/doc/doc++/osg/Object.html @@ -11,11 +11,11 @@

    Inheritance:

    - - - - - + + + + +
    @@ -23,21 +23,27 @@

    Public Methods

    -[more] Object() +[more] Object()
    Construct an object.
    -[more]virtual Object* clone() const = 0 -
    return a shallow copy of a node, with Object* return type. +[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 bool isSameKindAs(const Object*) const +[more]virtual Object* cloneType() const = 0 +
    Clone the type of an object, with Object* return type.
    -[more]virtual const char* className() 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 const char* className() const = 0
    return the name of the object's class type.

    Protected Methods

    -[more]virtual ~Object() +[more]virtual ~Object()
    Object destructor.

    @@ -71,31 +77,43 @@ Based on GOF Composite, Prototype and Template Method patterns.
    - +
    o Object()
    Construct an object. Note Object is a pure virtual base class and therefore cannot be constructed on its own, only derived 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) +
    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 = 0 -
    return a shallow copy of a node, with Object* return type. + +
    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* className() const = 0
    return the name of the object's class type. Must be defined by derived classes.

    - +

    ovirtual ~Object()
    Object destructor. Note, is protected so that Objects cannot be deleted other than by being dereferenced and the reference @@ -107,8 +125,7 @@ forcing all nodes to be created on the heap i.e Node* node


    Direct child classes: -
    Statistics
    -StateSet
    +
    StateSet
    StateAttribute
    Node
    Matrix
    diff --git a/doc/doc++/osg/Plane.html b/doc/doc++/osg/Plane.html index d7967e7e4..f4bb1671a 100644 --- a/doc/doc++/osg/Plane.html +++ b/doc/doc++/osg/Plane.html @@ -13,68 +13,68 @@

    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 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 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 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

    @@ -86,90 +86,90 @@
    - +
    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 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 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 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 const float distance(const osg::Vec3& v) const
    calculate the distance between a point and 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, @@ -177,7 +177,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, @@ -185,7 +185,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 @@ -195,21 +195,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 55472135d..661783d9c 100644 --- a/doc/doc++/osg/Point.html +++ b/doc/doc++/osg/Point.html @@ -23,44 +23,47 @@

    Public Methods

    -[more] Point() +[more] Point()
    -[more] META_StateAttribute(Point, POINT) +[more] Point(const Point& point, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more]virtual int compare(const StateAttribute& sa) const +[more] META_StateAttribute(Point, POINT) +
    +[more]virtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
    -[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) 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()

    @@ -68,13 +71,15 @@

    Public Methods

    -ovirtual Object* clone() const +ovirtual Object* cloneType() const +
    +ovirtual Object* clone(const CopyOp&) const
    ovirtual bool isSameKindAs(const Object* obj) const
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -131,68 +136,73 @@
    - +
    o Point()

    + + +

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

    - -

    o META_StateAttribute(Point, POINT) + +
    o META_StateAttribute(Point, POINT)

    - +

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

    - -

    ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) const + +
    ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) const

    - +

    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 0bdb876e3..f9fa59683 100644 --- a/doc/doc++/osg/PolygonMode.html +++ b/doc/doc++/osg/PolygonMode.html @@ -23,41 +23,44 @@

    Public Methods

    -[more] PolygonMode() +[more] PolygonMode()
    -[more] META_StateAttribute(PolygonMode, POLYGONMODE) +[more] PolygonMode(const PolygonMode& pm, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more]virtual int compare(const StateAttribute& sa) const +[more] META_StateAttribute(PolygonMode, POLYGONMODE) +
    +[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()

    @@ -65,13 +68,15 @@

    Public Methods

    -ovirtual Object* clone() const +ovirtual Object* cloneType() const +
    +ovirtual Object* clone(const CopyOp&) const
    ovirtual bool isSameKindAs(const Object* obj) const
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -79,7 +84,7 @@
    obool operator != (const StateAttribute& rhs) const
    -ovirtual void setStateSetModes(StateSet&, const GLModeValue) const +ovirtual void setStateSetModes(StateSet&, const GLModeValue) const
    ovirtual void compile(State&) const

    @@ -130,85 +135,90 @@
    - +
    o PolygonMode()

    + + +

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

    - -

    o META_StateAttribute(PolygonMode, POLYGONMODE) + +
    o META_StateAttribute(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 e381b4d22..cb4d4ce37 100644 --- a/doc/doc++/osg/PolygonOffset.html +++ b/doc/doc++/osg/PolygonOffset.html @@ -23,36 +23,39 @@

    Public Methods

    -[more] PolygonOffset() +[more] PolygonOffset()
    -[more] META_StateAttribute(PolygonOffset, POLYGONOFFSET) +[more] PolygonOffset(const PolygonOffset& po, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more]virtual int compare(const StateAttribute& sa) const +[more] META_StateAttribute(PolygonOffset, POLYGONOFFSET) +
    +[more]virtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
    -[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) 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()

    @@ -60,13 +63,15 @@

    Public Methods

    -ovirtual Object* clone() const +ovirtual Object* cloneType() const +
    +ovirtual Object* clone(const CopyOp&) const
    ovirtual bool isSameKindAs(const Object* obj) const
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -123,52 +128,57 @@
    - +
    o PolygonOffset()

    + + +

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

    - -

    o META_StateAttribute(PolygonOffset, POLYGONOFFSET) + +
    o META_StateAttribute(PolygonOffset, POLYGONOFFSET)

    - +

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

    - -

    ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) const + +
    ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) 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/Quat.html b/doc/doc++/osg/Quat.html index f7534fb8f..891ae6b6e 100644 --- a/doc/doc++/osg/Quat.html +++ b/doc/doc++/osg/Quat.html @@ -13,98 +13,98 @@

    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 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( const Vec3& vec1, const Vec3& vec2 )
    Make a rotation Quat which will rotate vec1 to vec2.
    -[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 osg::Matrix& m ) +[more]void set( const osg::Matrix& m )
    Set quaternion to be equivalent to specified matrix
    -[more]void get( osg::Matrix& m ) const +[more]void get( osg::Matrix& m ) const
    Get the equivalent matrix for this quaternion

    @@ -117,137 +117,137 @@
    - +
    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 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( 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 @@ -256,28 +256,28 @@ Watch out for the two special cases of when the vectors are co-incident or opposite in direction.

    - -

    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 osg::Matrix& m )
    Set quaternion to be equivalent to specified matrix

    - +

    ovoid get( osg::Matrix& m ) const
    Get the equivalent matrix for this quaternion

    diff --git a/doc/doc++/osg/Referenced.html b/doc/doc++/osg/Referenced.html index 4eb365696..a3290ea77 100644 --- a/doc/doc++/osg/Referenced.html +++ b/doc/doc++/osg/Referenced.html @@ -11,11 +11,11 @@

    Inheritance:

    - - - - - + + + + +
    @@ -23,30 +23,30 @@

    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 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()

    @@ -58,25 +58,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 @@ -84,21 +84,22 @@ reference count goes to zero, it is assumed that this object is no longer referenced and is automatically deleted.

    - +

    oinline const int referenceCount() const
    return the number pointers currently referencing this object.

    - +

    ovirtual ~Referenced()

    - +

    omutable int _refCount


    Direct child classes: -
    State
    +
    Statistics
    +State
    Object
    NodeVisitor
    NodeCallback
    diff --git a/doc/doc++/osg/State.html b/doc/doc++/osg/State.html index cb0aaf14a..fb7cb1061 100644 --- a/doc/doc++/osg/State.html +++ b/doc/doc++/osg/State.html @@ -23,62 +23,62 @@

    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 const bool apply_mode(const StateAttribute::GLMode mode, const bool enabled) +[more]inline const bool apply_mode(const StateAttribute::GLMode mode, const bool enabled)
    apply an OpenGL mode if required.
    -[more]inline const bool apply_attribute(const StateAttribute* attribute) +[more]inline const bool apply_attribute(const StateAttribute* attribute)
    apply an attribute if required.
    -[more]void apply(const StateSet* dstate) +[more]void apply(const StateSet* dstate)
    apply stateset
    -[more]void apply() +[more]void apply()
    apply the state
    -[more]void have_applied(const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value) +[more]void have_applied(const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value)
    mode has been set externally, update state to reflect this setting
    -[more]void have_applied(const StateAttribute* attribute) +[more]void have_applied(const StateAttribute* attribute)
    attribute has been applied externally, update state to reflect this setting
    -[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 setCamera(Camera* camera) +[more]inline void setCamera(Camera* camera)
    Set the camera.
    -[more]inline const Camera* getCamera() const +[more]inline const Camera* getCamera() const
    Get the camera
    -[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

    @@ -111,65 +111,65 @@ 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 const bool apply_mode(const StateAttribute::GLMode mode, const bool enabled)
    apply an OpenGL mode if required.

    - +

    oinline const bool apply_attribute(const StateAttribute* attribute)
    apply an attribute if required.

    - +

    ovoid apply(const StateSet* dstate)
    apply stateset

    - +

    ovoid apply()
    apply the state

    - +

    ovoid have_applied(const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value)
    mode has been set externally, update state to reflect this setting

    - +

    ovoid have_applied(const StateAttribute* attribute)
    attribute has been applied externally, update state to reflect this setting

    - +

    oinline void setContextID(unsigned int contextID)
    Set the current OpenGL context uniqueID. Note, it is the application developers responsibility to @@ -179,86 +179,86 @@ 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 setCamera(Camera* camera)
    Set the camera. Note, nothing is applied, the camera is just used used in the State object to pass the current camera to Drawables during rendering.

    - +

    oinline const Camera* getCamera() const
    Get the camera

    - +

    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

    diff --git a/doc/doc++/osg/StateAttribute.html b/doc/doc++/osg/StateAttribute.html index 758c3e7cd..64177dabc 100644 --- a/doc/doc++/osg/StateAttribute.html +++ b/doc/doc++/osg/StateAttribute.html @@ -11,11 +11,11 @@

    Inheritance:

    - - - - - + + + + +
    @@ -23,62 +23,67 @@

    Public Methods

    -[more] StateAttribute() +[more] StateAttribute()
    -[more]virtual Object* clone() const = 0 -
    return a shallow copy of a node, with Object* return type +[more] StateAttribute(const StateAttribute& sa, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    -[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual Object* cloneType() const = 0 +
    Clone the type of an attribute, with Object* return type. +
    +[more]virtual Object* clone(const CopyOp&) const = 0 +
    Clone an attribute, with Object* return type. +
    +[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* 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 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 setStateSetModes(StateSet&, const GLModeValue) const +[more]virtual void setStateSetModes(StateSet&, const GLModeValue) const
    -[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()

    @@ -112,26 +117,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 @@ -143,43 +148,43 @@ 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

    - +

    o OVERRIDE_OFF
    Equivilant to OFF | OVERRIDE

    - +

    o OVERRIDE_ON
    Equivilant to ON | OVERRIDE

    - +

    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 @@ -192,217 +197,232 @@ that types value.

    - +
    o TEXTURE

    - +

    o TEXTURE_0

    - +

    o TEXTURE_1

    - +

    o TEXTURE_2

    - +

    o TEXTURE_3

    - +

    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 SHADEMODEL +

    - +

    o POLYGONMODE

    - +

    o POLYGONOFFSET

    - +

    o TEXENV

    - +

    o TEXGEN

    - +

    o TEXMAT

    - +

    o TRANSPARENCY

    - +

    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) +

    + + +

    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 = 0 -
    return a shallow copy of a node, with Object* return type + +
    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* 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 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 setStateSetModes(StateSet&, const GLModeValue) const + +
    ovirtual void setStateSetModes(StateSet&, const GLModeValue) const

    - +

    ovirtual void apply(State&) const = 0
    apply the OpenGL state attributes. The global state for the current OpenGL context is passed @@ -410,12 +430,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()


    @@ -427,6 +447,7 @@ the current context and state. TexGen
    TexEnv
    Stencil
    +ShadeModel
    PolygonOffset
    PolygonMode
    Point
    diff --git a/doc/doc++/osg/StateSet.html b/doc/doc++/osg/StateSet.html index 5ad315e12..32eff5714 100644 --- a/doc/doc++/osg/StateSet.html +++ b/doc/doc++/osg/StateSet.html @@ -23,137 +23,139 @@

    Public Methods

    -[more] StateSet() +[more] StateSet()
    -[more] StateSet(const StateSet&) +[more] StateSet(const StateSet&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    -[more]virtual Object* clone() const +[more]virtual Object* cloneType() const
    -[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual Object* clone(const CopyOp& copyop) const
    -[more]virtual const char* className() const +[more]virtual bool isSameKindAs(const Object* obj) const
    -[more]int compare(const StateSet& rhs, bool compareAttributeContents=false) const +[more]virtual const char* className() 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 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]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&)

    @@ -190,166 +192,170 @@ in the graphics pipeline.
    - +
    o StateSet()

    - -

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

    + + +

    ovirtual Object* cloneType() const

    - -

    ovirtual Object* clone() const + +
    ovirtual Object* clone(const CopyOp& copyop) const

    - +

    ovirtual bool isSameKindAs(const Object* obj) const

    - +

    ovirtual const char* className() 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

    - +

    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 @@ -358,97 +364,97 @@ 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

    - +

    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 f945ab5ac..ca6d549f3 100644 --- a/doc/doc++/osg/Statistics.html +++ b/doc/doc++/osg/Statistics.html @@ -12,10 +12,10 @@

    Inheritance:

    - + - - + +
    @@ -23,80 +23,73 @@

    Public Fields

    -[more]int numOpaque +[more]int numOpaque
    -[more]int nummat +[more]int nummat
    -[more]int nbins +[more]int nbins
    -[more]int nprims +[more]int nprims
    -[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]int numprimtypes[16] +[more]int numprimtypes[16]
    -[more]int primtypes[16] +[more]int primtypes[16]
    -[more]int primlens[16] +[more]int primlens[16]
    -[more]int primverts[16] +[more]int primverts[16]

    Public Methods

    -[more] Statistics() +[more] Statistics()
    -[more] ~Statistics() +[more] ~Statistics()
    -[more]virtual osg::Object* clone() const +[more]void reset()
    -[more]virtual bool isSameKindAs(const osg::Object* obj) const +[more]void setType(statsType t)
    -[more]virtual const char* className() const +[more]virtual bool apply(osg::Drawable::AttributeBitMask abm, osg::Vec3* begin, osg::Vec3* end)
    -[more]void reset() +[more]void addNumPrims(const int typ, const int nprimlen, const int numprimtype, const int primvert)
    -[more]void setType(statsType t) +[more]void addOpaque()
    -[more]void addNumPrims(const int typ, const int nprimlen, const int numprimtype, const int primvert) +[more]void addMatrix()
    -[more]void addOpaque() +[more]void addLight(const int np)
    -[more]void addMatrix() +[more]void addNumPrims(const int np)
    -[more]void addLight(const int np) +[more]void addImpostor(const int np)
    -[more]void addNumPrims(const int np) +[more]inline const int getBins()
    -[more]void addImpostor(const int np) +[more]void setDepth(const int d)
    -[more]inline const int getBins() +[more]void addBins(const int np)
    -[more]void setDepth(const int d) -
    -[more]void addBins(const int np) -
    -[more]void setBinNo(const int n) +[more]void setBinNo(const int n)

    Public Members

    -[more]enum PrimitiveType +[more]enum PrimitiveType
    -[more]enum statsType +[more]enum statsType

    -
    -

    Inherited from Object:

    -

    Inherited from Referenced:

    @@ -116,6 +109,21 @@ omutable int _refCount

    + +

    Inherited from AttributeFunctor:

    +
    +

    +

    Public Methods

    +ovoid setAttributeBitMask(AttributeBitMask abm) +
    +oAttributeBitMask getAttributeBitMask() const +

    + +

    +

    Protected Fields

    +oAttributeBitMask _abm +

    +
    @@ -135,227 +143,219 @@ each trifan or tristrip = (length-2) triangles and so on.
    - +
    o Statistics()

    - +

    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

    - +

    o IMPOSTOR

    - +
    o ~Statistics()

    - - -

    ovirtual osg::Object* clone() const -

    - - -

    ovirtual bool isSameKindAs(const osg::Object* obj) const -

    - - -

    ovirtual const char* className() const -

    - +

    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 bool apply(osg::Drawable::AttributeBitMask abm, osg::Vec3* begin, osg::Vec3* end)

    - +

    ovoid addNumPrims(const int typ, const int nprimlen, const int numprimtype, const int primvert)

    - +

    ovoid addOpaque()

    - +

    ovoid addMatrix()

    - +

    ovoid addLight(const int np)

    - +

    ovoid addNumPrims(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 nprims

    - +

    oint nlights

    - +

    oint depth

    - +

    oint _binNo

    - -

    ostatsType stattype + +
    ostatsType stattype

    - +

    oint nimpostor

    - +

    oint numprimtypes[16]

    - +

    oint primtypes[16]

    - +

    oint primlens[16]

    - +

    oint primverts[16]

    diff --git a/doc/doc++/osg/Stencil.html b/doc/doc++/osg/Stencil.html index b8d7e593d..dbcc06399 100644 --- a/doc/doc++/osg/Stencil.html +++ b/doc/doc++/osg/Stencil.html @@ -23,69 +23,72 @@

    Public Methods

    -[more] Stencil() +[more] Stencil()
    -[more] META_StateAttribute(Stencil, STENCIL) +[more] Stencil(const Stencil& stencil, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more]virtual int compare(const StateAttribute& sa) const +[more] META_StateAttribute(Stencil, STENCIL) +
    +[more]virtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
    -[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) 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()

    @@ -93,13 +96,15 @@

    Public Methods

    -ovirtual Object* clone() const +ovirtual Object* cloneType() const +
    +ovirtual Object* clone(const CopyOp&) const
    ovirtual bool isSameKindAs(const Object* obj) const
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -156,109 +161,114 @@
    - +
    o Stencil()

    + + +

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

    - -

    o META_StateAttribute(Stencil, STENCIL) + +
    o META_StateAttribute(Stencil, STENCIL)

    - +

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

    - -

    ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) const + +
    ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) 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 @@ -268,62 +278,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 105393102..9e813b345 100644 --- a/doc/doc++/osg/Switch.html +++ b/doc/doc++/osg/Switch.html @@ -23,34 +23,37 @@

    Public Methods

    -[more] Switch() +[more] Switch()
    -[more] META_Node(Switch) +[more] Switch(const Switch&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more]virtual void traverse(NodeVisitor& nv) +[more] META_Node(Switch)
    -[more]inline void setValue(const int value) +[more]virtual void traverse(NodeVisitor& nv) +
    +[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()

    @@ -92,7 +95,9 @@

    Public Methods

    -ovirtual Object* clone() const +ovirtual Object* cloneType() const +
    +ovirtual Object* clone(const CopyOp& copyop) const
    ovirtual bool isSameKindAs(const Object* obj) const
    @@ -108,7 +113,9 @@
    oinline const std::string& getName() const
    -oinline const ParentList& getParents() const +oinline const ParentList& getParents() const +
    +oinline ParentList getParents()
    oinline Group* getParent(const int i)
    @@ -140,9 +147,9 @@
    oinline const NodeMask getNodeMask() const
    -oinline const DescriptionList& getDescriptions() const +oinline const DescriptionList& getDescriptions() const
    -oinline DescriptionList& getDescriptions() +oinline DescriptionList& getDescriptions()
    oinline const std::string& getDescription(const int i) const
    @@ -178,7 +185,7 @@
    ostd::string _name
    -oParentList _parents +oParentList _parents
    oref_ptr<NodeCallback> _appCallback
    @@ -192,13 +199,17 @@
    oNodeMask _nodeMask
    -oDescriptionList _descriptions +oDescriptionList _descriptions
    oref_ptr<StateSet> _dstate

    Protected Methods

    +ovoid addParent(osg::Group* node) +
    +ovoid removeParent(osg::Group* node) +
    ovoid setNumChildrenRequiringAppTraversal(const int num)
    ovoid setNumChildrenWithCullingDisabled(const int num) @@ -238,7 +249,7 @@ to represent the different states of a traffic light.
    - +
    oenum SwitchType
    Special mode values for the Switch. Use these if you want to @@ -246,50 +257,55 @@ 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) +
    Copy constructor using CopyOp to manage deep vs shallow copy +

    - +

    o META_Node(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.

    diff --git a/doc/doc++/osg/TexEnv.html b/doc/doc++/osg/TexEnv.html index 284014edf..8f9cc40b0 100644 --- a/doc/doc++/osg/TexEnv.html +++ b/doc/doc++/osg/TexEnv.html @@ -23,33 +23,36 @@

    Public Methods

    -[more] TexEnv( void ) +[more] TexEnv()
    -[more] META_StateAttribute(TexEnv, TEXENV) +[more] TexEnv(const TexEnv& texenv, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more]virtual int compare(const StateAttribute& sa) const +[more] META_StateAttribute(TexEnv, TEXENV) +
    +[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]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 ~TexEnv( void ) +[more]virtual ~TexEnv( void )

    @@ -57,13 +60,15 @@

    Public Methods

    -ovirtual Object* clone() const +ovirtual Object* cloneType() const +
    +ovirtual Object* clone(const CopyOp&) const
    ovirtual bool isSameKindAs(const Object* obj) const
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -71,7 +76,7 @@
    obool operator != (const StateAttribute& rhs) const
    -ovirtual void setStateSetModes(StateSet&, const GLModeValue) const +ovirtual void setStateSetModes(StateSet&, const GLModeValue) const
    ovirtual void compile(State&) const

    @@ -122,59 +127,64 @@
    - -
    o TexEnv( void ) + +
    o TexEnv() +

    + + +

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

    - -

    o META_StateAttribute(TexEnv, TEXENV) + +
    o META_StateAttribute(TexEnv, TEXENV)

    - +

    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

    - -
    ovoid setMode( const Mode mode ) + +
    ovoid setMode( const Mode mode )

    - -

    oconst Mode getMode() const + +
    oconst Mode getMode() const

    - +

    ovirtual void apply(State& state) const

    - +

    ovirtual ~TexEnv( void )

    - -

    oMode _mode + +
    oMode _mode


    This class has no child classes.
    diff --git a/doc/doc++/osg/TexGen.html b/doc/doc++/osg/TexGen.html index 59ca8d36e..d9932c106 100644 --- a/doc/doc++/osg/TexGen.html +++ b/doc/doc++/osg/TexGen.html @@ -23,50 +23,53 @@

    Public Methods

    -[more] TexGen( void ) +[more] TexGen()
    -[more] META_StateAttribute(TexGen, TEXGEN) +[more] TexGen(const TexGen& texgen, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more]virtual int compare(const StateAttribute& sa) const +[more] META_StateAttribute(TexGen, TEXGEN) +
    +[more]virtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
    -[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) 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 )

    @@ -74,13 +77,15 @@

    Public Methods

    -ovirtual Object* clone() const +ovirtual Object* cloneType() const +
    +ovirtual Object* clone(const CopyOp&) const
    ovirtual bool isSameKindAs(const Object* obj) const
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -137,105 +142,110 @@
    - -
    o TexGen( void ) + +
    o TexGen() +

    + + +

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

    - -

    o META_StateAttribute(TexGen, TEXGEN) + +
    o META_StateAttribute(TexGen, TEXGEN)

    - +

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

    - -

    ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) const + +
    ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) const

    - +

    ovirtual void apply(State& state) const

    - +

    oenum Mode

    - +
    o OBJECT_LINEAR

    - +

    o EYE_LINEAR

    - +

    o SPHERE_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 aafaa6731..5580254e9 100644 --- a/doc/doc++/osg/TexMat.html +++ b/doc/doc++/osg/TexMat.html @@ -23,34 +23,37 @@

    Public Methods

    -[more] TexMat( void ) +[more] TexMat()
    -[more] META_StateAttribute(TexMat, TEXMAT) +[more] TexMat(const TexMat& texmat, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more]virtual int compare(const StateAttribute& sa) const +[more] META_StateAttribute(TexMat, TEXMAT) +
    +[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 )

    @@ -58,13 +61,15 @@

    Public Methods

    -ovirtual Object* clone() const +ovirtual Object* cloneType() const +
    +ovirtual Object* clone(const CopyOp&) const
    ovirtual bool isSameKindAs(const Object* obj) const
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -72,7 +77,7 @@
    obool operator != (const StateAttribute& rhs) const
    -ovirtual void setStateSetModes(StateSet&, const GLModeValue) const +ovirtual void setStateSetModes(StateSet&, const GLModeValue) const
    ovirtual void compile(State&) const

    @@ -123,44 +128,49 @@
    - -
    o TexMat( void ) + +
    o TexMat() +

    + + +

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

    - -

    o META_StateAttribute(TexMat, TEXMAT) + +
    o META_StateAttribute(TexMat, TEXMAT)

    - +

    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 595365ed9..ee7290618 100644 --- a/doc/doc++/osg/Texture.html +++ b/doc/doc++/osg/Texture.html @@ -23,160 +23,163 @@

    Public Methods

    -[more] Texture() +[more] Texture()
    -[more] META_StateAttribute(Texture, (Type)(TEXTURE_0+_textureUnit)) +[more] Texture(const Texture& text, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more]virtual int compare(const StateAttribute& rhs) const +[more] META_StateAttribute(Texture, (Type)(TEXTURE_0+_textureUnit)) +
    +[more]virtual int compare(const StateAttribute& rhs) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
    -[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const
    -[more]void setImage(Image* image) +[more]void setImage(Image* image)
    Set the texture image.
    -[more]Image* getImage() +[more]Image* getImage()
    Get the texture image.
    -[more]inline const Image* getImage() const +[more]inline const Image* getImage() const
    Get the const texture image.
    -[more]void copyTexImage2D(State& state, int x, int y, int width, int height ) +[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 ) +[more]void copyTexSubImage2D(State& state, int xoffset, int yoffset, int x, int y, int width, int height )
    Copy a two-dimensional texture subimage.
    -[more]inline void setTextureUnit(const unsigned int textureUnit) +[more]inline void setTextureUnit(const unsigned int textureUnit)
    Set the texture unit.
    -[more]inline const unsigned int getTextureUnit() const +[more]inline const unsigned int getTextureUnit() const
    get the texture unit
    -[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 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]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 setInternalFormatValue(const int internalFormat)
    Set the internal format to use when creating OpenGL textures.
    -[more]inline const int getInternalFormatValue() const +[more]inline const int getInternalFormatValue() const
    Get the internal format to use when creating OpenGL textures
    -[more]inline const uint getTextureObject(const uint contextID) const +[more]inline const uint getTextureObject(const uint contextID) const
    return the OpenGL texture object for specified context
    -[more]inline const uint getTextureObjectSize() const +[more]inline const uint getTextureObjectSize() const
    return the memory size of texture object.
    -[more]inline void setSubloadMode(const SubloadMode mode) +[more]inline void setSubloadMode(const SubloadMode mode)
    Set the texture subload mode.
    -[more]inline const SubloadMode getSubloadMode() const +[more]inline const SubloadMode getSubloadMode() const
    Get the texture subload mode.
    -[more]inline void setSubloadOffset(const int x, const int y) +[more]inline void setSubloadOffset(const int x, const int y)
    Set the texture subload offsets.
    -[more]inline void getSubloadOffset(int& x, int& y) const +[more]inline void getSubloadOffset(int& x, int& y) const
    Get the texture subload offsets.
    -[more]inline GLuint& getHandle(const uint contextID) const +[more]inline GLuint& getHandle(const uint contextID) const
    Get the handle to the texture object for the current context
    -[more]void dirtyTextureObject() +[more]void dirtyTextureObject()
    Force a recompile on next apply() of associated OpenGL texture objects
    -[more]virtual void apply(State& state) const +[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 +[more]virtual void compile(State& state) const
    Compile the texture mip maps.
    -[more]virtual void applyImmediateMode(State& state) const +[more]virtual void applyImmediateMode(State& state) const
    Method which does the creation of the texture itself, and does not set or use texture binding.
    -[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

    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]enum SubloadMode

    Protected Fields

    -[more]mutable uint _textureObjectSize +[more]mutable uint _textureObjectSize
    -[more]mutable ref_ptr<Image> _image +[more]mutable ref_ptr<Image> _image
    -[more]unsigned int _textureUnit +[more]unsigned int _textureUnit
    -[more]WrapMode _wrap_s +[more]WrapMode _wrap_s
    -[more]WrapMode _wrap_t +[more]WrapMode _wrap_t
    -[more]WrapMode _wrap_r +[more]WrapMode _wrap_r
    -[more]FilterMode _min_filter +[more]FilterMode _min_filter
    -[more]FilterMode _mag_filter +[more]FilterMode _mag_filter
    -[more]InternalFormatMode _internalFormatMode +[more]InternalFormatMode _internalFormatMode
    -[more]int _internalFormatValue +[more]int _internalFormatValue
    -[more]mutable unsigned int _textureWidth +[more]mutable unsigned int _textureWidth
    -[more]mutable unsigned int _textureHeight +[more]mutable unsigned int _textureHeight
    -[more]SubloadMode _subloadMode +[more]SubloadMode _subloadMode
    -[more]unsigned int _subloadOffsX +[more]unsigned int _subloadOffsX
    -[more]unsigned int _subloadOffsY +[more]unsigned int _subloadOffsY

    Protected Methods

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

    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

    @@ -184,13 +187,15 @@

    Public Methods

    -ovirtual Object* clone() const +ovirtual Object* cloneType() const +
    +ovirtual Object* clone(const CopyOp&) const
    ovirtual bool isSameKindAs(const Object* obj) const
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -245,48 +250,53 @@
    - +
    o Texture()

    + + +

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

    - -

    o META_StateAttribute(Texture, (Type)(TEXTURE_0+_textureUnit)) + +
    o META_StateAttribute(Texture, (Type)(TEXTURE_0+_textureUnit))

    - +

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

    - -

    ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) const + +
    ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) 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 ) + +
    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 ) + +
    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 @@ -294,7 +304,7 @@ 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.

    - +

    oinline void setTextureUnit(const unsigned int textureUnit)
    Set the texture unit. Valid values are 0,1,2,3. @@ -302,179 +312,179 @@ Default value of texture unit is 0. note, multi-texturing not fully implemented yet... April 2001.

    - +

    oinline const unsigned int getTextureUnit() const
    get the texture unit

    - +

    oenum WrapParameter

    - +
    o WRAP_S

    - +

    o WRAP_T

    - +

    o WRAP_R

    - +
    oenum WrapMode

    - +
    o CLAMP

    - +

    o CLAMP_TO_EDGE

    - +

    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

    - +

    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

    - +

    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.

    - -

    oinline const InternalFormatMode getInternalFormatMode() const + +
    oinline const InternalFormatMode getInternalFormatMode() const
    Get the internal format mode

    - -

    oinline void setInternalFormatValue(const int internalFormat) + +
    oinline void setInternalFormatValue(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
    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

    - +

    oinline const uint getTextureObjectSize() const
    return the memory size of texture object. Texture object size can be used for estimating the cost of @@ -482,72 +492,72 @@ uploading the texture to graphics hardware, which in turn can be used for setting texture residence priorities.

    - +

    oenum SubloadMode

    - +
    o OFF

    - +

    o AUTO

    - +

    o IF_DIRTY

    - -
    oinline void setSubloadMode(const SubloadMode mode) + +
    oinline void setSubloadMode(const SubloadMode mode)
    Set the texture subload mode.

    - -

    oinline const SubloadMode getSubloadMode() const + +
    oinline const SubloadMode getSubloadMode() const
    Get the texture subload mode.

    - -

    oinline void setSubloadOffset(const int x, const int y) + +
    oinline void setSubloadOffset(const int x, const int y)
    Set the texture subload offsets.

    - -

    oinline void getSubloadOffset(int& x, int& y) const + +
    oinline void getSubloadOffset(int& x, int& y) const
    Get the texture subload offsets.

    - +

    oinline GLuint& getHandle(const uint contextID) const
    Get the handle to the texture object for the current context

    - +

    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().

    - +

    ovirtual void applyImmediateMode(State& state) const
    Method which does the creation of the texture itself, and does not set or use texture binding.

    - +

    ostatic void deleteTextureObject(uint contextID, GLuint handle)
    use deleteTextureObject instead of glDeleteTextures to allow OpenGL texture objects to cached until they can be deleted @@ -555,85 +565,85 @@ 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

    - +

    ovirtual ~Texture()

    - +

    otypedef std::vector<GLuint> TextureNameList mutable TextureNameList _handleList

    - +

    otypedef std::vector<uint> ImageModifiedTag mutable ImageModifiedTag _modifiedTag

    - +

    omutable uint _textureObjectSize

    - +

    omutable ref_ptr<Image> _image

    - +

    ounsigned int _textureUnit

    - -

    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

    - -

    oInternalFormatMode _internalFormatMode + +
    oInternalFormatMode _internalFormatMode

    - +

    oint _internalFormatValue

    - +

    omutable unsigned int _textureWidth

    - +

    omutable unsigned int _textureHeight

    - -

    oSubloadMode _subloadMode + +
    oSubloadMode _subloadMode

    - +

    ounsigned int _subloadOffsX

    - +

    ounsigned int _subloadOffsY

    - +

    otypedef std::map<uint,std::set<uint> >static DeletedTextureObjectCache DeletedTextureObjectCache s_deletedTextureObjectCache

    diff --git a/doc/doc++/osg/Timer.html b/doc/doc++/osg/Timer.html index b092f4221..27ceef2a8 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() +[more]inline Timer_t tick() const
    -[more]inline Timer_t tick( void ) +[more]inline Timer_t tick( void ) const

    @@ -39,36 +39,36 @@
    - +
    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() + +
    oinline Timer_t tick() const

    - -

    oinline Timer_t tick( void ) + +
    oinline Timer_t tick( void ) const


    This class has no child classes.
    diff --git a/doc/doc++/osg/Transform.html b/doc/doc++/osg/Transform.html index 7df8cb9b2..c173f18fa 100644 --- a/doc/doc++/osg/Transform.html +++ b/doc/doc++/osg/Transform.html @@ -11,11 +11,11 @@

    Inheritance:

    - - - - - + + + + +
    @@ -23,47 +23,85 @@

    Public Methods

    -[more] Transform() +[more] Transform()
    -[more] Transform(const Matrix& matix) +[more] Transform(const Transform&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more] META_Node(Transform) +[more] Transform(const Matrix& matix)
    -[more]inline void setType(Type type) +[more] META_Node(Transform) +
    +[more]inline void setType(Type type)
    Set the Transform Type, which can be DYNAMIC - the Matrix value is updated during the main loop, or STATIC - the Matrix is constant throughout the life of the main loop.
    -[more]inline const Type getType() const +[more]inline const Type getType() const
    Get the Transform Type
    -[more]inline const Matrix& getMatrix() const +[more]inline void setMatrixMode(MatrixMode mode) +
    Set the matrix mode which tells traversers them how to treat this Transform - as Projection, View or Model transformation
    -[more]inline void setMatrix(const Matrix& mat ) +[more]inline const MatrixMode getMatrixMode() const +
    Get the transform mode
    -[more]inline void preMult( const Matrix& mat ) -
    preMult trasforms relative to the childrens coordinate system +[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]inline void postMult( const Matrix& mat ) -
    postMult trasforms relative to the parents coordinate system +[more]ComputeTransformCallback* getComputeTransformCallback() +
    Get the non const ComputerTransfromCallback +
    +[more]const ComputeTransformCallback* getComputeTransformCallback() const +
    Get the const ComputerTransfromCallback +
    +[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 +
    Get the transformation matrix which moves from world coords to local coords. +
    +[more]void setMatrix(const Matrix& mat) +
    Set the transform's matrix +
    +[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

    Public Members

    -[more]enum Type -
    Range of type that the Transform can be +[more]enum Type +
    Range of types that the Transform can be +
    +[more]struct ComputeTransformCallback: public osg::Referenced +
    Callback attached to an Transform to specifiy how to compute the modelview or projection transformation for the transform below the Transform node

    Protected Fields

    -[more]Type _type +[more]Type _type
    -[more]ref_ptr<Matrix> _matrix +[more]MatrixMode _mode +
    +[more]ref_ptr<ComputeTransformCallback> _computeTransformCallback +
    +[more]ref_ptr<Matrix> _matrix

    Protected Methods

    -[more]virtual ~Transform() +[more]virtual ~Transform()
    -[more]virtual const bool computeBound() const +[more]virtual const bool computeBound() const +
    Override's Group's computeBound. +
    +[more]virtual const bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor*) const +
    +[more]virtual const bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor*) const

    @@ -102,7 +140,9 @@

    Public Methods

    -ovirtual Object* clone() const +ovirtual Object* cloneType() const +
    +ovirtual Object* clone(const CopyOp& copyop) const
    ovirtual bool isSameKindAs(const Object* obj) const
    @@ -118,7 +158,9 @@
    oinline const std::string& getName() const
    -oinline const ParentList& getParents() const +oinline const ParentList& getParents() const +
    +oinline ParentList getParents()
    oinline Group* getParent(const int i)
    @@ -150,9 +192,9 @@
    oinline const NodeMask getNodeMask() const
    -oinline const DescriptionList& getDescriptions() const +oinline const DescriptionList& getDescriptions() const
    -oinline DescriptionList& getDescriptions() +oinline DescriptionList& getDescriptions()
    oinline const std::string& getDescription(const int i) const
    @@ -188,7 +230,7 @@
    ostd::string _name
    -oParentList _parents +oParentList _parents
    oref_ptr<NodeCallback> _appCallback
    @@ -202,13 +244,17 @@
    oNodeMask _nodeMask
    -oDescriptionList _descriptions +oDescriptionList _descriptions
    oref_ptr<StateSet> _dstate

    Protected Methods

    +ovoid addParent(osg::Group* node) +
    +ovoid removeParent(osg::Group* node) +
    ovoid setNumChildrenRequiringAppTraversal(const int num)
    ovoid setNumChildrenWithCullingDisabled(const int num) @@ -241,10 +287,13 @@

    Documentation

    -
    Transform - is group which all children -are transformed by the the Transform's osg::Matrix. Typical uses +
    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 @@ -256,35 +305,40 @@ mode to on via stateset->setMode(GL_NORMALIZE,osg::StateAttribute::ON);. - +
    o Transform()

    - + +

    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(Transform)

    - +

    oenum Type -
    Range of type that the Transform can be +
    Range of types that the Transform can be

    - +
    o DYNAMIC

    - +

    o STATIC

    - -
    oinline void setType(Type type) + +
    oinline void setType(Type type)
    Set the Transform Type, which can be DYNAMIC - the Matrix value is updated during the main loop, or STATIC - the Matrix is constant throughout the life of the main loop. STATIC @@ -294,48 +348,127 @@ Matrix explicitly set the Matrix to STATIC. The default value is DYNAMIC.

    - -

    oinline const Type getType() const + +
    oinline const Type getType() const
    Get the Transform Type

    - - -

    oinline const Matrix& getMatrix() const + + +
    oinline void setMatrixMode(MatrixMode mode) +
    Set the matrix mode which tells traversers them how to treat this Transform - as Projection, View or Model transformation +

    + + +

    oinline const MatrixMode getMatrixMode() const +
    Get the transform mode +

    + + +

    ostruct ComputeTransformCallback: public osg::Referenced +
    Callback attached to an Transform to specifiy how to compute the modelview or projection 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 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 +

    + + +

    oComputeTransformCallback* getComputeTransformCallback() +
    Get the non const ComputerTransfromCallback +

    + + +

    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 +

    + + +

    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

    - -

    oinline void setMatrix(const Matrix& mat ) + +
    ovoid setMatrix(const Matrix& mat) +
    Set the transform's matrix +

    + + +

    oinline const Matrix& getMatrix() const +
    Get the transform's matrix.

    - -

    oinline void preMult( const Matrix& mat ) -
    preMult trasforms relative to the childrens coordinate system + +
    ovoid preMult(const Matrix& mat) +
    preMult transform

    - -

    oinline void postMult( const Matrix& mat ) -
    postMult trasforms relative to the parents coordinate system + +
    ovoid postMult(const Matrix& mat) +
    postMult transform

    - +

    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.) +

    + + +

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

    + + +

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

    - -

    oType _type + +
    oType _type +

    + + +

    oMatrixMode _mode +

    + + +

    oref_ptr<ComputeTransformCallback> _computeTransformCallback

    - +

    oref_ptr<Matrix> _matrix

    +
    +
    Direct child classes: +
    PositionAttitudeTransform
    +
    -
    This class has no child classes.
    - -

    Alphabetic index HTML hierarchy of classes or Java


    +
    Friends:
    struct osg::Transform::ComputeTransformCallback

    Alphabetic index HTML hierarchy of classes or Java



    This page was generated with the help of DOC++. diff --git a/doc/doc++/osg/Transparency.html b/doc/doc++/osg/Transparency.html index ea7008ebc..97ef841a0 100644 --- a/doc/doc++/osg/Transparency.html +++ b/doc/doc++/osg/Transparency.html @@ -23,43 +23,46 @@

    Public Methods

    -[more] Transparency() +[more] Transparency()
    -[more] META_StateAttribute(Transparency, TRANSPARENCY) +[more] Transparency(const Transparency& trans, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more]virtual int compare(const StateAttribute& sa) const +[more] META_StateAttribute(Transparency, TRANSPARENCY) +
    +[more]virtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
    -[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const
    -[more]inline void setFunction( const int source, const int destination ) +[more]inline void setFunction( const int source, const int destination )
    -[more]void setSource(const int source) +[more]void setSource(const int source)
    -[more]inline const int getSource() const +[more]inline const int getSource() const
    -[more]void setDestination(const int destination) +[more]void setDestination(const int destination)
    -[more]inline const int getDestination() const +[more]inline const int getDestination() const
    -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

    Public Members

    -[more]enum TransparencyMode +[more]enum TransparencyMode

    Protected Fields

    -[more]int _source_factor +[more]int _source_factor
    -[more]int _destination_factor +[more]int _destination_factor

    Protected Methods

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

    @@ -67,13 +70,15 @@

    Public Methods

    -ovirtual Object* clone() const +ovirtual Object* cloneType() const +
    +ovirtual Object* clone(const CopyOp&) const
    ovirtual bool isSameKindAs(const Object* obj) const
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -130,106 +135,111 @@
    - +
    o Transparency()

    + + +

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

    - -

    o META_StateAttribute(Transparency, TRANSPARENCY) + +
    o META_StateAttribute(Transparency, TRANSPARENCY)

    - +

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

    - -

    ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) const + +
    ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) const

    - +

    oenum TransparencyMode

    - +
    o DST_ALPHA

    - +

    o DST_COLOR

    - +

    o ONE

    - +

    o ONE_MINUS_DST_ALPHA

    - +

    o ONE_MINUS_DST_COLOR

    - +

    o ONE_MINUS_SRC_ALPHA

    - +

    o ONE_MINUS_SRC_COLOR

    - +

    o SRC_ALPHA

    - +

    o SRC_ALPHA_SATURATE

    - +

    o SRC_COLOR

    - +

    o ZERO

    - +
    oinline void setFunction( const int source, const int destination )

    - +

    ovoid setSource(const int source)

    - +

    oinline const int getSource() const

    - +

    ovoid setDestination(const int destination)

    - +

    oinline const int getDestination() const

    - +

    ovirtual void apply(State& state) const

    - +

    ovirtual ~Transparency()

    - +

    oint _source_factor

    - +

    oint _destination_factor

    diff --git a/doc/doc++/osg/Vec2.html b/doc/doc++/osg/Vec2.html index 4852caa2d..54df0f39f 100644 --- a/doc/doc++/osg/Vec2.html +++ b/doc/doc++/osg/Vec2.html @@ -13,82 +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 bool isInfinite() 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

    @@ -105,140 +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 bool isInfinite() 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 700bba6f5..b01d45dce 100644 --- a/doc/doc++/osg/Vec3.html +++ b/doc/doc++/osg/Vec3.html @@ -13,89 +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 const bool isInfinite() 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

    @@ -112,153 +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 const bool isInfinite() 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 4035907aa..ba5dd0c44 100644 --- a/doc/doc++/osg/Vec4.html +++ b/doc/doc++/osg/Vec4.html @@ -13,90 +13,88 @@

    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]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 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 bool isInfinite() 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

    @@ -113,156 +111,152 @@ 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)

    - +

    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 const bool valid() const

    - +

    oinline const bool isNaN() const

    - - -

    oinline const bool isInfinite() 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/Viewport.html b/doc/doc++/osg/Viewport.html index 4bf8d2f6d..4ca57c405 100644 --- a/doc/doc++/osg/Viewport.html +++ b/doc/doc++/osg/Viewport.html @@ -23,47 +23,50 @@

    Public Methods

    -[more] Viewport() +[more] Viewport()
    -[more] META_StateAttribute(Viewport, VIEWPORT) +[more] Viewport(const Viewport& vp, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more]virtual int compare(const StateAttribute& sa) const +[more] META_StateAttribute(Viewport, VIEWPORT) +
    +[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) +[more]void getViewport(int& x, int& y, int& width, int& height)
    -[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]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()

    @@ -71,13 +74,15 @@

    Public Methods

    -ovirtual Object* clone() const +ovirtual Object* cloneType() const +
    +ovirtual Object* clone(const CopyOp&) const
    ovirtual bool isSameKindAs(const Object* obj) const
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -85,7 +90,7 @@
    obool operator != (const StateAttribute& rhs) const
    -ovirtual void setStateSetModes(StateSet&, const GLModeValue) const +ovirtual void setStateSetModes(StateSet&, const GLModeValue) const
    ovirtual void compile(State&) const

    @@ -136,74 +141,79 @@
    - +
    o Viewport()

    + + +

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

    - -

    o META_StateAttribute(Viewport, VIEWPORT) + +
    o META_StateAttribute(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) + +
    ovoid getViewport(int& x, int& y, int& width, int& height)

    - +

    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.

    - +

    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 076ccf351..396d4df8c 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 fd91bc3d7..f140cb3f3 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 92c3878bc..9002ba6d2 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 15204c739..7f7f5dde8 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 4370b1072..acf824dda 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 90fb01dce..6bb30142f 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 39cf424eb..14f7494ed 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 62aa9faa1..42be04203 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 d0aa943e6..2ea26527b 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 99e9eeb14..700b17fd2 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 a0da07b7e..08a57e8a8 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 36a27f057..5c7296724 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 ce479a763..358d6baab 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 7bb7d2cff..54011a575 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 6214cff53..1d9650426 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 bc2f4bd5b..c4c9565fd 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/for_each_triangle.html b/doc/doc++/osg/for_each_triangle.html index 63a7f3246..eeae5317c 100644 --- a/doc/doc++/osg/for_each_triangle.html +++ b/doc/doc++/osg/for_each_triangle.html @@ -7,17 +7,13 @@ -

    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 function for iterating through a GeoSet operating on triangles with templated functor.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.

    Documentation

    Template function for iterating through a GeoSet operating on triangles with templated functor. Function automatically decomposes quads and polygons -into sub triangles which are passed onto functor.Template function for iterating through a GeoSet operating on triangles -with templated functor. Function automatically decomposes quads and polygons -into sub triangles which are passed onto functor.Template function for iterating through a GeoSet operating on triangles -with templated functor. Function automatically decomposes quads and polygons into sub triangles which are passed onto functor.

    Alphabetic index HTML hierarchy of classes or Java



    diff --git a/doc/doc++/osg/index.html b/doc/doc++/osg/index.html index f10bc7f2a..a9e345c7d 100644 --- a/doc/doc++/osg/index.html +++ b/doc/doc++/osg/index.html @@ -14,7 +14,11 @@

    Functions

    @@ -48,19 +52,6 @@
  • GL_TEXTURE_COMPRESSION_HINT_ARB
  • GL_TEXTURE_IMAGE_SIZE_ARB
  • GL_TEXTURE_MAX_ANISOTROPY_EXT -
  • M_1_PI -
  • M_2_PI -
  • M_2_SQRTPI -
  • M_E -
  • M_LN10 -
  • M_LN2 -
  • M_LOG10E -
  • M_LOG2E -
  • M_PI -
  • M_PI_2 -
  • M_PI_4 -
  • M_SQRT1_2 -
  • M_SQRT2
  • NULL:
  • WIN32_LEAN_AND_MEAN
  • WINGDIAPI +
  • _WCHAR_T_DEFINED
  • __OSG_MATH
  • acosf
  • asinf
  • cosf +
  • fabs
  • floorf
  • logf
  • powf
  • sinf
  • sqrtf -

    Typedefs

    -
      -
    • NodePath A vector of Nodes pointers which is used to describe the path from a root node to a descendant -
    • ubyte -

    Hierarchy of classes



    This page was generated with the help of DOC++. diff --git a/doc/doc++/osg/mem_ptr.html b/doc/doc++/osg/mem_ptr.html index aceec58bf..f8a24ae98 100644 --- a/doc/doc++/osg/mem_ptr.html +++ b/doc/doc++/osg/mem_ptr.html @@ -7,47 +7,47 @@ -

    template<class T> class osg::mem_ptr

    Smart pointer for handling memory pointers via associated memory adapter
    +

    template<class T> class osg::mem_ptr

    Smart pointer for handling memory pointers via associated memory adapter

    Public Methods

    -[more] mem_ptr() +[more] mem_ptr()
    -[more] mem_ptr(T* t, MemoryAdapter* ma) +[more] mem_ptr(T* t, MemoryAdapter* ma)
    -[more] mem_ptr(const mem_ptr& rp) +[more] mem_ptr(const mem_ptr& rp)
    -[more] ~mem_ptr() +[more] ~mem_ptr()
    -[more]inline mem_ptr& operator = (const mem_ptr& rp) +[more]inline mem_ptr& operator = (const mem_ptr& rp)
    -[more]inline void set(T* t, MemoryAdapter* ma) +[more]inline void set(T* t, MemoryAdapter* ma)
    -[more]inline const bool operator == (const mem_ptr& rp) const +[more]inline const bool operator == (const mem_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 mem_ptr& rp) const +[more]inline const bool operator != (const mem_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

    @@ -59,76 +59,76 @@
    - +
    o mem_ptr()

    - -

    o mem_ptr(T* t, MemoryAdapter* ma) + +
    o mem_ptr(T* t, MemoryAdapter* ma)

    - -

    o mem_ptr(const mem_ptr& rp) + +
    o mem_ptr(const mem_ptr& rp)

    - +

    o ~mem_ptr()

    - +

    oinline mem_ptr& operator = (const mem_ptr& rp)

    - -

    oinline void set(T* t, MemoryAdapter* ma) + +
    oinline void set(T* t, MemoryAdapter* ma)

    - +

    oinline const bool operator == (const mem_ptr& rp) const

    - -

    oinline const bool operator == (const T* ptr) const + +
    oinline const bool operator == (const T* ptr) const

    - +

    oinline const bool operator != (const mem_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


    This class has no child classes.
    diff --git a/doc/doc++/osg/osg.html b/doc/doc++/osg/osg.html index b583792c5..a06c53ed5 100644 --- a/doc/doc++/osg/osg.html +++ b/doc/doc++/osg/osg.html @@ -23,49 +23,49 @@ 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 @@ -83,6 +83,9 @@ class SG_EXPORT ColorMask: public ColorMatrix: public StateAttribute
    Texture Matrix state class for encapsulating OpenGL texture matrix functionality
    +class SG_EXPORT CopyOp +
    Copy Op(erator) used to control the whether shallow or deep copy is used during copy construction and clone operation +
    class SG_EXPORT CullFace: public StateAttribute
    Class to globally enable/disable OpenGL's polygon culling mode=
    @@ -92,7 +95,7 @@ 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 +[more]#define USE_SEPERATE_COMPILE_AND_EXECUTE
    class SG_EXPORT Drawable: public Object
    Pure virtual base class for drawable Geometry. @@ -113,10 +116,10 @@ class SG_EXPORT Geode: public GeoSet: public Drawable -
    Encapsulates OpenGL drawing primitives, geometry and optional binding of normal, color and texture coordinates.Encapsulates OpenGL drawing primitives, geometry and optional binding of normal, color and texture coordinates.Encapsulates OpenGL drawing primitives, geometry and optional binding of normal, color and texture coordinates. +
    Encapsulates OpenGL drawing primitives, geometry and optional binding of normal, color and texture coordinates.
    -template<class T> void for_each_triangle(GeoSet& gset, T& op) -
    Template function for iterating through a GeoSet operating on triangles with templated functor.Template function for iterating through a GeoSet operating on triangles with templated functor.Template function for iterating through a GeoSet operating on triangles with templated functor. +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. @@ -133,7 +136,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 @@ -163,34 +166,39 @@ class SG_EXPORT LOD: public Material: public StateAttribute
    Material - encapsulates OpenGL glMaterial state
    -[more]inline double inDegrees(double angle) +[more]const double PI
    -[more]inline double inRadians(double angle) +[more]const double PI_2
    -[more]inline double DegreesToRadians(double angle) +[more]const double PI_4
    -[more]inline double RadiansToDegrees(double angle) +[more]inline double inDegrees(double angle)
    -[more]inline bool isNaN(float v) +[more]inline double inRadians(double angle)
    -[more]inline bool isNaN(double v) +[more]inline double DegreesToRadians(double angle)
    -[more]inline bool isInfinite(float v) +[more]inline double RadiansToDegrees(double angle)
    -[more]inline bool isInfinite(double v) +[more]inline bool isNaN(float v) +
    +[more]inline bool isNaN(double v) +
    +enum MatrixMode +
    The range of matrix modes that the scene graph might utilize.
    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 MemoryAdapter: public Referenced
    Class for adapting the memory management of external data.
    -template<class T> class mem_ptr +template<class T> class mem_ptr
    Smart pointer for handling memory pointers via associated memory adapter
    #define META_Node(name) @@ -231,9 +239,9 @@ SG_EXPORT extern bool initNotifyLevel( inline 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(name) +#define META_Object(T)
    META_Object macro define the standard clone, isSameKindAs and className methods.
    class SG_EXPORT Object: public Referenced @@ -242,7 +250,7 @@ class SG_EXPORT Object: 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 @@ -253,17 +261,23 @@ class SG_EXPORT PolygonMode: public < class SG_EXPORT PolygonOffset: public StateAttribute
    PolygonOffset - encapsulates the OpenGL glPolygonOffset state
    +class SG_EXPORT PositionAttitudeTransform: public Transform +
    PositionAttitideTransform - is Transfrom the set the coordinates transform up via a Vec3 position and Quat attitude +
    class SG_EXPORT 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 ShadeModel: public StateAttribute +
    Class which encapsulates glShadeModel() +
    #define OSG_GL_DEBUG(message)
    macro for use with osg::StateAttrbiute::apply methods for detected and reporting OpenGL error messages
    @@ -285,7 +299,7 @@ class SG_EXPORT StateAttribute: public class SG_EXPORT StateSet: public Object
    Encapsulates OpenGL state modes and attributes.
    -class SG_EXPORT Statistics: public osg::Object +class SG_EXPORT Statistics: public osg::Referenced, public osg::Drawable::AttributeFunctor
    Statistics base class.
    class SG_EXPORT Stencil: public StateAttribute @@ -321,7 +335,7 @@ 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)
    class Vec4
    General purpose float quad, uses include representation of colour coordinates. @@ -337,67 +351,71 @@ class SG_EXPORT Viewport: public - +
    o#define USE_SEPERATE_COMPILE_AND_EXECUTE

    + + +

    oconst double PI +

    + + +

    oconst double PI_2 +

    + + +

    oconst double PI_4 +

    - +

    oinline double inDegrees(double angle)

    - +

    oinline double inRadians(double angle)

    - +

    oinline double DegreesToRadians(double angle)

    - +

    oinline double RadiansToDegrees(double angle)

    - +

    oinline bool isNaN(float v)

    - +

    oinline bool isNaN(double v)

    - - -

    oinline bool isInfinite(float v) -

    - - -

    oinline bool isInfinite(double v) -

    - +

    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)

    - +

    oinline std::ostream& operator << (std::ostream& output, const Vec3& vec)

  • 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 4d7510f6d..a4d05f25a 100644 --- a/doc/doc++/osg/ref_ptr.html +++ b/doc/doc++/osg/ref_ptr.html @@ -7,51 +7,53 @@ -

    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 T* ptr) const +[more]inline const bool operator > (const ref_ptr& rp) const
    -[more]inline T& operator*() +[more]inline const bool operator > (const T* ptr) 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 T* operator->()
    -[more]inline const bool operator!() const +[more]inline const T* operator->() const
    -[more]inline const bool valid() const +[more]inline const bool operator!() const
    -[more]inline T* get() +[more]inline const bool valid() const
    -[more]inline const T* get() const +[more]inline T* get() +
    +[more]inline const T* get() const

    @@ -63,84 +65,88 @@
    - +
    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 T* ptr) const + + +
    oinline const bool operator > (const ref_ptr& rp) 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


    This class has no child classes.
    diff --git a/doc/doc++/osgDB/General.html b/doc/doc++/osgDB/General.html index 176d62f8d..3e25ab9f1 100644 --- a/doc/doc++/osgDB/General.html +++ b/doc/doc++/osgDB/General.html @@ -40,6 +40,9 @@ o#define OSGDB_FILENAMEUTILS
    +o#define +OSGDB_FILEUTILS
    + o#define OSGDB_INPUT
    @@ -58,8 +61,8 @@ o#define OSG_VERSION
    -o#define -OSGDB_FILEUTILS
    +o#define +OSGDB_WRITEFILE

    Alphabetic index Hierarchy of classes



    This page was generated with the help of DOC++. diff --git a/doc/doc++/osgDB/Output.html b/doc/doc++/osgDB/Output.html index cb947e303..d1e7acf2a 100644 --- a/doc/doc++/osgDB/Output.html +++ b/doc/doc++/osgDB/Output.html @@ -31,71 +31,69 @@
    [more]void open(const char* name)
    -[more]void open(const char* name, int mode) +[more]Output& indent()
    -[more]Output& indent() +[more]inline const int getIndentStep() const
    -[more]inline const int getIndentStep() const +[more]inline void setIndentStep(int step)
    -[more]inline void setIndentStep(int step) +[more]inline const int getIndent() const
    -[more]inline const int getIndent() const +[more]inline void setIndent(int indent)
    -[more]inline void setIndent(int indent) +[more]inline const int getNumIndicesPerLine() const
    -[more]inline const int getNumIndicesPerLine() const +[more]inline void setNumIndicesPerLine(int num)
    -[more]inline void setNumIndicesPerLine(int num) +[more]void moveIn()
    -[more]void moveIn() +[more]void moveOut()
    -[more]void moveOut() +[more]virtual bool writeObject(const osg::Object& obj)
    -[more]virtual bool writeObject(const osg::Object& obj) +[more]bool getUniqueIDForObject(const osg::Object* obj, std::string& uniqueID)
    -[more]bool getUniqueIDForObject(const osg::Object* obj, std::string& uniqueID) +[more]bool createUniqueIDForObject(const osg::Object* obj, std::string& uniqueID)
    -[more]bool createUniqueIDForObject(const osg::Object* obj, std::string& uniqueID) +[more]bool registerUniqueIDForObject(const osg::Object* obj, std::string& uniqueID)
    -[more]bool registerUniqueIDForObject(const osg::Object* obj, std::string& uniqueID) +[more]inline void setPathNameHint(const PathNameHint pnh)
    -[more]inline void setPathNameHint(const PathNameHint pnh) +[more]inline const PathNameHint getPathNameHint() const
    -[more]inline const PathNameHint getPathNameHint() const -
    -[more]virtual const std::string getFileNameForOutput(const std::string& filename) const +[more]virtual const std::string getFileNameForOutput(const std::string& filename) const

    Public Members

    -[more]enum PathNameHint +[more]enum PathNameHint

    Protected Fields

    -[more]int _indent +[more]int _indent
    -[more]int _indentStep +[more]int _indentStep
    -[more]int _numIndicesPerLine +[more]int _numIndicesPerLine
    -[more]std::string _filename +[more]std::string _filename
    -[more]PathNameHint _pathNameHint +[more]PathNameHint _pathNameHint

    Protected Methods

    -[more] Output(const Output&) +[more] Output(const Output&)
    -[more]Output& operator = (const Output&) +[more]Output& operator = (const Output&)
    -[more]virtual void init() +[more]virtual void init()

    Protected Members

    -[more]typedef std::map<const osg::Object*,std::string> UniqueIDToLabelMapping UniqueIDToLabelMapping _objectToUniqueIDMap +[more]typedef std::map<const osg::Object*,std::string> UniqueIDToLabelMapping UniqueIDToLabelMapping _objectToUniqueIDMap

    @@ -123,131 +121,127 @@ Used in output of .osg ASCII files to improve their readability.
    ovoid open(const char* name)

    - - -

    ovoid open(const char* name, int mode) -

    - +

    oOutput& indent()

    - +

    oinline const int getIndentStep() const

    - +

    oinline void setIndentStep(int step)

    - +

    oinline const int getIndent() const

    - -

    oinline void setIndent(int indent) + +
    oinline void setIndent(int indent)

    - +

    oinline const int getNumIndicesPerLine() const

    - +

    oinline void setNumIndicesPerLine(int num)

    - +

    ovoid moveIn()

    - +

    ovoid moveOut()

    - +

    ovirtual bool writeObject(const osg::Object& obj)

    - +

    obool getUniqueIDForObject(const osg::Object* obj, std::string& uniqueID)

    - +

    obool createUniqueIDForObject(const osg::Object* obj, std::string& uniqueID)

    - +

    obool registerUniqueIDForObject(const osg::Object* obj, std::string& uniqueID)

    - +

    oenum PathNameHint

    - +
    o AS_IS

    - +

    o FULL_PATH

    - +

    o RELATIVE_PATH

    - +

    o FILENAME_ONLY

    - -
    oinline void setPathNameHint(const PathNameHint pnh) + +
    oinline void setPathNameHint(const PathNameHint pnh)

    - -

    oinline const PathNameHint getPathNameHint() const + +
    oinline const PathNameHint getPathNameHint() const

    - +

    ovirtual const std::string getFileNameForOutput(const std::string& filename) const

    - -

    o Output(const Output&) + +
    o Output(const Output&)

    - +

    oOutput& operator = (const Output&)

    - +

    ovirtual void init()

    - +

    oint _indent

    - +

    oint _indentStep

    - +

    oint _numIndicesPerLine

    - +

    otypedef std::map<const osg::Object*,std::string> UniqueIDToLabelMapping UniqueIDToLabelMapping _objectToUniqueIDMap

    - +

    ostd::string _filename

    - -

    oPathNameHint _pathNameHint + +
    oPathNameHint _pathNameHint


    This class has no child classes.
    diff --git a/doc/doc++/osgDB/index.html b/doc/doc++/osgDB/index.html index c9ef9afa8..16eae9ef3 100644 --- a/doc/doc++/osgDB/index.html +++ b/doc/doc++/osgDB/index.html @@ -37,6 +37,7 @@
  • OSGDB_READERWRITER
  • OSGDB_READFILE
  • OSGDB_REGISTRY +
  • OSGDB_WRITEFILE
  • OSG_DYNAMICLIBRARY
  • OSG_VERSION diff --git a/doc/doc++/osgGLUT/General.html b/doc/doc++/osgGLUT/General.html index 76fab128d..871bf75b6 100644 --- a/doc/doc++/osgGLUT/General.html +++ b/doc/doc++/osgGLUT/General.html @@ -22,8 +22,8 @@ o#define OSGGLUT_EXPORT
    -o#define -OSG_GL
    +o#define +OSG_GLUT
    o#define OSGGLUT_GLUTEVENTADAPTER
    diff --git a/doc/doc++/osgGLUT/Viewer.html b/doc/doc++/osgGLUT/Viewer.html index 3365a05db..61fbf1dde 100644 --- a/doc/doc++/osgGLUT/Viewer.html +++ b/doc/doc++/osgGLUT/Viewer.html @@ -218,7 +218,23 @@
    ostatic void keyboardCB(unsigned char key, int x, int y )
    +ostatic void specialCB(int key, int x, int y) +
    +ostatic void spaceballMotionCB(int x, int y, int z) +
    +ostatic void spaceballRotateCB(int x, int y, int z) +
    +ostatic void spaceballButtonCB(int button, int state) +
    ovirtual void visibility(int state) +
    +ovirtual void special(int key, int x, int y) +
    +ovirtual void spaceballMotion(int x, int y, int z) +
    +ovirtual void spaceballRotate(int x, int y, int z) +
    +ovirtual void spaceballButton(int button, int state)
  • diff --git a/doc/doc++/osgGLUT/Window.html b/doc/doc++/osgGLUT/Window.html index 1678f84d2..6f4eb20b1 100644 --- a/doc/doc++/osgGLUT/Window.html +++ b/doc/doc++/osgGLUT/Window.html @@ -44,37 +44,37 @@

    Protected Fields

    -[more]static Window* s_theWindow +[more]static Window* s_theWindow
    -[more]std::string _title +[more]std::string _title
    -[more]int _wx +[more]int _wx
    -[more]int _wy +[more]int _wy
    -[more]int _ww +[more]int _ww
    -[more]int _wh +[more]int _wh
    -[more]unsigned int _displayMode +[more]unsigned int _displayMode
    -[more]int _is_open +[more]int _is_open
    -[more]int _mx +[more]int _mx
    -[more]int _my +[more]int _my
    -[more]int _mbutton +[more]int _mbutton
    -[more]bool _fullscreen +[more]bool _fullscreen
    -[more]int _saved_wx +[more]int _saved_wx
    -[more]int _saved_wy +[more]int _saved_wy
    -[more]int _saved_ww +[more]int _saved_ww
    -[more]int _saved_wh +[more]int _saved_wh

    @@ -93,17 +93,33 @@
    [more]static void keyboardCB(unsigned char key, int x, int y )
    -[more]virtual void reshape(GLint w, GLint h) +[more]static void specialCB(int key, int x, int y)
    -[more]virtual void visibility(int state) +[more]static void spaceballMotionCB(int x, int y, int z)
    -[more]virtual void mouseMotion(int x, int y) +[more]static void spaceballRotateCB(int x, int y, int z)
    -[more]virtual void mousePassiveMotion(int x, int y) +[more]static void spaceballButtonCB(int button, int state)
    -[more]virtual void mouse(int button, int state, int x, int y) +[more]virtual void reshape(GLint w, GLint h)
    -[more]virtual void keyboard(unsigned char key, int x, int y) +[more]virtual void visibility(int state) +
    +[more]virtual void mouseMotion(int x, int y) +
    +[more]virtual void mousePassiveMotion(int x, int y) +
    +[more]virtual void mouse(int button, int state, int x, int y) +
    +[more]virtual void keyboard(unsigned char key, int x, int y) +
    +[more]virtual void special(int key, int x, int y) +
    +[more]virtual void spaceballMotion(int x, int y, int z) +
    +[more]virtual void spaceballRotate(int x, int y, int z) +
    +[more]virtual void spaceballButton(int button, int state)

    @@ -178,92 +194,124 @@
    ostatic void keyboardCB(unsigned char key, int x, int y )

    - + +

    ostatic void specialCB(int key, int x, int y) +

    + + +

    ostatic void spaceballMotionCB(int x, int y, int z) +

    + + +

    ostatic void spaceballRotateCB(int x, int y, int z) +

    + + +

    ostatic void spaceballButtonCB(int button, int state) +

    + +

    ovirtual void reshape(GLint w, GLint h)

    - +

    ovirtual void visibility(int state)

    - +

    ovirtual void mouseMotion(int x, int y)

    - +

    ovirtual void mousePassiveMotion(int x, int y)

    - +

    ovirtual void mouse(int button, int state, int x, int y)

    - +

    ovirtual void keyboard(unsigned char key, int x, int y)

    + + +

    ovirtual void special(int key, int x, int y) +

    + + +

    ovirtual void spaceballMotion(int x, int y, int z) +

    + + +

    ovirtual void spaceballRotate(int x, int y, int z) +

    + + +

    ovirtual void spaceballButton(int button, int state) +

    - +

    ostatic Window* s_theWindow

    - +

    ostd::string _title

    - +

    oint _wx

    - +

    oint _wy

    - +

    oint _ww

    - +

    oint _wh

    - +

    ounsigned int _displayMode

    - +

    oint _is_open

    - +

    oint _mx

    - +

    oint _my

    - +

    oint _mbutton

    - +

    obool _fullscreen

    - +

    oint _saved_wx

    - +

    oint _saved_wy

    - +

    oint _saved_ww

    - +

    oint _saved_wh


    diff --git a/doc/doc++/osgGLUT/index.html b/doc/doc++/osgGLUT/index.html index 1343f6fd5..887ac84a1 100644 --- a/doc/doc++/osgGLUT/index.html +++ b/doc/doc++/osgGLUT/index.html @@ -30,7 +30,7 @@
  • OSGGLUT_GLUTWINDOW
  • OSGGLUT_VERSION
  • OSGGLUT_VIEWER -
  • OSG_GL +
  • OSG_GLUT

    Hierarchy of classes



    diff --git a/doc/doc++/osgGLUT/osgGLUT.html b/doc/doc++/osgGLUT/osgGLUT.html index 67d55d265..f17ab6b70 100644 --- a/doc/doc++/osgGLUT/osgGLUT.html +++ b/doc/doc++/osgGLUT/osgGLUT.html @@ -14,7 +14,7 @@ class OSGGLUT_EXPORT GLUTEventAdapter: public osgUtil::GUIEventAdapter
    Class for adapting GLUT events so that they can be used as input to osgUtil::CameraManipulators
    -class OSGGLUT_EXPORT Viewer: public Window, osgUtil::GUIActionAdapter +class OSGGLUT_EXPORT Viewer: public Window, public osgUtil::GUIActionAdapter
    A basic viewer base class which provides a window, simple keyboard and mouse interaction.
    class OSGGLUT_EXPORT Window diff --git a/doc/doc++/osgText/BitmapFont.html b/doc/doc++/osgText/BitmapFont.html index f7737b0b3..21c2aed1a 100644 --- a/doc/doc++/osgText/BitmapFont.html +++ b/doc/doc++/osgText/BitmapFont.html @@ -22,33 +22,44 @@

    Public Methods

    -[more] BitmapFont() +[more] BitmapFont()
    -[more] BitmapFont(const std::string& font, int point_size) +[more] BitmapFont(const BitmapFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
    -[more] META_Object(BitmapFont) +[more] BitmapFont(const std::string& font, int point_size) +
    +[more] META_Font(BitmapFont)

    Protected Methods

    -[more]virtual FTFont* createFontObj(void) +[more]virtual FTFont* createFontObj(void)


    Inherited from RasterFont:

    +

    +

    Public Methods

    +ovirtual bool isSameKindAs(const osg::Object* obj) const +
    +ovirtual const char* className() const +

    +

    Inherited from Font:

    Public Methods

    -ovirtual bool open(const std::string& font) +obool open(const char* font)
    -ovirtual bool create(int pointSize, const unsigned int res = 72 ) +obool open(const std::string& font)
    -ovirtual bool create() +ovirtual bool create(osg::State& state, int pointSize, const unsigned int res = 72 )
    -ovirtual void output(const char* text) +ovirtual bool create(osg::State& state) +
    +ovirtual void output(osg::State& state, const char* text)
    ovirtual bool isOk(void) const
    @@ -64,6 +75,8 @@
    oint getPointSize(void) const
    +oint getTextureSize(void) const +
    oconst std::string& getFontName()
    oFTFont* getFont(void) @@ -82,6 +95,8 @@ oint _pointSize
    oint _res +
    +oint _textureSize

    @@ -99,19 +114,23 @@
    - +
    o BitmapFont()

    - + +

    o BitmapFont(const BitmapFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) +

    + +

    o BitmapFont(const std::string& font, int point_size)

    - - -

    o META_Object(BitmapFont) + + +
    o META_Font(BitmapFont)

    - +

    ovirtual FTFont* createFontObj(void)

    diff --git a/doc/doc++/osgText/Font.html b/doc/doc++/osgText/Font.html index f0bad0ede..3dafa1e4b 100644 --- a/doc/doc++/osgText/Font.html +++ b/doc/doc++/osgText/Font.html @@ -22,59 +22,71 @@

    Public Methods

    -[more] Font() +[more] Font()
    -[more]virtual bool open(const std::string& font) +[more] Font(const Font& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
    -[more]virtual bool create(int pointSize, const unsigned int res = 72 ) +[more]virtual bool isSameKindAs(const osg::Object* obj) const
    -[more]virtual bool create() +[more]virtual const char* className() const
    -[more]virtual void output(const char* text) +[more]bool open(const char* font)
    -[more]virtual bool isOk(void) const +[more]bool open(const std::string& font)
    -[more]virtual bool isCreated(void) const +[more]virtual bool create(osg::State& state, int pointSize, const unsigned int res = 72 )
    -[more]virtual float getWidth(const char* text) const +[more]virtual bool create(osg::State& state)
    -[more]virtual int getHeight() const +[more]virtual void output(osg::State& state, const char* text)
    -[more]virtual int getDescender() const +[more]virtual bool isOk(void) const
    -[more]virtual int getAscender() const +[more]virtual bool isCreated(void) const
    -[more]int getPointSize(void) const +[more]virtual float getWidth(const char* text) const
    -[more]const std::string& getFontName() +[more]virtual int getHeight() const
    -[more]FTFont* getFont(void) +[more]virtual int getDescender() const +
    +[more]virtual int getAscender() const +
    +[more]int getPointSize(void) const +
    +[more]int getTextureSize(void) const +
    +[more]const std::string& getFontName() +
    +[more]FTFont* getFont(void)

    Protected Fields

    -[more]bool _init +[more]bool _init
    -[more]bool _created +[more]bool _created
    -[more]FTFont* _font +[more]FTFont* _font
    -[more]std::string _fontName +[more]std::string _fontName
    -[more]int _pointSize +[more]int _pointSize
    -[more]int _res +[more]int _res +
    +[more]int _textureSize

    Protected Methods

    -[more]virtual ~Font() +[more]virtual ~Font()
    -[more]virtual void clear() +[more]virtual void clear()
    -[more]virtual FTFont* createFontObj(void) = 0 +[more]virtual FTFont* createFontObj(void) = 0
    -[more]bool init(const std::string& font) +[more]bool init(const std::string& font)

    @@ -85,100 +97,124 @@
    - +
    o Font()

    + + +

    o Font(const Font& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) +

    + + +

    ovirtual bool isSameKindAs(const osg::Object* obj) const +

    + + +

    ovirtual const char* className() const +

    - -

    ovirtual bool open(const std::string& font) + +
    obool open(const char* font) +

    + + +

    obool open(const std::string& font)

    - -

    ovirtual bool create(int pointSize, const unsigned int res = 72 ) + +
    ovirtual bool create(osg::State& state, int pointSize, const unsigned int res = 72 )

    - -

    ovirtual bool create() + +
    ovirtual bool create(osg::State& state)

    - -

    ovirtual void output(const char* text) + +
    ovirtual void output(osg::State& state, const char* text)

    - +

    ovirtual bool isOk(void) const

    - +

    ovirtual bool isCreated(void) const

    - +

    ovirtual float getWidth(const char* text) const

    - +

    ovirtual int getHeight() const

    - +

    ovirtual int getDescender() const

    - +

    ovirtual int getAscender() const

    - +

    oint getPointSize(void) const

    + + +

    oint getTextureSize(void) const +

    - +

    oconst std::string& getFontName()

    - +

    oFTFont* getFont(void)

    - +

    ovirtual ~Font()

    - +

    ovirtual void clear()

    - +

    ovirtual FTFont* createFontObj(void) = 0

    - +

    obool init(const std::string& font)

    - +

    obool _init

    - +

    obool _created

    - +

    oFTFont* _font

    - +

    ostd::string _fontName

    - +

    oint _pointSize

    - +

    oint _res +

    + + +

    oint _textureSize


    Direct child classes: diff --git a/doc/doc++/osgText/OutlineFont.html b/doc/doc++/osgText/OutlineFont.html index fd09d5c93..8a6d10aa1 100644 --- a/doc/doc++/osgText/OutlineFont.html +++ b/doc/doc++/osgText/OutlineFont.html @@ -22,21 +22,30 @@

    Public Methods

    -[more] OutlineFont() +[more] OutlineFont()
    -[more] OutlineFont(const std::string& font, int point_size, double precision) +[more] OutlineFont(const OutlineFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
    -[more] META_Object(OutlineFont) +[more] OutlineFont(const std::string& font, int point_size, double precision) +
    +[more] META_Font(OutlineFont)

    Protected Methods

    -[more]virtual FTFont* createFontObj(void) +[more]virtual FTFont* createFontObj(void)


    Inherited from VectorFont:

    +

    +

    Public Methods

    +ovirtual bool isSameKindAs(const osg::Object* obj) const +
    +ovirtual const char* className() const +

    +

    Protected Fields

    odouble _precision @@ -47,13 +56,15 @@

    Public Methods

    -ovirtual bool open(const std::string& font) +obool open(const char* font)
    -ovirtual bool create(int pointSize, const unsigned int res = 72 ) +obool open(const std::string& font)
    -ovirtual bool create() +ovirtual bool create(osg::State& state, int pointSize, const unsigned int res = 72 )
    -ovirtual void output(const char* text) +ovirtual bool create(osg::State& state) +
    +ovirtual void output(osg::State& state, const char* text)
    ovirtual bool isOk(void) const
    @@ -69,6 +80,8 @@
    oint getPointSize(void) const
    +oint getTextureSize(void) const +
    oconst std::string& getFontName()
    oFTFont* getFont(void) @@ -87,6 +100,8 @@ oint _pointSize
    oint _res +
    +oint _textureSize

    @@ -104,19 +119,23 @@
    - +
    o OutlineFont()

    - + +

    o OutlineFont(const OutlineFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) +

    + +

    o OutlineFont(const std::string& font, int point_size, double precision)

    - - -

    o META_Object(OutlineFont) + + +
    o META_Font(OutlineFont)

    - +

    ovirtual FTFont* createFontObj(void)

    diff --git a/doc/doc++/osgText/Paragraph.html b/doc/doc++/osgText/Paragraph.html index 56a045e9c..4d564e540 100644 --- a/doc/doc++/osgText/Paragraph.html +++ b/doc/doc++/osgText/Paragraph.html @@ -22,57 +22,59 @@

    Public Methods

    -[more] Paragraph() +[more] Paragraph()
    -[more] Paragraph(const osg::Vec3& position, const std::string& text, osgText::Font* font) +[more] Paragraph(const Paragraph& paragraph, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
    -[more]META_Node (Paragraph)(osgText::Font* font) +[more] Paragraph(const osg::Vec3& position, const std::string& text, osgText::Font* font)
    -[more]osgText::Font* getFont() +[more]META_Node (Paragraph)(osgText::Font* font)
    -[more]const osgText::Font* getFont() const +[more]osgText::Font* getFont()
    -[more]void setMaximumNoCharactersPerLine(unsigned int maxCharsPerLine) +[more]const osgText::Font* getFont() const
    -[more]const unsigned int getMaximumNoCharactersPerLine() const +[more]void setMaximumNoCharactersPerLine(unsigned int maxCharsPerLine)
    -[more]void setText(const std::string& text) +[more]const unsigned int getMaximumNoCharactersPerLine() const
    -[more]std::string& getText() +[more]void setText(const std::string& text)
    -[more]const std::string& getText() const +[more]std::string& getText()
    -[more]void setPosition(const osg::Vec3& position) +[more]const std::string& getText() const
    -[more]const osg::Vec3& getPosition() const +[more]void setPosition(const osg::Vec3& position)
    -[more]void setAlignment(int alignment) +[more]const osg::Vec3& getPosition() const
    -[more]int getAlignment() +[more]void setAlignment(int alignment)
    -[more]float getHeight() const +[more]int getAlignment()
    -[more]static bool createFormatedText(unsigned int noCharsPerLine, const std::string& str, std::vector<std::string>& formatedText) +[more]float getHeight() const +
    +[more]static bool createFormatedText(unsigned int noCharsPerLine, const std::string& str, std::vector<std::string>& formatedText)

    Protected Fields

    -[more]osg::Vec3 _position +[more]osg::Vec3 _position
    -[more]std::string _text +[more]std::string _text
    -[more]osg::ref_ptr<osgText::Font> _font +[more]osg::ref_ptr<osgText::Font> _font
    -[more]int _alignment +[more]int _alignment
    -[more]unsigned int _maxCharsPerLine +[more]unsigned int _maxCharsPerLine

    Protected Methods

    -[more]virtual ~Paragraph() +[more]virtual ~Paragraph()
    -[more]void createDrawables() +[more]void createDrawables()

    @@ -83,95 +85,99 @@
    - +
    o Paragraph()

    - + +

    o Paragraph(const Paragraph& paragraph, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) +

    + +

    o Paragraph(const osg::Vec3& position, const std::string& text, osgText::Font* font)

    - +

    oMETA_Node (Paragraph)(osgText::Font* font)

    - +

    oosgText::Font* getFont()

    - +

    oconst osgText::Font* getFont() const

    - +

    ovoid setMaximumNoCharactersPerLine(unsigned int maxCharsPerLine)

    - +

    oconst unsigned int getMaximumNoCharactersPerLine() const

    - +

    ovoid setText(const std::string& text)

    - +

    ostd::string& getText()

    - +

    oconst std::string& getText() const

    - +

    ovoid setPosition(const osg::Vec3& position)

    - +

    oconst osg::Vec3& getPosition() const

    - +

    ovoid setAlignment(int alignment)

    - +

    oint getAlignment()

    - +

    ofloat getHeight() const

    - +

    ostatic bool createFormatedText(unsigned int noCharsPerLine, const std::string& str, std::vector<std::string>& formatedText)

    - +

    ovirtual ~Paragraph()

    - +

    ovoid createDrawables()

    - +

    oosg::Vec3 _position

    - +

    ostd::string _text

    - +

    oosg::ref_ptr<osgText::Font> _font

    - +

    oint _alignment

    - +

    ounsigned int _maxCharsPerLine

    diff --git a/doc/doc++/osgText/PixmapFont.html b/doc/doc++/osgText/PixmapFont.html index e9fa08329..86570f503 100644 --- a/doc/doc++/osgText/PixmapFont.html +++ b/doc/doc++/osgText/PixmapFont.html @@ -22,33 +22,44 @@

    Public Methods

    -[more] PixmapFont() +[more] PixmapFont()
    -[more] PixmapFont(const std::string& font, int point_size) +[more] PixmapFont(const PixmapFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
    -[more] META_Object(PixmapFont) +[more] PixmapFont(const std::string& font, int point_size) +
    +[more] META_Font(PixmapFont)

    Protected Methods

    -[more]virtual FTFont* createFontObj(void) +[more]virtual FTFont* createFontObj(void)


    Inherited from RasterFont:

    +

    +

    Public Methods

    +ovirtual bool isSameKindAs(const osg::Object* obj) const +
    +ovirtual const char* className() const +

    +

    Inherited from Font:

    Public Methods

    -ovirtual bool open(const std::string& font) +obool open(const char* font)
    -ovirtual bool create(int pointSize, const unsigned int res = 72 ) +obool open(const std::string& font)
    -ovirtual bool create() +ovirtual bool create(osg::State& state, int pointSize, const unsigned int res = 72 )
    -ovirtual void output(const char* text) +ovirtual bool create(osg::State& state) +
    +ovirtual void output(osg::State& state, const char* text)
    ovirtual bool isOk(void) const
    @@ -64,6 +75,8 @@
    oint getPointSize(void) const
    +oint getTextureSize(void) const +
    oconst std::string& getFontName()
    oFTFont* getFont(void) @@ -82,6 +95,8 @@ oint _pointSize
    oint _res +
    +oint _textureSize

    @@ -99,19 +114,23 @@
    - +
    o PixmapFont()

    - + +

    o PixmapFont(const PixmapFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) +

    + +

    o PixmapFont(const std::string& font, int point_size)

    - - -

    o META_Object(PixmapFont) + + +
    o META_Font(PixmapFont)

    - +

    ovirtual FTFont* createFontObj(void)

    diff --git a/doc/doc++/osgText/PolygonFont.html b/doc/doc++/osgText/PolygonFont.html index 4be10159c..c6b1b60ed 100644 --- a/doc/doc++/osgText/PolygonFont.html +++ b/doc/doc++/osgText/PolygonFont.html @@ -22,21 +22,32 @@

    Public Methods

    -[more] PolygonFont() +[more] PolygonFont()
    -[more] PolygonFont(const std::string& font, int point_size, double precision) +[more] PolygonFont(const PolygonFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
    -[more] META_Object(PolygonFont) +[more] PolygonFont(const std::string& font, int point_size, double precision) +
    +[more] PolygonFont(const char* font, int point_size, double precision) +
    +[more] META_Font(PolygonFont)

    Protected Methods

    -[more]virtual FTFont* createFontObj(void) +[more]virtual FTFont* createFontObj(void)


    Inherited from VectorFont:

    +

    +

    Public Methods

    +ovirtual bool isSameKindAs(const osg::Object* obj) const +
    +ovirtual const char* className() const +

    +

    Protected Fields

    odouble _precision @@ -47,13 +58,15 @@

    Public Methods

    -ovirtual bool open(const std::string& font) +obool open(const char* font)
    -ovirtual bool create(int pointSize, const unsigned int res = 72 ) +obool open(const std::string& font)
    -ovirtual bool create() +ovirtual bool create(osg::State& state, int pointSize, const unsigned int res = 72 )
    -ovirtual void output(const char* text) +ovirtual bool create(osg::State& state) +
    +ovirtual void output(osg::State& state, const char* text)
    ovirtual bool isOk(void) const
    @@ -69,6 +82,8 @@
    oint getPointSize(void) const
    +oint getTextureSize(void) const +
    oconst std::string& getFontName()
    oFTFont* getFont(void) @@ -87,6 +102,8 @@ oint _pointSize
    oint _res +
    +oint _textureSize

    @@ -104,19 +121,27 @@
    - +
    o PolygonFont()

    - + +

    o PolygonFont(const PolygonFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) +

    + +

    o PolygonFont(const std::string& font, int point_size, double precision)

    - - -

    o META_Object(PolygonFont) + + +
    o PolygonFont(const char* font, int point_size, double precision) +

    + + +

    o META_Font(PolygonFont)

    - +

    ovirtual FTFont* createFontObj(void)

    diff --git a/doc/doc++/osgText/RasterFont.html b/doc/doc++/osgText/RasterFont.html index af3c7f608..f718d14f2 100644 --- a/doc/doc++/osgText/RasterFont.html +++ b/doc/doc++/osgText/RasterFont.html @@ -22,9 +22,15 @@

    Public Methods

    -[more] RasterFont() +[more] RasterFont()
    -[more] RasterFont(const std::string& font) +[more] RasterFont(const RasterFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) +
    +[more] RasterFont(const std::string& font) +
    +[more]virtual bool isSameKindAs(const osg::Object* obj) const +
    +[more]virtual const char* className() const

    @@ -32,13 +38,15 @@

    Public Methods

    -ovirtual bool open(const std::string& font) +obool open(const char* font)
    -ovirtual bool create(int pointSize, const unsigned int res = 72 ) +obool open(const std::string& font)
    -ovirtual bool create() +ovirtual bool create(osg::State& state, int pointSize, const unsigned int res = 72 )
    -ovirtual void output(const char* text) +ovirtual bool create(osg::State& state) +
    +ovirtual void output(osg::State& state, const char* text)
    ovirtual bool isOk(void) const
    @@ -54,6 +62,8 @@
    oint getPointSize(void) const
    +oint getTextureSize(void) const +
    oconst std::string& getFontName()
    oFTFont* getFont(void) @@ -72,6 +82,8 @@ oint _pointSize
    oint _res +
    +oint _textureSize

    @@ -91,12 +103,24 @@
    - +
    o RasterFont()

    - + +

    o RasterFont(const RasterFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) +

    + +

    o RasterFont(const std::string& font) +

    + + +

    ovirtual bool isSameKindAs(const osg::Object* obj) const +

    + + +

    ovirtual const char* className() const


    Direct child classes: diff --git a/doc/doc++/osgText/Text.html b/doc/doc++/osgText/Text.html index 1aa2aec32..afb65db9e 100644 --- a/doc/doc++/osgText/Text.html +++ b/doc/doc++/osgText/Text.html @@ -22,101 +22,109 @@

    Public Methods

    -[more] Text() +[more] Text()
    -[more] Text(Font* font) +[more] Text(const Text& text, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
    -[more] META_Object(Text) +[more] Text(Font* font)
    -[more]void setPosition(const osg::Vec2& pos) +[more]virtual osg::Object* cloneType() const
    -[more]void setPosition(const osg::Vec3& pos) +[more]virtual osg::Object* clone(const osg::CopyOp& copyop) const
    -[more]const osg::Vec3& getPosition() const +[more]virtual bool isSameKindAs(const osg::Object* obj) const
    -[more]void setDrawMode(int mode) +[more]virtual const char* className() const
    -[more]int getDrawMode() const +[more]void setPosition(const osg::Vec2& pos)
    -[more]void setBoundingBox(int mode) +[more]void setPosition(const osg::Vec3& pos)
    -[more]int getBoundingBox() const +[more]const osg::Vec3& getPosition() const
    -[more]void setAlignment(int alignment) +[more]void setDrawMode(int mode)
    -[more]int getAlignment() const +[more]int getDrawMode() const
    -[more]void setFont(Font* font) +[more]void setBoundingBox(int mode)
    -[more]Font* getFont() +[more]int getBoundingBox() const
    -[more]const Font* getFont() const +[more]void setAlignment(int alignment)
    -[more]void setText(const char* text) +[more]int getAlignment() const
    -[more]void setText(const std::string& text) +[more]void setFont(Font* font)
    -[more]const std::string& getText() const +[more]Font* getFont()
    -[more]virtual void drawImmediateMode(osg::State& state) +[more]const Font* getFont() const
    -[more]virtual void drawBoundingBox(void) +[more]void setText(const char* text)
    -[more]virtual void drawAlignment(void) +[more]void setText(const std::string& text)
    -[more]const osg::Vec3& getAlignmentPos() const +[more]const std::string& getText() const +
    +[more]virtual void drawImmediateMode(osg::State& state) +
    +[more]virtual void drawBoundingBox(void) +
    +[more]virtual void drawAlignment(void) +
    +[more]const osg::Vec3& getAlignmentPos() const

    Public Members

    -[more]enum AlignmentType +[more]enum AlignmentType
    -[more]enum BoundingBoxType +[more]enum BoundingBoxType
    -[more]enum DrawModeType +[more]enum DrawModeType

    Protected Fields

    -[more]osg::ref_ptr<Font> _font +[more]osg::ref_ptr<Font> _font
    -[more]bool _init +[more]bool _init
    -[more]bool _initAlignment +[more]bool _initAlignment
    -[more]std::string _text +[more]std::string _text
    -[more]int _fontType +[more]int _fontType
    -[more]int _alignment +[more]int _alignment
    -[more]int _drawMode +[more]int _drawMode
    -[more]int _boundingBoxType +[more]int _boundingBoxType
    -[more]osg::Vec3 _pos +[more]osg::Vec3 _pos
    -[more]osg::Vec3 _alignmentPos +[more]osg::Vec3 _alignmentPos

    Protected Methods

    -[more]virtual ~Text() +[more]virtual ~Text()
    -[more]virtual void setDefaults(void) +[more]virtual void setDefaults(void)
    -[more]virtual const bool computeBound(void) const +[more]virtual const bool computeBound(void) const
    -[more]virtual void calcBounds(osg::Vec3* min, osg::Vec3* max) const +[more]virtual void calcBounds(osg::Vec3* min, osg::Vec3* max) const
    -[more]void initAlignment(osg::Vec3* min, osg::Vec3* max) +[more]void initAlignment(osg::Vec3* min, osg::Vec3* max)
    -[more]bool initAlignment(void) +[more]bool initAlignment(void)

    Protected Members

    -[more]enum FontType +[more]enum FontType

    @@ -127,263 +135,279 @@
    - +
    oenum AlignmentType

    - +
    o LEFT_TOP

    - +

    o LEFT_CENTER

    - +

    o LEFT_BOTTOM

    - +

    o CENTER_TOP

    - +

    o CENTER_CENTER

    - +

    o CENTER_BOTTOM

    - +

    o RIGHT_TOP

    - +

    o RIGHT_CENTER

    - +

    o RIGHT_BOTTOM

    - +
    oenum BoundingBoxType

    - +
    o GEOMETRY

    - +

    o GLYPH

    - +
    oenum DrawModeType

    - +
    o TEXT

    - +

    o BOUNDINGBOX

    - +

    o ALIGNEMENT

    - +

    o DEFAULT

    - +
    o Text()

    - + +

    o Text(const Text& text, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) +

    + +

    o Text(Font* font)

    - - -

    o META_Object(Text) + + +
    ovirtual osg::Object* cloneType() const +

    + + +

    ovirtual osg::Object* clone(const osg::CopyOp& copyop) const +

    + + +

    ovirtual bool isSameKindAs(const osg::Object* obj) const +

    + + +

    ovirtual const char* className() const

    - +

    ovoid setPosition(const osg::Vec2& pos)

    - +

    ovoid setPosition(const osg::Vec3& pos)

    - +

    oconst osg::Vec3& getPosition() const

    - +

    ovoid setDrawMode(int mode)

    - +

    oint getDrawMode() const

    - +

    ovoid setBoundingBox(int mode)

    - +

    oint getBoundingBox() const

    - +

    ovoid setAlignment(int alignment)

    - +

    oint getAlignment() const

    - +

    ovoid setFont(Font* font)

    - +

    oFont* getFont()

    - +

    oconst Font* getFont() const

    - +

    ovoid setText(const char* text)

    - +

    ovoid setText(const std::string& text)

    - +

    oconst std::string& getText() const

    - +

    ovirtual void drawImmediateMode(osg::State& state)

    - +

    ovirtual void drawBoundingBox(void)

    - +

    ovirtual void drawAlignment(void)

    - +

    oconst osg::Vec3& getAlignmentPos() const

    - +

    oenum FontType

    - +
    o UNDEF

    - +

    o BITMAP

    - +

    o PIXMAP

    - +

    o OUTLINE

    - +

    o POLYGON

    - +

    o TEXTURE

    - +
    ovirtual ~Text()

    - +

    ovirtual void setDefaults(void)

    - +

    ovirtual const bool computeBound(void) const

    - +

    ovirtual void calcBounds(osg::Vec3* min, osg::Vec3* max) const

    - +

    ovoid initAlignment(osg::Vec3* min, osg::Vec3* max)

    - +

    obool initAlignment(void)

    - +

    oosg::ref_ptr<Font> _font

    - +

    obool _init

    - +

    obool _initAlignment

    - +

    ostd::string _text

    - +

    oint _fontType

    - +

    oint _alignment

    - +

    oint _drawMode

    - +

    oint _boundingBoxType

    - +

    oosg::Vec3 _pos

    - +

    oosg::Vec3 _alignmentPos

    diff --git a/doc/doc++/osgText/TextureFont.html b/doc/doc++/osgText/TextureFont.html index 783d0d739..0dcf357e2 100644 --- a/doc/doc++/osgText/TextureFont.html +++ b/doc/doc++/osgText/TextureFont.html @@ -22,33 +22,46 @@

    Public Methods

    -[more] TextureFont() +[more] TextureFont()
    -[more] TextureFont(const std::string& font, int point_size) +[more] TextureFont(const TextureFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
    -[more] META_Object(TextureFont) +[more] TextureFont(const std::string& font, int point_size) +
    +[more] TextureFont(const std::string& font, int point_size, int textureSize ) +
    +[more] META_Font(TextureFont)

    Protected Methods

    -[more]virtual FTFont* createFontObj(void) +[more]virtual FTFont* createFontObj(void)


    Inherited from RasterFont:

    +

    +

    Public Methods

    +ovirtual bool isSameKindAs(const osg::Object* obj) const +
    +ovirtual const char* className() const +

    +

    Inherited from Font:

    Public Methods

    -ovirtual bool open(const std::string& font) +obool open(const char* font)
    -ovirtual bool create(int pointSize, const unsigned int res = 72 ) +obool open(const std::string& font)
    -ovirtual bool create() +ovirtual bool create(osg::State& state, int pointSize, const unsigned int res = 72 )
    -ovirtual void output(const char* text) +ovirtual bool create(osg::State& state) +
    +ovirtual void output(osg::State& state, const char* text)
    ovirtual bool isOk(void) const
    @@ -64,6 +77,8 @@
    oint getPointSize(void) const
    +oint getTextureSize(void) const +
    oconst std::string& getFontName()
    oFTFont* getFont(void) @@ -82,6 +97,8 @@ oint _pointSize
    oint _res +
    +oint _textureSize

    @@ -99,19 +116,27 @@
    - +
    o TextureFont()

    - + +

    o TextureFont(const TextureFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) +

    + +

    o TextureFont(const std::string& font, int point_size)

    - - -

    o META_Object(TextureFont) + + +
    o TextureFont(const std::string& font, int point_size, int textureSize ) +

    + + +

    o META_Font(TextureFont)

    - +

    ovirtual FTFont* createFontObj(void)

    diff --git a/doc/doc++/osgText/VectorFont.html b/doc/doc++/osgText/VectorFont.html index 3a8764756..2bab62633 100644 --- a/doc/doc++/osgText/VectorFont.html +++ b/doc/doc++/osgText/VectorFont.html @@ -22,14 +22,20 @@

    Public Methods

    -[more] VectorFont() +[more] VectorFont()
    -[more] VectorFont(const std::string& font) +[more] VectorFont(const VectorFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) +
    +[more] VectorFont(const std::string& font) +
    +[more]virtual bool isSameKindAs(const osg::Object* obj) const +
    +[more]virtual const char* className() const

    Protected Fields

    -[more]double _precision +[more]double _precision

    @@ -37,13 +43,15 @@

    Public Methods

    -ovirtual bool open(const std::string& font) +obool open(const char* font)
    -ovirtual bool create(int pointSize, const unsigned int res = 72 ) +obool open(const std::string& font)
    -ovirtual bool create() +ovirtual bool create(osg::State& state, int pointSize, const unsigned int res = 72 )
    -ovirtual void output(const char* text) +ovirtual bool create(osg::State& state) +
    +ovirtual void output(osg::State& state, const char* text)
    ovirtual bool isOk(void) const
    @@ -59,6 +67,8 @@
    oint getPointSize(void) const
    +oint getTextureSize(void) const +
    oconst std::string& getFontName()
    oFTFont* getFont(void) @@ -77,6 +87,8 @@ oint _pointSize
    oint _res +
    +oint _textureSize

    @@ -96,15 +108,27 @@
    - +
    o VectorFont()

    - + +

    o VectorFont(const VectorFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) +

    + +

    o VectorFont(const std::string& font)

    + + +

    ovirtual bool isSameKindAs(const osg::Object* obj) const +

    + + +

    ovirtual const char* className() const +

    - +

    odouble _precision


    diff --git a/doc/doc++/osgText/osgText.html b/doc/doc++/osgText/osgText.html index 3356be6b3..9b916e183 100644 --- a/doc/doc++/osgText/osgText.html +++ b/doc/doc++/osgText/osgText.html @@ -11,6 +11,9 @@

    +#define META_Font(name) +
    META_Font macro define the standard clone, isSameKindAs, className and getType methods. +
    class OSGTEXT_EXPORT Font: public osg::Object
    class OSGTEXT_EXPORT RasterFont: public Font diff --git a/doc/doc++/osgUtil/CombineLODsVisitor.html b/doc/doc++/osgUtil/CombineLODsVisitor.html index 6d7ed886d..e36fae672 100644 --- a/doc/doc++/osgUtil/CombineLODsVisitor.html +++ b/doc/doc++/osgUtil/CombineLODsVisitor.html @@ -23,16 +23,16 @@

    Public Methods

    -[more] CombineLODsVisitor() +[more] CombineLODsVisitor()
    -[more]virtual void apply(osg::LOD& lod) +[more]virtual void apply(osg::LOD& lod)
    -[more]void combineLODs() +[more]void combineLODs()

    Public Members

    -[more]typedef std::set<osg::Group*> GroupList GroupList _groupList +[more]typedef std::set<osg::Group*> GroupList GroupList _groupList

    @@ -45,19 +45,19 @@ complementary ranges
    - +
    otypedef std::set<osg::Group*> GroupList GroupList _groupList

    - +

    o CombineLODsVisitor()

    - +

    ovirtual void apply(osg::LOD& lod)

    - +

    ovoid combineLODs()

    diff --git a/doc/doc++/osgUtil/CullViewState.html b/doc/doc++/osgUtil/CullViewState.html index 87c4c9fff..a7897585c 100644 --- a/doc/doc++/osgUtil/CullViewState.html +++ b/doc/doc++/osgUtil/CullViewState.html @@ -157,9 +157,9 @@ coordinates, during the cull traversal
    o SMALL_FEATURE_CULLING

    - + -

    o ENALBE_ALL_CULLING +
    o ENABLE_ALL_CULLING

    diff --git a/doc/doc++/osgUtil/CullVisitor.html b/doc/doc++/osgUtil/CullVisitor.html index 929de17b1..df54a68d1 100644 --- a/doc/doc++/osgUtil/CullVisitor.html +++ b/doc/doc++/osgUtil/CullVisitor.html @@ -102,7 +102,7 @@ [more]osg::Viewport* getViewport()
    Get the viewport.
    -[more]void pushCullViewState(const osg::Matrix* matrix=NULL) +[more]void pushCullViewState(osg::Matrix* matrix=NULL)
    [more]void popCullViewState()
    @@ -141,61 +141,61 @@

    Protected Fields

    -[more]mutable osg::Vec3 _LeftUp +[more]mutable osg::Vec3 _LeftUp
    unit vector of direction along intersection of cameras left and top clipping planes in "global" coordinates
    -[more]mutable osg::Vec3 _RightUp +[more]mutable osg::Vec3 _RightUp
    unit vector of direction along intersection of cameras right and top clipping planes in "global" coordinates
    -[more]mutable osg::Vec3 _LeftDown +[more]mutable osg::Vec3 _LeftDown
    unit vector of direction along intersection of cameras left and down clipping planes in "global" coordinates
    -[more]mutable osg::Vec3 _RightDown +[more]mutable osg::Vec3 _RightDown
    unit vector of direction along intersection of cameras right and down clipping planes in "global" coordinates
    -[more]bool _detailedCulling +[more]bool _detailedCulling
    -[more]osg::ref_ptr<CullViewState> _tvs +[more]osg::ref_ptr<CullViewState> _tvs
    -[more]osg::ref_ptr<CullViewState> _cvs +[more]osg::ref_ptr<CullViewState> _cvs
    -[more]osg::ref_ptr<RenderGraph> _rootRenderGraph +[more]osg::ref_ptr<RenderGraph> _rootRenderGraph
    -[more]RenderGraph* _currentRenderGraph +[more]RenderGraph* _currentRenderGraph
    -[more]osg::ref_ptr<RenderStage> _rootRenderStage +[more]osg::ref_ptr<RenderStage> _rootRenderStage
    -[more]RenderBin* _currentRenderBin +[more]RenderBin* _currentRenderBin
    -[more]std::vector<CullViewState::CullingMode> _cullingModeStack +[more]std::vector<CullViewState::CullingMode> _cullingModeStack
    -[more]float _LODBias +[more]float _LODBias
    -[more]float _calculated_znear +[more]float _calculated_znear
    -[more]float _calculated_zfar +[more]float _calculated_zfar
    -[more]osg::ref_ptr<const osg::Camera> _camera +[more]osg::ref_ptr<const osg::Camera> _camera
    -[more]osg::ref_ptr<const osg::EarthSky> _earthSky +[more]osg::ref_ptr<const osg::EarthSky> _earthSky
    -[more]TransparencySortMode _tsm +[more]TransparencySortMode _tsm
    -[more]osg::ref_ptr<osg::Viewport> _viewport +[more]osg::ref_ptr<osg::Viewport> _viewport
    -[more]bool _impostorActive +[more]bool _impostorActive
    -[more]bool _depthSortImpostorSprites +[more]bool _depthSortImpostorSprites
    -[more]float _impostorPixelErrorThreshold +[more]float _impostorPixelErrorThreshold
    -[more]int _numFramesToKeepImpostorSprites +[more]int _numFramesToKeepImpostorSprites
    -[more]unsigned int _currentReuseMatrixIndex +[more]unsigned int _currentReuseMatrixIndex
    -[more]unsigned int _currentReuseRenderLeafIndex +[more]unsigned int _currentReuseRenderLeafIndex
    -[more]osg::ref_ptr<osg::ImpostorSpriteManager> _impostorSpriteManager +[more]osg::ref_ptr<osg::ImpostorSpriteManager> _impostorSpriteManager

    @@ -212,48 +212,50 @@
    [more]inline const osg::Vec3& getEyeLocal() const
    -[more]inline const osg::Vec3& getCenterLocal() const +[more]inline const osg::Vec3& getUpLocal() const
    -[more]inline const osg::Vec3& getLookVectorLocal() const +[more]inline const osg::Vec3& getCenterLocal() const
    -[more]inline bool isCulled(const osg::BoundingSphere& sp, CullViewState::CullingMode& mode) const +[more]inline const osg::Vec3& getLookVectorLocal() const
    -[more]inline const bool isCulled(const osg::BoundingBox& bb, const CullViewState::CullingMode mode) const +[more]inline bool isCulled(const osg::BoundingSphere& sp, CullViewState::CullingMode& mode) const
    -[more]void updateCalculatedNearFar(const osg::BoundingBox& bb) +[more]inline const bool isCulled(const osg::BoundingBox& bb, const CullViewState::CullingMode mode) const
    -[more]void updateCalculatedNearFar(const osg::Vec3& pos) +[more]void updateCalculatedNearFar(const osg::BoundingBox& bb)
    -[more]void updateCalculatedNearFar(osg::Drawable* pDrawable) +[more]void updateCalculatedNearFar(const osg::Vec3& pos) +
    +[more]void updateCalculatedNearFar(osg::Drawable* pDrawable)
    updates near and far clipping values for case of detailed culling
    -[more]double calculateZNear(const osg::Vec3& position, const osg::Vec3& eye, const osg::Vec3& look) +[more]double calculateZNear(const osg::Vec3& position, const osg::Vec3& eye, const osg::Vec3& look)
    calculates near for "global" vertex in scene
    -[more]inline void addDrawable(osg::Drawable* drawable, osg::Matrix* matrix) +[more]inline void addDrawable(osg::Drawable* drawable, osg::Matrix* matrix)
    Add a drawable to current render graph
    -[more]inline void addDrawableAndDepth(osg::Drawable* drawable, osg::Matrix* matrix, const float depth) +[more]inline void addDrawableAndDepth(osg::Drawable* drawable, osg::Matrix* matrix, const float depth)
    Add a drawable and depth to current render graph
    -[more]inline void addLight(osg::Light* light, osg::Matrix* matrix) +[more]inline void addLight(osg::Light* light, osg::Matrix* matrix)
    Add a light to current render graph
    -[more]osg::ImpostorSprite* createImpostorSprite(osg::Impostor& node) +[more]osg::ImpostorSprite* createImpostorSprite(osg::Impostor& node)
    create an impostor sprite by setting up a pre-rendering stage to generate the impostor texture.
    -[more]inline osg::Matrix* createOrReuseMatrix() +[more]inline osg::Matrix* createOrReuseMatrix()
    -[more]inline RenderLeaf* createOrReuseRenderLeaf(osg::Drawable* drawable, osg::Matrix* matrix, float depth=0.0f) +[more]inline RenderLeaf* createOrReuseRenderLeaf(osg::Drawable* drawable, osg::Matrix* matrix, float depth=0.0f)

    Protected Members

    -[more]typedef std::vector< osg::ref_ptr<CullViewState> > CullViewStateStack CullViewStateStack _viewStateStack +[more]typedef std::vector< osg::ref_ptr<CullViewState> > CullViewStateStack CullViewStateStack _viewStateStack
    -[more]typedef std::vector< osg::ref_ptr<osg::Matrix> > MatrixList MatrixList _reuseMatrixList +[more]typedef std::vector< osg::ref_ptr<osg::Matrix> > MatrixList MatrixList _reuseMatrixList
    -[more]typedef std::vector< osg::ref_ptr<RenderLeaf> > RenderLeafList RenderLeafList _reuseRenderLeafList +[more]typedef std::vector< osg::ref_ptr<RenderLeaf> > RenderLeafList RenderLeafList _reuseRenderLeafList

    @@ -440,7 +442,7 @@ such as based on viewport dimensions.

    -

    ovoid pushCullViewState(const osg::Matrix* matrix=NULL) +
    ovoid pushCullViewState(osg::Matrix* matrix=NULL)

    @@ -524,187 +526,191 @@ state group.

    oinline const osg::Vec3& getEyeLocal() const

    - + +

    oinline const osg::Vec3& getUpLocal() const +

    + +

    oinline const osg::Vec3& getCenterLocal() const

    - +

    oinline const osg::Vec3& getLookVectorLocal() const

    - +

    oinline bool isCulled(const osg::BoundingSphere& sp, CullViewState::CullingMode& mode) const

    - +

    oinline const bool isCulled(const osg::BoundingBox& bb, const CullViewState::CullingMode mode) const

    - +

    ovoid updateCalculatedNearFar(const osg::BoundingBox& bb)

    - +

    ovoid updateCalculatedNearFar(const osg::Vec3& pos)

    - +

    ovoid updateCalculatedNearFar(osg::Drawable* pDrawable)
    updates near and far clipping values for case of detailed culling

    - +

    odouble calculateZNear(const osg::Vec3& position, const osg::Vec3& eye, const osg::Vec3& look)
    calculates near for "global" vertex in scene

    - +

    omutable osg::Vec3 _LeftUp
    unit vector of direction along intersection of cameras left and top clipping planes in "global" coordinates

    - +

    omutable osg::Vec3 _RightUp
    unit vector of direction along intersection of cameras right and top clipping planes in "global" coordinates

    - +

    omutable osg::Vec3 _LeftDown
    unit vector of direction along intersection of cameras left and down clipping planes in "global" coordinates

    - +

    omutable osg::Vec3 _RightDown
    unit vector of direction along intersection of cameras right and down clipping planes in "global" coordinates

    - +

    oinline void addDrawable(osg::Drawable* drawable, osg::Matrix* matrix)
    Add a drawable to current render graph

    - +

    oinline void addDrawableAndDepth(osg::Drawable* drawable, osg::Matrix* matrix, const float depth)
    Add a drawable and depth to current render graph

    - +

    oinline void addLight(osg::Light* light, osg::Matrix* matrix)
    Add a light to current render graph

    - +

    oosg::ImpostorSprite* createImpostorSprite(osg::Impostor& node)
    create an impostor sprite by setting up a pre-rendering stage to generate the impostor texture.

    - +

    obool _detailedCulling

    - +

    otypedef std::vector< osg::ref_ptr<CullViewState> > CullViewStateStack CullViewStateStack _viewStateStack

    - +

    oosg::ref_ptr<CullViewState> _tvs

    - +

    oosg::ref_ptr<CullViewState> _cvs

    - +

    oosg::ref_ptr<RenderGraph> _rootRenderGraph

    - +

    oRenderGraph* _currentRenderGraph

    - +

    oosg::ref_ptr<RenderStage> _rootRenderStage

    - +

    oRenderBin* _currentRenderBin

    - +

    ostd::vector<CullViewState::CullingMode> _cullingModeStack

    - +

    ofloat _LODBias

    - +

    ofloat _calculated_znear

    - +

    ofloat _calculated_zfar

    - +

    oosg::ref_ptr<const osg::Camera> _camera

    - +

    oosg::ref_ptr<const osg::EarthSky> _earthSky

    - +

    oTransparencySortMode _tsm

    - +

    oosg::ref_ptr<osg::Viewport> _viewport

    - +

    obool _impostorActive

    - +

    obool _depthSortImpostorSprites

    - +

    ofloat _impostorPixelErrorThreshold

    - +

    oint _numFramesToKeepImpostorSprites

    - +

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

    - +

    ounsigned int _currentReuseMatrixIndex

    - +

    oinline osg::Matrix* createOrReuseMatrix()

    - +

    otypedef std::vector< osg::ref_ptr<RenderLeaf> > RenderLeafList RenderLeafList _reuseRenderLeafList

    - +

    ounsigned int _currentReuseRenderLeafIndex

    - +

    oinline RenderLeaf* createOrReuseRenderLeaf(osg::Drawable* drawable, osg::Matrix* matrix, float depth=0.0f)

    - +

    oosg::ref_ptr<osg::ImpostorSpriteManager> _impostorSpriteManager

    diff --git a/doc/doc++/osgUtil/DepthSortedBin.html b/doc/doc++/osgUtil/DepthSortedBin.html index efb2aec3b..2c9896dd2 100644 --- a/doc/doc++/osgUtil/DepthSortedBin.html +++ b/doc/doc++/osgUtil/DepthSortedBin.html @@ -24,38 +24,40 @@

    Public Methods

    [more] DepthSortedBin()
    -[more]virtual osg::Object* clone() const +[more]virtual osg::Object* cloneType() const
    -[more]virtual bool isSameKindAs(const osg::Object* obj) const +[more]virtual osg::Object* clone(const osg::CopyOp&) const
    -[more]virtual const char* className() const +[more]virtual bool isSameKindAs(const osg::Object* obj) const
    -[more]virtual void reset() +[more]virtual const char* className() const
    -[more]virtual void sort_local() +[more]virtual void reset()
    -[more]virtual void draw_local(osg::State& state, RenderLeaf*& previous) +[more]virtual void sort_local()
    -[more]void setDrawOrder(const DrawOrder drawOrder) +[more]virtual void draw_local(osg::State& state, RenderLeaf*& previous)
    -[more]const DrawOrder getDrawOrder() const +[more]void setDrawOrder(const DrawOrder drawOrder) +
    +[more]const DrawOrder getDrawOrder() const

    Public Members

    -[more]enum DrawOrder +[more]enum DrawOrder

    Protected Fields

    -[more]DrawOrder _drawOrder +[more]DrawOrder _drawOrder
    -[more]RenderLeafList _renderLeafList +[more]RenderLeafList _renderLeafList

    Protected Methods

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

    @@ -113,62 +115,66 @@
    o DepthSortedBin()

    - + -

    ovirtual osg::Object* clone() const +
    ovirtual osg::Object* cloneType() const +

    + + +

    ovirtual osg::Object* clone(const osg::CopyOp&) const

    - +

    ovirtual bool isSameKindAs(const osg::Object* obj) const

    - +

    ovirtual const char* className() const

    - +

    ovirtual void reset()

    - +

    ovirtual void sort_local()

    - +

    ovirtual void draw_local(osg::State& state, RenderLeaf*& previous)

    - +

    oenum DrawOrder

    - +
    o FRONT_TO_BACK

    - +

    o BACK_TO_FRONT

    - -
    ovoid setDrawOrder(const DrawOrder drawOrder) + +
    ovoid setDrawOrder(const DrawOrder drawOrder)

    - -

    oconst DrawOrder getDrawOrder() const + +
    oconst DrawOrder getDrawOrder() const

    - +

    ovirtual ~DepthSortedBin()

    - -

    oDrawOrder _drawOrder + +
    oDrawOrder _drawOrder

    - +

    oRenderLeafList _renderLeafList

    diff --git a/doc/doc++/osgUtil/DisplayListVisitor.html b/doc/doc++/osgUtil/DisplayListVisitor.html index baf05e814..f88d679c7 100644 --- a/doc/doc++/osgUtil/DisplayListVisitor.html +++ b/doc/doc++/osgUtil/DisplayListVisitor.html @@ -23,13 +23,13 @@

    Public Methods

    -[more] DisplayListVisitor(Mode mode=COMPILE_DISPLAY_LISTS|COMPILE_STATE_ATTRIBUTES) +[more] DisplayListVisitor(Mode mode=COMPILE_DISPLAY_LISTS|COMPILE_STATE_ATTRIBUTES)
    Construct a CompileGeoSetsVisior to traverse all child, with set specified display list mode.
    -[more]void setMode(Mode mode) +[more]void setMode(Mode mode)
    Set the operational mode of how the visitor should set up osg::GeoSet's
    -[more]Mode getMode() const +[more]Mode getMode() const
    Get the operational mode
    [more]void setState(osg::State* state) @@ -52,7 +52,7 @@

    Protected Fields

    -[more]Mode _mode +[more]Mode _mode
    [more]osg::ref_ptr<osg::State> _state

    @@ -92,19 +92,19 @@ osg::StateAttribute's -
    o DisplayListVisitor(Mode mode=COMPILE_DISPLAY_LISTS|COMPILE_STATE_ATTRIBUTES) +
    o DisplayListVisitor(Mode mode=COMPILE_DISPLAY_LISTS|COMPILE_STATE_ATTRIBUTES)
    Construct a CompileGeoSetsVisior to traverse all child, with set specified display list mode. Default mode is to gset->setUseDisplayList(true).

    -

    ovoid setMode(Mode mode) +
    ovoid setMode(Mode mode)
    Set the operational mode of how the visitor should set up osg::GeoSet's

    -

    oMode getMode() const +
    oMode getMode() const
    Get the operational mode

    @@ -129,7 +129,7 @@ _displayListMode

    -

    oMode _mode +
    oMode _mode

    diff --git a/doc/doc++/osgUtil/FlattenStaticTransformsVisitor.html b/doc/doc++/osgUtil/FlattenStaticTransformsVisitor.html index b03f40e35..fb4ab0b09 100644 --- a/doc/doc++/osgUtil/FlattenStaticTransformsVisitor.html +++ b/doc/doc++/osgUtil/FlattenStaticTransformsVisitor.html @@ -21,31 +21,50 @@


    -

    -

    Public Fields

    -[more]TransformList _transformList -
    -[more]bool _ignoreDynamicTransforms -

    -

    Public Methods

    -[more] FlattenStaticTransformsVisitor(bool ignoreDynamicTransforms=true) +[more] FlattenStaticTransformsVisitor(bool ignoreDynamicTransforms=true)
    -[more]virtual void apply(osg::Geode& geode) +[more]virtual void apply(osg::Geode& geode)
    -[more]virtual void apply(osg::Billboard& billboard) +[more]virtual void apply(osg::Billboard& billboard)
    -[more]virtual void apply(osg::LOD& lod) +[more]virtual void apply(osg::LOD& lod)
    -[more]virtual void apply(osg::Transform& transform) +[more]virtual void apply(osg::Transform& transform)
    -[more]void removeTransforms() +[more]void removeTransforms()

    -

    Public Members

    -[more]typedef std::set<osg::Transform*> TransformList MatrixStack _matrixStack +

    Protected Fields

    +[more]bool _ignoreDynamicTransforms +
    +[more]MatrixStack _matrixStack +
    +[more]TransformStack _transformStack +
    +[more]TransformMap _transformMap +
    +[more]ObjectMap _objectMap +

    + +

    +

    Protected Methods

    +[more]typedef std::map<osg::Object*,ObjectStruct> ObjectMap void disableObject(osg::Object* object) +
    +[more]void disableObject(ObjectMap::iterator itr) +
    +[more]void disableTransform(osg::Transform* transform) +
    +[more]void doTransform(osg::Object* obj, osg::Matrix& matrix) +

    + +

    +

    Protected Members

    +[more]typedef std::vector<osg::Matrix> MatrixStackstruct TransformStruct +
    +[more]struct ObjectStruct

    @@ -58,41 +77,121 @@ geometry on the leaves of the scene graph, then removing the now redundent transforms
    - - -
    otypedef std::set<osg::Transform*> TransformList MatrixStack _matrixStack -

    - - -

    oTransformList _transformList -

    - - -

    obool _ignoreDynamicTransforms -

    - +

    o FlattenStaticTransformsVisitor(bool ignoreDynamicTransforms=true)

    - +

    ovirtual void apply(osg::Geode& geode)

    - +

    ovirtual void apply(osg::Billboard& billboard)

    - +

    ovirtual void apply(osg::LOD& lod)

    - +

    ovirtual void apply(osg::Transform& transform)

    - +

    ovoid removeTransforms() +

    + + +

    otypedef std::vector<osg::Matrix> MatrixStackstruct TransformStruct +

    + + + +
    otypedef std::set<osg::Object*> ObjectSet TransformStruct() +

    + + +

    ovoid add(osg::Object* obj) +

    + + +

    obool _canBeApplied +

    + + +

    oObjectSet _objectSet +

    + + + +
    ostruct ObjectStruct +

    + + + +
    otypedef std::set<osg::Transform*> TransformSet ObjectStruct() +

    + + +

    ovoid add(TransformStack& transforms, osg::Matrix& matrix) +

    + + +

    obool _canBeApplied +

    + + +

    obool _matrixSet +

    + + +

    obool _moreThanOneMatrixRequired +

    + + +

    oosg::Matrix _matrix +

    + + +

    oTransformSet _transformSet +

    + + + +
    otypedef std::map<osg::Object*,ObjectStruct> ObjectMap void disableObject(osg::Object* object) +

    + + +

    ovoid disableObject(ObjectMap::iterator itr) +

    + + +

    ovoid disableTransform(osg::Transform* transform) +

    + + +

    ovoid doTransform(osg::Object* obj, osg::Matrix& matrix) +

    + + +

    obool _ignoreDynamicTransforms +

    + + +

    oMatrixStack _matrixStack +

    + + +

    oTransformStack _transformStack +

    + + +

    oTransformMap _transformMap +

    + + +

    oObjectMap _objectMap


    This class has no child classes.
    diff --git a/doc/doc++/osgUtil/GUIEventAdapter.html b/doc/doc++/osgUtil/GUIEventAdapter.html index 448c0c01e..487297d48 100644 --- a/doc/doc++/osgUtil/GUIEventAdapter.html +++ b/doc/doc++/osgUtil/GUIEventAdapter.html @@ -94,17 +94,17 @@ Toolkit see osgGLUT::GLUTEventAdapter.
    oenum MouseButtonMask

    - + -
    o LEFT_BUTTON +
    o LEFT_MOUSE_BUTTON

    - + -

    o MIDDLE_BUTTON +
    o MIDDLE_MOUSE_BUTTON

    - + -

    o RIGHT_BUTTON +
    o RIGHT_MOUSE_BUTTON

    diff --git a/doc/doc++/osgUtil/HIER.html b/doc/doc++/osgUtil/HIER.html index 341032ca0..c2bd1e7b4 100644 --- a/doc/doc++/osgUtil/HIER.html +++ b/doc/doc++/osgUtil/HIER.html @@ -31,7 +31,7 @@
  • osgUtil::Hit
  • osgUtil::InsertImpostorsVisitor -
  • osgUtil::IntersectState +
  • osgUtil::IntersectVisitor::IntersectState
  • osgUtil::IntersectVisitor
  • osgUtil::Optimizer
  • osgUtil::RegisterRenderBinProxy diff --git a/doc/doc++/osgUtil/HIERjava.html b/doc/doc++/osgUtil/HIERjava.html index be7d33b64..05e027965 100644 --- a/doc/doc++/osgUtil/HIERjava.html +++ b/doc/doc++/osgUtil/HIERjava.html @@ -64,11 +64,11 @@
  • - - - - - + + + + + @@ -79,14 +79,14 @@ - + - + diff --git a/doc/doc++/osgUtil/Hit.html b/doc/doc++/osgUtil/Hit.html index 6c4163a25..b4344ea72 100644 --- a/doc/doc++/osgUtil/Hit.html +++ b/doc/doc++/osgUtil/Hit.html @@ -9,53 +9,53 @@

    class OSGUTIL_EXPORT osgUtil::Hit


    -

    Inheritance:

    - - - - - - - -
    -

    Public Fields

    -[more]float _ratio +[more]float _ratio
    -[more]osg::LineSegment* _originalLineSegment +[more]osg::ref_ptr<osg::LineSegment> _originalLineSegment
    -[more]osg::LineSegment* _localLineSegment +[more]osg::ref_ptr<osg::LineSegment> _localLineSegment
    -[more]osg::NodePath _nodePath +[more]osg::NodePath _nodePath
    -[more]osg::Geode* _geode +[more]osg::ref_ptr<osg::Geode> _geode
    -[more]osg::GeoSet* _geoset +[more]osg::ref_ptr<osg::GeoSet> _geoset
    -[more]osg::Matrix* _matrix +[more]osg::ref_ptr<osg::Matrix> _matrix
    -[more]VecIndexList _vecIndexList +[more]osg::ref_ptr<osg::Matrix> _inverse
    -[more]int _primitiveIndex +[more]VecIndexList _vecIndexList
    -[more]osg::Vec3 _intersectPoint +[more]int _primitiveIndex
    -[more]osg::Vec3 _intersectNormal +[more]osg::Vec3 _intersectPoint +
    +[more]osg::Vec3 _intersectNormal

    Public Methods

    -[more] Hit() +[more] Hit()
    -[more] Hit(const Hit& hit) +[more] Hit(const Hit& hit)
    -[more] ~Hit() +[more] ~Hit()
    -[more]Hit& operator = (const Hit& hit) +[more]Hit& operator = (const Hit& hit)
    -[more]typedef std::vector<int> VecIndexList bool operator < (const Hit& hit) const +[more]typedef std::vector<int> VecIndexList bool operator < (const Hit& hit) const +
    +[more]const osg::Vec3& getLocalIntersectPoint() const +
    +[more]const osg::Vec3& getLocalIntersectNormal() const +
    +[more]const osg::Vec3 getWorldIntersectPoint() const +
    +[more]const osg::Vec3 getWorldIntersectNormal() const

    @@ -66,67 +66,87 @@
    - +
    o Hit()

    - -

    o Hit(const Hit& hit) + +
    o Hit(const Hit& hit)

    - +

    o ~Hit()

    - +

    oHit& operator = (const Hit& hit)

    - +

    otypedef std::vector<int> VecIndexList bool operator < (const Hit& hit) const

    + + +

    oconst osg::Vec3& getLocalIntersectPoint() const +

    + + +

    oconst osg::Vec3& getLocalIntersectNormal() const +

    + + +

    oconst osg::Vec3 getWorldIntersectPoint() const +

    + + +

    oconst osg::Vec3 getWorldIntersectNormal() const +

    - +

    ofloat _ratio

    - -

    oosg::LineSegment* _originalLineSegment + +
    oosg::ref_ptr<osg::LineSegment> _originalLineSegment

    - -

    oosg::LineSegment* _localLineSegment + +
    oosg::ref_ptr<osg::LineSegment> _localLineSegment

    - +

    oosg::NodePath _nodePath

    - -

    oosg::Geode* _geode + +
    oosg::ref_ptr<osg::Geode> _geode

    - -

    oosg::GeoSet* _geoset + +
    oosg::ref_ptr<osg::GeoSet> _geoset

    - -

    oosg::Matrix* _matrix + +
    oosg::ref_ptr<osg::Matrix> _matrix +

    + + +

    oosg::ref_ptr<osg::Matrix> _inverse

    - +

    oVecIndexList _vecIndexList

    - +

    oint _primitiveIndex

    - +

    oosg::Vec3 _intersectPoint

    - +

    oosg::Vec3 _intersectNormal

    diff --git a/doc/doc++/osgUtil/IntersectState.html b/doc/doc++/osgUtil/IntersectState.html index e1f26e8a6..247b90fff 100644 --- a/doc/doc++/osgUtil/IntersectState.html +++ b/doc/doc++/osgUtil/IntersectState.html @@ -2,12 +2,12 @@ - class OSGUTIL_EXPORT osgUtil::IntersectState + class osgUtil::IntersectVisitor::IntersectState -

    class OSGUTIL_EXPORT osgUtil::IntersectState


    +

    class IntersectState


    Inheritance:

    @@ -22,30 +22,32 @@

    Public Fields

    -[more]osg::Matrix* _matrix +[more]osg::ref_ptr<osg::Matrix> _matrix
    -[more]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)

    Public Members

    -[more]typedef std::vector< std::pair<osg::LineSegment*,osg::LineSegment*> > 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()

    @@ -56,35 +58,39 @@
    - +
    o IntersectState()

    - -

    oosg::Matrix* _matrix + +
    oosg::ref_ptr<osg::Matrix> _matrix

    - -

    oosg::Matrix* _inverse + +
    oosg::ref_ptr<osg::Matrix> _inverse

    - -

    otypedef std::vector< std::pair<osg::LineSegment*,osg::LineSegment*> > LineSegmentList LineSegmentList _segList + +
    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 308018160..90902e3bb 100644 --- a/doc/doc++/osgUtil/IntersectVisitor.html +++ b/doc/doc++/osgUtil/IntersectVisitor.html @@ -23,73 +23,75 @@

    Public Methods

    -[more] IntersectVisitor() +[more] IntersectVisitor()
    -[more]virtual ~IntersectVisitor() +[more]virtual ~IntersectVisitor()
    -[more]void reset() +[more]void reset()
    -[more]void addLineSegment(osg::LineSegment* seg) +[more]void addLineSegment(osg::LineSegment* seg)
    Add a line segment to use for intersection testing during scene traversal
    -[more]void setHitReportingMode(HitReportingMode hrm) +[more]void setHitReportingMode(HitReportingMode hrm)
    Set the mode of how hits should reported back from a traversal
    -[more]HitReportingMode getHitReportingMode() +[more]HitReportingMode getHitReportingMode()
    Get 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]typedef std::map<osg::LineSegment*,HitList > LineSegmentHitListMap HitList& getHitList(osg::LineSegment* seg)
    -[more]int getNumHits(osg::LineSegment* seg) +[more]int getNumHits(osg::LineSegment* seg)
    -[more]bool hits() +[more]bool hits()
    -[more]virtual void apply(osg::Node&) +[more]virtual void apply(osg::Node&)
    -[more]virtual void apply(osg::Geode& node) +[more]virtual void apply(osg::Geode& node)
    -[more]virtual void apply(osg::Billboard& node) +[more]virtual void apply(osg::Billboard& node)
    -[more]virtual void apply(osg::Group& node) +[more]virtual void apply(osg::Group& node)
    -[more]virtual void apply(osg::Transform& node) +[more]virtual void apply(osg::Transform& 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)

    Public Members

    -[more]enum HitReportingMode +[more]enum HitReportingMode
    Modes to control how IntersectVisitor reports hits.

    Protected Fields

    -[more]osg::NodePath _nodePath +[more]osg::NodePath _nodePath
    -[more]HitReportingMode _hitReportingMode +[more]HitReportingMode _hitReportingMode
    -[more]LineSegmentHitListMap _segHitList +[more]LineSegmentHitListMap _segHitList

    Protected Methods

    -[more]bool intersect(osg::GeoSet& gset) +[more]bool intersect(osg::GeoSet& 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

    -[more]typedef std::vector<osg::ref_ptr<IntersectState> > IntersectStateStack IntersectStateStack _intersectStateStack +class IntersectState: public osg::Referenced +
    +[more]typedef std::vector<osg::ref_ptr<IntersectState> > IntersectStateStack IntersectStateStack _intersectStateStack

    @@ -103,121 +105,121 @@ practical functionality!
    - +
    o IntersectVisitor()

    - +

    ovirtual ~IntersectVisitor()

    - +

    ovoid reset()

    - +

    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) + +
    ovoid setHitReportingMode(HitReportingMode hrm)
    Set the mode of how hits should reported back from a traversal

    - -

    oHitReportingMode getHitReportingMode() + +
    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::GeoSet& 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 + +
    oHitReportingMode _hitReportingMode

    - +

    oLineSegmentHitListMap _segHitList

    diff --git a/doc/doc++/osgUtil/Optimizer.html b/doc/doc++/osgUtil/Optimizer.html index 71fb2da6d..32b720102 100644 --- a/doc/doc++/osgUtil/Optimizer.html +++ b/doc/doc++/osgUtil/Optimizer.html @@ -13,15 +13,15 @@

    Public Methods

    -[more] Optimizer() +[more] Optimizer()
    -[more]virtual void optimize(osg::Node* node, unsigned int options = ALL_OPTIMIZATIONS) +[more]virtual void optimize(osg::Node* node, unsigned int options = ALL_OPTIMIZATIONS)
    traverse the node and its subgraph with a series of optimization visitors, specificied by the OptizationOptions

    Public Members

    -[more]enum OptimizationOptions +[more]enum OptimizationOptions
    class OSGUTIL_EXPORT FlattenStaticTransformsVisitor: public osg::NodeVisitor
    Flatten Static Trasform nodes by applying their transform to the geometry on the leaves of the scene graph, then removing the now redundent transforms @@ -46,38 +46,38 @@ For example of usage see src/Demos/osgimpostor.
    - +
    o Optimizer()

    - +

    oenum OptimizationOptions

    - +
    o FLATTEN_STATIC_TRANSFORMS

    - +

    o REMOVE_REDUNDENT_NODES

    - +

    o COMBINE_ADJACENT_LODS

    - +

    o SHARE_DUPLICATE_STATE

    - +

    o ALL_OPTIMIZATIONS

    - -
    ovirtual void optimize(osg::Node* node, unsigned int options = ALL_OPTIMIZATIONS) + +
    ovirtual void optimize(osg::Node* node, unsigned int options = ALL_OPTIMIZATIONS)
    traverse the node and its subgraph with a series of optimization visitors, specificied by the OptizationOptions

    diff --git a/doc/doc++/osgUtil/RegisterRenderBinProxy.html b/doc/doc++/osgUtil/RegisterRenderBinProxy.html index eb11c7852..84825739f 100644 --- a/doc/doc++/osgUtil/RegisterRenderBinProxy.html +++ b/doc/doc++/osgUtil/RegisterRenderBinProxy.html @@ -13,14 +13,14 @@

    Public Methods

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

    Protected Fields

    -[more]osg::ref_ptr<T> _rb +[more]osg::ref_ptr<T> _rb

    @@ -32,15 +32,15 @@
    - +
    o RegisterRenderBinProxy()

    - +

    o ~RegisterRenderBinProxy()

    - +

    oosg::ref_ptr<T> _rb

    diff --git a/doc/doc++/osgUtil/RemoveRedundentNodesVisitor.html b/doc/doc++/osgUtil/RemoveRedundentNodesVisitor.html index 61b3cffe3..d4377b64e 100644 --- a/doc/doc++/osgUtil/RemoveRedundentNodesVisitor.html +++ b/doc/doc++/osgUtil/RemoveRedundentNodesVisitor.html @@ -23,16 +23,16 @@

    Public Methods

    -[more] RemoveRedundentNodesVisitor() +[more] RemoveRedundentNodesVisitor()
    -[more]virtual void apply(osg::Group& group) +[more]virtual void apply(osg::Group& group)
    -[more]void removeRedundentNodes() +[more]void removeRedundentNodes()

    Public Members

    -[more]typedef std::set<osg::Node*> NodeList NodeList _redundentNodeList +[more]typedef std::set<osg::Node*> NodeList NodeList _redundentNodeList

    @@ -44,19 +44,19 @@
    - +
    otypedef std::set<osg::Node*> NodeList NodeList _redundentNodeList

    - +

    o RemoveRedundentNodesVisitor()

    - +

    ovirtual void apply(osg::Group& group)

    - +

    ovoid removeRedundentNodes()

    diff --git a/doc/doc++/osgUtil/RenderBin.html b/doc/doc++/osgUtil/RenderBin.html index 63145acd0..27bd86da9 100644 --- a/doc/doc++/osgUtil/RenderBin.html +++ b/doc/doc++/osgUtil/RenderBin.html @@ -23,63 +23,65 @@

    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

    Public Methods

    -[more]typedef std::map< int, osg::ref_ptr<RenderBin> >static RenderBinList RenderBin* createRenderBin(const std::string& binName) +[more]typedef std::map< int, osg::ref_ptr<RenderBin> >static RenderBinList RenderBin* createRenderBin(const std::string& binName)
    -[more]static void addRenderBinPrototype(RenderBin* proto) +[more]static void addRenderBinPrototype(RenderBin* proto)
    -[more]static void removeRenderBinPrototype(RenderBin* proto) +[more]static void removeRenderBinPrototype(RenderBin* proto)
    -[more] RenderBin() +[more] RenderBin()
    -[more]virtual osg::Object* clone() const +[more]virtual osg::Object* cloneType() const
    -[more]virtual bool isSameKindAs(const osg::Object* obj) const +[more]virtual osg::Object* clone(const osg::CopyOp&) const
    -[more]virtual const char* className() const +[more]virtual bool isSameKindAs(const osg::Object* obj) const
    -[more]virtual void reset() +[more]virtual const char* className() const
    -[more]RenderBin* find_or_insert(int binNum, const std::string& binName) +[more]virtual void reset()
    -[more]void addRenderGraph(RenderGraph* rg) +[more]RenderBin* find_or_insert(int binNum, const std::string& binName)
    -[more]void sort() +[more]void addRenderGraph(RenderGraph* rg)
    -[more]virtual void sort_local() +[more]void sort()
    -[more]virtual void draw(osg::State& state, RenderLeaf*& previous) +[more]virtual void sort_local()
    -[more]virtual void draw_local(osg::State& state, RenderLeaf*& previous) +[more]virtual void draw(osg::State& state, RenderLeaf*& previous)
    -[more]bool getStats(osg::Statistics* primStats) +[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)

    Public Members

    -[more]typedef std::map< std::string, osg::ref_ptr<RenderBin> >static RenderBinPrototypeList RenderBinPrototypeList s_renderBinPrototypeList +[more]typedef std::map< std::string, osg::ref_ptr<RenderBin> >static RenderBinPrototypeList RenderBinPrototypeList s_renderBinPrototypeList

    Protected Methods

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

    @@ -92,100 +94,104 @@ RenderBin base class
    - +
    otypedef std::map< int, osg::ref_ptr<RenderBin> >static RenderBinList RenderBin* createRenderBin(const std::string& binName)

    - +

    ostatic void addRenderBinPrototype(RenderBin* proto)

    - +

    ostatic void removeRenderBinPrototype(RenderBin* proto)

    - +

    o RenderBin()

    + + +

    ovirtual osg::Object* cloneType() const +

    - -

    ovirtual osg::Object* clone() const + +
    ovirtual osg::Object* clone(const osg::CopyOp&) const

    - +

    ovirtual bool isSameKindAs(const osg::Object* obj) const

    - +

    ovirtual const char* className() const

    - +

    ovirtual void reset()

    - +

    oRenderBin* find_or_insert(int binNum, const std::string& binName)

    - +

    ovoid addRenderGraph(RenderGraph* rg)

    - +

    ovoid sort()

    - +

    ovirtual void sort_local()

    - +

    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)

    - +

    oint _binNum

    - +

    oRenderBin* _parent

    - +

    oRenderStage* _stage

    - +

    oRenderBinList _bins

    - +

    oRenderGraphList _renderGraphList

    - +

    otypedef std::map< std::string, osg::ref_ptr<RenderBin> >static RenderBinPrototypeList RenderBinPrototypeList s_renderBinPrototypeList

    - +

    ovirtual ~RenderBin()


    diff --git a/doc/doc++/osgUtil/RenderGraph.html b/doc/doc++/osgUtil/RenderGraph.html index 51022de4c..812acd23f 100644 --- a/doc/doc++/osgUtil/RenderGraph.html +++ b/doc/doc++/osgUtil/RenderGraph.html @@ -22,50 +22,50 @@

    Public Fields

    -[more]osg::ref_ptr<const osg::StateSet> _stateset +[more]osg::ref_ptr<const osg::StateSet> _stateset
    -[more]int _depth +[more]int _depth
    -[more]ChildList _children +[more]ChildList _children
    -[more]LeafList _leaves +[more]LeafList _leaves

    Public Methods

    -[more] RenderGraph() +[more] RenderGraph()
    -[more] RenderGraph(RenderGraph* parent, const osg::StateSet* stateset) +[more] RenderGraph(RenderGraph* parent, const osg::StateSet* stateset)
    -[more] ~RenderGraph() +[more] ~RenderGraph()
    -[more]inline const bool empty() const +[more]inline const bool empty() const
    return true if all of drawables, lights and children are empty
    -[more]inline const bool leaves_empty() const +[more]inline const bool leaves_empty() const
    -[more]void reset() +[more]void reset()
    reset the internal contents of a RenderGraph, including deleting all children
    -[more]void clean() +[more]void clean()
    recursively clean the RenderGraph of all its drawables, lights and depths.
    -[more]void prune() +[more]void prune()
    recursively prune the RenderGraph of empty children
    -[more]inline RenderGraph* find_or_insert(const osg::StateSet* stateset) +[more]inline RenderGraph* find_or_insert(const osg::StateSet* stateset)
    -[more]inline void addLeaf(RenderLeaf* leaf) +[more]inline void addLeaf(RenderLeaf* leaf)
    add a render leaf
    -[more]static inline void moveRenderGraph(osg::State& state, RenderGraph* sg_curr, RenderGraph* sg_new) +[more]static inline void moveRenderGraph(osg::State& state, RenderGraph* sg_curr, RenderGraph* sg_new)
    -[more]inline static void moveToRootRenderGraph(osg::State& state, RenderGraph* sg_curr) +[more]inline static void moveToRootRenderGraph(osg::State& state, RenderGraph* sg_curr)

    Public Members

    -[more]typedef std::vector< osg::ref_ptr<RenderLeaf> > LeafList RenderGraph* _parent +[more]typedef std::vector< osg::ref_ptr<RenderLeaf> > LeafList RenderGraph* _parent

    @@ -76,77 +76,77 @@
    - +
    otypedef std::vector< osg::ref_ptr<RenderLeaf> > LeafList RenderGraph* _parent

    - +

    oosg::ref_ptr<const osg::StateSet> _stateset

    - +

    oint _depth

    - +

    oChildList _children

    - +

    oLeafList _leaves

    - +

    o RenderGraph()

    - -

    o RenderGraph(RenderGraph* parent, const osg::StateSet* stateset) + +
    o RenderGraph(RenderGraph* parent, const osg::StateSet* stateset)

    - +

    o ~RenderGraph()

    - +

    oinline const bool empty() const
    return true if all of drawables, lights and children are empty

    - +

    oinline const bool leaves_empty() const

    - +

    ovoid reset()
    reset the internal contents of a RenderGraph, including deleting all children

    - +

    ovoid clean()
    recursively clean the RenderGraph of all its drawables, lights and depths. Leaves children intact, and ready to be populated again.

    - +

    ovoid prune()
    recursively prune the RenderGraph of empty children

    - +

    oinline RenderGraph* find_or_insert(const osg::StateSet* stateset)

    - +

    oinline void addLeaf(RenderLeaf* leaf)
    add a render leaf

    - +

    ostatic inline void moveRenderGraph(osg::State& state, RenderGraph* sg_curr, RenderGraph* sg_new)

    - +

    oinline static void moveToRootRenderGraph(osg::State& state, RenderGraph* sg_curr)

    diff --git a/doc/doc++/osgUtil/RenderLeaf.html b/doc/doc++/osgUtil/RenderLeaf.html index abf87f685..52ce83d70 100644 --- a/doc/doc++/osgUtil/RenderLeaf.html +++ b/doc/doc++/osgUtil/RenderLeaf.html @@ -23,24 +23,24 @@

    Public Fields

    -[more]RenderGraph* _parent +[more]RenderGraph* _parent
    -[more]osg::Drawable* _drawable +[more]osg::Drawable* _drawable
    -[more]osg::ref_ptr<osg::Matrix> _matrix +[more]osg::ref_ptr<osg::Matrix> _matrix
    -[more]float _depth +[more]float _depth

    Public Methods

    -[more]inline RenderLeaf(osg::Drawable* drawable, osg::Matrix* matrix, float depth=0.0f) +[more]inline RenderLeaf(osg::Drawable* drawable, osg::Matrix* matrix, float depth=0.0f)
    -[more]inline void set(osg::Drawable* drawable, osg::Matrix* matrix, float depth=0.0f) +[more]inline void set(osg::Drawable* drawable, osg::Matrix* matrix, float depth=0.0f)
    -[more]inline void reset() +[more]inline void reset()
    -[more]virtual void render(osg::State& state, RenderLeaf* previous) +[more]virtual void render(osg::State& state, RenderLeaf* previous)

    @@ -52,41 +52,41 @@
    - +
    oinline RenderLeaf(osg::Drawable* drawable, osg::Matrix* matrix, float depth=0.0f)

    - +

    oinline void set(osg::Drawable* drawable, osg::Matrix* matrix, float depth=0.0f)

    - +

    oinline void reset()

    - +

    ovirtual void render(osg::State& state, RenderLeaf* previous)

    - +

    oRenderGraph* _parent

    - +

    oosg::Drawable* _drawable

    - +

    oosg::ref_ptr<osg::Matrix> _matrix

    - +

    ofloat _depth


    This class has no child classes.
    -
    Friends:
    RenderGraph

    Alphabetic index HTML hierarchy of classes or Java


    +
    Friends:
    class osgUtil::RenderGraph

    Alphabetic index HTML hierarchy of classes or Java



    This page was generated with the help of DOC++. diff --git a/doc/doc++/osgUtil/RenderStage.html b/doc/doc++/osgUtil/RenderStage.html index 9ba561c62..a88efcb82 100644 --- a/doc/doc++/osgUtil/RenderStage.html +++ b/doc/doc++/osgUtil/RenderStage.html @@ -23,122 +23,124 @@

    Public Fields

    -[more]DependencyList _dependencyList +[more]DependencyList _dependencyList
    -[more]osg::ref_ptr<osg::Camera> _camera +[more]osg::ref_ptr<osg::Camera> _camera
    -[more]osg::ref_ptr<osg::Viewport> _viewport +[more]osg::ref_ptr<osg::Viewport> _viewport
    -[more]GLbitfield _clearMask +[more]GLbitfield _clearMask
    -[more]osg::ref_ptr<osg::ColorMask> _colorMask +[more]osg::ref_ptr<osg::ColorMask> _colorMask
    -[more]osg::Vec4 _clearColor +[more]osg::Vec4 _clearColor
    -[more]osg::Vec4 _clearAccum +[more]osg::Vec4 _clearAccum
    -[more]double _clearDepth +[more]double _clearDepth
    -[more]int _clearStencil +[more]int _clearStencil
    -[more]mutable osg::ref_ptr<RenderStageLighting> _renderStageLighting +[more]mutable osg::ref_ptr<RenderStageLighting> _renderStageLighting

    Public Methods

    -[more] RenderStage() +[more] RenderStage()
    -[more]virtual osg::Object* clone() const +[more]virtual osg::Object* cloneType() const
    -[more]virtual bool isSameKindAs(const osg::Object* obj) const +[more]virtual osg::Object* clone(const osg::CopyOp&) const
    -[more]virtual const char* className() const +[more]virtual bool isSameKindAs(const osg::Object* obj) const
    -[more]virtual void reset() +[more]virtual const char* className() const
    -[more]void setViewport(osg::Viewport* viewport) +[more]virtual void reset() +
    +[more]void setViewport(osg::Viewport* viewport)
    Set the viewport
    -[more]const osg::Viewport* getViewport() const +[more]const osg::Viewport* getViewport() const
    Get the const viewport.
    -[more]osg::Viewport* getViewport() +[more]osg::Viewport* getViewport()
    Get the viewport.
    -[more]void setClearMask(const GLbitfield mask) +[more]void setClearMask(const GLbitfield mask)
    Set the clear mask used in glClear().
    -[more]const GLbitfield getClearMask() const +[more]const GLbitfield getClearMask() const
    Get the clear mask
    -[more]void setColorMask(osg::ColorMask* cm) +[more]void setColorMask(osg::ColorMask* cm)
    -[more]osg::ColorMask* getColorMask() +[more]osg::ColorMask* getColorMask()
    -[more]const osg::ColorMask* getColorMask() const +[more]const osg::ColorMask* getColorMask() const
    -[more]void setClearColor(const osg::Vec4& color) +[more]void setClearColor(const osg::Vec4& color)
    Set the clear color used in glClearColor().
    -[more]const osg::Vec4& getClearColor() const +[more]const osg::Vec4& getClearColor() const
    Get the clear color
    -[more]void setClearAccum(const osg::Vec4& color) +[more]void setClearAccum(const osg::Vec4& color)
    Set the clear accum used in glClearAccum().
    -[more]const osg::Vec4& getClearAccum() const +[more]const osg::Vec4& getClearAccum() const
    Get the clear accum
    -[more]void setClearDepth(const double depth) +[more]void setClearDepth(const double depth)
    Set the clear depth used in glClearDepth().
    -[more]const double getClearDepth() const +[more]const double getClearDepth() const
    Get the clear depth
    -[more]void setClearStencil(const int stencil) +[more]void setClearStencil(const int stencil)
    Set the clear stencil value used in glClearStencil().
    -[more]const int getClearStencil() const +[more]const int getClearStencil() const
    Get the clear color
    -[more]void setCamera(osg::Camera* camera) +[more]void setCamera(osg::Camera* camera)
    -[more]osg::Camera* getCamera() +[more]osg::Camera* getCamera()
    -[more]const osg::Camera* getCamera() const +[more]const osg::Camera* getCamera() const
    -[more]void setRenderStageLighting(RenderStageLighting* rsl) +[more]void setRenderStageLighting(RenderStageLighting* rsl)
    -[more]RenderStageLighting* getRenderStageLighting() const +[more]RenderStageLighting* getRenderStageLighting() const
    -[more]void setLightingMode(RenderStageLighting::Mode mode) +[more]void setLightingMode(RenderStageLighting::Mode mode)
    -[more]RenderStageLighting::Mode getLightingMode() const +[more]RenderStageLighting::Mode getLightingMode() const
    -[more]void setLight(osg::Light* light) +[more]void setLight(osg::Light* light)
    -[more]osg::Light* getLight() +[more]osg::Light* getLight()
    -[more]const osg::Light* getLight() const +[more]const osg::Light* getLight() const
    -[more]virtual void addLight(osg::Light* light, osg::Matrix* matrix) +[more]virtual void addLight(osg::Light* light, osg::Matrix* matrix)
    -[more]virtual void draw(osg::State& state, RenderLeaf*& previous) +[more]virtual void draw(osg::State& state, RenderLeaf*& previous)
    -[more]void addToDependencyList(RenderStage* rs) +[more]void addToDependencyList(RenderStage* rs)
    -[more]bool getStats(osg::Statistics* primStats) +[more]bool getStats(osg::Statistics* primStats)
    extract stats for current draw list.

    Public Members

    -[more]typedef std::vector< osg::ref_ptr<RenderStage> > DependencyList bool _stageDrawnThisFrame +[more]typedef std::vector< osg::ref_ptr<RenderStage> > DependencyList bool _stageDrawnThisFrame

    Protected Methods

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

    @@ -201,210 +203,214 @@ like multistage pixel shading or impostors.
    - +
    o RenderStage()

    + + +

    ovirtual osg::Object* cloneType() const +

    - -

    ovirtual osg::Object* clone() const + +
    ovirtual osg::Object* clone(const osg::CopyOp&) const

    - +

    ovirtual bool isSameKindAs(const osg::Object* obj) const

    - +

    ovirtual const char* className() const

    - +

    ovirtual void reset()

    - +

    ovoid setViewport(osg::Viewport* viewport)
    Set the viewport

    - +

    oconst osg::Viewport* getViewport() const
    Get the const viewport.

    - +

    oosg::Viewport* getViewport()
    Get the viewport.

    - +

    ovoid setClearMask(const GLbitfield mask)
    Set the clear mask used in glClear(). Defaults to GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT.

    - +

    oconst GLbitfield getClearMask() const
    Get the clear mask

    - +

    ovoid setColorMask(osg::ColorMask* cm)

    - +

    oosg::ColorMask* getColorMask()

    - +

    oconst osg::ColorMask* getColorMask() const

    - +

    ovoid setClearColor(const osg::Vec4& color)
    Set the clear color used in glClearColor(). glClearColor is only called if mask & GL_COLOR_BUFFER_BIT is true

    - +

    oconst osg::Vec4& getClearColor() const
    Get the clear color

    - +

    ovoid setClearAccum(const osg::Vec4& color)
    Set the clear accum used in glClearAccum(). glClearAcumm is only called if mask & GL_ACCUM_BUFFER_BIT is true

    - +

    oconst osg::Vec4& getClearAccum() const
    Get the clear accum

    - +

    ovoid setClearDepth(const double depth)
    Set the clear depth used in glClearDepth(). Defaults to 1.0 glClearDepth is only called if mask & GL_DEPTH_BUFFER_BIT is true

    - +

    oconst double getClearDepth() const
    Get the clear depth

    - +

    ovoid setClearStencil(const int stencil)
    Set the clear stencil value used in glClearStencil(). Defaults to 1.0 glClearStencil is only called if mask & GL_STENCIL_BUFFER_BIT is true

    - +

    oconst int getClearStencil() const
    Get the clear color

    - +

    ovoid setCamera(osg::Camera* camera)

    - +

    oosg::Camera* getCamera()

    - +

    oconst osg::Camera* getCamera() const

    - +

    ovoid setRenderStageLighting(RenderStageLighting* rsl)

    - +

    oRenderStageLighting* getRenderStageLighting() const

    - +

    ovoid setLightingMode(RenderStageLighting::Mode mode)

    - +

    oRenderStageLighting::Mode getLightingMode() const

    - +

    ovoid setLight(osg::Light* light)

    - +

    oosg::Light* getLight()

    - +

    oconst osg::Light* getLight() const

    - +

    ovirtual void addLight(osg::Light* light, osg::Matrix* matrix)

    - +

    ovirtual void draw(osg::State& state, RenderLeaf*& previous)

    - +

    ovoid addToDependencyList(RenderStage* rs)

    - +

    obool getStats(osg::Statistics* primStats)
    extract stats for current draw list.

    - +

    otypedef std::vector< osg::ref_ptr<RenderStage> > DependencyList bool _stageDrawnThisFrame

    - +

    oDependencyList _dependencyList

    - +

    oosg::ref_ptr<osg::Camera> _camera

    - +

    oosg::ref_ptr<osg::Viewport> _viewport

    - +

    oGLbitfield _clearMask

    - +

    oosg::ref_ptr<osg::ColorMask> _colorMask

    - +

    oosg::Vec4 _clearColor

    - +

    oosg::Vec4 _clearAccum

    - +

    odouble _clearDepth

    - +

    oint _clearStencil

    - +

    omutable osg::ref_ptr<RenderStageLighting> _renderStageLighting

    - +

    ovirtual ~RenderStage()


    diff --git a/doc/doc++/osgUtil/RenderStageLighting.html b/doc/doc++/osgUtil/RenderStageLighting.html index fa26d8fa8..21e7a422e 100644 --- a/doc/doc++/osgUtil/RenderStageLighting.html +++ b/doc/doc++/osgUtil/RenderStageLighting.html @@ -23,48 +23,50 @@

    Public Fields

    -[more]Mode _lightingMode +[more]Mode _lightingMode
    -[more]osg::ref_ptr<osg::Light> _light +[more]osg::ref_ptr<osg::Light> _light
    -[more]LightList _lightList +[more]LightList _lightList

    Public Methods

    -[more] RenderStageLighting() +[more] RenderStageLighting()
    -[more]virtual osg::Object* clone() const +[more]virtual osg::Object* cloneType() const
    -[more]virtual bool isSameKindAs(const osg::Object* obj) const +[more]virtual osg::Object* clone(const osg::CopyOp&) const
    -[more]virtual const char* className() const +[more]virtual bool isSameKindAs(const osg::Object* obj) const
    -[more]virtual void reset() +[more]virtual const char* className() const
    -[more]void setLightingMode(Mode mode) +[more]virtual void reset()
    -[more]Mode getLightingMode() const +[more]void setLightingMode(Mode mode)
    -[more]void setLight(osg::Light* light) +[more]Mode getLightingMode() const
    -[more]osg::Light* getLight() +[more]void setLight(osg::Light* light)
    -[more]const osg::Light* getLight() const +[more]osg::Light* getLight()
    -[more]typedef std::vector< LightMatrixPair >virtual LightList void addLight(osg::Light* light, osg::Matrix* matrix) +[more]const osg::Light* getLight() const
    -[more]virtual void draw(osg::State& state, RenderLeaf*& previous) +[more]typedef std::vector< LightMatrixPair >virtual LightList void addLight(osg::Light* light, osg::Matrix* matrix) +
    +[more]virtual void draw(osg::State& state, RenderLeaf*& previous)

    Public Members

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

    Protected Methods

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

    @@ -77,85 +79,89 @@ RenderBin base class
    - +
    o RenderStageLighting()

    + + +

    ovirtual osg::Object* cloneType() const +

    - -

    ovirtual osg::Object* clone() const + +
    ovirtual osg::Object* clone(const osg::CopyOp&) const

    - +

    ovirtual bool isSameKindAs(const osg::Object* obj) const

    - +

    ovirtual const char* className() const

    - +

    ovirtual void reset()

    - +

    oenum Mode

    - +
    o HEADLIGHT

    - +

    o SKY_LIGHT

    - +

    o NO_SCENEVIEW_LIGHT

    - -
    ovoid setLightingMode(Mode mode) + +
    ovoid setLightingMode(Mode mode)

    - -

    oMode getLightingMode() const + +
    oMode getLightingMode() const

    - +

    ovoid setLight(osg::Light* light)

    - +

    oosg::Light* getLight()

    - +

    oconst osg::Light* getLight() const

    - +

    otypedef std::vector< LightMatrixPair >virtual LightList void addLight(osg::Light* light, osg::Matrix* matrix)

    - +

    ovirtual void draw(osg::State& state, RenderLeaf*& previous)

    - -

    oMode _lightingMode + +
    oMode _lightingMode

    - +

    oosg::ref_ptr<osg::Light> _light

    - +

    oLightList _lightList

    - +

    ovirtual ~RenderStageLighting()

    diff --git a/doc/doc++/osgUtil/RenderToTextureStage.html b/doc/doc++/osgUtil/RenderToTextureStage.html index 5de38bb29..d85677b2f 100644 --- a/doc/doc++/osgUtil/RenderToTextureStage.html +++ b/doc/doc++/osgUtil/RenderToTextureStage.html @@ -23,31 +23,33 @@

    Public Methods

    -[more] RenderToTextureStage() +[more] RenderToTextureStage()
    -[more]virtual osg::Object* clone() const +[more]virtual osg::Object* cloneType() const
    -[more]virtual bool isSameKindAs(const osg::Object* obj) const +[more]virtual osg::Object* clone(const osg::CopyOp&) const
    -[more]virtual const char* className() const +[more]virtual bool isSameKindAs(const osg::Object* obj) const
    -[more]virtual void reset() +[more]virtual const char* className() const
    -[more]void setTexture(osg::Texture* texture) +[more]virtual void reset()
    -[more]osg::Texture* getTexture() +[more]void setTexture(osg::Texture* texture)
    -[more]virtual void draw(osg::State& state, RenderLeaf*& previous) +[more]osg::Texture* getTexture() +
    +[more]virtual void draw(osg::State& state, RenderLeaf*& previous)

    Protected Fields

    -[more]osg::ref_ptr<osg::Texture> _texture +[more]osg::ref_ptr<osg::Texture> _texture

    Protected Methods

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

    @@ -196,43 +198,47 @@ RenderBin base class
    - +
    o RenderToTextureStage()

    + + +

    ovirtual osg::Object* cloneType() const +

    - -

    ovirtual osg::Object* clone() const + +
    ovirtual osg::Object* clone(const osg::CopyOp&) const

    - +

    ovirtual bool isSameKindAs(const osg::Object* obj) const

    - +

    ovirtual const char* className() const

    - +

    ovirtual void reset()

    - +

    ovoid setTexture(osg::Texture* texture)

    - +

    oosg::Texture* getTexture()

    - +

    ovirtual void draw(osg::State& state, RenderLeaf*& previous)

    - +

    ovirtual ~RenderToTextureStage()

    - +

    oosg::ref_ptr<osg::Texture> _texture

    diff --git a/doc/doc++/osgUtil/SceneView.html b/doc/doc++/osgUtil/SceneView.html index ef93ce04e..6dbdde13f 100644 --- a/doc/doc++/osgUtil/SceneView.html +++ b/doc/doc++/osgUtil/SceneView.html @@ -23,205 +23,205 @@

    Public Methods

    -[more] SceneView(osg::DisplaySettings* ds=NULL) +[more] SceneView(osg::DisplaySettings* ds=NULL)
    Construct a default scene view
    -[more]void setDefaults() +[more]void setDefaults()
    Set scene view to use default global state, light, camera and render visitor
    -[more]void setSceneData(osg::Node* node) +[more]void setSceneData(osg::Node* node)
    Set the data which to view.
    -[more]osg::Node* getSceneData() +[more]osg::Node* getSceneData()
    Get the scene data which to view.
    -[more]const osg::Node* getSceneData() const +[more]const osg::Node* getSceneData() const
    Get the const scene data which to view.
    -[more]void setViewport(osg::Viewport* viewport) +[more]void setViewport(osg::Viewport* viewport)
    Set the viewport of the scene view to use specfied osg::Viewport.
    -[more]void setViewport(int x, int y, int width, int height) +[more]void setViewport(int x, int y, int width, int height)
    Set the viewport of the scene view to specified dimensions.
    -[more]const osg::Viewport* getViewport() const +[more]const osg::Viewport* getViewport() const
    Get the const viewport.
    -[more]osg::Viewport* getViewport() +[more]osg::Viewport* getViewport()
    Get the viewport.
    -[more]void getViewport(int& x, int& y, int& width, int& height) +[more]void getViewport(int& x, int& y, int& width, int& height)
    Get the viewport of the scene view.
    -[more]inline void setDisplaySettings(osg::DisplaySettings* vs) +[more]inline void setDisplaySettings(osg::DisplaySettings* vs)
    Set the DisplaySettings.
    -[more]inline const osg::DisplaySettings* getDisplaySettings() const +[more]inline const osg::DisplaySettings* getDisplaySettings() const
    Get the DisplaySettings
    -[more]void setBackgroundColor(const osg::Vec4& color) +[more]void setBackgroundColor(const osg::Vec4& color)
    Set the background color used in glClearColor().
    -[more]const osg::Vec4& getBackgroundColor() const +[more]const osg::Vec4& getBackgroundColor() const
    Get the background color
    -[more]void setGlobalStateSet(osg::StateSet* state) +[more]void setGlobalStateSet(osg::StateSet* state)
    -[more]osg::StateSet* getGlobalStateSet() +[more]osg::StateSet* getGlobalStateSet()
    -[more]const osg::StateSet* getGlobalStateSet() const +[more]const osg::StateSet* getGlobalStateSet() const
    -[more]void setLightingMode(LightingMode mode) +[more]void setLightingMode(LightingMode mode)
    -[more]LightingMode getLightingMode() const +[more]LightingMode getLightingMode() const
    -[more]void setLight(osg::Light* light) +[more]void setLight(osg::Light* light)
    -[more]osg::Light* getLight() +[more]osg::Light* getLight()
    -[more]const osg::Light* getLight() const +[more]const osg::Light* getLight() const
    -[more]void setState(osg::State* state) +[more]void setState(osg::State* state)
    -[more]osg::State* getState() +[more]osg::State* getState()
    -[more]const osg::State* getState() const +[more]const osg::State* getState() const
    -[more]void setCamera(osg::Camera* camera) +[more]void setCamera(osg::Camera* camera)
    -[more]osg::Camera* getCamera() +[more]osg::Camera* getCamera()
    -[more]const osg::Camera* getCamera() const +[more]const osg::Camera* getCamera() const
    -[more]void setInitVisitor(osg::NodeVisitor* av) +[more]void setInitVisitor(osg::NodeVisitor* av)
    -[more]osg::NodeVisitor* getInitVisitor() +[more]osg::NodeVisitor* getInitVisitor()
    -[more]const osg::NodeVisitor* getInitVisitor() const +[more]const osg::NodeVisitor* getInitVisitor() const
    -[more]void setAppVisitor(osg::NodeVisitor* av) +[more]void setAppVisitor(osg::NodeVisitor* av)
    -[more]osg::NodeVisitor* getAppVisitor() +[more]osg::NodeVisitor* getAppVisitor()
    -[more]const osg::NodeVisitor* getAppVisitor() const +[more]const osg::NodeVisitor* getAppVisitor() const
    -[more]void setCullVisitor(osgUtil::CullVisitor* cv) +[more]void setCullVisitor(osgUtil::CullVisitor* cv)
    -[more]osgUtil::CullVisitor* getCullVisitor() +[more]osgUtil::CullVisitor* getCullVisitor()
    -[more]const osgUtil::CullVisitor* getCullVisitor() const +[more]const osgUtil::CullVisitor* getCullVisitor() const
    -[more]void setRenderGraph(osgUtil::RenderGraph* rg) +[more]void setRenderGraph(osgUtil::RenderGraph* rg)
    -[more]osgUtil::RenderGraph* getRenderGraph() +[more]osgUtil::RenderGraph* getRenderGraph()
    -[more]const osgUtil::RenderGraph* getRenderGraph() const +[more]const osgUtil::RenderGraph* getRenderGraph() const
    -[more]void setRenderStage(osgUtil::RenderStage* rs) +[more]void setRenderStage(osgUtil::RenderStage* rs)
    -[more]osgUtil::RenderStage* getRenderStage() +[more]osgUtil::RenderStage* getRenderStage()
    -[more]const osgUtil::RenderStage* getRenderStage() const +[more]const osgUtil::RenderStage* getRenderStage() const
    -[more]void setLODBias(float bias) +[more]void setLODBias(float bias)
    -[more]float getLODBias() const +[more]float getLODBias() const
    -[more]void setCalcNearFar(bool calc) +[more]void setCalcNearFar(bool calc)
    Set to true if you want SceneView to automatically calculate values for the near/far clipping planes, each frame, set false to use camera's internal near and far planes.
    -[more]bool getCalcNearFar() const +[more]bool getCalcNearFar() const
    return true if SceneView automatically calculates near and far clipping planes for each frame
    -[more]void setPrioritizeTextures(bool pt) +[more]void setPrioritizeTextures(bool pt)
    set whether the draw method should call renderer->prioritizeTexture
    -[more]bool getPrioritizeTextures() const +[more]bool getPrioritizeTextures() const
    get whether the draw method should call renderer->prioritizeTexture
    -[more]bool projectWindowIntoObject(const osg::Vec3& window, osg::Vec3& object) const +[more]bool projectWindowIntoObject(const osg::Vec3& window, osg::Vec3& object) const
    Calculate, via glUnProject, the object coordinates of a window point.
    -[more]bool projectWindowXYIntoObject(int x, int y, osg::Vec3& near_point, osg::Vec3& far_point) const +[more]bool projectWindowXYIntoObject(int x, int y, osg::Vec3& near_point, osg::Vec3& far_point) const
    Calculate, via glUnProject, the object coordinates of a window x,y when projected onto the near and far planes.
    -[more]bool projectObjectIntoWindow(const osg::Vec3& object, osg::Vec3& window) const +[more]bool projectObjectIntoWindow(const osg::Vec3& object, osg::Vec3& window) const
    Calculate, via glProject, the object coordinates of a window.
    -[more]inline void setFrameStamp(osg::FrameStamp* fs) +[more]inline void setFrameStamp(osg::FrameStamp* fs)
    Set the frame stamp for the current frame
    -[more]inline const osg::FrameStamp* getFrameStamp() const +[more]inline const osg::FrameStamp* getFrameStamp() const
    Set the frame stamp for the current frame
    -[more]virtual void init() +[more]virtual void init()
    Do init traversal of attached scene graph using Init NodeVisitor.
    -[more]virtual void app() +[more]virtual void app()
    Do app traversal of attached scene graph using App NodeVisitor
    -[more]virtual void cull() +[more]virtual void cull()
    Do cull traversal of attached scene graph using Cull NodeVisitor
    -[more]virtual void draw() +[more]virtual void draw()
    Do draw traversal of draw bins generated by cull traversal

    Public Members

    -[more]enum LightingMode +[more]enum LightingMode

    Protected Fields

    -[more]osg::ref_ptr<osg::Node> _sceneData +[more]osg::ref_ptr<osg::Node> _sceneData
    -[more]osg::ref_ptr<osg::StateSet> _globalState +[more]osg::ref_ptr<osg::StateSet> _globalState
    -[more]osg::ref_ptr<osg::Light> _light +[more]osg::ref_ptr<osg::Light> _light
    -[more]osg::ref_ptr<osg::Camera> _camera +[more]osg::ref_ptr<osg::Camera> _camera
    -[more]osg::ref_ptr<osg::DisplaySettings> _displaySettings +[more]osg::ref_ptr<osg::DisplaySettings> _displaySettings
    -[more]osg::ref_ptr<osg::State> _state +[more]osg::ref_ptr<osg::State> _state
    -[more]bool _initCalled +[more]bool _initCalled
    -[more]osg::ref_ptr<osg::NodeVisitor> _initVisitor +[more]osg::ref_ptr<osg::NodeVisitor> _initVisitor
    -[more]osg::ref_ptr<osg::NodeVisitor> _appVisitor +[more]osg::ref_ptr<osg::NodeVisitor> _appVisitor
    -[more]osg::ref_ptr<osgUtil::CullVisitor> _cullVisitor +[more]osg::ref_ptr<osgUtil::CullVisitor> _cullVisitor
    -[more]osg::ref_ptr<osgUtil::RenderGraph> _rendergraph +[more]osg::ref_ptr<osgUtil::RenderGraph> _rendergraph
    -[more]osg::ref_ptr<osgUtil::RenderStage> _renderStage +[more]osg::ref_ptr<osgUtil::RenderStage> _renderStage
    -[more]osg::ref_ptr<osg::FrameStamp> _frameStamp +[more]osg::ref_ptr<osg::FrameStamp> _frameStamp
    -[more]bool _need_compile +[more]bool _need_compile
    -[more]bool _calc_nearfar +[more]bool _calc_nearfar
    -[more]osg::Vec4 _backgroundColor +[more]osg::Vec4 _backgroundColor
    -[more]double _near_plane +[more]double _near_plane
    -[more]double _far_plane +[more]double _far_plane
    -[more]float _lodBias +[more]float _lodBias
    -[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

    Protected Methods

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

    @@ -236,247 +236,247 @@ methods for setting up the view and rendering it.
    - +
    o SceneView(osg::DisplaySettings* ds=NULL)
    Construct a default scene view

    - +

    ovoid setDefaults()
    Set scene view to use default global state, light, camera and render visitor

    - +

    ovoid setSceneData(osg::Node* node)
    Set the data which to view. The data will typically be an osg::Scene but can be any osg::Node type.

    - +

    oosg::Node* getSceneData()
    Get the scene data which to view. The data will typically be an osg::Scene but can be any osg::Node type.

    - +

    oconst osg::Node* getSceneData() const
    Get the const scene data which to view. The data will typically be an osg::Scene but can be any osg::Node type.

    - +

    ovoid setViewport(osg::Viewport* viewport)
    Set the viewport of the scene view to use specfied osg::Viewport.

    - +

    ovoid setViewport(int x, int y, int width, int height)
    Set the viewport of the scene view to specified dimensions.

    - +

    oconst osg::Viewport* getViewport() const
    Get the const viewport.

    - +

    oosg::Viewport* getViewport()
    Get the viewport.

    - +

    ovoid getViewport(int& x, int& y, int& width, int& height)
    Get the viewport of the scene view.

    - +

    oinline void setDisplaySettings(osg::DisplaySettings* vs)
    Set the DisplaySettings.

    - +

    oinline const osg::DisplaySettings* getDisplaySettings() const
    Get the DisplaySettings

    - +

    ovoid setBackgroundColor(const osg::Vec4& color)
    Set the background color used in glClearColor(). Defaults to an off blue color.

    - +

    oconst osg::Vec4& getBackgroundColor() const
    Get the background color

    - +

    ovoid setGlobalStateSet(osg::StateSet* state)

    - +

    oosg::StateSet* getGlobalStateSet()

    - +

    oconst osg::StateSet* getGlobalStateSet() const

    - +

    oenum LightingMode

    - +
    o HEADLIGHT

    - +

    o SKY_LIGHT

    - +

    o NO_SCENEVIEW_LIGHT

    - -
    ovoid setLightingMode(LightingMode mode) + +
    ovoid setLightingMode(LightingMode mode)

    - -

    oLightingMode getLightingMode() const + +
    oLightingMode getLightingMode() const

    - +

    ovoid setLight(osg::Light* light)

    - +

    oosg::Light* getLight()

    - +

    oconst osg::Light* getLight() const

    - +

    ovoid setState(osg::State* state)

    - +

    oosg::State* getState()

    - +

    oconst osg::State* getState() const

    - +

    ovoid setCamera(osg::Camera* camera)

    - +

    oosg::Camera* getCamera()

    - +

    oconst osg::Camera* getCamera() const

    - +

    ovoid setInitVisitor(osg::NodeVisitor* av)

    - +

    oosg::NodeVisitor* getInitVisitor()

    - +

    oconst osg::NodeVisitor* getInitVisitor() const

    - +

    ovoid setAppVisitor(osg::NodeVisitor* av)

    - +

    oosg::NodeVisitor* getAppVisitor()

    - +

    oconst osg::NodeVisitor* getAppVisitor() const

    - +

    ovoid setCullVisitor(osgUtil::CullVisitor* cv)

    - +

    oosgUtil::CullVisitor* getCullVisitor()

    - +

    oconst osgUtil::CullVisitor* getCullVisitor() const

    - +

    ovoid setRenderGraph(osgUtil::RenderGraph* rg)

    - +

    oosgUtil::RenderGraph* getRenderGraph()

    - +

    oconst osgUtil::RenderGraph* getRenderGraph() const

    - +

    ovoid setRenderStage(osgUtil::RenderStage* rs)

    - +

    oosgUtil::RenderStage* getRenderStage()

    - +

    oconst osgUtil::RenderStage* getRenderStage() const

    - +

    ovoid setLODBias(float bias)

    - +

    ofloat getLODBias() const

    - +

    ovoid setCalcNearFar(bool calc)
    Set to true if you want SceneView to automatically calculate values for the near/far clipping planes, each frame, set false to use camera's internal near and far planes. Default value is true.

    - +

    obool getCalcNearFar() const
    return true if SceneView automatically calculates near and far clipping planes for each frame

    - +

    ovoid setPrioritizeTextures(bool pt)
    set whether the draw method should call renderer->prioritizeTexture

    - +

    obool getPrioritizeTextures() const
    get whether the draw method should call renderer->prioritizeTexture

    - +

    obool projectWindowIntoObject(const osg::Vec3& window, osg::Vec3& object) const
    Calculate, via glUnProject, the object coordinates of a window point. Note, current implementation requires that SceneView::draw() has been previously called @@ -485,7 +485,7 @@ windows coordinates are calculated relative to the bottom left of the window. Returns true on successful projection.

    - +

    obool projectWindowXYIntoObject(int x, int y, osg::Vec3& near_point, osg::Vec3& far_point) const
    Calculate, via glUnProject, the object coordinates of a window x,y when projected onto the near and far planes. @@ -495,7 +495,7 @@ windows coordinates are calculated relative to the bottom left of the window. Returns true on successful projection.

    - +

    obool projectObjectIntoWindow(const osg::Vec3& object, osg::Vec3& window) const
    Calculate, via glProject, the object coordinates of a window. Note, current implementation requires that SceneView::draw() has been previously called @@ -506,17 +506,17 @@ so you may need to pass in (mouseX,window_height-mouseY,...). Returns true on successful projection.

    - +

    oinline void setFrameStamp(osg::FrameStamp* fs)
    Set the frame stamp for the current frame

    - +

    oinline const osg::FrameStamp* getFrameStamp() const
    Set the frame stamp for the current frame

    - +

    ovirtual void init()
    Do init traversal of attached scene graph using Init NodeVisitor. The init traversal is called once for each SceneView, and should @@ -527,110 +527,110 @@ elsewhere. Also init() should only ever be called within a valid graphics context.

    - +

    ovirtual void app()
    Do app traversal of attached scene graph using App NodeVisitor

    - +

    ovirtual void cull()
    Do cull traversal of attached scene graph using Cull NodeVisitor

    - +

    ovirtual void draw()
    Do draw traversal of draw bins generated by cull traversal

    - +

    ovirtual ~SceneView()

    - +

    oosg::ref_ptr<osg::Node> _sceneData

    - +

    oosg::ref_ptr<osg::StateSet> _globalState

    - +

    oosg::ref_ptr<osg::Light> _light

    - +

    oosg::ref_ptr<osg::Camera> _camera

    - +

    oosg::ref_ptr<osg::DisplaySettings> _displaySettings

    - +

    oosg::ref_ptr<osg::State> _state

    - +

    obool _initCalled

    - +

    oosg::ref_ptr<osg::NodeVisitor> _initVisitor

    - +

    oosg::ref_ptr<osg::NodeVisitor> _appVisitor

    - +

    oosg::ref_ptr<osgUtil::CullVisitor> _cullVisitor

    - +

    oosg::ref_ptr<osgUtil::RenderGraph> _rendergraph

    - +

    oosg::ref_ptr<osgUtil::RenderStage> _renderStage

    - +

    oosg::ref_ptr<osg::FrameStamp> _frameStamp

    - +

    obool _need_compile

    - +

    obool _calc_nearfar

    - +

    oosg::Vec4 _backgroundColor

    - +

    odouble _near_plane

    - +

    odouble _far_plane

    - +

    ofloat _lodBias

    - +

    oosg::ref_ptr<osg::Viewport> _viewport

    - -

    oLightingMode _lightingMode + +
    oLightingMode _lightingMode

    - +

    obool _prioritizeTextures

    diff --git a/doc/doc++/osgUtil/SceneViewManipulator.html b/doc/doc++/osgUtil/SceneViewManipulator.html index 10a702ebe..c9a91e0c5 100644 --- a/doc/doc++/osgUtil/SceneViewManipulator.html +++ b/doc/doc++/osgUtil/SceneViewManipulator.html @@ -22,48 +22,48 @@

    Public Methods

    -[more] SceneViewManipulator() +[more] SceneViewManipulator()
    -[more]virtual ~SceneViewManipulator() +[more]virtual ~SceneViewManipulator()
    -[more]virtual void setSceneView(SceneView*) +[more]virtual void setSceneView(SceneView*)
    attach a scene view to the manipulator.
    -[more]virtual SceneView* getSceneView() +[more]virtual SceneView* getSceneView()
    get the attached a scene view
    -[more]virtual const SceneView* getSceneView() const +[more]virtual const SceneView* getSceneView() const
    get the attached a const scene view
    -[more]virtual void setCameraManipulator(CameraManipulator* cm) +[more]virtual void setCameraManipulator(CameraManipulator* cm)
    Set the camera manipulator on the object
    -[more]virtual CameraManipulator* getCameraManipulator() +[more]virtual CameraManipulator* getCameraManipulator()
    Get the camera manipulator on the object
    -[more]virtual const CameraManipulator* getCameraManipulator() const +[more]virtual const CameraManipulator* getCameraManipulator() const
    Get the const camera manipulator on the object
    -[more]virtual void setStateSetManipulator(StateSetManipulator* cm) +[more]virtual void setStateSetManipulator(StateSetManipulator* cm)
    Set the geostate manipulator on the object
    -[more]virtual StateSetManipulator* getStateSetManipulator() +[more]virtual StateSetManipulator* getStateSetManipulator()
    Get the geostate manipulator on the object
    -[more]virtual const StateSetManipulator* getStateSetManipulator() const +[more]virtual const StateSetManipulator* getStateSetManipulator() const
    Get the geostate manipulator on the object
    -[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) +[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us)
    Handle events, return true if handled, false otherwise

    Protected Fields

    -[more]osg::ref_ptr<SceneView> _sv +[more]osg::ref_ptr<SceneView> _sv
    -[more]osg::ref_ptr<CameraManipulator> _cm +[more]osg::ref_ptr<CameraManipulator> _cm
    -[more]osg::ref_ptr<StateSetManipulator> _gm +[more]osg::ref_ptr<StateSetManipulator> _gm

    @@ -77,73 +77,73 @@
    - +
    o SceneViewManipulator()

    - +

    ovirtual ~SceneViewManipulator()

    - +

    ovirtual void setSceneView(SceneView*)
    attach a scene view to the manipulator.

    - +

    ovirtual SceneView* getSceneView()
    get the attached a scene view

    - +

    ovirtual const SceneView* getSceneView() const
    get the attached a const scene view

    - +

    ovirtual void setCameraManipulator(CameraManipulator* cm)
    Set the camera manipulator on the object

    - +

    ovirtual CameraManipulator* getCameraManipulator()
    Get the camera manipulator on the object

    - +

    ovirtual const CameraManipulator* getCameraManipulator() const
    Get the const camera manipulator on the object

    - +

    ovirtual void setStateSetManipulator(StateSetManipulator* cm)
    Set the geostate manipulator on the object

    - +

    ovirtual StateSetManipulator* getStateSetManipulator()
    Get the geostate manipulator on the object

    - +

    ovirtual const StateSetManipulator* getStateSetManipulator() const
    Get the geostate manipulator on the object

    - +

    ovirtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us)
    Handle events, return true if handled, false otherwise

    - +

    oosg::ref_ptr<SceneView> _sv

    - +

    oosg::ref_ptr<CameraManipulator> _cm

    - +

    oosg::ref_ptr<StateSetManipulator> _gm

    diff --git a/doc/doc++/osgUtil/SmoothingVisitor.html b/doc/doc++/osgUtil/SmoothingVisitor.html index d2a4345d3..f3580f8e0 100644 --- a/doc/doc++/osgUtil/SmoothingVisitor.html +++ b/doc/doc++/osgUtil/SmoothingVisitor.html @@ -23,13 +23,13 @@

    Public Methods

    -[more] SmoothingVisitor() +[more] SmoothingVisitor()
    default to traversing all children
    -[more]static void smooth(osg::GeoSet& geoset) +[more]static void smooth(osg::GeoSet& geoset)
    smooth geoset by creating per vertex normals
    -[more]virtual void apply(osg::Geode& geode) +[more]virtual void apply(osg::Geode& geode)
    apply smoothing method to all geode geosets

    @@ -43,17 +43,17 @@ osg::GeoSet's which contains surface primitives
    - +
    o SmoothingVisitor()
    default to traversing all children

    - +

    ostatic void smooth(osg::GeoSet& geoset)
    smooth geoset by creating per vertex normals

    - +

    ovirtual void apply(osg::Geode& geode)
    apply smoothing method to all geode geosets

    diff --git a/doc/doc++/osgUtil/StateSetManipulator.html b/doc/doc++/osgUtil/StateSetManipulator.html index ab096536d..c1c47bc21 100644 --- a/doc/doc++/osgUtil/StateSetManipulator.html +++ b/doc/doc++/osgUtil/StateSetManipulator.html @@ -22,32 +22,32 @@

    Public Methods

    -[more] StateSetManipulator() +[more] StateSetManipulator()
    -[more]virtual ~StateSetManipulator() +[more]virtual ~StateSetManipulator()
    -[more]virtual void setStateSet(osg::StateSet*) +[more]virtual void setStateSet(osg::StateSet*)
    attach a geostate to the manipulator to be used for specifying view
    -[more]virtual osg::StateSet* getStateSet() +[more]virtual osg::StateSet* getStateSet()
    get the attached a geostate
    -[more]virtual const osg::StateSet* getStateSet() const +[more]virtual const osg::StateSet* getStateSet() const
    get the attached a geostate
    -[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) +[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us)
    Handle events, return true if handled, false otherwise

    Protected Fields

    -[more]osg::ref_ptr<osg::StateSet> _drawState +[more]osg::ref_ptr<osg::StateSet> _drawState
    -[more]bool _backface +[more]bool _backface
    -[more]bool _lighting +[more]bool _lighting
    -[more]bool _texture +[more]bool _texture

    @@ -61,47 +61,47 @@
    - +
    o StateSetManipulator()

    - +

    ovirtual ~StateSetManipulator()

    - +

    ovirtual void setStateSet(osg::StateSet*)
    attach a geostate to the manipulator to be used for specifying view

    - +

    ovirtual osg::StateSet* getStateSet()
    get the attached a geostate

    - +

    ovirtual const osg::StateSet* getStateSet() const
    get the attached a geostate

    - +

    ovirtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us)
    Handle events, return true if handled, false otherwise

    - +

    oosg::ref_ptr<osg::StateSet> _drawState

    - +

    obool _backface

    - +

    obool _lighting

    - +

    obool _texture

    diff --git a/doc/doc++/osgUtil/StateVisitor.html b/doc/doc++/osgUtil/StateVisitor.html index 427be8991..7c2350f88 100644 --- a/doc/doc++/osgUtil/StateVisitor.html +++ b/doc/doc++/osgUtil/StateVisitor.html @@ -23,27 +23,27 @@

    Public Methods

    -[more] StateVisitor() +[more] StateVisitor()
    default to traversing all children
    -[more]virtual void reset() +[more]virtual void reset()
    empty visitor, make it ready for next traversal
    -[more]virtual void apply(osg::Node& node) +[more]virtual void apply(osg::Node& node)
    -[more]virtual void apply(osg::Geode& geode) +[more]virtual void apply(osg::Geode& geode)
    -[more]void optimize() +[more]void optimize()

    Protected Methods

    -[more]void addStateSet(osg::StateSet* stateset, osg::Object* obj) +[more]void addStateSet(osg::StateSet* stateset, osg::Object* obj)

    Protected Members

    -[more]typedef std::map<osg::StateSet*,ObjectSet> StateSetMap StateSetMap _statesets +[more]typedef std::map<osg::StateSet*,ObjectSet> StateSetMap StateSetMap _statesets

    @@ -57,33 +57,33 @@ and whole StateSets
    - +
    o StateVisitor()
    default to traversing all children

    - +

    ovirtual void reset()
    empty visitor, make it ready for next traversal

    - +

    ovirtual void apply(osg::Node& node)

    - +

    ovirtual void apply(osg::Geode& geode)

    - +

    ovoid optimize()

    - +

    ovoid addStateSet(osg::StateSet* stateset, osg::Object* obj)

    - +

    otypedef std::map<osg::StateSet*,ObjectSet> StateSetMap StateSetMap _statesets

    diff --git a/doc/doc++/osgUtil/Tesselator.html b/doc/doc++/osgUtil/Tesselator.html index 220bc89b4..0750c4ecb 100644 --- a/doc/doc++/osgUtil/Tesselator.html +++ b/doc/doc++/osgUtil/Tesselator.html @@ -13,51 +13,51 @@

    Public Fields

    -[more]int _errorCode +[more]int _errorCode

    Public Methods

    -[more] Tesselator() +[more] Tesselator()
    -[more] ~Tesselator() +[more] ~Tesselator()
    -[more]void tesselate(osg::Vec3* coords, int numIndices, int* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE) +[more]void tesselate(osg::Vec3* coords, int numIndices, int* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE)
    -[more]void tesselate(osg::Vec3* coords, int numIndices, osg::ushort* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE) +[more]void tesselate(osg::Vec3* coords, int numIndices, osg::ushort* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE)
    -[more]void tesselate(osg::Vec3* coords, int numIndices, osg::uint* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE) +[more]void tesselate(osg::Vec3* coords, int numIndices, osg::uint* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE)
    -[more]typedef std::vector<osg::uint> IndexVec const IndexVec& getResult() const +[more]typedef std::vector<osg::uint> IndexVec const IndexVec& getResult() const
    -[more]void beginPrimitive(int primitiveType) +[more]void beginPrimitive(int primitiveType)
    -[more]void endPrimitive() +[more]void endPrimitive()

    Public Members

    -[more]enum InputBoundaryDirection +[more]enum InputBoundaryDirection
    -[more]struct VertexIndexSet +[more]struct VertexIndexSet

    Protected Fields

    -[more]CoordVec _coordVec +[more]CoordVec _coordVec
    -[more]IndexVec _tesselated_indices +[more]IndexVec _tesselated_indices
    -[more]int _currentPrimtiveType +[more]int _currentPrimtiveType
    -[more]IndexVec _acummulated_indices +[more]IndexVec _acummulated_indices

    Protected Methods

    -[more]typedef std::vector<VertexIndexSet> CoordVec void init() +[more]typedef std::vector<VertexIndexSet> CoordVec void init()
    -[more]void do_it() +[more]void do_it()

    @@ -72,125 +72,125 @@ a small set of code for doing this job better.
    - +
    o Tesselator()

    - +

    o ~Tesselator()

    - +

    oenum InputBoundaryDirection

    - +
    o CLOCK_WISE

    - +

    o COUNTER_CLOCK_WISE

    - -
    ovoid tesselate(osg::Vec3* coords, int numIndices, int* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE) + +
    ovoid tesselate(osg::Vec3* coords, int numIndices, int* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE)

    - -

    ovoid tesselate(osg::Vec3* coords, int numIndices, osg::ushort* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE) + +
    ovoid tesselate(osg::Vec3* coords, int numIndices, osg::ushort* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE)

    - -

    ovoid tesselate(osg::Vec3* coords, int numIndices, osg::uint* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE) + +
    ovoid tesselate(osg::Vec3* coords, int numIndices, osg::uint* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE)

    - +

    otypedef std::vector<osg::uint> IndexVec const IndexVec& getResult() const

    - +

    ovoid beginPrimitive(int primitiveType)

    - +

    ovoid endPrimitive()

    - +

    oint _errorCode

    - +

    ostruct VertexIndexSet

    - +
    o VertexIndexSet()

    - +

    o VertexIndexSet(Tesselator* tess, const osg::Vec3& vec, osg::uint index)

    - -

    o VertexIndexSet(const VertexIndexSet& vip) + +
    o VertexIndexSet(const VertexIndexSet& vip)

    - -

    oVertexIndexSet& operator = (const VertexIndexSet& vip) + +
    oVertexIndexSet& operator = (const VertexIndexSet& vip)

    - +

    ovoid set(Tesselator* tess, const osg::Vec3& vec, osg::uint index)

    - +

    ovoid accumulate()

    - +

    odouble _vertex[3]

    - +

    oTesselator* _Tesselator

    - +

    oosg::uint _index

    - -
    otypedef std::vector<VertexIndexSet> CoordVec void init() + +
    otypedef std::vector<VertexIndexSet> CoordVec void init()

    - +

    ovoid do_it()

    - +

    oCoordVec _coordVec

    - +

    oIndexVec _tesselated_indices

    - +

    oint _currentPrimtiveType

    - +

    oIndexVec _acummulated_indices


    This class has no child classes.
    -
    Friends:
    VertexIndexSet

    Alphabetic index HTML hierarchy of classes or Java


    +
    Friends:
    struct VertexIndexSet

    Alphabetic index HTML hierarchy of classes or Java



    This page was generated with the help of DOC++. diff --git a/doc/doc++/osgUtil/TrackballManipulator.html b/doc/doc++/osgUtil/TrackballManipulator.html index 568574d24..c8d0343b9 100644 --- a/doc/doc++/osgUtil/TrackballManipulator.html +++ b/doc/doc++/osgUtil/TrackballManipulator.html @@ -22,23 +22,23 @@

    Public Methods

    -[more] TrackballManipulator() +[more] TrackballManipulator()
    -[more]virtual ~TrackballManipulator() +[more]virtual ~TrackballManipulator()
    -[more]virtual void setNode(osg::Node*) +[more]virtual void setNode(osg::Node*)
    Attach a node to the manipulator.
    -[more]virtual const osg::Node* getNode() const +[more]virtual const osg::Node* getNode() const
    Return node if attached
    -[more]virtual void home(const GUIEventAdapter& ea, GUIActionAdapter& us) +[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) +[more]virtual void init(const GUIEventAdapter& ea, GUIActionAdapter& us)
    Start/restart the manipulator
    -[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) +[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us)
    handle events, return true if handled, false otherwise

    @@ -68,15 +68,15 @@
    - +
    o TrackballManipulator()

    - +

    ovirtual ~TrackballManipulator()

    - +

    ovirtual void setNode(osg::Node*)
    Attach a node to the manipulator. Automatically detaches previously attached node. @@ -84,23 +84,23 @@ 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 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++/osgUtil/TransformCallback.html b/doc/doc++/osgUtil/TransformCallback.html index 634c9fdee..12773fc46 100644 --- a/doc/doc++/osgUtil/TransformCallback.html +++ b/doc/doc++/osgUtil/TransformCallback.html @@ -22,22 +22,22 @@

    Public Methods

    -[more] TransformCallback(const osg::Vec3& pivot, const osg::Vec3& axis, float angularVelocity) +[more] TransformCallback(const osg::Vec3& pivot, const osg::Vec3& axis, float angularVelocity)
    -[more]virtual void operator() (osg::Node* node, osg::NodeVisitor* nv) +[more]virtual void operator() (osg::Node* node, osg::NodeVisitor* nv)

    Protected Fields

    -[more]float _angular_velocity +[more]float _angular_velocity
    -[more]osg::Vec3 _pivot +[more]osg::Vec3 _pivot
    -[more]osg::Vec3 _axis +[more]osg::Vec3 _axis
    -[more]int _previousTraversalNumber +[more]int _previousTraversalNumber
    -[more]double _previousTime +[more]double _previousTime

    @@ -48,31 +48,31 @@
    - +
    o TransformCallback(const osg::Vec3& pivot, const osg::Vec3& axis, float angularVelocity)

    - +

    ovirtual void operator() (osg::Node* node, osg::NodeVisitor* nv)

    - +

    ofloat _angular_velocity

    - +

    oosg::Vec3 _pivot

    - +

    oosg::Vec3 _axis

    - +

    oint _previousTraversalNumber

    - +

    odouble _previousTime

    diff --git a/doc/doc++/osgUtil/TriStripVisitor.html b/doc/doc++/osgUtil/TriStripVisitor.html index 3f557f1cc..41b882e60 100644 --- a/doc/doc++/osgUtil/TriStripVisitor.html +++ b/doc/doc++/osgUtil/TriStripVisitor.html @@ -23,13 +23,13 @@

    Public Methods

    -[more] TriStripVisitor() +[more] TriStripVisitor()
    default to traversing all children
    -[more]static void stripify(osg::GeoSet& gset) +[more]static void stripify(osg::GeoSet& gset)
    convert mesh primitives in geoset into Tri Strips using NvTriStrip.
    -[more]virtual void apply(osg::Geode& geode) +[more]virtual void apply(osg::Geode& geode)
    apply stripify method to all geode geosets

    @@ -43,19 +43,19 @@ The current implemention is based up NVidia's NvTriStrip.
    - +
    o TriStripVisitor()
    default to traversing all children

    - +

    ostatic void stripify(osg::GeoSet& gset)
    convert mesh primitives in geoset into Tri Strips using NvTriStrip. Converts all primitive types except points and lines, linestrips which it leaves unchanged.

    - +

    ovirtual void apply(osg::Geode& geode)
    apply stripify method to all geode geosets

    diff --git a/doc/doc++/osgUtil/osgUtil.html b/doc/doc++/osgUtil/osgUtil.html index ebcb26ff9..41eef9874 100644 --- a/doc/doc++/osgUtil/osgUtil.html +++ b/doc/doc++/osgUtil/osgUtil.html @@ -45,9 +45,7 @@ class OSGUTIL_EXPORT GUIEventHandler: class OSGUTIL_EXPORT InsertImpostorsVisitor: public osg::NodeVisitor
    Insert impostor nodes into scene graph.
    -class OSGUTIL_EXPORT IntersectState: public osg::Referenced -
    -class OSGUTIL_EXPORT Hit: public osg::Referenced +class OSGUTIL_EXPORT Hit
    class OSGUTIL_EXPORT IntersectVisitor: public osg::NodeVisitor
    Basic visitor for ray based collisions of a scene.