From 53be9bee4921328b3cb8c52b4189adaf00fa09e0 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 18 Jul 2002 19:54:11 +0000 Subject: [PATCH] Updated docs ready for the release. --- doc/doc++/osg/AlphaFunc.html | 8 + doc/doc++/osg/Array.html | 250 +++++++++ doc/doc++/osg/ArrayVisitor.html | 108 ++++ doc/doc++/osg/AttributeFunctor.html | 103 ++-- doc/doc++/osg/Billboard.html | 6 +- doc/doc++/osg/BlendFunc.html | 283 ++++++++++ doc/doc++/osg/ClipNode.html | 212 +++++++ doc/doc++/osg/ClipPlane.html | 8 + doc/doc++/osg/CollectOccludersVisitor.html | 441 +++++++++++++++ doc/doc++/osg/ColorMask.html | 8 + doc/doc++/osg/ColorMatrix.html | 8 + doc/doc++/osg/ConvexPlanerOccluder.html | 192 +++++++ doc/doc++/osg/ConvexPlanerPolygon.html | 120 ++++ doc/doc++/osg/CullFace.html | 8 + doc/doc++/osg/CullStack.html | 515 ++++++++++++++++++ doc/doc++/osg/CullingSet.html | 265 +++++++++ doc/doc++/osg/Depth.html | 8 + doc/doc++/osg/DrawArrayLengths.html | 217 ++++++++ doc/doc++/osg/DrawArrays.html | 226 ++++++++ doc/doc++/osg/DrawElementsUByte.html | 196 +++++++ doc/doc++/osg/DrawElementsUInt.html | 196 +++++++ doc/doc++/osg/DrawElementsUShort.html | 196 +++++++ doc/doc++/osg/DrawPixels.html | 18 +- doc/doc++/osg/Drawable.html | 171 +++--- doc/doc++/osg/Fog.html | 8 + doc/doc++/osg/FrontFace.html | 8 + doc/doc++/osg/GeoSet.html | 186 +++---- doc/doc++/osg/Geode.html | 12 +- doc/doc++/osg/Geometry.html | 514 +++++++++++++++++ doc/doc++/osg/HIER.html | 10 +- doc/doc++/osg/HIERjava.html | 16 +- doc/doc++/osg/Image.html | 8 + doc/doc++/osg/ImpostorSprite.html | 98 ++-- doc/doc++/osg/Light.html | 8 + doc/doc++/osg/LightModel.html | 8 + doc/doc++/osg/LineStipple.html | 8 + doc/doc++/osg/LineWidth.html | 8 + doc/doc++/osg/Material.html | 12 +- doc/doc++/osg/Matrix.html | 8 + doc/doc++/osg/MatrixTransform.html | 238 ++++++++ doc/doc++/osg/Object.html | 42 +- doc/doc++/osg/OccluderNode.html | 146 +++++ doc/doc++/osg/Point.html | 8 + doc/doc++/osg/PolygonMode.html | 8 + doc/doc++/osg/PolygonOffset.html | 8 + doc/doc++/osg/Polytope.html | 294 ++++++++++ doc/doc++/osg/Primitive.html | 263 +++++++++ doc/doc++/osg/PrimitiveFunctor.html | 102 ++++ doc/doc++/osg/ShadeModel.html | 8 + doc/doc++/osg/ShadowOccluderVolume.html | 119 ++++ doc/doc++/osg/ShadowVolumeOccluder.html | 221 ++++++++ doc/doc++/osg/StateAttribute.html | 8 + doc/doc++/osg/StateSet.html | 8 + doc/doc++/osg/Statistics.html | 286 ++++------ doc/doc++/osg/Stencil.html | 8 + doc/doc++/osg/TemplateArray.html | 190 +++++++ doc/doc++/osg/TexEnv.html | 8 + doc/doc++/osg/TexGen.html | 8 + doc/doc++/osg/TexMat.html | 8 + doc/doc++/osg/Texture.html | 8 + doc/doc++/osg/TextureCubeMap.html | 8 + doc/doc++/osg/TriangleFunctor.html | 138 +++++ doc/doc++/osg/UByte4.html | 218 ++++++++ doc/doc++/osg/VectorSizei.html | 66 +++ doc/doc++/osg/VectorUByte.html | 66 +++ doc/doc++/osg/VectorUInt.html | 66 +++ doc/doc++/osg/VectorUShort.html | 66 +++ doc/doc++/osg/Viewport.html | 8 + doc/doc++/osg/fast_back_stack.html | 131 +++++ doc/doc++/osg/getGLExtensionFuncPtr.2.html | 23 + doc/doc++/osg/globalnotifylevel..html | 16 + doc/doc++/osg/globalnotifynulstream..html | 16 + doc/doc++/osg/operator.2.html | 20 + doc/doc++/osg/operator.html | 20 + doc/doc++/osg/osg.html | 2 +- doc/doc++/osgDB/FilePathList.html | 20 + doc/doc++/osgDB/PushAndPopDataPath.html | 46 ++ doc/doc++/osgDB/fileExists.html | 20 + doc/doc++/osgGA/GUIEventHandlerVisitor.html | 32 +- .../osgGA/KeySwitchCameraManipulator.html | 42 +- doc/doc++/osgGLUT/Viewer.html | 218 ++++---- doc/doc++/osgParticle/ParticleSystem.html | 116 ++-- .../ConvertGeoSetsToGeometryVisitor.html | 60 ++ doc/doc++/osgUtil/General.html | 3 + doc/doc++/osgUtil/HIER.html | 1 + doc/doc++/osgUtil/HIERjava.html | 7 + doc/doc++/osgUtil/LeafDepthSortFunctor.html | 31 ++ doc/doc++/osgUtil/Optimizer.html | 2 + .../osgUtil/RemoveEmptyNodesVisitor.html | 75 +++ .../RemoveLowestStaticTransformsVisitor.html | 205 +++++++ doc/doc++/osgUtil/index.html | 1 + 91 files changed, 7724 insertions(+), 683 deletions(-) create mode 100644 doc/doc++/osg/Array.html create mode 100644 doc/doc++/osg/ArrayVisitor.html create mode 100644 doc/doc++/osg/BlendFunc.html create mode 100644 doc/doc++/osg/ClipNode.html create mode 100644 doc/doc++/osg/CollectOccludersVisitor.html create mode 100644 doc/doc++/osg/ConvexPlanerOccluder.html create mode 100644 doc/doc++/osg/ConvexPlanerPolygon.html create mode 100644 doc/doc++/osg/CullStack.html create mode 100644 doc/doc++/osg/CullingSet.html create mode 100644 doc/doc++/osg/DrawArrayLengths.html create mode 100644 doc/doc++/osg/DrawArrays.html create mode 100644 doc/doc++/osg/DrawElementsUByte.html create mode 100644 doc/doc++/osg/DrawElementsUInt.html create mode 100644 doc/doc++/osg/DrawElementsUShort.html create mode 100644 doc/doc++/osg/Geometry.html create mode 100644 doc/doc++/osg/MatrixTransform.html create mode 100644 doc/doc++/osg/OccluderNode.html create mode 100644 doc/doc++/osg/Polytope.html create mode 100644 doc/doc++/osg/Primitive.html create mode 100644 doc/doc++/osg/PrimitiveFunctor.html create mode 100644 doc/doc++/osg/ShadowOccluderVolume.html create mode 100644 doc/doc++/osg/ShadowVolumeOccluder.html create mode 100644 doc/doc++/osg/TemplateArray.html create mode 100644 doc/doc++/osg/TriangleFunctor.html create mode 100644 doc/doc++/osg/UByte4.html create mode 100644 doc/doc++/osg/VectorSizei.html create mode 100644 doc/doc++/osg/VectorUByte.html create mode 100644 doc/doc++/osg/VectorUInt.html create mode 100644 doc/doc++/osg/VectorUShort.html create mode 100644 doc/doc++/osg/fast_back_stack.html create mode 100644 doc/doc++/osg/getGLExtensionFuncPtr.2.html create mode 100644 doc/doc++/osg/globalnotifylevel..html create mode 100644 doc/doc++/osg/globalnotifynulstream..html create mode 100644 doc/doc++/osg/operator.2.html create mode 100644 doc/doc++/osg/operator.html create mode 100644 doc/doc++/osgDB/FilePathList.html create mode 100644 doc/doc++/osgDB/PushAndPopDataPath.html create mode 100644 doc/doc++/osgDB/fileExists.html create mode 100644 doc/doc++/osgUtil/ConvertGeoSetsToGeometryVisitor.html create mode 100644 doc/doc++/osgUtil/LeafDepthSortFunctor.html create mode 100644 doc/doc++/osgUtil/RemoveEmptyNodesVisitor.html create mode 100644 doc/doc++/osgUtil/RemoveLowestStaticTransformsVisitor.html diff --git a/doc/doc++/osg/AlphaFunc.html b/doc/doc++/osg/AlphaFunc.html index 9fc47a15f..97b00e0a3 100644 --- a/doc/doc++/osg/AlphaFunc.html +++ b/doc/doc++/osg/AlphaFunc.html @@ -112,6 +112,12 @@ oinline void setDataVariance(const DataVariance dv)
oinline const DataVariance getDataVariance() const +
+oinline void setUserData(Referenced* obj) +
+oinline Referenced* getUserData() +
+oinline const Referenced* getUserData() const

@@ -122,6 +128,8 @@

Protected Fields

oDataVariance _dataVariance +
+oref_ptr<Referenced> _userData

diff --git a/doc/doc++/osg/Array.html b/doc/doc++/osg/Array.html new file mode 100644 index 000000000..68c47e416 --- /dev/null +++ b/doc/doc++/osg/Array.html @@ -0,0 +1,250 @@ + + + + + class SG_EXPORT osg::Array + + + + +

class SG_EXPORT osg::Array


+ +

Inheritance:

+ + + + + + + +
+ +
+

+

Public Methods

