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