+[more] Array(Type arrayType=ArrayType, GLint dataSize=0, GLenum dataType=0) +
+[more] Array(const Array& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
+[more]virtual bool isSameKindAs(const Object* obj) const +
+[more]virtual const char* libraryName() const +
+[more]virtual const char* className() const +
+[more]virtual void accept(ArrayVisitor&) +
+[more]Type getType() const +
+[more]GLint getDataSize() const +
+[more]GLenum getDataType() const +
+[more]virtual const GLvoid* getDataPointer() const = 0 +
+[more]virtual unsigned int getNumElements() const = 0 +

+ +

+

Public Members

+[more]enum Type +

+ +

+

Protected Fields

+[more]Type _arrayType +
+[more]GLint _dataSize +
+[more]GLenum _dataType +

+ +

+

Protected Methods

+[more]virtual ~Array() +

+ +
+

Inherited from Object:

+
+

+

Public Methods

+ovirtual Object* cloneType() const +
+ovirtual Object* clone(const CopyOp&) const +
+oinline void setDataVariance(const DataVariance dv) +
+oinline const DataVariance getDataVariance() const +
+oinline void setUserData(Referenced* obj) +
+oinline Referenced* getUserData() +
+oinline const Referenced* getUserData() const +

+ +

+

Public Members

+oenum DataVariance +

+ +

+

Protected Fields

+oDataVariance _dataVariance +
+oref_ptr<Referenced> _userData +

+ +
+

Inherited from Referenced:

+
+

+

Public Methods

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

+ +

+

Protected Fields

+omutable int _refCount +

+ +
+ + +
+

Documentation

+
+ + + +
oenum Type +

+ + + +
o ArrayType +

+ + +

o ByteArrayType +

+ + +

o ShortArrayType +

+ + +

o IntArrayType +

+ + +

o UByteArrayType +

+ + +

o UShortArrayType +

+ + +

o UIntArrayType +

+ + +

o UByte4ArrayType +

+ + +

o FloatArrayType +

+ + +

o Vec2ArrayType +

+ + +

o Vec3ArrayType +

+ + +

o Vec4ArrayType +

+ + + +
o Array(Type arrayType=ArrayType, GLint dataSize=0, GLenum dataType=0) +

+ + +

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

+ + +

ovirtual bool isSameKindAs(const Object* obj) const +

+ + +

ovirtual const char* libraryName() const +

+ + +

ovirtual const char* className() const +

+ + +

ovirtual void accept(ArrayVisitor&) +

+ + +

oType getType() const +

+ + +

oGLint getDataSize() const +

+ + +

oGLenum getDataType() const +

+ + +

ovirtual const GLvoid* getDataPointer() const = 0 +

+ + +

ovirtual unsigned int getNumElements() const = 0 +

+ + +

ovirtual ~Array() +

+ + +

oType _arrayType +

+ + +

oGLint _dataSize +

+ + +

oGLenum _dataType +

+
+
Direct child classes: +
TemplateArray
+
+ +

Alphabetic index HTML hierarchy of classes or Java


+
+This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/ArrayVisitor.html b/doc/doc++/osg/ArrayVisitor.html new file mode 100644 index 000000000..5206dbc6e --- /dev/null +++ b/doc/doc++/osg/ArrayVisitor.html @@ -0,0 +1,108 @@ + + + + + typedef TemplateArray<Vec4,Array::Vec4ArrayType,4,GL_FLOAT> Vec4Arrayclass osg::ArrayVisitor + + + + +

typedef TemplateArray<Vec4,Array::Vec4ArrayType,4,GL_FLOAT> Vec4Arrayclass osg::ArrayVisitor


+ +
+

+

Public Methods

+[more] ArrayVisitor() +
+[more]virtual void apply(Array&) +
+[more]virtual void apply(ByteArray&) +
+[more]virtual void apply(ShortArray&) +
+[more]virtual void apply(IntArray&) +
+[more]virtual void apply(UByteArray&) +
+[more]virtual void apply(UShortArray&) +
+[more]virtual void apply(UIntArray&) +
+[more]virtual void apply(UByte4Array&) +
+[more]virtual void apply(FloatArray&) +
+[more]virtual void apply(Vec2Array&) +
+[more]virtual void apply(Vec3Array&) +
+[more]virtual void apply(Vec4Array&) +

+ +
+ + +
+

Documentation

+
+ + + +
o ArrayVisitor() +

+ + +

ovirtual void apply(Array&) +

+ + +

ovirtual void apply(ByteArray&) +

+ + +

ovirtual void apply(ShortArray&) +

+ + +

ovirtual void apply(IntArray&) +

+ + +

ovirtual void apply(UByteArray&) +

+ + +

ovirtual void apply(UShortArray&) +

+ + +

ovirtual void apply(UIntArray&) +

+ + +

ovirtual void apply(UByte4Array&) +

+ + +

ovirtual void apply(FloatArray&) +

+ + +

ovirtual void apply(Vec2Array&) +

+ + +

ovirtual void apply(Vec3Array&) +

+ + +

ovirtual void apply(Vec4Array&) +

+ +
This class has no child classes.
+ +

Alphabetic index HTML hierarchy of classes or Java


+
+This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/AttributeFunctor.html b/doc/doc++/osg/AttributeFunctor.html index bf2d827b6..96a9b8e1d 100644 --- a/doc/doc++/osg/AttributeFunctor.html +++ b/doc/doc++/osg/AttributeFunctor.html @@ -9,37 +9,32 @@

class AttributeFunctor


-

Inheritance:

- - - - - - - -
-

Public Methods

-[more] AttributeFunctor(AttributeBitMask abm) +[more]virtual ~AttributeFunctor()
-[more]virtual ~AttributeFunctor() +[more]virtual void apply(AttributeType, unsigned int, GLbyte*)
-[more]void setAttributeBitMask(AttributeBitMask abm) +[more]virtual void apply(AttributeType, unsigned int, GLshort*)
-[more]AttributeBitMask getAttributeBitMask() const +[more]virtual void apply(AttributeType, unsigned int, GLint*)
-[more]virtual bool apply(AttributeBitMask, Vec2*, Vec2*) +[more]virtual void apply(AttributeType, unsigned int, GLubyte*)
-[more]virtual bool apply(AttributeBitMask, Vec3*, Vec3*) +[more]virtual void apply(AttributeType, unsigned int, GLushort*)
-[more]virtual bool apply(AttributeBitMask, Vec4*, Vec4*) -

- -

-

Protected Fields

-[more]AttributeBitMask _abm +[more]virtual void apply(AttributeType, unsigned int, GLuint*) +
+[more]virtual void apply(AttributeType, unsigned int, float*) +
+[more]virtual void apply(AttributeType, unsigned int, Vec2*) +
+[more]virtual void apply(AttributeType, unsigned int, Vec3*) +
+[more]virtual void apply(AttributeType, unsigned int, Vec4*) +
+[more]virtual void apply(AttributeType, unsigned int, UByte4*)

@@ -49,42 +44,56 @@

Documentation

- - -
o AttributeFunctor(AttributeBitMask abm) -

- +

ovirtual ~AttributeFunctor()

- - -

ovoid setAttributeBitMask(AttributeBitMask abm) -

- - -

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

- -

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

- -

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

- -

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

- - -

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

+ + +

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

+ + +

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

+ + +

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

+ + +

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

+ + +

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

+ + +

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

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

Alphabetic index HTML hierarchy of classes or Java



diff --git a/doc/doc++/osg/Billboard.html b/doc/doc++/osg/Billboard.html index d767be7f0..98a932af8 100644 --- a/doc/doc++/osg/Billboard.html +++ b/doc/doc++/osg/Billboard.html @@ -122,11 +122,11 @@

Public Methods

ovirtual const bool replaceDrawable( Drawable* origDraw, Drawable* newDraw )
-oinline const int getNumDrawables() const +oinline const unsigned int getNumDrawables() const
-oinline Drawable* getDrawable( const int i ) +oinline Drawable* getDrawable( const unsigned int i )
-oinline const Drawable* getDrawable( const int i ) const +oinline const Drawable* getDrawable( const unsigned int i ) const
oinline const bool containsDrawable(const Drawable* gset) const
diff --git a/doc/doc++/osg/BlendFunc.html b/doc/doc++/osg/BlendFunc.html new file mode 100644 index 000000000..2c5266435 --- /dev/null +++ b/doc/doc++/osg/BlendFunc.html @@ -0,0 +1,283 @@ + + + + + class SG_EXPORT osg::BlendFunc + + + + +

class SG_EXPORT osg::BlendFunc

BlendFunc - encapsulates the OpenGL blend/transparency state
+
+ +

Inheritance:

+ + + + + + + +
+ +
+

+

Public Methods

+[more] BlendFunc() +
+[more] BlendFunc(const BlendFunc& trans, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
Copy constructor using CopyOp to manage deep vs shallow copy +
+[more] META_StateAttribute(osg, BlendFunc, BLENDFUNC) +
+[more]virtual int compare(const StateAttribute& sa) const +
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs +
+[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +
+[more]inline void setFunction( const int source, const int destination ) +
+[more]void setSource(const int source) +
+[more]inline const int getSource() const +
+[more]void setDestination(const int destination) +
+[more]inline const int getDestination() const +
+[more]virtual void apply(State& state) const +

+ +

+

Public Members

+[more]enum BlendFuncMode +

+ +

+

Protected Fields

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

+ +

+

Protected Methods

+[more]virtual ~BlendFunc() +

+ +
+

Inherited from StateAttribute:

+
+

+

Public Methods

+ovirtual Object* cloneType() const +
+ovirtual Object* clone(const CopyOp&) const +
+ovirtual bool isSameKindAs(const Object* obj) const +
+ovirtual const char* libraryName() const +
+ovirtual const char* className() const +
+ovirtual const Type getType() const +
+ovirtual bool isTextureAttribute() const +
+obool operator < (const StateAttribute& rhs) const +
+obool operator == (const StateAttribute& rhs) const +
+obool operator != (const StateAttribute& rhs) const +
+ovirtual void compile(State&) const +

+ +

+

Public Members

+otypedef GLenum GLMode +
+otypedef unsigned int GLModeValue +
+otypedef unsigned int OverrideValue +
+oenum Values +
+otypedef unsigned int Type +
+oenum Types +

+ +
+

Inherited from Object:

+
+

+

Public Methods

+oinline void setDataVariance(const DataVariance dv) +
+oinline const DataVariance getDataVariance() const +
+oinline void setUserData(Referenced* obj) +
+oinline Referenced* getUserData() +
+oinline const Referenced* getUserData() const +

+ +

+

Public Members

+oenum DataVariance +

+ +

+

Protected Fields

+oDataVariance _dataVariance +
+oref_ptr<Referenced> _userData +

+ +
+

Inherited from Referenced:

+
+

+

Public Methods

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

+ +

+

Protected Fields

+omutable int _refCount +

+ +
+ + +
+

Documentation

+
BlendFunc - encapsulates the OpenGL blend/transparency state
+
+ + + +
o BlendFunc() +

+ + +

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

+ + +

o META_StateAttribute(osg, BlendFunc, BLENDFUNC) +

+ + +

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

+ + +

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

+ + +

oenum BlendFuncMode +

+ + + +
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 ~BlendFunc() +

+ + +

oint _source_factor +

+ + +

oint _destination_factor +

+ +
This class has no child classes.
+ +

Alphabetic index HTML hierarchy of classes or Java


+
+This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/ClipNode.html b/doc/doc++/osg/ClipNode.html new file mode 100644 index 000000000..1ce670686 --- /dev/null +++ b/doc/doc++/osg/ClipNode.html @@ -0,0 +1,212 @@ + + + + + class SG_EXPORT osg::ClipNode + + + + +

class SG_EXPORT osg::ClipNode

Leaf Node for defining the position of ClipPlanes in the scene
+
+ +

Inheritance:

+ + + + + + + +
+ +
+

+

Public Methods

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

+ +

+

Protected Fields

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

+ +

+

Protected Methods

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

+ +
+

Inherited from Group:

+
+

+

Public Methods

+ovirtual void traverse(NodeVisitor& nv) +
+ovirtual bool addChild( Node* child ) +
+ovirtual bool removeChild( Node* child ) +
+ovirtual bool replaceChild( Node* origChild, Node* newChild ) +
+oinline const unsigned int getNumChildren() const +
+oinline Node* getChild( const unsigned int i ) +
+oinline const Node* getChild( const unsigned int i ) const +
+oinline bool containsNode( const Node* node ) const +
+oinline ChildList::iterator findNode( const Node* node ) +
+oinline ChildList::const_iterator findNode( const Node* node ) const +

+ +

+

Protected Fields

+oChildList _children +

+ +
+ + +
+

Documentation

+
Leaf Node for defining the position of ClipPlanes in the scene
+
+ + + +
otypedef std::vector<ref_ptr<ClipPlane> > ClipPlaneList ClipNode() +

+ + +

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

+ + +

o META_Node(osg, ClipNode) +

+ + +

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

+ + +

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

+ + +

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

+ + +

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

+ + +

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

+ + +

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

+ + +

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

+ + +

oinline ClipPlaneList& getClipPlaneList() +
Get the ClipPlaneList +

+ + +

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

+ + +

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

+ + +

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

+ + +

ovirtual ~ClipNode() +

+ + +

ovirtual const bool computeBound() const +

+ + +

oStateAttribute::GLModeValue _value +

+ + +

oClipPlaneList _planes +

+ +
This class has no child classes.
+ +

Alphabetic index HTML hierarchy of classes or Java


+
+This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/ClipPlane.html b/doc/doc++/osg/ClipPlane.html index c2de5e646..860a43a44 100644 --- a/doc/doc++/osg/ClipPlane.html +++ b/doc/doc++/osg/ClipPlane.html @@ -135,6 +135,12 @@ oinline void setDataVariance(const DataVariance dv)
oinline const DataVariance getDataVariance() const +
+oinline void setUserData(Referenced* obj) +
+oinline Referenced* getUserData() +
+oinline const Referenced* getUserData() const

@@ -145,6 +151,8 @@

Protected Fields

oDataVariance _dataVariance +
+oref_ptr<Referenced> _userData

diff --git a/doc/doc++/osg/CollectOccludersVisitor.html b/doc/doc++/osg/CollectOccludersVisitor.html new file mode 100644 index 000000000..3f5b15b8f --- /dev/null +++ b/doc/doc++/osg/CollectOccludersVisitor.html @@ -0,0 +1,441 @@ + + + + + class SG_EXPORT osg::CollectOccludersVisitor + + + + +

class SG_EXPORT osg::CollectOccludersVisitor


+ +

Inheritance:

+ + + + + + + +
+ +
+

+

Public Methods

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

+ +

+

Protected Fields

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

+ +

+

Protected Methods

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

+ +
+

Inherited from NodeVisitor:

+
+

+

Public Methods

+oinline void setTraversalNumber(const int fn) +
+oinline const int getTraversalNumber() const +
+oinline void setFrameStamp(FrameStamp* fs) +
+oinline const FrameStamp* getFrameStamp() const +
+oinline void setTraversalMask(const Node::NodeMask mask) +
+oinline const Node::NodeMask getTraversalMask() const +
+oinline void setNodeMaskOverride(const Node::NodeMask mask) +
+oinline const Node::NodeMask getNodeMaskOverride() const +
+oinline const bool validNodeMask(const osg::Node& node) const +
+ovoid setTraversalMode(const TraversalMode mode) +
+oinline const TraversalMode getTraversalMode() const +
+ovoid setTraversalVisitor(NodeVisitor* nv) +
+oinline NodeVisitor* getTraversalVisitor() +
+oinline void traverse(Node& node) +
+oinline void pushOntoNodePath(Node* node) +
+oinline void popFromNodePath() +
+oNodePath& getNodePath() +
+oconst NodePath& getNodePath() const +
+oconst bool getLocalToWorldMatrix(Matrix& matrix, Node* node) +
+oconst bool getWorldToLocalMatrix(Matrix& matrix, Node* node) +

+ +

+

Public Members

+oenum TraversalMode +

+ +

+

Protected Fields

+oint _traversalNumber +
+oref_ptr<FrameStamp> _frameStamp +
+oref_ptr<NodeVisitor> _traversalVisitor +
+oTraversalMode _traversalMode +
+oNode::NodeMask _traversalMask +
+oNode::NodeMask _nodeMaskOverride +
+oNodePath _nodePath +

+ +
+

Inherited from Referenced:

+
+

+

Public Methods

+oinline void ref() const +
+oinline void unref() const +
+oinline void unref_nodelete() const +
+oinline const int referenceCount() const +

+ +

+

Protected Fields

+omutable int _refCount +

+ +
+

Inherited from CullStack:

+
+

+

Public Methods

+ovoid setOccluderList(const ShadowVolumeOccluderList& svol) +
+oShadowVolumeOccluderList& getOccluderList() +
+oconst ShadowVolumeOccluderList& getOccluderList() const +
+ovoid pushViewport(osg::Viewport* viewport) +
+ovoid popViewport() +
+ovoid pushProjectionMatrix(osg::Matrix* matrix) +
+ovoid popProjectionMatrix() +
+ovoid pushModelViewMatrix(osg::Matrix* matrix) +
+ovoid popModelViewMatrix() +
+oinline float getFrustumVolume() +
+ovoid setCullingMode(CullingMode mode) +
+oCullingMode getCullingMode() const +
+ovoid setLODBias(const float bias) +
+oconst float getLODBias() const +
+ovoid setSmallFeatureCullingPixelSize(float value) +
+ofloat getSmallFeatureCullingPixelSize() const +
+ofloat pixelSize(const Vec3& v, float radius) const +
+ofloat pixelSize(const BoundingSphere& bs) const +
+oinline void disableAndPushOccludersCurrentMask(NodePath& nodePath) +
+oinline void popOccludersCurrentMask(NodePath& nodePath) +
+oinline bool isCulled(const std::vector<Vec3>& vertices) +
+oinline bool isCulled(const BoundingBox& bb) +
+oinline bool isCulled(const BoundingSphere& bs) +
+oinline bool isCulled(const osg::Node& node) +
+oinline void pushCurrentMask() +
+oinline void popCurrentMask() +
+otypedef fast_back_stack<ref_ptr<CullingSet> > CullingStack CullingStack& getClipSpaceCullingStack() +
+oCullingStack& getProjectionCullingStack() +
+oCullingStack& getModelViewCullingStack() +
+oCullingSet& getCurrentCullingSet() +
+oinline osg::Viewport* getViewport() +
+oinline osg::Matrix& getModelViewMatrix() +
+oinline osg::Matrix& getProjectionMatrix() +
+oinline const osg::Matrix getWindowMatrix() +
+oinline const osg::Matrix& getMVPW() +
+oinline const osg::Vec3& getEyeLocal() const +
+oinline const osg::Vec3 getUpLocal() const +
+oinline const osg::Vec3 getLookVectorLocal() const +
+oinline Viewport* getViewport() +
+oinline Matrix& getModelViewMatrix() +
+oinline Matrix& getProjectionMatrix() +
+oinline const Matrix getWindowMatrix() +
+oinline const Matrix& getMVPW() +
+oinline Matrix* createOrReuseMatrix(const osg::Matrix& value) +

+ +

+

Public Members

+otypedef std::vector<ShadowVolumeOccluder> OccluderListenum CullingModeValues +

+ +

+

Protected Fields

+oCullingMode _cullingMode +
+ofloat _LODBias +
+ofloat _smallFeatureCullingPixelSize +
+oShadowVolumeOccluderList _occluderList +
+oMatrixStack _modelviewStack +
+oMatrixStack _MVPW_Stack +
+oCullingStack _clipspaceCullingStack +
+oCullingStack _projectionCullingStack +
+oCullingStack _modelviewCullingStack +
+ofloat _frustumVolume +
+ounsigned int _bbCornerNear +
+ounsigned int _bbCornerFar +
+oosg::Matrix _identity +
+ounsigned int _currentReuseMatrixIndex +

+ +

+

Protected Methods

+ovoid pushCullingSet() +
+ovoid popCullingSet() +
+ovoid computeFrustumVolume() +
+oinline osg::Matrix* createOrReuseMatrix(const osg::Matrix& value) +

+ +

+

Protected Members

+otypedef fast_back_stack< ref_ptr<Matrix> > MatrixStack MatrixStack _projectionStack +
+otypedef fast_back_stack<ref_ptr<Viewport> > ViewportStack ViewportStack _viewportStack +
+otypedef fast_back_stack<Vec3> EyePointStack EyePointStack _eyePointStack +
+otypedef std::vector< osg::ref_ptr<osg::Matrix> > MatrixList MatrixList _reuseMatrixList +

+ +
+ + +
+

Documentation

+
+ + + +
otypedef std::set<ShadowVolumeOccluder> ShadowVolumeOccluderSet CollectOccludersVisitor() +

+ + +

ovirtual ~CollectOccludersVisitor() +

+ + +

ovirtual CollectOccludersVisitor* cloneType() const +

+ + +

ovirtual void reset() +

+ + +

ovirtual void apply(osg::Node&) +

+ + +

ovirtual void apply(osg::Transform& node) +

+ + +

ovirtual void apply(osg::Projection& node) +

+ + +

ovirtual void apply(osg::Switch& node) +

+ + +

ovirtual void apply(osg::LOD& node) +

+ + +

ovirtual void apply(osg::OccluderNode& node) +

+ + +

ovoid setMinimumShadowOccluderVolume(float vol) +

+ + +

ofloat getMinimumShadowOccluderVolume() const +

+ + +

ovoid setCreateDrawablesOnOccludeNodes(bool flag) +

+ + +

obool getCreateDrawablesOnOccludeNodes() const +

+ + +

ovoid setCollectedOcculderList(const ShadowVolumeOccluderSet& svol) +

+ + +

oShadowVolumeOccluderSet& getCollectedOccluderSet() +

+ + +

oconst ShadowVolumeOccluderSet& getCollectedOccluderSet() const +

+ + +

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

+ + +

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

+ + +

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

+ + +

oinline void handle_cull_callbacks_and_traverse(osg::Node& node) +

+ + +

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

+ + +

ofloat _minimumShadowOccluderVolume +

+ + +

obool _createDrawables +

+ + +

oShadowVolumeOccluderSet _occluderSet +

+ +
This class has no child classes.
+ +

Alphabetic index HTML hierarchy of classes or Java


+
+This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/ColorMask.html b/doc/doc++/osg/ColorMask.html index af2f73753..0bd1de353 100644 --- a/doc/doc++/osg/ColorMask.html +++ b/doc/doc++/osg/ColorMask.html @@ -115,6 +115,12 @@ oinline void setDataVariance(const DataVariance dv)
oinline const DataVariance getDataVariance() const +
+oinline void setUserData(Referenced* obj) +
+oinline Referenced* getUserData() +
+oinline const Referenced* getUserData() const

@@ -125,6 +131,8 @@

Protected Fields

oDataVariance _dataVariance +
+oref_ptr<Referenced> _userData

diff --git a/doc/doc++/osg/ColorMatrix.html b/doc/doc++/osg/ColorMatrix.html index 02a598edf..be98adcf8 100644 --- a/doc/doc++/osg/ColorMatrix.html +++ b/doc/doc++/osg/ColorMatrix.html @@ -109,6 +109,12 @@ oinline void setDataVariance(const DataVariance dv)
oinline const DataVariance getDataVariance() const +
+oinline void setUserData(Referenced* obj) +
+oinline Referenced* getUserData() +
+oinline const Referenced* getUserData() const

@@ -119,6 +125,8 @@

Protected Fields

oDataVariance _dataVariance +
+oref_ptr<Referenced> _userData

diff --git a/doc/doc++/osg/ConvexPlanerOccluder.html b/doc/doc++/osg/ConvexPlanerOccluder.html new file mode 100644 index 000000000..7cc7abba5 --- /dev/null +++ b/doc/doc++/osg/ConvexPlanerOccluder.html @@ -0,0 +1,192 @@ + + + + + class SG_EXPORT osg::ConvexPlanerOccluder + + + + +

class SG_EXPORT osg::ConvexPlanerOccluder

A class for representing convex clipping volumes made up.
+
+ +

Inheritance:

+ + + + + + + +
+ +
+

+

Public Methods

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

+ +

+

Protected Fields

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

+ +

+

Protected Methods

+[more] ~ConvexPlanerOccluder() +

+ +
+

Inherited from Object:

+
+

+

Public Methods

+ovirtual Object* cloneType() const +
+ovirtual Object* clone(const CopyOp&) const +
+ovirtual bool isSameKindAs(const Object*) const +
+ovirtual const char* libraryName() const +
+ovirtual const char* className() const +
+oinline void setDataVariance(const DataVariance dv) +
+oinline const DataVariance getDataVariance() const +
+oinline void setUserData(Referenced* obj) +
+oinline Referenced* getUserData() +
+oinline const Referenced* getUserData() const +

+ +

+

Public Members

+oenum DataVariance +

+ +

+

Protected Fields

+oDataVariance _dataVariance +
+oref_ptr<Referenced> _userData +

+ +
+

Inherited from Referenced:

+
+

+

Public Methods

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

+ +

+

Protected Fields

+omutable int _refCount +

+ +
+ + +
+

Documentation

+
A class for representing convex clipping volumes made up. +When adding planes, their normals should point inwards (into the volume)
+
+ + + +
o ConvexPlanerOccluder() +

+ + +

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

+ + +

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

+ + +

oConvexPlanerPolygon& getOccluder() +

+ + +

oconst ConvexPlanerPolygon& getOccluder() const +

+ + +

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

+ + +

oHoleList& getHoleList() +

+ + +

oconst HoleList& getHoleList() const +

+ + +

ovoid computeAttributes() +

+ + +

ovoid computeBound(BoundingBox& bb) const +

+ + +

ovoid computeBound(BoundingSphere& bs) const +

+ + +

o ~ConvexPlanerOccluder() +

+ + +

oConvexPlanerPolygon _occluder +

+ + +

oHoleList _holeList +

+ +
This class has no child classes.
+ +

Alphabetic index HTML hierarchy of classes or Java


+
+This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/ConvexPlanerPolygon.html b/doc/doc++/osg/ConvexPlanerPolygon.html new file mode 100644 index 000000000..6893d8517 --- /dev/null +++ b/doc/doc++/osg/ConvexPlanerPolygon.html @@ -0,0 +1,120 @@ + + + + + class SG_EXPORT osg::ConvexPlanerPolygon + + + + +

class SG_EXPORT osg::ConvexPlanerPolygon

A class for representing convex clipping volumes made up.
+
+ +
+

+

Public Methods

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

+ +

+

Protected Fields

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

+ +
+ + +
+

Documentation

+
A class for representing convex clipping volumes made up. +When adding planes, their normals should point inwards (into the volume)
+
+ + + +
oinline ConvexPlanerPolygon() +

+ + +

ofloat area() +

+ + +

oconst Vec3& center() +

+ + +

oconst Vec3& normal() +

+ + +

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

+ + +

oVertexList& getVertexList() +

+ + +

oconst VertexList& getVertexList() const +

+ + +

ovoid computeAttributes() +

+ + +

ovoid computeBound(BoundingBox& bb) const +

+ + +

ovoid computeBound(BoundingSphere& bs) const +

+ + +

ofloat _area +

+ + +

oVec3 _center +

+ + +

oVec3 _normal +

+ + +

oVertexList _vertexList +

+ +
This class has no child classes.
+ +

Alphabetic index HTML hierarchy of classes or Java


+
+This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/CullFace.html b/doc/doc++/osg/CullFace.html index 6a5a874f0..002883c29 100644 --- a/doc/doc++/osg/CullFace.html +++ b/doc/doc++/osg/CullFace.html @@ -108,6 +108,12 @@ oinline void setDataVariance(const DataVariance dv)
oinline const DataVariance getDataVariance() const +
+oinline void setUserData(Referenced* obj) +
+oinline Referenced* getUserData() +
+oinline const Referenced* getUserData() const

@@ -118,6 +124,8 @@

Protected Fields

oDataVariance _dataVariance +
+oref_ptr<Referenced> _userData

diff --git a/doc/doc++/osg/CullStack.html b/doc/doc++/osg/CullStack.html new file mode 100644 index 000000000..eee476298 --- /dev/null +++ b/doc/doc++/osg/CullStack.html @@ -0,0 +1,515 @@ + + + + + class SG_EXPORT osg::CullStack + + + + +

class SG_EXPORT osg::CullStack

A CullStack class which accumulates the current project, modelview matrices and the CullingSet.
+
+ +

Inheritance:

+ + + + + + + +
+ +
+

+

Public Methods

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

+ +

+

Public Members

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

+ +

+

Protected Fields

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

+ +

+

Protected Methods

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

+ +

+

Protected Members

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

+ +
+ + +
+

Documentation

+
A CullStack class which accumulates the current project, modelview matrices +and the CullingSet.
+
+ + + +
o CullStack() +

+ + +

o ~CullStack() +

+ + +

otypedef std::vector<ShadowVolumeOccluder> OccluderListenum CullingModeValues +

+ + + +
o NO_CULLING +

+ + +

o VIEW_FRUSTUM_CULLING +

+ + +

o NEAR_PLANE_CULLING +

+ + +

o FAR_PLANE_CULLING +

+ + +

o SMALL_FEATURE_CULLING +

+ + +

o SHADOW_OCCLUSION_CULLING +

+ + +

o ENABLE_ALL_CULLING +

+ + + +
otypedef unsigned int CullingMode void reset() +

+ + +

ovoid setOccluderList(const ShadowVolumeOccluderList& svol) +

+ + +

oShadowVolumeOccluderList& getOccluderList() +

+ + +

oconst ShadowVolumeOccluderList& getOccluderList() const +

+ + +

ovoid pushViewport(osg::Viewport* viewport) +

+ + +

ovoid popViewport() +

+ + +

ovoid pushProjectionMatrix(osg::Matrix* matrix) +

+ + +

ovoid popProjectionMatrix() +

+ + +

ovoid pushModelViewMatrix(osg::Matrix* matrix) +

+ + +

ovoid popModelViewMatrix() +

+ + +

oinline float getFrustumVolume() +

+ + +

ovoid setCullingMode(CullingMode mode) +
Sets the current CullingMode +

+ + +

oCullingMode getCullingMode() const +
Returns the current CullingMode +

+ + +

ovoid setLODBias(const float bias) +

+ + +

oconst float getLODBias() const +

+ + +

ovoid setSmallFeatureCullingPixelSize(float value) +

+ + +

ofloat getSmallFeatureCullingPixelSize() const +

+ + +

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

+ + +

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

+ + +

oinline void disableAndPushOccludersCurrentMask(NodePath& nodePath) +

+ + +

oinline void popOccludersCurrentMask(NodePath& nodePath) +

+ + +

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

+ + +

oinline bool isCulled(const BoundingBox& bb) +

+ + +

oinline bool isCulled(const BoundingSphere& bs) +

+ + +

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

+ + +

oinline void pushCurrentMask() +

+ + +

oinline void popCurrentMask() +

+ + +

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

+ + +

oCullingStack& getProjectionCullingStack() +

+ + +

oCullingStack& getModelViewCullingStack() +

+ + +

oCullingSet& getCurrentCullingSet() +

+ + +

oinline osg::Viewport* getViewport() +

+ + +

oinline osg::Matrix& getModelViewMatrix() +

+ + +

oinline osg::Matrix& getProjectionMatrix() +

+ + +

oinline const osg::Matrix getWindowMatrix() +

+ + +

oinline const osg::Matrix& getMVPW() +

+ + +

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

+ + +

oinline const osg::Vec3 getUpLocal() const +

+ + +

oinline const osg::Vec3 getLookVectorLocal() const +

+ + +

ovoid pushCullingSet() +

+ + +

ovoid popCullingSet() +

+ + +

oCullingMode _cullingMode +

+ + +

ofloat _LODBias +

+ + +

ofloat _smallFeatureCullingPixelSize +

+ + +

oShadowVolumeOccluderList _occluderList +

+ + +

otypedef fast_back_stack< ref_ptr<Matrix> > MatrixStack MatrixStack _projectionStack +

+ + +

oMatrixStack _modelviewStack +

+ + +

oMatrixStack _MVPW_Stack +

+ + +

otypedef fast_back_stack<ref_ptr<Viewport> > ViewportStack ViewportStack _viewportStack +

+ + +

otypedef fast_back_stack<Vec3> EyePointStack EyePointStack _eyePointStack +

+ + +

oCullingStack _clipspaceCullingStack +

+ + +

oCullingStack _projectionCullingStack +

+ + +

oCullingStack _modelviewCullingStack +

+ + +

ovoid computeFrustumVolume() +

+ + +

ofloat _frustumVolume +

+ + +

ounsigned int _bbCornerNear +

+ + +

ounsigned int _bbCornerFar +

+ + +

oosg::Matrix _identity +

+ + +

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

+ + +

ounsigned int _currentReuseMatrixIndex +

+ + +

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

+ + +

oinline Viewport* getViewport() +

+ + +

oinline Matrix& getModelViewMatrix() +

+ + +

oinline Matrix& getProjectionMatrix() +

+ + +

oinline const Matrix getWindowMatrix() +

+ + +

oinline const Matrix& getMVPW() +

+ + +

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

+
+
Direct child classes: +
CollectOccludersVisitor
+
+ +

Alphabetic index HTML hierarchy of classes or Java


+
+This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/CullingSet.html b/doc/doc++/osg/CullingSet.html new file mode 100644 index 000000000..2e22b09c9 --- /dev/null +++ b/doc/doc++/osg/CullingSet.html @@ -0,0 +1,265 @@ + + + + + class SG_EXPORT osg::CullingSet + + + + +

class SG_EXPORT osg::CullingSet

A CullingSet class which contains a frustum and a list of occluder.
+
+ +

Inheritance:

+ + + + + + + +
+ +
+

+

Public Methods

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

+ +

+

Public Members

+[more]typedef unsigned int Maskenum MaskValues +

+ +

+

Protected Fields

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

+ +
+

Inherited from Referenced:

+
+

+

Public Methods

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

+ +

+

Protected Fields

+omutable int _refCount +

+ +
+ + +
+

Documentation

+
A CullingSet class which contains a frustum and a list of occluder.
+
+ + + +
o CullingSet() +

+ + +

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

+ + +

o ~CullingSet() +

+ + +

otypedef unsigned int Maskenum MaskValues +

+ + + +
o VIEW_FRUSTUM_CULLING +

+ + +

o SMALL_FEATURE_CULLING +

+ + +

o SHADOW_OCCLUSION_CULLING +

+ + +

o ALL_CULLING +

+ + + +
ovoid setCullingMask(Mask mask) +

+ + +

ovoid setFrustum(Polytope& cv) +

+ + +

oPolytope& getFrustum() +

+ + +

oconst Polytope& getFrustum() const +

+ + +

ovoid addOccluder(ShadowVolumeOccluder& cv) +

+ + +

ovoid setPixelSizeVector(const Vec4& v) +

+ + +

oVec4& getPixelSizeVector() +

+ + +

oconst Vec4& getPixelSizeVector() const +

+ + +

ovoid setSmallFeatureCullingPixelSize(float value) +

+ + +

ofloat& getSmallFeatureCullingPixelSize() +

+ + +

ofloat getSmallFeatureCullingPixelSize() const +

+ + +

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

+ + +

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

+ + +

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

+ + +

oinline bool isCulled(const BoundingBox& bb) +

+ + +

oinline bool isCulled(const BoundingSphere& bs) +

+ + +

oinline void pushCurrentMask() +

+ + +

oinline void popCurrentMask() +

+ + +

ovoid disableAndPushOccludersCurrentMask(NodePath& nodePath) +

+ + +

ovoid popOccludersCurrentMask(NodePath& nodePath) +

+ + +

oMask _mask +

+ + +

oPolytope _frustum +

+ + +

oOccluderList _occluderList +

+ + +

oVec4 _pixelSizeVector +

+ + +

ofloat _smallFeatureCullingPixelSize +

+ +
This class has no child classes.
+ +

Alphabetic index HTML hierarchy of classes or Java


+
+This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/Depth.html b/doc/doc++/osg/Depth.html index 8f7f193cf..6a2b7a2b9 100644 --- a/doc/doc++/osg/Depth.html +++ b/doc/doc++/osg/Depth.html @@ -124,6 +124,12 @@ oinline void setDataVariance(const DataVariance dv)
oinline const DataVariance getDataVariance() const +
+oinline void setUserData(Referenced* obj) +
+oinline Referenced* getUserData() +
+oinline const Referenced* getUserData() const

@@ -134,6 +140,8 @@

Protected Fields

oDataVariance _dataVariance +
+oref_ptr<Referenced> _userData

diff --git a/doc/doc++/osg/DrawArrayLengths.html b/doc/doc++/osg/DrawArrayLengths.html new file mode 100644 index 000000000..f47919cfc --- /dev/null +++ b/doc/doc++/osg/DrawArrayLengths.html @@ -0,0 +1,217 @@ + + + + + class SG_EXPORT osg::DrawArrayLengths + + + + +

class SG_EXPORT osg::DrawArrayLengths


+ +

Inheritance:

+ + + + + + + +
+ +
+

+

Public Methods

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

+ +

+

Protected Fields

+[more]GLint _first +

+ +
+

Inherited from Primitive:

+
+

+

Public Methods

+oType getType() const +
+ovoid setMode(GLenum mode) +
+oGLenum getMode() const +

+ +

+

Public Members

+oenum Type +
+oenum Mode +

+ +

+

Protected Fields

+oType _primitiveType +
+oGLenum _mode +

+ +
+

Inherited from Object:

+
+

+

Public Methods

+oinline void setDataVariance(const DataVariance dv) +
+oinline const DataVariance getDataVariance() const +
+oinline void setUserData(Referenced* obj) +
+oinline Referenced* getUserData() +
+oinline const Referenced* getUserData() const +

+ +

+

Public Members

+oenum DataVariance +

+ +

+

Protected Fields

+oDataVariance _dataVariance +
+oref_ptr<Referenced> _userData +

+ +
+

Inherited from Referenced:

+
+

+

Public Methods

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

+ +

+

Protected Fields

+omutable int _refCount +

+ +
+

Inherited from VectorSizei:

+
+
+ + +
+

Documentation

+
+ + + +
o DrawArrayLengths(GLenum mode=0) +

+ + +

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

+ + +

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

+ + +

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

+ + +

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

+ + +

ovirtual Object* cloneType() const +

+ + +

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

+ + +

ovirtual bool isSameKindAs(const Object* obj) const +

+ + +

ovirtual const char* libraryName() const +

+ + +

ovirtual const char* className() const +

+ + +

ovoid setFirst(GLint first) +

+ + +

oGLint getFirst() const +

+ + +

ovirtual void draw() const +

+ + +

ovirtual void accept(Drawable::PrimitiveFunctor& functor) +

+ + +

ovirtual void offsetIndices(int offset) +

+ + +

oGLint _first +

+ +
This class has no child classes.
+ +

Alphabetic index HTML hierarchy of classes or Java


+
+This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/DrawArrays.html b/doc/doc++/osg/DrawArrays.html new file mode 100644 index 000000000..4c6c1e3cd --- /dev/null +++ b/doc/doc++/osg/DrawArrays.html @@ -0,0 +1,226 @@ + + + + + class SG_EXPORT osg::DrawArrays + + + + +

class SG_EXPORT osg::DrawArrays


+ +

Inheritance:

+ + + + + + + +
+ +
+

+

Public Methods

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

+ +

+

Protected Fields

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

+ +
+

Inherited from Primitive:

+
+

+

Public Methods

+oType getType() const +
+ovoid setMode(GLenum mode) +
+oGLenum getMode() const +

+ +

+

Public Members

+oenum Type +
+oenum Mode +

+ +

+

Protected Fields

+oType _primitiveType +
+oGLenum _mode +

+ +
+

Inherited from Object:

+
+

+

Public Methods

+oinline void setDataVariance(const DataVariance dv) +
+oinline const DataVariance getDataVariance() const +
+oinline void setUserData(Referenced* obj) +
+oinline Referenced* getUserData() +
+oinline const Referenced* getUserData() const +

+ +

+

Public Members

+oenum DataVariance +

+ +

+

Protected Fields

+oDataVariance _dataVariance +
+oref_ptr<Referenced> _userData +

+ +
+

Inherited from Referenced:

+
+

+

Public Methods

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

+ +

+

Protected Fields

+omutable int _refCount +

+ +
+ + +
+

Documentation

+
+ + + +
o DrawArrays(GLenum mode=0) +

+ + +

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

+ + +

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

+ + +

ovirtual Object* cloneType() const +

+ + +

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

+ + +

ovirtual bool isSameKindAs(const Object* obj) const +

+ + +

ovirtual const char* libraryName() const +

+ + +

ovirtual const char* className() const +

+ + +

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

+ + +

ovoid setFirst(GLint first) +

+ + +

oGLint getFirst() const +

+ + +

ovoid setCount(GLsizei count) +

+ + +

oGLsizei getCount() const +

+ + +

ovirtual void draw() const +

+ + +

ovirtual void accept(Drawable::PrimitiveFunctor& functor) +

+ + +

ovirtual void offsetIndices(int offset) +

+ + +

oGLint _first +

+ + +

oGLsizei _count +

+ +
This class has no child classes.
+ +

Alphabetic index HTML hierarchy of classes or Java


+
+This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/DrawElementsUByte.html b/doc/doc++/osg/DrawElementsUByte.html new file mode 100644 index 000000000..0e77f1e11 --- /dev/null +++ b/doc/doc++/osg/DrawElementsUByte.html @@ -0,0 +1,196 @@ + + + + + class SG_EXPORT osg::DrawElementsUByte + + + + +

class SG_EXPORT osg::DrawElementsUByte


+ +

Inheritance:

+ + + + + + + +
+ +
+

+

Public Methods

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

+ +
+

Inherited from Primitive:

+
+

+

Public Methods

+oType getType() const +
+ovoid setMode(GLenum mode) +
+oGLenum getMode() const +

+ +

+

Public Members

+oenum Type +
+oenum Mode +

+ +

+

Protected Fields

+oType _primitiveType +
+oGLenum _mode +

+ +
+

Inherited from Object:

+
+

+

Public Methods

+oinline void setDataVariance(const DataVariance dv) +
+oinline const DataVariance getDataVariance() const +
+oinline void setUserData(Referenced* obj) +
+oinline Referenced* getUserData() +
+oinline const Referenced* getUserData() const +

+ +

+

Public Members

+oenum DataVariance +

+ +

+

Protected Fields

+oDataVariance _dataVariance +
+oref_ptr<Referenced> _userData +

+ +
+

Inherited from Referenced:

+
+

+

Public Methods

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

+ +

+

Protected Fields

+omutable int _refCount +

+ +
+

Inherited from VectorUByte:

+
+
+ + +
+

Documentation

+
+ + + +
o DrawElementsUByte(GLenum mode=0) +

+ + +

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

+ + +

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

+ + +

o DrawElementsUByte(GLenum mode, unsigned int no) +

+ + +

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

+ + +

ovirtual Object* cloneType() const +

+ + +

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

+ + +

ovirtual bool isSameKindAs(const Object* obj) const +

+ + +

ovirtual const char* libraryName() const +

+ + +

ovirtual const char* className() const +

+ + +

ovirtual void draw() const +

+ + +

ovirtual void accept(Drawable::PrimitiveFunctor& functor) +

+ + +

ovirtual void offsetIndices(int offset) +

+ +
This class has no child classes.
+ +

Alphabetic index HTML hierarchy of classes or Java


+
+This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/DrawElementsUInt.html b/doc/doc++/osg/DrawElementsUInt.html new file mode 100644 index 000000000..ac4fc3533 --- /dev/null +++ b/doc/doc++/osg/DrawElementsUInt.html @@ -0,0 +1,196 @@ + + + + + class SG_EXPORT osg::DrawElementsUInt + + + + +

class SG_EXPORT osg::DrawElementsUInt


+ +

Inheritance:

+ + + + + + + +
+ +
+

+

Public Methods

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

+ +
+

Inherited from Primitive:

+
+

+

Public Methods

+oType getType() const +
+ovoid setMode(GLenum mode) +
+oGLenum getMode() const +

+ +

+

Public Members

+oenum Type +
+oenum Mode +

+ +

+

Protected Fields

+oType _primitiveType +
+oGLenum _mode +

+ +
+

Inherited from Object:

+
+

+

Public Methods

+oinline void setDataVariance(const DataVariance dv) +
+oinline const DataVariance getDataVariance() const +
+oinline void setUserData(Referenced* obj) +
+oinline Referenced* getUserData() +
+oinline const Referenced* getUserData() const +

+ +

+

Public Members

+oenum DataVariance +

+ +

+

Protected Fields

+oDataVariance _dataVariance +
+oref_ptr<Referenced> _userData +

+ +
+

Inherited from Referenced:

+
+

+

Public Methods

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

+ +

+

Protected Fields

+omutable int _refCount +

+ +
+

Inherited from VectorUInt:

+
+
+ + +
+

Documentation

+
+ + + +
o DrawElementsUInt(GLenum mode=0) +

+ + +

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

+ + +

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

+ + +

o DrawElementsUInt(GLenum mode, unsigned int no) +

+ + +

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

+ + +

ovirtual Object* cloneType() const +

+ + +

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

+ + +

ovirtual bool isSameKindAs(const Object* obj) const +

+ + +

ovirtual const char* libraryName() const +

+ + +

ovirtual const char* className() const +

+ + +

ovirtual void draw() const +

+ + +

ovirtual void accept(Drawable::PrimitiveFunctor& functor) +

+ + +

ovirtual void offsetIndices(int offset) +

+ +
This class has no child classes.
+ +

Alphabetic index HTML hierarchy of classes or Java


+
+This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/DrawElementsUShort.html b/doc/doc++/osg/DrawElementsUShort.html new file mode 100644 index 000000000..8bf3034ac --- /dev/null +++ b/doc/doc++/osg/DrawElementsUShort.html @@ -0,0 +1,196 @@ + + + + + class SG_EXPORT osg::DrawElementsUShort + + + + +

class SG_EXPORT osg::DrawElementsUShort


+ +

Inheritance:

+ + + + + + + +
+ +
+

+

Public Methods

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

+ +
+

Inherited from Primitive:

+
+

+

Public Methods

+oType getType() const +
+ovoid setMode(GLenum mode) +
+oGLenum getMode() const +

+ +

+

Public Members

+oenum Type +
+oenum Mode +

+ +

+

Protected Fields

+oType _primitiveType +
+oGLenum _mode +

+ +
+

Inherited from Object:

+
+

+

Public Methods

+oinline void setDataVariance(const DataVariance dv) +
+oinline const DataVariance getDataVariance() const +
+oinline void setUserData(Referenced* obj) +
+oinline Referenced* getUserData() +
+oinline const Referenced* getUserData() const +

+ +

+

Public Members

+oenum DataVariance +

+ +

+

Protected Fields

+oDataVariance _dataVariance +
+oref_ptr<Referenced> _userData +

+ +
+

Inherited from Referenced:

+
+

+

Public Methods

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

+ +

+

Protected Fields

+omutable int _refCount +

+ +
+

Inherited from VectorUShort:

+
+
+ + +
+

Documentation

+
+ + + +
o DrawElementsUShort(GLenum mode=0) +

+ + +

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

+ + +

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

+ + +

o DrawElementsUShort(GLenum mode, unsigned int no) +

+ + +

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

+ + +

ovirtual Object* cloneType() const +

+ + +

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

+ + +

ovirtual bool isSameKindAs(const Object* obj) const +

+ + +

ovirtual const char* libraryName() const +

+ + +

ovirtual const char* className() const +

+ + +

ovirtual void draw() const +

+ + +

ovirtual void accept(Drawable::PrimitiveFunctor& functor) +

+ + +

ovirtual void offsetIndices(int offset) +

+ +
This class has no child classes.
+ +

Alphabetic index HTML hierarchy of classes or Java


+
+This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/DrawPixels.html b/doc/doc++/osg/DrawPixels.html index a2661e79b..e6d5e1504 100644 --- a/doc/doc++/osg/DrawPixels.html +++ b/doc/doc++/osg/DrawPixels.html @@ -146,13 +146,9 @@
ostatic void flushDeletedDisplayLists(uint contextID)
-ovirtual bool getStats(Statistics&) +ovirtual void accept(AttributeFunctor&)
-ovirtual AttributeBitMask suppportsAttributeOperation() const -
-ovirtual AttributeBitMask applyAttributeOperation(AttributeFunctor&) -
-ovirtual void applyPrimitiveOperation(PrimitiveFunctor&) +ovirtual void accept(PrimitiveFunctor&)
oinline void draw(State& state)

@@ -167,7 +163,7 @@
ostruct DrawCallback: public osg::Referenced
-otypedef uint AttributeBitMaskenum AttributeBitMaskValues +oenum AttributeType
class AttributeFunctor
@@ -217,6 +213,12 @@ class PrimitiveFunctor oinline void setDataVariance(const DataVariance dv)
oinline const DataVariance getDataVariance() const +
+oinline void setUserData(Referenced* obj) +
+oinline Referenced* getUserData() +
+oinline const Referenced* getUserData() const

@@ -227,6 +229,8 @@ class PrimitiveFunctor

Protected Fields

oDataVariance _dataVariance +
+oref_ptr<Referenced> _userData

diff --git a/doc/doc++/osg/Drawable.html b/doc/doc++/osg/Drawable.html index 4ea1bde13..86b11142f 100644 --- a/doc/doc++/osg/Drawable.html +++ b/doc/doc++/osg/Drawable.html @@ -118,19 +118,13 @@ [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&) -
Collect Stistics count from Drawable +[more]virtual void accept(AttributeFunctor&) +
accept an AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has
-[more]virtual AttributeBitMask suppportsAttributeOperation() const -
return the attributes supported by applyAttrbuteOperation() as an AttributeBitMask +[more]virtual void accept(PrimitiveFunctor&) +
accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has
-[more]virtual AttributeBitMask applyAttributeOperation(AttributeFunctor&) -
return the attributes successully applied in applyAttributeUpdate -
-[more]virtual void applyPrimitiveOperation(PrimitiveFunctor&) -
apply the internal geometry as basic primitives to a PrimitiveFunctor -
-[more]inline void draw(State& state) +[more]inline void draw(State& state)
draw OpenGL primitives.

@@ -146,7 +140,7 @@ [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 +[more]enum AttributeType
class AttributeFunctor
@@ -155,44 +149,44 @@ class PrimitiveFunctor

Protected Fields

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

Protected Methods

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

Protected Members

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

@@ -207,6 +201,12 @@ class PrimitiveFunctor oinline void setDataVariance(const DataVariance dv)
oinline const DataVariance getDataVariance() const +
+oinline void setUserData(Referenced* obj) +
+oinline Referenced* getUserData() +
+oinline const Referenced* getUserData() const

@@ -217,6 +217,8 @@ class PrimitiveFunctor

Protected Fields

oDataVariance _dataVariance +
+oref_ptr<Referenced> _userData

@@ -247,20 +249,7 @@ class PrimitiveFunctor directly, these are provided by subclasses such as osg::Geometry. State attributes for a Drawable are maintained in StateSet which the Drawable maintains a referenced counted pointer to. Both Drawable's and StateSet's can -be shared for optimal memory usage and graphics performance. - -

Subclasses should provide an instance of getStats(Statistics *st) if the subclass -contains drawing primitives. This member function should add the primitives it -draws into the Statistics class; for example add the number of quads, triangles etc -created. For an example see Geometry.cpp: -getStats(osgUtil::Statistics *stat). -Failure to implement this routine will only result in the stats displayed for -your drawable being wrong. -Another example is in the InfinitePlane class- this draws a normal geoset AND -its own special set of quads, so this case of getPrims calls: -the normal geoset stats gs->getStats(..), and then adds the number of quads -rendered directly (it is rendered in a display list, but we do know how many -quads are in the display list). +be shared for optimal memory usage and graphics performance.

@@ -496,132 +485,138 @@ by 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 +
oenum AttributeType

- - -
o COORDS + + +
o VERTICES

- +

o NORMALS

- +

o COLORS

- +

o TEXTURE_COORDS

- +

o TEXTURE_COORDS_0

- +

o TEXTURE_COORDS_1

- +

o TEXTURE_COORDS_2

- +

o TEXTURE_COORDS_3 +

+ + +

o TEXTURE_COORDS_4 +

+ + +

o TEXTURE_COORDS_5 +

+ + +

o TEXTURE_COORDS_6 +

+ + +

o TEXTURE_COORDS_7

- - -
ovirtual AttributeBitMask suppportsAttributeOperation() const -
return the attributes supported by applyAttrbuteOperation() as an AttributeBitMask + + +
ovirtual void accept(AttributeFunctor&) +
accept an AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has

- + -

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

- - -

ovirtual void applyPrimitiveOperation(PrimitiveFunctor&) -
apply the internal geometry as basic primitives to a PrimitiveFunctor +
ovirtual void accept(PrimitiveFunctor&) +
accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has

- +

oDrawable& operator = (const Drawable&)

- +

ovirtual ~Drawable()

- +

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

- +

oref_ptr<DrawCallback> _drawCallback

- +

oref_ptr<CullCallback> _cullCallback

- +

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

- +

oinline void draw(State& state)
draw OpenGL primitives. If the drawable has _useDisplayList set to true then use an OpenGL display diff --git a/doc/doc++/osg/Fog.html b/doc/doc++/osg/Fog.html index 97b97ce5f..0c1e7ed42 100644 --- a/doc/doc++/osg/Fog.html +++ b/doc/doc++/osg/Fog.html @@ -132,6 +132,12 @@ oinline void setDataVariance(const DataVariance dv)
oinline const DataVariance getDataVariance() const +
+oinline void setUserData(Referenced* obj) +
+oinline Referenced* getUserData() +
+oinline const Referenced* getUserData() const

@@ -142,6 +148,8 @@

Protected Fields

oDataVariance _dataVariance +
+oref_ptr<Referenced> _userData

diff --git a/doc/doc++/osg/FrontFace.html b/doc/doc++/osg/FrontFace.html index 273c1bd8e..09ddb2475 100644 --- a/doc/doc++/osg/FrontFace.html +++ b/doc/doc++/osg/FrontFace.html @@ -108,6 +108,12 @@ oinline void setDataVariance(const DataVariance dv)
oinline const DataVariance getDataVariance() const +
+oinline void setUserData(Referenced* obj) +
+oinline Referenced* getUserData() +
+oinline const Referenced* getUserData() const

@@ -118,6 +124,8 @@

Protected Fields

oDataVariance _dataVariance +
+oref_ptr<Referenced> _userData

diff --git a/doc/doc++/osg/GeoSet.html b/doc/doc++/osg/GeoSet.html index 4e1e55104..cc162f85e 100644 --- a/doc/doc++/osg/GeoSet.html +++ b/doc/doc++/osg/GeoSet.html @@ -233,19 +233,13 @@ [more]const AttributeDeleteFunctor* getAttributeDeleteFunctor() const
get the current AttributeDeleteFunction to handle attribute arrays attached to this Geoset
-[more]bool getStats(Statistics &) -
Statistics collection for each drawable- 260901 +[more]virtual void accept(AttributeFunctor& af) +
accept an AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has
-[more]virtual AttributeBitMask suppportsAttributeOperation() const -
return the attributes supported by applyAttrbuteUpdate() as an AttributeBitMask +[more]virtual void accept(PrimitiveFunctor& pf) +
accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has
-[more]virtual AttributeBitMask applyAttributeOperation(AttributeFunctor& auf) -
return the attributes successully applied in applyAttributeUpdate -
-[more]virtual void applyPrimitiveOperation(PrimitiveFunctor& functor) -
apply the internal geometry as basic primitives to a PrimitiveFunctor -
-[more]Geometry* convertToGeometry() +[more]Geometry* convertToGeometry()
convinience function for converting GeoSet's to equivilant Geometry nodes

@@ -265,76 +259,76 @@

Protected Fields

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

Protected Methods

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

@@ -409,7 +403,7 @@
ostruct DrawCallback: public osg::Referenced
-otypedef uint AttributeBitMaskenum AttributeBitMaskValues +oenum AttributeType
class AttributeFunctor
@@ -459,6 +453,12 @@ class PrimitiveFunctor oinline void setDataVariance(const DataVariance dv)
oinline const DataVariance getDataVariance() const +
+oinline void setUserData(Referenced* obj) +
+oinline Referenced* getUserData() +
+oinline const Referenced* getUserData() const

@@ -469,6 +469,8 @@ class PrimitiveFunctor

Protected Fields

oDataVariance _dataVariance +
+oref_ptr<Referenced> _userData

@@ -1110,165 +1112,155 @@ a specify your own memory deletion operation.
oconst AttributeDeleteFunctor* getAttributeDeleteFunctor() const
get the current AttributeDeleteFunction to handle attribute arrays attached to this Geoset

- + -

obool getStats(Statistics &) -
Statistics collection for each drawable- 260901 +
ovirtual void accept(AttributeFunctor& af) +
accept an AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has

- + -

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

- - -

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

- - -

ovirtual void applyPrimitiveOperation(PrimitiveFunctor& functor) -
apply the internal geometry as basic primitives to a PrimitiveFunctor +
ovirtual void accept(PrimitiveFunctor& pf) +
accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has

- +

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

- +

oGeoSet& operator = (const GeoSet&)

- +

ovirtual ~GeoSet()

- +

ovirtual const bool computeBound() const

- +

oref_ptr<AttributeDeleteFunctor> _adf

- +

oint _numprims

- +

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

- +

oBindingType _normal_binding

- +

omutable int _numnormals

- +

oVec3* _normals

- +

oIndexPointer _nindex

- +

oBindingType _color_binding

- +

omutable int _numcolors

- +

oVec4* _colors

- +

oIndexPointer _colindex

- +

oBindingType _texture_binding

- +

omutable int _numtcoords

- +

oVec2* _tcoords

- +

oIndexPointer _tindex

- +

ovoid* _iarray

- +

oIndexPointer _iaindex

- +

oInterleaveArrayType _iaformat

- +

ounsigned int _ogliaformat

- +

oint _fast_path

- +

ovoid set_fast_path( void )

- +

ovoid draw_fast_path( State& state )

- +

ovoid draw_alternate_path( State& state )

diff --git a/doc/doc++/osg/Geode.html b/doc/doc++/osg/Geode.html index dbd406840..f10e2a08e 100644 --- a/doc/doc++/osg/Geode.html +++ b/doc/doc++/osg/Geode.html @@ -39,13 +39,13 @@ [more]virtual const bool replaceDrawable( Drawable* origDraw, Drawable* newDraw )

Replace specified Drawable with another Drawable.
-[more]inline const int getNumDrawables() const +[more]inline const unsigned int getNumDrawables() const
return the number of geoset's
-[more]inline Drawable* getDrawable( const int i ) +[more]inline Drawable* getDrawable( const unsigned int i )
return geoset at position i
-[more]inline const Drawable* getDrawable( const int i ) const +[more]inline const Drawable* getDrawable( const unsigned int i ) const
return geoset at position i
[more]inline const bool containsDrawable(const Drawable* gset) const @@ -126,17 +126,17 @@ not remove origGset.

-

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

-

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

-

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

diff --git a/doc/doc++/osg/Geometry.html b/doc/doc++/osg/Geometry.html new file mode 100644 index 000000000..1c99f5680 --- /dev/null +++ b/doc/doc++/osg/Geometry.html @@ -0,0 +1,514 @@ + + + + + class SG_EXPORT osg::Geometry + + + + +

class SG_EXPORT osg::Geometry


+ +

Inheritance:

+ + + + + + + +
+ +
+

+

Public Methods

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

+ +

+

Public Members

+[more]enum AttributeBinding +

+ +

+

Protected Fields

+[more]PrimitiveList _primitives +
+[more]ref_ptr<Vec3Array> _vertexArray +
+[more]AttributeBinding _normalBinding +
+[more]ref_ptr<Vec3Array> _normalArray +
+[more]AttributeBinding _colorBinding +
+[more]ref_ptr<Array> _colorArray +
+[more]TexCoordArrayList _texCoordList +

+ +

+

Protected Methods

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

+ +
+

Inherited from Drawable:

+
+

+

Public Methods

+oinline const ParentList& getParents() const +
+oinline ParentList getParents() +
+oinline Node* getParent(const unsigned int i) +
+oinline const Node* getParent(const unsigned int i) const +
+oinline const unsigned int getNumParents() const +
+oinline void setStateSet(StateSet* state) +
+oinline StateSet* getStateSet() +
+oinline const StateSet* getStateSet() const +
+ovoid setSupportsDisplayList(const bool flag) +
+oinline const bool getSupportsDisplayList() const +
+ovoid setUseDisplayList(const bool flag) +
+oinline const bool getUseDisplayList() const +
+ovoid dirtyDisplayList() +
+ovoid dirtyBound() +
+oinline const BoundingBox& getBound() const +
+ovoid compile(State& state) +
+ovoid setAppCallback(AppCallback* ac) +
+oAppCallback* getAppCallback() +
+oconst AppCallback* getAppCallback() const +
+ovoid setCullCallback(CullCallback* cc) +
+oCullCallback* getCullCallback() +
+oconst CullCallback* getCullCallback() const +
+ovoid setDrawCallback(DrawCallback* dc) +
+oDrawCallback* getDrawCallback() +
+oconst DrawCallback* getDrawCallback() const +
+ostatic void deleteDisplayList(uint contextID, uint globj) +
+ostatic void flushDeletedDisplayLists(uint contextID) +
+oinline void draw(State& state) +

+ +

+

Public Members

+otypedef std::vector<Node*> ParentList +
+ostruct AppCallback: public osg::Referenced +
+ostruct CullCallback: public osg::Referenced +
+ostruct DrawCallback: public osg::Referenced +
+oenum AttributeType +
+class AttributeFunctor +
+class PrimitiveFunctor +

+ +

+

Protected Fields

+oParentList _parents +
+oref_ptr<StateSet> _dstate +
+obool _supportsDisplayList +
+obool _useDisplayList +
+omutable BoundingBox _bbox +
+omutable bool _bbox_computed +
+oref_ptr<AppCallback> _appCallback +
+oref_ptr<DrawCallback> _drawCallback +
+oref_ptr<CullCallback> _cullCallback +

+ +

+

Protected Methods

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

+ +

+

Protected Members

+otypedef std::vector<uint> GLObjectList mutable GLObjectList _globjList +
+otypedef std::map<uint,std::set<uint> >static DeletedDisplayListCache DeletedDisplayListCache s_deletedDisplayListCache +

+ +
+

Inherited from Object:

+
+

+

Public Methods

+oinline void setDataVariance(const DataVariance dv) +
+oinline const DataVariance getDataVariance() const +
+oinline void setUserData(Referenced* obj) +
+oinline Referenced* getUserData() +
+oinline const Referenced* getUserData() const +

+ +

+

Public Members

+oenum DataVariance +

+ +

+

Protected Fields

+oDataVariance _dataVariance +
+oref_ptr<Referenced> _userData +

+ +
+

Inherited from Referenced:

+
+

+

Public Methods

+oinline void ref() const +
+oinline void unref() const +
+oinline void unref_nodelete() const +
+oinline const int referenceCount() const +

+ +

+

Protected Fields

+omutable int _refCount +

+ +
+ + +
+

Documentation

+
+ + + +
o Geometry() +

+ + +

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

+ + +

ovirtual Object* cloneType() const +

+ + +

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

+ + +

ovirtual bool isSameKindAs(const Object* obj) const +

+ + +

ovirtual const char* libraryName() const +

+ + +

ovirtual const char* className() const +

+ + +

oenum AttributeBinding +

+ + + +
o BIND_OFF +

+ + +

o BIND_OVERALL +

+ + +

o BIND_PER_PRIMITIVE +

+ + +

o BIND_PER_VERTEX +

+ + + +
ovoid setVertexArray(Vec3Array* array) +

+ + +

oVec3Array* getVertexArray() +

+ + +

oconst Vec3Array* getVertexArray() const +

+ + +

ovoid setNormalBinding(AttributeBinding ab) +

+ + +

oAttributeBinding getNormalBinding() const +

+ + +

ovoid setNormalArray(Vec3Array* array) +

+ + +

oVec3Array* getNormalArray() +

+ + +

oconst Vec3Array* getNormalArray() const +

+ + +

ovoid setColorBinding(AttributeBinding ab) +

+ + +

oAttributeBinding getColorBinding() const +

+ + +

ovoid setColorArray(Array* array) +

+ + +

oArray* getColorArray() +

+ + +

oconst Array* getColorArray() const +

+ + +

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

+ + +

oArray* getTexCoordArray(unsigned int unit) +

+ + +

oconst Array* getTexCoordArray(unsigned int unit) const +

+ + +

ounsigned int getNumTexCoordArrays() const +

+ + +

oTexCoordArrayList& getTexCoordArrayList() +

+ + +

oconst TexCoordArrayList& getTexCoordArrayList() const +

+ + +

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

+ + +

oPrimitiveList& getPrimitiveList() +

+ + +

oconst PrimitiveList& getPrimitiveList() const +

+ + +

ovoid addPrimitive(Primitive* primitive) +

+ + +

obool verifyBindings() const +

+ + +

ovoid computeCorrectBindingsAndArraySizes() +

+ + +

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

+ + +

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

+ + +

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

+ + +

oGeometry& operator = (const Geometry&) +

+ + +

ovirtual ~Geometry() +

+ + +

ovirtual const bool computeBound() const +

+ + +

oPrimitiveList _primitives +

+ + +

oref_ptr<Vec3Array> _vertexArray +

+ + +

oAttributeBinding _normalBinding +

+ + +

oref_ptr<Vec3Array> _normalArray +

+ + +

oAttributeBinding _colorBinding +

+ + +

oref_ptr<Array> _colorArray +

+ + +

oTexCoordArrayList _texCoordList +

+ +
This class has no child classes.
+ +

Alphabetic index HTML hierarchy of classes or Java


+
+This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/HIER.html b/doc/doc++/osg/HIER.html index fb276d602..124133f2b 100644 --- a/doc/doc++/osg/HIER.html +++ b/doc/doc++/osg/HIER.html @@ -11,10 +11,7 @@
  • osg::AnimationPath
  • osg::ArrayVisitor -
  • osg::Drawable::AttributeFunctor - +
  • osg::Drawable::AttributeFunctor
  • osg::BoundingBox
  • osg::BoundingSphere
  • osg::ConvexPlanerPolygon @@ -47,7 +44,10 @@
  • osg::Plane
  • osg::Polytope -
  • osg::Drawable::PrimitiveFunctor +
  • osg::Drawable::PrimitiveFunctor +
  • osg::Quat
  • osg::Referenced
      diff --git a/doc/doc++/osg/HIERjava.html b/doc/doc++/osg/HIERjava.html index 436b5937a..3f3e67d95 100644 --- a/doc/doc++/osg/HIERjava.html +++ b/doc/doc++/osg/HIERjava.html @@ -57,20 +57,20 @@ - - - - - - - - + + + + + + + + diff --git a/doc/doc++/osg/Image.html b/doc/doc++/osg/Image.html index 4a8d030a5..e32f5aeb8 100644 --- a/doc/doc++/osg/Image.html +++ b/doc/doc++/osg/Image.html @@ -169,6 +169,12 @@ oinline void setDataVariance(const DataVariance dv)
      oinline const DataVariance getDataVariance() const +
      +oinline void setUserData(Referenced* obj) +
      +oinline Referenced* getUserData() +
      +oinline const Referenced* getUserData() const

      @@ -179,6 +185,8 @@

      Protected Fields

      oDataVariance _dataVariance +
      +oref_ptr<Referenced> _userData

      diff --git a/doc/doc++/osg/ImpostorSprite.html b/doc/doc++/osg/ImpostorSprite.html index ae782d50d..46bad7d51 100644 --- a/doc/doc++/osg/ImpostorSprite.html +++ b/doc/doc++/osg/ImpostorSprite.html @@ -92,45 +92,49 @@ [more]virtual void drawImmediateMode(State& state)
      draw ImpostorSprite directly.
      -[more]bool getStats(Statistics &stat) +[more]virtual void accept(AttributeFunctor& af) +
      accept an AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has +
      +[more]virtual void accept(PrimitiveFunctor& pf) +
      accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has

      Protected Fields

      -[more]Impostor* _parent +[more]Impostor* _parent
      -[more]ImpostorSpriteManager* _ism +[more]ImpostorSpriteManager* _ism
      -[more]ImpostorSprite* _previous +[more]ImpostorSprite* _previous
      -[more]ImpostorSprite* _next +[more]ImpostorSprite* _next
      -[more]int _lastFrameUsed +[more]int _lastFrameUsed
      -[more]Vec3 _storedLocalEyePoint +[more]Vec3 _storedLocalEyePoint
      -[more]Vec3 _coords[4] +[more]Vec3 _coords[4]
      -[more]Vec2 _texcoords[4] +[more]Vec2 _texcoords[4]
      -[more]Vec3 _controlcoords[4] +[more]Vec3 _controlcoords[4]
      -[more]Texture* _texture +[more]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

      @@ -188,12 +192,6 @@
      ostatic void flushDeletedDisplayLists(uint contextID)
      -ovirtual AttributeBitMask suppportsAttributeOperation() const -
      -ovirtual AttributeBitMask applyAttributeOperation(AttributeFunctor&) -
      -ovirtual void applyPrimitiveOperation(PrimitiveFunctor&) -
      oinline void draw(State& state)

      @@ -207,7 +205,7 @@
      ostruct DrawCallback: public osg::Referenced
      -otypedef uint AttributeBitMaskenum AttributeBitMaskValues +oenum AttributeType
      class AttributeFunctor
      @@ -257,6 +255,12 @@ class PrimitiveFunctor oinline void setDataVariance(const DataVariance dv)
      oinline const DataVariance getDataVariance() const +
      +oinline void setUserData(Referenced* obj) +
      +oinline Referenced* getUserData() +
      +oinline const Referenced* getUserData() const

      @@ -267,6 +271,8 @@ class PrimitiveFunctor

      Protected Fields

      oDataVariance _dataVariance +
      +oref_ptr<Referenced> _userData

      @@ -437,72 +443,78 @@ which transform local coords into screen space
      ovirtual void drawImmediateMode(State& state)
      draw ImpostorSprite directly.

      - + -

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

      + + +

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

      - -

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

      - +

      oImpostorSprite& operator = (const ImpostorSprite&)

      - +

      ovirtual ~ImpostorSprite()

      - +

      ovirtual const bool computeBound() const

      - +

      oImpostor* _parent

      - +

      oImpostorSpriteManager* _ism

      - +

      oImpostorSprite* _previous

      - +

      oImpostorSprite* _next

      - +

      oint _lastFrameUsed

      - +

      oVec3 _storedLocalEyePoint

      - +

      oVec3 _coords[4]

      - +

      oVec2 _texcoords[4]

      - +

      oVec3 _controlcoords[4]

      - +

      oTexture* _texture

      - +

      oint _s

      - +

      oint _t

      diff --git a/doc/doc++/osg/Light.html b/doc/doc++/osg/Light.html index d14359d0f..0d6db2e26 100644 --- a/doc/doc++/osg/Light.html +++ b/doc/doc++/osg/Light.html @@ -192,6 +192,12 @@ oinline void setDataVariance(const DataVariance dv)

      oinline const DataVariance getDataVariance() const +
      +oinline void setUserData(Referenced* obj) +
      +oinline Referenced* getUserData() +
      +oinline const Referenced* getUserData() const

      @@ -202,6 +208,8 @@

      Protected Fields

      oDataVariance _dataVariance +
      +oref_ptr<Referenced> _userData

      diff --git a/doc/doc++/osg/LightModel.html b/doc/doc++/osg/LightModel.html index 7a4f4e839..5f10a447d 100644 --- a/doc/doc++/osg/LightModel.html +++ b/doc/doc++/osg/LightModel.html @@ -125,6 +125,12 @@ oinline void setDataVariance(const DataVariance dv)
      oinline const DataVariance getDataVariance() const +
      +oinline void setUserData(Referenced* obj) +
      +oinline Referenced* getUserData() +
      +oinline const Referenced* getUserData() const

      @@ -135,6 +141,8 @@

      Protected Fields

      oDataVariance _dataVariance +
      +oref_ptr<Referenced> _userData

      diff --git a/doc/doc++/osg/LineStipple.html b/doc/doc++/osg/LineStipple.html index 24d68a618..4ac7417b5 100644 --- a/doc/doc++/osg/LineStipple.html +++ b/doc/doc++/osg/LineStipple.html @@ -108,6 +108,12 @@ oinline void setDataVariance(const DataVariance dv)
      oinline const DataVariance getDataVariance() const +
      +oinline void setUserData(Referenced* obj) +
      +oinline Referenced* getUserData() +
      +oinline const Referenced* getUserData() const

      @@ -118,6 +124,8 @@

      Protected Fields

      oDataVariance _dataVariance +
      +oref_ptr<Referenced> _userData

      diff --git a/doc/doc++/osg/LineWidth.html b/doc/doc++/osg/LineWidth.html index 1429187ec..d241a398b 100644 --- a/doc/doc++/osg/LineWidth.html +++ b/doc/doc++/osg/LineWidth.html @@ -103,6 +103,12 @@ oinline void setDataVariance(const DataVariance dv)
      oinline const DataVariance getDataVariance() const +
      +oinline void setUserData(Referenced* obj) +
      +oinline Referenced* getUserData() +
      +oinline const Referenced* getUserData() const

      @@ -113,6 +119,8 @@

      Protected Fields

      oDataVariance _dataVariance +
      +oref_ptr<Referenced> _userData

      diff --git a/doc/doc++/osg/Material.html b/doc/doc++/osg/Material.html index 6b7516223..c16083692 100644 --- a/doc/doc++/osg/Material.html +++ b/doc/doc++/osg/Material.html @@ -72,7 +72,7 @@
      Get the whether emission values are equal for front and back faces
      [more]void setShininess( const Face face, float shininess ) -
      Set shininess of specified face(s) of the material, valid shininess range is 00 to 10 +
      Set shininess of specified face(s) of the material, valid shininess range is 00 to 1280
      [more]const float getShininess(const Face face) const
      Get the shininess value for specified face @@ -185,6 +185,12 @@ oinline void setDataVariance(const DataVariance dv)
      oinline const DataVariance getDataVariance() const +
      +oinline void setUserData(Referenced* obj) +
      +oinline Referenced* getUserData() +
      +oinline const Referenced* getUserData() const

      @@ -195,6 +201,8 @@

      Protected Fields

      oDataVariance _dataVariance +
      +oref_ptr<Referenced> _userData

      @@ -367,7 +375,7 @@ valid emmison[03] range is 00 to 10
      ovoid setShininess( const Face face, float shininess ) -
      Set shininess of specified face(s) of the material, valid shininess range is 00 to 10 +
      Set shininess of specified face(s) of the material, valid shininess range is 00 to 1280

      diff --git a/doc/doc++/osg/Matrix.html b/doc/doc++/osg/Matrix.html index 97ee0f4c7..6f9d65665 100644 --- a/doc/doc++/osg/Matrix.html +++ b/doc/doc++/osg/Matrix.html @@ -227,6 +227,12 @@ oinline void setDataVariance(const DataVariance dv)

      oinline const DataVariance getDataVariance() const +
      +oinline void setUserData(Referenced* obj) +
      +oinline Referenced* getUserData() +
      +oinline const Referenced* getUserData() const

      @@ -237,6 +243,8 @@

      Protected Fields

      oDataVariance _dataVariance +
      +oref_ptr<Referenced> _userData

      diff --git a/doc/doc++/osg/MatrixTransform.html b/doc/doc++/osg/MatrixTransform.html new file mode 100644 index 000000000..df0c21c62 --- /dev/null +++ b/doc/doc++/osg/MatrixTransform.html @@ -0,0 +1,238 @@ + + + + + class SG_EXPORT osg::MatrixTransform + + + + +

      class SG_EXPORT osg::MatrixTransform

      Transform - is group which all children are transformed by the the Transform's osg::Matrix.
      +
      + +

      Inheritance:

      + + + + + + + +
      + +
      +

      +

      Public Methods

      +[more] MatrixTransform() +
      +[more] MatrixTransform(const MatrixTransform&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
      Copy constructor using CopyOp to manage deep vs shallow copy +
      +[more] MatrixTransform(const Matrix& matix) +
      +[more] META_Node(osg, MatrixTransform) +
      +[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 +
      +[more]virtual const bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor*) const +
      +[more]virtual const bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor*) const +

      + +

      +

      Protected Fields

      +[more]ref_ptr<Matrix> _matrix +
      +[more]mutable ref_ptr<Matrix> _inverse +
      +[more]mutable bool _inverseDirty +

      + +

      +

      Protected Methods

      +[more]virtual ~MatrixTransform() +
      +[more]inline void computeInverse() const +

      + +
      +

      Inherited from Transform:

      +
      +

      +

      Public Methods

      +ovoid setReferenceFrame(ReferenceFrame rf) +
      +oconst ReferenceFrame getReferenceFrame() const +
      +ovoid setComputeTransformCallback(ComputeTransformCallback* ctc) +
      +oComputeTransformCallback* getComputeTransformCallback() +
      +oconst ComputeTransformCallback* getComputeTransformCallback() const +
      +oinline const bool getLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const +
      +oinline const bool getWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const +

      + +

      +

      Public Members

      +oenum ReferenceFrame +
      +ostruct ComputeTransformCallback: public osg::Referenced +

      + +

      +

      Protected Fields

      +oref_ptr<ComputeTransformCallback> _computeTransformCallback +
      +oReferenceFrame _referenceFrame +
      +oref_ptr<Matrix> _deprecated_matrix +
      +omutable ref_ptr<Matrix> _deprecated_inverse +
      +omutable bool _deprecated_inverseDirty +

      + +

      +

      Protected Methods

      +ovirtual const bool computeBound() const +

      + +
      +

      Inherited from Group:

      +
      +

      +

      Public Methods

      +ovirtual void traverse(NodeVisitor& nv) +
      +ovirtual bool addChild( Node* child ) +
      +ovirtual bool removeChild( Node* child ) +
      +ovirtual bool replaceChild( Node* origChild, Node* newChild ) +
      +oinline const unsigned int getNumChildren() const +
      +oinline Node* getChild( const unsigned int i ) +
      +oinline const Node* getChild( const unsigned int i ) const +
      +oinline bool containsNode( const Node* node ) const +
      +oinline ChildList::iterator findNode( const Node* node ) +
      +oinline ChildList::const_iterator findNode( const Node* node ) const +

      + +

      +

      Protected Fields

      +oChildList _children +

      + +
      + + +
      +

      Documentation

      +
      Transform - is group which all children are transformed by the the Transform's osg::Matrix. +Typical uses +of the Transform is for positioning objects within a scene or +producing trackball functionality or for animation. +The Transform node can be customized via the ComputeTransfromCallback which can be +attached to the node, this might be used to convert internal representations of the transformation +into generic osg::Matrix'c which are used during scene grpah traversal, such as CullTraversal and IntersectionTraversal. +Note, if the transformation matrix scales the subgraph then the +normals of the underlying geometry will need to be renormalized to +be unit vectors once more. One can done transparently through OpenGL's +use of either GL_NORMALIZE and GL_SCALE_NORMALIZE modes. Further +background reading see the glNormalize documentation in the OpenGL Reference +Guide (the blue book). To enable it in the OSG, you simple need to +attach a local osg::StateSet to the osg::Transform, and set the appropriate +mode to on via stateset->setMode(GL_NORMALIZE,osg::StateAttribute::ON);.
      +
      + + + +
      o MatrixTransform() +

      + + +

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

      + + +

      o MatrixTransform(const Matrix& matix) +

      + + +

      o META_Node(osg, MatrixTransform) +

      + + +

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

      + + +

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

      + + +

      ovoid preMult(const Matrix& mat) +
      preMult transform +

      + + +

      ovoid postMult(const Matrix& mat) +
      postMult transform +

      + + +

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

      + + +

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

      + + +

      ovirtual ~MatrixTransform() +

      + + +

      oinline void computeInverse() const +

      + + +

      oref_ptr<Matrix> _matrix +

      + + +

      omutable ref_ptr<Matrix> _inverse +

      + + +

      omutable bool _inverseDirty +

      + +
      This class has no child classes.
      + +

      Alphabetic index HTML hierarchy of classes or Java


      +
      +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/Object.html b/doc/doc++/osg/Object.html index b5e722f85..4224e235d 100644 --- a/doc/doc++/osg/Object.html +++ b/doc/doc++/osg/Object.html @@ -48,6 +48,15 @@
      [more]inline const DataVariance getDataVariance() const
      Get the data variance of this object +
      +[more]inline void setUserData(Referenced* obj) +
      Set user data, data must be subclased from Referenced to allow automatic memory handling. +
      +[more]inline Referenced* getUserData() +
      Get user data +
      +[more]inline const Referenced* getUserData() const +
      Get const user data

      @@ -57,12 +66,14 @@

      Protected Fields

      -[more]DataVariance _dataVariance +[more]DataVariance _dataVariance +
      +[more]ref_ptr<Referenced> _userData

      Protected Methods

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

      @@ -167,8 +178,27 @@ can be used be routines such as optimzation codes that wish to share static data
      oinline const DataVariance getDataVariance() const
      Get the data variance of this object

      - + +

      oinline void setUserData(Referenced* obj) +
      +Set user data, data must be subclased from Referenced to allow +automatic memory handling. If you own data isn't directly +subclassed from Referenced then create and adapter object +which points to your own objects and handles the memory addressing. +

      + + +

      oinline Referenced* getUserData() +
      Get user data +

      + + +

      oinline const Referenced* getUserData() const +
      Get const user data +

      + +

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

      - +

      oDataVariance _dataVariance +

      + + +

      oref_ptr<Referenced> _userData


      Direct child classes: diff --git a/doc/doc++/osg/OccluderNode.html b/doc/doc++/osg/OccluderNode.html new file mode 100644 index 000000000..140ce79b5 --- /dev/null +++ b/doc/doc++/osg/OccluderNode.html @@ -0,0 +1,146 @@ + + + + + class SG_EXPORT osg::OccluderNode + + + + +

      class SG_EXPORT osg::OccluderNode

      OccluderNode is a Group node which allows OccluderNodeing between children.
      +
      + +

      Inheritance:

      + + + + + + + +
      + +
      +

      +

      Public Methods

      +[more] OccluderNode() +
      +[more] OccluderNode(const OccluderNode&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
      Copy constructor using CopyOp to manage deep vs shallow copy +
      +[more] META_Node(osg, OccluderNode) +
      +[more]void setOccluder(ConvexPlanerOccluder* occluder) +
      Attach a ConvexPlanerOccluder to an OccluderNode +
      +[more]ConvexPlanerOccluder* getOccluder() +
      Get the ConvexPlanerOccluder* attached to a OccluderNode. +
      +[more]const ConvexPlanerOccluder* getOccluder() const +
      Get the const ConvexPlanerOccluder* attached to a OccluderNode +

      + +

      +

      Protected Fields

      +[more]ref_ptr<ConvexPlanerOccluder> _occluder +

      + +

      +

      Protected Methods

      +[more]virtual ~OccluderNode() +
      +[more]virtual const bool computeBound() const +
      Override's Group's computeBound +

      + +
      +

      Inherited from Group:

      +
      +

      +

      Public Methods

      +ovirtual void traverse(NodeVisitor& nv) +
      +ovirtual bool addChild( Node* child ) +
      +ovirtual bool removeChild( Node* child ) +
      +ovirtual bool replaceChild( Node* origChild, Node* newChild ) +
      +oinline const unsigned int getNumChildren() const +
      +oinline Node* getChild( const unsigned int i ) +
      +oinline const Node* getChild( const unsigned int i ) const +
      +oinline bool containsNode( const Node* node ) const +
      +oinline ChildList::iterator findNode( const Node* node ) +
      +oinline ChildList::const_iterator findNode( const Node* node ) const +

      + +

      +

      Protected Fields

      +oChildList _children +

      + +
      + + +
      +

      Documentation

      +
      OccluderNode is a Group node which allows OccluderNodeing between children. +Typical uses would be for objects which might need to be rendered +differently at different times, for instance a OccluderNode could be used +to represent the different states of a traffic light.
      +
      + + + +
      o OccluderNode() +

      + + +

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

      + + +

      o META_Node(osg, OccluderNode) +

      + + +

      ovoid setOccluder(ConvexPlanerOccluder* occluder) +
      Attach a ConvexPlanerOccluder to an OccluderNode +

      + + +

      oConvexPlanerOccluder* getOccluder() +
      Get the ConvexPlanerOccluder* attached to a OccluderNode. +

      + + +

      oconst ConvexPlanerOccluder* getOccluder() const +
      Get the const ConvexPlanerOccluder* attached to a OccluderNode +

      + + +

      ovirtual ~OccluderNode() +

      + + +

      ovirtual const bool computeBound() const +
      Override's Group's computeBound +

      + + +

      oref_ptr<ConvexPlanerOccluder> _occluder +

      + +
      This class has no child classes.
      + +

      Alphabetic index HTML hierarchy of classes or Java


      +
      +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/Point.html b/doc/doc++/osg/Point.html index 6e0f0e077..93c83d476 100644 --- a/doc/doc++/osg/Point.html +++ b/doc/doc++/osg/Point.html @@ -117,6 +117,12 @@ oinline void setDataVariance(const DataVariance dv)
      oinline const DataVariance getDataVariance() const +
      +oinline void setUserData(Referenced* obj) +
      +oinline Referenced* getUserData() +
      +oinline const Referenced* getUserData() const

      @@ -127,6 +133,8 @@

      Protected Fields

      oDataVariance _dataVariance +
      +oref_ptr<Referenced> _userData

      diff --git a/doc/doc++/osg/PolygonMode.html b/doc/doc++/osg/PolygonMode.html index d6f0684fb..d10143f58 100644 --- a/doc/doc++/osg/PolygonMode.html +++ b/doc/doc++/osg/PolygonMode.html @@ -116,6 +116,12 @@ oinline void setDataVariance(const DataVariance dv)
      oinline const DataVariance getDataVariance() const +
      +oinline void setUserData(Referenced* obj) +
      +oinline Referenced* getUserData() +
      +oinline const Referenced* getUserData() const

      @@ -126,6 +132,8 @@

      Protected Fields

      oDataVariance _dataVariance +
      +oref_ptr<Referenced> _userData

      diff --git a/doc/doc++/osg/PolygonOffset.html b/doc/doc++/osg/PolygonOffset.html index bd0ad92b0..8b1e4a0bd 100644 --- a/doc/doc++/osg/PolygonOffset.html +++ b/doc/doc++/osg/PolygonOffset.html @@ -109,6 +109,12 @@ oinline void setDataVariance(const DataVariance dv)
      oinline const DataVariance getDataVariance() const +
      +oinline void setUserData(Referenced* obj) +
      +oinline Referenced* getUserData() +
      +oinline const Referenced* getUserData() const

      @@ -119,6 +125,8 @@

      Protected Fields

      oDataVariance _dataVariance +
      +oref_ptr<Referenced> _userData

      diff --git a/doc/doc++/osg/Polytope.html b/doc/doc++/osg/Polytope.html new file mode 100644 index 000000000..a674dd483 --- /dev/null +++ b/doc/doc++/osg/Polytope.html @@ -0,0 +1,294 @@ + + + + + class SG_EXPORT osg::Polytope + + + + +

      class SG_EXPORT osg::Polytope

      A Polytope class for representing convex clipping volumes made up.
      +
      + +
      +

      +

      Public Methods

      +[more]typedef fast_back_stack<ClippingMask>inline MaskStack Polytope() +
      +[more]inline Polytope(const Polytope& cv) +
      +[more]inline Polytope(const PlaneList& pl) +
      +[more]inline ~Polytope() +
      +[more]inline void clear() +
      +[more]inline Polytope& operator = (const Polytope& cv) +
      +[more]void setToUnitFrustum(bool withNear=true, bool withFar=true) +
      Create a Polytope with is cube, centered at 0,0,0, with sides of 2 units +
      +[more]inline void set(const PlaneList& pl) +
      +[more]inline void add(const osg::Plane& pl) +
      +[more]inline void flip() +
      flip/reverse the orientation of all the planes +
      +[more]inline PlaneList& getPlaneList() +
      +[more]inline const PlaneList& getPlaneList() const +
      +[more]inline void setReferenceVertexList(VertexList& vertices) +
      +[more]inline VertexList& getReferenceVertexList() +
      +[more]inline const VertexList& getReferenceVertexList() const +
      +[more]inline void setupMask() +
      +[more]inline ClippingMask& getCurrentMask() +
      +[more]inline ClippingMask getCurrentMask() const +
      +[more]inline void setResultMask(ClippingMask mask) +
      +[more]inline ClippingMask getResultMask() const +
      +[more]MaskStack& getMaskStack() +
      +[more]const MaskStack& getMaskStack() const +
      +[more]inline void pushCurrentMask() +
      +[more]inline void popCurrentMask() +
      +[more]inline const bool contains(const osg::Vec3& v) const +
      Check whether a vertex is contained with clipping set +
      +[more]inline const bool contains(const std::vector<Vec3>& vertices) +
      Check whether any part of vertex list is contained with clipping set +
      +[more]inline const bool contains(const osg::BoundingSphere& bs) +
      Check whether any part of a bounding sphere is contained within clipping set. +
      +[more]inline const bool contains(const osg::BoundingBox& bb) +
      Check whether any part of a bounding box is contained within clipping set. +
      +[more]inline const bool containsAllOf(const std::vector<Vec3>& vertices) +
      Check whether all of vertex list is contained with clipping set +
      +[more]inline const bool containsAllOf(const osg::BoundingSphere& bs) +
      Check whether the entire bounding sphere is contained within clipping set +
      +[more]inline const bool containsAllOf(const osg::BoundingBox& bb) +
      Check whether the entire bounding box is contained within clipping set +
      +[more]inline void transform(const osg::Matrix& matrix) +
      Transform the clipping set by matrix. +
      +[more]inline void transformProvidingInverse(const osg::Matrix& matrix) +
      Transform the clipping set by provide a pre inverted matrix. +

      + +

      +

      Protected Fields

      +[more]MaskStack _maskStack +
      +[more]ClippingMask _resultMask +
      +[more]PlaneList _planeList +
      +[more]VertexList _referenceVertexList +

      + +
      + + +
      +

      Documentation

      +
      A Polytope class for representing convex clipping volumes made up. +When adding planes, their normals should point inwards (into the volume)
      +
      + + + +
      otypedef fast_back_stack<ClippingMask>inline MaskStack Polytope() +

      + + +

      oinline Polytope(const Polytope& cv) +

      + + +

      oinline Polytope(const PlaneList& pl) +

      + + +

      oinline ~Polytope() +

      + + +

      oinline void clear() +

      + + +

      oinline Polytope& operator = (const Polytope& cv) +

      + + +

      ovoid setToUnitFrustum(bool withNear=true, bool withFar=true) +
      Create a Polytope with is cube, centered at 0,0,0, with sides of 2 units +

      + + +

      oinline void set(const PlaneList& pl) +

      + + +

      oinline void add(const osg::Plane& pl) +

      + + +

      oinline void flip() +
      flip/reverse the orientation of all the planes +

      + + +

      oinline PlaneList& getPlaneList() +

      + + +

      oinline const PlaneList& getPlaneList() const +

      + + +

      oinline void setReferenceVertexList(VertexList& vertices) +

      + + +

      oinline VertexList& getReferenceVertexList() +

      + + +

      oinline const VertexList& getReferenceVertexList() const +

      + + +

      oinline void setupMask() +

      + + +

      oinline ClippingMask& getCurrentMask() +

      + + +

      oinline ClippingMask getCurrentMask() const +

      + + +

      oinline void setResultMask(ClippingMask mask) +

      + + +

      oinline ClippingMask getResultMask() const +

      + + +

      oMaskStack& getMaskStack() +

      + + +

      oconst MaskStack& getMaskStack() const +

      + + +

      oinline void pushCurrentMask() +

      + + +

      oinline void popCurrentMask() +

      + + +

      oinline const bool contains(const osg::Vec3& v) const +
      Check whether a vertex is contained with clipping set +

      + + +

      oinline const bool contains(const std::vector<Vec3>& vertices) +
      Check whether any part of vertex list is contained with clipping set +

      + + +

      oinline const bool contains(const osg::BoundingSphere& bs) +
      Check whether any part of a bounding sphere is contained within clipping set. +Using a mask to determine which planes should be used for the check, and +modifying the mask to turn off planes which wouldn't contribute to clipping +of any internal objects. This feature is used in osgUtil::CullVisitor +to prevent redundant plane checking. +

      + + +

      oinline const bool contains(const osg::BoundingBox& bb) +
      Check whether any part of a bounding box is contained within clipping set. +Using a mask to determine which planes should be used for the check, and +modifying the mask to turn off planes which wouldn't contribute to clipping +of any internal objects. This feature is used in osgUtil::CullVisitor +to prevent redundant plane checking. +

      + + +

      oinline const bool containsAllOf(const std::vector<Vec3>& vertices) +
      Check whether all of vertex list is contained with clipping set +

      + + +

      oinline const bool containsAllOf(const osg::BoundingSphere& bs) +
      Check whether the entire bounding sphere is contained within clipping set +

      + + +

      oinline const bool containsAllOf(const osg::BoundingBox& bb) +
      Check whether the entire bounding box is contained within clipping set +

      + + +

      oinline void transform(const osg::Matrix& matrix) +
      Transform the clipping set by matrix. Note, this operations carries out +the calculation of the inverse of the matrix since to transforms +planes must be multiplied my the inverse transposed. This +make this operation expensive. If the inverse has been already +calculated elsewhere then use transformProvidingInverse() instead. +See http://www.worldserver.com/turk/computergraphics/NormalTransformations.pdf +

      + + +

      oinline void transformProvidingInverse(const osg::Matrix& matrix) +
      Transform the clipping set by provide a pre inverted matrix. +see transform for details. +

      + + +

      oMaskStack _maskStack +

      + + +

      oClippingMask _resultMask +

      + + +

      oPlaneList _planeList +

      + + +

      oVertexList _referenceVertexList +

      + +
      This class has no child classes.
      + +

      Alphabetic index HTML hierarchy of classes or Java


      +
      +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/Primitive.html b/doc/doc++/osg/Primitive.html new file mode 100644 index 000000000..3527e6133 --- /dev/null +++ b/doc/doc++/osg/Primitive.html @@ -0,0 +1,263 @@ + + + + + class osg::Primitive + + + + +

      class osg::Primitive


      + +

      Inheritance:

      + + + + + + + +
      + +
      +

      +

      Public Methods

      +[more] Primitive(Type primType=PrimitiveType, GLenum mode=0) +
      +[more] Primitive(const Primitive& prim, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
      +[more]virtual bool isSameKindAs(const Object* obj) const +
      +[more]virtual const char* libraryName() const +
      +[more]virtual const char* className() const +
      +[more]Type getType() const +
      +[more]void setMode(GLenum mode) +
      +[more]GLenum getMode() const +
      +[more]virtual void draw() const = 0 +
      +[more]virtual void accept(Drawable::PrimitiveFunctor&) +
      +[more]virtual void offsetIndices(int offset) = 0 +

      + +

      +

      Public Members

      +[more]enum Type +
      +[more]enum Mode +

      + +

      +

      Protected Fields

      +[more]Type _primitiveType +
      +[more]GLenum _mode +

      + +
      +

      Inherited from Object:

      +
      +

      +

      Public Methods

      +ovirtual Object* cloneType() const +
      +ovirtual Object* clone(const CopyOp&) const +
      +oinline void setDataVariance(const DataVariance dv) +
      +oinline const DataVariance getDataVariance() const +
      +oinline void setUserData(Referenced* obj) +
      +oinline Referenced* getUserData() +
      +oinline const Referenced* getUserData() const +

      + +

      +

      Public Members

      +oenum DataVariance +

      + +

      +

      Protected Fields

      +oDataVariance _dataVariance +
      +oref_ptr<Referenced> _userData +

      + +
      +

      Inherited from Referenced:

      +
      +

      +

      Public Methods

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

      + +

      +

      Protected Fields

      +omutable int _refCount +

      + +
      + + +
      +

      Documentation

      +
      + + + +
      oenum Type +

      + + + +
      o PrimitiveType +

      + + +

      o DrawArraysPrimitiveType +

      + + +

      o DrawArrayLengthsPrimitiveType +

      + + +

      o DrawElementsUBytePrimitiveType +

      + + +

      o DrawElementsUShortPrimitiveType +

      + + +

      o DrawElementsUIntPrimitiveType +

      + + + +
      oenum Mode +

      + + + +
      o POINTS +

      + + +

      o LINES +

      + + +

      o LINE_STRIP +

      + + +

      o LINE_LOOP +

      + + +

      o TRIANGLES +

      + + +

      o TRIANGLE_STRIP +

      + + +

      o TRIANGLE_FAN +

      + + +

      o QUADS +

      + + +

      o QUAD_STRIP +

      + + +

      o POLYGON +

      + + + +
      o Primitive(Type primType=PrimitiveType, GLenum mode=0) +

      + + +

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

      + + +

      ovirtual bool isSameKindAs(const Object* obj) const +

      + + +

      ovirtual const char* libraryName() const +

      + + +

      ovirtual const char* className() const +

      + + +

      oType getType() const +

      + + +

      ovoid setMode(GLenum mode) +

      + + +

      oGLenum getMode() const +

      + + +

      ovirtual void draw() const = 0 +

      + + +

      ovirtual void accept(Drawable::PrimitiveFunctor&) +

      + + +

      ovirtual void offsetIndices(int offset) = 0 +

      + + +

      oType _primitiveType +

      + + +

      oGLenum _mode +

      +
      +
      Direct child classes: +
      DrawElementsUShort
      +DrawElementsUInt
      +DrawElementsUByte
      +DrawArrays
      +DrawArrayLengths
      +
      + +

      Alphabetic index HTML hierarchy of classes or Java


      +
      +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/PrimitiveFunctor.html b/doc/doc++/osg/PrimitiveFunctor.html new file mode 100644 index 000000000..f0d897d80 --- /dev/null +++ b/doc/doc++/osg/PrimitiveFunctor.html @@ -0,0 +1,102 @@ + + + + + class osg::Drawable::PrimitiveFunctor + + + + +

      class PrimitiveFunctor


      + +

      Inheritance:

      + + + + + + + +
      + +
      +

      +

      Public Methods

      +[more]virtual ~PrimitiveFunctor() +
      +[more]virtual void setVertexArray(unsigned int count, Vec3* vertices) = 0 +
      +[more]virtual void drawArrays(GLenum mode, GLint first, GLsizei count) = 0 +
      +[more]virtual void drawElements(GLenum mode, GLsizei count, GLubyte* indices) = 0 +
      +[more]virtual void drawElements(GLenum mode, GLsizei count, GLushort* indices) = 0 +
      +[more]virtual void drawElements(GLenum mode, GLsizei count, GLuint* indices) = 0 +
      +[more]virtual void begin(GLenum mode) = 0 +
      +[more]virtual void vertex(const Vec3& vert) = 0 +
      +[more]virtual void vertex(float x, float y, float z) = 0 +
      +[more]virtual void end() = 0 +

      + +
      + + +
      +

      Documentation

      +
      + + + +
      ovirtual ~PrimitiveFunctor() +

      + + +

      ovirtual void setVertexArray(unsigned int count, Vec3* vertices) = 0 +

      + + +

      ovirtual void drawArrays(GLenum mode, GLint first, GLsizei count) = 0 +

      + + +

      ovirtual void drawElements(GLenum mode, GLsizei count, GLubyte* indices) = 0 +

      + + +

      ovirtual void drawElements(GLenum mode, GLsizei count, GLushort* indices) = 0 +

      + + +

      ovirtual void drawElements(GLenum mode, GLsizei count, GLuint* indices) = 0 +

      + + +

      ovirtual void begin(GLenum mode) = 0 +

      + + +

      ovirtual void vertex(const Vec3& vert) = 0 +

      + + +

      ovirtual void vertex(float x, float y, float z) = 0 +

      + + +

      ovirtual void end() = 0 +

      +
      +
      Direct child classes: +
      Statistics
      +
      + +

      Alphabetic index HTML hierarchy of classes or Java


      +
      +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/ShadeModel.html b/doc/doc++/osg/ShadeModel.html index 46c88860a..0bf6162b7 100644 --- a/doc/doc++/osg/ShadeModel.html +++ b/doc/doc++/osg/ShadeModel.html @@ -108,6 +108,12 @@ oinline void setDataVariance(const DataVariance dv)
      oinline const DataVariance getDataVariance() const +
      +oinline void setUserData(Referenced* obj) +
      +oinline Referenced* getUserData() +
      +oinline const Referenced* getUserData() const

      @@ -118,6 +124,8 @@

      Protected Fields

      oDataVariance _dataVariance +
      +oref_ptr<Referenced> _userData

      diff --git a/doc/doc++/osg/ShadowOccluderVolume.html b/doc/doc++/osg/ShadowOccluderVolume.html new file mode 100644 index 000000000..7152889ad --- /dev/null +++ b/doc/doc++/osg/ShadowOccluderVolume.html @@ -0,0 +1,119 @@ + + + + + class SG_EXPORT osg::ShadowOccluderVolume + + + + +

      class SG_EXPORT osg::ShadowOccluderVolume

      ShadowOccluderVolume is a helper class for implementating shadow occlusion culling.
      +
      + +
      +

      +

      Public Methods

      +[more]typedef std::vector<Polytope> HoleList ShadowOccluderVolume(const ShadowOccluderVolume& soc) +
      +[more] ShadowOccluderVolume(const ShadowOccluderVolume& soc, Matrix& MVP) +
      +[more] ShadowOccluderVolume(const ConvexPlanerOccluder& occluder, Matrix& MVP) +
      +[more]void set(const ShadowOccluderVolume& soc, Matrix& MVP) +
      Convert shadow occluder into local coords by multiplying the clip space occluder by the ModelViewProjectionMatrix +
      +[more]void set(const ConvexPlanerOccluder& occluder, Matrix& MVP) +
      Initialize a ShadowOccluderVolume to a ConvexPlanerOccluder transformed into clipspace +
      +[more]bool contains(const BoundingSphere& bound) +
      return true if the specified bounding sphere is contaned entirely within this shadow occluder volume +
      +[more]bool contains(const BoundingBox& bound) +
      return true if the specified bounding box is contained entirely within this shadow occluder volume +
      +[more]inline void transformProvidingInverse(const osg::Matrix& matrix) +
      +[more]inline void pushCurrentMask() +
      +[more]inline void popCurrentMask() +

      + +

      +

      Protected Fields

      +[more]Polytope _occluderVolume +
      +[more]HoleList _holeList +

      + +
      + + +
      +

      Documentation

      +
      ShadowOccluderVolume is a helper class for implementating shadow occlusion culling.
      +
      + + + +
      otypedef std::vector<Polytope> HoleList ShadowOccluderVolume(const ShadowOccluderVolume& soc) +

      + + +

      o ShadowOccluderVolume(const ShadowOccluderVolume& soc, Matrix& MVP) +

      + + +

      o ShadowOccluderVolume(const ConvexPlanerOccluder& occluder, Matrix& MVP) +

      + + +

      ovoid set(const ShadowOccluderVolume& soc, Matrix& MVP) +
      Convert shadow occluder into local coords by multiplying the +clip space occluder by the ModelViewProjectionMatrix +

      + + +

      ovoid set(const ConvexPlanerOccluder& occluder, Matrix& MVP) +
      Initialize a ShadowOccluderVolume to a ConvexPlanerOccluder +transformed into clipspace +

      + + +

      obool contains(const BoundingSphere& bound) +
      return true if the specified bounding sphere is contaned entirely +within this shadow occluder volume +

      + + +

      obool contains(const BoundingBox& bound) +
      return true if the specified bounding box is contained entirely +within this shadow occluder volume +

      + + +

      oinline void transformProvidingInverse(const osg::Matrix& matrix) +

      + + +

      oPolytope _occluderVolume +

      + + +

      oHoleList _holeList +

      + + +

      oinline void pushCurrentMask() +

      + + +

      oinline void popCurrentMask() +

      + +
      This class has no child classes.
      + +

      Alphabetic index HTML hierarchy of classes or Java


      +
      +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/ShadowVolumeOccluder.html b/doc/doc++/osg/ShadowVolumeOccluder.html new file mode 100644 index 000000000..6f87e41f7 --- /dev/null +++ b/doc/doc++/osg/ShadowVolumeOccluder.html @@ -0,0 +1,221 @@ + + + + + class SG_EXPORT osg::ShadowVolumeOccluder + + + + +

      class SG_EXPORT osg::ShadowVolumeOccluder

      ShadowVolumeOccluder is a helper class for implementating shadow occlusion culling.
      +
      + +
      +

      +

      Public Methods

      +[more]typedef std::vector<Polytope> HoleList ShadowVolumeOccluder(const ShadowVolumeOccluder& svo) +
      +[more] ShadowVolumeOccluder() +
      +[more]bool operator < (const ShadowVolumeOccluder& svo) const +
      +[more]bool computeOccluder(const NodePath& nodePath, const ConvexPlanerOccluder& occluder, CullStack& cullStack, bool createDrawables=false) +
      compute the shadow volume occluder. +
      +[more]inline void disableResultMasks() +
      +[more]bool matchProjectionMatrix(const osg::Matrix& matrix) const +
      return true if the matrix passed in matches the projection matrix that this ShaowVolumeOccluder is associated with +
      +[more]inline void setNodePath(NodePath& nodePath) +
      Set the NodePath which describes the which node in the scene graph that this occluder was attached to +
      +[more]inline NodePath& getNodePath() +
      +[more]inline const NodePath& getNodePath() const +
      +[more]float getVolume() const +
      get the volume of the occluder minus its holes, in eye coords, the volume is normalized by dividing by the volume of the view frustum in eye coords +
      +[more]Polytope& getOccluder() +
      return the occluder polytope +
      +[more]const Polytope& getOccluder() const +
      return the const occluder polytope +
      +[more]HoleList& getHoleList() +
      return the list of holes +
      +[more]const HoleList& getHoleList() const +
      return the const list of holes +
      +[more]bool contains(const std::vector<Vec3>& vertices) +
      return true if the specified vertex list is contaned entirely within this shadow occluder volume +
      +[more]bool contains(const BoundingSphere& bound) +
      return true if the specified bounding sphere is contaned entirely within this shadow occluder volume +
      +[more]bool contains(const BoundingBox& bound) +
      return true if the specified bounding box is contained entirely within this shadow occluder volume +
      +[more]inline void transformProvidingInverse(const osg::Matrix& matrix) +
      +[more]typedef std::vector<ShadowVolumeOccluder>inline ShadowVolumeOccluderList void disableResultMasks() +
      A list of ShadowVolumeOccluder, used by CollectOccluderVisitor and CullVistor's +
      +[more]inline void pushCurrentMask() +
      +[more]inline void popCurrentMask() +

      + +

      +

      Protected Fields

      +[more]float _volume +
      +[more]NodePath _nodePath +
      +[more]ref_ptr<const Matrix> _projectionMatrix +
      +[more]Polytope _occluderVolume +
      +[more]HoleList _holeList +

      + +
      + + +
      +

      Documentation

      +
      ShadowVolumeOccluder is a helper class for implementating shadow occlusion culling.
      +
      + + + +
      otypedef std::vector<Polytope> HoleList ShadowVolumeOccluder(const ShadowVolumeOccluder& svo) +

      + + +

      o ShadowVolumeOccluder() +

      + + +

      obool operator < (const ShadowVolumeOccluder& svo) const +

      + + +

      obool computeOccluder(const NodePath& nodePath, const ConvexPlanerOccluder& occluder, CullStack& cullStack, bool createDrawables=false) +
      compute the shadow volume occluder. +

      + + +

      oinline void disableResultMasks() +

      + + +

      obool matchProjectionMatrix(const osg::Matrix& matrix) const +
      return true if the matrix passed in matches the projection matrix that this ShaowVolumeOccluder is +associated with +

      + + +

      oinline void setNodePath(NodePath& nodePath) +
      Set the NodePath which describes the which node in the scene graph +that this occluder was attached to +

      + + +

      oinline NodePath& getNodePath() +

      + + +

      oinline const NodePath& getNodePath() const +

      + + +

      ofloat getVolume() const +
      get the volume of the occluder minus its holes, in eye coords, the volume is normalized by dividing by +the volume of the view frustum in eye coords +

      + + +

      oPolytope& getOccluder() +
      return the occluder polytope +

      + + +

      oconst Polytope& getOccluder() const +
      return the const occluder polytope +

      + + +

      oHoleList& getHoleList() +
      return the list of holes +

      + + +

      oconst HoleList& getHoleList() const +
      return the const list of holes +

      + + +

      obool contains(const std::vector<Vec3>& vertices) +
      return true if the specified vertex list is contaned entirely +within this shadow occluder volume +

      + + +

      obool contains(const BoundingSphere& bound) +
      return true if the specified bounding sphere is contaned entirely +within this shadow occluder volume +

      + + +

      obool contains(const BoundingBox& bound) +
      return true if the specified bounding box is contained entirely +within this shadow occluder volume +

      + + +

      oinline void transformProvidingInverse(const osg::Matrix& matrix) +

      + + +

      ofloat _volume +

      + + +

      oNodePath _nodePath +

      + + +

      oref_ptr<const Matrix> _projectionMatrix +

      + + +

      oPolytope _occluderVolume +

      + + +

      oHoleList _holeList +

      + + +

      otypedef std::vector<ShadowVolumeOccluder>inline ShadowVolumeOccluderList void disableResultMasks() +
      A list of ShadowVolumeOccluder, used by CollectOccluderVisitor and CullVistor's +

      + + +

      oinline void pushCurrentMask() +

      + + +

      oinline void popCurrentMask() +

      + +
      This class has no child classes.
      + +

      Alphabetic index HTML hierarchy of classes or Java


      +
      +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/StateAttribute.html b/doc/doc++/osg/StateAttribute.html index 07178b633..8de75c5c7 100644 --- a/doc/doc++/osg/StateAttribute.html +++ b/doc/doc++/osg/StateAttribute.html @@ -101,6 +101,12 @@ oinline void setDataVariance(const DataVariance dv)
      oinline const DataVariance getDataVariance() const +
      +oinline void setUserData(Referenced* obj) +
      +oinline Referenced* getUserData() +
      +oinline const Referenced* getUserData() const

      @@ -111,6 +117,8 @@

      Protected Fields

      oDataVariance _dataVariance +
      +oref_ptr<Referenced> _userData

      diff --git a/doc/doc++/osg/StateSet.html b/doc/doc++/osg/StateSet.html index f25dae35a..391386573 100644 --- a/doc/doc++/osg/StateSet.html +++ b/doc/doc++/osg/StateSet.html @@ -241,6 +241,12 @@ oinline void setDataVariance(const DataVariance dv)
      oinline const DataVariance getDataVariance() const +
      +oinline void setUserData(Referenced* obj) +
      +oinline Referenced* getUserData() +
      +oinline const Referenced* getUserData() const

      @@ -251,6 +257,8 @@

      Protected Fields

      oDataVariance _dataVariance +
      +oref_ptr<Referenced> _userData

      diff --git a/doc/doc++/osg/Statistics.html b/doc/doc++/osg/Statistics.html index 431f6e027..618f39ebd 100644 --- a/doc/doc++/osg/Statistics.html +++ b/doc/doc++/osg/Statistics.html @@ -12,7 +12,7 @@

      Inheritance:

      - + @@ -23,71 +23,77 @@

      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 nlights
      -[more]int nlights +[more]int depth
      -[more]int depth +[more]int _binNo
      -[more]int _binNo +[more]statsType stattype
      -[more]statsType stattype +[more]int nimpostor
      -[more]int nimpostor +[more]unsigned int _vertexCount
      -[more]int numprimtypes[16] +[more]PrimtiveValueMap _primitiveCount
      -[more]int primtypes[16] -
      -[more]int primlens[16] -
      -[more]int primverts[16] +[more]GLenum _currentPrimtiveFunctorMode

      Public Methods

      -[more] Statistics() +[more]typedef std::map<GLenum,PrimitivePair> PrimtiveValueMap Statistics()
      -[more] ~Statistics() +[more] ~Statistics()
      -[more]void reset() +[more]void reset()
      -[more]void setType(statsType t) +[more]void setType(statsType t)
      -[more]virtual bool apply(osg::Drawable::AttributeBitMask abm, osg::Vec3* begin, osg::Vec3* end) +[more]virtual void setVertexArray(unsigned int count, Vec3*)
      -[more]void addNumPrims(const int typ, const int nprimlen, const int numprimtype, const int primvert) +[more]virtual void drawArrays(GLenum mode, GLint, GLsizei count)
      -[more]void addOpaque() +[more]virtual void drawElements(GLenum mode, GLsizei count, GLubyte*)
      -[more]void addMatrix() +[more]virtual void drawElements(GLenum mode, GLsizei count, GLushort*)
      -[more]void addLight(const int np) +[more]virtual void drawElements(GLenum mode, GLsizei count, GLuint*)
      -[more]void addNumPrims(const int np) +[more]virtual void begin(GLenum mode)
      -[more]void addImpostor(const int np) +[more]virtual void vertex(const Vec3&)
      -[more]inline const int getBins() +[more]virtual void vertex(float, float, float)
      -[more]void setDepth(const int d) +[more]virtual void end()
      -[more]void addBins(const int np) +[more]void addOpaque()
      -[more]void setBinNo(const int n) +[more]void addMatrix() +
      +[more]void addLight(const int np) +
      +[more]void addImpostor(const int np) +
      +[more]inline const int getBins() +
      +[more]void setDepth(const int d) +
      +[more]void addBins(const int np) +
      +[more]void setBinNo(const int n)

      Public Members

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

      @@ -112,20 +118,8 @@

      -

      Inherited from AttributeFunctor:

      +

      Inherited from PrimitiveFunctor:

      -

      -

      Public Methods

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

      - -

      -

      Protected Fields

      -oAttributeBitMask _abm -

      -
      @@ -146,223 +140,169 @@ each trifan or tristrip = (length-2) triangles and so on. -
      o Statistics() +
      otypedef std::map<GLenum,PrimitivePair> PrimtiveValueMap 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()

      - +

      oenum statsType

      - +
      o STAT_NONE

      - +

      o STAT_FRAMERATE

      - +

      o STAT_GRAPHS

      - - -

      o STAT_VIEWPARMS -

      - +

      o STAT_PRIMS

      - +

      o STAT_PRIMSPERVIEW

      - +

      o STAT_PRIMSPERBIN

      - +

      o STAT_DC

      - +

      o STAT_RESTART

      - +
      ovoid reset()

      + +

      ovoid setType(statsType t) +

      + -

      ovoid setType(statsType t) +
      ovirtual void setVertexArray(unsigned int count, Vec3*)

      - + -

      ovirtual bool apply(osg::Drawable::AttributeBitMask abm, osg::Vec3* begin, osg::Vec3* end) +
      ovirtual void drawArrays(GLenum mode, GLint, GLsizei count)

      - + -

      ovoid addNumPrims(const int typ, const int nprimlen, const int numprimtype, const int primvert) +
      ovirtual void drawElements(GLenum mode, GLsizei count, GLubyte*) +

      + + +

      ovirtual void drawElements(GLenum mode, GLsizei count, GLushort*) +

      + + +

      ovirtual void drawElements(GLenum mode, GLsizei count, GLuint*) +

      + + +

      ovirtual void begin(GLenum mode) +

      + + +

      ovirtual void vertex(const Vec3&) +

      + + +

      ovirtual void vertex(float, float, float) +

      + + +

      ovirtual void end()

      - +

      ovoid addOpaque()

      - +

      ovoid addMatrix()

      - +

      ovoid addLight(const int np)

      - - -

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

      - +

      oint depth

      - +

      oint _binNo

      - -

      ostatsType stattype + +
      ostatsType stattype

      - +

      oint nimpostor

      - - -

      oint numprimtypes[16] + + +
      ounsigned int _vertexCount

      - - -

      oint primtypes[16] + + +
      oPrimtiveValueMap _primitiveCount

      - - -

      oint primlens[16] -

      - - -

      oint primverts[16] + + +
      oGLenum _currentPrimtiveFunctorMode


      This class has no child classes.
      diff --git a/doc/doc++/osg/Stencil.html b/doc/doc++/osg/Stencil.html index 91a540ccb..ca5681f7a 100644 --- a/doc/doc++/osg/Stencil.html +++ b/doc/doc++/osg/Stencil.html @@ -142,6 +142,12 @@ oinline void setDataVariance(const DataVariance dv)
      oinline const DataVariance getDataVariance() const +
      +oinline void setUserData(Referenced* obj) +
      +oinline Referenced* getUserData() +
      +oinline const Referenced* getUserData() const

      @@ -152,6 +158,8 @@

      Protected Fields

      oDataVariance _dataVariance +
      +oref_ptr<Referenced> _userData

      diff --git a/doc/doc++/osg/TemplateArray.html b/doc/doc++/osg/TemplateArray.html new file mode 100644 index 000000000..f981341ea --- /dev/null +++ b/doc/doc++/osg/TemplateArray.html @@ -0,0 +1,190 @@ + + + + + template<typename T, Array::Type ARRAYTYPE, int DataSize, int DataType> class osg::TemplateArray + + + + +

      template<typename T, Array::Type ARRAYTYPE, int DataSize, int DataType> class osg::TemplateArray


      + +

      Inheritance:

      + + + + + + + +
      + +
      +

      +

      Public Methods

      +[more] TemplateArray() +
      +[more] TemplateArray(const TemplateArray& ta, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
      +[more] TemplateArray(unsigned int no) +
      +[more] TemplateArray(unsigned int no, T* ptr) +
      +[more]template<class InputIterator> TemplateArray(InputIterator first, InputIterator last) +
      +[more]virtual Object* cloneType() const +
      +[more]virtual Object* clone(const CopyOp& copyop) const +
      +[more]virtual void accept(ArrayVisitor& av) +
      +[more]virtual const GLvoid* getDataPointer() const +
      +[more]virtual unsigned int getNumElements() const +

      + +

      +

      Protected Methods

      +[more]virtual ~TemplateArray() +

      + +
      +

      Inherited from Array:

      +
      +

      +

      Public Methods

      +ovirtual bool isSameKindAs(const Object* obj) const +
      +ovirtual const char* libraryName() const +
      +ovirtual const char* className() const +
      +oType getType() const +
      +oGLint getDataSize() const +
      +oGLenum getDataType() const +

      + +

      +

      Public Members

      +oenum Type +

      + +

      +

      Protected Fields

      +oType _arrayType +
      +oGLint _dataSize +
      +oGLenum _dataType +

      + +
      +

      Inherited from Object:

      +
      +

      +

      Public Methods

      +oinline void setDataVariance(const DataVariance dv) +
      +oinline const DataVariance getDataVariance() const +
      +oinline void setUserData(Referenced* obj) +
      +oinline Referenced* getUserData() +
      +oinline const Referenced* getUserData() const +

      + +

      +

      Public Members

      +oenum DataVariance +

      + +

      +

      Protected Fields

      +oDataVariance _dataVariance +
      +oref_ptr<Referenced> _userData +

      + +
      +

      Inherited from Referenced:

      +
      +

      +

      Public Methods

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

      + +

      +

      Protected Fields

      +omutable int _refCount +

      + +
      + + +
      +

      Documentation

      +
      + + + +
      o TemplateArray() +

      + + +

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

      + + +

      o TemplateArray(unsigned int no) +

      + + +

      o TemplateArray(unsigned int no, T* ptr) +

      + + +

      otemplate<class InputIterator> TemplateArray(InputIterator first, InputIterator last) +

      + + +

      ovirtual Object* cloneType() const +

      + + +

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

      + + +

      ovirtual void accept(ArrayVisitor& av) +

      + + +

      ovirtual const GLvoid* getDataPointer() const +

      + + +

      ovirtual unsigned int getNumElements() const +

      + + +

      ovirtual ~TemplateArray() +

      + +
      This class has no child classes.
      + +

      Alphabetic index HTML hierarchy of classes or Java


      +
      +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/TexEnv.html b/doc/doc++/osg/TexEnv.html index ebd964fc3..651fb4f0f 100644 --- a/doc/doc++/osg/TexEnv.html +++ b/doc/doc++/osg/TexEnv.html @@ -116,6 +116,12 @@ oinline void setDataVariance(const DataVariance dv)
      oinline const DataVariance getDataVariance() const +
      +oinline void setUserData(Referenced* obj) +
      +oinline Referenced* getUserData() +
      +oinline const Referenced* getUserData() const

      @@ -126,6 +132,8 @@

      Protected Fields

      oDataVariance _dataVariance +
      +oref_ptr<Referenced> _userData

      diff --git a/doc/doc++/osg/TexGen.html b/doc/doc++/osg/TexGen.html index 11de78ea8..086b88643 100644 --- a/doc/doc++/osg/TexGen.html +++ b/doc/doc++/osg/TexGen.html @@ -123,6 +123,12 @@ oinline void setDataVariance(const DataVariance dv)
      oinline const DataVariance getDataVariance() const +
      +oinline void setUserData(Referenced* obj) +
      +oinline Referenced* getUserData() +
      +oinline const Referenced* getUserData() const

      @@ -133,6 +139,8 @@

      Protected Fields

      oDataVariance _dataVariance +
      +oref_ptr<Referenced> _userData

      diff --git a/doc/doc++/osg/TexMat.html b/doc/doc++/osg/TexMat.html index c6ec51b8f..0ccabdc0c 100644 --- a/doc/doc++/osg/TexMat.html +++ b/doc/doc++/osg/TexMat.html @@ -109,6 +109,12 @@ oinline void setDataVariance(const DataVariance dv)
      oinline const DataVariance getDataVariance() const +
      +oinline void setUserData(Referenced* obj) +
      +oinline Referenced* getUserData() +
      +oinline const Referenced* getUserData() const

      @@ -119,6 +125,8 @@

      Protected Fields

      oDataVariance _dataVariance +
      +oref_ptr<Referenced> _userData

      diff --git a/doc/doc++/osg/Texture.html b/doc/doc++/osg/Texture.html index 6850a7a4c..82fd3ba3d 100644 --- a/doc/doc++/osg/Texture.html +++ b/doc/doc++/osg/Texture.html @@ -244,6 +244,12 @@ oinline void setDataVariance(const DataVariance dv)
      oinline const DataVariance getDataVariance() const +
      +oinline void setUserData(Referenced* obj) +
      +oinline Referenced* getUserData() +
      +oinline const Referenced* getUserData() const

      @@ -254,6 +260,8 @@

      Protected Fields

      oDataVariance _dataVariance +
      +oref_ptr<Referenced> _userData

      diff --git a/doc/doc++/osg/TextureCubeMap.html b/doc/doc++/osg/TextureCubeMap.html index 69335ae67..46c3b160d 100644 --- a/doc/doc++/osg/TextureCubeMap.html +++ b/doc/doc++/osg/TextureCubeMap.html @@ -246,6 +246,12 @@ oinline void setDataVariance(const DataVariance dv)
      oinline const DataVariance getDataVariance() const +
      +oinline void setUserData(Referenced* obj) +
      +oinline Referenced* getUserData() +
      +oinline const Referenced* getUserData() const

      @@ -256,6 +262,8 @@

      Protected Fields

      oDataVariance _dataVariance +
      +oref_ptr<Referenced> _userData

      diff --git a/doc/doc++/osg/TriangleFunctor.html b/doc/doc++/osg/TriangleFunctor.html new file mode 100644 index 000000000..89a087e06 --- /dev/null +++ b/doc/doc++/osg/TriangleFunctor.html @@ -0,0 +1,138 @@ + + + + + template<class T> class osg::TriangleFunctor + + + + +

      template<class T> class osg::TriangleFunctor


      + +

      Inheritance:

      + + + + + + + +
      + +
      +

      +

      Public Methods

      +[more] TriangleFunctor() +
      +[more]virtual ~TriangleFunctor() +
      +[more]virtual void setVertexArray(unsigned int count, Vec3* vertices) +
      +[more]virtual void drawArrays(GLenum mode, GLint first, GLsizei count) +
      +[more]virtual void drawElements(GLenum mode, GLsizei count, GLubyte* indices) +
      +[more]virtual void drawElements(GLenum mode, GLsizei count, GLushort* indices) +
      +[more]virtual void drawElements(GLenum mode, GLsizei count, GLuint* indices) +
      +[more]inline void begin(GLenum mode) +
      begin(),vertex() & end() are convinience methods for adapting non vertex array primitives to vertex array based primitives. +
      +[more]inline void vertex(const Vec3& vert) +
      +[more]inline void vertex(float x, float y, float z) +
      +[more]inline void end() +

      + +

      +

      Protected Fields

      +[more]unsigned int _vertexArraySize +
      +[more]Vec3* _vertexArrayPtr +
      +[more]GLenum _modeCache +
      +[more]std::vector<Vec3> _vertexCache +

      + +
      + + +
      +

      Documentation

      +
      + + + +
      o TriangleFunctor() +

      + + +

      ovirtual ~TriangleFunctor() +

      + + +

      ovirtual void setVertexArray(unsigned int count, Vec3* vertices) +

      + + +

      ovirtual void drawArrays(GLenum mode, GLint first, GLsizei count) +

      + + +

      ovirtual void drawElements(GLenum mode, GLsizei count, GLubyte* indices) +

      + + +

      ovirtual void drawElements(GLenum mode, GLsizei count, GLushort* indices) +

      + + +

      ovirtual void drawElements(GLenum mode, GLsizei count, GLuint* indices) +

      + + +

      oinline void begin(GLenum mode) +
      begin(),vertex() & end() are convinience methods for adapting +non vertex array primitives to vertex array based primitives. +this is done to simplify the implementation of primtive functor +subclasses - users only need override drawArray and drawElements. +

      + + +

      oinline void vertex(const Vec3& vert) +

      + + +

      oinline void vertex(float x, float y, float z) +

      + + +

      oinline void end() +

      + + +

      ounsigned int _vertexArraySize +

      + + +

      oVec3* _vertexArrayPtr +

      + + +

      oGLenum _modeCache +

      + + +

      ostd::vector<Vec3> _vertexCache +

      + +
      This class has no child classes.
      + +

      Alphabetic index HTML hierarchy of classes or Java


      +
      +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/UByte4.html b/doc/doc++/osg/UByte4.html new file mode 100644 index 000000000..f2742f36e --- /dev/null +++ b/doc/doc++/osg/UByte4.html @@ -0,0 +1,218 @@ + + + + + class osg::UByte4 + + + + +

      class osg::UByte4

      General purpose float quad, uses include representation of colour coordinates.
      +
      + +
      +

      +

      Public Fields

      +[more]unsigned char _v[4] +

      + +

      +

      Public Methods

      +[more] UByte4() +
      +[more] UByte4(unsigned char r, unsigned char g, unsigned char b, unsigned char a) +
      +[more]inline const bool operator == (const UByte4& v) const +
      +[more]inline const bool operator != (const UByte4& v) const +
      +[more]inline const bool operator < (const UByte4& v) const +
      +[more]inline unsigned char* ptr() +
      +[more]inline const unsigned char* ptr() const +
      +[more]inline void set(unsigned char r, unsigned char g, unsigned char b, unsigned char a) +
      +[more]inline unsigned char& operator [] (const int i) +
      +[more]inline unsigned char operator [] (const int i) const +
      +[more]inline unsigned char& r() +
      +[more]inline unsigned char& g() +
      +[more]inline unsigned char& b() +
      +[more]inline unsigned char& a() +
      +[more]inline unsigned char r() const +
      +[more]inline unsigned char g() const +
      +[more]inline unsigned char b() const +
      +[more]inline unsigned char a() const +
      +[more]inline UByte4 operator * (const float rhs) const +
      multiply by scalar +
      +[more]inline UByte4& operator *= (const float rhs) +
      unary multiply by scalar +
      +[more]inline UByte4 operator / (const float rhs) const +
      divide by scalar +
      +[more]inline UByte4& operator /= (const float rhs) +
      unary divide by scalar +
      +[more]inline UByte4 operator + (const UByte4& rhs) const +
      binary vector add +
      +[more]inline UByte4& operator += (const UByte4& rhs) +
      unary vector add. +
      +[more]inline UByte4 operator - (const UByte4& rhs) const +
      binary vector subtract +
      +[more]inline UByte4& operator -= (const UByte4& rhs) +
      unary vector subtract +

      + +
      + + +
      +

      Documentation

      +
      General purpose float quad, uses include representation +of colour coordinates. +No support yet added for float * UByte4 - is it necessary? +Need to define a non-member non-friend operator* etc. +UByte4 * float is okay
      +
      + + + +
      o UByte4() +

      + + +

      o UByte4(unsigned char r, unsigned char g, unsigned char b, unsigned char a) +

      + + +

      ounsigned char _v[4] +

      + + +

      oinline const bool operator == (const UByte4& v) const +

      + + +

      oinline const bool operator != (const UByte4& v) const +

      + + +

      oinline const bool operator < (const UByte4& v) const +

      + + +

      oinline unsigned char* ptr() +

      + + +

      oinline const unsigned char* ptr() const +

      + + +

      oinline void set(unsigned char r, unsigned char g, unsigned char b, unsigned char a) +

      + + +

      oinline unsigned char& operator [] (const int i) +

      + + +

      oinline unsigned char operator [] (const int i) const +

      + + +

      oinline unsigned char& r() +

      + + +

      oinline unsigned char& g() +

      + + +

      oinline unsigned char& b() +

      + + +

      oinline unsigned char& a() +

      + + +

      oinline unsigned char r() const +

      + + +

      oinline unsigned char g() const +

      + + +

      oinline unsigned char b() const +

      + + +

      oinline unsigned char a() const +

      + + +

      oinline UByte4 operator * (const float rhs) const +
      multiply by scalar +

      + + +

      oinline UByte4& operator *= (const float rhs) +
      unary multiply by scalar +

      + + +

      oinline UByte4 operator / (const float rhs) const +
      divide by scalar +

      + + +

      oinline UByte4& operator /= (const float rhs) +
      unary divide by scalar +

      + + +

      oinline UByte4 operator + (const UByte4& rhs) const +
      binary vector add +

      + + +

      oinline UByte4& operator += (const UByte4& rhs) +
      unary vector add. Slightly more efficient because no temporary +intermediate object +

      + + +

      oinline UByte4 operator - (const UByte4& rhs) const +
      binary vector subtract +

      + + +

      oinline UByte4& operator -= (const UByte4& rhs) +
      unary vector subtract +

      + +
      This class has no child classes.
      + +
      Friends:
      inline std::ostream& operator << (std::ostream& output, const UByte4& vec)

      Alphabetic index HTML hierarchy of classes or Java


      +
      +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/VectorSizei.html b/doc/doc++/osg/VectorSizei.html new file mode 100644 index 000000000..43edc558f --- /dev/null +++ b/doc/doc++/osg/VectorSizei.html @@ -0,0 +1,66 @@ + + + + + typedef std::vector<GLuint> VectorUIntclass osg::VectorSizei + + + + +

      typedef std::vector<GLuint> VectorUIntclass osg::VectorSizei


      + +

      Inheritance:

      + + + + + + + +
      + +
      +

      +

      Public Methods

      +[more]typedef std::vector<value_type> inherited VectorSizei() +
      +[more]explicit VectorSizei(size_type n) +
      +[more] VectorSizei(const VectorSizei &copy) +
      +[more]template<class InputIterator> VectorSizei(InputIterator beg_, InputIterator end_) +

      + +
      + + +
      +

      Documentation

      +
      + + + +
      otypedef std::vector<value_type> inherited VectorSizei() +

      + + +

      oexplicit VectorSizei(size_type n) +

      + + +

      o VectorSizei(const VectorSizei &copy) +

      + + +

      otemplate<class InputIterator> VectorSizei(InputIterator beg_, InputIterator end_) +

      +
      +
      Direct child classes: +
      DrawArrayLengths
      +
      + +

      Alphabetic index HTML hierarchy of classes or Java


      +
      +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/VectorUByte.html b/doc/doc++/osg/VectorUByte.html new file mode 100644 index 000000000..c3069389a --- /dev/null +++ b/doc/doc++/osg/VectorUByte.html @@ -0,0 +1,66 @@ + + + + + class osg::VectorUByte + + + + +

      class osg::VectorUByte


      + +

      Inheritance:

      + + + + + + + +
      + +
      +

      +

      Public Methods

      +[more]typedef std::vector<value_type> inherited VectorUByte() +
      +[more]explicit VectorUByte(size_type n) +
      +[more] VectorUByte(const VectorUByte &copy) +
      +[more]template<class InputIterator> VectorUByte(InputIterator beg_, InputIterator end_) +

      + +
      + + +
      +

      Documentation

      +
      + + + +
      otypedef std::vector<value_type> inherited VectorUByte() +

      + + +

      oexplicit VectorUByte(size_type n) +

      + + +

      o VectorUByte(const VectorUByte &copy) +

      + + +

      otemplate<class InputIterator> VectorUByte(InputIterator beg_, InputIterator end_) +

      +
      +
      Direct child classes: +
      DrawElementsUByte
      +
      + +

      Alphabetic index HTML hierarchy of classes or Java


      +
      +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/VectorUInt.html b/doc/doc++/osg/VectorUInt.html new file mode 100644 index 000000000..7cfd22c5b --- /dev/null +++ b/doc/doc++/osg/VectorUInt.html @@ -0,0 +1,66 @@ + + + + + class osg::VectorUInt + + + + +

      class osg::VectorUInt


      + +

      Inheritance:

      + + + + + + + +
      + +
      +

      +

      Public Methods

      +[more]typedef std::vector<value_type> inherited VectorUInt() +
      +[more]explicit VectorUInt(size_type n) +
      +[more] VectorUInt(const VectorUInt &copy) +
      +[more]template<class InputIterator> VectorUInt(InputIterator beg_, InputIterator end_) +

      + +
      + + +
      +

      Documentation

      +
      + + + +
      otypedef std::vector<value_type> inherited VectorUInt() +

      + + +

      oexplicit VectorUInt(size_type n) +

      + + +

      o VectorUInt(const VectorUInt &copy) +

      + + +

      otemplate<class InputIterator> VectorUInt(InputIterator beg_, InputIterator end_) +

      +
      +
      Direct child classes: +
      DrawElementsUInt
      +
      + +

      Alphabetic index HTML hierarchy of classes or Java


      +
      +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/VectorUShort.html b/doc/doc++/osg/VectorUShort.html new file mode 100644 index 000000000..0291ebbf7 --- /dev/null +++ b/doc/doc++/osg/VectorUShort.html @@ -0,0 +1,66 @@ + + + + + class osg::VectorUShort + + + + +

      class osg::VectorUShort


      + +

      Inheritance:

      + + + + + + + +
      + +
      +

      +

      Public Methods

      +[more]typedef std::vector<value_type> inherited VectorUShort() +
      +[more]explicit VectorUShort(size_type n) +
      +[more] VectorUShort(const VectorUShort &copy) +
      +[more]template<class InputIterator> VectorUShort(InputIterator beg_, InputIterator end_) +

      + +
      + + +
      +

      Documentation

      +
      + + + +
      otypedef std::vector<value_type> inherited VectorUShort() +

      + + +

      oexplicit VectorUShort(size_type n) +

      + + +

      o VectorUShort(const VectorUShort &copy) +

      + + +

      otemplate<class InputIterator> VectorUShort(InputIterator beg_, InputIterator end_) +

      +
      +
      Direct child classes: +
      DrawElementsUShort
      +
      + +

      Alphabetic index HTML hierarchy of classes or Java


      +
      +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/Viewport.html b/doc/doc++/osg/Viewport.html index b6b56b906..3c884ef2d 100644 --- a/doc/doc++/osg/Viewport.html +++ b/doc/doc++/osg/Viewport.html @@ -125,6 +125,12 @@ oinline void setDataVariance(const DataVariance dv)
      oinline const DataVariance getDataVariance() const +
      +oinline void setUserData(Referenced* obj) +
      +oinline Referenced* getUserData() +
      +oinline const Referenced* getUserData() const

      @@ -135,6 +141,8 @@

      Protected Fields

      oDataVariance _dataVariance +
      +oref_ptr<Referenced> _userData

      diff --git a/doc/doc++/osg/fast_back_stack.html b/doc/doc++/osg/fast_back_stack.html new file mode 100644 index 000000000..feec80c47 --- /dev/null +++ b/doc/doc++/osg/fast_back_stack.html @@ -0,0 +1,131 @@ + + + + + template<class T> class osg::fast_back_stack + + + + +

      template<class T> class osg::fast_back_stack

      Simple stack implementation that keeps the back() cached locally for fast access rather than at the back of the vector which is the traditional stack implementation.
      +
      + +
      +

      +

      Public Fields

      +[more]T _value +
      +[more]std::vector<T> _stack +
      +[more]unsigned int _size +

      + +

      +

      Public Methods

      +[more]inline fast_back_stack() +
      +[more]inline fast_back_stack(const fast_back_stack& fbs) +
      +[more]inline fast_back_stack(const T& value) +
      +[more]fast_back_stack& operator = (const fast_back_stack& fbs) +
      +[more]inline void clear() +
      +[more]inline bool empty() const +
      +[more]inline unsigned int size() const +
      +[more]inline T& back() +
      +[more]inline const T& back() const +
      +[more]inline void push_back() +
      +[more]inline void push_back(const T& value) +
      +[more]inline void pop_back() +

      + +
      + + +
      +

      Documentation

      +
      Simple stack implementation that keeps the back() cached locally for fast access +rather than at the back of the vector which is the traditional stack implementation. +A conventional std::vector<> stores the rest of the stack. The fast_back_stack +although contains a stl container it only implments the back push_back(),pop_back() +and back() methods so is not as general purpose as stl stack implementation. +The focus of the fast_back_stack is purly to maximize the speed at which the +back can be accessed.
      +
      + + + +
      oinline fast_back_stack() +

      + + +

      oinline fast_back_stack(const fast_back_stack& fbs) +

      + + +

      oinline fast_back_stack(const T& value) +

      + + +

      ofast_back_stack& operator = (const fast_back_stack& fbs) +

      + + +

      oinline void clear() +

      + + +

      oinline bool empty() const +

      + + +

      oinline unsigned int size() const +

      + + +

      oinline T& back() +

      + + +

      oinline const T& back() const +

      + + +

      oinline void push_back() +

      + + +

      oinline void push_back(const T& value) +

      + + +

      oinline void pop_back() +

      + + +

      oT _value +

      + + +

      ostd::vector<T> _stack +

      + + +

      ounsigned int _size +

      + +
      This class has no child classes.
      + +

      Alphabetic index HTML hierarchy of classes or Java


      +
      +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/getGLExtensionFuncPtr.2.html b/doc/doc++/osg/getGLExtensionFuncPtr.2.html new file mode 100644 index 000000000..74fcf5b35 --- /dev/null +++ b/doc/doc++/osg/getGLExtensionFuncPtr.2.html @@ -0,0 +1,23 @@ + + + + + inline void* osg::getGLExtensionFuncPtr + + + + +

      inline void* osg::getGLExtensionFuncPtr

      (const char* funcName,
        const char* fallbackFuncName)

      return the address of the specified OpenGL function, if not found then check a second function name, if this fails then return NULL as function is not supported by OpenGL library.
      + + +
      +

      Documentation

      +
      return the address of the specified OpenGL function, if not found then +check a second function name, if this fails then return NULL as function is +not supported by OpenGL library. This is usual for checking something +like glActiveTexture (which is in OGL1.3) or glActiveTextureARB.
      +

      Alphabetic index HTML hierarchy of classes or Java


      +
      +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/globalnotifylevel..html b/doc/doc++/osg/globalnotifylevel..html new file mode 100644 index 000000000..4676efd4f --- /dev/null +++ b/doc/doc++/osg/globalnotifylevel..html @@ -0,0 +1,16 @@ + + + + + osg::global notify level. + + + + +

      osg::global notify level.

      +
      global notify level.
      +

      Alphabetic index Hierarchy of classes


      +
      +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/globalnotifynulstream..html b/doc/doc++/osg/globalnotifynulstream..html new file mode 100644 index 000000000..f4ddd6228 --- /dev/null +++ b/doc/doc++/osg/globalnotifynulstream..html @@ -0,0 +1,16 @@ + + + + + osg::global notify nul stream. + + + + +

      osg::global notify nul stream.

      +
      global notify nul stream. added for Mac OSX global notify nul stream. added for Mac OSX
      +

      Alphabetic index Hierarchy of classes


      +
      +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/operator.2.html b/doc/doc++/osg/operator.2.html new file mode 100644 index 000000000..ef11b0723 --- /dev/null +++ b/doc/doc++/osg/operator.2.html @@ -0,0 +1,20 @@ + + + + + inline float osg::operator * + + + + +

      inline float osg::operator *

      (const Vec4& lhs,
        const Vec3& rhs)

      Compute the dot product of a Vec4 and a (Vec3,10)
      + + +
      +

      Documentation

      +
      Compute the dot product of a Vec4 and a (Vec3,10)
      +

      Alphabetic index HTML hierarchy of classes or Java


      +
      +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/operator.html b/doc/doc++/osg/operator.html new file mode 100644 index 000000000..b2fd348ed --- /dev/null +++ b/doc/doc++/osg/operator.html @@ -0,0 +1,20 @@ + + + + + inline float osg::operator * + + + + +

      inline float osg::operator *

      (const Vec3& lhs,
        const Vec4& rhs)

      Compute the dot product of a (Vec3,10) and a Vec4
      + + +
      +

      Documentation

      +
      Compute the dot product of a (Vec3,10) and a Vec4
      +

      Alphabetic index HTML hierarchy of classes or Java


      +
      +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/osg.html b/doc/doc++/osg/osg.html index 073e32572..4d7591001 100644 --- a/doc/doc++/osg/osg.html +++ b/doc/doc++/osg/osg.html @@ -341,7 +341,7 @@ class SG_EXPORT StateAttribute: public class SG_EXPORT StateSet: public Object
      Encapsulates OpenGL state modes and attributes.
      -class Statistics: public osg::Referenced, public osg::Drawable::AttributeFunctor +class Statistics: public osg::Referenced, public osg::Drawable::PrimitiveFunctor
      Statistics base class.
      class SG_EXPORT Stencil: public StateAttribute diff --git a/doc/doc++/osgDB/FilePathList.html b/doc/doc++/osgDB/FilePathList.html new file mode 100644 index 000000000..aab9805a0 --- /dev/null +++ b/doc/doc++/osgDB/FilePathList.html @@ -0,0 +1,20 @@ + + + + + typedef std::deque<std::string> osgDB::FilePathList + + + + +

      typedef std::deque<std::string> osgDB::FilePathList

      list of directories to search through which searching for files.
      + + +
      +

      Documentation

      +
      list of directories to search through which searching for files.
      +

      Alphabetic index HTML hierarchy of classes or Java


      +
      +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgDB/PushAndPopDataPath.html b/doc/doc++/osgDB/PushAndPopDataPath.html new file mode 100644 index 000000000..984738b1a --- /dev/null +++ b/doc/doc++/osgDB/PushAndPopDataPath.html @@ -0,0 +1,46 @@ + + + + + class osgDB::PushAndPopDataPath + + + + +

      class osgDB::PushAndPopDataPath

      Convinience class for pushing a path on construction, and popping the path and destruction.
      +
      + +
      +

      +

      Public Methods

      +[more] PushAndPopDataPath(const std::string& path) +
      +[more] ~PushAndPopDataPath() +

      + +
      + + +
      +

      Documentation

      +
      Convinience class for pushing a path on construction, and popping the path +and destruction. This helps keep the addition of a path local to a block +of code, even in the presence of exceptions.
      +
      + + + +
      o PushAndPopDataPath(const std::string& path) +

      + + +

      o ~PushAndPopDataPath() +

      + +
      This class has no child classes.
      + +

      Alphabetic index HTML hierarchy of classes or Java


      +
      +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgDB/fileExists.html b/doc/doc++/osgDB/fileExists.html new file mode 100644 index 000000000..2e6dd68be --- /dev/null +++ b/doc/doc++/osgDB/fileExists.html @@ -0,0 +1,20 @@ + + + + + OSGDB_EXPORT extern bool osgDB::fileExists + + + + +

      OSGDB_EXPORT extern bool osgDB::fileExists

      (const std::string& filename)

      return true if a file exisits.
      + + +
      +

      Documentation

      +
      return true if a file exisits.
      +

      Alphabetic index HTML hierarchy of classes or Java


      +
      +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgGA/GUIEventHandlerVisitor.html b/doc/doc++/osgGA/GUIEventHandlerVisitor.html index 121d37f3c..115b52194 100644 --- a/doc/doc++/osgGA/GUIEventHandlerVisitor.html +++ b/doc/doc++/osgGA/GUIEventHandlerVisitor.html @@ -23,24 +23,26 @@

      Public Methods

      -[more]virtual void visit(CompositeGUIEventHandler&) +[more]virtual void visit(GUIEventHandler&)
      -[more]virtual void visit(CameraManipulator&) +[more]virtual void visit(CompositeGUIEventHandler&)
      -[more]virtual void visit(StateSetManipulator&) +[more]virtual void visit(CameraManipulator&)
      -[more]const GUIEventAdapter* getGUIEventAdapter() +[more]virtual void visit(StateSetManipulator&) +
      +[more]const GUIEventAdapter* getGUIEventAdapter()
      Get the GUI EventAdapter associated with this GUIEventHandlerVisitor
      -[more]GUIActionAdapter* getGUIActionAdapter() +[more]GUIActionAdapter* getGUIActionAdapter()
      Get the GUI Action Adapter associated with this GEH Visitor

      Protected Methods

      -[more] GUIEventHandlerVisitor(GUIEventAdapter* in, GUIActionAdapter* out) +[more] GUIEventHandlerVisitor(GUIEventAdapter* in, GUIActionAdapter* out)
      -[more]virtual ~GUIEventHandlerVisitor() +[more]virtual ~GUIEventHandlerVisitor()

      @@ -58,32 +60,36 @@ need only override visit operations for the types of object they're interested i -
      ovirtual void visit(CompositeGUIEventHandler&) +
      ovirtual void visit(GUIEventHandler&)

      -

      ovirtual void visit(CameraManipulator&) +
      ovirtual void visit(CompositeGUIEventHandler&)

      +

      ovirtual void visit(CameraManipulator&) +

      + +

      ovirtual void visit(StateSetManipulator&)

      - +

      oconst GUIEventAdapter* getGUIEventAdapter()
      Get the GUI EventAdapter associated with this GUIEventHandlerVisitor

      - +

      oGUIActionAdapter* getGUIActionAdapter()
      Get the GUI Action Adapter associated with this GEH Visitor

      - +

      o GUIEventHandlerVisitor(GUIEventAdapter* in, GUIActionAdapter* out)

      - +

      ovirtual ~GUIEventHandlerVisitor()


      diff --git a/doc/doc++/osgGA/KeySwitchCameraManipulator.html b/doc/doc++/osgGA/KeySwitchCameraManipulator.html index c46e25fa3..f04483846 100644 --- a/doc/doc++/osgGA/KeySwitchCameraManipulator.html +++ b/doc/doc++/osgGA/KeySwitchCameraManipulator.html @@ -24,23 +24,25 @@

      Public Methods

      [more]void addCameraManipulator(int key, std::string name, CameraManipulator* cm)
      -[more]virtual void setCamera(osg::Camera* c) +[more]void addNumberedCameraManipulator(CameraManipulator* cm)
      -[more]virtual const osg::Camera* getCamera() const +[more]virtual void setCamera(osg::Camera* c)
      -[more]virtual osg::Camera* getCamera() +[more]virtual const osg::Camera* getCamera() const
      -[more]virtual void setNode(osg::Node* n) +[more]virtual osg::Camera* getCamera()
      -[more]virtual const osg::Node* getNode() const +[more]virtual void setNode(osg::Node* n)
      -[more]virtual osg::Node* getNode() +[more]virtual const osg::Node* getNode() const
      -[more]virtual void home(const GUIEventAdapter& ee, GUIActionAdapter& aa) +[more]virtual osg::Node* getNode()
      -[more]virtual void init(const GUIEventAdapter& ee, GUIActionAdapter& aa) +[more]virtual void home(const GUIEventAdapter& ee, GUIActionAdapter& aa)
      -[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) +[more]virtual void init(const GUIEventAdapter& ee, GUIActionAdapter& aa) +
      +[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us)

      @@ -77,40 +79,44 @@
      ovoid addCameraManipulator(int key, std::string name, CameraManipulator* cm)

      - + +

      ovoid addNumberedCameraManipulator(CameraManipulator* cm) +

      + +

      ovirtual void setCamera(osg::Camera* c)

      - +

      ovirtual const osg::Camera* getCamera() const

      - +

      ovirtual osg::Camera* getCamera()

      - +

      ovirtual void setNode(osg::Node* n)

      - +

      ovirtual const osg::Node* getNode() const

      - +

      ovirtual osg::Node* getNode()

      - +

      ovirtual void home(const GUIEventAdapter& ee, GUIActionAdapter& aa)

      - +

      ovirtual void init(const GUIEventAdapter& ee, GUIActionAdapter& aa)

      - +

      ovirtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us)

      diff --git a/doc/doc++/osgGLUT/Viewer.html b/doc/doc++/osgGLUT/Viewer.html index c0d4a344f..337be1534 100644 --- a/doc/doc++/osgGLUT/Viewer.html +++ b/doc/doc++/osgGLUT/Viewer.html @@ -42,11 +42,11 @@

      [more]virtual bool run()
      -[more]virtual float app(unsigned int viewport) +[more]virtual float app(unsigned int viewport)
      -[more]virtual float cull(unsigned int viewport) +[more]virtual float cull(unsigned int viewport)
      -[more]virtual float draw(unsigned int viewport) +[more]virtual float draw(unsigned int viewport)
      [more]long initClock()
      @@ -60,103 +60,105 @@
      [more]void help(std::ostream& fout)
      -[more]unsigned int registerCameraManipulator(osgGA::CameraManipulator* cm, unsigned int viewport = 0) +[more]unsigned int registerCameraManipulator(osgGA::CameraManipulator* cm, unsigned int viewport = 0)
      -[more]void selectCameraManipulator(unsigned int pos, unsigned int viewport = 0) +[more]void selectCameraManipulator(unsigned int pos, unsigned int viewport = 0)
      -[more]virtual void requestRedraw() +[more]void setEventHandler(osgGA::GUIEventHandler* handler, unsigned int viewport = 0)
      -[more]virtual void requestContinuousUpdate(bool ) +[more]virtual void requestRedraw()
      -[more]virtual void requestWarpPointer(int x, int y) +[more]virtual void requestContinuousUpdate(bool )
      -[more]void readCommandLine(std::vector<std::string>& commandLine) +[more]virtual void requestWarpPointer(int x, int y) +
      +[more]void readCommandLine(std::vector<std::string>& commandLine)
      read the command line string list, removing any matched control sequences
      -[more]void setDisplaySettings(osg::DisplaySettings* ds) +[more]void setDisplaySettings(osg::DisplaySettings* ds)
      -[more]osg::DisplaySettings* getDisplaySettings() +[more]osg::DisplaySettings* getDisplaySettings()
      -[more]const osg::DisplaySettings* getDisplaySettings() const +[more]const osg::DisplaySettings* getDisplaySettings() const

      Protected Fields

      -[more]static Viewer* s_theViewer +[more]static Viewer* s_theViewer
      -[more]unsigned int _focusedViewport +[more]unsigned int _focusedViewport
      -[more]std::string _saveFileName +[more]std::string _saveFileName
      -[more]bool _viewFrustumCullingActive +[more]bool _viewFrustumCullingActive
      -[more]bool _smallFeatureCullingActive +[more]bool _smallFeatureCullingActive
      -[more]int polymode +[more]int polymode
      -[more]int texture +[more]int texture
      -[more]int backface +[more]int backface
      -[more]int lighting +[more]int lighting
      -[more]int flat_shade +[more]int flat_shade
      -[more]float frRate +[more]float frRate
      -[more]int _printStats +[more]int _printStats
      -[more]bool _useDisplayLists +[more]bool _useDisplayLists
      -[more]osg::Timer _timer +[more]osg::Timer _timer
      -[more]osg::Timer_t _tickRatePerSecond +[more]osg::Timer_t _tickRatePerSecond
      -[more]osg::Timer_t _initialTick +[more]osg::Timer_t _initialTick
      -[more]osg::Timer_t _lastFrameTick +[more]osg::Timer_t _lastFrameTick
      -[more]osg::Timer_t _frameTick +[more]osg::Timer_t _frameTick
      -[more]osg::ref_ptr<osg::FrameStamp> _frameStamp +[more]osg::ref_ptr<osg::FrameStamp> _frameStamp
      -[more]osg::ref_ptr<osg::DisplaySettings> _displaySettings +[more]osg::ref_ptr<osg::DisplaySettings> _displaySettings

      Protected Methods

      -[more]typedef std::vector<osg::ref_ptr<osgGA::CameraManipulator> >virtual CameraManipList void clear() +[more]typedef std::vector<osg::ref_ptr<osgGA::CameraManipulator> >virtual CameraManipList void clear()
      -[more]virtual void display() +[more]virtual void display()
      -[more]virtual void reshape(GLint w, GLint h) +[more]virtual void reshape(GLint w, GLint h)
      -[more]virtual void mouseMotion(int x, int y) +[more]virtual void mouseMotion(int x, int y)
      -[more]virtual void mousePassiveMotion(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 mouse(int button, int state, int x, int y)
      -[more]virtual void keyboard(unsigned char key, int x, int y) +[more]virtual void keyboard(unsigned char key, int x, int y)
      -[more]void setFocusedViewport(unsigned int pos) +[more]void setFocusedViewport(unsigned int pos)
      -[more]int mapWindowXYToSceneView(int x, int y) +[more]int mapWindowXYToSceneView(int x, int y)
      -[more]void showStats(const unsigned int i) +[more]void showStats(const unsigned int i)
      -[more]osg::Timer_t clockTick() +[more]osg::Timer_t clockTick()
      -[more]osg::Timer_t frameTick() +[more]osg::Timer_t frameTick()

      Protected Members

      -[more]struct ViewportDef +[more]struct ViewportDef
      -[more]typedef std::vector<ViewportDef> ViewportList ViewportList _viewportList +[more]typedef std::vector<ViewportDef> ViewportList ViewportList _viewportList
      -[more]struct +[more]struct

      @@ -299,15 +301,15 @@ only available for backwards compatibility.

      -

      ovirtual float app(unsigned int viewport) +
      ovirtual float app(unsigned int viewport)

      -

      ovirtual float cull(unsigned int viewport) +
      ovirtual float cull(unsigned int viewport)

      -

      ovirtual float draw(unsigned int viewport) +
      ovirtual float draw(unsigned int viewport)

      @@ -335,219 +337,227 @@ only available for backwards compatibility.

      -

      ounsigned int registerCameraManipulator(osgGA::CameraManipulator* cm, unsigned int viewport = 0) +
      ounsigned int registerCameraManipulator(osgGA::CameraManipulator* cm, unsigned int viewport = 0)

      -

      ovoid selectCameraManipulator(unsigned int pos, unsigned int viewport = 0) +
      ovoid selectCameraManipulator(unsigned int pos, unsigned int viewport = 0) +

      + + +

      ovoid setEventHandler(osgGA::GUIEventHandler* handler, unsigned int viewport = 0)

      - +

      ovirtual void requestRedraw()

      - +

      ovirtual void requestContinuousUpdate(bool )

      - +

      ovirtual void requestWarpPointer(int x, int y)

      - +

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

      - +

      ovoid setDisplaySettings(osg::DisplaySettings* ds)

      - +

      oosg::DisplaySettings* getDisplaySettings()

      - +

      oconst osg::DisplaySettings* getDisplaySettings() const

      - +

      otypedef std::vector<osg::ref_ptr<osgGA::CameraManipulator> >virtual CameraManipList void clear()

      - +

      ovirtual void display()

      - +

      ovirtual void reshape(GLint w, GLint h)

      - +

      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)

      - +

      ovoid setFocusedViewport(unsigned int pos)

      - +

      oint mapWindowXYToSceneView(int x, int y)

      - +

      ovoid showStats(const unsigned int i)

      - +

      ostatic Viewer* s_theViewer

      - +

      ostruct ViewportDef

      - +
      oosg::ref_ptr<osgUtil::SceneView> sceneView

      - +

      ofloat viewport[4]

      - +

      oosg::ref_ptr<osgGA::CameraManipulator> _cameraManipulator

      - +

      oCameraManipList _cameraManipList +

      + + +

      oosg::ref_ptr<osgGA::GUIEventHandler> _eventHandler

      - -
      otypedef std::vector<ViewportDef> ViewportList ViewportList _viewportList + +
      otypedef std::vector<ViewportDef> ViewportList ViewportList _viewportList

      - +

      ounsigned int _focusedViewport

      - +

      ostd::string _saveFileName

      - +

      obool _viewFrustumCullingActive

      - +

      obool _smallFeatureCullingActive

      - +

      oint polymode

      - +

      oint texture

      - +

      oint backface

      - +

      oint lighting

      - +

      oint flat_shade

      - +

      ofloat frRate

      - +

      oint _printStats

      - +

      ostruct

      - +
      ofloat timeApp

      - +

      ofloat timeCull

      - +

      ofloat timeDraw

      - +

      ofloat timeFrame

      - +

      oosg::Timer_t frameend

      - +
      obool _useDisplayLists

      - +

      oosg::Timer _timer

      - +

      oosg::Timer_t _tickRatePerSecond

      - +

      oosg::Timer_t _initialTick

      - +

      oosg::Timer_t _lastFrameTick

      - +

      oosg::Timer_t _frameTick

      - +

      oosg::Timer_t clockTick()

      - +

      oosg::Timer_t frameTick()

      - +

      oosg::ref_ptr<osg::FrameStamp> _frameStamp

      - +

      oosg::ref_ptr<osg::DisplaySettings> _displaySettings

      diff --git a/doc/doc++/osgParticle/ParticleSystem.html b/doc/doc++/osgParticle/ParticleSystem.html index 04844935f..2a98abc87 100644 --- a/doc/doc++/osgParticle/ParticleSystem.html +++ b/doc/doc++/osgParticle/ParticleSystem.html @@ -41,81 +41,77 @@ [more]virtual void update(double dt)

      Update the particles.
      -[more]inline virtual bool getStats(osg::Statistics &stats) -
      -[more]inline bool isFrozen() const +[more]inline bool isFrozen() const
      Return true if the particle system is frozen
      -[more]inline void setFrozen(bool v) +[more]inline void setFrozen(bool v)
      Set or reset the frozen state.
      -[more]inline const osg::BoundingBox& getDefaultBoundingBox() const +[more]inline const osg::BoundingBox& getDefaultBoundingBox() const
      Get the default bounding box
      -[more]inline void setDefaultBoundingBox(const osg::BoundingBox &bbox) +[more]inline void setDefaultBoundingBox(const osg::BoundingBox &bbox)
      Set the default bounding box.
      -[more]inline bool getDoublePassRendering() const +[more]inline bool getDoublePassRendering() const
      Get the double pass rendering flag
      -[more]inline void setDoublePassRendering(bool v) +[more]inline void setDoublePassRendering(bool v)
      Set the double pass rendering flag.
      -[more]inline int numParticles() const +[more]inline int numParticles() const
      Get the number of allocated particles (alive + dead)
      -[more]inline int numDeadParticles() const +[more]inline int numDeadParticles() const
      Get the number of dead particles
      -[more]inline Particle* getParticle(int i) +[more]inline Particle* getParticle(int i)
      Get a pointer to the i-th particle
      -[more]inline const Particle* getParticle(int i) const +[more]inline const Particle* getParticle(int i) const
      Get a const pointer to the i-th particle
      -[more]inline void destroyParticle(int i) +[more]inline void destroyParticle(int i)
      -[more]inline int getLastFrameNumber() const +[more]inline int getLastFrameNumber() const
      Get the last frame number
      -[more]inline const bool computeBound() const +[more]inline const bool computeBound() const
      -[more]inline bool getStats(osg::Statistics &stats) +[more]inline void update_bounds(const osg::Vec3 &p, float r)
      -[more]inline void update_bounds(const osg::Vec3 &p, float r) -
      -[more]inline const Particle& getDefaultParticleTemplate() const +[more]inline const Particle& getDefaultParticleTemplate() const
      Get a reference to the default particle template
      -[more]inline void setDefaultParticleTemplate(const Particle &p) +[more]inline void setDefaultParticleTemplate(const Particle &p)
      Set the default particle template (particle is copied)
      -[more]inline bool getFreezeOnCull() const +[more]inline bool getFreezeOnCull() const
      Get whether the particle system can freeze when culled
      -[more]inline void setFreezeOnCull(bool v) +[more]inline void setFreezeOnCull(bool v)
      Set whether the particle system can freeze when culled (default is true)
      -[more]inline int getLevelOfDetail() const +[more]inline int getLevelOfDetail() const
      (EXPERIMENTAL) Get the level of detail
      -[more]inline void setLevelOfDetail(int v) +[more]inline void setLevelOfDetail(int v)
      (EXPERIMENTAL) Set the level of detail.
      -[more]inline Particle* createParticle(const Particle* ptemplate) +[more]inline Particle* createParticle(const Particle* ptemplate)

      Protected Methods

      -[more]virtual ~ParticleSystem() +[more]virtual ~ParticleSystem()
      -[more]ParticleSystem& operator=(const ParticleSystem &) +[more]ParticleSystem& operator=(const ParticleSystem &)
      -[more]inline virtual const bool computeBound() const +[more]inline virtual const bool computeBound() const
      -[more]virtual void drawImmediateMode(osg::State &state) +[more]virtual void drawImmediateMode(osg::State &state)
      -[more]void single_pass_render(const osg::Matrix &modelview) +[more]void single_pass_render(const osg::Matrix &modelview)

      @@ -163,60 +159,56 @@ If texturefile is empty, then texturing is turned off.
      ovirtual void update(double dt)
      Update the particles. Don't call this directly, use a ParticleSystemUpdater instead.

      - - -

      oinline virtual bool getStats(osg::Statistics &stats) -

      - +

      ovirtual ~ParticleSystem()

      - +

      oParticleSystem& operator=(const ParticleSystem &)

      - +

      oinline virtual const bool computeBound() const

      - +

      ovirtual void drawImmediateMode(osg::State &state)

      - +

      ovoid single_pass_render(const osg::Matrix &modelview)

      - +

      oinline bool isFrozen() const
      Return true if the particle system is frozen

      - +

      oinline void setFrozen(bool v)
      Set or reset the frozen state. When the particle system is frozen, emitters and programs won't do anything on it.

      - +

      oinline const osg::BoundingBox& getDefaultBoundingBox() const
      Get the default bounding box

      - +

      oinline void setDefaultBoundingBox(const osg::BoundingBox &bbox)
      Set the default bounding box. The default bounding box is used when a real bounding box cannot be computed, for example because no particles has been updated yet.

      - +

      oinline bool getDoublePassRendering() const
      Get the double pass rendering flag

      - +

      oinline void setDoublePassRendering(bool v)
      Set the double pass rendering flag. Double pass rendering avoids overdraw problems between particle systems @@ -226,79 +218,75 @@ If you set the default attributes with setDefaultAttributes, then t system will fall into a transparent bin.

      - +

      oinline int numParticles() const
      Get the number of allocated particles (alive + dead)

      - +

      oinline int numDeadParticles() const
      Get the number of dead particles

      - +

      oinline Particle* getParticle(int i)
      Get a pointer to the i-th particle

      - +

      oinline const Particle* getParticle(int i) const
      Get a const pointer to the i-th particle

      - +

      oinline void destroyParticle(int i)

      - +

      oinline int getLastFrameNumber() const
      Get the last frame number

      - +

      oinline const bool computeBound() const

      - - -

      oinline bool getStats(osg::Statistics &stats) -

      - +

      oinline void update_bounds(const osg::Vec3 &p, float r)

      - +

      oinline const Particle& getDefaultParticleTemplate() const
      Get a reference to the default particle template

      - +

      oinline void setDefaultParticleTemplate(const Particle &p)
      Set the default particle template (particle is copied)

      - +

      oinline bool getFreezeOnCull() const
      Get whether the particle system can freeze when culled

      - +

      oinline void setFreezeOnCull(bool v)
      Set whether the particle system can freeze when culled (default is true)

      - +

      oinline int getLevelOfDetail() const
      (EXPERIMENTAL) Get the level of detail

      - +

      oinline void setLevelOfDetail(int v)
      (EXPERIMENTAL) Set the level of detail. The total number of particles is divided by the detail value to get the actual number of particles to be drawn. This value must be greater than zero.

      - +

      oinline Particle* createParticle(const Particle* ptemplate)

      diff --git a/doc/doc++/osgUtil/ConvertGeoSetsToGeometryVisitor.html b/doc/doc++/osgUtil/ConvertGeoSetsToGeometryVisitor.html new file mode 100644 index 000000000..011f0de17 --- /dev/null +++ b/doc/doc++/osgUtil/ConvertGeoSetsToGeometryVisitor.html @@ -0,0 +1,60 @@ + + + + + class OSGUTIL_EXPORT osgUtil::Optimizer::ConvertGeoSetsToGeometryVisitor + + + + +

      class OSGUTIL_EXPORT ConvertGeoSetsToGeometryVisitor

      ConvertGeoSetsToGeometryVisitor all the old GeoSet Drawables to the new Geometry Drawables
      +
      + +

      Inheritance:

      + + + + + + + +
      + +
      +

      +

      Public Methods

      +[more] ConvertGeoSetsToGeometryVisitor() +
      +[more]virtual void apply(osg::Geode& geode) +
      +[more]virtual void apply(osg::Node& node) +

      + +
      + + +
      +

      Documentation

      +
      ConvertGeoSetsToGeometryVisitor all the old GeoSet Drawables to the new Geometry Drawables
      +
      + + + +
      o ConvertGeoSetsToGeometryVisitor() +

      + + +

      ovirtual void apply(osg::Geode& geode) +

      + + +

      ovirtual void apply(osg::Node& node) +

      + +
      This class has no child classes.
      + +

      Alphabetic index HTML hierarchy of classes or Java


      +
      +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgUtil/General.html b/doc/doc++/osgUtil/General.html index ceaa90001..03957ffa7 100644 --- a/doc/doc++/osgUtil/General.html +++ b/doc/doc++/osgUtil/General.html @@ -49,6 +49,9 @@ o#define OSGUTIL_RENDERBIN
      +onamespace +osg
      + o#define OSGUTIL_RENDERGRAPH
      diff --git a/doc/doc++/osgUtil/HIER.html b/doc/doc++/osgUtil/HIER.html index 7057866dd..e4d2051e8 100644 --- a/doc/doc++/osgUtil/HIER.html +++ b/doc/doc++/osgUtil/HIER.html @@ -20,6 +20,7 @@
    • osgUtil::InsertImpostorsVisitor
    • osgUtil::IntersectVisitor::IntersectState
    • osgUtil::IntersectVisitor +
    • osgUtil::Optimizer::MergeGeometryVisitor
    • osgUtil::Optimizer
    • osgUtil::RegisterRenderBinProxy
    • osgUtil::Optimizer::RemoveEmptyNodesVisitor diff --git a/doc/doc++/osgUtil/HIERjava.html b/doc/doc++/osgUtil/HIERjava.html index a8cc523a2..83ec3952d 100644 --- a/doc/doc++/osgUtil/HIERjava.html +++ b/doc/doc++/osgUtil/HIERjava.html @@ -93,6 +93,13 @@
    • + + + + + + + diff --git a/doc/doc++/osgUtil/LeafDepthSortFunctor.html b/doc/doc++/osgUtil/LeafDepthSortFunctor.html new file mode 100644 index 000000000..6ec082274 --- /dev/null +++ b/doc/doc++/osgUtil/LeafDepthSortFunctor.html @@ -0,0 +1,31 @@ + + + + + struct osgUtil::LeafDepthSortFunctor + + + + +

      struct osgUtil::LeafDepthSortFunctor

      +
      +

      +
      +[more]const bool operator() (const osg::ref_ptr<RenderLeaf>& lhs, const osg::ref_ptr<RenderLeaf>& rhs) +

      + + + +
      +

      Documentation

      +
      + + + +
      oconst bool operator() (const osg::ref_ptr<RenderLeaf>& lhs, const osg::ref_ptr<RenderLeaf>& rhs) +

      +

      Alphabetic index HTML hierarchy of classes or Java


      +
      +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgUtil/Optimizer.html b/doc/doc++/osgUtil/Optimizer.html index 4b8773935..cb873fbf3 100644 --- a/doc/doc++/osgUtil/Optimizer.html +++ b/doc/doc++/osgUtil/Optimizer.html @@ -43,6 +43,8 @@ class OSGUTIL_EXPORT CombineLODsVisitor class OSGUTIL_EXPORT StateVisitor: public osg::NodeVisitor
      Optimize State in the scene graph by removing duplicate state, replacing it with shared instances, both for StateAttributes, and whole StateSets +
      +class OSGUTIL_EXPORT MergeGeometryVisitor: public osg::NodeVisitor

      diff --git a/doc/doc++/osgUtil/RemoveEmptyNodesVisitor.html b/doc/doc++/osgUtil/RemoveEmptyNodesVisitor.html new file mode 100644 index 000000000..92494b100 --- /dev/null +++ b/doc/doc++/osgUtil/RemoveEmptyNodesVisitor.html @@ -0,0 +1,75 @@ + + + + + class OSGUTIL_EXPORT osgUtil::Optimizer::RemoveEmptyNodesVisitor + + + + +

      class OSGUTIL_EXPORT RemoveEmptyNodesVisitor

      Remove rendundent nodes, such as groups with one single child
      +
      + +

      Inheritance:

      + + + + + + + +
      + +
      +

      +

      Public Methods

      +[more] RemoveEmptyNodesVisitor() +
      +[more]virtual void apply(osg::Geode& geode) +
      +[more]virtual void apply(osg::Group& group) +
      +[more]void removeEmptyNodes() +

      + +

      +

      Public Members

      +[more]typedef std::set<osg::Node*> NodeList NodeList _redundentNodeList +

      + +
      + + +
      +

      Documentation

      +
      Remove rendundent nodes, such as groups with one single child
      +
      + + + +
      otypedef std::set<osg::Node*> NodeList NodeList _redundentNodeList +

      + + +

      o RemoveEmptyNodesVisitor() +

      + + +

      ovirtual void apply(osg::Geode& geode) +

      + + +

      ovirtual void apply(osg::Group& group) +

      + + +

      ovoid removeEmptyNodes() +

      + +
      This class has no child classes.
      + +

      Alphabetic index HTML hierarchy of classes or Java


      +
      +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgUtil/RemoveLowestStaticTransformsVisitor.html b/doc/doc++/osgUtil/RemoveLowestStaticTransformsVisitor.html new file mode 100644 index 000000000..ab9d79902 --- /dev/null +++ b/doc/doc++/osgUtil/RemoveLowestStaticTransformsVisitor.html @@ -0,0 +1,205 @@ + + + + + class OSGUTIL_EXPORT osgUtil::Optimizer::RemoveLowestStaticTransformsVisitor + + + + +

      class OSGUTIL_EXPORT RemoveLowestStaticTransformsVisitor

      Remove the lowest static transforms in the scene
      +
      + +

      Inheritance:

      + + + + + + + +
      + +
      +

      +

      Public Methods

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

      + +

      +

      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 +

      + +
      + + +
      +

      Documentation

      +
      Remove the lowest static transforms in the scene
      +
      + + + +
      o RemoveLowestStaticTransformsVisitor(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) +

      + + +

      obool removeTransforms() +

      + + +

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

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

      + + +

      ovoid add(osg::Object* obj) +

      + + +

      obool _containsTransform +

      + + +

      obool _canBeApplied +

      + + +

      oObjectSet _objectSet +

      + + + +
      ostruct ObjectStruct +

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

      + + +

      ovoid add(osg::Transform* transform, 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.
      + +

      Alphabetic index HTML hierarchy of classes or Java


      +
      +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgUtil/index.html b/doc/doc++/osgUtil/index.html index b72c71adf..fd6a6825d 100644 --- a/doc/doc++/osgUtil/index.html +++ b/doc/doc++/osgUtil/index.html @@ -10,6 +10,7 @@

      Table of Contents

      Namespaces

      Functions