diff --git a/doc/doc++/osg/AlphaFunc.html b/doc/doc++/osg/AlphaFunc.html index f6e525ed5..50017ef6a 100644 --- a/doc/doc++/osg/AlphaFunc.html +++ b/doc/doc++/osg/AlphaFunc.html @@ -28,14 +28,14 @@ [more] AlphaFunc(const AlphaFunc& af, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, AlphaFunc, ALPHAFUNC) +[more] META_StateAttribute(osg, AlphaFunc, ALPHAFUNC)
[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
-[more]inline void setFunction(ComparisonFunction func, float ref) +[more]inline void setFunction(ComparisonFunction func, float ref)
[more]inline ComparisonFunction getFunction() const
@@ -76,7 +76,7 @@
ovirtual const char* className() const
-ovirtual Type getType() const +ovirtual Type getType() const
ovirtual bool isTextureAttribute() const
@@ -109,9 +109,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

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

-

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

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

-

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

@@ -227,7 +227,7 @@ -

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

diff --git a/doc/doc++/osg/AnimationPath.html b/doc/doc++/osg/AnimationPath.html index 430e9d21b..f0b2840b8 100644 --- a/doc/doc++/osg/AnimationPath.html +++ b/doc/doc++/osg/AnimationPath.html @@ -96,9 +96,9 @@

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -185,7 +185,7 @@ be attached directly to Transform nodes to move subgraphs around the scene.

-

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

@@ -201,7 +201,7 @@ be attached directly to Transform nodes to move subgraphs around the scene.

-

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

diff --git a/doc/doc++/osg/AnimationPathCallback.html b/doc/doc++/osg/AnimationPathCallback.html index 4e8ac44f3..5418eecda 100644 --- a/doc/doc++/osg/AnimationPathCallback.html +++ b/doc/doc++/osg/AnimationPathCallback.html @@ -68,7 +68,7 @@

Public Methods

-oMETA_Object(osg, NodeCallback) ()(Node* node, NodeVisitor* nv) +oMETA_Object(osg, NodeCallback) ()(Node* node, NodeVisitor* nv)
ovoid traverse(Node* node, NodeVisitor* nv)
@@ -96,9 +96,9 @@
ovirtual const char* className() const
-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -114,7 +114,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

diff --git a/doc/doc++/osg/ApplicationUsage.html b/doc/doc++/osg/ApplicationUsage.html index f2b1e2c69..3642b140e 100644 --- a/doc/doc++/osg/ApplicationUsage.html +++ b/doc/doc++/osg/ApplicationUsage.html @@ -18,7 +18,7 @@
[more] ApplicationUsage(const std::string& commandLineUsage)
-[more]void setApplicationName(const std::string& name) +[more]void setApplicationName(const std::string& name)
[more]const std::string& getApplicationName() const
@@ -98,7 +98,7 @@

-

ovoid setApplicationName(const std::string& name) +
ovoid setApplicationName(const std::string& name)

diff --git a/doc/doc++/osg/Array.html b/doc/doc++/osg/Array.html index f84ed412d..df5ed20b1 100644 --- a/doc/doc++/osg/Array.html +++ b/doc/doc++/osg/Array.html @@ -24,7 +24,7 @@

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] Array(const Array& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
[more]virtual bool isSameKindAs(const Object* obj) const
@@ -81,9 +81,9 @@
ovirtual Object* clone(const CopyOp&) const
-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -99,7 +99,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -196,7 +196,7 @@

-

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

diff --git a/doc/doc++/osg/AutoTransform.html b/doc/doc++/osg/AutoTransform.html index 4652fb7a9..f7d8dc8b2 100644 --- a/doc/doc++/osg/AutoTransform.html +++ b/doc/doc++/osg/AutoTransform.html @@ -51,9 +51,9 @@

[more]inline const Quat& getRotation() const
-[more]inline void setScale(float scale) +[more]inline void setScale(float scale)
-[more]inline void setScale(const Vec3& scale) +[more]inline void setScale(const Vec3& scale)
[more]inline const Vec3& getScale() const
@@ -137,15 +137,15 @@
ovirtual const DOFTransform* asDOFTransform() const
-ovoid setReferenceFrame(ReferenceFrame rf) +ovoid setReferenceFrame(ReferenceFrame rf)
-oReferenceFrame getReferenceFrame() const +oReferenceFrame getReferenceFrame() const
-ovoid setComputeTransformCallback(ComputeTransformCallback* ctc) +ovoid setComputeTransformCallback(ComputeTransformCallback* ctc)
-oComputeTransformCallback* getComputeTransformCallback() +oComputeTransformCallback* getComputeTransformCallback()
-oconst ComputeTransformCallback* getComputeTransformCallback() const +oconst ComputeTransformCallback* getComputeTransformCallback() const
oinline bool getLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const
@@ -161,9 +161,9 @@

Protected Fields

-oref_ptr<ComputeTransformCallback> _computeTransformCallback +oref_ptr<ComputeTransformCallback> _computeTransformCallback
-oReferenceFrame _referenceFrame +oReferenceFrame _referenceFrame

@@ -217,15 +217,15 @@

Public Methods

ovirtual void ascend(NodeVisitor& nv)
-oinline void setName( const std::string& name ) +oinline void setName( const std::string& name )
-oinline void setName( const char* name ) +oinline void setName( const char* name )
oinline const std::string& getName() const
-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
-oinline ParentList getParents() +oinline ParentList getParents()
oinline Group* getParent(unsigned int i)
@@ -259,13 +259,13 @@
obool containsOccluderNodes() const
-oinline void setNodeMask(NodeMask nm) +oinline void setNodeMask(NodeMask nm)
-oinline NodeMask getNodeMask() const +oinline NodeMask getNodeMask() const
-oinline const DescriptionList& getDescriptions() const +oinline const DescriptionList& getDescriptions() const
-oinline DescriptionList& getDescriptions() +oinline DescriptionList& getDescriptions()
oinline const std::string& getDescription(unsigned int i) const
@@ -305,7 +305,7 @@
ostd::string _name
-oParentList _parents +oParentList _parents
oref_ptr<NodeCallback> _updateCallback
@@ -319,9 +319,9 @@
ounsigned int _numChildrenWithOccluderNodes
-oNodeMask _nodeMask +oNodeMask _nodeMask
-oDescriptionList _descriptions +oDescriptionList _descriptions
oref_ptr<StateSet> _stateset

@@ -344,9 +344,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -459,11 +459,11 @@ to keep its children relative to screen space coordinates

-

oinline void setScale(float scale) +
oinline void setScale(float scale)

-

oinline void setScale(const Vec3& scale) +
oinline void setScale(const Vec3& scale)

diff --git a/doc/doc++/osg/Billboard.html b/doc/doc++/osg/Billboard.html index d9d327896..1c35b3f49 100644 --- a/doc/doc++/osg/Billboard.html +++ b/doc/doc++/osg/Billboard.html @@ -172,15 +172,15 @@

ovirtual void traverse(NodeVisitor& )
-oinline void setName( const std::string& name ) +oinline void setName( const std::string& name )
-oinline void setName( const char* name ) +oinline void setName( const char* name )
oinline const std::string& getName() const
-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
-oinline ParentList getParents() +oinline ParentList getParents()
oinline Group* getParent(unsigned int i)
@@ -214,13 +214,13 @@
obool containsOccluderNodes() const
-oinline void setNodeMask(NodeMask nm) +oinline void setNodeMask(NodeMask nm)
-oinline NodeMask getNodeMask() const +oinline NodeMask getNodeMask() const
-oinline const DescriptionList& getDescriptions() const +oinline const DescriptionList& getDescriptions() const
-oinline DescriptionList& getDescriptions() +oinline DescriptionList& getDescriptions()
oinline const std::string& getDescription(unsigned int i) const
@@ -260,7 +260,7 @@
ostd::string _name
-oParentList _parents +oParentList _parents
oref_ptr<NodeCallback> _updateCallback
@@ -274,9 +274,9 @@
ounsigned int _numChildrenWithOccluderNodes
-oNodeMask _nodeMask +oNodeMask _nodeMask
-oDescriptionList _descriptions +oDescriptionList _descriptions
oref_ptr<StateSet> _stateset

@@ -299,9 +299,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

diff --git a/doc/doc++/osg/BlendFunc.html b/doc/doc++/osg/BlendFunc.html index e9576cb1a..e3bef5996 100644 --- a/doc/doc++/osg/BlendFunc.html +++ b/doc/doc++/osg/BlendFunc.html @@ -30,12 +30,12 @@ [more] BlendFunc(const BlendFunc& trans, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, BlendFunc, BLENDFUNC) +[more] META_StateAttribute(osg, BlendFunc, BLENDFUNC)
[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
[more]inline void setFunction( GLenum source, GLenum destination )
@@ -82,7 +82,7 @@
ovirtual const char* className() const
-ovirtual Type getType() const +ovirtual Type getType() const
ovirtual bool isTextureAttribute() const
@@ -115,9 +115,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -186,7 +186,7 @@

-

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

@@ -195,7 +195,7 @@

-

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

diff --git a/doc/doc++/osg/BoundingBox.html b/doc/doc++/osg/BoundingBox.html index d9c3d6189..beea31e02 100644 --- a/doc/doc++/osg/BoundingBox.html +++ b/doc/doc++/osg/BoundingBox.html @@ -80,7 +80,7 @@ [more]inline void expandBy(const Vec3& v)

If the vertex is out-with the box expand to encompass vertex.
-[more]inline void expandBy(float x, float y, float z) +[more]inline void expandBy(float x, float y, float z)
If the vertex is out-with the box expand to encompass vertex.
[more]void expandBy(const BoundingBox& bb) @@ -229,7 +229,7 @@ If this box is empty then move set this box's min max to vertex.

-

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

diff --git a/doc/doc++/osg/Box.html b/doc/doc++/osg/Box.html index 42601c817..4f6ebc595 100644 --- a/doc/doc++/osg/Box.html +++ b/doc/doc++/osg/Box.html @@ -22,49 +22,49 @@

Public Methods

-[more] Box() +[more] Box()
-[more] Box(const osg::Vec3& center, float width) +[more] Box(const osg::Vec3& center, float width)
-[more] Box(const osg::Vec3& center, float lengthX, float lengthY, float lengthZ) +[more] Box(const osg::Vec3& center, float lengthX, float lengthY, float lengthZ)
-[more] Box(const Box& box, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Box(const Box& box, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more] META_Shape(osg, Box) +[more] META_Shape(osg, Box)
-[more]inline bool valid() const +[more]inline bool valid() const
-[more]inline void set(const Vec3& center, const Vec3& halfLengths) +[more]inline void set(const Vec3& center, const Vec3& halfLengths)
-[more]inline void setCenter(const Vec3& center) +[more]inline void setCenter(const Vec3& center)
-[more]inline const Vec3& getCenter() const +[more]inline const Vec3& getCenter() const
-[more]inline void setHalfLengths(const Vec3& halfLengths) +[more]inline void setHalfLengths(const Vec3& halfLengths)
-[more]inline const Vec3& getHalfLengths() const +[more]inline const Vec3& getHalfLengths() const
-[more]inline void setRotation(const Quat& quat) +[more]inline void setRotation(const Quat& quat)
-[more]inline const Quat& getRotation() const +[more]inline const Quat& getRotation() const
-[more]inline Matrix getRotationMatrix() const +[more]inline Matrix getRotationMatrix() const
-[more]inline bool zeroRotation() const +[more]inline bool zeroRotation() const

Protected Fields

-[more]Vec3 _center +[more]Vec3 _center
-[more]Vec3 _halfLengths +[more]Vec3 _halfLengths
-[more]Quat _rotation +[more]Quat _rotation

Protected Methods

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

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

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -148,79 +148,79 @@
- +
o Box()

- -

o Box(const osg::Vec3& center, float width) + +
o Box(const osg::Vec3& center, float width)

- +

o Box(const osg::Vec3& center, float lengthX, float lengthY, float lengthZ)

- -

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

- +

o META_Shape(osg, Box)

- +

oinline bool valid() const

- +

oinline void set(const Vec3& center, const Vec3& halfLengths)

- +

oinline void setCenter(const Vec3& center)

- +

oinline const Vec3& getCenter() const

- +

oinline void setHalfLengths(const Vec3& halfLengths)

- +

oinline const Vec3& getHalfLengths() const

- +

oinline void setRotation(const Quat& quat)

- +

oinline const Quat& getRotation() const

- +

oinline Matrix getRotationMatrix() const

- +

oinline bool zeroRotation() const

- +

ovirtual ~Box()

- +

oVec3 _center

- +

oVec3 _halfLengths

- +

oQuat _rotation

diff --git a/doc/doc++/osg/ClearNode.html b/doc/doc++/osg/ClearNode.html index 43ac3bb47..eeb3e16e0 100644 --- a/doc/doc++/osg/ClearNode.html +++ b/doc/doc++/osg/ClearNode.html @@ -121,15 +121,15 @@
ovirtual void ascend(NodeVisitor& nv)
-oinline void setName( const std::string& name ) +oinline void setName( const std::string& name )
-oinline void setName( const char* name ) +oinline void setName( const char* name )
oinline const std::string& getName() const
-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
-oinline ParentList getParents() +oinline ParentList getParents()
oinline Group* getParent(unsigned int i)
@@ -163,13 +163,13 @@
obool containsOccluderNodes() const
-oinline void setNodeMask(NodeMask nm) +oinline void setNodeMask(NodeMask nm)
-oinline NodeMask getNodeMask() const +oinline NodeMask getNodeMask() const
-oinline const DescriptionList& getDescriptions() const +oinline const DescriptionList& getDescriptions() const
-oinline DescriptionList& getDescriptions() +oinline DescriptionList& getDescriptions()
oinline const std::string& getDescription(unsigned int i) const
@@ -209,7 +209,7 @@
ostd::string _name
-oParentList _parents +oParentList _parents
oref_ptr<NodeCallback> _updateCallback
@@ -223,9 +223,9 @@
ounsigned int _numChildrenWithOccluderNodes
-oNodeMask _nodeMask +oNodeMask _nodeMask
-oDescriptionList _descriptions +oDescriptionList _descriptions
oref_ptr<StateSet> _stateset

@@ -248,9 +248,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

diff --git a/doc/doc++/osg/ClipNode.html b/doc/doc++/osg/ClipNode.html index a68edd3a1..23540643f 100644 --- a/doc/doc++/osg/ClipNode.html +++ b/doc/doc++/osg/ClipNode.html @@ -144,15 +144,15 @@
ovirtual void ascend(NodeVisitor& nv)
-oinline void setName( const std::string& name ) +oinline void setName( const std::string& name )
-oinline void setName( const char* name ) +oinline void setName( const char* name )
oinline const std::string& getName() const
-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
-oinline ParentList getParents() +oinline ParentList getParents()
oinline Group* getParent(unsigned int i)
@@ -186,13 +186,13 @@
obool containsOccluderNodes() const
-oinline void setNodeMask(NodeMask nm) +oinline void setNodeMask(NodeMask nm)
-oinline NodeMask getNodeMask() const +oinline NodeMask getNodeMask() const
-oinline const DescriptionList& getDescriptions() const +oinline const DescriptionList& getDescriptions() const
-oinline DescriptionList& getDescriptions() +oinline DescriptionList& getDescriptions()
oinline const std::string& getDescription(unsigned int i) const
@@ -232,7 +232,7 @@
ostd::string _name
-oParentList _parents +oParentList _parents
oref_ptr<NodeCallback> _updateCallback
@@ -246,9 +246,9 @@
ounsigned int _numChildrenWithOccluderNodes
-oNodeMask _nodeMask +oNodeMask _nodeMask
-oDescriptionList _descriptions +oDescriptionList _descriptions
oref_ptr<StateSet> _stateset

@@ -271,9 +271,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

diff --git a/doc/doc++/osg/ClipPlane.html b/doc/doc++/osg/ClipPlane.html index 5142bf07b..494f1ffe0 100644 --- a/doc/doc++/osg/ClipPlane.html +++ b/doc/doc++/osg/ClipPlane.html @@ -29,17 +29,17 @@
[more]inline ClipPlane(unsigned int no, const Plane& plane)
-[more]inline ClipPlane(unsigned int no, double a, double b, double c, double d) +[more]inline ClipPlane(unsigned int no, double a, double b, double c, double d)
[more] ClipPlane(const ClipPlane& cp, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, ClipPlane, (Type)(CLIPPLANE+_clipPlaneNum)) +[more] META_StateAttribute(osg, ClipPlane, (Type)(CLIPPLANE+_clipPlaneNum))
[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
[more]void setClipPlane(const Vec4& plane)
Set the clip plane, using a Vec4 to define plane. @@ -50,7 +50,7 @@ [more]void setClipPlane(const double* plane)
Set the clip plane, using a double[4] to define plane.
-[more]void setClipPlane(double a, double b, double c, double d) +[more]void setClipPlane(double a, double b, double c, double d)
Set the clip plane, using a a to define plane.
[more]void getClipPlane(Vec4& plane) const @@ -99,7 +99,7 @@
ovirtual const char* className() const
-ovirtual Type getType() const +ovirtual Type getType() const
ovirtual bool isTextureAttribute() const
@@ -132,9 +132,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -202,7 +202,7 @@

-

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

@@ -211,7 +211,7 @@

-

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

@@ -220,7 +220,7 @@

-

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

@@ -239,7 +239,7 @@

-

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

diff --git a/doc/doc++/osg/CollectOccludersVisitor.html b/doc/doc++/osg/CollectOccludersVisitor.html index 890eb74b9..95b51ecf5 100644 --- a/doc/doc++/osg/CollectOccludersVisitor.html +++ b/doc/doc++/osg/CollectOccludersVisitor.html @@ -98,9 +98,9 @@

Public Methods

-oinline void setVisitorType(VisitorType type) +oinline void setVisitorType(VisitorType type)
-oinline VisitorType getVisitorType() const +oinline VisitorType getVisitorType() const
oinline void setTraversalNumber(int fn)
@@ -120,9 +120,9 @@
oinline bool validNodeMask(const osg::Node& node) const
-oinline void setTraversalMode(TraversalMode mode) +oinline void setTraversalMode(TraversalMode mode)
-oinline TraversalMode getTraversalMode() const +oinline TraversalMode getTraversalMode() const
oinline void setUserData(Referenced* obj)
@@ -161,13 +161,13 @@ class DatabaseRequestHandler:

Protected Fields

-oVisitorType _visitorType +oVisitorType _visitorType
oint _traversalNumber
oref_ptr<FrameStamp> _frameStamp
-oTraversalMode _traversalMode +oTraversalMode _traversalMode
oNode::NodeMask _traversalMask
diff --git a/doc/doc++/osg/ColorMask.html b/doc/doc++/osg/ColorMask.html index a5cb7cb6d..22f2fa366 100644 --- a/doc/doc++/osg/ColorMask.html +++ b/doc/doc++/osg/ColorMask.html @@ -30,7 +30,7 @@ [more] ColorMask(const ColorMask& cm, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, ColorMask, COLORMASK) +[more] META_StateAttribute(osg, ColorMask, COLORMASK)
[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs @@ -79,7 +79,7 @@
ovirtual const char* className() const
-ovirtual Type getType() const +ovirtual Type getType() const
ovirtual bool isTextureAttribute() const
@@ -89,7 +89,7 @@
obool operator != (const StateAttribute& rhs) const
-ovirtual void getAssociatedModes(std::vector<GLMode>& ) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
ovirtual void compile(State&) const

@@ -114,9 +114,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

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

-

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

diff --git a/doc/doc++/osg/ColorMatrix.html b/doc/doc++/osg/ColorMatrix.html index a69da0645..2bca537a5 100644 --- a/doc/doc++/osg/ColorMatrix.html +++ b/doc/doc++/osg/ColorMatrix.html @@ -28,7 +28,7 @@ [more] ColorMatrix(const ColorMatrix& cm, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, ColorMatrix, COLORMATRIX) +[more] META_StateAttribute(osg, ColorMatrix, COLORMATRIX)
[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs @@ -71,7 +71,7 @@
ovirtual const char* className() const
-ovirtual Type getType() const +ovirtual Type getType() const
ovirtual bool isTextureAttribute() const
@@ -81,7 +81,7 @@
obool operator != (const StateAttribute& rhs) const
-ovirtual void getAssociatedModes(std::vector<GLMode>& ) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
ovirtual void compile(State&) const

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

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -173,7 +173,7 @@

-

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

diff --git a/doc/doc++/osg/CompositeShape.html b/doc/doc++/osg/CompositeShape.html index 879ea5623..b173dcccb 100644 --- a/doc/doc++/osg/CompositeShape.html +++ b/doc/doc++/osg/CompositeShape.html @@ -22,55 +22,55 @@

Public Methods

-[more] CompositeShape() +[more] CompositeShape()
-[more] CompositeShape(const CompositeShape& cs, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] CompositeShape(const CompositeShape& cs, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more] META_Shape(osg, CompositeShape) +[more] META_Shape(osg, CompositeShape)
-[more]void setShape(Shape* shape) +[more]void setShape(Shape* shape)
Set the shape that encloses all of the children
-[more]Shape* getShape() +[more]Shape* getShape()
Get the shape that encloses all of the children
-[more]const Shape* getShape() const +[more]const Shape* getShape() const
Get the const shape that encloses all of the children
-[more]unsigned int getNumChildren() const +[more]unsigned int getNumChildren() const
Get the number of children of this composite shape
-[more]Shape* getChild(unsigned int i) +[more]Shape* getChild(unsigned int i)
Get a child
-[more]const Shape* getChild(unsigned int i) const +[more]const Shape* getChild(unsigned int i) const
Get a const child
-[more]void addChild(Shape* shape) +[more]void addChild(Shape* shape)
Add a child to the list
-[more]void removeChild(unsigned int i) +[more]void removeChild(unsigned int i)
remove a child from the list
-[more]unsigned int findChildNo(Shape* shape) const +[more]unsigned int findChildNo(Shape* shape) const
find the index number of child, if child is not found then it returns getNumChildren(), so should be used in similar sytle of STL's result!=end()

Public Members

-[more]typedef std::vector< ref_ptr<Shape> > ChildList +[more]typedef std::vector< ref_ptr<Shape> > ChildList

Protected Fields

-[more]ref_ptr<Shape> _shape +[more]ref_ptr<Shape> _shape
-[more]ChildList _children +[more]ChildList _children

Protected Methods

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

@@ -98,9 +98,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -154,78 +154,78 @@
- +
otypedef std::vector< ref_ptr<Shape> > ChildList

- +

o CompositeShape()

- -

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

- +

o META_Shape(osg, CompositeShape)

- +

ovoid setShape(Shape* shape)
Set the shape that encloses all of the children

- +

oShape* getShape()
Get the shape that encloses all of the children

- +

oconst Shape* getShape() const
Get the const shape that encloses all of the children

- +

ounsigned int getNumChildren() const
Get the number of children of this composite shape

- +

oShape* getChild(unsigned int i)
Get a child

- +

oconst Shape* getChild(unsigned int i) const
Get a const child

- +

ovoid addChild(Shape* shape)
Add a child to the list

- +

ovoid removeChild(unsigned int i)
remove a child from the list

- +

ounsigned int findChildNo(Shape* shape) const
find the index number of child, if child is not found then it returns getNumChildren(), so should be used in similar sytle of STL's result!=end()

- +

o ~CompositeShape()

- +

oref_ptr<Shape> _shape

- -

oChildList _children + +
oChildList _children


This class has no child classes.
diff --git a/doc/doc++/osg/Cone.html b/doc/doc++/osg/Cone.html index 0680bd0a8..400e82748 100644 --- a/doc/doc++/osg/Cone.html +++ b/doc/doc++/osg/Cone.html @@ -22,57 +22,57 @@

Public Methods

-[more] Cone() +[more] Cone()
-[more] Cone(const osg::Vec3& center, float radius, float height) +[more] Cone(const osg::Vec3& center, float radius, float height)
-[more] Cone(const Cone& cone, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Cone(const Cone& cone, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more] META_Shape(osg, Cone) +[more] META_Shape(osg, Cone)
-[more]inline bool valid() const +[more]inline bool valid() const
-[more]inline void set(const Vec3& center, float radius, float height) +[more]inline void set(const Vec3& center, float radius, float height)
-[more]inline void setCenter(const Vec3& center) +[more]inline void setCenter(const Vec3& center)
-[more]inline const Vec3& getCenter() const +[more]inline const Vec3& getCenter() const
-[more]inline void setRadius(float radius) +[more]inline void setRadius(float radius)
-[more]inline float getRadius() const +[more]inline float getRadius() const
-[more]inline void setHeight(float height) +[more]inline void setHeight(float height)
-[more]inline float getHeight() const +[more]inline float getHeight() const
-[more]inline void setRotation(const Quat& quat) +[more]inline void setRotation(const Quat& quat)
-[more]inline const Quat& getRotation() const +[more]inline const Quat& getRotation() const
-[more]inline Matrix getRotationMatrix() const +[more]inline Matrix getRotationMatrix() const
-[more]inline bool zeroRotation() const +[more]inline bool zeroRotation() const
-[more]inline float getBaseOffsetFactor() const +[more]inline float getBaseOffsetFactor() const
-[more]inline float getBaseOffset() const +[more]inline float getBaseOffset() const

Protected Fields

-[more]Vec3 _center +[more]Vec3 _center
-[more]float _radius +[more]float _radius
-[more]float _height +[more]float _height
-[more]Quat _rotation +[more]Quat _rotation

Protected Methods

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

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

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -156,95 +156,95 @@
- +
o Cone()

- -

o Cone(const osg::Vec3& center, float radius, float height) + +
o Cone(const osg::Vec3& center, float radius, float height)

- -

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

- +

o META_Shape(osg, Cone)

- +

oinline bool valid() const

- -

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

- +

oinline void setCenter(const Vec3& center)

- +

oinline const Vec3& getCenter() const

- +

oinline void setRadius(float radius)

- +

oinline float getRadius() const

- -

oinline void setHeight(float height) + +
oinline void setHeight(float height)

- +

oinline float getHeight() const

- +

oinline void setRotation(const Quat& quat)

- +

oinline const Quat& getRotation() const

- +

oinline Matrix getRotationMatrix() const

- +

oinline bool zeroRotation() const

- +

oinline float getBaseOffsetFactor() const

- +

oinline float getBaseOffset() const

- +

ovirtual ~Cone()

- +

oVec3 _center

- +

ofloat _radius

- +

ofloat _height

- +

oQuat _rotation

diff --git a/doc/doc++/osg/ConstShapeVisitor.html b/doc/doc++/osg/ConstShapeVisitor.html index a24947a30..115ddf879 100644 --- a/doc/doc++/osg/ConstShapeVisitor.html +++ b/doc/doc++/osg/ConstShapeVisitor.html @@ -12,9 +12,9 @@

Public Methods

-[more] ConstShapeVisitor() +[more] ConstShapeVisitor()
-[more]virtual void apply(const CompositeShape&) +[more]virtual void apply(const CompositeShape&)

@@ -25,11 +25,11 @@
- +
o ConstShapeVisitor()

- +

ovirtual void apply(const CompositeShape&)

diff --git a/doc/doc++/osg/ConvexHull.html b/doc/doc++/osg/ConvexHull.html index 3ad3c8b5e..c29ff17e0 100644 --- a/doc/doc++/osg/ConvexHull.html +++ b/doc/doc++/osg/ConvexHull.html @@ -22,16 +22,16 @@

Public Methods

-[more] ConvexHull() +[more] ConvexHull()
-[more] ConvexHull(const ConvexHull& hull, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] ConvexHull(const ConvexHull& hull, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more] META_Shape(osg, TriangleMesh) +[more] META_Shape(osg, TriangleMesh)

Protected Methods

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

@@ -45,7 +45,7 @@
oconst Vec3Array* getVertices() const
-ovoid setIndices(IndexArray* indices) +ovoid setIndices(IndexArray* indices)
oIndexArray* getIndices()
@@ -84,9 +84,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -140,19 +140,19 @@
- +
o ConvexHull()

- -

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

- +

o META_Shape(osg, TriangleMesh)

- +

o ~ConvexHull()

diff --git a/doc/doc++/osg/ConvexPlanarOccluder.html b/doc/doc++/osg/ConvexPlanarOccluder.html index 751748420..df595a239 100644 --- a/doc/doc++/osg/ConvexPlanarOccluder.html +++ b/doc/doc++/osg/ConvexPlanarOccluder.html @@ -74,9 +74,9 @@
ovirtual const char* className() const
-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -92,7 +92,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

diff --git a/doc/doc++/osg/CopyOp.html b/doc/doc++/osg/CopyOp.html index 5f1414656..4fdddc7c2 100644 --- a/doc/doc++/osg/CopyOp.html +++ b/doc/doc++/osg/CopyOp.html @@ -17,7 +17,7 @@
[more]virtual ~CopyOp()
-[more]virtual Referenced* operator() (const Referenced* ref) const +[more]virtual Referenced* operator() (const Referenced* ref) const
[more]virtual Object* operator() (const Object* obj) const
@@ -33,7 +33,7 @@
[more]virtual Image* operator() (const Image* image) const
-[more]virtual Array* operator() (const Array* array) const +[more]virtual Array* operator() (const Array* array) const
[more]virtual PrimitiveSet* operator() (const PrimitiveSet* primitives) const
@@ -129,7 +129,7 @@ during copy construction and clone operation

-

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

@@ -161,7 +161,7 @@ during copy construction and clone operation

-

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

diff --git a/doc/doc++/osg/CullFace.html b/doc/doc++/osg/CullFace.html index c326dc694..92c37196e 100644 --- a/doc/doc++/osg/CullFace.html +++ b/doc/doc++/osg/CullFace.html @@ -28,12 +28,12 @@ [more] CullFace(const CullFace& cf, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, CullFace, CULLFACE) +[more] META_StateAttribute(osg, CullFace, CULLFACE)
[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
[more]inline void setMode(Mode mode)
@@ -72,7 +72,7 @@
ovirtual const char* className() const
-ovirtual Type getType() const +ovirtual Type getType() const
ovirtual bool isTextureAttribute() const
@@ -105,9 +105,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

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

-

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

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

-

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

diff --git a/doc/doc++/osg/Cylinder.html b/doc/doc++/osg/Cylinder.html index 26648d82a..f00805726 100644 --- a/doc/doc++/osg/Cylinder.html +++ b/doc/doc++/osg/Cylinder.html @@ -22,53 +22,53 @@

Public Methods

-[more] Cylinder() +[more] Cylinder()
-[more] Cylinder(const osg::Vec3& center, float radius, float height) +[more] Cylinder(const osg::Vec3& center, float radius, float height)
-[more] Cylinder(const Cylinder& cylinder, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Cylinder(const Cylinder& cylinder, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more] META_Shape(osg, Cylinder) +[more] META_Shape(osg, Cylinder)
-[more]inline bool valid() const +[more]inline bool valid() const
-[more]inline void set(const Vec3& center, float radius, float height) +[more]inline void set(const Vec3& center, float radius, float height)
-[more]inline void setCenter(const Vec3& center) +[more]inline void setCenter(const Vec3& center)
-[more]inline const Vec3& getCenter() const +[more]inline const Vec3& getCenter() const
-[more]inline void setRadius(float radius) +[more]inline void setRadius(float radius)
-[more]inline float getRadius() const +[more]inline float getRadius() const
-[more]inline void setHeight(float height) +[more]inline void setHeight(float height)
-[more]inline float getHeight() const +[more]inline float getHeight() const
-[more]inline void setRotation(const Quat& quat) +[more]inline void setRotation(const Quat& quat)
-[more]inline const Quat& getRotation() const +[more]inline const Quat& getRotation() const
-[more]inline Matrix getRotationMatrix() const +[more]inline Matrix getRotationMatrix() const
-[more]bool zeroRotation() const +[more]bool zeroRotation() const

Protected Fields

-[more]Vec3 _center +[more]Vec3 _center
-[more]float _radius +[more]float _radius
-[more]float _height +[more]float _height
-[more]Quat _rotation +[more]Quat _rotation

Protected Methods

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

@@ -96,9 +96,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -152,87 +152,87 @@
- +
o Cylinder()

- -

o Cylinder(const osg::Vec3& center, float radius, float height) + +
o Cylinder(const osg::Vec3& center, float radius, float height)

- -

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

- +

o META_Shape(osg, Cylinder)

- +

oinline bool valid() const

- -

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

- +

oinline void setCenter(const Vec3& center)

- +

oinline const Vec3& getCenter() const

- +

oinline void setRadius(float radius)

- +

oinline float getRadius() const

- -

oinline void setHeight(float height) + +
oinline void setHeight(float height)

- +

oinline float getHeight() const

- +

oinline void setRotation(const Quat& quat)

- +

oinline const Quat& getRotation() const

- +

oinline Matrix getRotationMatrix() const

- +

obool zeroRotation() const

- +

ovirtual ~Cylinder()

- +

oVec3 _center

- +

ofloat _radius

- +

ofloat _height

- +

oQuat _rotation

diff --git a/doc/doc++/osg/DOFTransform.html b/doc/doc++/osg/DOFTransform.html index ee804be3a..19c88b23e 100644 --- a/doc/doc++/osg/DOFTransform.html +++ b/doc/doc++/osg/DOFTransform.html @@ -55,41 +55,41 @@
[more]void updateCurrentHPR(const Vec3& hpr)
-[more]void setMinTranslate(const Vec3& translate) +[more]void setMinTranslate(const Vec3& translate)
[more]const Vec3& getMinTranslate() const
-[more]void setMaxTranslate(const Vec3& translate) +[more]void setMaxTranslate(const Vec3& translate)
[more]const Vec3& getMaxTranslate() const
-[more]void setIncrementTranslate(const Vec3& translate) +[more]void setIncrementTranslate(const Vec3& translate)
[more]const Vec3& getIncrementTranslate() const
-[more]void setCurrentTranslate(const Vec3& translate) +[more]void setCurrentTranslate(const Vec3& translate)
[more]inline const Vec3& getCurrentTranslate() const
-[more]void updateCurrentTranslate(const Vec3& translate) +[more]void updateCurrentTranslate(const Vec3& translate)
-[more]void setMinScale(const Vec3& scale) +[more]void setMinScale(const Vec3& scale)
[more]const Vec3& getMinScale() const
-[more]void setMaxScale(const Vec3& scale) +[more]void setMaxScale(const Vec3& scale)
[more]const Vec3& getMaxScale() const
-[more]void setIncrementScale(const Vec3& scale) +[more]void setIncrementScale(const Vec3& scale)
[more]const Vec3& getIncrementScale() const
-[more]void setCurrentScale(const Vec3& scale) +[more]void setCurrentScale(const Vec3& scale)
[more]inline const Vec3& getCurrentScale() const
-[more]void updateCurrentScale(const Vec3& scale) +[more]void updateCurrentScale(const Vec3& scale)
[more]void setPutMatrix(const Matrix& put)
@@ -174,15 +174,15 @@
ovirtual const PositionAttitudeTransform* asPositionAttitudeTransform() const
-ovoid setReferenceFrame(ReferenceFrame rf) +ovoid setReferenceFrame(ReferenceFrame rf)
-oReferenceFrame getReferenceFrame() const +oReferenceFrame getReferenceFrame() const
-ovoid setComputeTransformCallback(ComputeTransformCallback* ctc) +ovoid setComputeTransformCallback(ComputeTransformCallback* ctc)
-oComputeTransformCallback* getComputeTransformCallback() +oComputeTransformCallback* getComputeTransformCallback()
-oconst ComputeTransformCallback* getComputeTransformCallback() const +oconst ComputeTransformCallback* getComputeTransformCallback() const
oinline bool getLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const
@@ -198,9 +198,9 @@

Protected Fields

-oref_ptr<ComputeTransformCallback> _computeTransformCallback +oref_ptr<ComputeTransformCallback> _computeTransformCallback
-oReferenceFrame _referenceFrame +oReferenceFrame _referenceFrame

@@ -264,15 +264,15 @@
ovirtual void ascend(NodeVisitor& nv)
-oinline void setName( const std::string& name ) +oinline void setName( const std::string& name )
-oinline void setName( const char* name ) +oinline void setName( const char* name )
oinline const std::string& getName() const
-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
-oinline ParentList getParents() +oinline ParentList getParents()
oinline Group* getParent(unsigned int i)
@@ -306,13 +306,13 @@
obool containsOccluderNodes() const
-oinline void setNodeMask(NodeMask nm) +oinline void setNodeMask(NodeMask nm)
-oinline NodeMask getNodeMask() const +oinline NodeMask getNodeMask() const
-oinline const DescriptionList& getDescriptions() const +oinline const DescriptionList& getDescriptions() const
-oinline DescriptionList& getDescriptions() +oinline DescriptionList& getDescriptions()
oinline const std::string& getDescription(unsigned int i) const
@@ -352,7 +352,7 @@
ostd::string _name
-oParentList _parents +oParentList _parents
oref_ptr<NodeCallback> _updateCallback
@@ -366,9 +366,9 @@
ounsigned int _numChildrenWithOccluderNodes
-oNodeMask _nodeMask +oNodeMask _nodeMask
-oDescriptionList _descriptions +oDescriptionList _descriptions
oref_ptr<StateSet> _stateset

@@ -391,9 +391,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -511,7 +511,7 @@

-

ovoid setMinTranslate(const Vec3& translate) +
ovoid setMinTranslate(const Vec3& translate)

@@ -519,7 +519,7 @@

-

ovoid setMaxTranslate(const Vec3& translate) +
ovoid setMaxTranslate(const Vec3& translate)

@@ -527,7 +527,7 @@

-

ovoid setIncrementTranslate(const Vec3& translate) +
ovoid setIncrementTranslate(const Vec3& translate)

@@ -535,7 +535,7 @@

-

ovoid setCurrentTranslate(const Vec3& translate) +
ovoid setCurrentTranslate(const Vec3& translate)

@@ -543,11 +543,11 @@

-

ovoid updateCurrentTranslate(const Vec3& translate) +
ovoid updateCurrentTranslate(const Vec3& translate)

-

ovoid setMinScale(const Vec3& scale) +
ovoid setMinScale(const Vec3& scale)

@@ -555,7 +555,7 @@

-

ovoid setMaxScale(const Vec3& scale) +
ovoid setMaxScale(const Vec3& scale)

@@ -563,7 +563,7 @@

-

ovoid setIncrementScale(const Vec3& scale) +
ovoid setIncrementScale(const Vec3& scale)

@@ -571,7 +571,7 @@

-

ovoid setCurrentScale(const Vec3& scale) +
ovoid setCurrentScale(const Vec3& scale)

@@ -579,7 +579,7 @@

-

ovoid updateCurrentScale(const Vec3& scale) +
ovoid updateCurrentScale(const Vec3& scale)

diff --git a/doc/doc++/osg/DatabaseRequestHandler.html b/doc/doc++/osg/DatabaseRequestHandler.html index 72d78de0e..0eef962ac 100644 --- a/doc/doc++/osg/DatabaseRequestHandler.html +++ b/doc/doc++/osg/DatabaseRequestHandler.html @@ -23,12 +23,12 @@

Public Methods

-[more]virtual void requestNodeFile(const std::string& fileName, osg::Group* group) = 0 +[more]virtual void requestNodeFile(const std::string& fileName, osg::Group* group) = 0

Protected Methods

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

@@ -65,11 +65,11 @@
- +
ovirtual void requestNodeFile(const std::string& fileName, osg::Group* group) = 0

- +

ovirtual ~DatabaseRequestHandler()

diff --git a/doc/doc++/osg/DeleteHandler.html b/doc/doc++/osg/DeleteHandler.html index 9ef5f9057..6f257915b 100644 --- a/doc/doc++/osg/DeleteHandler.html +++ b/doc/doc++/osg/DeleteHandler.html @@ -13,14 +13,14 @@

Public Methods

-[more]virtual ~DeleteHandler() +[more]virtual ~DeleteHandler()
-[more]virtual void flush() +[more]virtual void flush()
flush any cache of objects that need to be deleted by doing an actual delete
-[more]inline void doDelete(const Referenced* object) +[more]inline void doDelete(const Referenced* object)
-[more]virtual void requestDelete(const Referenced* object) +[more]virtual void requestDelete(const Referenced* object)
Request the deletion of an object.

@@ -39,20 +39,20 @@ DeleteHandler's memory.
- +
ovirtual ~DeleteHandler()

- +

ovirtual void flush()
flush any cache of objects that need to be deleted by doing an actual delete

- +

oinline void doDelete(const Referenced* object)

- +

ovirtual void requestDelete(const Referenced* object)
Request the deletion of an object. Depending on users implementation of DeleteHandler, the delete of the object may occur diff --git a/doc/doc++/osg/Depth.html b/doc/doc++/osg/Depth.html index e231b5c77..ec0d0bebc 100644 --- a/doc/doc++/osg/Depth.html +++ b/doc/doc++/osg/Depth.html @@ -28,12 +28,12 @@ [more] Depth(const Depth& dp, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, Depth, DEPTH) +[more] META_StateAttribute(osg, Depth, DEPTH)
[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
[more]inline void setFunction(Function func)
@@ -88,7 +88,7 @@
ovirtual const char* className() const
-ovirtual Type getType() const +ovirtual Type getType() const
ovirtual bool isTextureAttribute() const
@@ -121,9 +121,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -226,7 +226,7 @@

-

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

@@ -235,7 +235,7 @@

-

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

diff --git a/doc/doc++/osg/DisplaySettings.html b/doc/doc++/osg/DisplaySettings.html index d023eb3e6..1dceabc71 100644 --- a/doc/doc++/osg/DisplaySettings.html +++ b/doc/doc++/osg/DisplaySettings.html @@ -55,7 +55,7 @@

[more]float getEyeSeparation() const
-[more]void setScreenDistance(float distance) +[more]void setScreenDistance(float distance)
[more]float getScreenDistance() const
@@ -79,7 +79,7 @@
[more]bool getSplitStereoAutoAjustAspectRatio() const
-[more]void setScreenHeight(float height) +[more]void setScreenHeight(float height)
[more]float getScreenHeight() const
@@ -289,7 +289,7 @@ have been set up, and the status of stereo viewing

-

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

@@ -365,7 +365,7 @@ have been set up, and the status of stereo viewing

-

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

diff --git a/doc/doc++/osg/DrawArrayLengths.html b/doc/doc++/osg/DrawArrayLengths.html index 2011e5692..78f6322a4 100644 --- a/doc/doc++/osg/DrawArrayLengths.html +++ b/doc/doc++/osg/DrawArrayLengths.html @@ -22,51 +22,51 @@

Public Methods

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

Protected Fields

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

Protected Methods

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

@@ -74,7 +74,7 @@

Public Methods

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

Protected Fields

-oType _primitiveType +oType _primitiveType
oGLenum _mode

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

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -156,83 +156,83 @@
- +
o DrawArrayLengths(GLenum mode=0)

- -

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

- -

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

- +

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

- +

o DrawArrayLengths(GLenum mode, GLint first)

- +

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

- +

ovirtual unsigned int getNumIndices() const

- +

ovirtual unsigned int index(unsigned int pos) const

- -

ovirtual void offsetIndices(int offset) + +
ovirtual void offsetIndices(int offset)

- +

ovirtual unsigned int getNumPrimitives() const

- +

ovirtual ~DrawArrayLengths()

- +

oGLint _first

diff --git a/doc/doc++/osg/DrawArrays.html b/doc/doc++/osg/DrawArrays.html index 7c0e6523c..8d4570f72 100644 --- a/doc/doc++/osg/DrawArrays.html +++ b/doc/doc++/osg/DrawArrays.html @@ -22,53 +22,53 @@

Public Methods

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

Protected Fields

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

Protected Methods

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

@@ -76,7 +76,7 @@

Public Methods

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

Protected Fields

-oType _primitiveType +oType _primitiveType
oGLenum _mode

@@ -104,9 +104,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -160,87 +160,87 @@
- +
o DrawArrays(GLenum mode=0)

- +

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

- -

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

- +

ovirtual Object* cloneType() const

- +

ovirtual Object* clone(const CopyOp& copyop) const

- +

ovirtual bool isSameKindAs(const Object* obj) const

- +

ovirtual const char* libraryName() const

- +

ovirtual const char* className() const

- +

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

- +

ovoid setFirst(GLint first)

- +

oGLint getFirst() const

- +

ovoid setCount(GLsizei count)

- +

oGLsizei getCount() const

- +

ovirtual void draw() const

- +

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

- +

ovirtual unsigned int getNumIndices() const

- +

ovirtual unsigned int index(unsigned int pos) const

- -

ovirtual void offsetIndices(int offset) + +
ovirtual void offsetIndices(int offset)

- +

ovirtual ~DrawArrays()

- +

oGLint _first

- +

oGLsizei _count

diff --git a/doc/doc++/osg/DrawElementsUByte.html b/doc/doc++/osg/DrawElementsUByte.html index 25bff2f7e..3652674c0 100644 --- a/doc/doc++/osg/DrawElementsUByte.html +++ b/doc/doc++/osg/DrawElementsUByte.html @@ -22,38 +22,38 @@

Public Methods

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

Protected Methods

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

@@ -61,7 +61,7 @@

Public Methods

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

Protected Fields

-oType _primitiveType +oType _primitiveType
oGLenum _mode

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

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -145,63 +145,63 @@
- +
o DrawElementsUByte(GLenum mode=0)

- -

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

- -

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

- +

o DrawElementsUByte(GLenum mode, unsigned int no)

- +

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

- +

ovirtual unsigned int getNumIndices() const

- +

ovirtual unsigned int index(unsigned int pos) const

- -

ovirtual void offsetIndices(int offset) + +
ovirtual void offsetIndices(int offset)

- +

ovirtual ~DrawElementsUByte()

diff --git a/doc/doc++/osg/DrawElementsUInt.html b/doc/doc++/osg/DrawElementsUInt.html index 707abc2fc..5c9ba20bb 100644 --- a/doc/doc++/osg/DrawElementsUInt.html +++ b/doc/doc++/osg/DrawElementsUInt.html @@ -22,38 +22,38 @@

Public Methods

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

Protected Methods

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

@@ -61,7 +61,7 @@

Public Methods

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

Protected Fields

-oType _primitiveType +oType _primitiveType
oGLenum _mode

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

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -145,63 +145,63 @@
- +
o DrawElementsUInt(GLenum mode=0)

- -

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

- -

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

- +

o DrawElementsUInt(GLenum mode, unsigned int no)

- +

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

- +

ovirtual unsigned int getNumIndices() const

- +

ovirtual unsigned int index(unsigned int pos) const

- -

ovirtual void offsetIndices(int offset) + +
ovirtual void offsetIndices(int offset)

- +

ovirtual ~DrawElementsUInt()

diff --git a/doc/doc++/osg/DrawElementsUShort.html b/doc/doc++/osg/DrawElementsUShort.html index 742587f12..73e880c80 100644 --- a/doc/doc++/osg/DrawElementsUShort.html +++ b/doc/doc++/osg/DrawElementsUShort.html @@ -22,40 +22,40 @@

Public Methods

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

Protected Methods

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

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

Public Methods

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

Protected Fields

-oType _primitiveType +oType _primitiveType
oGLenum _mode

@@ -91,9 +91,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -147,67 +147,67 @@
- +
o DrawElementsUShort(GLenum mode=0)

- -

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

- -

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

- +

o DrawElementsUShort(GLenum mode, unsigned int no)

- +

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

- +

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

- +

ovirtual unsigned int getNumIndices() const

- +

ovirtual unsigned int index(unsigned int pos) const

- -

ovirtual void offsetIndices(int offset) + +
ovirtual void offsetIndices(int offset)

- +

ovirtual ~DrawElementsUShort()

diff --git a/doc/doc++/osg/DrawPixels.html b/doc/doc++/osg/DrawPixels.html index 8161bcd6f..118d00e00 100644 --- a/doc/doc++/osg/DrawPixels.html +++ b/doc/doc++/osg/DrawPixels.html @@ -52,9 +52,9 @@
[more]void setUseCompleteImage()
-[more]void setSubImageDimensions(unsigned int offsetX, unsigned int offsetY, unsigned int width, unsigned int height) +[more]void setSubImageDimensions(unsigned int offsetX, unsigned int offsetY, unsigned int width, unsigned int height)
-[more]void getSubImageDimensions(unsigned int& offsetX, unsigned int& offsetY, unsigned int& width, unsigned int& height) const +[more]void getSubImageDimensions(unsigned int& offsetX, unsigned int& offsetY, unsigned int& width, unsigned int& height) const
[more]bool getUseSubImage() const
@@ -257,9 +257,9 @@ class SG_EXPORT Extensions: public

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -275,7 +275,7 @@ class SG_EXPORT Extensions: public

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -371,11 +371,11 @@ images using glDrawPixels

-

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

-

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

diff --git a/doc/doc++/osg/Drawable.html b/doc/doc++/osg/Drawable.html index 0755ebba7..b4403adab 100644 --- a/doc/doc++/osg/Drawable.html +++ b/doc/doc++/osg/Drawable.html @@ -261,9 +261,9 @@ class SG_EXPORT Extensions: public ovirtual Object* clone(const CopyOp&) const

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -279,7 +279,7 @@ class SG_EXPORT Extensions: public

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

diff --git a/doc/doc++/osg/Extensions.3.html b/doc/doc++/osg/Extensions.3.html index 37ceaaeb8..6fc19028a 100644 --- a/doc/doc++/osg/Extensions.3.html +++ b/doc/doc++/osg/Extensions.3.html @@ -23,95 +23,95 @@

Public Methods

-[more] Extensions() +[more] Extensions()
-[more] Extensions(const Extensions& rhs) +[more] Extensions(const Extensions& rhs)
-[more]void lowestCommonDenominator(const Extensions& rhs) +[more]void lowestCommonDenominator(const Extensions& rhs)
-[more]void setupGLExtenions() +[more]void setupGLExtenions()
-[more]void setMultiTexturingSupported(bool flag) +[more]void setMultiTexturingSupported(bool flag)
-[more]bool isMultiTexturingSupported() const +[more]bool isMultiTexturingSupported() const
-[more]void setTextureFilterAnisotropicSupported(bool flag) +[more]void setTextureFilterAnisotropicSupported(bool flag)
-[more]bool isTextureFilterAnisotropicSupported() const +[more]bool isTextureFilterAnisotropicSupported() const
-[more]void setTextureCompressionARBSupported(bool flag) +[more]void setTextureCompressionARBSupported(bool flag)
-[more]bool isTextureCompressionARBSupported() const +[more]bool isTextureCompressionARBSupported() const
-[more]void setTextureCompressionS3TCSupported(bool flag) +[more]void setTextureCompressionS3TCSupported(bool flag)
-[more]bool isTextureCompressionS3TCSupported() const +[more]bool isTextureCompressionS3TCSupported() const
-[more]void setTextureMirroredRepeatSupported(bool flag) +[more]void setTextureMirroredRepeatSupported(bool flag)
-[more]bool isTextureMirroredRepeatSupported() const +[more]bool isTextureMirroredRepeatSupported() const
-[more]void setTextureEdgeClampSupported(bool flag) +[more]void setTextureEdgeClampSupported(bool flag)
-[more]bool isTextureEdgeClampSupported() const +[more]bool isTextureEdgeClampSupported() const
-[more]void setTextureBorderClampSupported(bool flag) +[more]void setTextureBorderClampSupported(bool flag)
-[more]bool isTextureBorderClampSupported() const +[more]bool isTextureBorderClampSupported() const
-[more]void setGenerateMipMapSupported(bool flag) +[more]void setGenerateMipMapSupported(bool flag)
-[more]bool isGenerateMipMapSupported() const +[more]bool isGenerateMipMapSupported() const
-[more]void setMaxTextureSize(GLint maxsize) +[more]void setMaxTextureSize(GLint maxsize)
-[more]GLint maxTextureSize() const +[more]GLint maxTextureSize() const
-[more]bool isCompressedTexImage2DSupported() const +[more]bool isCompressedTexImage2DSupported() const
-[more]void setCompressedTexImage2DProc(void* ptr) +[more]void setCompressedTexImage2DProc(void* ptr)
-[more]void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data) const +[more]void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data) const
-[more]void setCompressedTexSubImage2DProc(void* ptr) +[more]void setCompressedTexSubImage2DProc(void* ptr)
-[more]void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei type, const GLvoid* data) const +[more]void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei type, const GLvoid* data) const
-[more]void setGetCompressedTexImageProc(void* ptr) +[more]void setGetCompressedTexImageProc(void* ptr)
-[more]void glGetCompressedTexImage(GLenum target, GLint level, GLvoid* data) const +[more]void glGetCompressedTexImage(GLenum target, GLint level, GLvoid* data) const

Protected Fields

-[more]bool _isMultiTexturingSupported +[more]bool _isMultiTexturingSupported
-[more]bool _isTextureFilterAnisotropicSupported +[more]bool _isTextureFilterAnisotropicSupported
-[more]bool _isTextureCompressionARBSupported +[more]bool _isTextureCompressionARBSupported
-[more]bool _isTextureCompressionS3TCSupported +[more]bool _isTextureCompressionS3TCSupported
-[more]bool _isTextureMirroredRepeatSupported +[more]bool _isTextureMirroredRepeatSupported
-[more]bool _isTextureEdgeClampSupported +[more]bool _isTextureEdgeClampSupported
-[more]bool _isTextureBorderClampSupported +[more]bool _isTextureBorderClampSupported
-[more]bool _isGenerateMipMapSupported +[more]bool _isGenerateMipMapSupported
-[more]GLint _maxTextureSize +[more]GLint _maxTextureSize
-[more]void* _glCompressedTexImage2D +[more]void* _glCompressedTexImage2D
-[more]void* _glCompressedTexSubImage2D +[more]void* _glCompressedTexSubImage2D
-[more]void* _glGetCompressedTexImage +[more]void* _glGetCompressedTexImage

Protected Methods

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

@@ -150,171 +150,171 @@ check for the extensions or use the associated functions
- +
o Extensions()

- -

o Extensions(const Extensions& rhs) + +
o Extensions(const Extensions& rhs)

- +

ovoid lowestCommonDenominator(const Extensions& rhs)

- +

ovoid setupGLExtenions()

- +

ovoid setMultiTexturingSupported(bool flag)

- +

obool isMultiTexturingSupported() const

- +

ovoid setTextureFilterAnisotropicSupported(bool flag)

- +

obool isTextureFilterAnisotropicSupported() const

- +

ovoid setTextureCompressionARBSupported(bool flag)

- +

obool isTextureCompressionARBSupported() const

- +

ovoid setTextureCompressionS3TCSupported(bool flag)

- +

obool isTextureCompressionS3TCSupported() const

- +

ovoid setTextureMirroredRepeatSupported(bool flag)

- +

obool isTextureMirroredRepeatSupported() const

- +

ovoid setTextureEdgeClampSupported(bool flag)

- +

obool isTextureEdgeClampSupported() const

- +

ovoid setTextureBorderClampSupported(bool flag)

- +

obool isTextureBorderClampSupported() const

- +

ovoid setGenerateMipMapSupported(bool flag)

- +

obool isGenerateMipMapSupported() const

- +

ovoid setMaxTextureSize(GLint maxsize)

- +

oGLint maxTextureSize() const

- +

obool isCompressedTexImage2DSupported() const

- -

ovoid setCompressedTexImage2DProc(void* ptr) + +
ovoid setCompressedTexImage2DProc(void* ptr)

- -

ovoid glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data) const + +
ovoid glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data) const

- -

ovoid setCompressedTexSubImage2DProc(void* ptr) + +
ovoid setCompressedTexSubImage2DProc(void* ptr)

- -

ovoid glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei type, const GLvoid* data) const + +
ovoid glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei type, const GLvoid* data) const

- -

ovoid setGetCompressedTexImageProc(void* ptr) + +
ovoid setGetCompressedTexImageProc(void* ptr)

- +

ovoid glGetCompressedTexImage(GLenum target, GLint level, GLvoid* data) const

- +

o ~Extensions()

- +

obool _isMultiTexturingSupported

- +

obool _isTextureFilterAnisotropicSupported

- +

obool _isTextureCompressionARBSupported

- +

obool _isTextureCompressionS3TCSupported

- +

obool _isTextureMirroredRepeatSupported

- +

obool _isTextureEdgeClampSupported

- +

obool _isTextureBorderClampSupported

- +

obool _isGenerateMipMapSupported

- +

oGLint _maxTextureSize

- +

ovoid* _glCompressedTexImage2D

- +

ovoid* _glCompressedTexSubImage2D

- +

ovoid* _glGetCompressedTexImage

diff --git a/doc/doc++/osg/Extensions.4.html b/doc/doc++/osg/Extensions.4.html index 2ab795e22..60deacad6 100644 --- a/doc/doc++/osg/Extensions.4.html +++ b/doc/doc++/osg/Extensions.4.html @@ -23,63 +23,63 @@

Public Methods

-[more] Extensions() +[more] Extensions()
-[more] Extensions(const Extensions& rhs) +[more] Extensions(const Extensions& rhs)
-[more]void lowestCommonDenominator(const Extensions& rhs) +[more]void lowestCommonDenominator(const Extensions& rhs)
-[more]void setupGLExtenions() +[more]void setupGLExtenions()
-[more]void setTexture3DSupported(bool flag) +[more]void setTexture3DSupported(bool flag)
-[more]bool isTexture3DSupported() const +[more]bool isTexture3DSupported() const
-[more]void setTexture3DFast(bool flag) +[more]void setTexture3DFast(bool flag)
-[more]bool isTexture3DFast() const +[more]bool isTexture3DFast() const
-[more]void setMaxTexture3DSize(GLint maxsize) +[more]void setMaxTexture3DSize(GLint maxsize)
-[more]GLint maxTexture3DSize() const +[more]GLint maxTexture3DSize() const
-[more]void setTexImage3DProc(void* ptr) +[more]void setTexImage3DProc(void* ptr)
-[more]void glTexImage3D( GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels) const +[more]void glTexImage3D( GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels) const
-[more]void setTexSubImage3DProc(void* ptr) +[more]void setTexSubImage3DProc(void* ptr)
-[more]void glTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels) const +[more]void glTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels) const
-[more]void setCopyTexSubImage3DProc(void* ptr) +[more]void setCopyTexSubImage3DProc(void* ptr)
-[more]void glCopyTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height ) const +[more]void glCopyTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height ) const
-[more]void setBuild3DMipmapsProc(void* ptr) +[more]void setBuild3DMipmapsProc(void* ptr)
-[more]void gluBuild3DMipmaps( GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* data) const +[more]void gluBuild3DMipmaps( GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* data) const

Protected Fields

-[more]bool _isTexture3DSupported +[more]bool _isTexture3DSupported
-[more]bool _isTexture3DFast +[more]bool _isTexture3DFast
-[more]GLint _maxTexture3DSize +[more]GLint _maxTexture3DSize
-[more]void* _glTexImage3D +[more]void* _glTexImage3D
-[more]void* _glTexSubImage3D +[more]void* _glTexSubImage3D
-[more]void* _glCopyTexSubImage3D +[more]void* _glCopyTexSubImage3D
-[more]void* _gluBuild3DMipmaps +[more]void* _gluBuild3DMipmaps

Protected Methods

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

@@ -118,107 +118,107 @@ check for the extensions or use the associated functions
- +
o Extensions()

- -

o Extensions(const Extensions& rhs) + +
o Extensions(const Extensions& rhs)

- +

ovoid lowestCommonDenominator(const Extensions& rhs)

- +

ovoid setupGLExtenions()

- +

ovoid setTexture3DSupported(bool flag)

- +

obool isTexture3DSupported() const

- +

ovoid setTexture3DFast(bool flag)

- +

obool isTexture3DFast() const

- +

ovoid setMaxTexture3DSize(GLint maxsize)

- +

oGLint maxTexture3DSize() const

- -

ovoid setTexImage3DProc(void* ptr) + +
ovoid setTexImage3DProc(void* ptr)

- -

ovoid glTexImage3D( GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels) const + +
ovoid glTexImage3D( GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels) const

- -

ovoid setTexSubImage3DProc(void* ptr) + +
ovoid setTexSubImage3DProc(void* ptr)

- -

ovoid glTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels) const + +
ovoid glTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels) const

- -

ovoid setCopyTexSubImage3DProc(void* ptr) + +
ovoid setCopyTexSubImage3DProc(void* ptr)

- -

ovoid glCopyTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height ) const + +
ovoid glCopyTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height ) const

- -

ovoid setBuild3DMipmapsProc(void* ptr) + +
ovoid setBuild3DMipmapsProc(void* ptr)

- -

ovoid gluBuild3DMipmaps( GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* data) const + +
ovoid gluBuild3DMipmaps( GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* data) const

- +

o ~Extensions()

- +

obool _isTexture3DSupported

- +

obool _isTexture3DFast

- +

oGLint _maxTexture3DSize

- +

ovoid* _glTexImage3D

- +

ovoid* _glTexSubImage3D

- +

ovoid* _glCopyTexSubImage3D

- +

ovoid* _gluBuild3DMipmaps

diff --git a/doc/doc++/osg/Extensions.5.html b/doc/doc++/osg/Extensions.5.html index a508b28e6..a5811ad60 100644 --- a/doc/doc++/osg/Extensions.5.html +++ b/doc/doc++/osg/Extensions.5.html @@ -23,27 +23,27 @@

Public Methods

-[more] Extensions() +[more] Extensions()
-[more] Extensions(const Extensions& rhs) +[more] Extensions(const Extensions& rhs)
-[more]void lowestCommonDenominator(const Extensions& rhs) +[more]void lowestCommonDenominator(const Extensions& rhs)
-[more]void setupGLExtenions() +[more]void setupGLExtenions()
-[more]void setCubeMapSupported(bool flag) +[more]void setCubeMapSupported(bool flag)
-[more]bool isCubeMapSupported() const +[more]bool isCubeMapSupported() const

Protected Fields

-[more]bool _isCubeMapSupported +[more]bool _isCubeMapSupported

Protected Methods

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

@@ -82,35 +82,35 @@ check for the extensions or use the associated functions
- +
o Extensions()

- -

o Extensions(const Extensions& rhs) + +
o Extensions(const Extensions& rhs)

- +

ovoid lowestCommonDenominator(const Extensions& rhs)

- +

ovoid setupGLExtenions()

- +

ovoid setCubeMapSupported(bool flag)

- +

obool isCubeMapSupported() const

- +

o ~Extensions()

- +

obool _isCubeMapSupported

diff --git a/doc/doc++/osg/Extensions.6.html b/doc/doc++/osg/Extensions.6.html index bd60da821..49f62dc55 100644 --- a/doc/doc++/osg/Extensions.6.html +++ b/doc/doc++/osg/Extensions.6.html @@ -23,47 +23,47 @@

Public Methods

-[more] Extensions() +[more] Extensions()
-[more] Extensions(const Extensions& rhs) +[more] Extensions(const Extensions& rhs)
-[more]void lowestCommonDenominator(const Extensions& rhs) +[more]void lowestCommonDenominator(const Extensions& rhs)
-[more]void setupGLExtenions() +[more]void setupGLExtenions()
-[more]void setVertexProgramSupported(bool flag) +[more]void setVertexProgramSupported(bool flag)
-[more]bool isVertexProgramSupported() const +[more]bool isVertexProgramSupported() const
-[more]void glBindProgram(GLenum target, GLuint id) const +[more]void glBindProgram(GLenum target, GLuint id) const
-[more]void glGenPrograms(GLsizei n, GLuint* programs) const +[more]void glGenPrograms(GLsizei n, GLuint* programs) const
-[more]void glDeletePrograms(GLsizei n, GLuint* programs) const +[more]void glDeletePrograms(GLsizei n, GLuint* programs) const
-[more]void glProgramString(GLenum target, GLenum format, GLsizei len, const void* string) const +[more]void glProgramString(GLenum target, GLenum format, GLsizei len, const void* string) const
-[more]void glProgramLocalParameter4fv(GLenum target, GLuint index, const GLfloat* params) const +[more]void glProgramLocalParameter4fv(GLenum target, GLuint index, const GLfloat* params) const

Protected Fields

-[more]bool _isVertexProgramSupported +[more]bool _isVertexProgramSupported
-[more]void* _glBindProgram +[more]void* _glBindProgram
-[more]void* _glGenPrograms +[more]void* _glGenPrograms
-[more]void* _glDeletePrograms +[more]void* _glDeletePrograms
-[more]void* _glProgramString +[more]void* _glProgramString
-[more]void* _glProgramLocalParameter4fv +[more]void* _glProgramLocalParameter4fv

Protected Methods

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

@@ -102,75 +102,75 @@ check for the extensions or use the associated functions
- +
o Extensions()

- -

o Extensions(const Extensions& rhs) + +
o Extensions(const Extensions& rhs)

- +

ovoid lowestCommonDenominator(const Extensions& rhs)

- +

ovoid setupGLExtenions()

- +

ovoid setVertexProgramSupported(bool flag)

- +

obool isVertexProgramSupported() const

- +

ovoid glBindProgram(GLenum target, GLuint id) const

- +

ovoid glGenPrograms(GLsizei n, GLuint* programs) const

- +

ovoid glDeletePrograms(GLsizei n, GLuint* programs) const

- +

ovoid glProgramString(GLenum target, GLenum format, GLsizei len, const void* string) const

- +

ovoid glProgramLocalParameter4fv(GLenum target, GLuint index, const GLfloat* params) const

- +

o ~Extensions()

- +

obool _isVertexProgramSupported

- +

ovoid* _glBindProgram

- +

ovoid* _glGenPrograms

- +

ovoid* _glDeletePrograms

- +

ovoid* _glProgramString

- +

ovoid* _glProgramLocalParameter4fv

diff --git a/doc/doc++/osg/Extensions.html b/doc/doc++/osg/Extensions.html index debf4d854..b4065cb13 100644 --- a/doc/doc++/osg/Extensions.html +++ b/doc/doc++/osg/Extensions.html @@ -83,9 +83,9 @@
[more]void glBindBuffer(GLenum target, GLuint buffer) const
-[more]void glBufferData(GLenum target, GLsizeiptrARB size, const GLvoid* data, GLenum usage) const +[more]void glBufferData(GLenum target, GLsizeiptrARB size, const GLvoid* data, GLenum usage) const
-[more]void glBufferSubData(GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid* data) const +[more]void glBufferSubData(GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid* data) const
[more]void glDeleteBuffers(GLsizei n, const GLuint* buffers) const
@@ -193,9 +193,9 @@
[more]typedef void (APIENTRY * BindBufferProc)(GLenum target, GLuint buffer)
-[more]typedef void (APIENTRY * BufferDataProc)(GLenum target, GLsizeiptrARB size, const GLvoid* data, GLenum usage) +[more]typedef void (APIENTRY * BufferDataProc)(GLenum target, GLsizeiptrARB size, const GLvoid* data, GLenum usage)
-[more]typedef void (APIENTRY * BufferSubDataProc)(GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid* data) +[more]typedef void (APIENTRY * BufferSubDataProc)(GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid* data)
[more]typedef void (APIENTRY * DeleteBuffersProc)(GLsizei n, const GLuint* buffers)
@@ -373,11 +373,11 @@ check for the extensions or use the associated functions

-

ovoid glBufferData(GLenum target, GLsizeiptrARB size, const GLvoid* data, GLenum usage) const +
ovoid glBufferData(GLenum target, GLsizeiptrARB size, const GLvoid* data, GLenum usage) const

-

ovoid glBufferSubData(GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid* data) const +
ovoid glBufferSubData(GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid* data) const

@@ -457,11 +457,11 @@ check for the extensions or use the associated functions

-

otypedef void (APIENTRY * BufferDataProc)(GLenum target, GLsizeiptrARB size, const GLvoid* data, GLenum usage) +
otypedef void (APIENTRY * BufferDataProc)(GLenum target, GLsizeiptrARB size, const GLvoid* data, GLenum usage)

-

otypedef void (APIENTRY * BufferSubDataProc)(GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid* data) +
otypedef void (APIENTRY * BufferSubDataProc)(GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid* data)

diff --git a/doc/doc++/osg/Fog.html b/doc/doc++/osg/Fog.html index 258282c37..d045c0a28 100644 --- a/doc/doc++/osg/Fog.html +++ b/doc/doc++/osg/Fog.html @@ -28,12 +28,12 @@ [more] Fog(const Fog& fog, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, Fog, FOG) +[more] META_StateAttribute(osg, Fog, FOG)
[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
[more]inline void setMode( Mode mode )
@@ -47,7 +47,7 @@
[more]inline float getStart() const
-[more]inline void setEnd( float end ) +[more]inline void setEnd( float end )
[more]inline float getEnd() const
@@ -104,7 +104,7 @@
ovirtual const char* className() const
-ovirtual Type getType() const +ovirtual Type getType() const
ovirtual bool isTextureAttribute() const
@@ -137,9 +137,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -204,7 +204,7 @@

-

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

@@ -213,7 +213,7 @@

-

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

@@ -259,7 +259,7 @@

-

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

diff --git a/doc/doc++/osg/FragmentProgram.html b/doc/doc++/osg/FragmentProgram.html index de65b3146..97619e894 100644 --- a/doc/doc++/osg/FragmentProgram.html +++ b/doc/doc++/osg/FragmentProgram.html @@ -28,12 +28,12 @@ [more] FragmentProgram(const FragmentProgram& vp, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, FragmentProgram, FRAGMENTPROGRAM) +[more] META_StateAttribute(osg, FragmentProgram, FRAGMENTPROGRAM)
[more]virtual int compare(const osg::StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
[more]inline GLuint& getFragmentProgramID(unsigned int contextID) const
Get the handle to the fragment program id for the current context @@ -119,7 +119,7 @@ class SG_EXPORT Extensions: public <
ovirtual const char* className() const
-ovirtual Type getType() const +ovirtual Type getType() const
ovirtual bool isTextureAttribute() const
@@ -150,9 +150,9 @@ class SG_EXPORT Extensions: public <

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -168,7 +168,7 @@ class SG_EXPORT Extensions: public <

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -217,7 +217,7 @@ class SG_EXPORT Extensions: public <

-

o META_StateAttribute(osg, FragmentProgram, FRAGMENTPROGRAM) +
o META_StateAttribute(osg, FragmentProgram, FRAGMENTPROGRAM)

@@ -226,7 +226,7 @@ class SG_EXPORT Extensions: public <

-

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

diff --git a/doc/doc++/osg/FrontFace.html b/doc/doc++/osg/FrontFace.html index aacab74f5..681e45708 100644 --- a/doc/doc++/osg/FrontFace.html +++ b/doc/doc++/osg/FrontFace.html @@ -28,7 +28,7 @@ [more] FrontFace(const FrontFace& ff, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, FrontFace, FRONTFACE) +[more] META_StateAttribute(osg, FrontFace, FRONTFACE)
[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs @@ -70,7 +70,7 @@
ovirtual const char* className() const
-ovirtual Type getType() const +ovirtual Type getType() const
ovirtual bool isTextureAttribute() const
@@ -80,7 +80,7 @@
obool operator != (const StateAttribute& rhs) const
-ovirtual void getAssociatedModes(std::vector<GLMode>& ) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
ovirtual void compile(State&) const

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

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

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

-

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

diff --git a/doc/doc++/osg/General.html b/doc/doc++/osg/General.html index 430edca89..64dd2e7e5 100644 --- a/doc/doc++/osg/General.html +++ b/doc/doc++/osg/General.html @@ -265,6 +265,9 @@ odefined(sun)(__DARWIN_OSX__)(float)(float)(float)(float)(float)(float)(float)(float)(sun)(float)(sun)(__hpux__) (DARWIN_OSX_PRE_10_2)(float)

+o#define +OSG_USE_DOUBLE_MATRICES
+ o#define OSG_MATRIXTRANSFORM
diff --git a/doc/doc++/osg/Geode.html b/doc/doc++/osg/Geode.html index 34f751940..8c7373ac1 100644 --- a/doc/doc++/osg/Geode.html +++ b/doc/doc++/osg/Geode.html @@ -110,15 +110,15 @@
ovirtual void traverse(NodeVisitor& )
-oinline void setName( const std::string& name ) +oinline void setName( const std::string& name )
-oinline void setName( const char* name ) +oinline void setName( const char* name )
oinline const std::string& getName() const
-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
-oinline ParentList getParents() +oinline ParentList getParents()
oinline Group* getParent(unsigned int i)
@@ -152,13 +152,13 @@
obool containsOccluderNodes() const
-oinline void setNodeMask(NodeMask nm) +oinline void setNodeMask(NodeMask nm)
-oinline NodeMask getNodeMask() const +oinline NodeMask getNodeMask() const
-oinline const DescriptionList& getDescriptions() const +oinline const DescriptionList& getDescriptions() const
-oinline DescriptionList& getDescriptions() +oinline DescriptionList& getDescriptions()
oinline const std::string& getDescription(unsigned int i) const
@@ -198,7 +198,7 @@
ostd::string _name
-oParentList _parents +oParentList _parents
oref_ptr<NodeCallback> _updateCallback
@@ -212,9 +212,9 @@
ounsigned int _numChildrenWithOccluderNodes
-oNodeMask _nodeMask +oNodeMask _nodeMask
-oDescriptionList _descriptions +oDescriptionList _descriptions
oref_ptr<StateSet> _stateset

@@ -237,9 +237,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

diff --git a/doc/doc++/osg/Geometry.html b/doc/doc++/osg/Geometry.html index 82f7c0a28..ba99f41d1 100644 --- a/doc/doc++/osg/Geometry.html +++ b/doc/doc++/osg/Geometry.html @@ -20,336 +20,422 @@
+

+

Public Fields

+[more]static const ArrayData s_InvalidArrayData +
static ArrayData which is returned get getTexCoordData(i) const and getVertexAttribData(i) const when i is out of range +

+

Public Methods

-[more] Geometry() +[more]TexCoordArrayList& getTexCoordArrayList()
-[more] Geometry(const Geometry& geometry, const CopyOp& copyop=CopyOp::SHALLOW_COPY) -
Copy constructor using CopyOp to manage deep vs shallow copy +[more]const TexCoordArrayList& getTexCoordArrayList() const
-[more]virtual Object* cloneType() const +[more]void setArray(AttributeType type, Array* array)
-[more]virtual Object* clone(const CopyOp& copyop) const +[more]Array* getArray(AttributeType type)
-[more]virtual bool isSameKindAs(const Object* obj) const +[more]const Array* getArray(AttributeType type) const
-[more]virtual const char* libraryName() const +[more]void setIndices(AttributeType type, IndexArray* indices)
-[more]virtual const char* className() const +[more]IndexArray* getIndices(AttributeType type)
-[more]virtual Geometry* asGeometry() +[more]const IndexArray* getIndices(AttributeType type) const
-[more]virtual const Geometry* asGeometry() const +[more]void setNormalize(AttributeType type, GLboolean normalize)
-[more]void setVertexArray(Array* array) +[more]GLboolean getNormalize(AttributeType type) const
-[more]Array* getVertexArray() +[more]void setBinding(AttributeType type, AttributeBinding binding)
-[more]const Array* getVertexArray() const +[more]AttributeBinding getBinding(AttributeType type) const
-[more]void setVertexIndices(IndexArray* array) +[more]unsigned int getNumArrays() const
-[more]IndexArray* getVertexIndices() +[more]AttributeData& getAttributeData(unsigned int type)
-[more]const IndexArray* getVertexIndices() const +[more]const AttributeData& getAttributeData(unsigned int type) const
-[more]void setNormalBinding(AttributeBinding ab) +[more]void setAttributeList(AttributeList& al)
-[more]AttributeBinding getNormalBinding() const +[more]AttributeList& getAttributeList()
-[more]void setNormalArray(Vec3Array* array) +[more]const AttributeList& getAttributeList() const
-[more]Vec3Array* getNormalArray() +[more]void setVertexAttribArray(unsigned int index, GLboolean normalize, Array* array, AttributeBinding ab=BIND_OFF)
-[more]const Vec3Array* getNormalArray() const +[more]bool getVertexAttribNormalize(unsigned int index, GLboolean &ret) const
-[more]void setNormalIndices(IndexArray* array) +[more]bool getVertexAttribBinding(unsigned int index, AttributeBinding& ab) const
-[more]IndexArray* getNormalIndices() +[more]VertexAttribArrayList& getVertexAttribArrayList()
-[more]const IndexArray* getNormalIndices() const +[more]const VertexAttribArrayList& getVertexAttribArrayList() const
-[more]void setColorBinding(AttributeBinding ab) +[more] Geometry()
-[more]AttributeBinding getColorBinding() const +[more] Geometry(const Geometry& geometry, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
Copy constructor using CopyOp to manage deep vs shallow copyCopy constructor using CopyOp to manage deep vs shallow copy
-[more]void setColorArray(Array* array) +[more]virtual Object* cloneType() const
-[more]Array* getColorArray() +[more]virtual Object* clone(const CopyOp& copyop) const
-[more]const Array* getColorArray() const +[more]virtual bool isSameKindAs(const Object* obj) const
-[more]void setColorIndices(IndexArray* array) +[more]virtual const char* libraryName() const
-[more]IndexArray* getColorIndices() +[more]virtual const char* className() const
-[more]const IndexArray* getColorIndices() const +[more]virtual Geometry* asGeometry()
-[more]void setSecondaryColorBinding(AttributeBinding ab) +[more]virtual const Geometry* asGeometry() const
-[more]AttributeBinding getSecondaryColorBinding() const +[more]void setVertexArray(Array* array)
-[more]void setSecondaryColorArray(Array* array) +[more]Array* getVertexArray()
-[more]Array* getSecondaryColorArray() +[more]const Array* getVertexArray() const
-[more]const Array* getSecondaryColorArray() const +[more]void setVertexIndices(IndexArray* array)
-[more]void setSecondaryColorIndices(IndexArray* array) +[more]IndexArray* getVertexIndices()
-[more]IndexArray* getSecondaryColorIndices() +[more]const IndexArray* getVertexIndices() const
-[more]const IndexArray* getSecondaryColorIndices() const +[more]void setVertexData(const ArrayData& arrayData)
-[more]void setFogCoordBinding(AttributeBinding ab) +[more]ArrayData& getVertexData()
-[more]AttributeBinding getFogCoordBinding() const +[more]const ArrayData& getVertexData() const
-[more]void setFogCoordArray(Array* array) +[more]void setNormalBinding(AttributeBinding ab)
-[more]Array* getFogCoordArray() +[more]AttributeBinding getNormalBinding() const
-[more]const Array* getFogCoordArray() const +[more]void setNormalArray(Vec3Array* array)
-[more]void setFogCoordIndices(IndexArray* array) +[more]Vec3Array* getNormalArray()
-[more]IndexArray* getFogCoordIndices() +[more]const Vec3Array* getNormalArray() const
-[more]const IndexArray* getFogCoordIndices() const +[more]void setNormalIndices(IndexArray* array)
-[more]void setTexCoordArray(unsigned int unit, Array*) +[more]IndexArray* getNormalIndices()
-[more]Array* getTexCoordArray(unsigned int unit) +[more]const IndexArray* getNormalIndices() const
-[more]const Array* getTexCoordArray(unsigned int unit) const +[more]void setNormalData(const Vec3ArrayData& arrayData)
-[more]void setTexCoordIndices(unsigned int unit, IndexArray*) +[more]Vec3ArrayData& getNormalData()
-[more]IndexArray* getTexCoordIndices(unsigned int unit) +[more]const Vec3ArrayData& getNormalData() const
-[more]const IndexArray* getTexCoordIndices(unsigned int unit) const +[more]void setColorBinding(AttributeBinding ab)
-[more]unsigned int getNumTexCoordArrays() const +[more]AttributeBinding getColorBinding() const
-[more]TexCoordArrayList& getTexCoordArrayList() +[more]void setColorArray(Array* array)
-[more]const TexCoordArrayList& getTexCoordArrayList() const +[more]Array* getColorArray()
-[more]void setArray(AttributeType type, Array* array) +[more]const Array* getColorArray() const
-[more]Array* getArray(AttributeType type) +[more]void setColorIndices(IndexArray* array)
-[more]const Array* getArray(AttributeType type) const +[more]IndexArray* getColorIndices()
-[more]void setIndices(AttributeType type, IndexArray* indices) +[more]const IndexArray* getColorIndices() const
-[more]IndexArray* getIndices(AttributeType type) +[more]void setColorData(const ArrayData& arrayData)
-[more]const IndexArray* getIndices(AttributeType type) const +[more]ArrayData& getColorData()
-[more]void setNormalize(AttributeType type, GLboolean normalize) +[more]const ArrayData& getColorData() const
-[more]GLboolean getNormalize(AttributeType type) const +[more]void setSecondaryColorBinding(AttributeBinding ab)
-[more]void setBinding(AttributeType type, AttributeBinding binding) +[more]AttributeBinding getSecondaryColorBinding() const
-[more]AttributeBinding getBinding(AttributeType type) const +[more]void setSecondaryColorArray(Array* array)
-[more]unsigned int getNumArrays() const +[more]Array* getSecondaryColorArray()
-[more]AttributeData& getAttributeData(unsigned int type) +[more]const Array* getSecondaryColorArray() const
-[more]const AttributeData& getAttributeData(unsigned int type) const +[more]void setSecondaryColorIndices(IndexArray* array)
-[more]void setAttributeList(AttributeList& al) +[more]IndexArray* getSecondaryColorIndices()
-[more]AttributeList& getAttributeList() +[more]const IndexArray* getSecondaryColorIndices() const
-[more]const AttributeList& getAttributeList() const +[more]void setSecondaryColorData(const ArrayData& arrayData)
-[more]void setVertexAttribArray(unsigned int index, GLboolean normalize, Array* array, AttributeBinding ab=BIND_OFF) +[more]ArrayData& getSecondaryColorData()
-[more]Array* getVertexAttribArray(unsigned int index) +[more]const ArrayData& getSecondaryColorData() const
-[more]const Array* getVertexAttribArray(unsigned int index) const +[more]void setFogCoordBinding(AttributeBinding ab)
-[more]bool getVertexAttribNormalize(unsigned int index, GLboolean &ret) const +[more]AttributeBinding getFogCoordBinding() const
-[more]bool getVertexAttribBinding(unsigned int index, AttributeBinding& ab) const +[more]void setFogCoordArray(Array* array)
-[more]void setVertexAttribIndices(unsigned int index, IndexArray* array) +[more]Array* getFogCoordArray()
-[more]IndexArray* getVertexAttribIndices(unsigned int index) +[more]const Array* getFogCoordArray() const
-[more]const IndexArray* getVertexAttribIndices(unsigned int index) const +[more]void setFogCoordIndices(IndexArray* array)
-[more]unsigned int getNumVertexAttribArrays() const +[more]IndexArray* getFogCoordIndices()
-[more]VertexAttribArrayList& getVertexAttribArrayList() +[more]const IndexArray* getFogCoordIndices() const
-[more]const VertexAttribArrayList& getVertexAttribArrayList() const +[more]void setFogCoordData(const ArrayData& arrayData)
-[more]void setPrimitiveSetList(const PrimitiveSetList& primitives) +[more]ArrayData& setFogCoordData()
-[more]PrimitiveSetList& getPrimitiveSetList() +[more]const ArrayData& setFogCoordData() const
-[more]const PrimitiveSetList& getPrimitiveSetList() const +[more]void setTexCoordArray(unsigned int unit, Array*)
-[more]unsigned int getNumPrimitiveSets() const +[more]Array* getTexCoordArray(unsigned int unit)
-[more]PrimitiveSet* getPrimitiveSet(unsigned int pos) +[more]const Array* getTexCoordArray(unsigned int unit) const
-[more]const PrimitiveSet* getPrimitiveSet(unsigned int pos) const +[more]void setTexCoordIndices(unsigned int unit, IndexArray*)
-[more]bool addPrimitiveSet(PrimitiveSet* primitiveset) -
Add a primitive set to the geometry +[more]IndexArray* getTexCoordIndices(unsigned int unit)
-[more]bool setPrimitiveSet(unsigned int i, PrimitiveSet* primitiveset) -
Set a primitive set to the specified position in geometry's primitive set list +[more]const IndexArray* getTexCoordIndices(unsigned int unit) const
-[more]bool insertPrimitiveSet(unsigned int i, PrimitiveSet* primitiveset) -
Insert a primitive set to the specified position in geometry's primitive set list +[more]void setTexCoordData(unsigned int index, const ArrayData& arrayData)
-[more]bool removePrimitiveSet(unsigned int i, unsigned int numElementsToRemove=1) -
Remove primitive set(s) from the specified position in geometry's primitive set list +[more]ArrayData& getTexCoordData(unsigned int index)
-[more]unsigned int getPrimitiveSetIndex(const PrimitiveSet* primitiveset) const -
Get the index number of a primitive set, return a value between 0 and getNumPrimitiveSet()-1 if found, if not found then return getNumPrimitiveSet(). +[more]const ArrayData& getTexCoordData(unsigned int index) const
-[more]void setFastPathHint(bool on) -
Set whether fast paths should be used when supported +[more]unsigned int getNumTexCoordArrays() const
-[more]bool getFastPathHint() const -
Get whether fast paths should be used when supported +[more]ArrayList& getTexCoordArrayList()
-[more]inline bool areFastPathsUsed() const -
return true if OpenGL fast paths will be used with drawing this Geometry. +[more]const ArrayList& getTexCoordArrayList() const
-[more]bool computeFastPathsUsed() +[more]void setVertexAttribArray(unsigned int index, Array* array)
-[more]bool verifyBindings() const +[more]Array* getVertexAttribArray(unsigned int index)
-[more]void computeCorrectBindingsAndArraySizes() +[more]const Array* getVertexAttribArray(unsigned int index) const
-[more]bool suitableForOptimization() const +[more]void setVertexAttribIndices(unsigned int index, IndexArray* array)
-[more]void copyToAndOptimize(Geometry& target) +[more]IndexArray* getVertexAttribIndices(unsigned int index)
-[more]void computeInternalOptimizedGeometry() +[more]const IndexArray* getVertexAttribIndices(unsigned int index) const
-[more]void removeInternalOptimizedGeometry() +[more]void setVertexAttribBinding(unsigned int index, AttributeBinding ab)
-[more]void setInternalOptimizedGeometry(osg::Geometry* geometry) +[more]AttributeBinding getVertexAttribBinding(unsigned int index) const
-[more]osg::Geometry* getInternalOptimizedGeometry() +[more]void setVertexAttribNormalize(unsigned int index, GLboolean norm)
-[more]const osg::Geometry* getInternalOptimizedGeometry() const +[more]GLboolean getVertexAttribNormalize(unsigned int index) const
-[more]virtual void drawImplementation(State& state) const -
draw Geometry directly ignoring an OpenGL display list which could be attached. +[more]void setVertexAttribData(unsigned int index, const ArrayData& arrayData)
-[more]virtual bool supports(AttributeFunctor&) const -
return true, osg::Geometry does support accept(AttributeFunctor&) +[more]ArrayData& getVertexAttribData(unsigned int index)
-[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]const ArrayData& getVertexAttribData(unsigned int index) const
-[more]virtual bool supports(ConstAttributeFunctor&) const -
return true, osg::Geometry does support accept(ConstAttributeFunctor&) +[more]unsigned int getNumVertexAttribArrays() const
-[more]virtual void accept(ConstAttributeFunctor& af) const -
accept an ConstAttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has +[more]ArrayList& getVertexAttribArrayList()
-[more]virtual bool supports(PrimitiveFunctor&) const -
return true, osg::Geometry does support accept(PrimitiveFunctor&) +[more]const ArrayList& getVertexAttribArrayList() const
-[more]virtual void accept(PrimitiveFunctor& pf) const -
accept a PrimitiveFunctor and call its methods to tell it about the interal primitives that this Drawable has +[more]void setPrimitiveSetList(const PrimitiveSetList& primitives) +
+[more]PrimitiveSetList& getPrimitiveSetList() +
+[more]const PrimitiveSetList& getPrimitiveSetList() const +
+[more]unsigned int getNumPrimitiveSets() const +
+[more]PrimitiveSet* getPrimitiveSet(unsigned int pos) +
+[more]const PrimitiveSet* getPrimitiveSet(unsigned int pos) const +
+[more]bool addPrimitiveSet(PrimitiveSet* primitiveset) +
Add a primitive set to the geometryAdd a primitive set to the geometry +
+[more]bool setPrimitiveSet(unsigned int i, PrimitiveSet* primitiveset) +
Set a primitive set to the specified position in geometry's primitive set listSet a primitive set to the specified position in geometry's primitive set list +
+[more]bool insertPrimitiveSet(unsigned int i, PrimitiveSet* primitiveset) +
Insert a primitive set to the specified position in geometry's primitive set listInsert a primitive set to the specified position in geometry's primitive set list +
+[more]bool removePrimitiveSet(unsigned int i, unsigned int numElementsToRemove=1) +
Remove primitive set(s) from the specified position in geometry's primitive set listRemove primitive set(s) from the specified position in geometry's primitive set list +
+[more]unsigned int getPrimitiveSetIndex(const PrimitiveSet* primitiveset) const +
Get the index number of a primitive set, return a value between 0 and getNumPrimitiveSet()-1 if found, if not found then return getNumPrimitiveSet().Get the index number of a primitive set, return a value between 0 and getNumPrimitiveSet()-1 if found, if not found then return getNumPrimitiveSet(). +
+[more]void setFastPathHint(bool on) +
Set whether fast paths should be used when supportedSet whether fast paths should be used when supported +
+[more]bool getFastPathHint() const +
Get whether fast paths should be used when supportedGet whether fast paths should be used when supported +
+[more]inline bool areFastPathsUsed() const +
return true if OpenGL fast paths will be used with drawing this Geometry.return true if OpenGL fast paths will be used with drawing this Geometry. +
+[more]bool computeFastPathsUsed() +
+[more]bool verifyBindings() const +
+[more]void computeCorrectBindingsAndArraySizes() +
+[more]bool suitableForOptimization() const +
+[more]void copyToAndOptimize(Geometry& target) +
+[more]void computeInternalOptimizedGeometry() +
+[more]void removeInternalOptimizedGeometry() +
+[more]void setInternalOptimizedGeometry(osg::Geometry* geometry) +
+[more]osg::Geometry* getInternalOptimizedGeometry() +
+[more]const osg::Geometry* getInternalOptimizedGeometry() const +
+[more]virtual void drawImplementation(State& state) const +
draw Geometry directly ignoring an OpenGL display list which could be attached.draw Geometry directly ignoring an OpenGL display list which could be attached. +
+[more]virtual bool supports(AttributeFunctor&) const +
return true, osg::Geometry does support accept(AttributeFunctor&)return true, osg::Geometry does support accept(AttributeFunctor&) +
+[more]virtual void accept(AttributeFunctor& af) +
accept an AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable hasaccept an AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has +
+[more]virtual bool supports(ConstAttributeFunctor&) const +
return true, osg::Geometry does support accept(ConstAttributeFunctor&)return true, osg::Geometry does support accept(ConstAttributeFunctor&) +
+[more]virtual void accept(ConstAttributeFunctor& af) const +
accept an ConstAttributeFunctor and call its methods to tell it about the interal attributes that this Drawable hasaccept an ConstAttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has +
+[more]virtual bool supports(PrimitiveFunctor&) const +
return true, osg::Geometry does support accept(PrimitiveFunctor&) return true, osg::Geometry does support accept(PrimitiveFunctor&) +
+[more]virtual void accept(PrimitiveFunctor& pf) const +
accept a PrimitiveFunctor and call its methods to tell it about the interal primitives that this Drawable hasaccept a PrimitiveFunctor and call its methods to tell it about the interal primitives that this Drawable has

Public Members

-[more]enum AttributeBinding +[more]template<typename T> struct AttributeData
-[more]template<typename T> struct AttributeData +[more]struct ArrayPair
-[more]struct ArrayPair +[more]typedef std::vector< ArrayPair > TexCoordArrayList
-[more]typedef std::vector< ArrayPair > TexCoordArrayList +[more]typedef std::vector<AttributeData> AttributeList
-[more]typedef std::vector<AttributeData> AttributeList +[more]typedef std::pair< GLboolean, ArrayPair > VertexAttribNormArrayPair
-[more]typedef std::pair< GLboolean, ArrayPair > VertexAttribNormArrayPair +[more]typedef std::vector< VertexAttribNormArrayPair > VertexAttribArrayList
-[more]typedef std::vector< VertexAttribNormArrayPair > VertexAttribArrayList +[more]typedef std::vector< AttributeBinding > VertexAttribBindingList
-[more]typedef std::vector< AttributeBinding > VertexAttribBindingList +[more]enum AttributeBinding
-[more]typedef std::vector< ref_ptr<PrimitiveSet> > PrimitiveSetList +[more]struct ArrayData +
+[more]struct Vec3ArrayData +
+[more]typedef std::vector< ArrayData > ArrayList +
+[more]typedef std::vector< ref_ptr<PrimitiveSet> > PrimitiveSetList

Protected Fields

-[more]PrimitiveSetList _primitives +[more]AttributeList _attributeList
-[more]AttributeList _attributeList +[more]ref_ptr<Array> _vertexArray
-[more]ref_ptr<Array> _vertexArray +[more]ref_ptr<IndexArray> _vertexIndices
-[more]ref_ptr<IndexArray> _vertexIndices +[more]mutable unsigned int _vertexOffset
-[more]mutable unsigned int _vertexOffset +[more]mutable AttributeBinding _normalBinding
-[more]mutable AttributeBinding _normalBinding +[more]ref_ptr<Vec3Array> _normalArray
-[more]ref_ptr<Vec3Array> _normalArray +[more]ref_ptr<IndexArray> _normalIndices
-[more]ref_ptr<IndexArray> _normalIndices +[more]mutable unsigned int _normalOffset
-[more]mutable unsigned int _normalOffset +[more]mutable AttributeBinding _colorBinding
-[more]mutable AttributeBinding _colorBinding +[more]ref_ptr<Array> _colorArray
-[more]ref_ptr<Array> _colorArray +[more]ref_ptr<IndexArray> _colorIndices
-[more]ref_ptr<IndexArray> _colorIndices +[more]mutable unsigned int _colorOffset
-[more]mutable unsigned int _colorOffset +[more]mutable AttributeBinding _secondaryColorBinding
-[more]mutable AttributeBinding _secondaryColorBinding +[more]ref_ptr<Array> _secondaryColorArray
-[more]ref_ptr<Array> _secondaryColorArray +[more]ref_ptr<IndexArray> _secondaryColorIndices
-[more]ref_ptr<IndexArray> _secondaryColorIndices +[more]mutable unsigned int _secondaryColorOffset
-[more]mutable unsigned int _secondaryColorOffset +[more]mutable AttributeBinding _fogCoordBinding
-[more]mutable AttributeBinding _fogCoordBinding +[more]ref_ptr<Array> _fogCoordArray
-[more]ref_ptr<Array> _fogCoordArray +[more]ref_ptr<IndexArray> _fogCoordIndices
-[more]ref_ptr<IndexArray> _fogCoordIndices +[more]mutable unsigned int _fogCoordOffset
-[more]mutable unsigned int _fogCoordOffset +[more]TexCoordArrayList _texCoordList
-[more]TexCoordArrayList _texCoordList +[more]VertexAttribArrayList _vertexAttribList
-[more]VertexAttribArrayList _vertexAttribList +[more]mutable VertexAttribBindingList _vertexAttribBindingList
-[more]mutable VertexAttribBindingList _vertexAttribBindingList +[more]PrimitiveSetList _primitives
-[more]mutable bool _fastPath +[more]ArrayData _vertexData
-[more]bool _fastPathHint +[more]Vec3ArrayData _normalData
-[more]ref_ptr<Geometry> _internalOptimizedGeometry +[more]ArrayData _colorData +
+[more]ArrayData _secondaryColorData +
+[more]ArrayData _fogCoordData +
+[more]ArrayList _texCoordList +
+[more]ArrayList _vertexAttribList +
+[more]mutable bool _fastPath +
+[more]bool _fastPathHint +
+[more]ref_ptr<Geometry> _internalOptimizedGeometry

Protected Methods

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

@@ -508,9 +594,9 @@ class SG_EXPORT Extensions: public

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -526,7 +612,7 @@ class SG_EXPORT Extensions: public

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -561,709 +647,958 @@ class SG_EXPORT Extensions: public 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 -

- - -

ovirtual Geometry* asGeometry() -

- - -

ovirtual const Geometry* asGeometry() const -

- - -

oenum AttributeBinding -

- - - -
o BIND_OFF -

- - -

o BIND_OVERALL -

- - -

o BIND_PER_PRIMITIVE_SET -

- - -

o BIND_PER_PRIMITIVE -

- - -

o BIND_PER_VERTEX -

- - - -
otemplate<typename T> struct AttributeData +
otemplate<typename T> struct AttributeData

- +
o AttributeData()

- -

oref_ptr<T> _array + +
oref_ptr<T> _array

- +

oref_ptr<IndexArray> _indices

- -

oAttributeBinding _binding + +
oAttributeBinding _binding

- +

oGLboolean _normalize

- +

ounsigned int _offset

- - -
ovoid setVertexArray(Array* array) -

- - -

oArray* getVertexArray() -

- - -

oconst Array* getVertexArray() const -

- - -

ovoid setVertexIndices(IndexArray* array) -

- - -

oIndexArray* getVertexIndices() -

- - -

oconst IndexArray* getVertexIndices() const -

- - -

ovoid setNormalBinding(AttributeBinding ab) -

- - -

oAttributeBinding getNormalBinding() const -

- - -

ovoid setNormalArray(Vec3Array* array) -

- - -

oVec3Array* getNormalArray() -

- - -

oconst Vec3Array* getNormalArray() const -

- - -

ovoid setNormalIndices(IndexArray* array) -

- - -

oIndexArray* getNormalIndices() -

- - -

oconst IndexArray* getNormalIndices() const -

- - -

ovoid setColorBinding(AttributeBinding ab) -

- - -

oAttributeBinding getColorBinding() const -

- - -

ovoid setColorArray(Array* array) -

- - -

oArray* getColorArray() -

- - -

oconst Array* getColorArray() const -

- - -

ovoid setColorIndices(IndexArray* array) -

- - -

oIndexArray* getColorIndices() -

- - -

oconst IndexArray* getColorIndices() const -

- - -

ovoid setSecondaryColorBinding(AttributeBinding ab) -

- - -

oAttributeBinding getSecondaryColorBinding() const -

- - -

ovoid setSecondaryColorArray(Array* array) -

- - -

oArray* getSecondaryColorArray() -

- - -

oconst Array* getSecondaryColorArray() const -

- - -

ovoid setSecondaryColorIndices(IndexArray* array) -

- - -

oIndexArray* getSecondaryColorIndices() -

- - -

oconst IndexArray* getSecondaryColorIndices() const -

- - -

ovoid setFogCoordBinding(AttributeBinding ab) -

- - -

oAttributeBinding getFogCoordBinding() const -

- - -

ovoid setFogCoordArray(Array* array) -

- - -

oArray* getFogCoordArray() -

- - -

oconst Array* getFogCoordArray() const -

- - -

ovoid setFogCoordIndices(IndexArray* array) -

- - -

oIndexArray* getFogCoordIndices() -

- - -

oconst IndexArray* getFogCoordIndices() const -

- +

ostruct ArrayPair

- +
o ArrayPair()

- -

o ArrayPair(const ArrayPair& rhs) + +
o ArrayPair(const ArrayPair& rhs)

- -

oArrayPair& operator = (const ArrayPair& rhs) + +
oArrayPair& operator = (const ArrayPair& rhs)

- +

oref_ptr<Array> first

- +

oref_ptr<IndexArray> second

- +

omutable unsigned int offset

- -
otypedef std::vector< ArrayPair > TexCoordArrayList -

- - -

ovoid setTexCoordArray(unsigned int unit, Array*) -

- - -

oArray* getTexCoordArray(unsigned int unit) -

- - -

oconst Array* getTexCoordArray(unsigned int unit) const -

- - -

ovoid setTexCoordIndices(unsigned int unit, IndexArray*) -

- - -

oIndexArray* getTexCoordIndices(unsigned int unit) -

- - -

oconst IndexArray* getTexCoordIndices(unsigned int unit) const -

- - -

ounsigned int getNumTexCoordArrays() const + +
otypedef std::vector< ArrayPair > TexCoordArrayList

- -

oTexCoordArrayList& getTexCoordArrayList() + +
oTexCoordArrayList& getTexCoordArrayList()

- -

oconst TexCoordArrayList& getTexCoordArrayList() const + +
oconst TexCoordArrayList& getTexCoordArrayList() const

- -

ovoid setArray(AttributeType type, Array* array) + +
ovoid setArray(AttributeType type, Array* array)

- +

oArray* getArray(AttributeType type)

- +

oconst Array* getArray(AttributeType type) const

- -

ovoid setIndices(AttributeType type, IndexArray* indices) + +
ovoid setIndices(AttributeType type, IndexArray* indices)

- +

oIndexArray* getIndices(AttributeType type)

- +

oconst IndexArray* getIndices(AttributeType type) const

- -

ovoid setNormalize(AttributeType type, GLboolean normalize) + +
ovoid setNormalize(AttributeType type, GLboolean normalize)

- +

oGLboolean getNormalize(AttributeType type) const

- -

ovoid setBinding(AttributeType type, AttributeBinding binding) + +
ovoid setBinding(AttributeType type, AttributeBinding binding)

- -

oAttributeBinding getBinding(AttributeType type) const + +
oAttributeBinding getBinding(AttributeType type) const

- +

ounsigned int getNumArrays() const

- -

oAttributeData& getAttributeData(unsigned int type) + +
oAttributeData& getAttributeData(unsigned int type)

- -

oconst AttributeData& getAttributeData(unsigned int type) const + +
oconst AttributeData& getAttributeData(unsigned int type) const

- -

otypedef std::vector<AttributeData> AttributeList + +
otypedef std::vector<AttributeData> AttributeList

- -

ovoid setAttributeList(AttributeList& al) + +
ovoid setAttributeList(AttributeList& al)

- -

oAttributeList& getAttributeList() + +
oAttributeList& getAttributeList()

- -

oconst AttributeList& getAttributeList() const + +
oconst AttributeList& getAttributeList() const

- -

otypedef std::pair< GLboolean, ArrayPair > VertexAttribNormArrayPair + +
otypedef std::pair< GLboolean, ArrayPair > VertexAttribNormArrayPair

- -

otypedef std::vector< VertexAttribNormArrayPair > VertexAttribArrayList + +
otypedef std::vector< VertexAttribNormArrayPair > VertexAttribArrayList

- -

otypedef std::vector< AttributeBinding > VertexAttribBindingList + +
otypedef std::vector< AttributeBinding > VertexAttribBindingList

- -

ovoid setVertexAttribArray(unsigned int index, GLboolean normalize, Array* array, AttributeBinding ab=BIND_OFF) -

- - -

oArray* getVertexAttribArray(unsigned int index) -

- - -

oconst Array* getVertexAttribArray(unsigned int index) const + +
ovoid setVertexAttribArray(unsigned int index, GLboolean normalize, Array* array, AttributeBinding ab=BIND_OFF)

- +

obool getVertexAttribNormalize(unsigned int index, GLboolean &ret) const

+ +

obool getVertexAttribBinding(unsigned int index, AttributeBinding& ab) const +

+ + +

oVertexAttribArrayList& getVertexAttribArrayList() +

+ + +

oconst VertexAttribArrayList& getVertexAttribArrayList() const +

+ + +

oAttributeList _attributeList +

+ + +

oref_ptr<Array> _vertexArray +

+ + +

oref_ptr<IndexArray> _vertexIndices +

+ + +

omutable unsigned int _vertexOffset +

+ + +

omutable AttributeBinding _normalBinding +

+ + +

oref_ptr<Vec3Array> _normalArray +

+ + +

oref_ptr<IndexArray> _normalIndices +

+ + +

omutable unsigned int _normalOffset +

+ + +

omutable AttributeBinding _colorBinding +

+ + +

oref_ptr<Array> _colorArray +

+ + +

oref_ptr<IndexArray> _colorIndices +

+ + +

omutable unsigned int _colorOffset +

+ + +

omutable AttributeBinding _secondaryColorBinding +

+ + +

oref_ptr<Array> _secondaryColorArray +

+ + +

oref_ptr<IndexArray> _secondaryColorIndices +

+ + +

omutable unsigned int _secondaryColorOffset +

+ + +

omutable AttributeBinding _fogCoordBinding +

+ + +

oref_ptr<Array> _fogCoordArray +

+ + +

oref_ptr<IndexArray> _fogCoordIndices +

+ + +

omutable unsigned int _fogCoordOffset +

+ + +

oTexCoordArrayList _texCoordList +

+ + +

oVertexAttribArrayList _vertexAttribList +

+ + +

omutable VertexAttribBindingList _vertexAttribBindingList +

+ + +

o Geometry() +

+ + +

o Geometry(const Geometry& geometry, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
Copy constructor using CopyOp to manage deep vs shallow copyCopy 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 +

+ + +

ovirtual Geometry* asGeometry() +

+ + +

ovirtual const Geometry* asGeometry() const +

+ + +

oenum AttributeBinding +

+ + + +
o BIND_OFF +

+ + +

o BIND_OVERALL +

+ + +

o BIND_PER_PRIMITIVE_SET +

+ + +

o BIND_PER_PRIMITIVE +

+ + +

o BIND_PER_VERTEX +

+ + + +
ostruct ArrayData +

+ + + +
o ArrayData() +

+ + +

o ArrayData(Array* a, AttributeBinding b, GLboolean n = GL_FALSE) +

+ + +

o ArrayData(Array* a, IndexArray* i, AttributeBinding b, GLboolean n = GL_FALSE) +

+ + +

oArrayData& operator = (const ArrayData& rhs) +

+ + +

oref_ptr<Array> array +

+ + +

oref_ptr<IndexArray> indices +

+ + +

oAttributeBinding binding +

+ + +

oGLboolean normalize +

+ + +

omutable unsigned int offset +

+ + + +
ostruct Vec3ArrayData +

+ + + +
o Vec3ArrayData() +

+ + +

o Vec3ArrayData(Vec3Array* a, AttributeBinding b, GLboolean n = GL_FALSE) +

+ + +

o Vec3ArrayData(Vec3Array* a, IndexArray* i, AttributeBinding b, GLboolean n = GL_FALSE) +

+ + +

oVec3ArrayData& operator = (const Vec3ArrayData& rhs) +

+ + +

oref_ptr<Vec3Array> array +

+ + +

oref_ptr<IndexArray> indices +

+ + +

oAttributeBinding binding +

+ + +

oGLboolean normalize +

+ + +

omutable unsigned int offset +

+ + + +
ostatic const ArrayData s_InvalidArrayData +
static ArrayData which is returned get getTexCoordData(i) const and getVertexAttribData(i) const +when i is out of range +

+ + +

otypedef std::vector< ArrayData > ArrayList +

+ + +

ovoid setVertexArray(Array* array) +

+ + +

oArray* getVertexArray() +

+ + +

oconst Array* getVertexArray() const +

+ + +

ovoid setVertexIndices(IndexArray* array) +

+ + +

oIndexArray* getVertexIndices() +

+ + +

oconst IndexArray* getVertexIndices() const +

+ + +

ovoid setVertexData(const ArrayData& arrayData) +

+ + +

oArrayData& getVertexData() +

+ + +

oconst ArrayData& getVertexData() const +

+ + +

ovoid setNormalBinding(AttributeBinding ab) +

+ + +

oAttributeBinding getNormalBinding() const +

+ + +

ovoid setNormalArray(Vec3Array* array) +

+ + +

oVec3Array* getNormalArray() +

+ + +

oconst Vec3Array* getNormalArray() const +

+ + +

ovoid setNormalIndices(IndexArray* array) +

+ + +

oIndexArray* getNormalIndices() +

+ + +

oconst IndexArray* getNormalIndices() const +

+ -

obool getVertexAttribBinding(unsigned int index, AttributeBinding& ab) const +
ovoid setNormalData(const Vec3ArrayData& arrayData) +

+ + +

oVec3ArrayData& getNormalData() +

+ + +

oconst Vec3ArrayData& getNormalData() const +

+ + +

ovoid setColorBinding(AttributeBinding ab) +

+ + +

oAttributeBinding getColorBinding() const +

+ + +

ovoid setColorArray(Array* array) +

+ + +

oArray* getColorArray() +

+ + +

oconst Array* getColorArray() const +

+ + +

ovoid setColorIndices(IndexArray* array) +

+ + +

oIndexArray* getColorIndices() +

+ + +

oconst IndexArray* getColorIndices() const +

+ + +

ovoid setColorData(const ArrayData& arrayData) +

+ + +

oArrayData& getColorData() +

+ + +

oconst ArrayData& getColorData() const +

+ + +

ovoid setSecondaryColorBinding(AttributeBinding ab) +

+ + +

oAttributeBinding getSecondaryColorBinding() const +

+ + +

ovoid setSecondaryColorArray(Array* array) +

+ + +

oArray* getSecondaryColorArray() +

+ + +

oconst Array* getSecondaryColorArray() const +

+ + +

ovoid setSecondaryColorIndices(IndexArray* array) +

+ + +

oIndexArray* getSecondaryColorIndices() +

+ + +

oconst IndexArray* getSecondaryColorIndices() const +

+ + +

ovoid setSecondaryColorData(const ArrayData& arrayData) +

+ + +

oArrayData& getSecondaryColorData() +

+ + +

oconst ArrayData& getSecondaryColorData() const +

+ + +

ovoid setFogCoordBinding(AttributeBinding ab) +

+ + +

oAttributeBinding getFogCoordBinding() const +

+ + +

ovoid setFogCoordArray(Array* array) +

+ + +

oArray* getFogCoordArray() +

+ + +

oconst Array* getFogCoordArray() const +

+ + +

ovoid setFogCoordIndices(IndexArray* array) +

+ + +

oIndexArray* getFogCoordIndices() +

+ + +

oconst IndexArray* getFogCoordIndices() const +

+ + +

ovoid setFogCoordData(const ArrayData& arrayData) +

+ + +

oArrayData& setFogCoordData() +

+ + +

oconst ArrayData& setFogCoordData() const +

+ + +

ovoid setTexCoordArray(unsigned int unit, Array*) +

+ + +

oArray* getTexCoordArray(unsigned int unit) +

+ + +

oconst Array* getTexCoordArray(unsigned int unit) const +

+ + +

ovoid setTexCoordIndices(unsigned int unit, IndexArray*) +

+ + +

oIndexArray* getTexCoordIndices(unsigned int unit) +

+ + +

oconst IndexArray* getTexCoordIndices(unsigned int unit) const +

+ + +

ovoid setTexCoordData(unsigned int index, const ArrayData& arrayData) +

+ + +

oArrayData& getTexCoordData(unsigned int index) +

+ + +

oconst ArrayData& getTexCoordData(unsigned int index) const +

+ + +

ounsigned int getNumTexCoordArrays() const +

+ + +

oArrayList& getTexCoordArrayList() +

+ + +

oconst ArrayList& getTexCoordArrayList() const +

+ + +

ovoid setVertexAttribArray(unsigned int index, Array* array) +

+ + +

oArray* getVertexAttribArray(unsigned int index) +

+ + +

oconst Array* getVertexAttribArray(unsigned int index) const

- -

ovoid setVertexAttribIndices(unsigned int index, IndexArray* array) + +
ovoid setVertexAttribIndices(unsigned int index, IndexArray* array)

- +

oIndexArray* getVertexAttribIndices(unsigned int index)

- +

oconst IndexArray* getVertexAttribIndices(unsigned int index) const

+ + +

ovoid setVertexAttribBinding(unsigned int index, AttributeBinding ab) +

+ + +

oAttributeBinding getVertexAttribBinding(unsigned int index) const +

+ + +

ovoid setVertexAttribNormalize(unsigned int index, GLboolean norm) +

+ + +

oGLboolean getVertexAttribNormalize(unsigned int index) const +

+ + +

ovoid setVertexAttribData(unsigned int index, const ArrayData& arrayData) +

+ + +

oArrayData& getVertexAttribData(unsigned int index) +

+ + +

oconst ArrayData& getVertexAttribData(unsigned int index) const +

- +

ounsigned int getNumVertexAttribArrays() const

- -

oVertexAttribArrayList& getVertexAttribArrayList() + +
oArrayList& getVertexAttribArrayList()

- -

oconst VertexAttribArrayList& getVertexAttribArrayList() const + +
oconst ArrayList& getVertexAttribArrayList() const

- +

otypedef std::vector< ref_ptr<PrimitiveSet> > PrimitiveSetList

- -

ovoid setPrimitiveSetList(const PrimitiveSetList& primitives) + +
ovoid setPrimitiveSetList(const PrimitiveSetList& primitives)

- -

oPrimitiveSetList& getPrimitiveSetList() + +
oPrimitiveSetList& getPrimitiveSetList()

- -

oconst PrimitiveSetList& getPrimitiveSetList() const + +
oconst PrimitiveSetList& getPrimitiveSetList() const

- +

ounsigned int getNumPrimitiveSets() const

- +

oPrimitiveSet* getPrimitiveSet(unsigned int pos)

- +

oconst PrimitiveSet* getPrimitiveSet(unsigned int pos) const

- +

obool addPrimitiveSet(PrimitiveSet* primitiveset) -
Add a primitive set to the geometry +
Add a primitive set to the geometryAdd a primitive set to the geometry

- +

obool setPrimitiveSet(unsigned int i, PrimitiveSet* primitiveset) -
Set a primitive set to the specified position in geometry's primitive set list +
Set a primitive set to the specified position in geometry's primitive set listSet a primitive set to the specified position in geometry's primitive set list

- +

obool insertPrimitiveSet(unsigned int i, PrimitiveSet* primitiveset) -
Insert a primitive set to the specified position in geometry's primitive set list +
Insert a primitive set to the specified position in geometry's primitive set listInsert a primitive set to the specified position in geometry's primitive set list

- +

obool removePrimitiveSet(unsigned int i, unsigned int numElementsToRemove=1) -
Remove primitive set(s) from the specified position in geometry's primitive set list +
Remove primitive set(s) from the specified position in geometry's primitive set listRemove primitive set(s) from the specified position in geometry's primitive set list

- +

ounsigned int getPrimitiveSetIndex(const PrimitiveSet* primitiveset) const
Get the index number of a primitive set, return a value between 0 and getNumPrimitiveSet()-1 if found, if not found then return getNumPrimitiveSet(). +When checking for a valid find value use if ((value=geoemtry->getPrimitiveSetIndex(primitive))!=geometry.getNumPrimitiveSet()) asGet the index number of a primitive set, return a value between +0 and getNumPrimitiveSet()-1 if found, if not found then return getNumPrimitiveSet(). When checking for a valid find value use if ((value=geoemtry->getPrimitiveSetIndex(primitive))!=geometry.getNumPrimitiveSet()) as

- +

ovoid setFastPathHint(bool on) -
Set whether fast paths should be used when supported +
Set whether fast paths should be used when supportedSet whether fast paths should be used when supported

- +

obool getFastPathHint() const -
Get whether fast paths should be used when supported +
Get whether fast paths should be used when supportedGet whether fast paths should be used when supported

- +

oinline bool areFastPathsUsed() const
return true if OpenGL fast paths will be used with drawing this Geometry. Fast paths use vertex arrays, and glDrawArrays/glDrawElements. Slow paths use glBegin()/glVertex.../glEnd(). Use of per primitive bindings or per vertex indexed +arrays will drop the rendering path off the fast path.return true if OpenGL fast paths will be used with drawing this Geometry. +Fast paths use vertex arrays, and glDrawArrays/glDrawElements. Slow paths +use glBegin()/glVertex.../glEnd(). Use of per primitive bindings or per vertex indexed arrays will drop the rendering path off the fast path.

- +

obool computeFastPathsUsed()

- +

obool verifyBindings() const

- +

ovoid computeCorrectBindingsAndArraySizes()

- +

obool suitableForOptimization() const

- +

ovoid copyToAndOptimize(Geometry& target)

- +

ovoid computeInternalOptimizedGeometry()

- +

ovoid removeInternalOptimizedGeometry()

- +

ovoid setInternalOptimizedGeometry(osg::Geometry* geometry)

- +

oosg::Geometry* getInternalOptimizedGeometry()

- +

oconst osg::Geometry* getInternalOptimizedGeometry() const

- +

ovirtual void drawImplementation(State& state) const
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.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 bool supports(AttributeFunctor&) const -
return true, osg::Geometry does support accept(AttributeFunctor&) +
return true, osg::Geometry does support accept(AttributeFunctor&)return true, osg::Geometry does support accept(AttributeFunctor&)

- +

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

- +

ovirtual bool supports(ConstAttributeFunctor&) const -
return true, osg::Geometry does support accept(ConstAttributeFunctor&) +
return true, osg::Geometry does support accept(ConstAttributeFunctor&)return true, osg::Geometry does support accept(ConstAttributeFunctor&)

- +

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

- +

ovirtual bool supports(PrimitiveFunctor&) const -
return true, osg::Geometry does support accept(PrimitiveFunctor&) +
return true, osg::Geometry does support accept(PrimitiveFunctor&) return true, osg::Geometry does support accept(PrimitiveFunctor&)

- +

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

- +

oGeometry& operator = (const Geometry&)

- +

ovirtual ~Geometry()

- -

oPrimitiveSetList _primitives + +
oPrimitiveSetList _primitives

- - -

oAttributeList _attributeList + + +
oArrayData _vertexData

- - -

oref_ptr<Array> _vertexArray + + +
oVec3ArrayData _normalData

- - -

oref_ptr<IndexArray> _vertexIndices + + +
oArrayData _colorData

- - -

omutable unsigned int _vertexOffset + + +
oArrayData _secondaryColorData

- - -

omutable AttributeBinding _normalBinding -

- - -

oref_ptr<Vec3Array> _normalArray -

- - -

oref_ptr<IndexArray> _normalIndices -

- - -

omutable unsigned int _normalOffset -

- - -

omutable AttributeBinding _colorBinding -

- - -

oref_ptr<Array> _colorArray -

- - -

oref_ptr<IndexArray> _colorIndices -

- - -

omutable unsigned int _colorOffset -

- - -

omutable AttributeBinding _secondaryColorBinding -

- - -

oref_ptr<Array> _secondaryColorArray -

- - -

oref_ptr<IndexArray> _secondaryColorIndices -

- - -

omutable unsigned int _secondaryColorOffset -

- - -

omutable AttributeBinding _fogCoordBinding -

- - -

oref_ptr<Array> _fogCoordArray -

- - -

oref_ptr<IndexArray> _fogCoordIndices -

- - -

omutable unsigned int _fogCoordOffset + + +
oArrayData _fogCoordData

- -

oTexCoordArrayList _texCoordList + +
oArrayList _texCoordList

- -

oVertexAttribArrayList _vertexAttribList -

- - -

omutable VertexAttribBindingList _vertexAttribBindingList + +
oArrayList _vertexAttribList

- +

omutable bool _fastPath

- +

obool _fastPathHint

- +

oref_ptr<Geometry> _internalOptimizedGeometry

diff --git a/doc/doc++/osg/Grid.html b/doc/doc++/osg/Grid.html index 3384b6ad9..3d2a4a8fc 100644 --- a/doc/doc++/osg/Grid.html +++ b/doc/doc++/osg/Grid.html @@ -22,32 +22,32 @@

Public Methods

-[more] Grid() +[more] Grid()
-[more] Grid(const Grid& mesh, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Grid(const Grid& mesh, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more] META_Shape(osg, Grid) +[more] META_Shape(osg, Grid)
-[more]void allocateGrid(unsigned int numColumns, unsigned int numRows) +[more]void allocateGrid(unsigned int numColumns, unsigned int numRows)
-[more]void setHeight(unsigned int c, unsigned int r, float value) +[more]void setHeight(unsigned int c, unsigned int r, float value)
-[more]virtual float getHeight(unsigned int c, unsigned int r) const +[more]virtual float getHeight(unsigned int c, unsigned int r) const

Protected Fields

-[more]HeightList _heights +[more]HeightList _heights

Protected Methods

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

Protected Members

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

@@ -81,7 +81,7 @@
oinline float getYInterval() const
-ovirtual Vec3 getNormal(unsigned int c, unsigned int r) const +ovirtual Vec3 getNormal(unsigned int c, unsigned int r) const
oinline void setRotation(const Quat& quat)
@@ -122,9 +122,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -178,40 +178,40 @@
- +
o Grid()

- -

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

- +

o META_Shape(osg, Grid)

- +

ovoid allocateGrid(unsigned int numColumns, unsigned int numRows)

- -

ovoid setHeight(unsigned int c, unsigned int r, float value) + +
ovoid setHeight(unsigned int c, unsigned int r, float value)

- -

ovirtual float getHeight(unsigned int c, unsigned int r) const + +
ovirtual float getHeight(unsigned int c, unsigned int r) const

- +

o ~Grid()

- +

otypedef std::vector<float> HeightList

- -

oHeightList _heights + +
oHeightList _heights


This class has no child classes.
diff --git a/doc/doc++/osg/Group.html b/doc/doc++/osg/Group.html index 67bb36b07..edd73b392 100644 --- a/doc/doc++/osg/Group.html +++ b/doc/doc++/osg/Group.html @@ -104,15 +104,15 @@
ovirtual void ascend(NodeVisitor& nv)
-oinline void setName( const std::string& name ) +oinline void setName( const std::string& name )
-oinline void setName( const char* name ) +oinline void setName( const char* name )
oinline const std::string& getName() const
-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
-oinline ParentList getParents() +oinline ParentList getParents()
oinline Group* getParent(unsigned int i)
@@ -146,13 +146,13 @@
obool containsOccluderNodes() const
-oinline void setNodeMask(NodeMask nm) +oinline void setNodeMask(NodeMask nm)
-oinline NodeMask getNodeMask() const +oinline NodeMask getNodeMask() const
-oinline const DescriptionList& getDescriptions() const +oinline const DescriptionList& getDescriptions() const
-oinline DescriptionList& getDescriptions() +oinline DescriptionList& getDescriptions()
oinline const std::string& getDescription(unsigned int i) const
@@ -192,7 +192,7 @@
ostd::string _name
-oParentList _parents +oParentList _parents
oref_ptr<NodeCallback> _updateCallback
@@ -206,9 +206,9 @@
ounsigned int _numChildrenWithOccluderNodes
-oNodeMask _nodeMask +oNodeMask _nodeMask
-oDescriptionList _descriptions +oDescriptionList _descriptions
oref_ptr<StateSet> _stateset

@@ -231,9 +231,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

diff --git a/doc/doc++/osg/HeightField.html b/doc/doc++/osg/HeightField.html index 47064f06d..d5fc82055 100644 --- a/doc/doc++/osg/HeightField.html +++ b/doc/doc++/osg/HeightField.html @@ -22,67 +22,67 @@

Public Methods

-[more] HeightField() +[more] HeightField()
-[more] HeightField(const HeightField& mesh, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] HeightField(const HeightField& mesh, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
-[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
-[more]virtual const char* className() const +[more]virtual const char* className() const
-[more]virtual void accept(osg::ShapeVisitor& sv) +[more]virtual void accept(osg::ShapeVisitor& sv)
-[more]virtual void accept(osg::ConstShapeVisitor& csv) const +[more]virtual void accept(osg::ConstShapeVisitor& csv) const
-[more]inline unsigned int getNumColumns() const +[more]inline unsigned int getNumColumns() const
-[more]inline unsigned int getNumRows() const +[more]inline unsigned int getNumRows() const
-[more]inline void setOrigin(const osg::Vec3& origin) +[more]inline void setOrigin(const osg::Vec3& origin)
-[more]inline const osg::Vec3& getOrigin() const +[more]inline const osg::Vec3& getOrigin() const
-[more]inline void setXInterval(float dx) +[more]inline void setXInterval(float dx)
-[more]inline float getXInterval() const +[more]inline float getXInterval() const
-[more]inline void setYInterval(float dy) +[more]inline void setYInterval(float dy)
-[more]inline float getYInterval() const +[more]inline float getYInterval() const
-[more]virtual float getHeight(unsigned int c, unsigned int r) const = 0 +[more]virtual float getHeight(unsigned int c, unsigned int r) const = 0
-[more]virtual Vec3 getNormal(unsigned int c, unsigned int r) const +[more]virtual Vec3 getNormal(unsigned int c, unsigned int r) const
-[more]inline void setRotation(const Quat& quat) +[more]inline void setRotation(const Quat& quat)
-[more]inline const Quat& getRotation() const +[more]inline const Quat& getRotation() const
-[more]inline Matrix getRotationMatrix() const +[more]inline Matrix getRotationMatrix() const
-[more]inline bool zeroRotation() const +[more]inline bool zeroRotation() const

Protected Fields

-[more]unsigned int _columns +[more]unsigned int _columns
-[more]unsigned int _rows +[more]unsigned int _rows
-[more]osg::Vec3 _origin +[more]osg::Vec3 _origin
-[more]float _dx +[more]float _dx
-[more]float _dy +[more]float _dy
-[more]Quat _rotation +[more]Quat _rotation

Protected Methods

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

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

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -156,115 +156,115 @@
- +
o HeightField()

- -

o HeightField(const HeightField& mesh, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o HeightField(const HeightField& mesh, 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(osg::ShapeVisitor& sv)

- +

ovirtual void accept(osg::ConstShapeVisitor& csv) const

- +

oinline unsigned int getNumColumns() const

- +

oinline unsigned int getNumRows() const

- +

oinline void setOrigin(const osg::Vec3& origin)

- +

oinline const osg::Vec3& getOrigin() const

- +

oinline void setXInterval(float dx)

- +

oinline float getXInterval() const

- +

oinline void setYInterval(float dy)

- +

oinline float getYInterval() const

- -

ovirtual float getHeight(unsigned int c, unsigned int r) const = 0 + +
ovirtual float getHeight(unsigned int c, unsigned int r) const = 0

- -

ovirtual Vec3 getNormal(unsigned int c, unsigned int r) const + +
ovirtual Vec3 getNormal(unsigned int c, unsigned int r) const

- +

oinline void setRotation(const Quat& quat)

- +

oinline const Quat& getRotation() const

- +

oinline Matrix getRotationMatrix() const

- +

oinline bool zeroRotation() const

- +

o ~HeightField()

- +

ounsigned int _columns

- +

ounsigned int _rows

- +

oosg::Vec3 _origin

- +

ofloat _dx

- +

ofloat _dy

- +

oQuat _rotation


diff --git a/doc/doc++/osg/Image.html b/doc/doc++/osg/Image.html index 65939f46f..480341d2e 100644 --- a/doc/doc++/osg/Image.html +++ b/doc/doc++/osg/Image.html @@ -56,7 +56,7 @@ [more]void setImage(int s, int t, int r, GLint internalTextureformat, GLenum format, GLenum type, unsigned char* data, AllocationMode mode, int packing=1)
set the image data and format.
-[more]void readPixels(int x, int y, int width, int height, GLenum format, GLenum type) +[more]void readPixels(int x, int y, int width, int height, GLenum format, GLenum type)
readPixels from screen at specified position and size, using glReadPixels.
[more]void readImageFromCurrentTexture(unsigned int contextID=0) @@ -118,7 +118,7 @@ [more]void flipVertical(int image=0)
Flip the image vertically
-[more]void ensureValidSizeForTexturing(GLint maxTextureSize) +[more]void ensureValidSizeForTexturing(GLint maxTextureSize)
Ensure image dimensions are a power of two.
[more]inline void dirty() @@ -136,7 +136,7 @@
[more]static unsigned int computePixelSizeInBits(GLenum format, GLenum type)
-[more]static unsigned int computeRowWidthInBytes(int width, GLenum format, GLenum type, int packing) +[more]static unsigned int computeRowWidthInBytes(int width, GLenum format, GLenum type, int packing)
[more]static int computeNearestPowerOfTwo(int s, float bias=0.5f)
@@ -205,9 +205,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -344,7 +344,7 @@ value of packing is supplied than _packing is simply set to that value.

-

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

@@ -459,7 +459,7 @@ If source is NULL then no operation happens, this Image is left unchanged.

-

ovoid ensureValidSizeForTexturing(GLint maxTextureSize) +
ovoid ensureValidSizeForTexturing(GLint maxTextureSize)
Ensure image dimensions are a power of two. Mip Mapped texture require the image dimensions to be power of two and are within the maxiumum texture size for @@ -494,7 +494,7 @@ the host machine.

-

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

diff --git a/doc/doc++/osg/Impostor.html b/doc/doc++/osg/Impostor.html index 485c5c353..50b568d90 100644 --- a/doc/doc++/osg/Impostor.html +++ b/doc/doc++/osg/Impostor.html @@ -29,7 +29,7 @@

[more] META_Node(osg, Impostor)
-[more]inline void setImpostorThreshold(float distance) +[more]inline void setImpostorThreshold(float distance)
Set the Impostor threshold distance.
[more]inline void setImpostorThresholdToBound(float ratio=1.0f) @@ -177,15 +177,15 @@
ovirtual void ascend(NodeVisitor& nv)
-oinline void setName( const std::string& name ) +oinline void setName( const std::string& name )
-oinline void setName( const char* name ) +oinline void setName( const char* name )
oinline const std::string& getName() const
-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
-oinline ParentList getParents() +oinline ParentList getParents()
oinline Group* getParent(unsigned int i)
@@ -219,13 +219,13 @@
obool containsOccluderNodes() const
-oinline void setNodeMask(NodeMask nm) +oinline void setNodeMask(NodeMask nm)
-oinline NodeMask getNodeMask() const +oinline NodeMask getNodeMask() const
-oinline const DescriptionList& getDescriptions() const +oinline const DescriptionList& getDescriptions() const
-oinline DescriptionList& getDescriptions() +oinline DescriptionList& getDescriptions()
oinline const std::string& getDescription(unsigned int i) const
@@ -265,7 +265,7 @@
ostd::string _name
-oParentList _parents +oParentList _parents
oref_ptr<NodeCallback> _updateCallback
@@ -279,9 +279,9 @@
ounsigned int _numChildrenWithOccluderNodes
-oNodeMask _nodeMask +oNodeMask _nodeMask
-oDescriptionList _descriptions +oDescriptionList _descriptions
oref_ptr<StateSet> _stateset

@@ -304,9 +304,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -414,7 +414,7 @@ geometry.

-

oinline void setImpostorThreshold(float distance) +
oinline void setImpostorThreshold(float distance)
Set the Impostor threshold distance. For eye points further than this threshold the Imposter is used if appropriate, otherwise the LOD children as chosen as per a standard LOD node. diff --git a/doc/doc++/osg/ImpostorSprite.html b/doc/doc++/osg/ImpostorSprite.html index 9813968a9..39b594cbe 100644 --- a/doc/doc++/osg/ImpostorSprite.html +++ b/doc/doc++/osg/ImpostorSprite.html @@ -308,9 +308,9 @@ class SG_EXPORT Extensions: public

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -326,7 +326,7 @@ class SG_EXPORT Extensions: public

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

diff --git a/doc/doc++/osg/IndexArray.html b/doc/doc++/osg/IndexArray.html index 96e813674..9db46707a 100644 --- a/doc/doc++/osg/IndexArray.html +++ b/doc/doc++/osg/IndexArray.html @@ -24,7 +24,7 @@

Public Methods

[more] IndexArray(Type arrayType=ArrayType, GLint dataSize=0, GLenum dataType=0)
-[more] IndexArray(const Array& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] IndexArray(const Array& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
[more]virtual bool isSameKindAs(const Object* obj) const
@@ -89,9 +89,9 @@
ovirtual Object* clone(const CopyOp&) const
-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -107,7 +107,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -150,7 +150,7 @@

-

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

diff --git a/doc/doc++/osg/InfinitePlane.html b/doc/doc++/osg/InfinitePlane.html index f0a1bfd96..77fb639f7 100644 --- a/doc/doc++/osg/InfinitePlane.html +++ b/doc/doc++/osg/InfinitePlane.html @@ -22,16 +22,16 @@

Public Methods

-[more] InfinitePlane() +[more] InfinitePlane()
-[more] InfinitePlane(const InfinitePlane& plane, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] InfinitePlane(const InfinitePlane& plane, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more] META_Shape(osg, InfinitePlane) +[more] META_Shape(osg, InfinitePlane)

Protected Methods

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

@@ -59,9 +59,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -114,7 +114,7 @@

Public Methods

oinline void set(const Plane& pl)
-oinline void set(float a, float b, float c, float d) +oinline void set(float a, float b, float c, float d)
oinline void set(const Vec4& vec)
@@ -182,19 +182,19 @@
- +
o InfinitePlane()

- -

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

- +

o META_Shape(osg, InfinitePlane)

- +

ovirtual ~InfinitePlane()

diff --git a/doc/doc++/osg/LOD.html b/doc/doc++/osg/LOD.html index 0e69dd485..e83acca65 100644 --- a/doc/doc++/osg/LOD.html +++ b/doc/doc++/osg/LOD.html @@ -149,15 +149,15 @@
ovirtual void ascend(NodeVisitor& nv)
-oinline void setName( const std::string& name ) +oinline void setName( const std::string& name )
-oinline void setName( const char* name ) +oinline void setName( const char* name )
oinline const std::string& getName() const
-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
-oinline ParentList getParents() +oinline ParentList getParents()
oinline Group* getParent(unsigned int i)
@@ -191,13 +191,13 @@
obool containsOccluderNodes() const
-oinline void setNodeMask(NodeMask nm) +oinline void setNodeMask(NodeMask nm)
-oinline NodeMask getNodeMask() const +oinline NodeMask getNodeMask() const
-oinline const DescriptionList& getDescriptions() const +oinline const DescriptionList& getDescriptions() const
-oinline DescriptionList& getDescriptions() +oinline DescriptionList& getDescriptions()
oinline const std::string& getDescription(unsigned int i) const
@@ -237,7 +237,7 @@
ostd::string _name
-oParentList _parents +oParentList _parents
oref_ptr<NodeCallback> _updateCallback
@@ -251,9 +251,9 @@
ounsigned int _numChildrenWithOccluderNodes
-oNodeMask _nodeMask +oNodeMask _nodeMask
-oDescriptionList _descriptions +oDescriptionList _descriptions
oref_ptr<StateSet> _stateset

@@ -276,9 +276,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

diff --git a/doc/doc++/osg/Light.html b/doc/doc++/osg/Light.html index 2005267a2..e698944e9 100644 --- a/doc/doc++/osg/Light.html +++ b/doc/doc++/osg/Light.html @@ -28,12 +28,12 @@ [more] Light(const Light& light, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, Light, (Type)(LIGHT_0+_lightnum)) +[more] META_StateAttribute(osg, Light, (Type)(LIGHT_0+_lightnum))
[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
[more]void setLightNum(int num)
Set which OpenGL light to operate on @@ -156,7 +156,7 @@
ovirtual const char* className() const
-ovirtual Type getType() const +ovirtual Type getType() const
ovirtual bool isTextureAttribute() const
@@ -189,9 +189,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -256,7 +256,7 @@

-

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

@@ -265,7 +265,7 @@

-

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

diff --git a/doc/doc++/osg/LightModel.html b/doc/doc++/osg/LightModel.html index bf96d3e93..892086596 100644 --- a/doc/doc++/osg/LightModel.html +++ b/doc/doc++/osg/LightModel.html @@ -27,7 +27,7 @@ [more] LightModel(const LightModel& lw, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, LightModel, LIGHTMODEL) +[more] META_StateAttribute(osg, LightModel, LIGHTMODEL)
[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs @@ -87,7 +87,7 @@
ovirtual const char* className() const
-ovirtual Type getType() const +ovirtual Type getType() const
ovirtual bool isTextureAttribute() const
@@ -97,7 +97,7 @@
obool operator != (const StateAttribute& rhs) const
-ovirtual void getAssociatedModes(std::vector<GLMode>& ) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
ovirtual void compile(State&) const

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

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -188,7 +188,7 @@

-

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

diff --git a/doc/doc++/osg/LightSource.html b/doc/doc++/osg/LightSource.html index 46d550102..c5180698e 100644 --- a/doc/doc++/osg/LightSource.html +++ b/doc/doc++/osg/LightSource.html @@ -133,15 +133,15 @@

ovirtual void ascend(NodeVisitor& nv)
-oinline void setName( const std::string& name ) +oinline void setName( const std::string& name )
-oinline void setName( const char* name ) +oinline void setName( const char* name )
oinline const std::string& getName() const
-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
-oinline ParentList getParents() +oinline ParentList getParents()
oinline Group* getParent(unsigned int i)
@@ -175,13 +175,13 @@
obool containsOccluderNodes() const
-oinline void setNodeMask(NodeMask nm) +oinline void setNodeMask(NodeMask nm)
-oinline NodeMask getNodeMask() const +oinline NodeMask getNodeMask() const
-oinline const DescriptionList& getDescriptions() const +oinline const DescriptionList& getDescriptions() const
-oinline DescriptionList& getDescriptions() +oinline DescriptionList& getDescriptions()
oinline const std::string& getDescription(unsigned int i) const
@@ -221,7 +221,7 @@
ostd::string _name
-oParentList _parents +oParentList _parents
oref_ptr<NodeCallback> _updateCallback
@@ -235,9 +235,9 @@
ounsigned int _numChildrenWithOccluderNodes
-oNodeMask _nodeMask +oNodeMask _nodeMask
-oDescriptionList _descriptions +oDescriptionList _descriptions
oref_ptr<StateSet> _stateset

@@ -260,9 +260,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

diff --git a/doc/doc++/osg/LineSegment.html b/doc/doc++/osg/LineSegment.html index 5c6db8924..1376c9df4 100644 --- a/doc/doc++/osg/LineSegment.html +++ b/doc/doc++/osg/LineSegment.html @@ -55,7 +55,7 @@ [more]bool intersect(const BoundingSphere& bs, float& r1, float& r2) const
return true if segment intersects BoundingSphere and return the intersection ratio's
-[more]bool intersect(const Vec3& v1, const Vec3& v2, const Vec3& v3, float& r) +[more]bool intersect(const Vec3& v1, const Vec3& v2, const Vec3& v3, float& r)
return true if segment intersects triangle and set ratio long segment.
[more]inline void mult(const LineSegment& seg, const Matrix& m) @@ -172,7 +172,7 @@

-

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

diff --git a/doc/doc++/osg/LineStipple.html b/doc/doc++/osg/LineStipple.html index 4dab115a4..bb0367a69 100644 --- a/doc/doc++/osg/LineStipple.html +++ b/doc/doc++/osg/LineStipple.html @@ -27,12 +27,12 @@ [more] LineStipple(const LineStipple& lw, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, LineStipple, LINESTIPPLE) +[more] META_StateAttribute(osg, LineStipple, LINESTIPPLE)
[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
[more]void setFactor(GLint factor)
@@ -72,7 +72,7 @@
ovirtual const char* className() const
-ovirtual Type getType() const +ovirtual Type getType() const
ovirtual bool isTextureAttribute() const
@@ -105,9 +105,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -171,7 +171,7 @@

-

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

@@ -180,7 +180,7 @@

-

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

diff --git a/doc/doc++/osg/LineWidth.html b/doc/doc++/osg/LineWidth.html index ea5c323b9..dd5b6ae43 100644 --- a/doc/doc++/osg/LineWidth.html +++ b/doc/doc++/osg/LineWidth.html @@ -28,12 +28,12 @@ [more] LineWidth(const LineWidth& lw, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, LineWidth, LINEWIDTH) +[more] META_StateAttribute(osg, LineWidth, LINEWIDTH)
[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]void setWidth(float width) +[more]void setWidth(float width)
[more]inline float getWidth() const
@@ -65,7 +65,7 @@
ovirtual const char* className() const
-ovirtual Type getType() const +ovirtual Type getType() const
ovirtual bool isTextureAttribute() const
@@ -75,7 +75,7 @@
obool operator != (const StateAttribute& rhs) const
-ovirtual void getAssociatedModes(std::vector<GLMode>& ) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
ovirtual void compile(State&) const

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

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -167,7 +167,7 @@

-

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

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

-

ovoid setWidth(float width) +
ovoid setWidth(float width)

diff --git a/doc/doc++/osg/META_Node.html b/doc/doc++/osg/META_Node.html index 3decf65d6..9ced4dd9a 100644 --- a/doc/doc++/osg/META_Node.html +++ b/doc/doc++/osg/META_Node.html @@ -7,7 +7,7 @@ -

#define osg::META_Node

(library, name)

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

#define osg::META_Node

(library, name)

META_Node macro define the standard clone, isSameKindAs, className and accept methods.

diff --git a/doc/doc++/osg/META_Object.html b/doc/doc++/osg/META_Object.html index ffaeeee01..3c996cd53 100644 --- a/doc/doc++/osg/META_Object.html +++ b/doc/doc++/osg/META_Object.html @@ -7,7 +7,7 @@ -

#define osg::META_Object

(library, name)

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

#define osg::META_Object

(library, name)

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

diff --git a/doc/doc++/osg/META_Shape.html b/doc/doc++/osg/META_Shape.html index 07d06cd76..58498e9fc 100644 --- a/doc/doc++/osg/META_Shape.html +++ b/doc/doc++/osg/META_Shape.html @@ -7,7 +7,7 @@ -

#define osg::META_Shape

(library, name)

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

#define osg::META_Shape

(library, name)

META_StateAttribute macro define the standard clone, isSameKindAs, className and getType methods.

diff --git a/doc/doc++/osg/META_StateAttribute.html b/doc/doc++/osg/META_StateAttribute.html index 8d047e4cd..ec40cd7f1 100644 --- a/doc/doc++/osg/META_StateAttribute.html +++ b/doc/doc++/osg/META_StateAttribute.html @@ -7,7 +7,7 @@ -

#define osg::META_StateAttribute

(library, name, type)

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

#define osg::META_StateAttribute

(library, name, type)

META_StateAttribute macro define the standard clone, isSameKindAs, className and getType methods.

diff --git a/doc/doc++/osg/Material.html b/doc/doc++/osg/Material.html index 6616851db..75fb73f26 100644 --- a/doc/doc++/osg/Material.html +++ b/doc/doc++/osg/Material.html @@ -28,12 +28,12 @@ [more] Material(const Material& mat, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, Material, MATERIAL) +[more] META_StateAttribute(osg, Material, MATERIAL)
[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
[more]virtual void apply(State& state) const
@@ -149,7 +149,7 @@
ovirtual const char* className() const
-ovirtual Type getType() const +ovirtual Type getType() const
ovirtual bool isTextureAttribute() const
@@ -182,9 +182,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -249,7 +249,7 @@

-

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

@@ -258,7 +258,7 @@

-

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

diff --git a/doc/doc++/osg/MatrixTransform.html b/doc/doc++/osg/MatrixTransform.html index dca52d64d..8a45897f0 100644 --- a/doc/doc++/osg/MatrixTransform.html +++ b/doc/doc++/osg/MatrixTransform.html @@ -23,51 +23,51 @@

Public Methods

-[more] MatrixTransform() +[more] MatrixTransform()
-[more] MatrixTransform(const MatrixTransform&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] MatrixTransform(const MatrixTransform&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] MatrixTransform(const Matrix& matix) +[more] MatrixTransform(const Matrix& matix)
-[more] META_Node(osg, MatrixTransform) +[more] META_Node(osg, MatrixTransform)
-[more]virtual MatrixTransform* asMatrixTransform() +[more]virtual MatrixTransform* asMatrixTransform()
-[more]virtual const MatrixTransform* asMatrixTransform() const +[more]virtual const MatrixTransform* asMatrixTransform() const
-[more]void setMatrix(const Matrix& mat) +[more]void setMatrix(const Matrix& mat)
Set the transform's matrix
-[more]inline const Matrix& getMatrix() const +[more]inline const Matrix& getMatrix() const
Get the matrix.
-[more]void preMult(const Matrix& mat) +[more]void preMult(const Matrix& mat)
pre multiply the transforms matrix
-[more]void postMult(const Matrix& mat) +[more]void postMult(const Matrix& mat)
post multiply the transforms matrix
-[more]inline const Matrix& getInverseMatrix() const +[more]inline const Matrix& getInverseMatrix() const
Get the inverse matrix.
-[more]virtual bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor*) const +[more]virtual bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor*) const
-[more]virtual bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor*) const +[more]virtual bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor*) const

Protected Fields

-[more]Matrix _matrix +[more]Matrix _matrix
-[more]mutable Matrix _inverse +[more]mutable Matrix _inverse
-[more]mutable bool _inverseDirty +[more]mutable bool _inverseDirty

Protected Methods

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

@@ -87,15 +87,15 @@
ovirtual const DOFTransform* asDOFTransform() const
-ovoid setReferenceFrame(ReferenceFrame rf) +ovoid setReferenceFrame(ReferenceFrame rf)
-oReferenceFrame getReferenceFrame() const +oReferenceFrame getReferenceFrame() const
-ovoid setComputeTransformCallback(ComputeTransformCallback* ctc) +ovoid setComputeTransformCallback(ComputeTransformCallback* ctc)
-oComputeTransformCallback* getComputeTransformCallback() +oComputeTransformCallback* getComputeTransformCallback()
-oconst ComputeTransformCallback* getComputeTransformCallback() const +oconst ComputeTransformCallback* getComputeTransformCallback() const
oinline bool getLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const
@@ -111,9 +111,9 @@

Protected Fields

-oref_ptr<ComputeTransformCallback> _computeTransformCallback +oref_ptr<ComputeTransformCallback> _computeTransformCallback
-oReferenceFrame _referenceFrame +oReferenceFrame _referenceFrame

@@ -179,15 +179,15 @@
ovirtual void ascend(NodeVisitor& nv)
-oinline void setName( const std::string& name ) +oinline void setName( const std::string& name )
-oinline void setName( const char* name ) +oinline void setName( const char* name )
oinline const std::string& getName() const
-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
-oinline ParentList getParents() +oinline ParentList getParents()
oinline Group* getParent(unsigned int i)
@@ -221,13 +221,13 @@
obool containsOccluderNodes() const
-oinline void setNodeMask(NodeMask nm) +oinline void setNodeMask(NodeMask nm)
-oinline NodeMask getNodeMask() const +oinline NodeMask getNodeMask() const
-oinline const DescriptionList& getDescriptions() const +oinline const DescriptionList& getDescriptions() const
-oinline DescriptionList& getDescriptions() +oinline DescriptionList& getDescriptions()
oinline const std::string& getDescription(unsigned int i) const
@@ -267,7 +267,7 @@
ostd::string _name
-oParentList _parents +oParentList _parents
oref_ptr<NodeCallback> _updateCallback
@@ -281,9 +281,9 @@
ounsigned int _numChildrenWithOccluderNodes
-oNodeMask _nodeMask +oNodeMask _nodeMask
-oDescriptionList _descriptions +oDescriptionList _descriptions
oref_ptr<StateSet> _stateset

@@ -306,9 +306,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -365,77 +365,77 @@ into the Transform's parent coordinates
- +
o MatrixTransform()

- -

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

- +

o MatrixTransform(const Matrix& matix)

- +

o META_Node(osg, MatrixTransform)

- +

ovirtual MatrixTransform* asMatrixTransform()

- +

ovirtual const MatrixTransform* asMatrixTransform() const

- +

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

- +

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

- +

ovoid preMult(const Matrix& mat)
pre multiply the transforms matrix

- +

ovoid postMult(const Matrix& mat)
post multiply the transforms matrix

- +

oinline const Matrix& getInverseMatrix() const
Get the inverse matrix.

- +

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

- +

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

- +

ovirtual ~MatrixTransform()

- +

oMatrix _matrix

- +

omutable Matrix _inverse

- +

omutable bool _inverseDirty

diff --git a/doc/doc++/osg/Matrixd.html b/doc/doc++/osg/Matrixd.html index 4a5fbee66..bffaff0d4 100644 --- a/doc/doc++/osg/Matrixd.html +++ b/doc/doc++/osg/Matrixd.html @@ -22,224 +22,224 @@

Public Methods

-[more]inline Matrixd() +[more]inline Matrixd()
-[more]inline Matrixd( const Matrixd& mat) +[more]inline Matrixd( const Matrixd& mat)
-[more] Matrixd( const Matrixf& mat ) +[more] Matrixd( const Matrixf& mat )
-[more]inline explicit Matrixd( float const* const ptr ) +[more]inline explicit Matrixd( float const* const ptr )
-[more]inline explicit Matrixd( double const* const ptr ) +[more]inline explicit Matrixd( double const* const ptr )
-[more]inline explicit Matrixd( const Quat& quat ) +[more]inline explicit Matrixd( const Quat& quat )
-[more] Matrixd( value_type a00, value_type a01, value_type a02, value_type a03, value_type a10, value_type a11, value_type a12, value_type a13, value_type a20, value_type a21, value_type a22, value_type a23, value_type a30, value_type a31, value_type a32, value_type a33) +[more] Matrixd( value_type a00, value_type a01, value_type a02, value_type a03, value_type a10, value_type a11, value_type a12, value_type a13, value_type a20, value_type a21, value_type a22, value_type a23, value_type a30, value_type a31, value_type a32, value_type a33)
-[more] ~Matrixd() +[more] ~Matrixd()
-[more]int compare(const Matrixd& m) const +[more]int compare(const Matrixd& m) const
-[more]bool operator < (const Matrixd& m) const +[more]bool operator < (const Matrixd& m) const
-[more]bool operator == (const Matrixd& m) const +[more]bool operator == (const Matrixd& m) const
-[more]bool operator != (const Matrixd& m) const +[more]bool operator != (const Matrixd& m) const
-[more]inline value_type& operator()(int row, int col) +[more]inline value_type& operator()(int row, int col)
-[more]inline value_type operator()(int row, int col) const +[more]inline value_type operator()(int row, int col) const
-[more]inline bool valid() const +[more]inline bool valid() const
-[more]inline bool isNaN() const +[more]inline bool isNaN() const
-[more]inline Matrixd& operator = (const Matrixd& rhs) +[more]inline Matrixd& operator = (const Matrixd& rhs)
-[more]inline Matrixd& operator = (const Matrixf& other) +[more]inline Matrixd& operator = (const Matrixf& other)
-[more]inline void set(const Matrixd& rhs) +[more]inline void set(const Matrixd& rhs)
-[more]void set(const Matrixf& rhs) +[more]void set(const Matrixf& rhs)
-[more]inline void set(float const* const ptr) +[more]inline void set(float const* const ptr)
-[more]inline void set(double const* const ptr) +[more]inline void set(double const* const ptr)
-[more]void set( value_type a00, value_type a01, value_type a02, value_type a03, value_type a10, value_type a11, value_type a12, value_type a13, value_type a20, value_type a21, value_type a22, value_type a23, value_type a30, value_type a31, value_type a32, value_type a33) +[more]void set( value_type a00, value_type a01, value_type a02, value_type a03, value_type a10, value_type a11, value_type a12, value_type a13, value_type a20, value_type a21, value_type a22, value_type a23, value_type a30, value_type a31, value_type a32, value_type a33)
-[more]void set(const Quat& q) +[more]void set(const Quat& q)
-[more]void get(Quat& q) const +[more]void get(Quat& q) const
-[more]value_type* ptr() +[more]value_type* ptr()
-[more]const value_type* ptr() const +[more]const value_type* ptr() const
-[more]void makeIdentity() +[more]void makeIdentity()
-[more]void makeScale( const Vec3& ) +[more]void makeScale( const Vec3& )
-[more]void makeScale( value_type, value_type, value_type ) +[more]void makeScale( value_type, value_type, value_type )
-[more]void makeTranslate( const Vec3& ) +[more]void makeTranslate( const Vec3& )
-[more]void makeTranslate( value_type, value_type, value_type ) +[more]void makeTranslate( value_type, value_type, value_type )
-[more]void makeRotate( const Vec3& from, const Vec3& to ) +[more]void makeRotate( const Vec3& from, const Vec3& to )
-[more]void makeRotate( float angle, const Vec3& axis ) +[more]void makeRotate( float angle, const Vec3& axis )
-[more]void makeRotate( float angle, float x, float y, float z ) +[more]void makeRotate( float angle, float x, float y, float z )
-[more]void makeRotate( const Quat& ) +[more]void makeRotate( const Quat& )
-[more]void makeRotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3) +[more]void makeRotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)
-[more]void makeOrtho(double left, double right, double bottom, double top, double zNear, double zFar) +[more]void makeOrtho(double left, double right, double bottom, double top, double zNear, double zFar)
Set to a orthographic projection.
-[more]void getOrtho(double& left, double& right, double& bottom, double& top, double& zNear, double& zFar) +[more]void getOrtho(double& left, double& right, double& bottom, double& top, double& zNear, double& zFar)
Get the othorgraphic settings of the orthographic projection matrix.
-[more]inline void makeOrtho2D(double left, double right, double bottom, double top) +[more]inline void makeOrtho2D(double left, double right, double bottom, double top)
Set to a 2D orthographic projection.
-[more]void makeFrustum(double left, double right, double bottom, double top, double zNear, double zFar) +[more]void makeFrustum(double left, double right, double bottom, double top, double zNear, double zFar)
Set to a perspective projection.
-[more]void getFrustum(double& left, double& right, double& bottom, double& top, double& zNear, double& zFar) +[more]void getFrustum(double& left, double& right, double& bottom, double& top, double& zNear, double& zFar)
Get the frustum setting of a perspective projection matrix.
-[more]void makePerspective(double fovy, double aspectRatio, double zNear, double zFar) +[more]void makePerspective(double fovy, double aspectRatio, double zNear, double zFar)
Set to a symmetrical perspective projection, See gluPerspective for further details.
-[more]void makeLookAt(const Vec3& eye, const Vec3& center, const Vec3& up) +[more]void makeLookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
Set to the position and orientation modelview matrix, using the same convention as gluLookAt.
-[more]void getLookAt(Vec3& eye, Vec3& center, Vec3& up, float lookDistance=1.0f) +[more]void getLookAt(Vec3& eye, Vec3& center, Vec3& up, float lookDistance=1.0f)
Get to the position and orientation of a modelview matrix, using the same convention as gluLookAt.
-[more]bool invert( const Matrixd& ) +[more]bool invert( const Matrixd& )
-[more]inline static Matrixd identity( void ) +[more]inline static Matrixd identity( void )
-[more]inline static Matrixd scale( const Vec3& sv) +[more]inline static Matrixd scale( const Vec3& sv)
-[more]inline static Matrixd scale( value_type sx, value_type sy, value_type sz) +[more]inline static Matrixd scale( value_type sx, value_type sy, value_type sz)
-[more]inline static Matrixd translate( const Vec3& dv) +[more]inline static Matrixd translate( const Vec3& dv)
-[more]inline static Matrixd translate( value_type x, value_type y, value_type z) +[more]inline static Matrixd translate( value_type x, value_type y, value_type z)
-[more]inline static Matrixd rotate( const Vec3& from, const Vec3& to) +[more]inline static Matrixd rotate( const Vec3& from, const Vec3& to)
-[more]inline static Matrixd rotate( float angle, float x, float y, float z) +[more]inline static Matrixd rotate( float angle, float x, float y, float z)
-[more]inline static Matrixd rotate( float angle, const Vec3& axis) +[more]inline static Matrixd rotate( float angle, const Vec3& axis)
-[more]inline static Matrixd rotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3) +[more]inline static Matrixd rotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)
-[more]inline static Matrixd rotate( const Quat& quat) +[more]inline static Matrixd rotate( const Quat& quat)
-[more]inline static Matrixd inverse( const Matrixd& matrix) +[more]inline static Matrixd inverse( const Matrixd& matrix)
-[more]inline static Matrixd ortho(double left, double right, double bottom, double top, double zNear, double zFar) +[more]inline static Matrixd ortho(double left, double right, double bottom, double top, double zNear, double zFar)
Create a orthographic projection.
-[more]inline static Matrixd ortho2D(double left, double right, double bottom, double top) +[more]inline static Matrixd ortho2D(double left, double right, double bottom, double top)
Create a 2D orthographic projection.
-[more]inline static Matrixd frustum(double left, double right, double bottom, double top, double zNear, double zFar) +[more]inline static Matrixd frustum(double left, double right, double bottom, double top, double zNear, double zFar)
Create a perspective projection.
-[more]inline static Matrixd perspective(double fovy, double aspectRatio, double zNear, double zFar) +[more]inline static Matrixd perspective(double fovy, double aspectRatio, double zNear, double zFar)
Create a symmetrical perspective projection, See gluPerspective for further details.
-[more]inline static Matrixd lookAt(const Vec3& eye, const Vec3& center, const Vec3& up) +[more]inline static Matrixd lookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
Create the position and orientation as per a camera, using the same convention as gluLookAt.
-[more]void setTrans( value_type tx, value_type ty, value_type tz ) +[more]void setTrans( value_type tx, value_type ty, value_type tz )
-[more]void setTrans( const Vec3& v ) +[more]void setTrans( const Vec3& v )
-[more]inline Vec3 getTrans() const +[more]inline Vec3 getTrans() const
-[more]inline Vec3 getScale() const +[more]inline Vec3 getScale() const
-[more]inline static Vec3 transform3x3(const Vec3& v, const Matrixd& m) +[more]inline static Vec3 transform3x3(const Vec3& v, const Matrixd& m)
apply apply an 3x3 transform of v*M[02,02]
-[more]inline static Vec3 transform3x3(const Matrixd& m, const Vec3& v) +[more]inline static Vec3 transform3x3(const Matrixd& m, const Vec3& v)
apply apply an 3x3 transform of M[02,02]*v
-[more]void mult( const Matrixd&, const Matrixd& ) +[more]void mult( const Matrixd&, const Matrixd& )
-[more]void preMult( const Matrixd& ) +[more]void preMult( const Matrixd& )
-[more]void postMult( const Matrixd& ) +[more]void postMult( const Matrixd& )
-[more]inline void operator *= ( const Matrixd& other ) +[more]inline void operator *= ( const Matrixd& other )
-[more]inline Matrixd operator * ( const Matrixd &m ) const +[more]inline Matrixd operator * ( const Matrixd &m ) const
-[more]inline Matrixd identity(void) +[more]inline Matrixd identity(void)
-[more]inline Matrixd scale(value_type sx, value_type sy, value_type sz) +[more]inline Matrixd scale(value_type sx, value_type sy, value_type sz)
-[more]inline Matrixd scale(const Vec3& v ) +[more]inline Matrixd scale(const Vec3& v )
-[more]inline Matrixd translate(value_type tx, value_type ty, value_type tz) +[more]inline Matrixd translate(value_type tx, value_type ty, value_type tz)
-[more]inline Matrixd translate(const Vec3& v ) +[more]inline Matrixd translate(const Vec3& v )
-[more]inline Matrixd rotate( const Quat& q ) +[more]inline Matrixd rotate( const Quat& q )
-[more]inline Matrixd rotate(float angle, float x, float y, float z ) +[more]inline Matrixd rotate(float angle, float x, float y, float z )
-[more]inline Matrixd rotate(float angle, const Vec3& axis ) +[more]inline Matrixd rotate(float angle, const Vec3& axis )
-[more]inline Matrixd rotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3) +[more]inline Matrixd rotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)
-[more]inline Matrixd rotate(const Vec3& from, const Vec3& to ) +[more]inline Matrixd rotate(const Vec3& from, const Vec3& to )
-[more]inline Matrixd inverse( const Matrixd& matrix) +[more]inline Matrixd inverse( const Matrixd& matrix)
-[more]inline Matrixd ortho(double left, double right, double bottom, double top, double zNear, double zFar) +[more]inline Matrixd ortho(double left, double right, double bottom, double top, double zNear, double zFar)
-[more]inline Matrixd ortho2D(double left, double right, double bottom, double top) +[more]inline Matrixd ortho2D(double left, double right, double bottom, double top)
-[more]inline Matrixd frustum(double left, double right, double bottom, double top, double zNear, double zFar) +[more]inline Matrixd frustum(double left, double right, double bottom, double top, double zNear, double zFar)
-[more]inline Matrixd perspective(double fovy, double aspectRatio, double zNear, double zFar) +[more]inline Matrixd perspective(double fovy, double aspectRatio, double zNear, double zFar)
-[more]inline Matrixd lookAt(const Vec3& eye, const Vec3& center, const Vec3& up) +[more]inline Matrixd lookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
-[more]inline Vec3 postMult( const Vec3& v ) const +[more]inline Vec3 postMult( const Vec3& v ) const
-[more]inline Vec3 preMult( const Vec3& v ) const +[more]inline Vec3 preMult( const Vec3& v ) const
-[more]inline Vec4 postMult( const Vec4& v ) const +[more]inline Vec4 postMult( const Vec4& v ) const
-[more]inline Vec4 preMult( const Vec4& v ) const +[more]inline Vec4 preMult( const Vec4& v ) const
-[more]inline Vec3 transform3x3(const Vec3& v, const Matrixd& m) +[more]inline Vec3 transform3x3(const Vec3& v, const Matrixd& m)
-[more]inline Vec3 transform3x3(const Matrixd& m, const Vec3& v) +[more]inline Vec3 transform3x3(const Matrixd& m, const Vec3& v)
-[more]inline Vec3 operator* (const Vec3& v) const +[more]inline Vec3 operator* (const Vec3& v) const
-[more]inline Vec4 operator* (const Vec4& v) const +[more]inline Vec4 operator* (const Vec4& v) const

Public Members

-[more]typedef float value_type +[more]typedef double value_type

Protected Fields

-[more]value_type _mat[4][4] +[more]value_type _mat[4][4]

@@ -250,418 +250,418 @@
- -
otypedef float value_type + +
otypedef double value_type

- +

oinline Matrixd()

- -

oinline Matrixd( const Matrixd& mat) + +
oinline Matrixd( const Matrixd& mat)

- +

o Matrixd( const Matrixf& mat )

- -

oinline explicit Matrixd( float const* const ptr ) + +
oinline explicit Matrixd( float const* const ptr )

- -

oinline explicit Matrixd( double const* const ptr ) + +
oinline explicit Matrixd( double const* const ptr )

- +

oinline explicit Matrixd( const Quat& quat )

- -

o Matrixd( value_type a00, value_type a01, value_type a02, value_type a03, value_type a10, value_type a11, value_type a12, value_type a13, value_type a20, value_type a21, value_type a22, value_type a23, value_type a30, value_type a31, value_type a32, value_type a33) + +
o Matrixd( value_type a00, value_type a01, value_type a02, value_type a03, value_type a10, value_type a11, value_type a12, value_type a13, value_type a20, value_type a21, value_type a22, value_type a23, value_type a30, value_type a31, value_type a32, value_type a33)

- +

o ~Matrixd()

- +

oint compare(const Matrixd& m) const

- +

obool operator < (const Matrixd& m) const

- +

obool operator == (const Matrixd& m) const

- +

obool operator != (const Matrixd& m) const

- -

oinline value_type& operator()(int row, int col) + +
oinline value_type& operator()(int row, int col)

- -

oinline value_type operator()(int row, int col) const + +
oinline value_type operator()(int row, int col) const

- +

oinline bool valid() const

- +

oinline bool isNaN() const

- +

oinline Matrixd& operator = (const Matrixd& rhs)

- +

oinline Matrixd& operator = (const Matrixf& other)

- +

oinline void set(const Matrixd& rhs)

- +

ovoid set(const Matrixf& rhs)

- -

oinline void set(float const* const ptr) + +
oinline void set(float const* const ptr)

- -

oinline void set(double const* const ptr) + +
oinline void set(double const* const ptr)

- -

ovoid set( value_type a00, value_type a01, value_type a02, value_type a03, value_type a10, value_type a11, value_type a12, value_type a13, value_type a20, value_type a21, value_type a22, value_type a23, value_type a30, value_type a31, value_type a32, value_type a33) + +
ovoid set( value_type a00, value_type a01, value_type a02, value_type a03, value_type a10, value_type a11, value_type a12, value_type a13, value_type a20, value_type a21, value_type a22, value_type a23, value_type a30, value_type a31, value_type a32, value_type a33)

- +

ovoid set(const Quat& q)

- +

ovoid get(Quat& q) const

- -

ovalue_type* ptr() + +
ovalue_type* ptr()

- -

oconst value_type* ptr() const + +
oconst value_type* ptr() const

- +

ovoid makeIdentity()

- +

ovoid makeScale( const Vec3& )

- -

ovoid makeScale( value_type, value_type, value_type ) + +
ovoid makeScale( value_type, value_type, value_type )

- +

ovoid makeTranslate( const Vec3& )

- -

ovoid makeTranslate( value_type, value_type, value_type ) + +
ovoid makeTranslate( value_type, value_type, value_type )

- +

ovoid makeRotate( const Vec3& from, const Vec3& to )

- +

ovoid makeRotate( float angle, const Vec3& axis )

- -

ovoid makeRotate( float angle, float x, float y, float z ) + +
ovoid makeRotate( float angle, float x, float y, float z )

- +

ovoid makeRotate( const Quat& )

- +

ovoid makeRotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)

- +

ovoid makeOrtho(double left, double right, double bottom, double top, double zNear, double zFar)
Set to a orthographic projection. See glOrtho for further details.

- +

ovoid getOrtho(double& left, double& right, double& bottom, double& top, double& zNear, double& zFar)
Get the othorgraphic settings of the orthographic projection matrix. Note, if matrix is not an orthographic matrix then invalid values will be returned.

- +

oinline void makeOrtho2D(double left, double right, double bottom, double top)
Set to a 2D orthographic projection. See glOrtho2D for further details.

- +

ovoid makeFrustum(double left, double right, double bottom, double top, double zNear, double zFar)
Set to a perspective projection. See glFrustum for further details.

- +

ovoid getFrustum(double& left, double& right, double& bottom, double& top, double& zNear, double& zFar)
Get the frustum setting of a perspective projection matrix. Note, if matrix is not an perspective matrix then invalid values will be returned.

- -

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

- +

ovoid makeLookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
Set to the position and orientation modelview matrix, using the same convention as gluLookAt.

- +

ovoid getLookAt(Vec3& eye, Vec3& center, Vec3& up, float lookDistance=1.0f)
Get to the position and orientation of a modelview matrix, using the same convention as gluLookAt.

- +

obool invert( const Matrixd& )

- +

oinline static Matrixd identity( void )

- +

oinline static Matrixd scale( const Vec3& sv)

- -

oinline static Matrixd scale( value_type sx, value_type sy, value_type sz) + +
oinline static Matrixd scale( value_type sx, value_type sy, value_type sz)

- +

oinline static Matrixd translate( const Vec3& dv)

- -

oinline static Matrixd translate( value_type x, value_type y, value_type z) + +
oinline static Matrixd translate( value_type x, value_type y, value_type z)

- +

oinline static Matrixd rotate( const Vec3& from, const Vec3& to)

- -

oinline static Matrixd rotate( float angle, float x, float y, float z) + +
oinline static Matrixd rotate( float angle, float x, float y, float z)

- +

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

- +

oinline static Matrixd rotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)

- +

oinline static Matrixd rotate( const Quat& quat)

- +

oinline static Matrixd inverse( const Matrixd& matrix)

- +

oinline static Matrixd ortho(double left, double right, double bottom, double top, double zNear, double zFar)
Create a orthographic projection. See glOrtho for further details.

- +

oinline static Matrixd ortho2D(double left, double right, double bottom, double top)
Create a 2D orthographic projection. See glOrtho for further details.

- +

oinline static Matrixd frustum(double left, double right, double bottom, double top, double zNear, double zFar)
Create a perspective projection. See glFrustum for further details.

- -

oinline static Matrixd perspective(double fovy, double aspectRatio, double zNear, double zFar) + +
oinline static Matrixd perspective(double fovy, double aspectRatio, double zNear, double zFar)
Create a symmetrical perspective projection, See gluPerspective for further details. Aspect ratio is defined as width/height.

- +

oinline static Matrixd lookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
Create the position and orientation as per a camera, using the same convention as gluLookAt.

- -

ovoid setTrans( value_type tx, value_type ty, value_type tz ) + +
ovoid setTrans( value_type tx, value_type ty, value_type tz )

- +

ovoid setTrans( const Vec3& v )

- +

oinline Vec3 getTrans() const

- +

oinline Vec3 getScale() const

- +

oinline static Vec3 transform3x3(const Vec3& v, const Matrixd& m)
apply apply an 3x3 transform of v*M[02,02]

- +

oinline static Vec3 transform3x3(const Matrixd& m, const Vec3& v)
apply apply an 3x3 transform of M[02,02]*v

- +

ovoid mult( const Matrixd&, const Matrixd& )

- +

ovoid preMult( const Matrixd& )

- +

ovoid postMult( const Matrixd& )

- +

oinline void operator *= ( const Matrixd& other )

- +

oinline Matrixd operator * ( const Matrixd &m ) const

- -

ovalue_type _mat[4][4] + +
ovalue_type _mat[4][4]

- +

oinline Matrixd identity(void)

- -

oinline Matrixd scale(value_type sx, value_type sy, value_type sz) + +
oinline Matrixd scale(value_type sx, value_type sy, value_type sz)

- +

oinline Matrixd scale(const Vec3& v )

- -

oinline Matrixd translate(value_type tx, value_type ty, value_type tz) + +
oinline Matrixd translate(value_type tx, value_type ty, value_type tz)

- +

oinline Matrixd translate(const Vec3& v )

- +

oinline Matrixd rotate( const Quat& q )

- -

oinline Matrixd rotate(float angle, float x, float y, float z ) + +
oinline Matrixd rotate(float angle, float x, float y, float z )

- +

oinline Matrixd rotate(float angle, const Vec3& axis )

- +

oinline Matrixd rotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)

- +

oinline Matrixd rotate(const Vec3& from, const Vec3& to )

- +

oinline Matrixd inverse( const Matrixd& matrix)

- +

oinline Matrixd ortho(double left, double right, double bottom, double top, double zNear, double zFar)

- +

oinline Matrixd ortho2D(double left, double right, double bottom, double top)

- +

oinline Matrixd frustum(double left, double right, double bottom, double top, double zNear, double zFar)

- -

oinline Matrixd perspective(double fovy, double aspectRatio, double zNear, double zFar) + +
oinline Matrixd perspective(double fovy, double aspectRatio, double zNear, double zFar)

- +

oinline Matrixd lookAt(const Vec3& eye, const Vec3& center, const Vec3& up)

- +

oinline Vec3 postMult( const Vec3& v ) const

- +

oinline Vec3 preMult( const Vec3& v ) const

- +

oinline Vec4 postMult( const Vec4& v ) const

- +

oinline Vec4 preMult( const Vec4& v ) const

- +

oinline Vec3 transform3x3(const Vec3& v, const Matrixd& m)

- +

oinline Vec3 transform3x3(const Matrixd& m, const Vec3& v)

- +

oinline Vec3 operator* (const Vec3& v) const

- +

oinline Vec4 operator* (const Vec4& v) const


diff --git a/doc/doc++/osg/Matrixf.html b/doc/doc++/osg/Matrixf.html index 9264bed71..ec2d5f7a0 100644 --- a/doc/doc++/osg/Matrixf.html +++ b/doc/doc++/osg/Matrixf.html @@ -22,224 +22,224 @@

Public Methods

-[more]inline Matrixf() +[more]inline Matrixf()
-[more]inline Matrixf( const Matrixf& mat) +[more]inline Matrixf( const Matrixf& mat)
-[more] Matrixf( const Matrixd& mat ) +[more] Matrixf( const Matrixd& mat )
-[more]inline explicit Matrixf( float const* const ptr ) +[more]inline explicit Matrixf( float const* const ptr )
-[more]inline explicit Matrixf( double const* const ptr ) +[more]inline explicit Matrixf( double const* const ptr )
-[more]inline explicit Matrixf( const Quat& quat ) +[more]inline explicit Matrixf( const Quat& quat )
-[more] Matrixf( value_type a00, value_type a01, value_type a02, value_type a03, value_type a10, value_type a11, value_type a12, value_type a13, value_type a20, value_type a21, value_type a22, value_type a23, value_type a30, value_type a31, value_type a32, value_type a33) +[more] Matrixf( value_type a00, value_type a01, value_type a02, value_type a03, value_type a10, value_type a11, value_type a12, value_type a13, value_type a20, value_type a21, value_type a22, value_type a23, value_type a30, value_type a31, value_type a32, value_type a33)
-[more] ~Matrixf() +[more] ~Matrixf()
-[more]int compare(const Matrixf& m) const +[more]int compare(const Matrixf& m) const
-[more]bool operator < (const Matrixf& m) const +[more]bool operator < (const Matrixf& m) const
-[more]bool operator == (const Matrixf& m) const +[more]bool operator == (const Matrixf& m) const
-[more]bool operator != (const Matrixf& m) const +[more]bool operator != (const Matrixf& m) const
-[more]inline value_type& operator()(int row, int col) +[more]inline value_type& operator()(int row, int col)
-[more]inline value_type operator()(int row, int col) const +[more]inline value_type operator()(int row, int col) const
-[more]inline bool valid() const +[more]inline bool valid() const
-[more]inline bool isNaN() const +[more]inline bool isNaN() const
-[more]inline Matrixf& operator = (const Matrixf& rhs) +[more]inline Matrixf& operator = (const Matrixf& rhs)
-[more]Matrixf& operator = (const Matrixd& rhs) +[more]Matrixf& operator = (const Matrixd& rhs)
-[more]void set(const Matrixd& rhs) +[more]void set(const Matrixd& rhs)
-[more]inline void set(const Matrixf& rhs) +[more]inline void set(const Matrixf& rhs)
-[more]inline void set(float const* const ptr) +[more]inline void set(float const* const ptr)
-[more]inline void set(double const* const ptr) +[more]inline void set(double const* const ptr)
-[more]void set( value_type a00, value_type a01, value_type a02, value_type a03, value_type a10, value_type a11, value_type a12, value_type a13, value_type a20, value_type a21, value_type a22, value_type a23, value_type a30, value_type a31, value_type a32, value_type a33) +[more]void set( value_type a00, value_type a01, value_type a02, value_type a03, value_type a10, value_type a11, value_type a12, value_type a13, value_type a20, value_type a21, value_type a22, value_type a23, value_type a30, value_type a31, value_type a32, value_type a33)
-[more]void set(const Quat& q) +[more]void set(const Quat& q)
-[more]void get(Quat& q) const +[more]void get(Quat& q) const
-[more]value_type* ptr() +[more]value_type* ptr()
-[more]const value_type* ptr() const +[more]const value_type* ptr() const
-[more]void makeIdentity() +[more]void makeIdentity()
-[more]void makeScale( const Vec3& ) +[more]void makeScale( const Vec3& )
-[more]void makeScale( value_type, value_type, value_type ) +[more]void makeScale( value_type, value_type, value_type )
-[more]void makeTranslate( const Vec3& ) +[more]void makeTranslate( const Vec3& )
-[more]void makeTranslate( value_type, value_type, value_type ) +[more]void makeTranslate( value_type, value_type, value_type )
-[more]void makeRotate( const Vec3& from, const Vec3& to ) +[more]void makeRotate( const Vec3& from, const Vec3& to )
-[more]void makeRotate( float angle, const Vec3& axis ) +[more]void makeRotate( float angle, const Vec3& axis )
-[more]void makeRotate( float angle, float x, float y, float z ) +[more]void makeRotate( float angle, float x, float y, float z )
-[more]void makeRotate( const Quat& ) +[more]void makeRotate( const Quat& )
-[more]void makeRotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3) +[more]void makeRotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)
-[more]void makeOrtho(double left, double right, double bottom, double top, double zNear, double zFar) +[more]void makeOrtho(double left, double right, double bottom, double top, double zNear, double zFar)
Set to a orthographic projection.
-[more]void getOrtho(double& left, double& right, double& bottom, double& top, double& zNear, double& zFar) +[more]void getOrtho(double& left, double& right, double& bottom, double& top, double& zNear, double& zFar)
Get the othorgraphic settings of the orthographic projection matrix.
-[more]inline void makeOrtho2D(double left, double right, double bottom, double top) +[more]inline void makeOrtho2D(double left, double right, double bottom, double top)
Set to a 2D orthographic projection.
-[more]void makeFrustum(double left, double right, double bottom, double top, double zNear, double zFar) +[more]void makeFrustum(double left, double right, double bottom, double top, double zNear, double zFar)
Set to a perspective projection.
-[more]void getFrustum(double& left, double& right, double& bottom, double& top, double& zNear, double& zFar) +[more]void getFrustum(double& left, double& right, double& bottom, double& top, double& zNear, double& zFar)
Get the frustum setting of a perspective projection matrix.
-[more]void makePerspective(double fovy, double aspectRatio, double zNear, double zFar) +[more]void makePerspective(double fovy, double aspectRatio, double zNear, double zFar)
Set to a symmetrical perspective projection, See gluPerspective for further details.
-[more]void makeLookAt(const Vec3& eye, const Vec3& center, const Vec3& up) +[more]void makeLookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
Set to the position and orientation modelview matrix, using the same convention as gluLookAt.
-[more]void getLookAt(Vec3& eye, Vec3& center, Vec3& up, float lookDistance=1.0f) +[more]void getLookAt(Vec3& eye, Vec3& center, Vec3& up, float lookDistance=1.0f)
Get to the position and orientation of a modelview matrix, using the same convention as gluLookAt.
-[more]bool invert( const Matrixf& ) +[more]bool invert( const Matrixf& )
-[more]inline static Matrixf identity( void ) +[more]inline static Matrixf identity( void )
-[more]inline static Matrixf scale( const Vec3& sv) +[more]inline static Matrixf scale( const Vec3& sv)
-[more]inline static Matrixf scale( value_type sx, value_type sy, value_type sz) +[more]inline static Matrixf scale( value_type sx, value_type sy, value_type sz)
-[more]inline static Matrixf translate( const Vec3& dv) +[more]inline static Matrixf translate( const Vec3& dv)
-[more]inline static Matrixf translate( value_type x, value_type y, value_type z) +[more]inline static Matrixf translate( value_type x, value_type y, value_type z)
-[more]inline static Matrixf rotate( const Vec3& from, const Vec3& to) +[more]inline static Matrixf rotate( const Vec3& from, const Vec3& to)
-[more]inline static Matrixf rotate( float angle, float x, float y, float z) +[more]inline static Matrixf rotate( float angle, float x, float y, float z)
-[more]inline static Matrixf rotate( float angle, const Vec3& axis) +[more]inline static Matrixf rotate( float angle, const Vec3& axis)
-[more]inline static Matrixf rotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3) +[more]inline static Matrixf rotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)
-[more]inline static Matrixf rotate( const Quat& quat) +[more]inline static Matrixf rotate( const Quat& quat)
-[more]inline static Matrixf inverse( const Matrixf& matrix) +[more]inline static Matrixf inverse( const Matrixf& matrix)
-[more]inline static Matrixf ortho(double left, double right, double bottom, double top, double zNear, double zFar) +[more]inline static Matrixf ortho(double left, double right, double bottom, double top, double zNear, double zFar)
Create a orthographic projection.
-[more]inline static Matrixf ortho2D(double left, double right, double bottom, double top) +[more]inline static Matrixf ortho2D(double left, double right, double bottom, double top)
Create a 2D orthographic projection.
-[more]inline static Matrixf frustum(double left, double right, double bottom, double top, double zNear, double zFar) +[more]inline static Matrixf frustum(double left, double right, double bottom, double top, double zNear, double zFar)
Create a perspective projection.
-[more]inline static Matrixf perspective(double fovy, double aspectRatio, double zNear, double zFar) +[more]inline static Matrixf perspective(double fovy, double aspectRatio, double zNear, double zFar)
Create a symmetrical perspective projection, See gluPerspective for further details.
-[more]inline static Matrixf lookAt(const Vec3& eye, const Vec3& center, const Vec3& up) +[more]inline static Matrixf lookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
Create the position and orientation as per a camera, using the same convention as gluLookAt.
-[more]void setTrans( value_type tx, value_type ty, value_type tz ) +[more]void setTrans( value_type tx, value_type ty, value_type tz )
-[more]void setTrans( const Vec3& v ) +[more]void setTrans( const Vec3& v )
-[more]inline Vec3 getTrans() const +[more]inline Vec3 getTrans() const
-[more]inline Vec3 getScale() const +[more]inline Vec3 getScale() const
-[more]inline static Vec3 transform3x3(const Vec3& v, const Matrixf& m) +[more]inline static Vec3 transform3x3(const Vec3& v, const Matrixf& m)
apply apply an 3x3 transform of v*M[02,02]
-[more]inline static Vec3 transform3x3(const Matrixf& m, const Vec3& v) +[more]inline static Vec3 transform3x3(const Matrixf& m, const Vec3& v)
apply apply an 3x3 transform of M[02,02]*v
-[more]void mult( const Matrixf&, const Matrixf& ) +[more]void mult( const Matrixf&, const Matrixf& )
-[more]void preMult( const Matrixf& ) +[more]void preMult( const Matrixf& )
-[more]void postMult( const Matrixf& ) +[more]void postMult( const Matrixf& )
-[more]inline void operator *= ( const Matrixf& other ) +[more]inline void operator *= ( const Matrixf& other )
-[more]inline Matrixf operator * ( const Matrixf &m ) const +[more]inline Matrixf operator * ( const Matrixf &m ) const
-[more]inline Matrixf identity(void) +[more]inline Matrixf identity(void)
-[more]inline Matrixf scale(value_type sx, value_type sy, value_type sz) +[more]inline Matrixf scale(value_type sx, value_type sy, value_type sz)
-[more]inline Matrixf scale(const Vec3& v ) +[more]inline Matrixf scale(const Vec3& v )
-[more]inline Matrixf translate(value_type tx, value_type ty, value_type tz) +[more]inline Matrixf translate(value_type tx, value_type ty, value_type tz)
-[more]inline Matrixf translate(const Vec3& v ) +[more]inline Matrixf translate(const Vec3& v )
-[more]inline Matrixf rotate( const Quat& q ) +[more]inline Matrixf rotate( const Quat& q )
-[more]inline Matrixf rotate(float angle, float x, float y, float z ) +[more]inline Matrixf rotate(float angle, float x, float y, float z )
-[more]inline Matrixf rotate(float angle, const Vec3& axis ) +[more]inline Matrixf rotate(float angle, const Vec3& axis )
-[more]inline Matrixf rotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3) +[more]inline Matrixf rotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)
-[more]inline Matrixf rotate(const Vec3& from, const Vec3& to ) +[more]inline Matrixf rotate(const Vec3& from, const Vec3& to )
-[more]inline Matrixf inverse( const Matrixf& matrix) +[more]inline Matrixf inverse( const Matrixf& matrix)
-[more]inline Matrixf ortho(double left, double right, double bottom, double top, double zNear, double zFar) +[more]inline Matrixf ortho(double left, double right, double bottom, double top, double zNear, double zFar)
-[more]inline Matrixf ortho2D(double left, double right, double bottom, double top) +[more]inline Matrixf ortho2D(double left, double right, double bottom, double top)
-[more]inline Matrixf frustum(double left, double right, double bottom, double top, double zNear, double zFar) +[more]inline Matrixf frustum(double left, double right, double bottom, double top, double zNear, double zFar)
-[more]inline Matrixf perspective(double fovy, double aspectRatio, double zNear, double zFar) +[more]inline Matrixf perspective(double fovy, double aspectRatio, double zNear, double zFar)
-[more]inline Matrixf lookAt(const Vec3& eye, const Vec3& center, const Vec3& up) +[more]inline Matrixf lookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
-[more]inline Vec3 postMult( const Vec3& v ) const +[more]inline Vec3 postMult( const Vec3& v ) const
-[more]inline Vec3 preMult( const Vec3& v ) const +[more]inline Vec3 preMult( const Vec3& v ) const
-[more]inline Vec4 postMult( const Vec4& v ) const +[more]inline Vec4 postMult( const Vec4& v ) const
-[more]inline Vec4 preMult( const Vec4& v ) const +[more]inline Vec4 preMult( const Vec4& v ) const
-[more]inline Vec3 transform3x3(const Vec3& v, const Matrixf& m) +[more]inline Vec3 transform3x3(const Vec3& v, const Matrixf& m)
-[more]inline Vec3 transform3x3(const Matrixf& m, const Vec3& v) +[more]inline Vec3 transform3x3(const Matrixf& m, const Vec3& v)
-[more]inline Vec3 operator* (const Vec3& v) const +[more]inline Vec3 operator* (const Vec3& v) const
-[more]inline Vec4 operator* (const Vec4& v) const +[more]inline Vec4 operator* (const Vec4& v) const

Public Members

-[more]typedef float value_type +[more]typedef float value_type

Protected Fields

-[more]value_type _mat[4][4] +[more]value_type _mat[4][4]

@@ -250,418 +250,418 @@
- +
otypedef float value_type

- +

oinline Matrixf()

- -

oinline Matrixf( const Matrixf& mat) + +
oinline Matrixf( const Matrixf& mat)

- +

o Matrixf( const Matrixd& mat )

- -

oinline explicit Matrixf( float const* const ptr ) + +
oinline explicit Matrixf( float const* const ptr )

- -

oinline explicit Matrixf( double const* const ptr ) + +
oinline explicit Matrixf( double const* const ptr )

- +

oinline explicit Matrixf( const Quat& quat )

- -

o Matrixf( value_type a00, value_type a01, value_type a02, value_type a03, value_type a10, value_type a11, value_type a12, value_type a13, value_type a20, value_type a21, value_type a22, value_type a23, value_type a30, value_type a31, value_type a32, value_type a33) + +
o Matrixf( value_type a00, value_type a01, value_type a02, value_type a03, value_type a10, value_type a11, value_type a12, value_type a13, value_type a20, value_type a21, value_type a22, value_type a23, value_type a30, value_type a31, value_type a32, value_type a33)

- +

o ~Matrixf()

- +

oint compare(const Matrixf& m) const

- +

obool operator < (const Matrixf& m) const

- +

obool operator == (const Matrixf& m) const

- +

obool operator != (const Matrixf& m) const

- -

oinline value_type& operator()(int row, int col) + +
oinline value_type& operator()(int row, int col)

- -

oinline value_type operator()(int row, int col) const + +
oinline value_type operator()(int row, int col) const

- +

oinline bool valid() const

- +

oinline bool isNaN() const

- +

oinline Matrixf& operator = (const Matrixf& rhs)

- +

oMatrixf& operator = (const Matrixd& rhs)

- +

ovoid set(const Matrixd& rhs)

- +

oinline void set(const Matrixf& rhs)

- -

oinline void set(float const* const ptr) + +
oinline void set(float const* const ptr)

- -

oinline void set(double const* const ptr) + +
oinline void set(double const* const ptr)

- -

ovoid set( value_type a00, value_type a01, value_type a02, value_type a03, value_type a10, value_type a11, value_type a12, value_type a13, value_type a20, value_type a21, value_type a22, value_type a23, value_type a30, value_type a31, value_type a32, value_type a33) + +
ovoid set( value_type a00, value_type a01, value_type a02, value_type a03, value_type a10, value_type a11, value_type a12, value_type a13, value_type a20, value_type a21, value_type a22, value_type a23, value_type a30, value_type a31, value_type a32, value_type a33)

- +

ovoid set(const Quat& q)

- +

ovoid get(Quat& q) const

- -

ovalue_type* ptr() + +
ovalue_type* ptr()

- -

oconst value_type* ptr() const + +
oconst value_type* ptr() const

- +

ovoid makeIdentity()

- +

ovoid makeScale( const Vec3& )

- -

ovoid makeScale( value_type, value_type, value_type ) + +
ovoid makeScale( value_type, value_type, value_type )

- +

ovoid makeTranslate( const Vec3& )

- -

ovoid makeTranslate( value_type, value_type, value_type ) + +
ovoid makeTranslate( value_type, value_type, value_type )

- +

ovoid makeRotate( const Vec3& from, const Vec3& to )

- +

ovoid makeRotate( float angle, const Vec3& axis )

- -

ovoid makeRotate( float angle, float x, float y, float z ) + +
ovoid makeRotate( float angle, float x, float y, float z )

- +

ovoid makeRotate( const Quat& )

- +

ovoid makeRotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)

- +

ovoid makeOrtho(double left, double right, double bottom, double top, double zNear, double zFar)
Set to a orthographic projection. See glOrtho for further details.

- +

ovoid getOrtho(double& left, double& right, double& bottom, double& top, double& zNear, double& zFar)
Get the othorgraphic settings of the orthographic projection matrix. Note, if matrix is not an orthographic matrix then invalid values will be returned.

- +

oinline void makeOrtho2D(double left, double right, double bottom, double top)
Set to a 2D orthographic projection. See glOrtho2D for further details.

- +

ovoid makeFrustum(double left, double right, double bottom, double top, double zNear, double zFar)
Set to a perspective projection. See glFrustum for further details.

- +

ovoid getFrustum(double& left, double& right, double& bottom, double& top, double& zNear, double& zFar)
Get the frustum setting of a perspective projection matrix. Note, if matrix is not an perspective matrix then invalid values will be returned.

- -

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

- +

ovoid makeLookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
Set to the position and orientation modelview matrix, using the same convention as gluLookAt.

- +

ovoid getLookAt(Vec3& eye, Vec3& center, Vec3& up, float lookDistance=1.0f)
Get to the position and orientation of a modelview matrix, using the same convention as gluLookAt.

- +

obool invert( const Matrixf& )

- +

oinline static Matrixf identity( void )

- +

oinline static Matrixf scale( const Vec3& sv)

- -

oinline static Matrixf scale( value_type sx, value_type sy, value_type sz) + +
oinline static Matrixf scale( value_type sx, value_type sy, value_type sz)

- +

oinline static Matrixf translate( const Vec3& dv)

- -

oinline static Matrixf translate( value_type x, value_type y, value_type z) + +
oinline static Matrixf translate( value_type x, value_type y, value_type z)

- +

oinline static Matrixf rotate( const Vec3& from, const Vec3& to)

- -

oinline static Matrixf rotate( float angle, float x, float y, float z) + +
oinline static Matrixf rotate( float angle, float x, float y, float z)

- +

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

- +

oinline static Matrixf rotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)

- +

oinline static Matrixf rotate( const Quat& quat)

- +

oinline static Matrixf inverse( const Matrixf& matrix)

- +

oinline static Matrixf ortho(double left, double right, double bottom, double top, double zNear, double zFar)
Create a orthographic projection. See glOrtho for further details.

- +

oinline static Matrixf ortho2D(double left, double right, double bottom, double top)
Create a 2D orthographic projection. See glOrtho for further details.

- +

oinline static Matrixf frustum(double left, double right, double bottom, double top, double zNear, double zFar)
Create a perspective projection. See glFrustum for further details.

- -

oinline static Matrixf perspective(double fovy, double aspectRatio, double zNear, double zFar) + +
oinline static Matrixf perspective(double fovy, double aspectRatio, double zNear, double zFar)
Create a symmetrical perspective projection, See gluPerspective for further details. Aspect ratio is defined as width/height.

- +

oinline static Matrixf lookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
Create the position and orientation as per a camera, using the same convention as gluLookAt.

- -

ovoid setTrans( value_type tx, value_type ty, value_type tz ) + +
ovoid setTrans( value_type tx, value_type ty, value_type tz )

- +

ovoid setTrans( const Vec3& v )

- +

oinline Vec3 getTrans() const

- +

oinline Vec3 getScale() const

- +

oinline static Vec3 transform3x3(const Vec3& v, const Matrixf& m)
apply apply an 3x3 transform of v*M[02,02]

- +

oinline static Vec3 transform3x3(const Matrixf& m, const Vec3& v)
apply apply an 3x3 transform of M[02,02]*v

- +

ovoid mult( const Matrixf&, const Matrixf& )

- +

ovoid preMult( const Matrixf& )

- +

ovoid postMult( const Matrixf& )

- +

oinline void operator *= ( const Matrixf& other )

- +

oinline Matrixf operator * ( const Matrixf &m ) const

- -

ovalue_type _mat[4][4] + +
ovalue_type _mat[4][4]

- +

oinline Matrixf identity(void)

- -

oinline Matrixf scale(value_type sx, value_type sy, value_type sz) + +
oinline Matrixf scale(value_type sx, value_type sy, value_type sz)

- +

oinline Matrixf scale(const Vec3& v )

- -

oinline Matrixf translate(value_type tx, value_type ty, value_type tz) + +
oinline Matrixf translate(value_type tx, value_type ty, value_type tz)

- +

oinline Matrixf translate(const Vec3& v )

- +

oinline Matrixf rotate( const Quat& q )

- -

oinline Matrixf rotate(float angle, float x, float y, float z ) + +
oinline Matrixf rotate(float angle, float x, float y, float z )

- +

oinline Matrixf rotate(float angle, const Vec3& axis )

- +

oinline Matrixf rotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)

- +

oinline Matrixf rotate(const Vec3& from, const Vec3& to )

- +

oinline Matrixf inverse( const Matrixf& matrix)

- +

oinline Matrixf ortho(double left, double right, double bottom, double top, double zNear, double zFar)

- +

oinline Matrixf ortho2D(double left, double right, double bottom, double top)

- +

oinline Matrixf frustum(double left, double right, double bottom, double top, double zNear, double zFar)

- -

oinline Matrixf perspective(double fovy, double aspectRatio, double zNear, double zFar) + +
oinline Matrixf perspective(double fovy, double aspectRatio, double zNear, double zFar)

- +

oinline Matrixf lookAt(const Vec3& eye, const Vec3& center, const Vec3& up)

- +

oinline Vec3 postMult( const Vec3& v ) const

- +

oinline Vec3 preMult( const Vec3& v ) const

- +

oinline Vec4 postMult( const Vec4& v ) const

- +

oinline Vec4 preMult( const Vec4& v ) const

- +

oinline Vec3 transform3x3(const Vec3& v, const Matrixf& m)

- +

oinline Vec3 transform3x3(const Matrixf& m, const Vec3& v)

- +

oinline Vec3 operator* (const Vec3& v) const

- +

oinline Vec4 operator* (const Vec4& v) const


diff --git a/doc/doc++/osg/Node.html b/doc/doc++/osg/Node.html index 3dff60066..0026f9de7 100644 --- a/doc/doc++/osg/Node.html +++ b/doc/doc++/osg/Node.html @@ -23,210 +23,210 @@

Public Methods

-[more] Node() +[more] Node()
Construct a node.
-[more] Node(const Node&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Node(const Node&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more]virtual Object* cloneType() const +[more]virtual Object* cloneType() const
clone the an object of the same type as the node
-[more]virtual Object* clone(const CopyOp& copyop) const +[more]virtual Object* clone(const CopyOp& copyop) const
return a clone of a node, with Object* return type
-[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
return true if this and obj are of the same kind of object
-[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
return the name of the node's library
-[more]virtual const char* className() const +[more]virtual const char* className() const
return the name of the node's class type
-[more]virtual Group* asGroup() +[more]virtual Group* asGroup()
convert 'this' into a Group pointer if Node is a Group, otherwise return 0.
-[more]virtual const Group* asGroup() const +[more]virtual const Group* asGroup() const
convert 'const this' into a const Group pointer if Node is a Group, otherwise return 0.
-[more]virtual Transform* asTransform() +[more]virtual Transform* asTransform()
convert 'this' into a Transform pointer if Node is a Transform, otherwise return 0.
-[more]virtual const Transform* asTransform() const +[more]virtual const Transform* asTransform() const
convert 'const this' into a const Transform pointer if Node is a Transform, otherwise return 0.
-[more]virtual void accept(NodeVisitor& nv) +[more]virtual void accept(NodeVisitor& nv)
Visitor Pattern : calls the apply method of a NodeVisitor with this node's type
-[more]virtual void ascend(NodeVisitor& nv) +[more]virtual void ascend(NodeVisitor& nv)
Traverse upwards : calls parents' accept method with NodeVisitor
-[more]virtual void traverse(NodeVisitor& ) +[more]virtual void traverse(NodeVisitor& )
Traverse downwards : calls children's accept method with NodeVisitor
-[more]inline void setName( const std::string& name ) +[more]inline void setName( const std::string& name )
Set the name of node using C++ style string
-[more]inline void setName( const char* name ) +[more]inline void setName( const char* name )
Set the name of node using a C style string
-[more]inline const std::string& getName() const +[more]inline const std::string& getName() const
Get the name of node
-[more]inline const ParentList& getParents() const +[more]inline const ParentList& getParents() const
Get the parent list of node.
-[more]inline ParentList getParents() +[more]inline ParentList getParents()
Get the a copy of parent list of node.
-[more]inline Group* getParent(unsigned int i) +[more]inline Group* getParent(unsigned int i)
-[more]inline const Group* getParent(unsigned int i) const +[more]inline const Group* getParent(unsigned int i) const
Get a single const parent of node.
-[more]inline unsigned int getNumParents() const +[more]inline unsigned int getNumParents() const
Get the number of parents of node.
-[more]void setUpdateCallback(NodeCallback* nc) +[more]void setUpdateCallback(NodeCallback* nc)
Set update node callback, called during update traversal.
-[more]inline NodeCallback* getUpdateCallback() +[more]inline NodeCallback* getUpdateCallback()
Get update node callback, called during update traversal.
-[more]inline const NodeCallback* getUpdateCallback() const +[more]inline const NodeCallback* getUpdateCallback() const
Get const update node callback, called during update traversal.
-[more]inline unsigned int getNumChildrenRequiringUpdateTraversal() const +[more]inline unsigned int getNumChildrenRequiringUpdateTraversal() const
Get the number of Children of this node which require App traversal, since they have an AppCallback attached to them or their children
-[more]void setCullCallback(NodeCallback* nc) +[more]void setCullCallback(NodeCallback* nc)
Set cull node callback, called during cull traversal.
-[more]inline NodeCallback* getCullCallback() +[more]inline NodeCallback* getCullCallback()
Get cull node callback, called during cull traversal.
-[more]inline const NodeCallback* getCullCallback() const +[more]inline const NodeCallback* getCullCallback() const
Get const cull node callback, called during cull traversal.
-[more]void setCullingActive(bool active) +[more]void setCullingActive(bool active)
Set the view frustum/small feature culling of this node to be active or inactive.
-[more]inline bool getCullingActive() const +[more]inline bool getCullingActive() const
Get the view frustum/small feature _cullingActive flag for this node.
-[more]inline unsigned int getNumChildrenWithCullingDisabled() const +[more]inline unsigned int getNumChildrenWithCullingDisabled() const
Get the number of Children of this node which have culling disabled
-[more]inline bool isCullingActive() const +[more]inline bool isCullingActive() const
Return true if this node can be culled by view frustum, occlusion or small feature culling during the cull traversal.
-[more]inline unsigned int getNumChildrenWithOccluderNodes() const +[more]inline unsigned int getNumChildrenWithOccluderNodes() const
Get the number of Children of this node which are or have OccluderNode's
-[more]bool containsOccluderNodes() const +[more]bool containsOccluderNodes() const
return true if this node is an OccluderNode or the subgraph below this node are OccluderNodes
-[more]inline void setNodeMask(NodeMask nm) +[more]inline void setNodeMask(NodeMask nm)
Set the node mask.
-[more]inline NodeMask getNodeMask() const +[more]inline NodeMask getNodeMask() const
Get the node Mask.
-[more]inline const DescriptionList& getDescriptions() const +[more]inline const DescriptionList& getDescriptions() const
Get the description list of the const node
-[more]inline DescriptionList& getDescriptions() +[more]inline DescriptionList& getDescriptions()
Get the description list of the const node
-[more]inline const std::string& getDescription(unsigned int i) const +[more]inline const std::string& getDescription(unsigned int i) const
Get a single const description of the const node
-[more]inline std::string& getDescription(unsigned int i) +[more]inline std::string& getDescription(unsigned int i)
Get a single description of the node
-[more]inline unsigned int getNumDescriptions() const +[more]inline unsigned int getNumDescriptions() const
Get the number of descriptions of the node
-[more]void addDescription(const std::string& desc) +[more]void addDescription(const std::string& desc)
Add a description string to the node
-[more]inline void setStateSet(osg::StateSet* dstate) +[more]inline void setStateSet(osg::StateSet* dstate)
set the node's StateSet
-[more]osg::StateSet* getOrCreateStateSet() +[more]osg::StateSet* getOrCreateStateSet()
return the node's StateSet, if one does not already exist create it set the node and return the newly created StateSet.
-[more]inline osg::StateSet* getStateSet() +[more]inline osg::StateSet* getStateSet()
return the node's StateSet.
-[more]inline const osg::StateSet* getStateSet() const +[more]inline const osg::StateSet* getStateSet() const
return the node's const StateSet.
-[more]inline const BoundingSphere& getBound() const +[more]inline const BoundingSphere& getBound() const
get the bounding sphere of node.
-[more]void dirtyBound() +[more]void dirtyBound()
Mark this node's bounding sphere dirty.

Public Members

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

Protected Fields

-[more]mutable BoundingSphere _bsphere +[more]mutable BoundingSphere _bsphere
-[more]mutable bool _bsphere_computed +[more]mutable bool _bsphere_computed
-[more]std::string _name +[more]std::string _name
-[more]ParentList _parents +[more]ParentList _parents
-[more]ref_ptr<NodeCallback> _updateCallback +[more]ref_ptr<NodeCallback> _updateCallback
-[more]unsigned int _numChildrenRequiringUpdateTraversal +[more]unsigned int _numChildrenRequiringUpdateTraversal
-[more]ref_ptr<NodeCallback> _cullCallback +[more]ref_ptr<NodeCallback> _cullCallback
-[more]bool _cullingActive +[more]bool _cullingActive
-[more]unsigned int _numChildrenWithCullingDisabled +[more]unsigned int _numChildrenWithCullingDisabled
-[more]unsigned int _numChildrenWithOccluderNodes +[more]unsigned int _numChildrenWithOccluderNodes
-[more]NodeMask _nodeMask +[more]NodeMask _nodeMask
-[more]DescriptionList _descriptions +[more]DescriptionList _descriptions
-[more]ref_ptr<StateSet> _stateset +[more]ref_ptr<StateSet> _stateset

Protected Methods

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

@@ -234,9 +234,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

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

- -

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

- +

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

- +

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

- +

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

- +

ovirtual const char* libraryName() const
return the name of the node's library

- +

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

- +

ovirtual Group* asGroup()
convert 'this' into a Group pointer if Node is a Group, otherwise return 0. Equivalent to dynamic_cast(this).

- +

ovirtual const Group* asGroup() const
convert 'const this' into a const Group pointer if Node is a Group, otherwise return 0. Equivalent to dynamic_cast(this).

- +

ovirtual Transform* asTransform()
convert 'this' into a Transform pointer if Node is a Transform, otherwise return 0. Equivalent to dynamic_cast(this).

- +

ovirtual const Transform* asTransform() const
convert 'const this' into a const Transform pointer if Node is a Transform, otherwise return 0. Equivalent to dynamic_cast(this).

- +

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

- +

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

- +

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

- -

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

- -

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

- +

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

- +

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

- -

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

- -

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

- +

oinline Group* getParent(unsigned int i)

- +

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

- +

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

- +

ovoid setUpdateCallback(NodeCallback* nc)
Set update node callback, called during update traversal.

- +

oinline NodeCallback* getUpdateCallback()
Get update node callback, called during update traversal.

- +

oinline const NodeCallback* getUpdateCallback() const
Get const update node callback, called during update traversal.

- +

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

- +

ovoid setCullCallback(NodeCallback* nc)
Set cull node callback, called during cull traversal.

- +

oinline NodeCallback* getCullCallback()
Get cull node callback, called during cull traversal.

- +

oinline const NodeCallback* getCullCallback() const
Get const cull node callback, called during cull traversal.

- +

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

- +

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

- +

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

- +

oinline bool isCullingActive() const
Return true if this node can be culled by view frustum, occlusion or small feature culling during the cull traversal. note, return true only if no children have culling disabled, and the local _cullingActive flag is true.

- +

oinline unsigned int getNumChildrenWithOccluderNodes() const
Get the number of Children of this node which are or have OccluderNode's

- +

obool containsOccluderNodes() const
return true if this node is an OccluderNode or the subgraph below this node are OccluderNodes

- +

otypedef unsigned int NodeMask

- -

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

- -

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

- +

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

- -

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

- -

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

- +

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

- +

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

- +

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

- +

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

- +

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

- +

oosg::StateSet* getOrCreateStateSet()
return the node's StateSet, if one does not already exist create it set the node and return the newly created StateSet. This ensures that a valid StateSet is always returned and can be used directly.

- +

oinline osg::StateSet* getStateSet()
return the node's StateSet. returns NULL if a stateset is not attached.

- +

oinline const osg::StateSet* getStateSet() const
return the node's const StateSet. returns NULL if a stateset is not attached.

- +

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

- +

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

- +

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

- +

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

- +

omutable BoundingSphere _bsphere

- +

omutable bool _bsphere_computed

- +

ostd::string _name

- +

ovoid addParent(osg::Group* node)

- +

ovoid removeParent(osg::Group* node)

- -

oParentList _parents + +
oParentList _parents

- +

oref_ptr<NodeCallback> _updateCallback

- +

ounsigned int _numChildrenRequiringUpdateTraversal

- +

ovoid setNumChildrenRequiringUpdateTraversal(unsigned int num)

- +

oref_ptr<NodeCallback> _cullCallback

- +

obool _cullingActive

- +

ounsigned int _numChildrenWithCullingDisabled

- +

ovoid setNumChildrenWithCullingDisabled(unsigned int num)

- +

ounsigned int _numChildrenWithOccluderNodes

- +

ovoid setNumChildrenWithOccluderNodes(unsigned int num)

- -

oNodeMask _nodeMask + +
oNodeMask _nodeMask

- -

oDescriptionList _descriptions + +
oDescriptionList _descriptions

- +

oref_ptr<StateSet> _stateset


diff --git a/doc/doc++/osg/NodeAcceptOp.html b/doc/doc++/osg/NodeAcceptOp.html index 0b2cab5bc..2bbc5f8ae 100644 --- a/doc/doc++/osg/NodeAcceptOp.html +++ b/doc/doc++/osg/NodeAcceptOp.html @@ -12,13 +12,13 @@

-[more]NodeVisitor& _nv +[more]NodeVisitor& _nv
-[more] NodeAcceptOp(NodeVisitor& nv) +[more] NodeAcceptOp(NodeVisitor& nv)
-[more]void operator () (Node* node) +[more]void operator () (Node* node)
-[more]void operator () (ref_ptr<Node> node) +[more]void operator () (ref_ptr<Node> node)

@@ -29,19 +29,19 @@
- +
oNodeVisitor& _nv

- +

o NodeAcceptOp(NodeVisitor& nv)

- +

ovoid operator () (Node* node)

- +

ovoid operator () (ref_ptr<Node> node)

Alphabetic index HTML hierarchy of classes or Java


diff --git a/doc/doc++/osg/NodeCallback.html b/doc/doc++/osg/NodeCallback.html index 0b7111c39..3af474fa1 100644 --- a/doc/doc++/osg/NodeCallback.html +++ b/doc/doc++/osg/NodeCallback.html @@ -22,32 +22,32 @@

Public Fields

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

Public Methods

-[more] NodeCallback() +[more] NodeCallback()
-[more] NodeCallback(const NodeCallback&, const CopyOp&) +[more] NodeCallback(const NodeCallback&, const CopyOp&)
-[more]META_Object(osg, NodeCallback) ()(Node* node, NodeVisitor* nv) +[more]META_Object(osg, NodeCallback) ()(Node* node, NodeVisitor* nv)
-[more]void traverse(Node* node, NodeVisitor* nv) +[more]void traverse(Node* node, NodeVisitor* nv)
Call any nested callbacks and then traverse the scene graph.
-[more]void setNestedCallback(NodeCallback* nc) +[more]void setNestedCallback(NodeCallback* nc)
-[more]NodeCallback* getNestedCallback() +[more]NodeCallback* getNestedCallback()
-[more]inline void addNestedCallback(NodeCallback* nc) +[more]inline void addNestedCallback(NodeCallback* nc)
-[more]inline void removeNestedCallback(NodeCallback* nc) +[more]inline void removeNestedCallback(NodeCallback* nc)

Protected Methods

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

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -121,44 +121,44 @@
- +
o NodeCallback()

- -

o NodeCallback(const NodeCallback&, const CopyOp&) + +
o NodeCallback(const NodeCallback&, const CopyOp&)

- -

oMETA_Object(osg, NodeCallback) ()(Node* node, NodeVisitor* nv) + +
oMETA_Object(osg, NodeCallback) ()(Node* node, NodeVisitor* nv)

- +

ovoid traverse(Node* node, NodeVisitor* nv)
Call any nested callbacks and then traverse the scene graph.

- +

ovoid setNestedCallback(NodeCallback* nc)

- +

oNodeCallback* getNestedCallback()

- +

oinline void addNestedCallback(NodeCallback* nc)

- +

oinline void removeNestedCallback(NodeCallback* nc)

- +

oref_ptr<NodeCallback> _nestedCallback

- +

ovirtual ~NodeCallback()


diff --git a/doc/doc++/osg/NodeVisitor.html b/doc/doc++/osg/NodeVisitor.html index 9e489a8cd..a58321dce 100644 --- a/doc/doc++/osg/NodeVisitor.html +++ b/doc/doc++/osg/NodeVisitor.html @@ -23,138 +23,138 @@

Public Methods

-[more] NodeVisitor(TraversalMode tm=TRAVERSE_NONE) +[more] NodeVisitor(TraversalMode tm=TRAVERSE_NONE)
-[more] NodeVisitor(VisitorType type, TraversalMode tm=TRAVERSE_NONE) +[more] NodeVisitor(VisitorType type, TraversalMode tm=TRAVERSE_NONE)
-[more]virtual ~NodeVisitor() +[more]virtual ~NodeVisitor()
-[more]virtual void reset() +[more]virtual void reset()
Method to call to reset visitor.
-[more]inline void setVisitorType(VisitorType type) +[more]inline void setVisitorType(VisitorType type)
Set the VisitorType, used to distingush different visitors during traversal of the scene, typically used in the Node::traverse() method to select which behaviour to use for different types of traversal/visitors
-[more]inline VisitorType getVisitorType() const +[more]inline VisitorType getVisitorType() const
Get the VisitorType
-[more]inline void setTraversalNumber(int fn) +[more]inline void setTraversalNumber(int fn)
Set the traversal number.
-[more]inline int getTraversalNumber() const +[more]inline int getTraversalNumber() const
Get the traversal number.
-[more]inline void setFrameStamp(FrameStamp* fs) +[more]inline void setFrameStamp(FrameStamp* fs)
Set the FrameStamp that this traversal is assoicated with
-[more]inline const FrameStamp* getFrameStamp() const +[more]inline const FrameStamp* getFrameStamp() const
Get the FrameStamp that this traversal is assoicated with
-[more]inline void setTraversalMask(Node::NodeMask mask) +[more]inline void setTraversalMask(Node::NodeMask mask)
Set the TraversalMask of this NodeVisitor.
-[more]inline Node::NodeMask getTraversalMask() const +[more]inline Node::NodeMask getTraversalMask() const
Get the TraversalMask
-[more]inline void setNodeMaskOverride(Node::NodeMask mask) +[more]inline void setNodeMaskOverride(Node::NodeMask mask)
Set the NodeMaskOverride mask.
-[more]inline Node::NodeMask getNodeMaskOverride() const +[more]inline Node::NodeMask getNodeMaskOverride() const
Get the NodeMaskOverride mask
-[more]inline bool validNodeMask(const osg::Node& node) const +[more]inline bool validNodeMask(const osg::Node& node) const
Method to called by Node and its subclass' Node::accept() method, if the result is true to be used to cull operations of nodes and their subgraphs.
-[more]inline void setTraversalMode(TraversalMode mode) +[more]inline void setTraversalMode(TraversalMode mode)
Set the traversal mode for Node::traverse() to use when deciding which children of a node to traverse.
-[more]inline TraversalMode getTraversalMode() const +[more]inline TraversalMode getTraversalMode() const
Get the traversal mode
-[more]inline void setUserData(Referenced* obj) +[more]inline void setUserData(Referenced* obj)
Set user data, data must be subclased from Referenced to allow automatic memory handling.
-[more]inline Referenced* getUserData() +[more]inline Referenced* getUserData()
Get user data
-[more]inline const Referenced* getUserData() const +[more]inline const Referenced* getUserData() const
Get const user data
-[more]inline void traverse(Node& node) +[more]inline void traverse(Node& node)
Method for handling traversal of a nodes.
-[more]inline void pushOntoNodePath(Node* node) +[more]inline void pushOntoNodePath(Node* node)
Method called by osg::Node::accept() method before a call the NodeVisitor::apply().
-[more]inline void popFromNodePath() +[more]inline void popFromNodePath()
Method callby osg::Node::accept() method after a call the NodeVisitor::apply().
-[more]NodePath& getNodePath() +[more]NodePath& getNodePath()
Get the non const NodePath from the top most node applied down to the current Node being visited
-[more]const NodePath& getNodePath() const +[more]const NodePath& getNodePath() const
Get the const NodePath from the top most node applied down to the current Node being visited
-[more]virtual osg::Vec3 getEyePoint() const +[more]virtual osg::Vec3 getEyePoint() const
Get the eye point in local coordinates.
-[more]virtual float getDistanceToEyePoint(const Vec3& , bool ) const +[more]virtual float getDistanceToEyePoint(const Vec3& , bool ) const
Get the distance from a point to the eye point, distance value in local coordinate system.
-[more]virtual float getDistanceFromEyePoint(const Vec3& , bool ) const +[more]virtual float getDistanceFromEyePoint(const Vec3& , bool ) const
Get the distance of a point from the eye point, distance value in the eye coordinate system.
-[more]virtual void apply(Node& node) +[more]virtual void apply(Node& node)
-[more]virtual void apply(Geode& node) +[more]virtual void apply(Geode& node)
-[more]virtual void apply(Billboard& node) +[more]virtual void apply(Billboard& node)
-[more]virtual void apply(Group& node) +[more]virtual void apply(Group& node)
-[more]virtual void apply(Projection& node) +[more]virtual void apply(Projection& node)
-[more]virtual void apply(ClipNode& node) +[more]virtual void apply(ClipNode& node)
-[more]virtual void apply(LightSource& node) +[more]virtual void apply(LightSource& node)
-[more]virtual void apply(Transform& node) +[more]virtual void apply(Transform& node)
-[more]virtual void apply(DOFTransform& node) +[more]virtual void apply(DOFTransform& node)
-[more]virtual void apply(MatrixTransform& node) +[more]virtual void apply(MatrixTransform& node)
-[more]virtual void apply(PositionAttitudeTransform& node) +[more]virtual void apply(PositionAttitudeTransform& node)
-[more]virtual void apply(Switch& node) +[more]virtual void apply(Switch& node)
-[more]virtual void apply(Sequence& node) +[more]virtual void apply(Sequence& node)
-[more]virtual void apply(LOD& node) +[more]virtual void apply(LOD& node)
-[more]virtual void apply(PagedLOD& node) +[more]virtual void apply(PagedLOD& node)
-[more]virtual void apply(Impostor& node) +[more]virtual void apply(Impostor& node)
-[more]virtual void apply(ClearNode& node) +[more]virtual void apply(ClearNode& node)
-[more]virtual void apply(OccluderNode& node) +[more]virtual void apply(OccluderNode& node)
-[more]void setDatabaseRequestHandler(DatabaseRequestHandler* handler) +[more]void setDatabaseRequestHandler(DatabaseRequestHandler* handler)
Set the handler for database requests
-[more]DatabaseRequestHandler* getDatabaseRequestHandler() +[more]DatabaseRequestHandler* getDatabaseRequestHandler()
Get the handler for database requests
-[more]const DatabaseRequestHandler* getDatabaseRequestHandler() const +[more]const DatabaseRequestHandler* getDatabaseRequestHandler() const
Get the const handler for database requests

Public Members

-[more]enum TraversalMode +[more]enum TraversalMode
-[more]enum VisitorType +[more]enum VisitorType
class DatabaseRequestHandler: public osg::Referenced
callback for managing database paging, such as generated by PagedLOD nodes @@ -162,23 +162,23 @@ class DatabaseRequestHandler:

Protected Fields

-[more]VisitorType _visitorType +[more]VisitorType _visitorType
-[more]int _traversalNumber +[more]int _traversalNumber
-[more]ref_ptr<FrameStamp> _frameStamp +[more]ref_ptr<FrameStamp> _frameStamp
-[more]TraversalMode _traversalMode +[more]TraversalMode _traversalMode
-[more]Node::NodeMask _traversalMask +[more]Node::NodeMask _traversalMask
-[more]Node::NodeMask _nodeMaskOverride +[more]Node::NodeMask _nodeMaskOverride
-[more]NodePath _nodePath +[more]NodePath _nodePath
-[more]ref_ptr<Referenced> _userData +[more]ref_ptr<Referenced> _userData
-[more]ref_ptr<DatabaseRequestHandler> _databaseRequestHandler +[more]ref_ptr<DatabaseRequestHandler> _databaseRequestHandler

@@ -228,63 +228,63 @@ not be called.
- +
oenum TraversalMode

- +
o TRAVERSE_NONE

- +

o TRAVERSE_PARENTS

- +

o TRAVERSE_ALL_CHILDREN

- +

o TRAVERSE_ACTIVE_CHILDREN

- +
oenum VisitorType

- +
o NODE_VISITOR

- +

o UPDATE_VISITOR

- +

o COLLECT_OCCLUDER_VISITOR

- +

o CULL_VISITOR

- -
o NodeVisitor(TraversalMode tm=TRAVERSE_NONE) + +
o NodeVisitor(TraversalMode tm=TRAVERSE_NONE)

- -

o NodeVisitor(VisitorType type, TraversalMode tm=TRAVERSE_NONE) + +
o NodeVisitor(VisitorType type, TraversalMode tm=TRAVERSE_NONE)

- +

ovirtual ~NodeVisitor()

- +

ovirtual void reset()
Method to call to reset visitor. Useful for your visitor accumulates state during a traversal, and you plan to reuse the visitor. @@ -292,39 +292,39 @@ To flush that state for the next traversal than call reset() prior to each traversal.

- -

oinline void setVisitorType(VisitorType type) + +
oinline void setVisitorType(VisitorType type)
Set the VisitorType, used to distingush different visitors during traversal of the scene, typically used in the Node::traverse() method to select which behaviour to use for different types of traversal/visitors

- -

oinline VisitorType getVisitorType() const + +
oinline VisitorType getVisitorType() const
Get the VisitorType

- +

oinline void setTraversalNumber(int fn)
Set the traversal number. Typically used to denote the frame count.

- +

oinline int getTraversalNumber() const
Get the traversal number. Typically used to denote the frame count.

- +

oinline void setFrameStamp(FrameStamp* fs)
Set the FrameStamp that this traversal is assoicated with

- +

oinline const FrameStamp* getFrameStamp() const
Get the FrameStamp that this traversal is assoicated with

- +

oinline void setTraversalMask(Node::NodeMask mask)
Set the TraversalMask of this NodeVisitor. The TraversalMask is used by the NodeVisitor::validNodeMask() method @@ -337,12 +337,12 @@ _nodeMaskOverride to 0xffffffff will allow a visitor to work on all nodes regardless of their own Node::_nodeMask state.

- +

oinline Node::NodeMask getTraversalMask() const
Get the TraversalMask

- +

oinline void setNodeMaskOverride(Node::NodeMask mask)
Set the NodeMaskOverride mask. Used in validNodeMask() to determine whether to operate on a node or its @@ -351,12 +351,12 @@ Typically used to force on nodes which may have been switched off by their own Node::_nodeMask.

- +

oinline Node::NodeMask getNodeMaskOverride() const
Get the NodeMaskOverride mask

- +

oinline bool validNodeMask(const osg::Node& node) const
Method to called by Node and its subclass' Node::accept() method, if the result is true to be used to cull operations of nodes and their subgraphs. @@ -366,8 +366,8 @@ default values for _traversalMask is 0xffffffff, _nodeMaskOverride is 0x0, and osg::Node::_nodeMask is 0xffffffff.

- -

oinline void setTraversalMode(TraversalMode mode) + +
oinline void setTraversalMode(TraversalMode mode)
Set the traversal mode for Node::traverse() to use when deciding which children of a node to traverse. If a NodeVisitor has been attached via setTraverseVisitor() @@ -375,12 +375,12 @@ and the new mode is not TRAVERSE_VISITOR then the attached visitor is detached. Default mode is TRAVERSE_NONE.

- -

oinline TraversalMode getTraversalMode() const + +
oinline TraversalMode getTraversalMode() const
Get the traversal mode

- +

oinline void setUserData(Referenced* obj)
Set user data, data must be subclased from Referenced to allow @@ -389,17 +389,17 @@ subclassed from Referenced then create and adapter object which points to your own objects and handles the memory addressing.

- +

oinline Referenced* getUserData()
Get user data

- +

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

- +

oinline void traverse(Node& node)
Method for handling traversal of a nodes. If you intend to use the visitor for actively traversing @@ -407,7 +407,7 @@ the scene graph then make sure the accept() methods call this method unless they handle traversal directly.

- +

oinline void pushOntoNodePath(Node* node)
Method called by osg::Node::accept() method before a call the NodeVisitor::apply(). The back of the list will, @@ -418,7 +418,7 @@ Note, the user does not typically call pushNodeOnPath() as it will be called automatically by the Node::accept() method.

- +

oinline void popFromNodePath()
Method callby osg::Node::accept() method after a call the NodeVisitor::apply(). @@ -426,158 +426,158 @@ Note, the user does not typically call pushNodeOnPath() as it will be called automatically by the Node::accept() method.

- +

oNodePath& getNodePath()
Get the non const NodePath from the top most node applied down to the current Node being visited

- +

oconst NodePath& getNodePath() const
Get the const NodePath from the top most node applied down to the current Node being visited

- +

ovirtual osg::Vec3 getEyePoint() const
Get the eye point in local coordinates. Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement.

- +

ovirtual float getDistanceToEyePoint(const Vec3& , bool ) const
Get the distance from a point to the eye point, distance value in local coordinate system. Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. If the getDistianceFromEyePoint(pos) is not implmented than a default value of 0.0 is returned.

- +

ovirtual float getDistanceFromEyePoint(const Vec3& , bool ) const
Get the distance of a point from the eye point, distance value in the eye coordinate system. Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. If the getDistianceFromEyePoint(pos) is not implmented than a default value of 0.0 is returned.

- +

ovirtual void apply(Node& node)

- +

ovirtual void apply(Geode& node)

- +

ovirtual void apply(Billboard& node)

- +

ovirtual void apply(Group& node)

- +

ovirtual void apply(Projection& node)

- +

ovirtual void apply(ClipNode& node)

- +

ovirtual void apply(LightSource& node)

- +

ovirtual void apply(Transform& node)

- +

ovirtual void apply(DOFTransform& node)

- +

ovirtual void apply(MatrixTransform& node)

- +

ovirtual void apply(PositionAttitudeTransform& node)

- +

ovirtual void apply(Switch& node)

- +

ovirtual void apply(Sequence& node)

- +

ovirtual void apply(LOD& node)

- +

ovirtual void apply(PagedLOD& node)

- +

ovirtual void apply(Impostor& node)

- +

ovirtual void apply(ClearNode& node)

- +

ovirtual void apply(OccluderNode& node)

- +

ovoid setDatabaseRequestHandler(DatabaseRequestHandler* handler)
Set the handler for database requests

- +

oDatabaseRequestHandler* getDatabaseRequestHandler()
Get the handler for database requests

- +

oconst DatabaseRequestHandler* getDatabaseRequestHandler() const
Get the const handler for database requests

- -

oVisitorType _visitorType + +
oVisitorType _visitorType

- +

oint _traversalNumber

- +

oref_ptr<FrameStamp> _frameStamp

- -

oTraversalMode _traversalMode + +
oTraversalMode _traversalMode

- +

oNode::NodeMask _traversalMask

- +

oNode::NodeMask _nodeMaskOverride

- +

oNodePath _nodePath

- +

oref_ptr<Referenced> _userData

- +

oref_ptr<DatabaseRequestHandler> _databaseRequestHandler


diff --git a/doc/doc++/osg/NotifySeverity.html b/doc/doc++/osg/NotifySeverity.html index 09d1a6eaa..c43025dcb 100644 --- a/doc/doc++/osg/NotifySeverity.html +++ b/doc/doc++/osg/NotifySeverity.html @@ -12,19 +12,19 @@

-[more] ALWAYS +[more] ALWAYS
-[more] FATAL +[more] FATAL
-[more] WARN +[more] WARN
-[more] NOTICE +[more] NOTICE
-[more] INFO +[more] INFO
-[more] DEBUG_INFO +[more] DEBUG_INFO
-[more] DEBUG_FP +[more] DEBUG_FP

@@ -39,31 +39,31 @@ further details.
- +
o ALWAYS

- +

o FATAL

- +

o WARN

- +

o NOTICE

- +

o INFO

- +

o DEBUG_INFO

- +

o DEBUG_FP

Alphabetic index HTML hierarchy of classes or Java


diff --git a/doc/doc++/osg/Object.html b/doc/doc++/osg/Object.html index 3d18b4ff9..fff0d7950 100644 --- a/doc/doc++/osg/Object.html +++ b/doc/doc++/osg/Object.html @@ -23,57 +23,57 @@

Public Methods

-[more]inline Object() +[more]inline Object()
Construct an object.
-[more] Object(const Object&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Object(const Object&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor, optional CopyOp object can be used to control shallow vs deep copying of dynamic data
-[more]virtual Object* cloneType() const = 0 +[more]virtual Object* cloneType() const = 0
Clone the type of an object, with Object* return type.
-[more]virtual Object* clone(const CopyOp&) const = 0 +[more]virtual Object* clone(const CopyOp&) const = 0
Clone the an object, with Object* return type.
-[more]virtual bool isSameKindAs(const Object*) const +[more]virtual bool isSameKindAs(const Object*) const
-[more]virtual const char* libraryName() const = 0 +[more]virtual const char* libraryName() const = 0
return the name of the object's library.
-[more]virtual const char* className() const = 0 +[more]virtual const char* className() const = 0
return the name of the object's class type.
-[more]inline void setDataVariance(DataVariance dv) +[more]inline void setDataVariance(DataVariance dv)
Set the data variance of this object.
-[more]inline DataVariance getDataVariance() const +[more]inline DataVariance getDataVariance() const
Get the data variance of this object
-[more]inline void setUserData(Referenced* obj) +[more]inline void setUserData(Referenced* obj)
Set user data, data must be subclased from Referenced to allow automatic memory handling.
-[more]inline Referenced* getUserData() +[more]inline Referenced* getUserData()
Get user data
-[more]inline const Referenced* getUserData() const +[more]inline const Referenced* getUserData() const
Get const user data

Public Members

-[more]enum DataVariance +[more]enum DataVariance

Protected Fields

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

Protected Methods

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

@@ -113,7 +113,7 @@ Based on GOF Composite, Prototype and Template Method patterns.
- +
oinline Object()
Construct an object. Note Object is a pure virtual base class and therefore cannot be constructed on its own, only derived @@ -121,69 +121,69 @@ classes which override the clone and className methods are concrete classes and can be constructed.

- -

o Object(const Object&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o Object(const Object&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor, optional CopyOp object can be used to control shallow vs deep copying of dynamic data

- +

ovirtual Object* cloneType() const = 0
Clone the type of an object, with Object* return type. Must be defined by derived classes.

- +

ovirtual Object* clone(const CopyOp&) const = 0
Clone the an object, with Object* return type. Must be defined by derived classes.

- +

ovirtual bool isSameKindAs(const Object*) const

- +

ovirtual const char* libraryName() const = 0
return the name of the object's library. Must be defined by derived classes. The OpenSceneGraph convention the is that the namspace of a library is the same as the library name.

- +

ovirtual const char* className() const = 0
return the name of the object's class type. Must be defined by derived classes.

- +

oenum DataVariance

- +
o DYNAMIC

- +

o STATIC

- -
oinline void setDataVariance(DataVariance dv) + +
oinline void setDataVariance(DataVariance dv)
Set the data variance of this object. Can be set to either STATIC for values that do not change over the lifetime of the object, or DYNAMIC for values that vary over the lifetime of the object. The DataVariance value can be used be routines such as optimzation codes that wish to share static data.

- -

oinline DataVariance getDataVariance() const + +
oinline 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 @@ -192,17 +192,17 @@ subclassed from Referenced then create and adapter object which points to your own objects and handles the memory addressing.

- +

oinline Referenced* getUserData()
Get user data

- +

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

- +

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

- -

oDataVariance _dataVariance + +
oDataVariance _dataVariance

- +

oref_ptr<Referenced> _userData


diff --git a/doc/doc++/osg/OccluderNode.html b/doc/doc++/osg/OccluderNode.html index e3a19c35d..fc13e2136 100644 --- a/doc/doc++/osg/OccluderNode.html +++ b/doc/doc++/osg/OccluderNode.html @@ -23,33 +23,33 @@

Public Methods

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

Protected Fields

-[more]ref_ptr<ConvexPlanarOccluder> _occluder +[more]ref_ptr<ConvexPlanarOccluder> _occluder

Protected Methods

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

@@ -115,15 +115,15 @@
ovirtual void ascend(NodeVisitor& nv)
-oinline void setName( const std::string& name ) +oinline void setName( const std::string& name )
-oinline void setName( const char* name ) +oinline void setName( const char* name )
oinline const std::string& getName() const
-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
-oinline ParentList getParents() +oinline ParentList getParents()
oinline Group* getParent(unsigned int i)
@@ -157,13 +157,13 @@
obool containsOccluderNodes() const
-oinline void setNodeMask(NodeMask nm) +oinline void setNodeMask(NodeMask nm)
-oinline NodeMask getNodeMask() const +oinline NodeMask getNodeMask() const
-oinline const DescriptionList& getDescriptions() const +oinline const DescriptionList& getDescriptions() const
-oinline DescriptionList& getDescriptions() +oinline DescriptionList& getDescriptions()
oinline const std::string& getDescription(unsigned int i) const
@@ -203,7 +203,7 @@
ostd::string _name
-oParentList _parents +oParentList _parents
oref_ptr<NodeCallback> _updateCallback
@@ -217,9 +217,9 @@
ounsigned int _numChildrenWithOccluderNodes
-oNodeMask _nodeMask +oNodeMask _nodeMask
-oDescriptionList _descriptions +oDescriptionList _descriptions
oref_ptr<StateSet> _stateset

@@ -242,9 +242,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -302,44 +302,44 @@ to represent the different states of a traffic light.
- +
o OccluderNode()

- -

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

- +

o META_Node(osg, OccluderNode)

- +

ovoid setOccluder(ConvexPlanarOccluder* occluder)
Attach a ConvexPlanarOccluder to an OccluderNode

- +

oConvexPlanarOccluder* getOccluder()
Get the ConvexPlanarOccluder* attached to a OccluderNode.

- +

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

- +

ovirtual ~OccluderNode()

- +

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

- +

oref_ptr<ConvexPlanarOccluder> _occluder

diff --git a/doc/doc++/osg/PagedLOD.html b/doc/doc++/osg/PagedLOD.html index 62f9c7d21..712e7de5b 100644 --- a/doc/doc++/osg/PagedLOD.html +++ b/doc/doc++/osg/PagedLOD.html @@ -23,70 +23,70 @@

Public Methods

-[more] PagedLOD() +[more] PagedLOD()
-[more] PagedLOD(const PagedLOD&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] PagedLOD(const PagedLOD&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_Node(osg, PagedLOD) +[more] META_Node(osg, PagedLOD)
-[more]virtual void traverse(NodeVisitor& nv) +[more]virtual void traverse(NodeVisitor& nv)
-[more]virtual bool addChild(Node* child) +[more]virtual bool addChild(Node* child)
-[more]virtual bool addChild(Node* child, float min, float max) +[more]virtual bool addChild(Node* child, float min, float max)
-[more]virtual bool addChild(Node* child, float min, float max, const std::string& filename) +[more]virtual bool addChild(Node* child, float min, float max, const std::string& filename)
-[more]virtual bool removeChild(Node* child) +[more]virtual bool removeChild(Node* child)
-[more]void setFileName(unsigned int childNo, const std::string& filename) +[more]void setFileName(unsigned int childNo, const std::string& filename)
-[more]const std::string& getFileName(unsigned int childNo) const +[more]const std::string& getFileName(unsigned int childNo) const
-[more]inline unsigned int getNumFileNames() const +[more]inline unsigned int getNumFileNames() const
returns the number of filenames currently set.
-[more]inline FileNameList& getFileNameList() +[more]inline FileNameList& getFileNameList()
return the list of filename
-[more]inline const FileNameList& getFileNameList() const +[more]inline const FileNameList& getFileNameList() const
return the list of filename
-[more]void setTimeStamp(unsigned int childNo, double timeStamp) +[more]void setTimeStamp(unsigned int childNo, double timeStamp)
-[more]double getTimeStamp(unsigned int childNo) const +[more]double getTimeStamp(unsigned int childNo) const
-[more]inline unsigned int getNumTimeStamps() const +[more]inline unsigned int getNumTimeStamps() const
returns the number of filenames currently set.
-[more]inline TimeStampList& getTimeStampList() +[more]inline TimeStampList& getTimeStampList()
return the list of time stamps
-[more]inline const TimeStampList& getTimeStampList() const +[more]inline const TimeStampList& getTimeStampList() const
return the list of time stamps
-[more]void removeExpiredChildren(double expiryTime, NodeList& removedChildren) +[more]void removeExpiredChildren(double expiryTime, NodeList& removedChildren)
Remove the children from the PagedLOD which haven't be visited since specified expiry time.

Public Members

-[more]typedef std::vector<std::string> FileNameList +[more]typedef std::vector<std::string> FileNameList
-[more]typedef std::vector<double> TimeStampList +[more]typedef std::vector<double> TimeStampList

Protected Fields

-[more]FileNameList _fileNameList +[more]FileNameList _fileNameList
-[more]TimeStampList _timeStampList +[more]TimeStampList _timeStampList

Protected Methods

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

@@ -192,15 +192,15 @@
ovirtual void ascend(NodeVisitor& nv)
-oinline void setName( const std::string& name ) +oinline void setName( const std::string& name )
-oinline void setName( const char* name ) +oinline void setName( const char* name )
oinline const std::string& getName() const
-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
-oinline ParentList getParents() +oinline ParentList getParents()
oinline Group* getParent(unsigned int i)
@@ -234,13 +234,13 @@
obool containsOccluderNodes() const
-oinline void setNodeMask(NodeMask nm) +oinline void setNodeMask(NodeMask nm)
-oinline NodeMask getNodeMask() const +oinline NodeMask getNodeMask() const
-oinline const DescriptionList& getDescriptions() const +oinline const DescriptionList& getDescriptions() const
-oinline DescriptionList& getDescriptions() +oinline DescriptionList& getDescriptions()
oinline const std::string& getDescription(unsigned int i) const
@@ -280,7 +280,7 @@
ostd::string _name
-oParentList _parents +oParentList _parents
oref_ptr<NodeCallback> _updateCallback
@@ -294,9 +294,9 @@
ounsigned int _numChildrenWithOccluderNodes
-oNodeMask _nodeMask +oNodeMask _nodeMask
-oDescriptionList _descriptions +oDescriptionList _descriptions
oref_ptr<StateSet> _stateset

@@ -319,9 +319,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -376,110 +376,110 @@
- +
o PagedLOD()

- -

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

- +

o META_Node(osg, PagedLOD)

- +

ovirtual void traverse(NodeVisitor& nv)

- +

ovirtual bool addChild(Node* child)

- +

ovirtual bool addChild(Node* child, float min, float max)

- +

ovirtual bool addChild(Node* child, float min, float max, const std::string& filename)

- +

ovirtual bool removeChild(Node* child)

- +

otypedef std::vector<std::string> FileNameList

- +

ovoid setFileName(unsigned int childNo, const std::string& filename)

- +

oconst std::string& getFileName(unsigned int childNo) const

- +

oinline unsigned int getNumFileNames() const
returns the number of filenames currently set.

- -

oinline FileNameList& getFileNameList() + +
oinline FileNameList& getFileNameList()
return the list of filename

- -

oinline const FileNameList& getFileNameList() const + +
oinline const FileNameList& getFileNameList() const
return the list of filename

- +

otypedef std::vector<double> TimeStampList

- +

ovoid setTimeStamp(unsigned int childNo, double timeStamp)

- +

odouble getTimeStamp(unsigned int childNo) const

- +

oinline unsigned int getNumTimeStamps() const
returns the number of filenames currently set.

- -

oinline TimeStampList& getTimeStampList() + +
oinline TimeStampList& getTimeStampList()
return the list of time stamps

- -

oinline const TimeStampList& getTimeStampList() const + +
oinline const TimeStampList& getTimeStampList() const
return the list of time stamps

- +

ovoid removeExpiredChildren(double expiryTime, NodeList& removedChildren)
Remove the children from the PagedLOD which haven't be visited since specified expiry time. The removed children are added the removeChildren list passed into the method, this allows the children to be deleted later at the callers discression.

- +

ovirtual ~PagedLOD()

- -

oFileNameList _fileNameList + +
oFileNameList _fileNameList

- -

oTimeStampList _timeStampList + +
oTimeStampList _timeStampList


This class has no child classes.
diff --git a/doc/doc++/osg/Plane.html b/doc/doc++/osg/Plane.html index 93b7cba28..771319bdb 100644 --- a/doc/doc++/osg/Plane.html +++ b/doc/doc++/osg/Plane.html @@ -23,88 +23,88 @@

Public Methods

-[more]inline Plane() +[more]inline Plane()
-[more]inline Plane(const Plane& pl) +[more]inline Plane(const Plane& pl)
-[more]inline Plane(float a, float b, float c, float d) +[more]inline Plane(float a, float b, float c, float d)
-[more]inline Plane(const Vec4& vec) +[more]inline Plane(const Vec4& vec)
-[more]inline Plane(const Vec3& norm, float d) +[more]inline Plane(const Vec3& norm, float d)
-[more]inline Plane(const Vec3& v1, const Vec3& v2, const Vec3& v3) +[more]inline Plane(const Vec3& v1, const Vec3& v2, const Vec3& v3)
-[more]inline Plane& operator = (const Plane& pl) +[more]inline Plane& operator = (const Plane& pl)
-[more]inline void set(const Plane& pl) +[more]inline void set(const Plane& pl)
-[more]inline void set(float a, float b, float c, float d) +[more]inline void set(float a, float b, float c, float d)
-[more]inline void set(const Vec4& vec) +[more]inline void set(const Vec4& vec)
-[more]inline void set(const Vec3& norm, float d) +[more]inline void set(const Vec3& norm, float d)
-[more]inline void set(const Vec3& v1, const Vec3& v2, const Vec3& v3) +[more]inline void set(const Vec3& v1, const Vec3& v2, const Vec3& v3)
-[more]inline void set(const Vec3& norm, const Vec3& point) +[more]inline void set(const Vec3& norm, const Vec3& point)
-[more]inline void flip() +[more]inline void flip()
flip/reverse the orientation of the plane
-[more]inline void makeUnitLength() +[more]inline void makeUnitLength()
-[more]inline void calculateUpperLowerBBCorners() +[more]inline void calculateUpperLowerBBCorners()
calculate the upper and lower bounding box corners to be used in the intersect(BoundingBox&) method for speeding calculations
-[more]inline bool valid() const +[more]inline bool valid() const
-[more]inline bool operator == (const Plane& plane) const +[more]inline bool operator == (const Plane& plane) const
-[more]inline bool operator != (const Plane& plane) const +[more]inline bool operator != (const Plane& plane) const
-[more]inline bool operator < (const Plane& plane) const +[more]inline bool operator < (const Plane& plane) const
-[more]inline float* ptr() +[more]inline float* ptr()
-[more]inline const float* ptr() const +[more]inline const float* ptr() const
-[more]inline Vec4& asVec4() +[more]inline Vec4& asVec4()
-[more]inline const Vec4& asVec4() const +[more]inline const Vec4& asVec4() const
-[more]inline float& operator [] (unsigned int i) +[more]inline float& operator [] (unsigned int i)
-[more]inline float operator [] (unsigned int i) const +[more]inline float operator [] (unsigned int i) const
-[more]inline osg::Vec3 getNormal() const +[more]inline osg::Vec3 getNormal() const
-[more]inline float distance(const osg::Vec3& v) const +[more]inline float distance(const osg::Vec3& v) const
calculate the distance between a point and the plane
-[more]inline int intersect(const std::vector<Vec3>& vertices) const +[more]inline int intersect(const std::vector<Vec3>& vertices) const
intersection test between plane and vertex list return 1 if the bs is completely above plane, return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane
-[more]inline int intersect(const BoundingSphere& bs) const +[more]inline int intersect(const BoundingSphere& bs) const
intersection test between plane and bounding sphere.
-[more]inline int intersect(const BoundingBox& bb) const +[more]inline int intersect(const BoundingBox& bb) const
intersection test between plane and bounding sphere.
-[more]inline void transform(const osg::Matrix& matrix) +[more]inline void transform(const osg::Matrix& matrix)
Transform the plane by matrix.
-[more]inline void transformProvidingInverse(const osg::Matrix& matrix) +[more]inline void transformProvidingInverse(const osg::Matrix& matrix)
Transform the plane by provide a pre inverted matrix.

Protected Fields

-[more]Vec4 _fv +[more]Vec4 _fv
-[more]unsigned int _upperBBCorner +[more]unsigned int _upperBBCorner
-[more]unsigned int _lowerBBCorner +[more]unsigned int _lowerBBCorner

@@ -116,123 +116,123 @@
- +
oinline Plane()

- -

oinline Plane(const Plane& pl) + +
oinline Plane(const Plane& pl)

- -

oinline Plane(float a, float b, float c, float d) + +
oinline Plane(float a, float b, float c, float d)

- +

oinline Plane(const Vec4& vec)

- +

oinline Plane(const Vec3& norm, float d)

- +

oinline Plane(const Vec3& v1, const Vec3& v2, const Vec3& v3)

- +

oinline Plane& operator = (const Plane& pl)

- +

oinline void set(const Plane& pl)

- -

oinline void set(float a, float b, float c, float d) + +
oinline void set(float a, float b, float c, float d)

- +

oinline void set(const Vec4& vec)

- +

oinline void set(const Vec3& norm, float d)

- +

oinline void set(const Vec3& v1, const Vec3& v2, const Vec3& v3)

- +

oinline void set(const Vec3& norm, const Vec3& point)

- +

oinline void flip()
flip/reverse the orientation of the plane

- +

oinline void makeUnitLength()

- +

oinline void calculateUpperLowerBBCorners()
calculate the upper and lower bounding box corners to be used in the intersect(BoundingBox&) method for speeding calculations

- +

oinline bool valid() const

- +

oinline bool operator == (const Plane& plane) const

- +

oinline bool operator != (const Plane& plane) const

- +

oinline bool operator < (const Plane& plane) const

- +

oinline float* ptr()

- +

oinline const float* ptr() const

- +

oinline Vec4& asVec4()

- +

oinline const Vec4& asVec4() const

- +

oinline float& operator [] (unsigned int i)

- +

oinline float operator [] (unsigned int i) const

- +

oinline osg::Vec3 getNormal() const

- +

oinline float distance(const osg::Vec3& v) const
calculate the distance between a point and the plane

- +

oinline int intersect(const std::vector<Vec3>& vertices) const
intersection test between plane and vertex list return 1 if the bs is completely above plane, @@ -240,7 +240,7 @@ return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane

- +

oinline int intersect(const BoundingSphere& bs) const
intersection test between plane and bounding sphere. return 1 if the bs is completely above plane, @@ -248,7 +248,7 @@ return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane.

- +

oinline int intersect(const BoundingBox& bb) const
intersection test between plane and bounding sphere. return 1 if the bs is completely above plane, @@ -256,7 +256,7 @@ return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane.

- +

oinline void transform(const osg::Matrix& matrix)
Transform the plane by matrix. Note, this operations carries out the calculation of the inverse of the matrix since to transforms @@ -266,21 +266,21 @@ calculated elsewhere then use transformProvidingInverse() instead. See http://www.worldserver.com/turk/computergraphics/NormalTransformations.pdf

- +

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

- +

oVec4 _fv

- +

ounsigned int _upperBBCorner

- +

ounsigned int _lowerBBCorner


diff --git a/doc/doc++/osg/Point.html b/doc/doc++/osg/Point.html index 3ae616b2b..198f32d76 100644 --- a/doc/doc++/osg/Point.html +++ b/doc/doc++/osg/Point.html @@ -23,59 +23,59 @@

Public Methods

-[more] Point() +[more] Point()
-[more] Point(const Point& point, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Point(const Point& point, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, Point, POINT) +[more] META_StateAttribute(osg, Point, POINT)
-[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
-[more]void setSize(float size) +[more]void setSize(float size)
-[more]inline float getSize() const +[more]inline float getSize() const
-[more]void setFadeThresholdSize(float fadeThresholdSize) +[more]void setFadeThresholdSize(float fadeThresholdSize)
-[more]inline float getFadeThresholdSize() const +[more]inline float getFadeThresholdSize() const
-[more]void setDistanceAttenuation(const Vec3& distanceAttenuation) +[more]void setDistanceAttenuation(const Vec3& distanceAttenuation)
-[more]inline const Vec3& getDistanceAttenuation() const +[more]inline const Vec3& getDistanceAttenuation() const
-[more]void setMinSize(float minSize) +[more]void setMinSize(float minSize)
-[more]inline float getMinSize() const +[more]inline float getMinSize() const
-[more]void setMaxSize(float maxSize) +[more]void setMaxSize(float maxSize)
-[more]inline float getMaxSize() const +[more]inline float getMaxSize() const
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const
-[more]static void init_GL_EXT() +[more]static void init_GL_EXT()

Protected Fields

-[more]float _size +[more]float _size
-[more]float _fadeThresholdSize +[more]float _fadeThresholdSize
-[more]Vec3 _distanceAttenuation +[more]Vec3 _distanceAttenuation
-[more]float _minSize +[more]float _minSize
-[more]float _maxSize +[more]float _maxSize

Protected Methods

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

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

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -183,97 +183,97 @@
- +
o Point()

- -

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

- -

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

- +

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

- -

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

- -

ovoid setSize(float size) + +
ovoid setSize(float size)

- +

oinline float getSize() const

- +

ovoid setFadeThresholdSize(float fadeThresholdSize)

- +

oinline float getFadeThresholdSize() const

- +

ovoid setDistanceAttenuation(const Vec3& distanceAttenuation)

- +

oinline const Vec3& getDistanceAttenuation() const

- +

ovoid setMinSize(float minSize)

- +

oinline float getMinSize() const

- +

ovoid setMaxSize(float maxSize)

- +

oinline float getMaxSize() const

- +

ovirtual void apply(State& state) const

- +

ostatic void init_GL_EXT()

- +

ovirtual ~Point()

- +

ofloat _size

- +

ofloat _fadeThresholdSize

- +

oVec3 _distanceAttenuation

- +

ofloat _minSize

- +

ofloat _maxSize

diff --git a/doc/doc++/osg/PolygonMode.html b/doc/doc++/osg/PolygonMode.html index 30ad6115b..00c5506a2 100644 --- a/doc/doc++/osg/PolygonMode.html +++ b/doc/doc++/osg/PolygonMode.html @@ -23,44 +23,44 @@

Public Methods

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

Public Members

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

Protected Fields

-[more]bool _frontAndBack +[more]bool _frontAndBack
-[more]Mode _modeFront +[more]Mode _modeFront
-[more]Mode _modeBack +[more]Mode _modeBack

Protected Methods

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

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

@@ -113,9 +113,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -170,90 +170,90 @@
- +
o PolygonMode()

- -

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

- -

o META_StateAttribute(osg, PolygonMode, POLYGONMODE) + +
o META_StateAttribute(osg, PolygonMode, POLYGONMODE)

- +

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

- +

oenum Face

- +
o FRONT

- +

o BACK

- +

o FRONT_AND_BACK

- +
oenum Mode

- +
o POINT

- +

o LINE

- +

o FILL

- -
ovoid setMode(Face face, Mode mode) + +
ovoid setMode(Face face, Mode mode)

- -

oMode getMode(Face face) const + +
oMode getMode(Face face) const

- +

oinline bool getFrontAndBack() const

- +

ovirtual void apply(State& state) const

- +

ovirtual ~PolygonMode()

- +

obool _frontAndBack

- -

oMode _modeFront + +
oMode _modeFront

- -

oMode _modeBack + +
oMode _modeBack


This class has no child classes.
diff --git a/doc/doc++/osg/PolygonOffset.html b/doc/doc++/osg/PolygonOffset.html index ec0383e34..2131a6509 100644 --- a/doc/doc++/osg/PolygonOffset.html +++ b/doc/doc++/osg/PolygonOffset.html @@ -23,41 +23,41 @@

Public Methods

-[more] PolygonOffset() +[more] PolygonOffset()
-[more] PolygonOffset(float factor, float units) +[more] PolygonOffset(float factor, float units)
-[more] PolygonOffset(const PolygonOffset& po, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] PolygonOffset(const PolygonOffset& po, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, PolygonOffset, POLYGONOFFSET) +[more] META_StateAttribute(osg, PolygonOffset, POLYGONOFFSET)
-[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
-[more]inline void setFactor(float factor) +[more]inline void setFactor(float factor)
-[more]inline float getFactor() const +[more]inline float getFactor() const
-[more]inline void setUnits(float units) +[more]inline void setUnits(float units)
-[more]inline float getUnits() const +[more]inline float getUnits() const
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

Protected Fields

-[more]float _factor +[more]float _factor
-[more]float _units +[more]float _units

Protected Methods

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

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

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -165,61 +165,61 @@
- +
o PolygonOffset()

- +

o PolygonOffset(float factor, float units)

- -

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

- -

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

- +

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

- -

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

- +

oinline void setFactor(float factor)

- +

oinline float getFactor() const

- +

oinline void setUnits(float units)

- +

oinline float getUnits() const

- +

ovirtual void apply(State& state) const

- +

ovirtual ~PolygonOffset()

- +

ofloat _factor

- +

ofloat _units

diff --git a/doc/doc++/osg/PolygonStipple.html b/doc/doc++/osg/PolygonStipple.html index 0099df1e2..7e960789a 100644 --- a/doc/doc++/osg/PolygonStipple.html +++ b/doc/doc++/osg/PolygonStipple.html @@ -22,35 +22,35 @@

Public Methods

-[more] PolygonStipple() +[more] PolygonStipple()
-[more] PolygonStipple(const PolygonStipple& lw, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] PolygonStipple(const PolygonStipple& lw, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, PolygonStipple, POLYGONSTIPPLE) +[more] META_StateAttribute(osg, PolygonStipple, POLYGONSTIPPLE)
-[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
-[more]void setMask(const GLubyte* mask) +[more]void setMask(const GLubyte* mask)
set the mask up, copying 128 bytes (32x32 bitfield) from mask into the local _mask
-[more]inline const GLubyte* getMask() const +[more]inline const GLubyte* getMask() const
get a pointer to the mask
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

Protected Fields

-[more]GLubyte _mask[128] +[more]GLubyte _mask[128]

Protected Methods

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

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

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -157,47 +157,47 @@
- +
o PolygonStipple()

- -

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

- -

o META_StateAttribute(osg, PolygonStipple, POLYGONSTIPPLE) + +
o META_StateAttribute(osg, PolygonStipple, POLYGONSTIPPLE)

- +

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

- -

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

- +

ovoid setMask(const GLubyte* mask)
set the mask up, copying 128 bytes (32x32 bitfield) from mask into the local _mask

- +

oinline const GLubyte* getMask() const
get a pointer to the mask

- +

ovirtual void apply(State& state) const

- +

ovirtual ~PolygonStipple()

- +

oGLubyte _mask[128]

diff --git a/doc/doc++/osg/Polytope.html b/doc/doc++/osg/Polytope.html index 2f60db7e0..f30d64ee7 100644 --- a/doc/doc++/osg/Polytope.html +++ b/doc/doc++/osg/Polytope.html @@ -13,104 +13,104 @@

Public Methods

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

Public Members

-[more]typedef unsigned int ClippingMask +[more]typedef unsigned int ClippingMask
-[more]typedef std::vector<Plane> PlaneList +[more]typedef std::vector<Plane> PlaneList
-[more]typedef std::vector<Vec3> VertexList +[more]typedef std::vector<Vec3> VertexList
-[more]typedef fast_back_stack<ClippingMask> MaskStack +[more]typedef fast_back_stack<ClippingMask> MaskStack

Protected Fields

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

@@ -123,131 +123,131 @@ When adding planes, their normals should point inwards (into the volume) - +
otypedef unsigned int ClippingMask

- +

otypedef std::vector<Plane> PlaneList

- +

otypedef std::vector<Vec3> VertexList

- -

otypedef fast_back_stack<ClippingMask> MaskStack + +
otypedef fast_back_stack<ClippingMask> MaskStack

- +

oinline Polytope()

- -

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

- -

oinline Polytope(const PlaneList& pl) + +
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 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 PlaneList& getPlaneList()

- -

oinline const PlaneList& getPlaneList() const + +
oinline const PlaneList& getPlaneList() const

- -

oinline void setReferenceVertexList(VertexList& vertices) + +
oinline void setReferenceVertexList(VertexList& vertices)

- -

oinline VertexList& getReferenceVertexList() + +
oinline VertexList& getReferenceVertexList()

- -

oinline const VertexList& getReferenceVertexList() const + +
oinline const VertexList& getReferenceVertexList() const

- +

oinline void setupMask()

- -

oinline ClippingMask& getCurrentMask() + +
oinline ClippingMask& getCurrentMask()

- -

oinline ClippingMask getCurrentMask() const + +
oinline ClippingMask getCurrentMask() const

- -

oinline void setResultMask(ClippingMask mask) + +
oinline void setResultMask(ClippingMask mask)

- -

oinline ClippingMask getResultMask() const + +
oinline ClippingMask getResultMask() const

- -

oMaskStack& getMaskStack() + +
oMaskStack& getMaskStack()

- -

oconst MaskStack& getMaskStack() const + +
oconst MaskStack& getMaskStack() const

- +

oinline void pushCurrentMask()

- +

oinline void popCurrentMask()

- +

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

- +

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

- +

oinline 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 @@ -256,7 +256,7 @@ of any internal objects. This feature is used in osgUtil::CullVisitor to prevent redundant plane checking.

- +

oinline 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 @@ -265,22 +265,22 @@ of any internal objects. This feature is used in osgUtil::CullVisitor to prevent redundant plane checking.

- +

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

- +

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

- +

oinline 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 @@ -290,26 +290,26 @@ 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 + +
oMaskStack _maskStack

- -

oClippingMask _resultMask + +
oClippingMask _resultMask

- -

oPlaneList _planeList + +
oPlaneList _planeList

- -

oVertexList _referenceVertexList + +
oVertexList _referenceVertexList


This class has no child classes.
diff --git a/doc/doc++/osg/PositionAttitudeTransform.html b/doc/doc++/osg/PositionAttitudeTransform.html index d9b141629..ad0fbe38c 100644 --- a/doc/doc++/osg/PositionAttitudeTransform.html +++ b/doc/doc++/osg/PositionAttitudeTransform.html @@ -23,45 +23,45 @@

Public Methods

-[more] PositionAttitudeTransform() +[more] PositionAttitudeTransform()
-[more] PositionAttitudeTransform(const PositionAttitudeTransform& pat, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] PositionAttitudeTransform(const PositionAttitudeTransform& pat, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more] META_Node(osg, PositionAttitudeTransform) +[more] META_Node(osg, PositionAttitudeTransform)
-[more]virtual PositionAttitudeTransform* asPositionAttitudeTransform() +[more]virtual PositionAttitudeTransform* asPositionAttitudeTransform()
-[more]virtual const PositionAttitudeTransform* asPositionAttitudeTransform() const +[more]virtual const PositionAttitudeTransform* asPositionAttitudeTransform() const
-[more]inline void setPosition(const Vec3& pos) +[more]inline void setPosition(const Vec3& pos)
-[more]inline const Vec3& getPosition() const +[more]inline const Vec3& getPosition() const
-[more]inline void setAttitude(const Quat& quat) +[more]inline void setAttitude(const Quat& quat)
-[more]inline const Quat& getAttitude() const +[more]inline const Quat& getAttitude() const
-[more]inline void setPivotPoint(const Vec3& pivot) +[more]inline void setPivotPoint(const Vec3& pivot)
-[more]inline const Vec3& getPivotPoint() const +[more]inline const Vec3& getPivotPoint() const
-[more]virtual bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const +[more]virtual bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const
-[more]virtual bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const +[more]virtual bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const

Protected Fields

-[more]Vec3 _position +[more]Vec3 _position
-[more]Quat _attitude +[more]Quat _attitude
-[more]Vec3 _pivotPoint +[more]Vec3 _pivotPoint

Protected Methods

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

@@ -81,15 +81,15 @@
ovirtual const DOFTransform* asDOFTransform() const
-ovoid setReferenceFrame(ReferenceFrame rf) +ovoid setReferenceFrame(ReferenceFrame rf)
-oReferenceFrame getReferenceFrame() const +oReferenceFrame getReferenceFrame() const
-ovoid setComputeTransformCallback(ComputeTransformCallback* ctc) +ovoid setComputeTransformCallback(ComputeTransformCallback* ctc)
-oComputeTransformCallback* getComputeTransformCallback() +oComputeTransformCallback* getComputeTransformCallback()
-oconst ComputeTransformCallback* getComputeTransformCallback() const +oconst ComputeTransformCallback* getComputeTransformCallback() const
oinline bool getLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const
@@ -105,9 +105,9 @@

Protected Fields

-oref_ptr<ComputeTransformCallback> _computeTransformCallback +oref_ptr<ComputeTransformCallback> _computeTransformCallback
-oReferenceFrame _referenceFrame +oReferenceFrame _referenceFrame

@@ -173,15 +173,15 @@
ovirtual void ascend(NodeVisitor& nv)
-oinline void setName( const std::string& name ) +oinline void setName( const std::string& name )
-oinline void setName( const char* name ) +oinline void setName( const char* name )
oinline const std::string& getName() const
-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
-oinline ParentList getParents() +oinline ParentList getParents()
oinline Group* getParent(unsigned int i)
@@ -215,13 +215,13 @@
obool containsOccluderNodes() const
-oinline void setNodeMask(NodeMask nm) +oinline void setNodeMask(NodeMask nm)
-oinline NodeMask getNodeMask() const +oinline NodeMask getNodeMask() const
-oinline const DescriptionList& getDescriptions() const +oinline const DescriptionList& getDescriptions() const
-oinline DescriptionList& getDescriptions() +oinline DescriptionList& getDescriptions()
oinline const std::string& getDescription(unsigned int i) const
@@ -261,7 +261,7 @@
ostd::string _name
-oParentList _parents +oParentList _parents
oref_ptr<NodeCallback> _updateCallback
@@ -275,9 +275,9 @@
ounsigned int _numChildrenWithOccluderNodes
-oNodeMask _nodeMask +oNodeMask _nodeMask
-oDescriptionList _descriptions +oDescriptionList _descriptions
oref_ptr<StateSet> _stateset

@@ -300,9 +300,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -358,71 +358,71 @@ up via a Vec3 position and Quat attitude
- +
o PositionAttitudeTransform()

- -

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

- +

o META_Node(osg, PositionAttitudeTransform)

- +

ovirtual PositionAttitudeTransform* asPositionAttitudeTransform()

- +

ovirtual const PositionAttitudeTransform* asPositionAttitudeTransform() const

- +

oinline void setPosition(const Vec3& pos)

- +

oinline const Vec3& getPosition() const

- +

oinline void setAttitude(const Quat& quat)

- +

oinline const Quat& getAttitude() const

- +

oinline void setPivotPoint(const Vec3& pivot)

- +

oinline const Vec3& getPivotPoint() const

- +

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

- +

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

- +

ovirtual ~PositionAttitudeTransform()

- +

oVec3 _position

- +

oQuat _attitude

- +

oVec3 _pivotPoint

diff --git a/doc/doc++/osg/PrimitiveFunctor.html b/doc/doc++/osg/PrimitiveFunctor.html index cbd3c8136..542cf2eb0 100644 --- a/doc/doc++/osg/PrimitiveFunctor.html +++ b/doc/doc++/osg/PrimitiveFunctor.html @@ -22,11 +22,11 @@
[more]virtual void drawArrays(GLenum mode, GLint first, GLsizei count) = 0
-[more]virtual void drawElements(GLenum mode, GLsizei count, const GLubyte* indices) = 0 +[more]virtual void drawElements(GLenum mode, GLsizei count, const GLubyte* indices) = 0
-[more]virtual void drawElements(GLenum mode, GLsizei count, const GLushort* indices) = 0 +[more]virtual void drawElements(GLenum mode, GLsizei count, const GLushort* indices) = 0
-[more]virtual void drawElements(GLenum mode, GLsizei count, const GLuint* indices) = 0 +[more]virtual void drawElements(GLenum mode, GLsizei count, const GLuint* indices) = 0
[more]virtual void begin(GLenum mode) = 0
@@ -36,11 +36,11 @@
[more]virtual void vertex(const Vec4& vert) = 0
-[more]virtual void vertex(float x, float y) = 0 +[more]virtual void vertex(float x, float y) = 0
-[more]virtual void vertex(float x, float y, float z) = 0 +[more]virtual void vertex(float x, float y, float z) = 0
-[more]virtual void vertex(float x, float y, float z, float w) = 0 +[more]virtual void vertex(float x, float y, float z, float w) = 0
[more]virtual void end() = 0

@@ -74,15 +74,15 @@

-

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

-

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

-

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

@@ -102,15 +102,15 @@

-

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

-

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

-

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

diff --git a/doc/doc++/osg/PrimitiveSet.html b/doc/doc++/osg/PrimitiveSet.html index 62ceb4f36..54a27e3b7 100644 --- a/doc/doc++/osg/PrimitiveSet.html +++ b/doc/doc++/osg/PrimitiveSet.html @@ -22,52 +22,52 @@

Public Methods

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

Public Members

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

Protected Fields

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

Protected Methods

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

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -135,147 +135,147 @@
- +
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 PrimitiveSet(Type primType=PrimitiveType, GLenum mode=0) + +
o PrimitiveSet(Type primType=PrimitiveType, GLenum mode=0)

- -

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

- +

ovirtual bool isSameKindAs(const Object* obj) const

- +

ovirtual const char* libraryName() const

- +

ovirtual const char* className() const

- -

oType getType() const + +
oType getType() const

- +

ovoid setMode(GLenum mode)

- +

oGLenum getMode() const

- +

ovirtual void draw() const = 0

- +

ovirtual void accept(Drawable::PrimitiveFunctor& functor) const = 0

- +

ovirtual unsigned int index(unsigned int pos) const = 0

- +

ovirtual unsigned int getNumIndices() const = 0

- -

ovirtual void offsetIndices(int offset) = 0 + +
ovirtual void offsetIndices(int offset) = 0

- +

ovirtual unsigned int getNumPrimitives() const

- +

ovirtual ~PrimitiveSet()

- -

oType _primitiveType + +
oType _primitiveType

- +

oGLenum _mode


diff --git a/doc/doc++/osg/Projection.html b/doc/doc++/osg/Projection.html index 5153ae81f..2eeb63a1d 100644 --- a/doc/doc++/osg/Projection.html +++ b/doc/doc++/osg/Projection.html @@ -23,36 +23,36 @@

Public Methods

-[more] Projection() +[more] Projection()
-[more] Projection(const Projection&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Projection(const Projection&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] Projection(const Matrix& matix) +[more] Projection(const Matrix& matix)
-[more] META_Node(osg, Projection) +[more] META_Node(osg, Projection)
-[more]void setMatrix(const Matrix& mat) +[more]void setMatrix(const Matrix& mat)
Set the transform's matrix
-[more]inline const Matrix& getMatrix() const +[more]inline const Matrix& getMatrix() const
Get the transform's matrix.
-[more]void preMult(const Matrix& mat) +[more]void preMult(const Matrix& mat)
preMult transform
-[more]void postMult(const Matrix& mat) +[more]void postMult(const Matrix& mat)
postMult transform

Protected Fields

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

Protected Methods

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

@@ -122,15 +122,15 @@
ovirtual void ascend(NodeVisitor& nv)
-oinline void setName( const std::string& name ) +oinline void setName( const std::string& name )
-oinline void setName( const char* name ) +oinline void setName( const char* name )
oinline const std::string& getName() const
-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
-oinline ParentList getParents() +oinline ParentList getParents()
oinline Group* getParent(unsigned int i)
@@ -164,13 +164,13 @@
obool containsOccluderNodes() const
-oinline void setNodeMask(NodeMask nm) +oinline void setNodeMask(NodeMask nm)
-oinline NodeMask getNodeMask() const +oinline NodeMask getNodeMask() const
-oinline const DescriptionList& getDescriptions() const +oinline const DescriptionList& getDescriptions() const
-oinline DescriptionList& getDescriptions() +oinline DescriptionList& getDescriptions()
oinline const std::string& getDescription(unsigned int i) const
@@ -210,7 +210,7 @@
ostd::string _name
-oParentList _parents +oParentList _parents
oref_ptr<NodeCallback> _updateCallback
@@ -224,9 +224,9 @@
ounsigned int _numChildrenWithOccluderNodes
-oNodeMask _nodeMask +oNodeMask _nodeMask
-oDescriptionList _descriptions +oDescriptionList _descriptions
oref_ptr<StateSet> _stateset

@@ -249,9 +249,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -306,48 +306,48 @@
- +
o Projection()

- -

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

- +

o Projection(const Matrix& matix)

- +

o META_Node(osg, Projection)

- +

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

- +

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

- +

ovoid preMult(const Matrix& mat)
preMult transform

- +

ovoid postMult(const Matrix& mat)
postMult transform

- +

ovirtual ~Projection()

- +

oMatrix _matrix

diff --git a/doc/doc++/osg/QualifiedTestPrinter.html b/doc/doc++/osg/QualifiedTestPrinter.html index f7958bcf4..e6aaaa4c9 100644 --- a/doc/doc++/osg/QualifiedTestPrinter.html +++ b/doc/doc++/osg/QualifiedTestPrinter.html @@ -23,7 +23,7 @@

Public Methods

-[more]virtual bool visit( TestCase* pTest ) +[more]virtual bool visit( TestCase* pTest )

@@ -52,7 +52,7 @@ qualified tests
- +
ovirtual bool visit( TestCase* pTest )

diff --git a/doc/doc++/osg/Quat.html b/doc/doc++/osg/Quat.html index e3d6825c8..2b1132459 100644 --- a/doc/doc++/osg/Quat.html +++ b/doc/doc++/osg/Quat.html @@ -13,135 +13,135 @@

Public Fields

-[more]Vec4 _fv +[more]Vec4 _fv

Public Methods

-[more]inline Quat() +[more]inline Quat()
-[more]inline Quat( float x, float y, float z, float w ) +[more]inline Quat( float x, float y, float z, float w )
-[more]inline Quat( const Vec4& v ) +[more]inline Quat( const Vec4& v )
-[more]inline Quat( float angle, const Vec3& axis) +[more]inline Quat( float angle, const Vec3& axis)
-[more]inline Quat( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3) +[more]inline Quat( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)
-[more]inline bool operator == (const Quat& rhs) const +[more]inline bool operator == (const Quat& rhs) const
-[more]inline bool operator != (const Quat& rhs) const +[more]inline bool operator != (const Quat& rhs) const
-[more]inline bool operator < (const Quat& rhs) const +[more]inline bool operator < (const Quat& rhs) const
-[more]inline Vec4& asVec4() +[more]inline Vec4& asVec4()
-[more]inline const Vec4& asVec4() const +[more]inline const Vec4& asVec4() const
-[more]inline const Vec3 asVec3() const +[more]inline const Vec3 asVec3() const
-[more]inline void set(float x, float y, float z, float w) +[more]inline void set(float x, float y, float z, float w)
-[more]inline void set(const osg::Vec4& v) +[more]inline void set(const osg::Vec4& v)
-[more]void set(const Matrixf& matrix) +[more]void set(const Matrixf& matrix)
-[more]void set(const Matrixd& matrix) +[more]void set(const Matrixd& matrix)
-[more]void get(Matrixf& matrix) const +[more]void get(Matrixf& matrix) const
-[more]void get(Matrixd& matrix) const +[more]void get(Matrixd& matrix) const
-[more]inline float& operator [] (int i) +[more]inline float& operator [] (int i)
-[more]inline float operator [] (int i) const +[more]inline float operator [] (int i) const
-[more]inline float& x() +[more]inline float& x()
-[more]inline float& y() +[more]inline float& y()
-[more]inline float& z() +[more]inline float& z()
-[more]inline float& w() +[more]inline float& w()
-[more]inline float x() const +[more]inline float x() const
-[more]inline float y() const +[more]inline float y() const
-[more]inline float z() const +[more]inline float z() const
-[more]inline float w() const +[more]inline float w() const
-[more]bool zeroRotation() const +[more]bool zeroRotation() const
return true if the Quat represents a zero rotation, and therefore can be ignored in computations
-[more]inline const Quat operator * (float rhs) const +[more]inline const Quat operator * (float rhs) const
Multiply by scalar
-[more]inline Quat& operator *= (float rhs) +[more]inline Quat& operator *= (float rhs)
Unary multiply by scalar
-[more]inline const Quat operator*(const Quat& rhs) const +[more]inline const Quat operator*(const Quat& rhs) const
Binary multiply
-[more]inline Quat& operator*=(const Quat& rhs) +[more]inline Quat& operator*=(const Quat& rhs)
Unary multiply
-[more]inline const Quat operator / (float rhs) const +[more]inline const Quat operator / (float rhs) const
Divide by scalar
-[more]inline Quat& operator /= (float rhs) +[more]inline Quat& operator /= (float rhs)
Unary divide by scalar
-[more]inline const Quat operator/(const Quat& denom) const +[more]inline const Quat operator/(const Quat& denom) const
Binary divide
-[more]inline Quat& operator/=(const Quat& denom) +[more]inline Quat& operator/=(const Quat& denom)
Unary divide
-[more]inline const Quat operator + (const Quat& rhs) const +[more]inline const Quat operator + (const Quat& rhs) const
Binary addition
-[more]inline Quat& operator += (const Quat& rhs) +[more]inline Quat& operator += (const Quat& rhs)
Unary addition
-[more]inline const Quat operator - (const Quat& rhs) const +[more]inline const Quat operator - (const Quat& rhs) const
Binary subtraction
-[more]inline Quat& operator -= (const Quat& rhs) +[more]inline Quat& operator -= (const Quat& rhs)
Unary subtraction
-[more]inline const Quat operator - () const +[more]inline const Quat operator - () const
Negation operator - returns the negative of the quaternion.
-[more]float length() const +[more]float length() const
Length of the quaternion = sqrt( vec .
-[more]float length2() const +[more]float length2() const
Length of the quaternion = vec .
-[more]inline Quat conj() const +[more]inline Quat conj() const
Conjugate
-[more]inline const Quat inverse() const +[more]inline const Quat inverse() const
Multiplicative inverse method: q^(-1) = q^*/(qq^*)
-[more]void makeRotate( float angle, float x, float y, float z ) +[more]void makeRotate( float angle, float x, float y, float z )
-[more]void makeRotate( float angle, const Vec3& vec ) +[more]void makeRotate( float angle, const Vec3& vec )
-[more]void makeRotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3) +[more]void makeRotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)
-[more]void makeRotate( const Vec3& vec1, const Vec3& vec2 ) +[more]void makeRotate( const Vec3& vec1, const Vec3& vec2 )
Make a rotation Quat which will rotate vec1 to vec2.
-[more]void getRotate( float& angle, float& x, float& y, float& z ) const +[more]void getRotate( float& angle, float& x, float& y, float& z ) const
Return the angle and vector components represented by the quaternion
-[more]void getRotate( float& angle, Vec3& vec ) const +[more]void getRotate( float& angle, Vec3& vec ) const
Return the angle and vector represented by the quaternion
-[more]void slerp( float t, const Quat& from, const Quat& to) +[more]void slerp( float t, const Quat& from, const Quat& to)
Spherical Linear Interpolation.

@@ -154,222 +154,222 @@
- +
oVec4 _fv

- +

oinline Quat()

- -

oinline Quat( float x, float y, float z, float w ) + +
oinline Quat( float x, float y, float z, float w )

- +

oinline Quat( const Vec4& v )

- +

oinline Quat( float angle, const Vec3& axis)

- +

oinline Quat( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)

- +

oinline bool operator == (const Quat& rhs) const

- +

oinline bool operator != (const Quat& rhs) const

- +

oinline bool operator < (const Quat& rhs) const

- +

oinline Vec4& asVec4()

- +

oinline const Vec4& asVec4() const

- +

oinline const Vec3 asVec3() const

- -

oinline void set(float x, float y, float z, float w) + +
oinline void set(float x, float y, float z, float w)

- +

oinline void set(const osg::Vec4& v)

- +

ovoid set(const Matrixf& matrix)

- +

ovoid set(const Matrixd& matrix)

- +

ovoid get(Matrixf& matrix) const

- +

ovoid get(Matrixd& matrix) const

- +

oinline float& operator [] (int i)

- +

oinline float operator [] (int i) const

- +

oinline float& x()

- +

oinline float& y()

- +

oinline float& z()

- +

oinline float& w()

- +

oinline float x() const

- +

oinline float y() const

- +

oinline float z() const

- +

oinline float w() const

- +

obool zeroRotation() const
return true if the Quat represents a zero rotation, and therefore can be ignored in computations

- +

oinline const Quat operator * (float rhs) const
Multiply by scalar

- +

oinline Quat& operator *= (float rhs)
Unary multiply by scalar

- +

oinline const Quat operator*(const Quat& rhs) const
Binary multiply

- +

oinline Quat& operator*=(const Quat& rhs)
Unary multiply

- +

oinline const Quat operator / (float rhs) const
Divide by scalar

- +

oinline Quat& operator /= (float rhs)
Unary divide by scalar

- +

oinline const Quat operator/(const Quat& denom) const
Binary divide

- +

oinline Quat& operator/=(const Quat& denom)
Unary divide

- +

oinline const Quat operator + (const Quat& rhs) const
Binary addition

- +

oinline Quat& operator += (const Quat& rhs)
Unary addition

- +

oinline const Quat operator - (const Quat& rhs) const
Binary subtraction

- +

oinline Quat& operator -= (const Quat& rhs)
Unary subtraction

- +

oinline const Quat operator - () const
Negation operator - returns the negative of the quaternion. Basically just calls operator - () on the Vec4

- +

ofloat length() const
Length of the quaternion = sqrt( vec . vec )

- +

ofloat length2() const
Length of the quaternion = vec . vec

- +

oinline Quat conj() const
Conjugate

- +

oinline const Quat inverse() const
Multiplicative inverse method: q^(-1) = q^*/(qq^*)

- -

ovoid makeRotate( float angle, float x, float y, float z ) + +
ovoid makeRotate( float angle, float x, float y, float z )

- +

ovoid makeRotate( float angle, const Vec3& vec )

- +

ovoid makeRotate( float angle1, const Vec3& axis1, float angle2, const Vec3& axis2, float angle3, const Vec3& axis3)

- +

ovoid makeRotate( const Vec3& vec1, const Vec3& vec2 )
Make a rotation Quat which will rotate vec1 to vec2. Generally take adot product to get the angle between these @@ -378,17 +378,17 @@ Watch out for the two special cases of when the vectors are co-incident or opposite in direction.

- -

ovoid getRotate( float& angle, float& x, float& y, float& z ) const + +
ovoid getRotate( float& angle, float& x, float& y, float& z ) const
Return the angle and vector components represented by the quaternion

- +

ovoid getRotate( float& angle, Vec3& vec ) const
Return the angle and vector represented by the quaternion

- +

ovoid slerp( float t, const Quat& from, const Quat& to)
Spherical Linear Interpolation. As t goes from 0 to 1, the Quat object goes from "from" to "to". diff --git a/doc/doc++/osg/RefMatrixd.html b/doc/doc++/osg/RefMatrixd.html index 1105f0a0c..75e055bcc 100644 --- a/doc/doc++/osg/RefMatrixd.html +++ b/doc/doc++/osg/RefMatrixd.html @@ -22,32 +22,32 @@

Public Methods

-[more] RefMatrixd() +[more] RefMatrixd()
-[more] RefMatrixd( const Matrixd& other) +[more] RefMatrixd( const Matrixd& other)
-[more] RefMatrixd( const Matrixf& other) +[more] RefMatrixd( const Matrixf& other)
-[more] RefMatrixd( const RefMatrixd& other) +[more] RefMatrixd( const RefMatrixd& other)
-[more]explicit RefMatrixd( Matrixd::value_type const* const def ) +[more]explicit RefMatrixd( Matrixd::value_type const* const def )
-[more] RefMatrixd( Matrixd::value_type a00, Matrixd::value_type a01, Matrixd::value_type a02, Matrixd::value_type a03, Matrixd::value_type a10, Matrixd::value_type a11, Matrixd::value_type a12, Matrixd::value_type a13, Matrixd::value_type a20, Matrixd::value_type a21, Matrixd::value_type a22, Matrixd::value_type a23, Matrixd::value_type a30, Matrixd::value_type a31, Matrixd::value_type a32, Matrixd::value_type a33) +[more] RefMatrixd( Matrixd::value_type a00, Matrixd::value_type a01, Matrixd::value_type a02, Matrixd::value_type a03, Matrixd::value_type a10, Matrixd::value_type a11, Matrixd::value_type a12, Matrixd::value_type a13, Matrixd::value_type a20, Matrixd::value_type a21, Matrixd::value_type a22, Matrixd::value_type a23, Matrixd::value_type a30, Matrixd::value_type a31, Matrixd::value_type a32, Matrixd::value_type a33)
-[more]virtual Object* cloneType() const +[more]virtual Object* cloneType() const
-[more]virtual Object* clone(const CopyOp&) const +[more]virtual Object* clone(const CopyOp&) const
-[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
-[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
-[more]virtual const char* className() const +[more]virtual const char* className() const

Protected Methods

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

@@ -55,9 +55,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -116,9 +116,9 @@
obool operator != (const Matrixd& m) const
-oinline value_type& operator()(int row, int col) +oinline value_type& operator()(int row, int col)
-oinline value_type operator()(int row, int col) const +oinline value_type operator()(int row, int col) const
oinline bool valid() const
@@ -128,35 +128,35 @@
ovoid set(const Matrixf& rhs)
-oinline void set(float const* const ptr) +oinline void set(float const* const ptr)
-oinline void set(double const* const ptr) +oinline void set(double const* const ptr)
-ovoid set( value_type a00, value_type a01, value_type a02, value_type a03, value_type a10, value_type a11, value_type a12, value_type a13, value_type a20, value_type a21, value_type a22, value_type a23, value_type a30, value_type a31, value_type a32, value_type a33) +ovoid set( value_type a00, value_type a01, value_type a02, value_type a03, value_type a10, value_type a11, value_type a12, value_type a13, value_type a20, value_type a21, value_type a22, value_type a23, value_type a30, value_type a31, value_type a32, value_type a33)
ovoid set(const Quat& q)
ovoid get(Quat& q) const
-ovalue_type* ptr() +ovalue_type* ptr()
-oconst value_type* ptr() const +oconst value_type* ptr() const
ovoid makeIdentity()
ovoid makeScale( const Vec3& )
-ovoid makeScale( value_type, value_type, value_type ) +ovoid makeScale( value_type, value_type, value_type )
ovoid makeTranslate( const Vec3& )
-ovoid makeTranslate( value_type, value_type, value_type ) +ovoid makeTranslate( value_type, value_type, value_type )
ovoid makeRotate( const Vec3& from, const Vec3& to )
ovoid makeRotate( float angle, const Vec3& axis )
-ovoid makeRotate( float angle, float x, float y, float z ) +ovoid makeRotate( float angle, float x, float y, float z )
ovoid makeRotate( const Quat& )
@@ -172,7 +172,7 @@
ovoid getFrustum(double& left, double& right, double& bottom, double& top, double& zNear, double& zFar)
-ovoid makePerspective(double fovy, double aspectRatio, double zNear, double zFar) +ovoid makePerspective(double fovy, double aspectRatio, double zNear, double zFar)
ovoid makeLookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
@@ -184,15 +184,15 @@
oinline static Matrixd scale( const Vec3& sv)
-oinline static Matrixd scale( value_type sx, value_type sy, value_type sz) +oinline static Matrixd scale( value_type sx, value_type sy, value_type sz)
oinline static Matrixd translate( const Vec3& dv)
-oinline static Matrixd translate( value_type x, value_type y, value_type z) +oinline static Matrixd translate( value_type x, value_type y, value_type z)
oinline static Matrixd rotate( const Vec3& from, const Vec3& to)
-oinline static Matrixd rotate( float angle, float x, float y, float z) +oinline static Matrixd rotate( float angle, float x, float y, float z)
oinline static Matrixd rotate( float angle, const Vec3& axis)
@@ -208,11 +208,11 @@
oinline static Matrixd frustum(double left, double right, double bottom, double top, double zNear, double zFar)
-oinline static Matrixd perspective(double fovy, double aspectRatio, double zNear, double zFar) +oinline static Matrixd perspective(double fovy, double aspectRatio, double zNear, double zFar)
oinline static Matrixd lookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
-ovoid setTrans( value_type tx, value_type ty, value_type tz ) +ovoid setTrans( value_type tx, value_type ty, value_type tz )
ovoid setTrans( const Vec3& v )
@@ -236,17 +236,17 @@
oinline Matrixd identity(void)
-oinline Matrixd scale(value_type sx, value_type sy, value_type sz) +oinline Matrixd scale(value_type sx, value_type sy, value_type sz)
oinline Matrixd scale(const Vec3& v )
-oinline Matrixd translate(value_type tx, value_type ty, value_type tz) +oinline Matrixd translate(value_type tx, value_type ty, value_type tz)
oinline Matrixd translate(const Vec3& v )
oinline Matrixd rotate( const Quat& q )
-oinline Matrixd rotate(float angle, float x, float y, float z ) +oinline Matrixd rotate(float angle, float x, float y, float z )
oinline Matrixd rotate(float angle, const Vec3& axis )
@@ -262,7 +262,7 @@
oinline Matrixd frustum(double left, double right, double bottom, double top, double zNear, double zFar)
-oinline Matrixd perspective(double fovy, double aspectRatio, double zNear, double zFar) +oinline Matrixd perspective(double fovy, double aspectRatio, double zNear, double zFar)
oinline Matrixd lookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
@@ -285,12 +285,12 @@

Public Members

-otypedef float value_type +otypedef double value_type

Protected Fields

-ovalue_type _mat[4][4] +ovalue_type _mat[4][4]

@@ -301,51 +301,51 @@
- +
o RefMatrixd()

- +

o RefMatrixd( const Matrixd& other)

- +

o RefMatrixd( const Matrixf& other)

- -

o RefMatrixd( const RefMatrixd& other) + +
o RefMatrixd( const RefMatrixd& other)

- +

oexplicit RefMatrixd( Matrixd::value_type const* const def )

- +

o RefMatrixd( Matrixd::value_type a00, Matrixd::value_type a01, Matrixd::value_type a02, Matrixd::value_type a03, Matrixd::value_type a10, Matrixd::value_type a11, Matrixd::value_type a12, Matrixd::value_type a13, Matrixd::value_type a20, Matrixd::value_type a21, Matrixd::value_type a22, Matrixd::value_type a23, Matrixd::value_type a30, Matrixd::value_type a31, Matrixd::value_type a32, Matrixd::value_type a33)

- +

ovirtual Object* cloneType() const

- +

ovirtual Object* clone(const CopyOp&) const

- +

ovirtual bool isSameKindAs(const Object* obj) const

- +

ovirtual const char* libraryName() const

- +

ovirtual const char* className() const

- +

ovirtual ~RefMatrixd()

diff --git a/doc/doc++/osg/RefMatrixf.html b/doc/doc++/osg/RefMatrixf.html index 3129f2dfa..32be19017 100644 --- a/doc/doc++/osg/RefMatrixf.html +++ b/doc/doc++/osg/RefMatrixf.html @@ -22,32 +22,32 @@

Public Methods

-[more] RefMatrixf() +[more] RefMatrixf()
-[more] RefMatrixf( const Matrixf& other) +[more] RefMatrixf( const Matrixf& other)
-[more] RefMatrixf( const Matrixd& other) +[more] RefMatrixf( const Matrixd& other)
-[more] RefMatrixf( const RefMatrixf& other) +[more] RefMatrixf( const RefMatrixf& other)
-[more]explicit RefMatrixf( Matrixf::value_type const* const def ) +[more]explicit RefMatrixf( Matrixf::value_type const* const def )
-[more] RefMatrixf( Matrixf::value_type a00, Matrixf::value_type a01, Matrixf::value_type a02, Matrixf::value_type a03, Matrixf::value_type a10, Matrixf::value_type a11, Matrixf::value_type a12, Matrixf::value_type a13, Matrixf::value_type a20, Matrixf::value_type a21, Matrixf::value_type a22, Matrixf::value_type a23, Matrixf::value_type a30, Matrixf::value_type a31, Matrixf::value_type a32, Matrixf::value_type a33) +[more] RefMatrixf( Matrixf::value_type a00, Matrixf::value_type a01, Matrixf::value_type a02, Matrixf::value_type a03, Matrixf::value_type a10, Matrixf::value_type a11, Matrixf::value_type a12, Matrixf::value_type a13, Matrixf::value_type a20, Matrixf::value_type a21, Matrixf::value_type a22, Matrixf::value_type a23, Matrixf::value_type a30, Matrixf::value_type a31, Matrixf::value_type a32, Matrixf::value_type a33)
-[more]virtual Object* cloneType() const +[more]virtual Object* cloneType() const
-[more]virtual Object* clone(const CopyOp&) const +[more]virtual Object* clone(const CopyOp&) const
-[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
-[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
-[more]virtual const char* className() const +[more]virtual const char* className() const

Protected Methods

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

@@ -55,9 +55,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -116,9 +116,9 @@
obool operator != (const Matrixf& m) const
-oinline value_type& operator()(int row, int col) +oinline value_type& operator()(int row, int col)
-oinline value_type operator()(int row, int col) const +oinline value_type operator()(int row, int col) const
oinline bool valid() const
@@ -128,35 +128,35 @@
oinline void set(const Matrixf& rhs)
-oinline void set(float const* const ptr) +oinline void set(float const* const ptr)
-oinline void set(double const* const ptr) +oinline void set(double const* const ptr)
-ovoid set( value_type a00, value_type a01, value_type a02, value_type a03, value_type a10, value_type a11, value_type a12, value_type a13, value_type a20, value_type a21, value_type a22, value_type a23, value_type a30, value_type a31, value_type a32, value_type a33) +ovoid set( value_type a00, value_type a01, value_type a02, value_type a03, value_type a10, value_type a11, value_type a12, value_type a13, value_type a20, value_type a21, value_type a22, value_type a23, value_type a30, value_type a31, value_type a32, value_type a33)
ovoid set(const Quat& q)
ovoid get(Quat& q) const
-ovalue_type* ptr() +ovalue_type* ptr()
-oconst value_type* ptr() const +oconst value_type* ptr() const
ovoid makeIdentity()
ovoid makeScale( const Vec3& )
-ovoid makeScale( value_type, value_type, value_type ) +ovoid makeScale( value_type, value_type, value_type )
ovoid makeTranslate( const Vec3& )
-ovoid makeTranslate( value_type, value_type, value_type ) +ovoid makeTranslate( value_type, value_type, value_type )
ovoid makeRotate( const Vec3& from, const Vec3& to )
ovoid makeRotate( float angle, const Vec3& axis )
-ovoid makeRotate( float angle, float x, float y, float z ) +ovoid makeRotate( float angle, float x, float y, float z )
ovoid makeRotate( const Quat& )
@@ -172,7 +172,7 @@
ovoid getFrustum(double& left, double& right, double& bottom, double& top, double& zNear, double& zFar)
-ovoid makePerspective(double fovy, double aspectRatio, double zNear, double zFar) +ovoid makePerspective(double fovy, double aspectRatio, double zNear, double zFar)
ovoid makeLookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
@@ -184,15 +184,15 @@
oinline static Matrixf scale( const Vec3& sv)
-oinline static Matrixf scale( value_type sx, value_type sy, value_type sz) +oinline static Matrixf scale( value_type sx, value_type sy, value_type sz)
oinline static Matrixf translate( const Vec3& dv)
-oinline static Matrixf translate( value_type x, value_type y, value_type z) +oinline static Matrixf translate( value_type x, value_type y, value_type z)
oinline static Matrixf rotate( const Vec3& from, const Vec3& to)
-oinline static Matrixf rotate( float angle, float x, float y, float z) +oinline static Matrixf rotate( float angle, float x, float y, float z)
oinline static Matrixf rotate( float angle, const Vec3& axis)
@@ -208,11 +208,11 @@
oinline static Matrixf frustum(double left, double right, double bottom, double top, double zNear, double zFar)
-oinline static Matrixf perspective(double fovy, double aspectRatio, double zNear, double zFar) +oinline static Matrixf perspective(double fovy, double aspectRatio, double zNear, double zFar)
oinline static Matrixf lookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
-ovoid setTrans( value_type tx, value_type ty, value_type tz ) +ovoid setTrans( value_type tx, value_type ty, value_type tz )
ovoid setTrans( const Vec3& v )
@@ -236,17 +236,17 @@
oinline Matrixf identity(void)
-oinline Matrixf scale(value_type sx, value_type sy, value_type sz) +oinline Matrixf scale(value_type sx, value_type sy, value_type sz)
oinline Matrixf scale(const Vec3& v )
-oinline Matrixf translate(value_type tx, value_type ty, value_type tz) +oinline Matrixf translate(value_type tx, value_type ty, value_type tz)
oinline Matrixf translate(const Vec3& v )
oinline Matrixf rotate( const Quat& q )
-oinline Matrixf rotate(float angle, float x, float y, float z ) +oinline Matrixf rotate(float angle, float x, float y, float z )
oinline Matrixf rotate(float angle, const Vec3& axis )
@@ -262,7 +262,7 @@
oinline Matrixf frustum(double left, double right, double bottom, double top, double zNear, double zFar)
-oinline Matrixf perspective(double fovy, double aspectRatio, double zNear, double zFar) +oinline Matrixf perspective(double fovy, double aspectRatio, double zNear, double zFar)
oinline Matrixf lookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
@@ -290,7 +290,7 @@

Protected Fields

-ovalue_type _mat[4][4] +ovalue_type _mat[4][4]

@@ -301,51 +301,51 @@
- +
o RefMatrixf()

- +

o RefMatrixf( const Matrixf& other)

- +

o RefMatrixf( const Matrixd& other)

- -

o RefMatrixf( const RefMatrixf& other) + +
o RefMatrixf( const RefMatrixf& other)

- +

oexplicit RefMatrixf( Matrixf::value_type const* const def )

- +

o RefMatrixf( Matrixf::value_type a00, Matrixf::value_type a01, Matrixf::value_type a02, Matrixf::value_type a03, Matrixf::value_type a10, Matrixf::value_type a11, Matrixf::value_type a12, Matrixf::value_type a13, Matrixf::value_type a20, Matrixf::value_type a21, Matrixf::value_type a22, Matrixf::value_type a23, Matrixf::value_type a30, Matrixf::value_type a31, Matrixf::value_type a32, Matrixf::value_type a33)

- +

ovirtual Object* cloneType() const

- +

ovirtual Object* clone(const CopyOp&) const

- +

ovirtual bool isSameKindAs(const Object* obj) const

- +

ovirtual const char* libraryName() const

- +

ovirtual const char* className() const

- +

ovirtual ~RefMatrixf()

diff --git a/doc/doc++/osg/Referenced.html b/doc/doc++/osg/Referenced.html index 13c48d34d..2f56c653a 100644 --- a/doc/doc++/osg/Referenced.html +++ b/doc/doc++/osg/Referenced.html @@ -23,39 +23,39 @@

Public Methods

-[more] Referenced() +[more] Referenced()
-[more] Referenced(const Referenced&) +[more] Referenced(const Referenced&)
-[more]inline Referenced& operator = (Referenced&) +[more]inline Referenced& operator = (Referenced&)
-[more]static void setDeleteHandler(DeleteHandler* handler) +[more]static void setDeleteHandler(DeleteHandler* handler)
Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to
-[more]static DeleteHandler* getDeleteHandler() +[more]static DeleteHandler* getDeleteHandler()
Get a DeleteHandler
-[more]inline void ref() const +[more]inline void ref() const
increment the reference count by one, indicating that this object has another pointer which is referencing it
-[more]inline void unref_nodelete() const +[more]inline void unref_nodelete() const
decrement the reference count by one, indicating that a pointer to this object is referencing it.
-[more]inline int referenceCount() const +[more]inline int referenceCount() const
return the number pointers currently referencing this object.
-[more]inline void unref() const +[more]inline void unref() const
decrement the reference count by one, indicating that a pointer to this object is referencing it.

Protected Fields

-[more]mutable int _refCount +[more]mutable int _refCount

Protected Methods

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

@@ -67,36 +67,36 @@
- +
o Referenced()

- -

o Referenced(const Referenced&) + +
o Referenced(const Referenced&)

- +

oinline Referenced& operator = (Referenced&)

- +

ostatic void setDeleteHandler(DeleteHandler* handler)
Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to

- +

ostatic DeleteHandler* getDeleteHandler()
Get a DeleteHandler

- +

oinline void ref() const
increment the reference count by one, indicating that this object has another pointer which is referencing it

- +

oinline void unref_nodelete() const
decrement the reference count by one, indicating that a pointer to this object is referencing it. However, do @@ -106,20 +106,20 @@ be resonsible for, one should prefer unref() over unref_nodelete() as the later can lead to memory leaks.

- +

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

- +

ovirtual ~Referenced()

- +

omutable int _refCount

- +

oinline void unref() const
decrement the reference count by one, indicating that a pointer to this object is referencing it. If the diff --git a/doc/doc++/osg/Sequence.html b/doc/doc++/osg/Sequence.html index ee28cba48..fffae7e00 100644 --- a/doc/doc++/osg/Sequence.html +++ b/doc/doc++/osg/Sequence.html @@ -23,81 +23,81 @@

Public Methods

-[more] Sequence() +[more] Sequence()
-[more] Sequence(const Sequence&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Sequence(const Sequence&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_Node(osg, Sequence) +[more] META_Node(osg, Sequence)
-[more]virtual void traverse(NodeVisitor& nv) +[more]virtual void traverse(NodeVisitor& nv)
-[more]void setValue(int value) +[more]void setValue(int value)
-[more]int getValue() const +[more]int getValue() const
-[more]void setTime(int frame, float t) +[more]void setTime(int frame, float t)
Set time in seconds for child
-[more]float getTime(int frame) const +[more]float getTime(int frame) const
Get time for child
-[more]void setInterval(LoopMode mode, int begin, int end) +[more]void setInterval(LoopMode mode, int begin, int end)
Set sequence mode & interval.
-[more]inline void getInterval(LoopMode& mode, int& begin, int& end) const +[more]inline void getInterval(LoopMode& mode, int& begin, int& end) const
Get sequence mode & interval.
-[more]void setDuration(float speed, int nreps = -1) +[more]void setDuration(float speed, int nreps = -1)
Set duration: speed-up & number of repeats
-[more]inline void getDuration(float& speed, int& nreps) const +[more]inline void getDuration(float& speed, int& nreps) const
Get duration
-[more]void setMode(SequenceMode mode) +[more]void setMode(SequenceMode mode)
Set sequence mode.
-[more]inline SequenceMode getMode() const +[more]inline SequenceMode getMode() const
Get sequence mode.

Public Members

-[more]enum LoopMode +[more]enum LoopMode
Interval modes
-[more]enum SequenceMode +[more]enum SequenceMode
Sequence modes

Protected Fields

-[more]int _value +[more]int _value
-[more]float _last +[more]float _last
-[more]std::vector<float> _frameTime +[more]std::vector<float> _frameTime
-[more]int _step +[more]int _step
-[more]LoopMode _loopMode +[more]LoopMode _loopMode
-[more]int _begin +[more]int _begin
-[more]int _end +[more]int _end
-[more]float _speed +[more]float _speed
-[more]int _nreps +[more]int _nreps
-[more]int _nrepsremain +[more]int _nrepsremain
-[more]SequenceMode _mode +[more]SequenceMode _mode

Protected Methods

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

@@ -165,15 +165,15 @@
ovirtual void ascend(NodeVisitor& nv)
-oinline void setName( const std::string& name ) +oinline void setName( const std::string& name )
-oinline void setName( const char* name ) +oinline void setName( const char* name )
oinline const std::string& getName() const
-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
-oinline ParentList getParents() +oinline ParentList getParents()
oinline Group* getParent(unsigned int i)
@@ -207,13 +207,13 @@
obool containsOccluderNodes() const
-oinline void setNodeMask(NodeMask nm) +oinline void setNodeMask(NodeMask nm)
-oinline NodeMask getNodeMask() const +oinline NodeMask getNodeMask() const
-oinline const DescriptionList& getDescriptions() const +oinline const DescriptionList& getDescriptions() const
-oinline DescriptionList& getDescriptions() +oinline DescriptionList& getDescriptions()
oinline const std::string& getDescription(unsigned int i) const
@@ -253,7 +253,7 @@
ostd::string _name
-oParentList _parents +oParentList _parents
oref_ptr<NodeCallback> _updateCallback
@@ -267,9 +267,9 @@
ounsigned int _numChildrenWithOccluderNodes
-oNodeMask _nodeMask +oNodeMask _nodeMask
-oDescriptionList _descriptions +oDescriptionList _descriptions
oref_ptr<StateSet> _stateset

@@ -292,9 +292,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -350,155 +350,155 @@ switching between children
- +
o Sequence()

- -

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

- +

o META_Node(osg, Sequence)

- +

ovirtual void traverse(NodeVisitor& nv)

- +

ovoid setValue(int value)

- +

oint getValue() const

- +

ovoid setTime(int frame, float t)
Set time in seconds for child

- +

ofloat getTime(int frame) const
Get time for child

- +

oenum LoopMode
Interval modes

- +
o LOOP

- +

o SWING

- -
ovoid setInterval(LoopMode mode, int begin, int end) + +
ovoid setInterval(LoopMode mode, int begin, int end)
Set sequence mode & interval.

- -

oinline void getInterval(LoopMode& mode, int& begin, int& end) const + +
oinline void getInterval(LoopMode& mode, int& begin, int& end) const
Get sequence mode & interval.

- +

ovoid setDuration(float speed, int nreps = -1)
Set duration: speed-up & number of repeats

- +

oinline void getDuration(float& speed, int& nreps) const
Get duration

- +

oenum SequenceMode
Sequence modes

- +
o START

- +

o STOP

- +

o PAUSE

- +

o RESUME

- -
ovoid setMode(SequenceMode mode) + +
ovoid setMode(SequenceMode mode)
Set sequence mode. Start/stop & pause/resume.

- -

oinline SequenceMode getMode() const + +
oinline SequenceMode getMode() const
Get sequence mode.

- +

ovirtual ~Sequence()

- +

oint _value

- +

ofloat _last

- +

ostd::vector<float> _frameTime

- +

oint _step

- -

oLoopMode _loopMode + +
oLoopMode _loopMode

- +

oint _begin

- +

oint _end

- +

ofloat _speed

- +

oint _nreps

- +

oint _nrepsremain

- -

oSequenceMode _mode + +
oSequenceMode _mode


This class has no child classes.
diff --git a/doc/doc++/osg/ShadeModel.html b/doc/doc++/osg/ShadeModel.html index a0eff162e..42f87da0a 100644 --- a/doc/doc++/osg/ShadeModel.html +++ b/doc/doc++/osg/ShadeModel.html @@ -23,36 +23,36 @@

Public Methods

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

Public Members

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

Protected Fields

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

Protected Methods

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

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

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

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -162,56 +162,56 @@
- +
o ShadeModel()

- -

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

- -

o META_StateAttribute(osg, ShadeModel, SHADEMODEL) + +
o META_StateAttribute(osg, ShadeModel, SHADEMODEL)

- +

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

- +

oenum Mode

- +
o FLAT

- +

o SMOOTH

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

- -

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

- +

ovirtual void apply(State& state) const

- +

ovirtual ~ShadeModel()

- -

oMode _mode + +
oMode _mode


This class has no child classes.
diff --git a/doc/doc++/osg/ShadowVolumeOccluder.html b/doc/doc++/osg/ShadowVolumeOccluder.html index bdb1f157b..0239e283b 100644 --- a/doc/doc++/osg/ShadowVolumeOccluder.html +++ b/doc/doc++/osg/ShadowVolumeOccluder.html @@ -13,74 +13,74 @@

Public Methods

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

Public Members

-[more]typedef std::vector<Polytope> HoleList +[more]typedef std::vector<Polytope> HoleList

Protected Fields

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

@@ -92,124 +92,124 @@
- +
otypedef std::vector<Polytope> HoleList

- -

o ShadowVolumeOccluder(const ShadowVolumeOccluder& svo) + +
o ShadowVolumeOccluder(const ShadowVolumeOccluder& svo)

- +

o ShadowVolumeOccluder()

- +

obool operator < (const ShadowVolumeOccluder& svo) const

- +

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

- +

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() + +
oHoleList& getHoleList()
return the list of holes

- -

oconst HoleList& getHoleList() const + +
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 RefMatrix> _projectionMatrix

- +

oPolytope _occluderVolume

- -

oHoleList _holeList + +
oHoleList _holeList

- +

oinline void disableResultMasks()

- +

oinline void pushCurrentMask()

- +

oinline void popCurrentMask()

diff --git a/doc/doc++/osg/Shape.html b/doc/doc++/osg/Shape.html index 530ae794b..0f81fdb68 100644 --- a/doc/doc++/osg/Shape.html +++ b/doc/doc++/osg/Shape.html @@ -23,35 +23,35 @@

Public Methods

-[more] Shape() +[more] Shape()
-[more] Shape(const Shape& sa, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Shape(const Shape& sa, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more]virtual Object* cloneType() const = 0 +[more]virtual Object* cloneType() const = 0
Clone the type of an attribute, with Object* return type.
-[more]virtual Object* clone(const CopyOp&) const = 0 +[more]virtual Object* clone(const CopyOp&) const = 0
Clone an attribute, with Object* return type.
-[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
return true if this and obj are of the same kind of object
-[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
return the name of the attribute's library
-[more]virtual const char* className() const +[more]virtual const char* className() const
return the name of the attribute's class type
-[more]virtual void accept(ShapeVisitor&) = 0 +[more]virtual void accept(ShapeVisitor&) = 0
accept a non const shape visitor which can be used on non const shape objects.
-[more]virtual void accept(ConstShapeVisitor&) const = 0 +[more]virtual void accept(ConstShapeVisitor&) const = 0
accept a const shape visitor which can be used on const shape objects.

Protected Methods

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

@@ -59,9 +59,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -118,54 +118,54 @@ to define the geometric shape of procedurally generate Geometry.
- +
o Shape()

- -

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

- +

ovirtual Object* cloneType() const = 0
Clone the type of an attribute, with Object* return type. Must be defined by derived classes.

- +

ovirtual Object* clone(const CopyOp&) const = 0
Clone an attribute, with Object* return type. Must be defined by derived classes.

- +

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

- +

ovirtual const char* libraryName() const
return the name of the attribute's library

- +

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

- +

ovirtual void accept(ShapeVisitor&) = 0
accept a non const shape visitor which can be used on non const shape objects. Must be defined by derived classes.

- +

ovirtual void accept(ConstShapeVisitor&) const = 0
accept a const shape visitor which can be used on const shape objects. Must be defined by derived classes.

- +

ovirtual ~Shape()


diff --git a/doc/doc++/osg/ShapeDrawable.html b/doc/doc++/osg/ShapeDrawable.html index 06e97e332..323d4052d 100644 --- a/doc/doc++/osg/ShapeDrawable.html +++ b/doc/doc++/osg/ShapeDrawable.html @@ -22,68 +22,68 @@

Public Methods

-[more] ShapeDrawable() +[more] ShapeDrawable()
-[more] ShapeDrawable(Shape* shape, TessellationHints* hints=0) +[more] ShapeDrawable(Shape* shape, TessellationHints* hints=0)
-[more] ShapeDrawable(const ShapeDrawable& pg, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] ShapeDrawable(const ShapeDrawable& pg, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more]virtual Object* cloneType() const +[more]virtual Object* cloneType() const
-[more]virtual Object* clone(const CopyOp& copyop) const +[more]virtual Object* clone(const CopyOp& copyop) const
-[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
-[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
-[more]virtual const char* className() const +[more]virtual const char* className() const
-[more]void setColor(const Vec4& color) +[more]void setColor(const Vec4& color)
set the color of the shape
-[more]const Vec4& getColor() const +[more]const Vec4& getColor() const
get the color of the shape
-[more]void setTessellationHints(TessellationHints* hints) +[more]void setTessellationHints(TessellationHints* hints)
-[more]TessellationHints* getTessellationHints() +[more]TessellationHints* getTessellationHints()
-[more]const TessellationHints* getTessellationHints() const +[more]const TessellationHints* getTessellationHints() const
-[more]virtual void drawImplementation(State& state) const +[more]virtual void drawImplementation(State& state) const
draw ShapeDrawable directly ignoring an OpenGL display list which could be attached.
-[more]virtual bool supports(AttributeFunctor&) const +[more]virtual bool supports(AttributeFunctor&) const
return false, osg::ShapeDrawable does not support accept(AttributeFunctor&)
-[more]virtual bool supports(ConstAttributeFunctor&) const +[more]virtual bool supports(ConstAttributeFunctor&) const
return true, osg::ShapeDrawable does support accept(ConstAttributeFunctor&)
-[more]virtual void accept(ConstAttributeFunctor& af) const +[more]virtual void accept(ConstAttributeFunctor& af) const
accept an ConstAttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has
-[more]virtual bool supports(PrimitiveFunctor&) const +[more]virtual bool supports(PrimitiveFunctor&) const
return true, osg::ShapeDrawable does support accept(PrimitiveFunctor&)
-[more]virtual void accept(PrimitiveFunctor& pf) const +[more]virtual void accept(PrimitiveFunctor& pf) const
accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has

Protected Fields

-[more]Vec4 _color +[more]Vec4 _color
-[more]ref_ptr<TessellationHints> _tessellationHints +[more]ref_ptr<TessellationHints> _tessellationHints

Protected Methods

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

@@ -244,9 +244,9 @@ class SG_EXPORT Extensions: public

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -262,7 +262,7 @@ class SG_EXPORT Extensions: public

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -298,110 +298,110 @@ class SG_EXPORT Extensions: public - +
o ShapeDrawable()

- +

o ShapeDrawable(Shape* shape, TessellationHints* hints=0)

- -

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

- +

ovirtual Object* cloneType() const

- +

ovirtual Object* clone(const CopyOp& copyop) const

- +

ovirtual bool isSameKindAs(const Object* obj) const

- +

ovirtual const char* libraryName() const

- +

ovirtual const char* className() const

- +

ovoid setColor(const Vec4& color)
set the color of the shape

- +

oconst Vec4& getColor() const
get the color of the shape

- +

ovoid setTessellationHints(TessellationHints* hints)

- +

oTessellationHints* getTessellationHints()

- +

oconst TessellationHints* getTessellationHints() const

- +

ovirtual void drawImplementation(State& state) const
draw ShapeDrawable 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 ShapeDrawable for user-drawn objects.

- +

ovirtual bool supports(AttributeFunctor&) const
return false, osg::ShapeDrawable does not support accept(AttributeFunctor&)

- +

ovirtual bool supports(ConstAttributeFunctor&) const
return true, osg::ShapeDrawable does support accept(ConstAttributeFunctor&)

- +

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

- +

ovirtual bool supports(PrimitiveFunctor&) const
return true, osg::ShapeDrawable does support accept(PrimitiveFunctor&)

- +

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

- +

oShapeDrawable& operator = (const ShapeDrawable&)

- +

ovirtual ~ShapeDrawable()

- +

ovirtual bool computeBound() const

- +

oVec4 _color

- +

oref_ptr<TessellationHints> _tessellationHints

diff --git a/doc/doc++/osg/ShapeVisitor.html b/doc/doc++/osg/ShapeVisitor.html index ac655d398..f7575e047 100644 --- a/doc/doc++/osg/ShapeVisitor.html +++ b/doc/doc++/osg/ShapeVisitor.html @@ -12,25 +12,25 @@

Public Methods

-[more] ShapeVisitor() +[more] ShapeVisitor()
-[more]virtual void apply(Sphere&) +[more]virtual void apply(Sphere&)
-[more]virtual void apply(Box&) +[more]virtual void apply(Box&)
-[more]virtual void apply(Cone&) +[more]virtual void apply(Cone&)
-[more]virtual void apply(Cylinder&) +[more]virtual void apply(Cylinder&)
-[more]virtual void apply(InfinitePlane&) +[more]virtual void apply(InfinitePlane&)
-[more]virtual void apply(TriangleMesh&) +[more]virtual void apply(TriangleMesh&)
-[more]virtual void apply(ConvexHull&) +[more]virtual void apply(ConvexHull&)
-[more]virtual void apply(HeightField&) +[more]virtual void apply(HeightField&)
-[more]virtual void apply(CompositeShape&) +[more]virtual void apply(CompositeShape&)

@@ -41,43 +41,43 @@
- +
o ShapeVisitor()

- +

ovirtual void apply(Sphere&)

- +

ovirtual void apply(Box&)

- +

ovirtual void apply(Cone&)

- +

ovirtual void apply(Cylinder&)

- +

ovirtual void apply(InfinitePlane&)

- +

ovirtual void apply(TriangleMesh&)

- +

ovirtual void apply(ConvexHull&)

- +

ovirtual void apply(HeightField&)

- +

ovirtual void apply(CompositeShape&)

diff --git a/doc/doc++/osg/Sphere.html b/doc/doc++/osg/Sphere.html index 3af670dc3..c6607664a 100644 --- a/doc/doc++/osg/Sphere.html +++ b/doc/doc++/osg/Sphere.html @@ -22,37 +22,37 @@

Public Methods

-[more] Sphere() +[more] Sphere()
-[more] Sphere(const osg::Vec3& center, float radius) +[more] Sphere(const osg::Vec3& center, float radius)
-[more] Sphere(const Sphere& sphere, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Sphere(const Sphere& sphere, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more] META_Shape(osg, Sphere) +[more] META_Shape(osg, Sphere)
-[more]inline bool valid() const +[more]inline bool valid() const
-[more]inline void set(const Vec3& center, float radius) +[more]inline void set(const Vec3& center, float radius)
-[more]inline void setCenter(const Vec3& center) +[more]inline void setCenter(const Vec3& center)
-[more]inline const Vec3& getCenter() const +[more]inline const Vec3& getCenter() const
-[more]inline void setRadius(float radius) +[more]inline void setRadius(float radius)
-[more]inline float getRadius() const +[more]inline float getRadius() const

Protected Fields

-[more]Vec3 _center +[more]Vec3 _center
-[more]float _radius +[more]float _radius

Protected Methods

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

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

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -136,55 +136,55 @@
- +
o Sphere()

- +

o Sphere(const osg::Vec3& center, float radius)

- -

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

- +

o META_Shape(osg, Sphere)

- +

oinline bool valid() const

- +

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

- +

oinline void setCenter(const Vec3& center)

- +

oinline const Vec3& getCenter() const

- +

oinline void setRadius(float radius)

- +

oinline float getRadius() const

- +

ovirtual ~Sphere()

- +

oVec3 _center

- +

ofloat _radius

diff --git a/doc/doc++/osg/State.html b/doc/doc++/osg/State.html index d0bbf84b9..a128c13d5 100644 --- a/doc/doc++/osg/State.html +++ b/doc/doc++/osg/State.html @@ -23,370 +23,370 @@

Public Methods

-[more] State() +[more] State()
-[more]void pushStateSet(const StateSet* dstate) +[more]void pushStateSet(const StateSet* dstate)
push stateset onto state stack
-[more]void popStateSet() +[more]void popStateSet()
pop drawstate off state stack
-[more]void captureCurrentState(StateSet& stateset) const +[more]void captureCurrentState(StateSet& stateset) const
copy the modes and attributes which captures the current state
-[more]void reset() +[more]void reset()
reset the state object to an empty stack
-[more]inline const Viewport* getCurrentViewport() const +[more]inline const Viewport* getCurrentViewport() const
-[more]void setInitialViewMatrix(const osg::RefMatrix* matrix) +[more]void setInitialViewMatrix(const osg::RefMatrix* matrix)
-[more]inline const osg::Matrix& getInitialViewMatrix() const +[more]inline const osg::Matrix& getInitialViewMatrix() const
-[more]inline const osg::Matrix& getInitialInverseViewMatrix() const +[more]inline const osg::Matrix& getInitialInverseViewMatrix() const
-[more]inline void applyProjectionMatrix(const osg::RefMatrix* matrix) +[more]inline void applyProjectionMatrix(const osg::RefMatrix* matrix)
-[more]inline const osg::Matrix& getProjectionMatrix() const +[more]inline const osg::Matrix& getProjectionMatrix() const
-[more]inline void applyModelViewMatrix(const osg::RefMatrix* matrix) +[more]inline void applyModelViewMatrix(const osg::RefMatrix* matrix)
-[more]const osg::Matrix& getModelViewMatrix() const +[more]const osg::Matrix& getModelViewMatrix() const
-[more]Polytope getViewFrustum() const +[more]Polytope getViewFrustum() const
-[more]void apply(const StateSet* dstate) +[more]void apply(const StateSet* dstate)
Apply stateset
-[more]void apply() +[more]void apply()
Apply the state
-[more]inline bool applyMode(StateAttribute::GLMode mode, bool enabled) +[more]inline bool applyMode(StateAttribute::GLMode mode, bool enabled)
Apply an OpenGL mode if required.
-[more]inline bool applyTextureMode(unsigned int unit, StateAttribute::GLMode mode, bool enabled) +[more]inline bool applyTextureMode(unsigned int unit, StateAttribute::GLMode mode, bool enabled)
-[more]inline bool applyAttribute(const StateAttribute* attribute) +[more]inline bool applyAttribute(const StateAttribute* attribute)
Apply an attribute if required.
-[more]inline bool applyTextureAttribute(unsigned int unit, const StateAttribute* attribute) +[more]inline bool applyTextureAttribute(unsigned int unit, const StateAttribute* attribute)
-[more]void haveAppliedMode(StateAttribute::GLMode mode, StateAttribute::GLModeValue value) +[more]void haveAppliedMode(StateAttribute::GLMode mode, StateAttribute::GLModeValue value)
Mode has been set externally, update state to reflect this setting
-[more]void haveAppliedMode(StateAttribute::GLMode mode) +[more]void haveAppliedMode(StateAttribute::GLMode mode)
Mode has been set externally, therefore dirty the associated mode in osg::State so it is applied on next call to osg::State::apply()
-[more]void haveAppliedAttribute(const StateAttribute* attribute) +[more]void haveAppliedAttribute(const StateAttribute* attribute)
Attribute has been applied externally, update state to reflect this setting
-[more]void haveAppliedAttribute(StateAttribute::Type type) +[more]void haveAppliedAttribute(StateAttribute::Type type)
Attribute has been applied externally, and therefore this attribute type has been dirtied and will need to be re-appplied on next osg::Stateapply().
-[more]bool getLastAppliedMode(StateAttribute::GLMode mode) const +[more]bool getLastAppliedMode(StateAttribute::GLMode mode) const
Get whether the current specified mode is enabled (true) or disabled (false)
-[more]const StateAttribute* getLastAppliedAttribute(StateAttribute::Type type) const +[more]const StateAttribute* getLastAppliedAttribute(StateAttribute::Type type) const
Get the current specified attribute, return NULL is one has not yet been applied
-[more]void haveAppliedTextureMode(unsigned int unit, StateAttribute::GLMode mode, StateAttribute::GLModeValue value) +[more]void haveAppliedTextureMode(unsigned int unit, StateAttribute::GLMode mode, StateAttribute::GLModeValue value)
texture Mode has been set externally, update state to reflect this setting
-[more]void haveAppliedTextureMode(unsigned int unit, StateAttribute::GLMode mode) +[more]void haveAppliedTextureMode(unsigned int unit, StateAttribute::GLMode mode)
texture Mode has been set externally, therefore dirty the associated mode in osg::State so it is applied on next call to osg::State::apply()
-[more]void haveAppliedTextureAttribute(unsigned int unit, const StateAttribute* attribute) +[more]void haveAppliedTextureAttribute(unsigned int unit, const StateAttribute* attribute)
texture Attribute has been applied externally, update state to reflect this setting
-[more]void haveAppliedTextureAttribute(unsigned int unit, StateAttribute::Type type) +[more]void haveAppliedTextureAttribute(unsigned int unit, StateAttribute::Type type)
texture Attribute has been applied externally, and therefore this attribute type has been dirtied and will need to be re-appplied on next osg::Stateapply().
-[more]bool getLastAppliedTextureMode(unsigned int unit, StateAttribute::GLMode mode) const +[more]bool getLastAppliedTextureMode(unsigned int unit, StateAttribute::GLMode mode) const
Get whether the current specified texture mode is enabled (true) or disabled (false)
-[more]const StateAttribute* getLastAppliedTextureAttribute(unsigned int unit, StateAttribute::Type type) const +[more]const StateAttribute* getLastAppliedTextureAttribute(unsigned int unit, StateAttribute::Type type) const
Get the current specified texture attribute, return NULL is one has not yet been applied
-[more]void dirtyAllModes() +[more]void dirtyAllModes()
Dirty the modes previously applied in osg::State
-[more]void dirtyAllAttributes() +[more]void dirtyAllAttributes()
Dirty the modes attributes previously applied in osg::State
-[more]void disableAllVertexArrays() +[more]void disableAllVertexArrays()
disable the vertex, normal, color, tex coords, secenday color, fog coord and index arrays
-[more]void dirtyAllVertexArrays() +[more]void dirtyAllVertexArrays()
dirty the vertex, normal, color, tex coords, secenday color, fog coord and index arrays
-[more]void setInterleavedArrays( GLenum format, GLsizei stride, const GLvoid* pointer) +[more]void setInterleavedArrays( GLenum format, GLsizei stride, const GLvoid* pointer)
Wrapper around glInterleavedArrays().
-[more]inline void setVertexPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr ) +[more]inline void setVertexPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr )
wrapper around glEnableClientState(GL_VERTEX_ARRAY);glVertexPointer(); note, only updates values that change
-[more]inline void disableVertexPointer() +[more]inline void disableVertexPointer()
wrapper glDisableClientState(GL_VERTEX_ARRAY).
-[more]inline void dirtyVertexPointer() +[more]inline void dirtyVertexPointer()
-[more]inline void setNormalPointer( GLenum type, GLsizei stride, const GLvoid* ptr ) +[more]inline void setNormalPointer( GLenum type, GLsizei stride, const GLvoid* ptr )
wrapper around glEnableClientState(GL_NORMAL_ARRAY);glNormalPointer(); note, only updates values that change
-[more]inline void disableNormalPointer() +[more]inline void disableNormalPointer()
wrapper around glDisableClientState(GL_NORMAL_ARRAY); note, only updates values that change
-[more]inline void dirtyNormalPointer() +[more]inline void dirtyNormalPointer()
-[more]inline void setColorPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr ) +[more]inline void setColorPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr )
wrapper around glEnableClientState(GL_COLOR_ARRAY);glColorPointer(); note, only updates values that change
-[more]inline void disableColorPointer() +[more]inline void disableColorPointer()
wrapper around glDisableClientState(GL_COLOR_ARRAY); note, only updates values that change
-[more]inline void dirtyColorPointer() +[more]inline void dirtyColorPointer()
-[more]inline bool isSecondaryColorSupported() const +[more]inline bool isSecondaryColorSupported() const
-[more]void setSecondaryColorPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr ) +[more]void setSecondaryColorPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr )
wrapper around glEnableClientState(GL_SECONDARY_COLOR_ARRAY);glSecondayColorPointer(); note, only updates values that change
-[more]inline void disableSecondaryColorPointer() +[more]inline void disableSecondaryColorPointer()
wrapper around glDisableClientState(GL_SECONDARY_COLOR_ARRAY); note, only updates values that change
-[more]inline void dirtySecondaryColorPointer() +[more]inline void dirtySecondaryColorPointer()
-[more]inline void setIndexPointer( GLenum type, GLsizei stride, const GLvoid* ptr ) +[more]inline void setIndexPointer( GLenum type, GLsizei stride, const GLvoid* ptr )
wrapper around glEnableClientState(GL_INDEX_ARRAY);glIndexPointer(); note, only updates values that change
-[more]inline void disableIndexPointer() +[more]inline void disableIndexPointer()
wrapper around glDisableClientState(GL_INDEX_ARRAY); note, only updates values that change
-[more]inline void dirtyIndexPointer() +[more]inline void dirtyIndexPointer()
-[more]inline bool isFogCoordSupported() const +[more]inline bool isFogCoordSupported() const
-[more]void setFogCoordPointer( GLenum type, GLsizei stride, const GLvoid* ptr ) +[more]void setFogCoordPointer( GLenum type, GLsizei stride, const GLvoid* ptr )
wrapper around glEnableClientState(GL_FOG_COORDINATE_ARRAY);glFogCoordPointer(); note, only updates values that change
-[more]inline void disableFogCoordPointer() +[more]inline void disableFogCoordPointer()
wrapper around glDisableClientState(GL_FOG_COORDINATE_ARRAY); note, only updates values that change
-[more]inline void dirtyFogCoordPointer() +[more]inline void dirtyFogCoordPointer()
-[more]inline void setTexCoordPointer( unsigned int unit, GLint size, GLenum type, GLsizei stride, const GLvoid* ptr ) +[more]inline void setTexCoordPointer( unsigned int unit, GLint size, GLenum type, GLsizei stride, const GLvoid* ptr )
wrapper around glEnableClientState(GL_TEXTURE_COORD_ARRAY);glTexCoordPointer(); note, only updates values that change
-[more]inline void disableTexCoordPointer( unsigned int unit ) +[more]inline void disableTexCoordPointer( unsigned int unit )
wrapper around glDisableClientState(GL_TEXTURE_COORD_ARRAY); note, only updates values that change
-[more]inline void dirtyTexCoordPointer( unsigned int unit ) +[more]inline void dirtyTexCoordPointer( unsigned int unit )
-[more]inline void disableTexCoordPointersAboveAndIncluding( unsigned int unit ) +[more]inline void disableTexCoordPointersAboveAndIncluding( unsigned int unit )
-[more]inline void dirtyTexCoordPointersAboveAndIncluding( unsigned int unit ) +[more]inline void dirtyTexCoordPointersAboveAndIncluding( unsigned int unit )
-[more]bool setClientActiveTextureUnit( unsigned int unit ) +[more]bool setClientActiveTextureUnit( unsigned int unit )
set the current tex coord array texture unit, return true if selected, false if selection failed such as when multitexturing is not supported.
-[more]bool setActiveTextureUnit( unsigned int unit ) +[more]bool setActiveTextureUnit( unsigned int unit )
set the current texture unit, return true if selected, false if selection failed such as when multitexturing is not supported.
-[more]void setVertexAttribPointer( unsigned int index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr ) +[more]void setVertexAttribPointer( unsigned int index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr )
wrapper around glEnableVertexAttribArrayARB(index);glVertexAttribPointerARB(); note, only updates values that change
-[more]void disableVertexAttribPointer( unsigned int index ) +[more]void disableVertexAttribPointer( unsigned int index )
wrapper around DisableVertexAttribArrayARB(index); note, only updates values that change
-[more]void disableVertexAttribPointersAboveAndIncluding( unsigned int index ) +[more]void disableVertexAttribPointersAboveAndIncluding( unsigned int index )
-[more]inline void dirtyVertexAttribPointersAboveAndIncluding( unsigned int index ) +[more]inline void dirtyVertexAttribPointersAboveAndIncluding( unsigned int index )
-[more]bool isVertexBufferObjectSupported() const +[more]bool isVertexBufferObjectSupported() const
-[more]inline void setContextID(unsigned int contextID) +[more]inline void setContextID(unsigned int contextID)
Set the current OpenGL context uniqueID.
-[more]inline unsigned int getContextID() const +[more]inline unsigned int getContextID() const
Get the current OpenGL context unique ID
-[more]inline void setFrameStamp(FrameStamp* fs) +[more]inline void setFrameStamp(FrameStamp* fs)
Set the frame stamp for the current frame
-[more]inline const FrameStamp* getFrameStamp() const +[more]inline const FrameStamp* getFrameStamp() const
Set the frame stamp for the current frame
-[more]inline void setDisplaySettings(DisplaySettings* vs) +[more]inline void setDisplaySettings(DisplaySettings* vs)
Set the DisplaySettings.
-[more]inline const DisplaySettings* getDisplaySettings() const +[more]inline const DisplaySettings* getDisplaySettings() const
Get the DisplaySettings
-[more]void setAbortRenderingPtr(bool* abortPtr) +[more]void setAbortRenderingPtr(bool* abortPtr)
Set flag for early termination of the draw traversal
-[more]bool getAbortRendering() const +[more]bool getAbortRendering() const
Get flag for early termination of the draw traversal, if true steps should be taken to complete rendering early
-[more]void setReportGLErrors(bool flag) +[more]void setReportGLErrors(bool flag)
-[more]bool getReportGLErrors() const +[more]bool getReportGLErrors() const
-[more]bool checkGLErrors(const char* str) const +[more]bool checkGLErrors(const char* str) const
-[more]bool checkGLErrors(StateAttribute::GLMode mode) const +[more]bool checkGLErrors(StateAttribute::GLMode mode) const
-[more]bool checkGLErrors(const StateAttribute* attribute) const +[more]bool checkGLErrors(const StateAttribute* attribute) const
-[more]inline void pushModeList(ModeMap& modeMap, const StateSet::ModeList& modeList) +[more]inline void pushModeList(ModeMap& modeMap, const StateSet::ModeList& modeList)
-[more]inline void pushAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList) +[more]inline void pushAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList)
-[more]inline void popModeList(ModeMap& modeMap, const StateSet::ModeList& modeList) +[more]inline void popModeList(ModeMap& modeMap, const StateSet::ModeList& modeList)
-[more]inline void popAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList) +[more]inline void popAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList)
-[more]inline void applyModeList(ModeMap& modeMap, const StateSet::ModeList& modeList) +[more]inline void applyModeList(ModeMap& modeMap, const StateSet::ModeList& modeList)
-[more]inline void applyAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList) +[more]inline void applyAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList)
-[more]inline void applyModeMap(ModeMap& modeMap) +[more]inline void applyModeMap(ModeMap& modeMap)
-[more]inline void applyAttributeMap(AttributeMap& attributeMap) +[more]inline void applyAttributeMap(AttributeMap& attributeMap)

Public Members

-[more]typedef std::pair<const StateAttribute*,StateAttribute::OverrideValue> AttributePair +[more]typedef std::pair<const StateAttribute*,StateAttribute::OverrideValue> AttributePair
-[more]typedef std::vector<AttributePair> AttributeVec +[more]typedef std::vector<AttributePair> AttributeVec
-[more]typedef std::vector<StateAttribute::GLModeValue> ValueVec +[more]typedef std::vector<StateAttribute::GLModeValue> ValueVec

Protected Fields

-[more]unsigned int _contextID +[more]unsigned int _contextID
-[more]ref_ptr<FrameStamp> _frameStamp +[more]ref_ptr<FrameStamp> _frameStamp
-[more]ref_ptr<const RefMatrix> _identity +[more]ref_ptr<const RefMatrix> _identity
-[more]ref_ptr<const RefMatrix> _initialViewMatrix +[more]ref_ptr<const RefMatrix> _initialViewMatrix
-[more]ref_ptr<const RefMatrix> _projection +[more]ref_ptr<const RefMatrix> _projection
-[more]ref_ptr<const RefMatrix> _modelView +[more]ref_ptr<const RefMatrix> _modelView
-[more]Matrix _initialInverseViewMatrix +[more]Matrix _initialInverseViewMatrix
-[more]ref_ptr<DisplaySettings> _displaySettings +[more]ref_ptr<DisplaySettings> _displaySettings
-[more]bool* _abortRenderingPtr +[more]bool* _abortRenderingPtr
-[more]bool _reportGLErrors +[more]bool _reportGLErrors
-[more]ModeMap _modeMap +[more]ModeMap _modeMap
-[more]AttributeMap _attributeMap +[more]AttributeMap _attributeMap
-[more]TextureModeMapList _textureModeMapList +[more]TextureModeMapList _textureModeMapList
-[more]TextureAttributeMapList _textureAttributeMapList +[more]TextureAttributeMapList _textureAttributeMapList
-[more]StateSetStack _drawStateStack +[more]StateSetStack _drawStateStack
-[more]EnabledArrayPair _vertexArray +[more]EnabledArrayPair _vertexArray
-[more]EnabledArrayPair _normalArray +[more]EnabledArrayPair _normalArray
-[more]EnabledArrayPair _colorArray +[more]EnabledArrayPair _colorArray
-[more]EnabledArrayPair _secondaryColorArray +[more]EnabledArrayPair _secondaryColorArray
-[more]EnabledArrayPair _indexArray +[more]EnabledArrayPair _indexArray
-[more]EnabledArrayPair _fogArray +[more]EnabledArrayPair _fogArray
-[more]EnabledTexCoordArrayList _texCoordArrayList +[more]EnabledTexCoordArrayList _texCoordArrayList
-[more]EnabledVertexAttribArrayList _vertexAttribArrayList +[more]EnabledVertexAttribArrayList _vertexAttribArrayList
-[more]unsigned int _currentActiveTextureUnit +[more]unsigned int _currentActiveTextureUnit
-[more]unsigned int _currentClientActiveTextureUnit +[more]unsigned int _currentClientActiveTextureUnit
-[more]mutable bool _isSecondaryColorSupportResolved +[more]mutable bool _isSecondaryColorSupportResolved
-[more]mutable bool _isSecondaryColorSupported +[more]mutable bool _isSecondaryColorSupported
-[more]mutable bool _isFogCoordSupportResolved +[more]mutable bool _isFogCoordSupportResolved
-[more]mutable bool _isFogCoordSupported +[more]mutable bool _isFogCoordSupported
-[more]mutable bool _isVertexBufferObjectSupportResolved +[more]mutable bool _isVertexBufferObjectSupportResolved
-[more]mutable bool _isVertexBufferObjectSupported +[more]mutable bool _isVertexBufferObjectSupported

Protected Methods

-[more]virtual ~State() +[more]virtual ~State()
-[more]inline bool applyMode(StateAttribute::GLMode mode, bool enabled, ModeStack& ms) +[more]inline bool applyMode(StateAttribute::GLMode mode, bool enabled, ModeStack& ms)
apply an OpenGL mode if required, passing in mode, enable flag and appropriate mode stack
-[more]inline bool applyAttribute(const StateAttribute* attribute, AttributeStack& as) +[more]inline bool applyAttribute(const StateAttribute* attribute, AttributeStack& as)
apply an attribute if required, passing in attribute and appropriate attribute stack
-[more]inline bool applyGlobalDefaultAttribute(AttributeStack& as) +[more]inline bool applyGlobalDefaultAttribute(AttributeStack& as)
-[more]inline ModeMap& getOrCreateTextureModeMap(unsigned int unit) +[more]inline ModeMap& getOrCreateTextureModeMap(unsigned int unit)
-[more]inline AttributeMap& getOrCreateTextureAttributeMap(unsigned int unit) +[more]inline AttributeMap& getOrCreateTextureAttributeMap(unsigned int unit)
-[more]void haveAppliedMode(ModeMap& modeMap, StateAttribute::GLMode mode, StateAttribute::GLModeValue value) +[more]void haveAppliedMode(ModeMap& modeMap, StateAttribute::GLMode mode, StateAttribute::GLModeValue value)
-[more]void haveAppliedMode(ModeMap& modeMap, StateAttribute::GLMode mode) +[more]void haveAppliedMode(ModeMap& modeMap, StateAttribute::GLMode mode)
-[more]void haveAppliedAttribute(AttributeMap& attributeMap, const StateAttribute* attribute) +[more]void haveAppliedAttribute(AttributeMap& attributeMap, const StateAttribute* attribute)
-[more]void haveAppliedAttribute(AttributeMap& attributeMap, StateAttribute::Type type) +[more]void haveAppliedAttribute(AttributeMap& attributeMap, StateAttribute::Type type)
-[more]bool getLastAppliedMode(const ModeMap& modeMap, StateAttribute::GLMode mode) const +[more]bool getLastAppliedMode(const ModeMap& modeMap, StateAttribute::GLMode mode) const
-[more]const StateAttribute* getLastAppliedAttribute(const AttributeMap& attributeMap, StateAttribute::Type type) const +[more]const StateAttribute* getLastAppliedAttribute(const AttributeMap& attributeMap, StateAttribute::Type type) const
-[more]bool computeSecondaryColorSupported() const +[more]bool computeSecondaryColorSupported() const
-[more]bool computeFogCoordSupported() const +[more]bool computeFogCoordSupported() const
-[more]bool computeVertexBufferObjectSupported() const +[more]bool computeVertexBufferObjectSupported() const

Protected Members

-[more]struct ModeStack +[more]struct ModeStack
-[more]struct AttributeStack +[more]struct AttributeStack
-[more]typedef std::map<StateAttribute::GLMode,ModeStack> ModeMap +[more]typedef std::map<StateAttribute::GLMode,ModeStack> ModeMap
-[more]typedef std::vector<ModeMap> TextureModeMapList +[more]typedef std::vector<ModeMap> TextureModeMapList
-[more]typedef std::map<StateAttribute::Type,AttributeStack> AttributeMap +[more]typedef std::map<StateAttribute::Type,AttributeStack> AttributeMap
-[more]typedef std::vector<AttributeMap> TextureAttributeMapList +[more]typedef std::vector<AttributeMap> TextureAttributeMapList
-[more]typedef std::vector<const StateSet*> StateSetStack +[more]typedef std::vector<const StateSet*> StateSetStack
-[more]typedef std::vector<ref_ptr<const Matrix> > MatrixStack +[more]typedef std::vector<ref_ptr<const Matrix> > MatrixStack
-[more]struct EnabledArrayPair +[more]struct EnabledArrayPair
-[more]typedef std::vector<EnabledArrayPair> EnabledTexCoordArrayList +[more]typedef std::vector<EnabledArrayPair> EnabledTexCoordArrayList
-[more]typedef std::vector<EnabledArrayPair> EnabledVertexAttribArrayList +[more]typedef std::vector<EnabledArrayPair> EnabledVertexAttribArrayList

@@ -424,111 +424,111 @@ Lazy state updating is used to minimize state changes.
- +
o State()

- +

ovoid pushStateSet(const StateSet* dstate)
push stateset onto state stack

- +

ovoid popStateSet()
pop drawstate off state stack

- +

ovoid captureCurrentState(StateSet& stateset) const
copy the modes and attributes which captures the current state

- +

ovoid reset()
reset the state object to an empty stack

- +

oinline const Viewport* getCurrentViewport() const

- +

ovoid setInitialViewMatrix(const osg::RefMatrix* matrix)

- +

oinline const osg::Matrix& getInitialViewMatrix() const

- +

oinline const osg::Matrix& getInitialInverseViewMatrix() const

- +

oinline void applyProjectionMatrix(const osg::RefMatrix* matrix)

- +

oinline const osg::Matrix& getProjectionMatrix() const

- +

oinline void applyModelViewMatrix(const osg::RefMatrix* matrix)

- +

oconst osg::Matrix& getModelViewMatrix() const

- +

oPolytope getViewFrustum() const

- +

ovoid apply(const StateSet* dstate)
Apply stateset

- +

ovoid apply()
Apply the state

- +

oinline bool applyMode(StateAttribute::GLMode mode, bool enabled)
Apply an OpenGL mode if required.

- +

oinline bool applyTextureMode(unsigned int unit, StateAttribute::GLMode mode, bool enabled)

- +

oinline bool applyAttribute(const StateAttribute* attribute)
Apply an attribute if required.

- +

oinline bool applyTextureAttribute(unsigned int unit, const StateAttribute* attribute)

- +

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

- +

ovoid haveAppliedMode(StateAttribute::GLMode mode)
Mode has been set externally, therefore dirty the associated mode in osg::State so it is applied on next call to osg::State::apply()

- +

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

- +

ovoid haveAppliedAttribute(StateAttribute::Type type)
Attribute has been applied externally, and therefore this attribute type has been dirtied @@ -539,33 +539,33 @@ track the current state more accuratly and enable lazy state updating such that only changed state will be applied.

- +

obool getLastAppliedMode(StateAttribute::GLMode mode) const
Get whether the current specified mode is enabled (true) or disabled (false)

- +

oconst StateAttribute* getLastAppliedAttribute(StateAttribute::Type type) const
Get the current specified attribute, return NULL is one has not yet been applied

- +

ovoid haveAppliedTextureMode(unsigned int unit, StateAttribute::GLMode mode, StateAttribute::GLModeValue value)
texture Mode has been set externally, update state to reflect this setting

- +

ovoid haveAppliedTextureMode(unsigned int unit, StateAttribute::GLMode mode)
texture Mode has been set externally, therefore dirty the associated mode in osg::State so it is applied on next call to osg::State::apply()

- +

ovoid haveAppliedTextureAttribute(unsigned int unit, const StateAttribute* attribute)
texture Attribute has been applied externally, update state to reflect this setting

- +

ovoid haveAppliedTextureAttribute(unsigned int unit, StateAttribute::Type type)
texture Attribute has been applied externally, and therefore this attribute type has been dirtied @@ -576,208 +576,208 @@ track the current state more accuratly and enable lazy state updating such that only changed state will be applied.

- +

obool getLastAppliedTextureMode(unsigned int unit, StateAttribute::GLMode mode) const
Get whether the current specified texture mode is enabled (true) or disabled (false)

- +

oconst StateAttribute* getLastAppliedTextureAttribute(unsigned int unit, StateAttribute::Type type) const
Get the current specified texture attribute, return NULL is one has not yet been applied

- +

ovoid dirtyAllModes()
Dirty the modes previously applied in osg::State

- +

ovoid dirtyAllAttributes()
Dirty the modes attributes previously applied in osg::State

- +

ovoid disableAllVertexArrays()
disable the vertex, normal, color, tex coords, secenday color, fog coord and index arrays

- +

ovoid dirtyAllVertexArrays()
dirty the vertex, normal, color, tex coords, secenday color, fog coord and index arrays

- +

ovoid setInterleavedArrays( GLenum format, GLsizei stride, const GLvoid* pointer)
Wrapper around glInterleavedArrays(). also resets the internal array points and modes within osg::State to keep the other vertex array operations consistent.

- -

oinline void setVertexPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr ) + +
oinline void setVertexPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr )
wrapper around glEnableClientState(GL_VERTEX_ARRAY);glVertexPointer(); note, only updates values that change

- +

oinline void disableVertexPointer()
wrapper glDisableClientState(GL_VERTEX_ARRAY). note, only updates values that change.

- +

oinline void dirtyVertexPointer()

- -

oinline void setNormalPointer( GLenum type, GLsizei stride, const GLvoid* ptr ) + +
oinline void setNormalPointer( GLenum type, GLsizei stride, const GLvoid* ptr )
wrapper around glEnableClientState(GL_NORMAL_ARRAY);glNormalPointer(); note, only updates values that change

- +

oinline void disableNormalPointer()
wrapper around glDisableClientState(GL_NORMAL_ARRAY); note, only updates values that change

- +

oinline void dirtyNormalPointer()

- -

oinline void setColorPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr ) + +
oinline void setColorPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr )
wrapper around glEnableClientState(GL_COLOR_ARRAY);glColorPointer(); note, only updates values that change

- +

oinline void disableColorPointer()
wrapper around glDisableClientState(GL_COLOR_ARRAY); note, only updates values that change

- +

oinline void dirtyColorPointer()

- +

oinline bool isSecondaryColorSupported() const

- -

ovoid setSecondaryColorPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr ) + +
ovoid setSecondaryColorPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* ptr )
wrapper around glEnableClientState(GL_SECONDARY_COLOR_ARRAY);glSecondayColorPointer(); note, only updates values that change

- +

oinline void disableSecondaryColorPointer()
wrapper around glDisableClientState(GL_SECONDARY_COLOR_ARRAY); note, only updates values that change

- +

oinline void dirtySecondaryColorPointer()

- -

oinline void setIndexPointer( GLenum type, GLsizei stride, const GLvoid* ptr ) + +
oinline void setIndexPointer( GLenum type, GLsizei stride, const GLvoid* ptr )
wrapper around glEnableClientState(GL_INDEX_ARRAY);glIndexPointer(); note, only updates values that change

- +

oinline void disableIndexPointer()
wrapper around glDisableClientState(GL_INDEX_ARRAY); note, only updates values that change

- +

oinline void dirtyIndexPointer()

- +

oinline bool isFogCoordSupported() const

- -

ovoid setFogCoordPointer( GLenum type, GLsizei stride, const GLvoid* ptr ) + +
ovoid setFogCoordPointer( GLenum type, GLsizei stride, const GLvoid* ptr )
wrapper around glEnableClientState(GL_FOG_COORDINATE_ARRAY);glFogCoordPointer(); note, only updates values that change

- +

oinline void disableFogCoordPointer()
wrapper around glDisableClientState(GL_FOG_COORDINATE_ARRAY); note, only updates values that change

- +

oinline void dirtyFogCoordPointer()

- -

oinline void setTexCoordPointer( unsigned int unit, GLint size, GLenum type, GLsizei stride, const GLvoid* ptr ) + +
oinline void setTexCoordPointer( unsigned int unit, GLint size, GLenum type, GLsizei stride, const GLvoid* ptr )
wrapper around glEnableClientState(GL_TEXTURE_COORD_ARRAY);glTexCoordPointer(); note, only updates values that change

- +

oinline void disableTexCoordPointer( unsigned int unit )
wrapper around glDisableClientState(GL_TEXTURE_COORD_ARRAY); note, only updates values that change

- +

oinline void dirtyTexCoordPointer( unsigned int unit )

- +

oinline void disableTexCoordPointersAboveAndIncluding( unsigned int unit )

- +

oinline void dirtyTexCoordPointersAboveAndIncluding( unsigned int unit )

- +

obool setClientActiveTextureUnit( unsigned int unit )
set the current tex coord array texture unit, return true if selected, false if selection failed such as when multitexturing is not supported. note, only updates values that change.

- +

obool setActiveTextureUnit( unsigned int unit )
set the current texture unit, return true if selected, false if selection failed such as when multitexturing is not supported. note, only updates values that change.

- -

ovoid setVertexAttribPointer( unsigned int index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr ) + +
ovoid setVertexAttribPointer( unsigned int index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr )
wrapper around glEnableVertexAttribArrayARB(index);glVertexAttribPointerARB(); note, only updates values that change

- +

ovoid disableVertexAttribPointer( unsigned int index )
wrapper around DisableVertexAttribArrayARB(index); note, only updates values that change

- +

ovoid disableVertexAttribPointersAboveAndIncluding( unsigned int index )

- +

oinline void dirtyVertexAttribPointersAboveAndIncluding( unsigned int index )

- +

obool isVertexBufferObjectSupported() const

- +

oinline void setContextID(unsigned int contextID)
Set the current OpenGL context uniqueID. Note, it is the application developers responsibility to @@ -791,411 +791,411 @@ number of graphics contexts you have setup. By default contextID is 0.

- +

oinline unsigned int getContextID() const
Get the current OpenGL context unique ID

- +

oinline void setFrameStamp(FrameStamp* fs)
Set the frame stamp for the current frame

- +

oinline const FrameStamp* getFrameStamp() const
Set the frame stamp for the current frame

- +

oinline void setDisplaySettings(DisplaySettings* vs)
Set the DisplaySettings. Note, nothing is applied, the visual settings are just used used in the State object to pass the current visual settings to Drawables during rendering.

- +

oinline const DisplaySettings* getDisplaySettings() const
Get the DisplaySettings

- +

otypedef std::pair<const StateAttribute*,StateAttribute::OverrideValue> AttributePair

- -

otypedef std::vector<AttributePair> AttributeVec + +
otypedef std::vector<AttributePair> AttributeVec

- +

otypedef std::vector<StateAttribute::GLModeValue> ValueVec

- +

ovoid setAbortRenderingPtr(bool* abortPtr)
Set flag for early termination of the draw traversal

- +

obool getAbortRendering() const
Get flag for early termination of the draw traversal, if true steps should be taken to complete rendering early

- +

ovoid setReportGLErrors(bool flag)

- +

obool getReportGLErrors() const

- +

obool checkGLErrors(const char* str) const

- +

obool checkGLErrors(StateAttribute::GLMode mode) const

- +

obool checkGLErrors(const StateAttribute* attribute) const

- +

ovirtual ~State()

- +

ounsigned int _contextID

- +

oref_ptr<FrameStamp> _frameStamp

- +

oref_ptr<const RefMatrix> _identity

- +

oref_ptr<const RefMatrix> _initialViewMatrix

- +

oref_ptr<const RefMatrix> _projection

- +

oref_ptr<const RefMatrix> _modelView

- +

oMatrix _initialInverseViewMatrix

- +

oref_ptr<DisplaySettings> _displaySettings

- +

obool* _abortRenderingPtr

- +

obool _reportGLErrors

- +

ostruct ModeStack

- +
o ModeStack()

- +

obool changed

- +

obool last_applied_value

- +

obool global_default_value

- -

oValueVec valueVec + +
oValueVec valueVec

- +
ostruct AttributeStack

- +
o AttributeStack()

- +

obool changed
apply an attribute if required, passing in attribute and appropriate attribute stack

- +

oconst StateAttribute* last_applied_attribute

- +

oref_ptr<StateAttribute> global_default_attribute

- -

oAttributeVec attributeVec + +
oAttributeVec attributeVec

- -
oinline bool applyMode(StateAttribute::GLMode mode, bool enabled, ModeStack& ms) + +
oinline bool applyMode(StateAttribute::GLMode mode, bool enabled, ModeStack& ms)
apply an OpenGL mode if required, passing in mode, enable flag and appropriate mode stack

- -

oinline bool applyAttribute(const StateAttribute* attribute, AttributeStack& as) + +
oinline bool applyAttribute(const StateAttribute* attribute, AttributeStack& as)
apply an attribute if required, passing in attribute and appropriate attribute stack

- -

oinline bool applyGlobalDefaultAttribute(AttributeStack& as) + +
oinline bool applyGlobalDefaultAttribute(AttributeStack& as)

- -

otypedef std::map<StateAttribute::GLMode,ModeStack> ModeMap + +
otypedef std::map<StateAttribute::GLMode,ModeStack> ModeMap

- -

otypedef std::vector<ModeMap> TextureModeMapList + +
otypedef std::vector<ModeMap> TextureModeMapList

- -

otypedef std::map<StateAttribute::Type,AttributeStack> AttributeMap + +
otypedef std::map<StateAttribute::Type,AttributeStack> AttributeMap

- -

otypedef std::vector<AttributeMap> TextureAttributeMapList + +
otypedef std::vector<AttributeMap> TextureAttributeMapList

- +

otypedef std::vector<const StateSet*> StateSetStack

- +

otypedef std::vector<ref_ptr<const Matrix> > MatrixStack

- -

oModeMap _modeMap + +
oModeMap _modeMap

- -

oAttributeMap _attributeMap + +
oAttributeMap _attributeMap

- -

oTextureModeMapList _textureModeMapList + +
oTextureModeMapList _textureModeMapList

- -

oTextureAttributeMapList _textureAttributeMapList + +
oTextureAttributeMapList _textureAttributeMapList

- -

oStateSetStack _drawStateStack + +
oStateSetStack _drawStateStack

- +

ostruct EnabledArrayPair

- +
o EnabledArrayPair()

- -

o EnabledArrayPair(const EnabledArrayPair& eap) + +
o EnabledArrayPair(const EnabledArrayPair& eap)

- -

oEnabledArrayPair& operator = (const EnabledArrayPair& eap) + +
oEnabledArrayPair& operator = (const EnabledArrayPair& eap)

- +

obool _dirty

- +

obool _enabled

- +

oGLboolean _normalized

- +

oconst GLvoid* _pointer

- -
otypedef std::vector<EnabledArrayPair> EnabledTexCoordArrayList + +
otypedef std::vector<EnabledArrayPair> EnabledTexCoordArrayList

- -

otypedef std::vector<EnabledArrayPair> EnabledVertexAttribArrayList + +
otypedef std::vector<EnabledArrayPair> EnabledVertexAttribArrayList

- -

oEnabledArrayPair _vertexArray + +
oEnabledArrayPair _vertexArray

- -

oEnabledArrayPair _normalArray + +
oEnabledArrayPair _normalArray

- -

oEnabledArrayPair _colorArray + +
oEnabledArrayPair _colorArray

- -

oEnabledArrayPair _secondaryColorArray + +
oEnabledArrayPair _secondaryColorArray

- -

oEnabledArrayPair _indexArray + +
oEnabledArrayPair _indexArray

- -

oEnabledArrayPair _fogArray + +
oEnabledArrayPair _fogArray

- -

oEnabledTexCoordArrayList _texCoordArrayList + +
oEnabledTexCoordArrayList _texCoordArrayList

- -

oEnabledVertexAttribArrayList _vertexAttribArrayList + +
oEnabledVertexAttribArrayList _vertexAttribArrayList

- +

ounsigned int _currentActiveTextureUnit

- +

ounsigned int _currentClientActiveTextureUnit

- -

oinline ModeMap& getOrCreateTextureModeMap(unsigned int unit) + +
oinline ModeMap& getOrCreateTextureModeMap(unsigned int unit)

- -

oinline AttributeMap& getOrCreateTextureAttributeMap(unsigned int unit) + +
oinline AttributeMap& getOrCreateTextureAttributeMap(unsigned int unit)

- -

ovoid haveAppliedMode(ModeMap& modeMap, StateAttribute::GLMode mode, StateAttribute::GLModeValue value) + +
ovoid haveAppliedMode(ModeMap& modeMap, StateAttribute::GLMode mode, StateAttribute::GLModeValue value)

- -

ovoid haveAppliedMode(ModeMap& modeMap, StateAttribute::GLMode mode) + +
ovoid haveAppliedMode(ModeMap& modeMap, StateAttribute::GLMode mode)

- -

ovoid haveAppliedAttribute(AttributeMap& attributeMap, const StateAttribute* attribute) + +
ovoid haveAppliedAttribute(AttributeMap& attributeMap, const StateAttribute* attribute)

- -

ovoid haveAppliedAttribute(AttributeMap& attributeMap, StateAttribute::Type type) + +
ovoid haveAppliedAttribute(AttributeMap& attributeMap, StateAttribute::Type type)

- -

obool getLastAppliedMode(const ModeMap& modeMap, StateAttribute::GLMode mode) const + +
obool getLastAppliedMode(const ModeMap& modeMap, StateAttribute::GLMode mode) const

- -

oconst StateAttribute* getLastAppliedAttribute(const AttributeMap& attributeMap, StateAttribute::Type type) const + +
oconst StateAttribute* getLastAppliedAttribute(const AttributeMap& attributeMap, StateAttribute::Type type) const

- +

omutable bool _isSecondaryColorSupportResolved

- +

omutable bool _isSecondaryColorSupported

- +

obool computeSecondaryColorSupported() const

- +

omutable bool _isFogCoordSupportResolved

- +

omutable bool _isFogCoordSupported

- +

obool computeFogCoordSupported() const

- +

omutable bool _isVertexBufferObjectSupportResolved

- +

omutable bool _isVertexBufferObjectSupported

- +

obool computeVertexBufferObjectSupported() const

- -

oinline void pushModeList(ModeMap& modeMap, const StateSet::ModeList& modeList) + +
oinline void pushModeList(ModeMap& modeMap, const StateSet::ModeList& modeList)

- -

oinline void pushAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList) + +
oinline void pushAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList)

- -

oinline void popModeList(ModeMap& modeMap, const StateSet::ModeList& modeList) + +
oinline void popModeList(ModeMap& modeMap, const StateSet::ModeList& modeList)

- -

oinline void popAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList) + +
oinline void popAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList)

- -

oinline void applyModeList(ModeMap& modeMap, const StateSet::ModeList& modeList) + +
oinline void applyModeList(ModeMap& modeMap, const StateSet::ModeList& modeList)

- -

oinline void applyAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList) + +
oinline void applyAttributeList(AttributeMap& attributeMap, const StateSet::AttributeList& attributeList)

- -

oinline void applyModeMap(ModeMap& modeMap) + +
oinline void applyModeMap(ModeMap& modeMap)

- -

oinline void applyAttributeMap(AttributeMap& attributeMap) + +
oinline void applyAttributeMap(AttributeMap& attributeMap)


This class has no child classes.
diff --git a/doc/doc++/osg/StateAttribute.html b/doc/doc++/osg/StateAttribute.html index 747ed9a34..7d127ab02 100644 --- a/doc/doc++/osg/StateAttribute.html +++ b/doc/doc++/osg/StateAttribute.html @@ -23,74 +23,74 @@

Public Methods

-[more] StateAttribute() +[more] StateAttribute()
-[more] StateAttribute(const StateAttribute& sa, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] StateAttribute(const StateAttribute& sa, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more]virtual Object* cloneType() const = 0 +[more]virtual Object* cloneType() const = 0
Clone the type of an attribute, with Object* return type.
-[more]virtual Object* clone(const CopyOp&) const = 0 +[more]virtual Object* clone(const CopyOp&) const = 0
Clone an attribute, with Object* return type.
-[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
return true if this and obj are of the same kind of object
-[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
return the name of the attribute's library
-[more]virtual const char* className() const +[more]virtual const char* className() const
return the name of the attribute's class type
-[more]virtual Type getType() const = 0 +[more]virtual Type getType() const = 0
return the Type identifier of the attribute's class type
-[more]virtual bool isTextureAttribute() const +[more]virtual bool isTextureAttribute() const
return true if StateAttribute is a type which controls texturing and needs to be issued wrt to specific texture unit
-[more]virtual int compare(const StateAttribute& sa) const = 0 +[more]virtual int compare(const StateAttribute& sa) const = 0
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]bool operator < (const StateAttribute& rhs) const +[more]bool operator < (const StateAttribute& rhs) const
-[more]bool operator == (const StateAttribute& rhs) const +[more]bool operator == (const StateAttribute& rhs) const
-[more]bool operator != (const StateAttribute& rhs) const +[more]bool operator != (const StateAttribute& rhs) const
-[more]virtual void getAssociatedModes(std::vector<GLMode>& ) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& ) const
return the modes associated with this StateSet
-[more]virtual void apply(State&) const = 0 +[more]virtual void apply(State&) const = 0
apply the OpenGL state attributes.
-[more]virtual void compile(State&) const +[more]virtual void compile(State&) const
default to nothing to compile - all state is applied immediately.

Public Members

-[more]typedef GLenum GLMode +[more]typedef GLenum GLMode
GLMode is the value used in glEnable/glDisable(mode)
-[more]typedef unsigned int GLModeValue +[more]typedef unsigned int GLModeValue
GLModeValue is used to specified whether an mode is enabled (ON) or disabled (OFF).
-[more]typedef unsigned int OverrideValue +[more]typedef unsigned int OverrideValue
Override is used to specified the override behavior of StateAttributes from from parent to children.
-[more]enum Values +[more]enum Values
list values which can be used in to set either GLModeValues or OverrideValues.
-[more]typedef unsigned int Type +[more]typedef unsigned int Type
Type identifier to differentiate between different state types.
-[more]enum Types +[more]enum Types
Values of StateAttribute::Type used to aid identification of different StateAttribute subclasses.

Protected Methods

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

@@ -98,9 +98,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -155,26 +155,26 @@
- +
otypedef GLenum GLMode
GLMode is the value used in glEnable/glDisable(mode)

- +

otypedef unsigned int GLModeValue
GLModeValue is used to specified whether an mode is enabled (ON) or disabled (OFF). GLMoveValue is also used to specify the override behavior of modes from parent to children. See enum Value description for more details.

- +

otypedef unsigned int OverrideValue
Override is used to specified the override behavior of StateAttributes from from parent to children. See enum Value description for more details.

- +

oenum Values
list values which can be used in to set either GLModeValues or OverrideValues. When using in conjunction with GLModeValues @@ -186,38 +186,38 @@ StateSet::setAttributeAndModes(..).

- +
o OFF
means that associated GLMode and Override is disabled

- +

o ON
means that associated GLMode is enabled and Override is disabled

- +

o OVERRIDE
Overriding of GLMode's or StateAttributes is enabled, so that state below it is overriden

- +

o PROTECTED
Protecting of GLMode's os StateAttributes is enabled, so that state from above connot override this and below state

- +

o INHERIT
means that GLMode or StateAttribute should in inherited from above

- +
otypedef unsigned int Type
Type identifier to differentiate between different state types.

- +

oenum Types
Values of StateAttribute::Type used to aid identification of different StateAttribute subclasses. Each subclass defines @@ -230,251 +230,251 @@ that types value.

- +
o TEXTURE

- +

o POLYGONMODE

- +

o POLYGONOFFSET

- +

o MATERIAL

- +

o ALPHAFUNC

- +

o ANTIALIAS

- +

o COLORTABLE

- +

o CULLFACE

- +

o FOG

- +

o FRONTFACE

- +

o LIGHT

- +

o LIGHT_0

- +

o LIGHT_1

- +

o LIGHT_2

- +

o LIGHT_3

- +

o LIGHT_4

- +

o LIGHT_5

- +

o LIGHT_6

- +

o LIGHT_7

- +

o POINT

- +

o LINEWIDTH

- +

o LINESTIPPLE

- +

o POLYGONSTIPPLE

- +

o SHADEMODEL

- +

o TEXENV

- +

o TEXGEN

- +

o TEXMAT

- +

o LIGHTMODEL

- +

o BLENDFUNC

- +

o STENCIL

- +

o COLORMASK

- +

o DEPTH

- +

o VIEWPORT

- +

o CLIPPLANE

- +

o CLIPPLANE_0

- +

o CLIPPLANE_1

- +

o CLIPPLANE_2

- +

o CLIPPLANE_3

- +

o CLIPPLANE_4

- +

o CLIPPLANE_5

- +

o COLORMATRIX

- +

o VERTEXPROGRAM

- +

o FRAGMENTPROGRAM

- +

o PROGRAMOBJECT

- +
o StateAttribute()

- -

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

- +

ovirtual Object* cloneType() const = 0
Clone the type of an attribute, with Object* return type. Must be defined by derived classes.

- +

ovirtual Object* clone(const CopyOp&) const = 0
Clone an attribute, with Object* return type. Must be defined by derived classes.

- +

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

- +

ovirtual const char* libraryName() const
return the name of the attribute's library

- +

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

- -

ovirtual Type getType() const = 0 + +
ovirtual Type getType() const = 0
return the Type identifier of the attribute's class type

- +

ovirtual bool isTextureAttribute() const
return true if StateAttribute is a type which controls texturing and needs to be issued wrt to specific texture unit

- +

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

- +

obool operator < (const StateAttribute& rhs) const

- +

obool operator == (const StateAttribute& rhs) const

- +

obool operator != (const StateAttribute& rhs) const

- -

ovirtual void getAssociatedModes(std::vector<GLMode>& ) const + +
ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
return the modes associated with this StateSet

- +

ovirtual void apply(State&) const = 0
apply the OpenGL state attributes. The global state for the current OpenGL context is passed @@ -482,12 +482,12 @@ in to allow the StateAttribute to obtain details on the the current context and state.

- +

ovirtual void compile(State&) const
default to nothing to compile - all state is applied immediately.

- +

ovirtual ~StateAttribute()


diff --git a/doc/doc++/osg/StateSet.html b/doc/doc++/osg/StateSet.html index d0136214a..78918742a 100644 --- a/doc/doc++/osg/StateSet.html +++ b/doc/doc++/osg/StateSet.html @@ -23,218 +23,218 @@

Public Methods

-[more] StateSet() +[more] StateSet()
-[more] StateSet(const StateSet&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] StateSet(const StateSet&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more]virtual Object* cloneType() const +[more]virtual Object* cloneType() const
-[more]virtual Object* clone(const CopyOp& copyop) const +[more]virtual Object* clone(const CopyOp& copyop) const
-[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
-[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
-[more]virtual const char* className() const +[more]virtual const char* className() const
-[more]int compare(const StateSet& rhs, bool compareAttributeContents=false) const +[more]int compare(const StateSet& rhs, bool compareAttributeContents=false) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]bool operator < (const StateSet& rhs) const +[more]bool operator < (const StateSet& rhs) const
-[more]bool operator == (const StateSet& rhs) const +[more]bool operator == (const StateSet& rhs) const
-[more]bool operator != (const StateSet& rhs) const +[more]bool operator != (const StateSet& rhs) const
-[more]void setGlobalDefaults() +[more]void setGlobalDefaults()
set all the modes to on or off so that it defines a complete state, typically used for a default global state
-[more]void setAllToInherit() +[more]void setAllToInherit()
set all the modes to inherit, typically used to signify nodes which inherit all of their modes for the global state
-[more]void merge(const StateSet& rhs) +[more]void merge(const StateSet& rhs)
merge this stateset with stateset rhs, this overrides the rhs if OVERRIDE is specified, otherwise rhs takes precedence
-[more]void setMode(StateAttribute::GLMode mode, StateAttribute::GLModeValue value) +[more]void setMode(StateAttribute::GLMode mode, StateAttribute::GLModeValue value)
set this StateSet to contain specified GLMode and value
-[more]void setModeToInherit(StateAttribute::GLMode mode) +[more]void setModeToInherit(StateAttribute::GLMode mode)
set this StateSet to inherit specified GLMode type from parents.
-[more]StateAttribute::GLModeValue getMode(StateAttribute::GLMode mode) const +[more]StateAttribute::GLModeValue getMode(StateAttribute::GLMode mode) const
get specified GLModeValue for specified GLMode.
-[more]inline ModeList& getModeList() +[more]inline ModeList& getModeList()
return the list of all GLModes contained in this StateSet
-[more]inline const ModeList& getModeList() const +[more]inline const ModeList& getModeList() const
return the const list of all GLModes contained in this const StateSet
-[more]void setAttribute(StateAttribute* attribute, StateAttribute::OverrideValue value=StateAttribute::OFF) +[more]void setAttribute(StateAttribute* attribute, StateAttribute::OverrideValue value=StateAttribute::OFF)
set this StateSet to contain specified attribute and override flag
-[more]void setAttributeAndModes(StateAttribute* attribute, StateAttribute::GLModeValue value=StateAttribute::ON) +[more]void setAttributeAndModes(StateAttribute* attribute, StateAttribute::GLModeValue value=StateAttribute::ON)
set this StateSet to contain specified attribute and set the associated GLMode's to specified value
-[more]void setAttributeToInherit(StateAttribute::Type type) +[more]void setAttributeToInherit(StateAttribute::Type type)
set this StateSet to inherit specified attribute type from parents.
-[more]StateAttribute* getAttribute(StateAttribute::Type type) +[more]StateAttribute* getAttribute(StateAttribute::Type type)
get specified StateAttribute for specified type.
-[more]const StateAttribute* getAttribute(StateAttribute::Type type) const +[more]const StateAttribute* getAttribute(StateAttribute::Type type) const
get specified const StateAttribute for specified type.
-[more]const RefAttributePair* getAttributePair(StateAttribute::Type type) const +[more]const RefAttributePair* getAttributePair(StateAttribute::Type type) const
get specified RefAttributePair for specified type.
-[more]inline AttributeList& getAttributeList() +[more]inline AttributeList& getAttributeList()
return the list of all StateAttributes contained in this StateSet
-[more]inline const AttributeList& getAttributeList() const +[more]inline const AttributeList& getAttributeList() const
return the const list of all StateAttributes contained in this const StateSet
-[more]void setTextureMode(unsigned int unit, StateAttribute::GLMode mode, StateAttribute::GLModeValue value) +[more]void setTextureMode(unsigned int unit, StateAttribute::GLMode mode, StateAttribute::GLModeValue value)
set this StateSet to contain specified GLMode and value
-[more]void setTextureModeToInherit(unsigned int unit, StateAttribute::GLMode mode) +[more]void setTextureModeToInherit(unsigned int unit, StateAttribute::GLMode mode)
set this StateSet to inherit specified GLMode type from parents.
-[more]StateAttribute::GLModeValue getTextureMode(unsigned int unit, StateAttribute::GLMode mode) const +[more]StateAttribute::GLModeValue getTextureMode(unsigned int unit, StateAttribute::GLMode mode) const
get specified GLModeValue for specified GLMode.
-[more]inline TextureModeList& getTextureModeList() +[more]inline TextureModeList& getTextureModeList()
return the list of all Texture related GLModes contained in this StateSet
-[more]inline const TextureModeList& getTextureModeList() const +[more]inline const TextureModeList& getTextureModeList() const
return the const list of all Texture related GLModes contained in this const StateSet
-[more]void setTextureAttribute(unsigned int unit, StateAttribute* attribute, StateAttribute::OverrideValue value=StateAttribute::OFF) +[more]void setTextureAttribute(unsigned int unit, StateAttribute* attribute, StateAttribute::OverrideValue value=StateAttribute::OFF)
set this StateSet to contain specified attribute and override flag
-[more]void setTextureAttributeAndModes(unsigned int unit, StateAttribute* attribute, StateAttribute::GLModeValue value=StateAttribute::ON) +[more]void setTextureAttributeAndModes(unsigned int unit, StateAttribute* attribute, StateAttribute::GLModeValue value=StateAttribute::ON)
set this StateSet to contain specified attribute and set the associated GLMode's to specified value
-[more]void setTextureAttributeToInherit(unsigned int unit, StateAttribute::Type type) +[more]void setTextureAttributeToInherit(unsigned int unit, StateAttribute::Type type)
set this StateSet to inherit specified attribute type from parents.
-[more]StateAttribute* getTextureAttribute(unsigned int unit, StateAttribute::Type type) +[more]StateAttribute* getTextureAttribute(unsigned int unit, StateAttribute::Type type)
get specified Texture related StateAttribute for specified type.
-[more]const StateAttribute* getTextureAttribute(unsigned int unit, StateAttribute::Type type) const +[more]const StateAttribute* getTextureAttribute(unsigned int unit, StateAttribute::Type type) const
get specified Texture related const StateAttribute for specified type.
-[more]const RefAttributePair* getTextureAttributePair(unsigned int unit, StateAttribute::Type type) const +[more]const RefAttributePair* getTextureAttributePair(unsigned int unit, StateAttribute::Type type) const
get specified Texture related RefAttributePair for specified type.
-[more]inline TextureAttributeList& getTextureAttributeList() +[more]inline TextureAttributeList& getTextureAttributeList()
return the list of all Texture related StateAttributes contained in this StateSet
-[more]inline const TextureAttributeList& getTextureAttributeList() const +[more]inline const TextureAttributeList& getTextureAttributeList() const
return the const list of all Texture related StateAttributes contained in this const StateSet
-[more]void setAssociatedModes(const StateAttribute* attribute, StateAttribute::GLModeValue value) +[more]void setAssociatedModes(const StateAttribute* attribute, StateAttribute::GLModeValue value)
-[more]void setAssociatedTextureModes(unsigned int unit, const StateAttribute* attribute, StateAttribute::GLModeValue value) +[more]void setAssociatedTextureModes(unsigned int unit, const StateAttribute* attribute, StateAttribute::GLModeValue value)
-[more]void setRenderingHint(int hint) +[more]void setRenderingHint(int hint)
set the RenderingHint of the StateSet.
-[more]inline int getRenderingHint() const +[more]inline int getRenderingHint() const
get the RenderingHint of the StateSet
-[more]void setRenderBinDetails(int binNum, const std::string& binName, RenderBinMode mode=USE_RENDERBIN_DETAILS) +[more]void setRenderBinDetails(int binNum, const std::string& binName, RenderBinMode mode=USE_RENDERBIN_DETAILS)
set the render bin details
-[more]void setRenderBinToInherit() +[more]void setRenderBinToInherit()
set the render bin details to inherit
-[more]inline RenderBinMode getRenderBinMode() const +[more]inline RenderBinMode getRenderBinMode() const
get the render bin mode
-[more]inline bool useRenderBinDetails() const +[more]inline bool useRenderBinDetails() const
get whether the render bin details are set and should be used
-[more]inline int getBinNumber() const +[more]inline int getBinNumber() const
get the render bin number
-[more]inline const std::string& getBinName() const +[more]inline const std::string& getBinName() const
get the render bin name
-[more]void compile(State& state) const +[more]void compile(State& state) const
call compile on all StateAttributes contained within this StateSet

Public Members

-[more]typedef std::map<StateAttribute::GLMode,StateAttribute::GLModeValue> ModeList +[more]typedef std::map<StateAttribute::GLMode,StateAttribute::GLModeValue> ModeList
a container to map GLModes to their respective GLModeValues
-[more]typedef std::pair<ref_ptr<StateAttribute>,StateAttribute::OverrideValue> RefAttributePair +[more]typedef std::pair<ref_ptr<StateAttribute>,StateAttribute::OverrideValue> RefAttributePair
simple pairing between an attribute and its override flag
-[more]typedef std::map<StateAttribute::Type,RefAttributePair> AttributeList +[more]typedef std::map<StateAttribute::Type,RefAttributePair> AttributeList
a container to map StateAttribyte::Types to their respective RefAttributePair
-[more]typedef std::vector<ModeList> TextureModeList +[more]typedef std::vector<ModeList> TextureModeList
-[more]typedef std::vector<AttributeList> TextureAttributeList +[more]typedef std::vector<AttributeList> TextureAttributeList
-[more]enum RenderingHint +[more]enum RenderingHint
-[more]enum RenderBinMode +[more]enum RenderBinMode

Protected Fields

-[more]ModeList _modeList +[more]ModeList _modeList
-[more]AttributeList _attributeList +[more]AttributeList _attributeList
-[more]TextureModeList _textureModeList +[more]TextureModeList _textureModeList
-[more]TextureAttributeList _textureAttributeList +[more]TextureAttributeList _textureAttributeList
-[more]int _renderingHint +[more]int _renderingHint
-[more]RenderBinMode _binMode +[more]RenderBinMode _binMode
-[more]int _binNum +[more]int _binNum
-[more]std::string _binName +[more]std::string _binName

Protected Methods

-[more]virtual ~StateSet() +[more]virtual ~StateSet()
-[more]StateSet& operator = (const StateSet&) +[more]StateSet& operator = (const StateSet&)
-[more]inline ModeList& getOrCreateTextureModeList(unsigned int unit) +[more]inline ModeList& getOrCreateTextureModeList(unsigned int unit)
-[more]inline AttributeList& getOrCreateTextureAttributeList(unsigned int unit) +[more]inline AttributeList& getOrCreateTextureAttributeList(unsigned int unit)
-[more]int compareModes(const ModeList& lhs, const ModeList& rhs) +[more]int compareModes(const ModeList& lhs, const ModeList& rhs)
-[more]int compareAttributePtrs(const AttributeList& lhs, const AttributeList& rhs) +[more]int compareAttributePtrs(const AttributeList& lhs, const AttributeList& rhs)
-[more]int compareAttributeContents(const AttributeList& lhs, const AttributeList& rhs) +[more]int compareAttributeContents(const AttributeList& lhs, const AttributeList& rhs)
-[more]void setMode(ModeList& modeList, StateAttribute::GLMode mode, StateAttribute::GLModeValue value) +[more]void setMode(ModeList& modeList, StateAttribute::GLMode mode, StateAttribute::GLModeValue value)
-[more]void setModeToInherit(ModeList& modeList, StateAttribute::GLMode mode) +[more]void setModeToInherit(ModeList& modeList, StateAttribute::GLMode mode)
-[more]StateAttribute::GLModeValue getMode(const ModeList& modeList, StateAttribute::GLMode mode) const +[more]StateAttribute::GLModeValue getMode(const ModeList& modeList, StateAttribute::GLMode mode) const
-[more]void setAssociatedModes(ModeList& modeList, const StateAttribute* attribute, StateAttribute::GLModeValue value) +[more]void setAssociatedModes(ModeList& modeList, const StateAttribute* attribute, StateAttribute::GLModeValue value)
-[more]void setAttribute(AttributeList& attributeList, StateAttribute* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF) +[more]void setAttribute(AttributeList& attributeList, StateAttribute* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF)
-[more]StateAttribute* getAttribute(AttributeList& attributeList, const StateAttribute::Type type) +[more]StateAttribute* getAttribute(AttributeList& attributeList, const StateAttribute::Type type)
-[more]const StateAttribute* getAttribute(const AttributeList& attributeList, const StateAttribute::Type type) const +[more]const StateAttribute* getAttribute(const AttributeList& attributeList, const StateAttribute::Type type) const
-[more]const RefAttributePair* getAttributePair(const AttributeList& attributeList, const StateAttribute::Type type) const +[more]const RefAttributePair* getAttributePair(const AttributeList& attributeList, const StateAttribute::Type type) const

@@ -242,9 +242,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -302,261 +302,261 @@ in the graphics pipeline.
- +
o StateSet()

- -

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

- +

ovirtual Object* cloneType() const

- +

ovirtual Object* clone(const CopyOp& copyop) const

- +

ovirtual bool isSameKindAs(const Object* obj) const

- +

ovirtual const char* libraryName() const

- +

ovirtual const char* className() const

- -

oint compare(const StateSet& rhs, bool compareAttributeContents=false) const + +
oint compare(const StateSet& rhs, bool compareAttributeContents=false) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

- +

obool operator < (const StateSet& rhs) const

- +

obool operator == (const StateSet& rhs) const

- +

obool operator != (const StateSet& rhs) const

- +

ovoid setGlobalDefaults()
set all the modes to on or off so that it defines a complete state, typically used for a default global state

- +

ovoid setAllToInherit()
set all the modes to inherit, typically used to signify nodes which inherit all of their modes for the global state

- +

ovoid merge(const StateSet& rhs)
merge this stateset with stateset rhs, this overrides the rhs if OVERRIDE is specified, otherwise rhs takes precedence

- +

otypedef std::map<StateAttribute::GLMode,StateAttribute::GLModeValue> ModeList
a container to map GLModes to their respective GLModeValues

- +

ovoid setMode(StateAttribute::GLMode mode, StateAttribute::GLModeValue value)
set this StateSet to contain specified GLMode and value

- +

ovoid setModeToInherit(StateAttribute::GLMode mode)
set this StateSet to inherit specified GLMode type from parents. has the effect of deleting any GlMode of specified type from StateSet.

- +

oStateAttribute::GLModeValue getMode(StateAttribute::GLMode mode) const
get specified GLModeValue for specified GLMode. returns INHERIT if no GLModeValue is contained within StateSet.

- -

oinline ModeList& getModeList() + +
oinline ModeList& getModeList()
return the list of all GLModes contained in this StateSet

- -

oinline const ModeList& getModeList() const + +
oinline const ModeList& getModeList() const
return the const list of all GLModes contained in this const StateSet

- +

otypedef std::pair<ref_ptr<StateAttribute>,StateAttribute::OverrideValue> RefAttributePair
simple pairing between an attribute and its override flag

- -

otypedef std::map<StateAttribute::Type,RefAttributePair> AttributeList + +
otypedef std::map<StateAttribute::Type,RefAttributePair> AttributeList
a container to map StateAttribyte::Types to their respective RefAttributePair

- +

ovoid setAttribute(StateAttribute* attribute, StateAttribute::OverrideValue value=StateAttribute::OFF)
set this StateSet to contain specified attribute and override flag

- +

ovoid setAttributeAndModes(StateAttribute* attribute, StateAttribute::GLModeValue value=StateAttribute::ON)
set this StateSet to contain specified attribute and set the associated GLMode's to specified value

- +

ovoid setAttributeToInherit(StateAttribute::Type type)
set this StateSet to inherit specified attribute type from parents. has the effect of deleting any state attributes of specified type from StateSet.

- +

oStateAttribute* getAttribute(StateAttribute::Type type)
get specified StateAttribute for specified type. returns NULL if no type is contained within StateSet.

- +

oconst StateAttribute* getAttribute(StateAttribute::Type type) const
get specified const StateAttribute for specified type. returns NULL if no type is contained within const StateSet.

- -

oconst RefAttributePair* getAttributePair(StateAttribute::Type type) const + +
oconst RefAttributePair* getAttributePair(StateAttribute::Type type) const
get specified RefAttributePair for specified type. returns NULL if no type is contained within StateSet.

- -

oinline AttributeList& getAttributeList() + +
oinline AttributeList& getAttributeList()
return the list of all StateAttributes contained in this StateSet

- -

oinline const AttributeList& getAttributeList() const + +
oinline const AttributeList& getAttributeList() const
return the const list of all StateAttributes contained in this const StateSet

- -

otypedef std::vector<ModeList> TextureModeList + +
otypedef std::vector<ModeList> TextureModeList

- +

ovoid setTextureMode(unsigned int unit, StateAttribute::GLMode mode, StateAttribute::GLModeValue value)
set this StateSet to contain specified GLMode and value

- +

ovoid setTextureModeToInherit(unsigned int unit, StateAttribute::GLMode mode)
set this StateSet to inherit specified GLMode type from parents. has the effect of deleting any GlMode of specified type from StateSet.

- +

oStateAttribute::GLModeValue getTextureMode(unsigned int unit, StateAttribute::GLMode mode) const
get specified GLModeValue for specified GLMode. returns INHERIT if no GLModeValue is contained within StateSet.

- -

oinline TextureModeList& getTextureModeList() + +
oinline TextureModeList& getTextureModeList()
return the list of all Texture related GLModes contained in this StateSet

- -

oinline const TextureModeList& getTextureModeList() const + +
oinline const TextureModeList& getTextureModeList() const
return the const list of all Texture related GLModes contained in this const StateSet

- -

otypedef std::vector<AttributeList> TextureAttributeList + +
otypedef std::vector<AttributeList> TextureAttributeList

- +

ovoid setTextureAttribute(unsigned int unit, StateAttribute* attribute, StateAttribute::OverrideValue value=StateAttribute::OFF)
set this StateSet to contain specified attribute and override flag

- +

ovoid setTextureAttributeAndModes(unsigned int unit, StateAttribute* attribute, StateAttribute::GLModeValue value=StateAttribute::ON)
set this StateSet to contain specified attribute and set the associated GLMode's to specified value

- +

ovoid setTextureAttributeToInherit(unsigned int unit, StateAttribute::Type type)
set this StateSet to inherit specified attribute type from parents. has the effect of deleting any state attributes of specified type from StateSet.

- +

oStateAttribute* getTextureAttribute(unsigned int unit, StateAttribute::Type type)
get specified Texture related StateAttribute for specified type. returns NULL if no type is contained within StateSet.

- +

oconst StateAttribute* getTextureAttribute(unsigned int unit, StateAttribute::Type type) const
get specified Texture related const StateAttribute for specified type. returns NULL if no type is contained within const StateSet.

- -

oconst RefAttributePair* getTextureAttributePair(unsigned int unit, StateAttribute::Type type) const + +
oconst RefAttributePair* getTextureAttributePair(unsigned int unit, StateAttribute::Type type) const
get specified Texture related RefAttributePair for specified type. returns NULL if no type is contained within StateSet.

- -

oinline TextureAttributeList& getTextureAttributeList() + +
oinline TextureAttributeList& getTextureAttributeList()
return the list of all Texture related StateAttributes contained in this StateSet

- -

oinline const TextureAttributeList& getTextureAttributeList() const + +
oinline const TextureAttributeList& getTextureAttributeList() const
return the const list of all Texture related StateAttributes contained in this const StateSet

- +

ovoid setAssociatedModes(const StateAttribute* attribute, StateAttribute::GLModeValue value)

- +

ovoid setAssociatedTextureModes(unsigned int unit, const StateAttribute* attribute, StateAttribute::GLModeValue value)

- +

oenum RenderingHint

- +
o DEFAULT_BIN

- +

o OPAQUE_BIN

- +

o TRANSPARENT_BIN

- +
ovoid setRenderingHint(int hint)
set the RenderingHint of the StateSet. RenderingHint is used by osgUtil::Renderer to determine which @@ -565,157 +565,157 @@ objects OPAQUE_BIN would typical used, which TRANSPARENT_BIN should be used for objects which need to be depth sorted.

- +

oinline int getRenderingHint() const
get the RenderingHint of the StateSet

- +

oenum RenderBinMode

- +
o INHERIT_RENDERBIN_DETAILS

- +

o USE_RENDERBIN_DETAILS

- +

o OVERRIDE_RENDERBIN_DETAILS

- +

o ENCLOSE_RENDERBIN_DETAILS

- -
ovoid setRenderBinDetails(int binNum, const std::string& binName, RenderBinMode mode=USE_RENDERBIN_DETAILS) + +
ovoid setRenderBinDetails(int binNum, const std::string& binName, RenderBinMode mode=USE_RENDERBIN_DETAILS)
set the render bin details

- +

ovoid setRenderBinToInherit()
set the render bin details to inherit

- -

oinline RenderBinMode getRenderBinMode() const + +
oinline RenderBinMode getRenderBinMode() const
get the render bin mode

- +

oinline bool useRenderBinDetails() const
get whether the render bin details are set and should be used

- +

oinline int getBinNumber() const
get the render bin number

- +

oinline const std::string& getBinName() const
get the render bin name

- +

ovoid compile(State& state) const
call compile on all StateAttributes contained within this StateSet

- +

ovirtual ~StateSet()

- +

oStateSet& operator = (const StateSet&)

- -

oModeList _modeList + +
oModeList _modeList

- -

oAttributeList _attributeList + +
oAttributeList _attributeList

- -

oTextureModeList _textureModeList + +
oTextureModeList _textureModeList

- -

oTextureAttributeList _textureAttributeList + +
oTextureAttributeList _textureAttributeList

- -

oinline ModeList& getOrCreateTextureModeList(unsigned int unit) + +
oinline ModeList& getOrCreateTextureModeList(unsigned int unit)

- -

oinline AttributeList& getOrCreateTextureAttributeList(unsigned int unit) + +
oinline AttributeList& getOrCreateTextureAttributeList(unsigned int unit)

- -

oint compareModes(const ModeList& lhs, const ModeList& rhs) + +
oint compareModes(const ModeList& lhs, const ModeList& rhs)

- -

oint compareAttributePtrs(const AttributeList& lhs, const AttributeList& rhs) + +
oint compareAttributePtrs(const AttributeList& lhs, const AttributeList& rhs)

- -

oint compareAttributeContents(const AttributeList& lhs, const AttributeList& rhs) + +
oint compareAttributeContents(const AttributeList& lhs, const AttributeList& rhs)

- -

ovoid setMode(ModeList& modeList, StateAttribute::GLMode mode, StateAttribute::GLModeValue value) + +
ovoid setMode(ModeList& modeList, StateAttribute::GLMode mode, StateAttribute::GLModeValue value)

- -

ovoid setModeToInherit(ModeList& modeList, StateAttribute::GLMode mode) + +
ovoid setModeToInherit(ModeList& modeList, StateAttribute::GLMode mode)

- -

oStateAttribute::GLModeValue getMode(const ModeList& modeList, StateAttribute::GLMode mode) const + +
oStateAttribute::GLModeValue getMode(const ModeList& modeList, StateAttribute::GLMode mode) const

- -

ovoid setAssociatedModes(ModeList& modeList, const StateAttribute* attribute, StateAttribute::GLModeValue value) + +
ovoid setAssociatedModes(ModeList& modeList, const StateAttribute* attribute, StateAttribute::GLModeValue value)

- -

ovoid setAttribute(AttributeList& attributeList, StateAttribute* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF) + +
ovoid setAttribute(AttributeList& attributeList, StateAttribute* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF)

- -

oStateAttribute* getAttribute(AttributeList& attributeList, const StateAttribute::Type type) + +
oStateAttribute* getAttribute(AttributeList& attributeList, const StateAttribute::Type type)

- -

oconst StateAttribute* getAttribute(const AttributeList& attributeList, const StateAttribute::Type type) const + +
oconst StateAttribute* getAttribute(const AttributeList& attributeList, const StateAttribute::Type type) const

- -

oconst RefAttributePair* getAttributePair(const AttributeList& attributeList, const StateAttribute::Type type) const + +
oconst RefAttributePair* getAttributePair(const AttributeList& attributeList, const StateAttribute::Type type) const

- +

oint _renderingHint

- -

oRenderBinMode _binMode + +
oRenderBinMode _binMode

- +

oint _binNum

- +

ostd::string _binName

diff --git a/doc/doc++/osg/Stencil.html b/doc/doc++/osg/Stencil.html index 9d9c1a76b..924a08d1e 100644 --- a/doc/doc++/osg/Stencil.html +++ b/doc/doc++/osg/Stencil.html @@ -23,72 +23,72 @@

Public Methods

-[more] Stencil() +[more] Stencil()
-[more] Stencil(const Stencil& stencil, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Stencil(const Stencil& stencil, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, Stencil, STENCIL) +[more] META_StateAttribute(osg, Stencil, STENCIL)
-[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
-[more]inline void setFunction(Function func, int ref, unsigned int mask) +[more]inline void setFunction(Function func, int ref, unsigned int mask)
-[more]inline Function getFunction() const +[more]inline Function getFunction() const
-[more]inline int getFunctionRef() const +[more]inline int getFunctionRef() const
-[more]inline unsigned int getFunctionMask() const +[more]inline unsigned int getFunctionMask() const
-[more]inline void setOperation(Operation sfail, Operation zfail, Operation zpass) +[more]inline void setOperation(Operation sfail, Operation zfail, Operation zpass)
set the operations to apply when the various stencil and depth tests fail or pass.
-[more]inline Operation getStencilFailOperation() const +[more]inline Operation getStencilFailOperation() const
get the operation when the stencil test fails
-[more]inline Operation getStencilPassAndDepthFailOperation() const +[more]inline Operation getStencilPassAndDepthFailOperation() const
get the operation when the stencil test passes but the depth test fails
-[more]inline Operation getStencilPassAndDepthPassOperation() const +[more]inline Operation getStencilPassAndDepthPassOperation() const
get the operation when both the stencil test and the depth test pass
-[more]inline void setWriteMask(unsigned int mask) +[more]inline void setWriteMask(unsigned int mask)
-[more]inline unsigned int getWriteMask() const +[more]inline unsigned int getWriteMask() const
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

Public Members

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

Protected Fields

-[more]Function _func +[more]Function _func
-[more]int _funcRef +[more]int _funcRef
-[more]unsigned int _funcMask +[more]unsigned int _funcMask
-[more]Operation _sfail +[more]Operation _sfail
-[more]Operation _zfail +[more]Operation _zfail
-[more]Operation _zpass +[more]Operation _zpass
-[more]unsigned int _writeMask +[more]unsigned int _writeMask

Protected Methods

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

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

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -196,114 +196,114 @@
- +
o Stencil()

- -

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

- -

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

- +

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

- -

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

- +

oenum Function

- +
o NEVER

- +

o LESS

- +

o EQUAL

- +

o LEQUAL

- +

o GREATER

- +

o NOTEQUAL

- +

o GEQUAL

- +

o ALWAYS

- -
oinline void setFunction(Function func, int ref, unsigned int mask) + +
oinline void setFunction(Function func, int ref, unsigned int mask)

- -

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

- +

oinline int getFunctionRef() const

- +

oinline unsigned int getFunctionMask() const

- +

oenum Operation

- +
o KEEP

- +

o ZERO

- +

o REPLACE

- +

o INCR

- +

o DECR

- +

o INVERT

- -
oinline void setOperation(Operation sfail, Operation zfail, Operation zpass) + +
oinline void setOperation(Operation sfail, Operation zfail, Operation zpass)
set the operations to apply when the various stencil and depth tests fail or pass. First parameter is to control the operation when the stencil test fails. The second parameter is to control the @@ -313,62 +313,62 @@ and depth pass. Ordering of parameter is the same as if using glStencilOp(,,).

- -

oinline Operation getStencilFailOperation() const + +
oinline Operation getStencilFailOperation() const
get the operation when the stencil test fails

- -

oinline Operation getStencilPassAndDepthFailOperation() const + +
oinline Operation getStencilPassAndDepthFailOperation() const
get the operation when the stencil test passes but the depth test fails

- -

oinline Operation getStencilPassAndDepthPassOperation() const + +
oinline Operation getStencilPassAndDepthPassOperation() const
get the operation when both the stencil test and the depth test pass

- +

oinline void setWriteMask(unsigned int mask)

- +

oinline unsigned int getWriteMask() const

- +

ovirtual void apply(State& state) const

- +

ovirtual ~Stencil()

- -

oFunction _func + +
oFunction _func

- +

oint _funcRef

- +

ounsigned int _funcMask

- -

oOperation _sfail + +
oOperation _sfail

- -

oOperation _zfail + +
oOperation _zfail

- -

oOperation _zpass + +
oOperation _zpass

- +

ounsigned int _writeMask

diff --git a/doc/doc++/osg/SubloadCallback.2.html b/doc/doc++/osg/SubloadCallback.2.html index 3294e56cc..19003fac5 100644 --- a/doc/doc++/osg/SubloadCallback.2.html +++ b/doc/doc++/osg/SubloadCallback.2.html @@ -22,9 +22,9 @@

Public Methods

-[more]virtual void load(const Texture2D& texture, State& state) const = 0 +[more]virtual void load(const Texture2D& texture, State& state) const = 0
-[more]virtual void subload(const Texture2D& texture, State& state) const = 0 +[more]virtual void subload(const Texture2D& texture, State& state) const = 0

@@ -60,11 +60,11 @@
- +
ovirtual void load(const Texture2D& texture, State& state) const = 0

- +

ovirtual void subload(const Texture2D& texture, State& state) const = 0

diff --git a/doc/doc++/osg/SubloadCallback.3.html b/doc/doc++/osg/SubloadCallback.3.html index 56432077c..f00eb8311 100644 --- a/doc/doc++/osg/SubloadCallback.3.html +++ b/doc/doc++/osg/SubloadCallback.3.html @@ -22,9 +22,9 @@

Public Methods

-[more]virtual void load(const Texture3D& texture, State& state) const = 0 +[more]virtual void load(const Texture3D& texture, State& state) const = 0
-[more]virtual void subload(const Texture3D& texture, State& state) const = 0 +[more]virtual void subload(const Texture3D& texture, State& state) const = 0

@@ -60,11 +60,11 @@
- +
ovirtual void load(const Texture3D& texture, State& state) const = 0

- +

ovirtual void subload(const Texture3D& texture, State& state) const = 0

diff --git a/doc/doc++/osg/SubloadCallback.4.html b/doc/doc++/osg/SubloadCallback.4.html index a26b30ba2..11b4e1955 100644 --- a/doc/doc++/osg/SubloadCallback.4.html +++ b/doc/doc++/osg/SubloadCallback.4.html @@ -22,9 +22,9 @@

Public Methods

-[more]virtual void load(const TextureCubeMap& texture, State& state) const = 0 +[more]virtual void load(const TextureCubeMap& texture, State& state) const = 0
-[more]virtual void subload(const TextureCubeMap& texture, State& state) const = 0 +[more]virtual void subload(const TextureCubeMap& texture, State& state) const = 0

@@ -60,11 +60,11 @@
- +
ovirtual void load(const TextureCubeMap& texture, State& state) const = 0

- +

ovirtual void subload(const TextureCubeMap& texture, State& state) const = 0

diff --git a/doc/doc++/osg/SubloadCallback.5.html b/doc/doc++/osg/SubloadCallback.5.html index c2e8e4549..fa9fb4e36 100644 --- a/doc/doc++/osg/SubloadCallback.5.html +++ b/doc/doc++/osg/SubloadCallback.5.html @@ -22,9 +22,9 @@

Public Methods

-[more]virtual void load(const TextureRectangle&, State&) const = 0 +[more]virtual void load(const TextureRectangle&, State&) const = 0
-[more]virtual void subload(const TextureRectangle&, State&) const = 0 +[more]virtual void subload(const TextureRectangle&, State&) const = 0

@@ -60,11 +60,11 @@
- +
ovirtual void load(const TextureRectangle&, State&) const = 0

- +

ovirtual void subload(const TextureRectangle&, State&) const = 0

diff --git a/doc/doc++/osg/SubloadCallback.html b/doc/doc++/osg/SubloadCallback.html index 14a32ff68..2a443e86b 100644 --- a/doc/doc++/osg/SubloadCallback.html +++ b/doc/doc++/osg/SubloadCallback.html @@ -22,9 +22,9 @@

Public Methods

-[more]virtual void load(const Texture1D& texture, State& state) const = 0 +[more]virtual void load(const Texture1D& texture, State& state) const = 0
-[more]virtual void subload(const Texture1D& texture, State& state) const = 0 +[more]virtual void subload(const Texture1D& texture, State& state) const = 0

@@ -60,11 +60,11 @@
- +
ovirtual void load(const Texture1D& texture, State& state) const = 0

- +

ovirtual void subload(const Texture1D& texture, State& state) const = 0

diff --git a/doc/doc++/osg/Switch.html b/doc/doc++/osg/Switch.html index 7b2774f08..5ec1d5e95 100644 --- a/doc/doc++/osg/Switch.html +++ b/doc/doc++/osg/Switch.html @@ -23,68 +23,68 @@

Public Methods

-[more] Switch() +[more] Switch()
-[more] Switch(const Switch&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Switch(const Switch&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_Node(osg, Switch) +[more] META_Node(osg, Switch)
-[more]virtual void traverse(NodeVisitor& nv) +[more]virtual void traverse(NodeVisitor& nv)
-[more]void setNewChildDefaultValue(bool value) +[more]void setNewChildDefaultValue(bool value)
-[more]bool getNewChildDefaultValue() const +[more]bool getNewChildDefaultValue() const
-[more]virtual bool addChild( Node* child ) +[more]virtual bool addChild( Node* child )
-[more]virtual bool addChild( Node* child, bool value ) +[more]virtual bool addChild( Node* child, bool value )
-[more]virtual bool removeChild( Node* child ) +[more]virtual bool removeChild( Node* child )
-[more]void setValue(unsigned int pos, bool value) +[more]void setValue(unsigned int pos, bool value)
-[more]bool getValue(unsigned int pos) const +[more]bool getValue(unsigned int pos) const
-[more]void setChildValue(const Node* child, bool value) +[more]void setChildValue(const Node* child, bool value)
-[more]bool getChildValue(const Node* child) const +[more]bool getChildValue(const Node* child) const
-[more]bool setAllChildrenOff() +[more]bool setAllChildrenOff()
Set all the children off (false), and set the new default child value to off (false)
-[more]bool setAllChildrenOn() +[more]bool setAllChildrenOn()
Set all the children on (true), and set the new default child value to on (true)
-[more]bool setSingleChildOn(unsigned int pos) +[more]bool setSingleChildOn(unsigned int pos)
Set a single child to be on, switch off all other children
-[more]void setValue(int value) +[more]void setValue(int value)
Selects the active child Node or enables a special SwitchType mode.
-[more]int getValue() const +[more]int getValue() const
-[more]const ValueList& getValueList() const +[more]const ValueList& getValueList() const

Public Members

-[more]enum Values +[more]enum Values
Special values for the Switch.
-[more]typedef std::vector<bool> ValueList +[more]typedef std::vector<bool> ValueList

Protected Fields

-[more]bool _newChildDefaultValue +[more]bool _newChildDefaultValue
-[more]ValueList _values +[more]ValueList _values

Protected Methods

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

@@ -146,15 +146,15 @@
ovirtual void ascend(NodeVisitor& nv)
-oinline void setName( const std::string& name ) +oinline void setName( const std::string& name )
-oinline void setName( const char* name ) +oinline void setName( const char* name )
oinline const std::string& getName() const
-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
-oinline ParentList getParents() +oinline ParentList getParents()
oinline Group* getParent(unsigned int i)
@@ -188,13 +188,13 @@
obool containsOccluderNodes() const
-oinline void setNodeMask(NodeMask nm) +oinline void setNodeMask(NodeMask nm)
-oinline NodeMask getNodeMask() const +oinline NodeMask getNodeMask() const
-oinline const DescriptionList& getDescriptions() const +oinline const DescriptionList& getDescriptions() const
-oinline DescriptionList& getDescriptions() +oinline DescriptionList& getDescriptions()
oinline const std::string& getDescription(unsigned int i) const
@@ -234,7 +234,7 @@
ostd::string _name
-oParentList _parents +oParentList _parents
oref_ptr<NodeCallback> _updateCallback
@@ -248,9 +248,9 @@
ounsigned int _numChildrenWithOccluderNodes
-oNodeMask _nodeMask +oNodeMask _nodeMask
-oDescriptionList _descriptions +oDescriptionList _descriptions
oref_ptr<StateSet> _stateset

@@ -273,9 +273,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -333,75 +333,75 @@ to represent the different states of a traffic light.
- +
o Switch()

- -

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

- +

o META_Node(osg, Switch)

- +

ovirtual void traverse(NodeVisitor& nv)

- +

ovoid setNewChildDefaultValue(bool value)

- +

obool getNewChildDefaultValue() const

- +

ovirtual bool addChild( Node* child )

- +

ovirtual bool addChild( Node* child, bool value )

- +

ovirtual bool removeChild( Node* child )

- +

ovoid setValue(unsigned int pos, bool value)

- +

obool getValue(unsigned int pos) const

- +

ovoid setChildValue(const Node* child, bool value)

- +

obool getChildValue(const Node* child) const

- +

obool setAllChildrenOff()
Set all the children off (false), and set the new default child value to off (false)

- +

obool setAllChildrenOn()
Set all the children on (true), and set the new default child value to on (true)

- +

obool setSingleChildOn(unsigned int pos)
Set a single child to be on, switch off all other children

- +

oenum Values
Special values for the Switch. Use these if you want to @@ -409,23 +409,23 @@ turn on/off all child nodes.

- +
o ALL_CHILDREN_ON
All children turned on.

- +

o ALL_CHILDREN_OFF
All children off.

- +

o MULTIPLE_CHILDREN_ON
Multiple children turned on

- +
ovoid setValue(int value)
Selects the active child Node or enables a special @@ -435,28 +435,28 @@ SwitchType mode. (first child == number 0) or SwitchType. Invalid values will be ignored.

- +

oint getValue() const

- +

otypedef std::vector<bool> ValueList

- -

oconst ValueList& getValueList() const + +
oconst ValueList& getValueList() const

- +

ovirtual ~Switch()

- +

obool _newChildDefaultValue

- -

oValueList _values + +
oValueList _values


This class has no child classes.
diff --git a/doc/doc++/osg/TemplateArray.html b/doc/doc++/osg/TemplateArray.html index e1338342a..d9bfd9aba 100644 --- a/doc/doc++/osg/TemplateArray.html +++ b/doc/doc++/osg/TemplateArray.html @@ -7,7 +7,7 @@ -

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


+

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


Inheritance:

@@ -28,7 +28,7 @@
[more] TemplateArray(unsigned int no)
-[more] TemplateArray(unsigned int no, T* ptr) +[more] TemplateArray(unsigned int no, T* ptr)
[more]template<class InputIterator> TemplateArray(InputIterator first, InputIterator last)
@@ -93,9 +93,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -162,7 +162,7 @@

-

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

diff --git a/doc/doc++/osg/TemplateIndexArray.html b/doc/doc++/osg/TemplateIndexArray.html index 29021999f..3cf6391a6 100644 --- a/doc/doc++/osg/TemplateIndexArray.html +++ b/doc/doc++/osg/TemplateIndexArray.html @@ -7,7 +7,7 @@ -

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


+

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


Inheritance:

@@ -28,7 +28,7 @@
[more] TemplateIndexArray(unsigned int no)
-[more] TemplateIndexArray(unsigned int no, T* ptr) +[more] TemplateIndexArray(unsigned int no, T* ptr)
[more]template<class InputIterator> TemplateIndexArray(InputIterator first, InputIterator last)
@@ -101,9 +101,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -170,7 +170,7 @@

-

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

diff --git a/doc/doc++/osg/TessellationHints.html b/doc/doc++/osg/TessellationHints.html index e79ad7627..c559157e0 100644 --- a/doc/doc++/osg/TessellationHints.html +++ b/doc/doc++/osg/TessellationHints.html @@ -22,84 +22,84 @@

Public Methods

-[more] TessellationHints() +[more] TessellationHints()
-[more] TessellationHints(const TessellationHints& tess, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] TessellationHints(const TessellationHints& tess, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more] META_Object(osg, TessellationHints) +[more] META_Object(osg, TessellationHints)
-[more]inline void setTessellationMode(TessellationMode mode) +[more]inline void setTessellationMode(TessellationMode mode)
-[more]inline TessellationMode getTessellationMode() const +[more]inline TessellationMode getTessellationMode() const
-[more]inline void setDetailRatio(float ratio) +[more]inline void setDetailRatio(float ratio)
-[more]inline float getDetailRatio() const +[more]inline float getDetailRatio() const
-[more]inline void setTargetNumFaces(unsigned int target) +[more]inline void setTargetNumFaces(unsigned int target)
-[more]inline unsigned int getTargetNumFaces() const +[more]inline unsigned int getTargetNumFaces() const
-[more]inline void setCreateFrontFace(bool on) +[more]inline void setCreateFrontFace(bool on)
-[more]inline bool getCreateFrontFace() const +[more]inline bool getCreateFrontFace() const
-[more]inline void setCreateBackFace(bool on) +[more]inline void setCreateBackFace(bool on)
-[more]inline bool getCreateBackFace() const +[more]inline bool getCreateBackFace() const
-[more]inline void setCreateNormals(bool on) +[more]inline void setCreateNormals(bool on)
-[more]inline bool getCreateNormals() const +[more]inline bool getCreateNormals() const
-[more]inline void setCreateTextureCoords(bool on) +[more]inline void setCreateTextureCoords(bool on)
-[more]inline bool getCreateTextureCoords() const +[more]inline bool getCreateTextureCoords() const
-[more]inline void setCreateTop(bool on) +[more]inline void setCreateTop(bool on)
-[more]inline bool getCreateTop() const +[more]inline bool getCreateTop() const
-[more]inline void setCreateBody(bool on) +[more]inline void setCreateBody(bool on)
-[more]inline bool getCreateBody() const +[more]inline bool getCreateBody() const
-[more]inline void setCreateBottom(bool on) +[more]inline void setCreateBottom(bool on)
-[more]inline bool getCreateBottom() const +[more]inline bool getCreateBottom() const

Public Members

-[more]enum TessellationMode +[more]enum TessellationMode

Protected Fields

-[more]TessellationMode _TessellationMode +[more]TessellationMode _TessellationMode
-[more]float _detailRatio +[more]float _detailRatio
-[more]unsigned int _targetNumFaces +[more]unsigned int _targetNumFaces
-[more]bool _createFrontFace +[more]bool _createFrontFace
-[more]bool _createBackFace +[more]bool _createBackFace
-[more]bool _createNormals +[more]bool _createNormals
-[more]bool _createTextureCoords +[more]bool _createTextureCoords
-[more]bool _createTop +[more]bool _createTop
-[more]bool _createBody +[more]bool _createBody
-[more]bool _createBottom +[more]bool _createBottom

Protected Methods

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

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -173,153 +173,153 @@
- +
o TessellationHints()

- -

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

- +

o META_Object(osg, TessellationHints)

- +

oenum TessellationMode

- +
o USE_SHAPE_DEFAULTS

- +

o USE_TARGET_NUM_FACES

- -
oinline void setTessellationMode(TessellationMode mode) + +
oinline void setTessellationMode(TessellationMode mode)

- -

oinline TessellationMode getTessellationMode() const + +
oinline TessellationMode getTessellationMode() const

- +

oinline void setDetailRatio(float ratio)

- +

oinline float getDetailRatio() const

- +

oinline void setTargetNumFaces(unsigned int target)

- +

oinline unsigned int getTargetNumFaces() const

- +

oinline void setCreateFrontFace(bool on)

- +

oinline bool getCreateFrontFace() const

- +

oinline void setCreateBackFace(bool on)

- +

oinline bool getCreateBackFace() const

- +

oinline void setCreateNormals(bool on)

- +

oinline bool getCreateNormals() const

- +

oinline void setCreateTextureCoords(bool on)

- +

oinline bool getCreateTextureCoords() const

- +

oinline void setCreateTop(bool on)

- +

oinline bool getCreateTop() const

- +

oinline void setCreateBody(bool on)

- +

oinline bool getCreateBody() const

- +

oinline void setCreateBottom(bool on)

- +

oinline bool getCreateBottom() const

- +

o ~TessellationHints()

- -

oTessellationMode _TessellationMode + +
oTessellationMode _TessellationMode

- +

ofloat _detailRatio

- +

ounsigned int _targetNumFaces

- +

obool _createFrontFace

- +

obool _createBackFace

- +

obool _createNormals

- +

obool _createTextureCoords

- +

obool _createTop

- +

obool _createBody

- +

obool _createBottom

diff --git a/doc/doc++/osg/Test.html b/doc/doc++/osg/Test.html index bcf0282ab..a5f40b108 100644 --- a/doc/doc++/osg/Test.html +++ b/doc/doc++/osg/Test.html @@ -23,26 +23,26 @@

Public Methods

-[more] Test( const std::string& sName ) +[more] Test( const std::string& sName )
-[more]const std::string& name() const +[more]const std::string& name() const
-[more]virtual bool accept( Visitor& ) = 0 +[more]virtual bool accept( Visitor& ) = 0

Public Members

-[more]typedef TestVisitor Visitor +[more]typedef TestVisitor Visitor

Protected Fields

-[more]std::string _name +[more]std::string _name

Protected Methods

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

@@ -83,27 +83,27 @@ to by an osg::ref_ptr.
- +
otypedef TestVisitor Visitor

- +

o Test( const std::string& sName )

- +

oconst std::string& name() const

- -

ovirtual bool accept( Visitor& ) = 0 + +
ovirtual bool accept( Visitor& ) = 0

- +

ovirtual ~Test()

- +

ostd::string _name


diff --git a/doc/doc++/osg/TestCase.html b/doc/doc++/osg/TestCase.html index 4ffa06fa2..7b5903487 100644 --- a/doc/doc++/osg/TestCase.html +++ b/doc/doc++/osg/TestCase.html @@ -23,21 +23,21 @@

Public Methods

-[more] TestCase( const std::string& sName ) +[more] TestCase( const std::string& sName )
-[more]virtual bool accept( Visitor& v ) +[more]virtual bool accept( Visitor& v )
-[more]virtual void run( const Context& ) = 0 +[more]virtual void run( const Context& ) = 0

Public Members

-[more]typedef TestContext Context +[more]typedef TestContext Context

Protected Methods

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

@@ -94,23 +94,23 @@ TestCase, is the supplies the interface for a Composite pattern's
- +
otypedef TestContext Context

- +

o TestCase( const std::string& sName )

- -

ovirtual bool accept( Visitor& v ) + +
ovirtual bool accept( Visitor& v )

- -

ovirtual void run( const Context& ) = 0 + +
ovirtual void run( const Context& ) = 0

- +

ovirtual ~TestCase()


diff --git a/doc/doc++/osg/TestCase_.html b/doc/doc++/osg/TestCase_.html index eda81d5b4..25841a91d 100644 --- a/doc/doc++/osg/TestCase_.html +++ b/doc/doc++/osg/TestCase_.html @@ -23,19 +23,19 @@

Public Methods

-[more] TestCase_( const std::string& sName, TestMethodPtr pTestMethod ) +[more] TestCase_( const std::string& sName, TestMethodPtr pTestMethod )
-[more]virtual void run( const Context& ctx ) +[more]virtual void run( const Context& ctx )

Protected Fields

-[more]TestMethodPtr _pTestMethod +[more]TestMethodPtr _pTestMethod

Protected Methods

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

@@ -43,7 +43,7 @@

Public Methods

-ovirtual bool accept( Visitor& v ) +ovirtual bool accept( Visitor& v )

@@ -109,19 +109,19 @@ of information from one test case to the next.
- +
o TestCase_( const std::string& sName, TestMethodPtr pTestMethod )

- -

ovirtual void run( const Context& ctx ) + +
ovirtual void run( const Context& ctx )

- +

ovirtual ~TestCase_()

- +

oTestMethodPtr _pTestMethod

diff --git a/doc/doc++/osg/TestContext.html b/doc/doc++/osg/TestContext.html index 37c4d1f4f..77f22c117 100644 --- a/doc/doc++/osg/TestContext.html +++ b/doc/doc++/osg/TestContext.html @@ -13,22 +13,22 @@

Public Methods

-[more] TestContext() +[more] TestContext()
-[more]bool shouldStop() +[more]bool shouldStop()
-[more]bool isVerbose() +[more]bool isVerbose()
-[more]void setTraceLevel(TraceLevel tl) +[more]void setTraceLevel(TraceLevel tl)
-[more]TraceLevel getTraceLevel() const +[more]TraceLevel getTraceLevel() const
-[more]std::ostream& tout(TraceLevel tl=Full) const +[more]std::ostream& tout(TraceLevel tl=Full) const

Public Members

-[more]enum TraceLevel +[more]enum TraceLevel

@@ -45,48 +45,48 @@ as an output stream for verbose output during the running of tests.
- +
o TestContext()

- +

obool shouldStop()

- +

obool isVerbose()

- +

oenum TraceLevel

- +
o Off

- +

o Results
< All tracing turned off

- +

o Full
< Output results only

- -
ovoid setTraceLevel(TraceLevel tl) + +
ovoid setTraceLevel(TraceLevel tl)

- -

oTraceLevel getTraceLevel() const + +
oTraceLevel getTraceLevel() const

- -

ostd::ostream& tout(TraceLevel tl=Full) const + +
ostd::ostream& tout(TraceLevel tl=Full) const


This class has no child classes.
diff --git a/doc/doc++/osg/TestErrorX.html b/doc/doc++/osg/TestErrorX.html index 66e26848e..c58c66cdb 100644 --- a/doc/doc++/osg/TestErrorX.html +++ b/doc/doc++/osg/TestErrorX.html @@ -23,7 +23,7 @@

Public Methods

-[more] TestErrorX(const std::string& s) +[more] TestErrorX(const std::string& s)

@@ -47,7 +47,7 @@ run which prevents the component from being tested
- +
o TestErrorX(const std::string& s)

diff --git a/doc/doc++/osg/TestFailureX.html b/doc/doc++/osg/TestFailureX.html index 70ceab13e..eb95c5285 100644 --- a/doc/doc++/osg/TestFailureX.html +++ b/doc/doc++/osg/TestFailureX.html @@ -23,7 +23,7 @@

Public Methods

-[more] TestFailureX(const std::string& s) +[more] TestFailureX(const std::string& s)

@@ -44,7 +44,7 @@ A TestFailureX indicates a failure in the tested component
- +
o TestFailureX(const std::string& s)

diff --git a/doc/doc++/osg/TestGraph.html b/doc/doc++/osg/TestGraph.html index 4d85b271d..86119457d 100644 --- a/doc/doc++/osg/TestGraph.html +++ b/doc/doc++/osg/TestGraph.html @@ -13,12 +13,12 @@

Public Methods

-[more]static TestGraph& instance() +[more]static TestGraph& instance()
-[more]TestSuite* root() +[more]TestSuite* root()
-[more]TestSuite* suite(const std::string& path, TestSuite* tsuite = 0, bool createIfNecessary = false) +[more]TestSuite* suite(const std::string& path, TestSuite* tsuite = 0, bool createIfNecessary = false)
A utility function for accessing an arbitrary quite by pathname, relative to the suite 'tsuite' (defaults to root if null), and with the option of creating the \em TestSuite designated by \em path, if it does not already exist.

@@ -33,17 +33,17 @@ primarily, it provides access to the root suite
- +
ostatic TestGraph& instance()

- +

oTestSuite* root()
Returns:
a pointer to the root TestSuite.

- +

oTestSuite* suite(const std::string& path, TestSuite* tsuite = 0, bool createIfNecessary = false)
A utility function for accessing an arbitrary quite by pathname, relative to @@ -62,9 +62,9 @@ already exists.

-

Parameters:
path - The name of the TestSuite to return. -
tsuite - The suite to 'start from'. Path is relative to this -suite (defaults to root suite). +
Parameters:
path - The name of the TestSuite to return. +
tsuite - The suite to 'start from'. Path is relative to this +suite (defaults to root suite).
createIfNecessary - Optionally create the TestSuite(s) denoted by path if they do not exist.

diff --git a/doc/doc++/osg/TestQualifier.html b/doc/doc++/osg/TestQualifier.html index 83ffd8a18..7147bf577 100644 --- a/doc/doc++/osg/TestQualifier.html +++ b/doc/doc++/osg/TestQualifier.html @@ -23,11 +23,11 @@

Public Methods

-[more]virtual bool visitEnter( TestSuite* pSuite ) +[more]virtual bool visitEnter( TestSuite* pSuite )
-[more]virtual bool visitLeave( TestSuite* pSuite ) +[more]virtual bool visitLeave( TestSuite* pSuite )
-[more]const std::string& currentPath() const +[more]const std::string& currentPath() const

@@ -50,20 +50,20 @@ current qualified TestSuite path
- +
o SEPCHAR

- +
ovirtual bool visitEnter( TestSuite* pSuite )

- +

ovirtual bool visitLeave( TestSuite* pSuite )

- +

oconst std::string& currentPath() const


diff --git a/doc/doc++/osg/TestRecord.html b/doc/doc++/osg/TestRecord.html index 769d723ec..8f00fbdd7 100644 --- a/doc/doc++/osg/TestRecord.html +++ b/doc/doc++/osg/TestRecord.html @@ -13,17 +13,17 @@

Public Methods

-[more]void start() +[more]void start()
-[more]void stop() +[more]void stop()
-[more]void log(const TestFailureX& e) +[more]void log(const TestFailureX& e)
-[more]void log(const TestErrorX& e) +[more]void log(const TestErrorX& e)
-[more]void log(const std::exception& e) +[more]void log(const std::exception& e)
-[more]void log(const std::string& s) +[more]void log(const std::string& s)

@@ -40,40 +40,40 @@ stored in the TestRecord.
- +
ovoid start()

- +

ovoid stop()

- +

ovoid log(const TestFailureX& e)

- +

ovoid log(const TestErrorX& e)

- +

ovoid log(const std::exception& e)

- +

ovoid log(const std::string& s)

- +
o Success

- +

o Failure

- +

o Error

diff --git a/doc/doc++/osg/TestReport.html b/doc/doc++/osg/TestReport.html index 79d0910b7..e23fdb951 100644 --- a/doc/doc++/osg/TestReport.html +++ b/doc/doc++/osg/TestReport.html @@ -13,7 +13,7 @@

Public Methods

-[more]TestRecord& createRecord(const std::string& s) +[more]TestRecord& createRecord(const std::string& s)

@@ -30,7 +30,7 @@ e.g. text, XML, CSV
- +
oTestRecord& createRecord(const std::string& s)

diff --git a/doc/doc++/osg/TestRunner.html b/doc/doc++/osg/TestRunner.html index 2b24c744d..6af839719 100644 --- a/doc/doc++/osg/TestRunner.html +++ b/doc/doc++/osg/TestRunner.html @@ -23,21 +23,21 @@

Public Methods

-[more] TestRunner( TestContext& ctx ) +[more] TestRunner( TestContext& ctx )
-[more]void specify( const std::string& sQualifiedName ) +[more]void specify( const std::string& sQualifiedName )
Tests may be specified by partial names.
-[more]bool visitEnter( TestSuite* pSuite ) +[more]bool visitEnter( TestSuite* pSuite )
-[more]bool visit( TestCase* pTest ) +[more]bool visit( TestCase* pTest )
-[more]bool visitLeave( TestSuite* pSuite ) +[more]bool visitLeave( TestSuite* pSuite )

Protected Methods

-[more]void perform( TestCase* pTest ) +[more]void perform( TestCase* pTest )

@@ -64,11 +64,11 @@ test graph.
- +
o TestRunner( TestContext& ctx )

- +

ovoid specify( const std::string& sQualifiedName )
Tests may be specified by partial names. E.g. specifiying "root" @@ -78,19 +78,19 @@ Specifying "root.osg.de" will run all tests (and suites) below \em root.osg with names beginning with the \em de.

- +

obool visitEnter( TestSuite* pSuite )

- +

obool visit( TestCase* pTest )

- +

obool visitLeave( TestSuite* pSuite )

- +

ovoid perform( TestCase* pTest )

diff --git a/doc/doc++/osg/TestSuite.html b/doc/doc++/osg/TestSuite.html index d63472dfe..d62a79ca7 100644 --- a/doc/doc++/osg/TestSuite.html +++ b/doc/doc++/osg/TestSuite.html @@ -23,30 +23,30 @@

Public Methods

-[more] TestSuite( const std::string& name ) +[more] TestSuite( const std::string& name )
-[more]void add( Test* pTest ) +[more]void add( Test* pTest )
Adds a Test to the suite.
-[more]Test* findChild(const std::string& name) +[more]Test* findChild(const std::string& name)
-[more]virtual bool accept( Test::Visitor& v ) +[more]virtual bool accept( Test::Visitor& v )

Protected Fields

-[more]Tests _tests +[more]Tests _tests

Protected Methods

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

Protected Members

-[more]typedef std::vector< osg::ref_ptr<Test> > Tests +[more]typedef std::vector< osg::ref_ptr<Test> > Tests

@@ -103,35 +103,35 @@ and allows aggregation of Tests into hierarchies
- -
o TestSuite( const std::string& name ) + +
o TestSuite( const std::string& name )

- +

ovoid add( Test* pTest )
Adds a Test to the suite.

- -

oTest* findChild(const std::string& name) + +
oTest* findChild(const std::string& name)
Returns:
s The immediate child denoted by name, or 0 if not found.

- +

ovirtual bool accept( Test::Visitor& v )

- +

ovirtual ~TestSuite()

- +

otypedef std::vector< osg::ref_ptr<Test> > Tests

- -

oTests _tests + +
oTests _tests


This class has no child classes.
diff --git a/doc/doc++/osg/TestSuiteAutoRegistrationAgent.html b/doc/doc++/osg/TestSuiteAutoRegistrationAgent.html index db01681b9..0a62ed99d 100644 --- a/doc/doc++/osg/TestSuiteAutoRegistrationAgent.html +++ b/doc/doc++/osg/TestSuiteAutoRegistrationAgent.html @@ -12,7 +12,7 @@

-[more] TestSuiteAutoRegistrationAgent(TestSuite* tsuite, const char* path = 0) +[more] TestSuiteAutoRegistrationAgent(TestSuite* tsuite, const char* path = 0)

@@ -27,7 +27,7 @@ direct use, it should be used via the following macros. (It's a secret agent :-)
- +
o TestSuiteAutoRegistrationAgent(TestSuite* tsuite, const char* path = 0)

See Also:
OSGUTX_AUTOREGISTER_TESTSUITE, OSGUTX_AUTOREGISTER_TESTSUITE_AT

Alphabetic index HTML hierarchy of classes or Java


diff --git a/doc/doc++/osg/TestVisitor.html b/doc/doc++/osg/TestVisitor.html index 8d3f19dfe..4cd92985c 100644 --- a/doc/doc++/osg/TestVisitor.html +++ b/doc/doc++/osg/TestVisitor.html @@ -23,20 +23,20 @@

Public Methods

-[more]virtual bool visitEnter( TestSuite* ) +[more]virtual bool visitEnter( TestSuite* )
-[more]virtual bool visit( TestCase* ) = 0 +[more]virtual bool visit( TestCase* ) = 0
-[more]virtual bool visitLeave( TestSuite* ) +[more]virtual bool visitLeave( TestSuite* )

Protected Methods

-[more] TestVisitor() +[more] TestVisitor()
-[more] TestVisitor( const TestVisitor& ) +[more] TestVisitor( const TestVisitor& )
-[more]virtual ~TestVisitor() +[more]virtual ~TestVisitor()

@@ -50,27 +50,27 @@ the traversal to be short-cicuited at any point during the visitation. - +
ovirtual bool visitEnter( TestSuite* )

- +

ovirtual bool visit( TestCase* ) = 0

- +

ovirtual bool visitLeave( TestSuite* )

- +

o TestVisitor()

- -

o TestVisitor( const TestVisitor& ) + +
o TestVisitor( const TestVisitor& )

- +

ovirtual ~TestVisitor()


diff --git a/doc/doc++/osg/TestX.html b/doc/doc++/osg/TestX.html index 6748dcca2..ac0546192 100644 --- a/doc/doc++/osg/TestX.html +++ b/doc/doc++/osg/TestX.html @@ -23,11 +23,11 @@

Public Methods

-[more] TestX(const std::string& s) +[more] TestX(const std::string& s)
-[more]virtual ~TestX() +[more]virtual ~TestX()
-[more]const std::string& what() const +[more]const std::string& what() const

@@ -41,15 +41,15 @@ indicate problems during the run of a TestCase
- +
o TestX(const std::string& s)

- +

ovirtual ~TestX()

- +

oconst std::string& what() const


diff --git a/doc/doc++/osg/TexEnv.html b/doc/doc++/osg/TexEnv.html index 14f909649..57a1f8857 100644 --- a/doc/doc++/osg/TexEnv.html +++ b/doc/doc++/osg/TexEnv.html @@ -23,46 +23,46 @@

Public Methods

-[more] TexEnv() +[more] TexEnv()
-[more] TexEnv(const TexEnv& texenv, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] TexEnv(const TexEnv& texenv, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, TexEnv, TEXENV) +[more] META_StateAttribute(osg, TexEnv, TEXENV)
-[more]virtual bool isTextureAttribute() const +[more]virtual bool isTextureAttribute() const
-[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]void setMode( Mode mode ) +[more]void setMode( Mode mode )
-[more]Mode getMode() const +[more]Mode getMode() const
-[more]void setColor( const Vec4& color ) +[more]void setColor( const Vec4& color )
-[more]Vec4& getColor() +[more]Vec4& getColor()
-[more]const Vec4& getColor() const +[more]const Vec4& getColor() const
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

Public Members

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

Protected Fields

-[more]Mode _mode +[more]Mode _mode
-[more]osg::Vec4 _color +[more]osg::Vec4 _color

Protected Methods

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

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

@@ -113,9 +113,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -170,87 +170,87 @@
- +
o TexEnv()

- -

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

- -

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

- +

ovirtual bool isTextureAttribute() const

- +

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

- +

oenum Mode

- +
o DECAL

- +

o MODULATE

- +

o BLEND

- +

o REPLACE

- +

o ADD

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

- -

oMode getMode() const + +
oMode getMode() const

- +

ovoid setColor( const Vec4& color )

- +

oVec4& getColor()

- +

oconst Vec4& getColor() const

- +

ovirtual void apply(State& state) const

- +

ovirtual ~TexEnv( void )

- -

oMode _mode + +
oMode _mode

- +

oosg::Vec4 _color

diff --git a/doc/doc++/osg/TexEnvCombine.html b/doc/doc++/osg/TexEnvCombine.html index e20a1a7df..1dacc5f02 100644 --- a/doc/doc++/osg/TexEnvCombine.html +++ b/doc/doc++/osg/TexEnvCombine.html @@ -23,144 +23,144 @@

Public Methods

-[more] TexEnvCombine() +[more] TexEnvCombine()
-[more] TexEnvCombine(const TexEnvCombine& texenv, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] TexEnvCombine(const TexEnvCombine& texenv, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, TexEnvCombine, TEXENV) +[more] META_StateAttribute(osg, TexEnvCombine, TEXENV)
-[more]virtual bool isTextureAttribute() const +[more]virtual bool isTextureAttribute() const
-[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]void setCombine_RGB(GLint cm) +[more]void setCombine_RGB(GLint cm)
-[more]void setCombine_Alpha(GLint cm) +[more]void setCombine_Alpha(GLint cm)
-[more]GLint getCombine_RGB() const +[more]GLint getCombine_RGB() const
-[more]GLint getCombine_Alpha() const +[more]GLint getCombine_Alpha() const
-[more]void setSource0_RGB(GLint sp) +[more]void setSource0_RGB(GLint sp)
-[more]void setSource1_RGB(GLint sp) +[more]void setSource1_RGB(GLint sp)
-[more]void setSource2_RGB(GLint sp) +[more]void setSource2_RGB(GLint sp)
-[more]void setSource0_Alpha(GLint sp) +[more]void setSource0_Alpha(GLint sp)
-[more]void setSource1_Alpha(GLint sp) +[more]void setSource1_Alpha(GLint sp)
-[more]void setSource2_Alpha(GLint sp) +[more]void setSource2_Alpha(GLint sp)
-[more]GLint getSource0_RGB() const +[more]GLint getSource0_RGB() const
-[more]GLint getSource1_RGB() const +[more]GLint getSource1_RGB() const
-[more]GLint getSource2_RGB() const +[more]GLint getSource2_RGB() const
-[more]GLint getSource0_Alpha() const +[more]GLint getSource0_Alpha() const
-[more]GLint getSource1_Alpha() const +[more]GLint getSource1_Alpha() const
-[more]GLint getSource2_Alpha() const +[more]GLint getSource2_Alpha() const
-[more]void setOperand0_RGB(GLint op) +[more]void setOperand0_RGB(GLint op)
-[more]void setOperand1_RGB(GLint op) +[more]void setOperand1_RGB(GLint op)
-[more]void setOperand2_RGB(GLint op) +[more]void setOperand2_RGB(GLint op)
-[more]void setOperand0_Alpha(GLint op) +[more]void setOperand0_Alpha(GLint op)
-[more]void setOperand1_Alpha(GLint op) +[more]void setOperand1_Alpha(GLint op)
-[more]void setOperand2_Alpha(GLint op) +[more]void setOperand2_Alpha(GLint op)
-[more]GLint getOperand0_RGB() const +[more]GLint getOperand0_RGB() const
-[more]GLint getOperand1_RGB() const +[more]GLint getOperand1_RGB() const
-[more]GLint getOperand2_RGB() const +[more]GLint getOperand2_RGB() const
-[more]GLint getOperand0_Alpha() const +[more]GLint getOperand0_Alpha() const
-[more]GLint getOperand1_Alpha() const +[more]GLint getOperand1_Alpha() const
-[more]GLint getOperand2_Alpha() const +[more]GLint getOperand2_Alpha() const
-[more]void setScale_RGB(float scale) +[more]void setScale_RGB(float scale)
-[more]void setScale_Alpha(float scale) +[more]void setScale_Alpha(float scale)
-[more]float getScale_RGB() const +[more]float getScale_RGB() const
-[more]float getScale_Alpha() const +[more]float getScale_Alpha() const
-[more]void setConstantColor( const Vec4& color ) +[more]void setConstantColor( const Vec4& color )
-[more]const Vec4& getConstantColor() const +[more]const Vec4& getConstantColor() const
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

Public Members

-[more]enum CombineParam +[more]enum CombineParam
-[more]enum SourceParam +[more]enum SourceParam
-[more]enum OperandParam +[more]enum OperandParam

Protected Fields

-[more]bool _needsTexEnvCrossbar +[more]bool _needsTexEnvCrossbar
-[more]GLint _combine_RGB +[more]GLint _combine_RGB
-[more]GLint _combine_Alpha +[more]GLint _combine_Alpha
-[more]GLint _source0_RGB +[more]GLint _source0_RGB
-[more]GLint _source1_RGB +[more]GLint _source1_RGB
-[more]GLint _source2_RGB +[more]GLint _source2_RGB
-[more]GLint _source0_Alpha +[more]GLint _source0_Alpha
-[more]GLint _source1_Alpha +[more]GLint _source1_Alpha
-[more]GLint _source2_Alpha +[more]GLint _source2_Alpha
-[more]GLint _operand0_RGB +[more]GLint _operand0_RGB
-[more]GLint _operand1_RGB +[more]GLint _operand1_RGB
-[more]GLint _operand2_RGB +[more]GLint _operand2_RGB
-[more]GLint _operand0_Alpha +[more]GLint _operand0_Alpha
-[more]GLint _operand1_Alpha +[more]GLint _operand1_Alpha
-[more]GLint _operand2_Alpha +[more]GLint _operand2_Alpha
-[more]float _scale_RGB +[more]float _scale_RGB
-[more]float _scale_Alpha +[more]float _scale_Alpha
-[more]osg::Vec4 _constantColor +[more]osg::Vec4 _constantColor

Protected Methods

-[more]virtual ~TexEnvCombine() +[more]virtual ~TexEnvCombine()
-[more]inline bool needsTexEnvCombiner(GLint value) const +[more]inline bool needsTexEnvCombiner(GLint value) const
-[more]void computeNeedoForTexEnvCombiners() +[more]void computeNeedoForTexEnvCombiners()

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

@@ -211,9 +211,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -268,363 +268,363 @@
- +
o TexEnvCombine()

- -

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

- -

o META_StateAttribute(osg, TexEnvCombine, TEXENV) + +
o META_StateAttribute(osg, TexEnvCombine, TEXENV)

- +

ovirtual bool isTextureAttribute() const

- +

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

- +

oenum CombineParam

- +
o REPLACE

- +

o MODULATE

- +

o ADD

- +

o ADD_SIGNED

- +

o INTERPOLATE

- +

o SUBTRACT

- +

o DOT3_RGB

- +

o DOT3_RGBA

- +
ovoid setCombine_RGB(GLint cm)

- +

ovoid setCombine_Alpha(GLint cm)

- +

oGLint getCombine_RGB() const

- +

oGLint getCombine_Alpha() const

- +

oenum SourceParam

- +
o CONSTANT

- +

o PRIMARY_COLOR

- +

o PREVIOUS

- +

o TEXTURE

- +

o TEXTURE0

- +

o TEXTURE1

- +

o TEXTURE2

- +

o TEXTURE3

- +

o TEXTURE4

- +

o TEXTURE5

- +

o TEXTURE6

- +

o TEXTURE7

- +
ovoid setSource0_RGB(GLint sp)

- +

ovoid setSource1_RGB(GLint sp)

- +

ovoid setSource2_RGB(GLint sp)

- +

ovoid setSource0_Alpha(GLint sp)

- +

ovoid setSource1_Alpha(GLint sp)

- +

ovoid setSource2_Alpha(GLint sp)

- +

oGLint getSource0_RGB() const

- +

oGLint getSource1_RGB() const

- +

oGLint getSource2_RGB() const

- +

oGLint getSource0_Alpha() const

- +

oGLint getSource1_Alpha() const

- +

oGLint getSource2_Alpha() const

- +

oenum OperandParam

- +
o SRC_COLOR

- +

o ONE_MINUS_SRC_COLOR

- +

o SRC_ALPHA

- +

o ONE_MINUS_SRC_ALPHA

- +
ovoid setOperand0_RGB(GLint op)

- +

ovoid setOperand1_RGB(GLint op)

- +

ovoid setOperand2_RGB(GLint op)

- +

ovoid setOperand0_Alpha(GLint op)

- +

ovoid setOperand1_Alpha(GLint op)

- +

ovoid setOperand2_Alpha(GLint op)

- +

oGLint getOperand0_RGB() const

- +

oGLint getOperand1_RGB() const

- +

oGLint getOperand2_RGB() const

- +

oGLint getOperand0_Alpha() const

- +

oGLint getOperand1_Alpha() const

- +

oGLint getOperand2_Alpha() const

- -

ovoid setScale_RGB(float scale) + +
ovoid setScale_RGB(float scale)

- -

ovoid setScale_Alpha(float scale) + +
ovoid setScale_Alpha(float scale)

- +

ofloat getScale_RGB() const

- +

ofloat getScale_Alpha() const

- +

ovoid setConstantColor( const Vec4& color )

- +

oconst Vec4& getConstantColor() const

- +

ovirtual void apply(State& state) const

- +

ovirtual ~TexEnvCombine()

- +

oinline bool needsTexEnvCombiner(GLint value) const

- +

ovoid computeNeedoForTexEnvCombiners()

- +

obool _needsTexEnvCrossbar

- +

oGLint _combine_RGB

- +

oGLint _combine_Alpha

- +

oGLint _source0_RGB

- +

oGLint _source1_RGB

- +

oGLint _source2_RGB

- +

oGLint _source0_Alpha

- +

oGLint _source1_Alpha

- +

oGLint _source2_Alpha

- +

oGLint _operand0_RGB

- +

oGLint _operand1_RGB

- +

oGLint _operand2_RGB

- +

oGLint _operand0_Alpha

- +

oGLint _operand1_Alpha

- +

oGLint _operand2_Alpha

- +

ofloat _scale_RGB

- +

ofloat _scale_Alpha

- +

oosg::Vec4 _constantColor

diff --git a/doc/doc++/osg/TexGen.html b/doc/doc++/osg/TexGen.html index b6e441932..b60bccca3 100644 --- a/doc/doc++/osg/TexGen.html +++ b/doc/doc++/osg/TexGen.html @@ -23,57 +23,57 @@

Public Methods

-[more] TexGen() +[more] TexGen()
-[more] TexGen(const TexGen& texgen, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] TexGen(const TexGen& texgen, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, TexGen, TEXGEN) +[more] META_StateAttribute(osg, TexGen, TEXGEN)
-[more]virtual bool isTextureAttribute() const +[more]virtual bool isTextureAttribute() const
-[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const
-[more]inline void setMode( Mode mode ) +[more]inline void setMode( Mode mode )
-[more]Mode getMode() const +[more]Mode getMode() const
-[more]void setPlane(Coord which, const Plane& plane) +[more]void setPlane(Coord which, const Plane& plane)
-[more]Plane& getPlane(Coord which) +[more]Plane& getPlane(Coord which)
-[more]const Plane& getPlane(Coord which) const +[more]const Plane& getPlane(Coord which) const

Public Members

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

Protected Fields

-[more]Mode _mode +[more]Mode _mode
-[more]Plane _plane_s +[more]Plane _plane_s
additional texgen coefficents for GL_OBJECT_PLANE or GL_EYE_PLANE,
-[more]Plane _plane_t +[more]Plane _plane_t
-[more]Plane _plane_r +[more]Plane _plane_r
-[more]Plane _plane_q +[more]Plane _plane_q

Protected Methods

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

@@ -91,7 +91,7 @@
ovirtual const char* className() const
-ovirtual Type getType() const +ovirtual Type getType() const
obool operator < (const StateAttribute& rhs) const
@@ -122,9 +122,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -179,126 +179,126 @@
- +
o TexGen()

- -

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

- -

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

- +

ovirtual bool isTextureAttribute() const

- +

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

- -

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

- +

ovirtual void apply(State& state) const

- +

oenum Mode

- +
o OBJECT_LINEAR

- +

o EYE_LINEAR

- +

o SPHERE_MAP

- +

o NORMAL_MAP

- +

o REFLECTION_MAP

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

- -

oMode getMode() const + +
oMode getMode() const

- +

oenum Coord

- +
o S

- +

o T

- +

o R

- +

o Q

- -
ovoid setPlane(Coord which, const Plane& plane) + +
ovoid setPlane(Coord which, const Plane& plane)

- -

oPlane& getPlane(Coord which) + +
oPlane& getPlane(Coord which)

- -

oconst Plane& getPlane(Coord which) const + +
oconst Plane& getPlane(Coord which) const

- +

ovirtual ~TexGen( void )

- -

oMode _mode + +
oMode _mode

- +

oPlane _plane_s
additional texgen coefficents for GL_OBJECT_PLANE or GL_EYE_PLANE,

- +

oPlane _plane_t

- +

oPlane _plane_r

- +

oPlane _plane_q

diff --git a/doc/doc++/osg/TexMat.html b/doc/doc++/osg/TexMat.html index 18ff069db..1f3709d80 100644 --- a/doc/doc++/osg/TexMat.html +++ b/doc/doc++/osg/TexMat.html @@ -23,39 +23,39 @@

Public Methods

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

Protected Fields

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

Protected Methods

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

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

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

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -163,53 +163,53 @@
- +
o TexMat()

- -

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

- -

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

- +

ovirtual bool isTextureAttribute() const

- +

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

- +

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

- +

oinline Matrix& getMatrix()
Get the texture matrix

- +

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

- +

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

- +

ovirtual ~TexMat( void )

- +

oMatrix _matrix

diff --git a/doc/doc++/osg/Texture.html b/doc/doc++/osg/Texture.html index 5702732c9..361fe085d 100644 --- a/doc/doc++/osg/Texture.html +++ b/doc/doc++/osg/Texture.html @@ -23,197 +23,197 @@

Public Fields

-[more]mutable TextureObjectBuffer _textureObjectBuffer +[more]mutable TextureObjectBuffer _textureObjectBuffer

Public Methods

-[more] Texture() +[more] Texture()
-[more] Texture(const Texture& text, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Texture(const Texture& text, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more]virtual osg::Object* cloneType() const = 0 +[more]virtual osg::Object* cloneType() const = 0
-[more]virtual osg::Object* clone(const CopyOp& copyop) const = 0 +[more]virtual osg::Object* clone(const CopyOp& copyop) const = 0
-[more]virtual bool isSameKindAs(const osg::Object* obj) const +[more]virtual bool isSameKindAs(const osg::Object* obj) const
-[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
-[more]virtual const char* className() const +[more]virtual const char* className() const
-[more]virtual Type getType() const +[more]virtual Type getType() const
-[more]virtual bool isTextureAttribute() const +[more]virtual bool isTextureAttribute() const
-[more]void setWrap(WrapParameter which, WrapMode wrap) +[more]void setWrap(WrapParameter which, WrapMode wrap)
Set the texture wrap mode
-[more]WrapMode getWrap(WrapParameter which) const +[more]WrapMode getWrap(WrapParameter which) const
Get the texture wrap mode
-[more]void setBorderColor(const Vec4& color) +[more]void setBorderColor(const Vec4& color)
Sets the border color for this texture.
-[more]const Vec4& getBorderColor() const +[more]const Vec4& getBorderColor() const
-[more]void setFilter(FilterParameter which, FilterMode filter) +[more]void setFilter(FilterParameter which, FilterMode filter)
Set the texture filter mode
-[more]FilterMode getFilter(FilterParameter which) const +[more]FilterMode getFilter(FilterParameter which) const
Get the texture filter mode
-[more]void setMaxAnisotropy(float anis) +[more]void setMaxAnisotropy(float anis)
Set the maximum anisotropy value, default value is 10 for no anisotropic filtering.
-[more]inline float getMaxAnisotropy() const +[more]inline float getMaxAnisotropy() const
Get the maximum anisotropy value
-[more]inline void setUseHardwareMipMapGeneration(bool useHardwareMipMapGeneration) +[more]inline void setUseHardwareMipMapGeneration(bool useHardwareMipMapGeneration)
Set the hint of whether to use hardware mip map generation where available
-[more]inline bool getUseHardwareMipMapGeneration() const +[more]inline bool getUseHardwareMipMapGeneration() const
Get the hint of whether to use hardware mip map generation where available
-[more]inline void setUnRefImageDataAfterApply(bool flag) +[more]inline void setUnRefImageDataAfterApply(bool flag)
Set the automatic unreference of image data after the texture has been set up in apply, on (true) or off (false).
-[more]inline bool getUnRefImageDataAfterApply() const +[more]inline bool getUnRefImageDataAfterApply() const
Get the automatic unreference of image data after the texture has been set up in apply
-[more]inline void setInternalFormatMode(InternalFormatMode mode) +[more]inline void setInternalFormatMode(InternalFormatMode mode)
Set the internal format mode.
-[more]inline InternalFormatMode getInternalFormatMode() const +[more]inline InternalFormatMode getInternalFormatMode() const
Get the internal format mode
-[more]inline void setInternalFormat(GLint internalFormat) +[more]inline void setInternalFormat(GLint internalFormat)
Set the internal format to use when creating OpenGL textures.
-[more]inline GLint getInternalFormat() const +[more]inline GLint getInternalFormat() const
Get the internal format to use when creating OpenGL textures
-[more]bool isCompressedInternalFormat() const +[more]bool isCompressedInternalFormat() const
-[more]inline TextureObject* getTextureObject(unsigned int contextID) const +[more]inline TextureObject* getTextureObject(unsigned int contextID) const
Get the handle to the texture object for the current context
-[more]void dirtyTextureObject() +[more]void dirtyTextureObject()
Force a recompile on next apply() of associated OpenGL texture objects
-[more]bool areAllTextureObjectsLoaded() const +[more]bool areAllTextureObjectsLoaded() const
return true if the texture objects for all the required graphics contexts are loaded
-[more]inline unsigned int& getTextureParameterDirty(unsigned int contextID) const +[more]inline unsigned int& getTextureParameterDirty(unsigned int contextID) const
get the dirty flag for the current contextID
-[more]void dirtyTextureParameters() +[more]void dirtyTextureParameters()
Force a resetting on next apply() of associated OpenGL texture parameters
-[more]virtual void apply(State& state) const = 0 +[more]virtual void apply(State& state) const = 0
Texture is pure virtual base class, apply must be overriden.
-[more]virtual void compile(State& state) const +[more]virtual void compile(State& state) const
Calls apply(state) to compile the texture.
-[more]static Extensions* getExtensions(unsigned int contextID, bool createIfNotInitalized) +[more]static Extensions* getExtensions(unsigned int contextID, bool createIfNotInitalized)
Function to call to get the extension of a specified context.
-[more]static void setExtensions(unsigned int contextID, Extensions* extensions) +[more]static void setExtensions(unsigned int contextID, Extensions* extensions)
setExtensions allows users to override the extensions across graphics contexts.
-[more]void applyTexImage2D_load(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const +[more]void applyTexImage2D_load(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const
Helper method which does the creation of the texture itself, but does not set or use texture binding.
-[more]void applyTexImage2D_subload(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const +[more]void applyTexImage2D_subload(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const
Helper method which subloads images to the texture itself, but does not set or use texture binding.
-[more]void takeTextureObjects(TextureObjectListMap& toblm) +[more]void takeTextureObjects(TextureObjectListMap& toblm)
take the active texture objects from the Texture and place them in the specified TextureObjectListMap
-[more]static void setTextureObjectManager(TextureObjectManager* tom) +[more]static void setTextureObjectManager(TextureObjectManager* tom)
-[more]static TextureObjectManager* getTextureObjectManager() +[more]static TextureObjectManager* getTextureObjectManager()
-[more]static void flushTextureObjects(unsigned int contextID, double currentTime, double& availableTime) +[more]static void flushTextureObjects(unsigned int contextID, double currentTime, double& availableTime)

Public Members

-[more]enum WrapParameter +[more]enum WrapParameter
-[more]enum WrapMode +[more]enum WrapMode
-[more]enum FilterParameter +[more]enum FilterParameter
-[more]enum FilterMode +[more]enum FilterMode
-[more]enum InternalFormatMode +[more]enum InternalFormatMode
class SG_EXPORT Extensions: public osg::Referenced
Extensions class which encapsulates the querring of extensions and associated function pointers, and provide convinience wrappers to check for the extensions or use the associated functions
class TextureObject: public osg::Referenced
-[more]typedef std::list< ref_ptr<TextureObject> > TextureObjectList +[more]typedef std::list< ref_ptr<TextureObject> > TextureObjectList
-[more]typedef std::map<unsigned int, TextureObjectList > TextureObjectListMap +[more]typedef std::map<unsigned int, TextureObjectList > TextureObjectListMap
-[more]typedef buffered_object< ref_ptr<TextureObject> > TextureObjectBuffer +[more]typedef buffered_object< ref_ptr<TextureObject> > TextureObjectBuffer
class SG_EXPORT TextureObjectManager: public osg::Referenced

Protected Fields

-[more]mutable TexParameterDirtyList _texParametersDirtyList +[more]mutable TexParameterDirtyList _texParametersDirtyList
-[more]WrapMode _wrap_s +[more]WrapMode _wrap_s
-[more]WrapMode _wrap_t +[more]WrapMode _wrap_t
-[more]WrapMode _wrap_r +[more]WrapMode _wrap_r
-[more]FilterMode _min_filter +[more]FilterMode _min_filter
-[more]FilterMode _mag_filter +[more]FilterMode _mag_filter
-[more]float _maxAnisotropy +[more]float _maxAnisotropy
-[more]bool _useHardwareMipMapGeneration +[more]bool _useHardwareMipMapGeneration
-[more]bool _unrefImageDataAfterApply +[more]bool _unrefImageDataAfterApply
-[more]Vec4 _borderColor +[more]Vec4 _borderColor
-[more]InternalFormatMode _internalFormatMode +[more]InternalFormatMode _internalFormatMode
-[more]mutable GLint _internalFormat +[more]mutable GLint _internalFormat

Protected Methods

-[more]virtual ~Texture() +[more]virtual ~Texture()
-[more]virtual void computeInternalFormat() const = 0 +[more]virtual void computeInternalFormat() const = 0
-[more]void computeInternalFormatWithImage(const osg::Image& image) const +[more]void computeInternalFormatWithImage(const osg::Image& image) const
-[more]void computeRequiredTextureDimensions(State& state, const osg::Image& image, GLsizei& width, GLsizei& height, GLsizei& numMipmapLevels) const +[more]void computeRequiredTextureDimensions(State& state, const osg::Image& image, GLsizei& width, GLsizei& height, GLsizei& numMipmapLevels) const
-[more]bool isCompressedInternalFormat(GLint internalFormat) const +[more]bool isCompressedInternalFormat(GLint internalFormat) const
-[more]void applyTexParameters(GLenum target, State& state) const +[more]void applyTexParameters(GLenum target, State& state) const
Helper method which does setting of texture paramters.
-[more]int compareTexture(const Texture& rhs) const +[more]int compareTexture(const Texture& rhs) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

Protected Members

-[more]typedef buffered_value<unsigned int> TexParameterDirtyList +[more]typedef buffered_value<unsigned int> TexParameterDirtyList

@@ -229,7 +229,7 @@ class SG_EXPORT TextureObjectManager
obool operator != (const StateAttribute& rhs) const
-ovirtual void getAssociatedModes(std::vector<GLMode>& ) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const

@@ -252,9 +252,9 @@ class SG_EXPORT TextureObjectManager

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -309,162 +309,162 @@ class SG_EXPORT TextureObjectManager
- +
o Texture()

- -

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

- +

ovirtual osg::Object* cloneType() const = 0

- +

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

- +

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

- +

ovirtual const char* libraryName() const

- +

ovirtual const char* className() const

- -

ovirtual Type getType() const + +
ovirtual Type getType() const

- +

ovirtual bool isTextureAttribute() const

- +

oenum WrapParameter

- +
o WRAP_S

- +

o WRAP_T

- +

o WRAP_R

- +
oenum WrapMode

- +
o CLAMP

- +

o CLAMP_TO_EDGE

- +

o CLAMP_TO_BORDER

- +

o REPEAT

- +

o MIRROR

- -
ovoid setWrap(WrapParameter which, WrapMode wrap) + +
ovoid setWrap(WrapParameter which, WrapMode wrap)
Set the texture wrap mode

- -

oWrapMode getWrap(WrapParameter which) const + +
oWrapMode getWrap(WrapParameter which) const
Get the texture wrap mode

- +

ovoid setBorderColor(const Vec4& color)
Sets the border color for this texture. Makes difference only if wrap mode is CLAMP_TO_BORDER

- +

oconst Vec4& getBorderColor() const

- +

oenum FilterParameter

- +
o MIN_FILTER

- +

o MAG_FILTER

- +
oenum FilterMode

- +
o LINEAR

- +

o LINEAR_MIPMAP_LINEAR

- +

o LINEAR_MIPMAP_NEAREST

- +

o NEAREST

- +

o NEAREST_MIPMAP_LINEAR

- +

o NEAREST_MIPMAP_NEAREST

- -
ovoid setFilter(FilterParameter which, FilterMode filter) + +
ovoid setFilter(FilterParameter which, FilterMode filter)
Set the texture filter mode

- -

oFilterMode getFilter(FilterParameter which) const + +
oFilterMode getFilter(FilterParameter which) const
Get the texture filter mode

- +

ovoid setMaxAnisotropy(float anis)
Set the maximum anisotropy value, default value is 10 for no anisotropic filtering. If hardware does not support anisotropic @@ -473,126 +473,126 @@ valid range is 1.0f upwards. The maximum value depends on the graphics system being used.

- +

oinline float getMaxAnisotropy() const
Get the maximum anisotropy value

- +

oinline void setUseHardwareMipMapGeneration(bool useHardwareMipMapGeneration)
Set the hint of whether to use hardware mip map generation where available

- +

oinline bool getUseHardwareMipMapGeneration() const
Get the hint of whether to use hardware mip map generation where available

- +

oinline void setUnRefImageDataAfterApply(bool flag)
Set the automatic unreference of image data after the texture has been set up in apply, on (true) or off (false). If the image data is only referened by this Texture then the image data will be autoamtically deleted.

- +

oinline bool getUnRefImageDataAfterApply() const
Get the automatic unreference of image data after the texture has been set up in apply

- +

oenum InternalFormatMode

- +
o USE_IMAGE_DATA_FORMAT

- +

o USE_USER_DEFINED_FORMAT

- +

o USE_ARB_COMPRESSION

- +

o USE_S3TC_DXT1_COMPRESSION

- +

o USE_S3TC_DXT3_COMPRESSION

- +

o USE_S3TC_DXT5_COMPRESSION

- -
oinline void setInternalFormatMode(InternalFormatMode mode) + +
oinline void setInternalFormatMode(InternalFormatMode mode)
Set the internal format mode. Note, If the mode is set USE_IMAGE_DATA_FORMAT, USE_ARB_COMPRESSION, USE_S3TC_COMPRESSION the internalFormat is automatically selected, and will overwrite the previous _internalFormat.

- -

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

- +

oinline void setInternalFormat(GLint internalFormat)
Set the internal format to use when creating OpenGL textures. Also sets the internalFormatMode to USE_USER_DEFINED_FORMAT.

- +

oinline GLint getInternalFormat() const
Get the internal format to use when creating OpenGL textures

- +

obool isCompressedInternalFormat() const

- +

oinline TextureObject* getTextureObject(unsigned int contextID) const
Get the handle to the texture object for the current context

- +

ovoid dirtyTextureObject()
Force a recompile on next apply() of associated OpenGL texture objects

- +

obool areAllTextureObjectsLoaded() const
return true if the texture objects for all the required graphics contexts are loaded

- +

oinline unsigned int& getTextureParameterDirty(unsigned int contextID) const
get the dirty flag for the current contextID

- +

ovoid dirtyTextureParameters()
Force a resetting on next apply() of associated OpenGL texture parameters

- +

ovirtual void apply(State& state) const = 0
Texture is pure virtual base class, apply must be overriden.

- +

ovirtual void compile(State& state) const
Calls apply(state) to compile the texture.

- +

ostatic Extensions* getExtensions(unsigned int contextID, bool createIfNotInitalized)
Function to call to get the extension of a specified context. If the Exentsion object for that context has not yet been created then @@ -602,137 +602,137 @@ automatically created. However, in this case the extension object only be created with the graphics context associated with ContextID..

- +

ostatic void setExtensions(unsigned int contextID, Extensions* extensions)
setExtensions allows users to override the extensions across graphics contexts. typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions.

- -

ovoid applyTexImage2D_load(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const + +
ovoid applyTexImage2D_load(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const
Helper method which does the creation of the texture itself, but does not set or use texture binding. Note, do not call this method directly unless you are implementing your own Subload callback

- -

ovoid applyTexImage2D_subload(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const + +
ovoid applyTexImage2D_subload(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const
Helper method which subloads images to the texture itself, but does not set or use texture binding. Note, do not call this method directly unless you are implementing your own Subload callback

- +

ovirtual ~Texture()

- +

ovirtual void computeInternalFormat() const = 0

- +

ovoid computeInternalFormatWithImage(const osg::Image& image) const

- -

ovoid computeRequiredTextureDimensions(State& state, const osg::Image& image, GLsizei& width, GLsizei& height, GLsizei& numMipmapLevels) const + +
ovoid computeRequiredTextureDimensions(State& state, const osg::Image& image, GLsizei& width, GLsizei& height, GLsizei& numMipmapLevels) const

- +

obool isCompressedInternalFormat(GLint internalFormat) const

- +

ovoid applyTexParameters(GLenum target, State& state) const
Helper method which does setting of texture paramters.

- +

oint compareTexture(const Texture& rhs) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

- +

otypedef buffered_value<unsigned int> TexParameterDirtyList

- -

omutable TexParameterDirtyList _texParametersDirtyList + +
omutable TexParameterDirtyList _texParametersDirtyList

- -

oWrapMode _wrap_s + +
oWrapMode _wrap_s

- -

oWrapMode _wrap_t + +
oWrapMode _wrap_t

- -

oWrapMode _wrap_r + +
oWrapMode _wrap_r

- -

oFilterMode _min_filter + +
oFilterMode _min_filter

- -

oFilterMode _mag_filter + +
oFilterMode _mag_filter

- +

ofloat _maxAnisotropy

- +

obool _useHardwareMipMapGeneration

- +

obool _unrefImageDataAfterApply

- +

oVec4 _borderColor

- -

oInternalFormatMode _internalFormatMode + +
oInternalFormatMode _internalFormatMode

- +

omutable GLint _internalFormat

- +

otypedef std::list< ref_ptr<TextureObject> > TextureObjectList

- -

otypedef std::map<unsigned int, TextureObjectList > TextureObjectListMap + +
otypedef std::map<unsigned int, TextureObjectList > TextureObjectListMap

- -

ovoid takeTextureObjects(TextureObjectListMap& toblm) + +
ovoid takeTextureObjects(TextureObjectListMap& toblm)
take the active texture objects from the Texture and place them in the specified TextureObjectListMap

- +

otypedef buffered_object< ref_ptr<TextureObject> > TextureObjectBuffer

- -

omutable TextureObjectBuffer _textureObjectBuffer + +
omutable TextureObjectBuffer _textureObjectBuffer

- +

ostatic void setTextureObjectManager(TextureObjectManager* tom)

- +

ostatic TextureObjectManager* getTextureObjectManager()

- +

ostatic void flushTextureObjects(unsigned int contextID, double currentTime, double& availableTime)


diff --git a/doc/doc++/osg/Texture1D.html b/doc/doc++/osg/Texture1D.html index a019aed3a..886dd6ded 100644 --- a/doc/doc++/osg/Texture1D.html +++ b/doc/doc++/osg/Texture1D.html @@ -23,54 +23,54 @@

Public Methods

-[more] Texture1D() +[more] Texture1D()
-[more] Texture1D(const Texture1D& text, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Texture1D(const Texture1D& text, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, Texture1D, TEXTURE) +[more] META_StateAttribute(osg, Texture1D, TEXTURE)
-[more]virtual int compare(const StateAttribute& rhs) const +[more]virtual int compare(const StateAttribute& rhs) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
-[more]void setImage(Image* image) +[more]void setImage(Image* image)
Set the texture image.
-[more]Image* getImage() +[more]Image* getImage()
Get the texture image.
-[more]inline const Image* getImage() const +[more]inline const Image* getImage() const
Get the const texture image.
-[more]inline unsigned int& getModifiedTag(unsigned int contextID) const +[more]inline unsigned int& getModifiedTag(unsigned int contextID) const
-[more]inline void setTextureSize(int width) const +[more]inline void setTextureSize(int width) const
Set the texture width and height.
-[more]inline void getTextureSize(int& width) const +[more]inline void getTextureSize(int& width) const
Get the texture subload width.
-[more]void setSubloadCallback(SubloadCallback* cb) +[more]void setSubloadCallback(SubloadCallback* cb)
-[more]SubloadCallback* getSubloadCallback() +[more]SubloadCallback* getSubloadCallback()
-[more]const SubloadCallback* getSubloadCallback() const +[more]const SubloadCallback* getSubloadCallback() const
-[more]void setNumMipmapLevels(unsigned int num) const +[more]void setNumMipmapLevels(unsigned int num) const
Set the number of mip map levels the the texture has been created with, should only be called within an osg::Texuture::apply() and custom OpenGL texture load
-[more]unsigned int getNumMipmapLevels() const +[more]unsigned int getNumMipmapLevels() const
Get the number of mip map levels the the texture has been created with
-[more]void copyTexImage1D(State& state, int x, int y, int width) +[more]void copyTexImage1D(State& state, int x, int y, int width)
Copy pixels into a 1D texture imageAs per glCopyTexImage1D.
-[more]void copyTexSubImage1D(State& state, int xoffset, int x, int y, int width) +[more]void copyTexSubImage1D(State& state, int xoffset, int x, int y, int width)
Copy a one-dimensional texture subimage.
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const
On first apply (unless already compiled), create the minmapped texture and bind it, subsequent apply will simple bind to texture

@@ -81,30 +81,30 @@ class SG_EXPORT SubloadCallback: publ

Protected Fields

-[more]mutable ref_ptr<Image> _image +[more]mutable ref_ptr<Image> _image
-[more]mutable GLsizei _textureWidth +[more]mutable GLsizei _textureWidth
-[more]mutable GLsizei _numMipmapLevels +[more]mutable GLsizei _numMipmapLevels
-[more]ref_ptr<SubloadCallback> _subloadCallback +[more]ref_ptr<SubloadCallback> _subloadCallback
-[more]mutable ImageModifiedTag _modifiedTag +[more]mutable ImageModifiedTag _modifiedTag

Protected Methods

-[more]virtual ~Texture1D() +[more]virtual ~Texture1D()
-[more]virtual void computeInternalFormat() const +[more]virtual void computeInternalFormat() const
-[more]void applyTexImage1D(GLenum target, Image* image, State& state, GLsizei& width, GLsizei& numMipmapLevels) const +[more]void applyTexImage1D(GLenum target, Image* image, State& state, GLsizei& width, GLsizei& numMipmapLevels) const
Helper method which does the creation of the texture itself, and does not set or use texture binding.

Protected Members

-[more]typedef buffered_value<unsigned int> ImageModifiedTag +[more]typedef buffered_value<unsigned int> ImageModifiedTag

@@ -112,7 +112,7 @@ class SG_EXPORT SubloadCallback: publ

Public Fields

-omutable TextureObjectBuffer _textureObjectBuffer +omutable TextureObjectBuffer _textureObjectBuffer

@@ -127,21 +127,21 @@ class SG_EXPORT SubloadCallback: publ
ovirtual const char* className() const
-ovirtual Type getType() const +ovirtual Type getType() const
ovirtual bool isTextureAttribute() const
-ovoid setWrap(WrapParameter which, WrapMode wrap) +ovoid setWrap(WrapParameter which, WrapMode wrap)
-oWrapMode getWrap(WrapParameter which) const +oWrapMode getWrap(WrapParameter which) const
ovoid setBorderColor(const Vec4& color)
oconst Vec4& getBorderColor() const
-ovoid setFilter(FilterParameter which, FilterMode filter) +ovoid setFilter(FilterParameter which, FilterMode filter)
-oFilterMode getFilter(FilterParameter which) const +oFilterMode getFilter(FilterParameter which) const
ovoid setMaxAnisotropy(float anis)
@@ -155,9 +155,9 @@ class SG_EXPORT SubloadCallback: publ
oinline bool getUnRefImageDataAfterApply() const
-oinline void setInternalFormatMode(InternalFormatMode mode) +oinline void setInternalFormatMode(InternalFormatMode mode)
-oinline InternalFormatMode getInternalFormatMode() const +oinline InternalFormatMode getInternalFormatMode() const
oinline void setInternalFormat(GLint internalFormat)
@@ -181,11 +181,11 @@ class SG_EXPORT SubloadCallback: publ
ostatic void setExtensions(unsigned int contextID, Extensions* extensions)
-ovoid applyTexImage2D_load(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const +ovoid applyTexImage2D_load(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const
-ovoid applyTexImage2D_subload(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const +ovoid applyTexImage2D_subload(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const
-ovoid takeTextureObjects(TextureObjectListMap& toblm) +ovoid takeTextureObjects(TextureObjectListMap& toblm)
ostatic void setTextureObjectManager(TextureObjectManager* tom)
@@ -213,7 +213,7 @@ class TextureObject: public otypedef std::list< ref_ptr<TextureObject> > TextureObjectList
-otypedef std::map<unsigned int, TextureObjectList > TextureObjectListMap +otypedef std::map<unsigned int, TextureObjectList > TextureObjectListMap
otypedef buffered_object< ref_ptr<TextureObject> > TextureObjectBuffer
@@ -222,17 +222,17 @@ class SG_EXPORT TextureObjectManager

Protected Fields

-omutable TexParameterDirtyList _texParametersDirtyList +omutable TexParameterDirtyList _texParametersDirtyList
-oWrapMode _wrap_s +oWrapMode _wrap_s
-oWrapMode _wrap_t +oWrapMode _wrap_t
-oWrapMode _wrap_r +oWrapMode _wrap_r
-oFilterMode _min_filter +oFilterMode _min_filter
-oFilterMode _mag_filter +oFilterMode _mag_filter
ofloat _maxAnisotropy
@@ -242,7 +242,7 @@ class SG_EXPORT TextureObjectManager
oVec4 _borderColor
-oInternalFormatMode _internalFormatMode +oInternalFormatMode _internalFormatMode
omutable GLint _internalFormat

@@ -251,7 +251,7 @@ class SG_EXPORT TextureObjectManager

Protected Methods

ovoid computeInternalFormatWithImage(const osg::Image& image) const
-ovoid computeRequiredTextureDimensions(State& state, const osg::Image& image, GLsizei& width, GLsizei& height, GLsizei& numMipmapLevels) const +ovoid computeRequiredTextureDimensions(State& state, const osg::Image& image, GLsizei& width, GLsizei& height, GLsizei& numMipmapLevels) const
obool isCompressedInternalFormat(GLint internalFormat) const
@@ -297,9 +297,9 @@ class SG_EXPORT TextureObjectManager

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -315,7 +315,7 @@ class SG_EXPORT TextureObjectManager

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -354,137 +354,137 @@ class SG_EXPORT TextureObjectManager
- +
o Texture1D()

- -

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

- -

o META_StateAttribute(osg, Texture1D, TEXTURE) + +
o META_StateAttribute(osg, Texture1D, TEXTURE)

- +

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

- -

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

- +

ovoid setImage(Image* image)
Set the texture image.

- +

oImage* getImage()
Get the texture image.

- +

oinline const Image* getImage() const
Get the const texture image.

- +

oinline unsigned int& getModifiedTag(unsigned int contextID) const

- -

oinline void setTextureSize(int width) const + +
oinline void setTextureSize(int width) const
Set the texture width and height. If width or height are zero then the repsective size value is calculated from the source image sizes.

- -

oinline void getTextureSize(int& width) const + +
oinline void getTextureSize(int& width) const
Get the texture subload width.

- +

ovoid setSubloadCallback(SubloadCallback* cb)

- +

oSubloadCallback* getSubloadCallback()

- +

oconst SubloadCallback* getSubloadCallback() const

- +

ovoid setNumMipmapLevels(unsigned int num) const
Set the number of mip map levels the the texture has been created with, should only be called within an osg::Texuture::apply() and custom OpenGL texture load

- +

ounsigned int getNumMipmapLevels() const
Get the number of mip map levels the the texture has been created with

- -

ovoid copyTexImage1D(State& state, int x, int y, int width) + +
ovoid copyTexImage1D(State& state, int x, int y, int width)
Copy pixels into a 1D texture imageAs per glCopyTexImage1D. Creates an OpenGL texture object from the current OpenGL background framebuffer contents at pos \a x, \a y with width \a width. \a width must be a power of two.

- -

ovoid copyTexSubImage1D(State& state, int xoffset, int x, int y, int width) + +
ovoid copyTexSubImage1D(State& state, int xoffset, int x, int y, int width)
Copy a one-dimensional texture subimage. As per glCopyTexSubImage1D. Updates portion of an existing OpenGL texture object from the current OpenGL background framebuffer contents at pos \a x, \a y with width \a width.

- +

ovirtual void apply(State& state) const
On first apply (unless already compiled), create the minmapped texture and bind it, subsequent apply will simple bind to texture

- +

ovirtual ~Texture1D()

- +

ovirtual void computeInternalFormat() const

- -

ovoid applyTexImage1D(GLenum target, Image* image, State& state, GLsizei& width, GLsizei& numMipmapLevels) const + +
ovoid applyTexImage1D(GLenum target, Image* image, State& state, GLsizei& width, GLsizei& numMipmapLevels) const
Helper method which does the creation of the texture itself, and does not set or use texture binding.

- +

omutable ref_ptr<Image> _image

- +

omutable GLsizei _textureWidth

- +

omutable GLsizei _numMipmapLevels

- +

oref_ptr<SubloadCallback> _subloadCallback

- +

otypedef buffered_value<unsigned int> ImageModifiedTag

- -

omutable ImageModifiedTag _modifiedTag + +
omutable ImageModifiedTag _modifiedTag


This class has no child classes.
diff --git a/doc/doc++/osg/Texture2D.html b/doc/doc++/osg/Texture2D.html index f55cc9fb0..98523b1b0 100644 --- a/doc/doc++/osg/Texture2D.html +++ b/doc/doc++/osg/Texture2D.html @@ -23,59 +23,59 @@

Public Methods

-[more] Texture2D() +[more] Texture2D()
-[more] Texture2D(osg::Image* image) +[more] Texture2D(osg::Image* image)
-[more] Texture2D(const Texture2D& text, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Texture2D(const Texture2D& text, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, Texture2D, TEXTURE) +[more] META_StateAttribute(osg, Texture2D, TEXTURE)
-[more]virtual int compare(const StateAttribute& rhs) const +[more]virtual int compare(const StateAttribute& rhs) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
-[more]void setImage(Image* image) +[more]void setImage(Image* image)
Set the texture image.
-[more]Image* getImage() +[more]Image* getImage()
Get the texture image.
-[more]inline const Image* getImage() const +[more]inline const Image* getImage() const
Get the const texture image.
-[more]inline unsigned int& getModifiedTag(unsigned int contextID) const +[more]inline unsigned int& getModifiedTag(unsigned int contextID) const
-[more]inline void setTextureSize(int width, int height) const +[more]inline void setTextureSize(int width, int height) const
Set the texture width and height.
-[more]int getTextureWidth() const +[more]int getTextureWidth() const
-[more]int getTextureHeight() const +[more]int getTextureHeight() const
-[more]inline void getTextureSize(int& width, int& height) const +[more]inline void getTextureSize(int& width, int& height) const
-[more]void setSubloadCallback(SubloadCallback* cb) +[more]void setSubloadCallback(SubloadCallback* cb)
-[more]SubloadCallback* getSubloadCallback() +[more]SubloadCallback* getSubloadCallback()
-[more]const SubloadCallback* getSubloadCallback() const +[more]const SubloadCallback* getSubloadCallback() const
-[more]void setNumMipmapLevels(unsigned int num) const +[more]void setNumMipmapLevels(unsigned int num) const
Set the number of mip map levels the the texture has been created with, should only be called within an osg::Texuture::apply() and custom OpenGL texture load
-[more]unsigned int getNumMipmapLevels() const +[more]unsigned int getNumMipmapLevels() const
Get the number of mip map levels the the texture has been created with
-[more]void copyTexImage2D(State& state, int x, int y, int width, int height ) +[more]void copyTexImage2D(State& state, int x, int y, int width, int height )
Copy pixels into a 2D texture imageAs per glCopyTexImage2D.
-[more]void copyTexSubImage2D(State& state, int xoffset, int yoffset, int x, int y, int width, int height ) +[more]void copyTexSubImage2D(State& state, int xoffset, int yoffset, int x, int y, int width, int height )
Copy a two-dimensional texture subimage.
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const
On first apply (unless already compiled), create the minmapped texture and bind it, subsequent apply will simple bind to texture

@@ -86,29 +86,29 @@ class SG_EXPORT SubloadCallback: pu

Protected Fields

-[more]ref_ptr<Image> _image +[more]ref_ptr<Image> _image
-[more]mutable GLsizei _textureWidth +[more]mutable GLsizei _textureWidth
-[more]mutable GLsizei _textureHeight +[more]mutable GLsizei _textureHeight
-[more]mutable GLsizei _numMipmapLevels +[more]mutable GLsizei _numMipmapLevels
-[more]ref_ptr<SubloadCallback> _subloadCallback +[more]ref_ptr<SubloadCallback> _subloadCallback
-[more]mutable ImageModifiedTag _modifiedTag +[more]mutable ImageModifiedTag _modifiedTag

Protected Methods

-[more]virtual ~Texture2D() +[more]virtual ~Texture2D()
-[more]virtual void computeInternalFormat() const +[more]virtual void computeInternalFormat() const

Protected Members

-[more]typedef buffered_value<unsigned int> ImageModifiedTag +[more]typedef buffered_value<unsigned int> ImageModifiedTag

@@ -116,7 +116,7 @@ class SG_EXPORT SubloadCallback: pu

Public Fields

-omutable TextureObjectBuffer _textureObjectBuffer +omutable TextureObjectBuffer _textureObjectBuffer

@@ -131,21 +131,21 @@ class SG_EXPORT SubloadCallback: pu
ovirtual const char* className() const
-ovirtual Type getType() const +ovirtual Type getType() const
ovirtual bool isTextureAttribute() const
-ovoid setWrap(WrapParameter which, WrapMode wrap) +ovoid setWrap(WrapParameter which, WrapMode wrap)
-oWrapMode getWrap(WrapParameter which) const +oWrapMode getWrap(WrapParameter which) const
ovoid setBorderColor(const Vec4& color)
oconst Vec4& getBorderColor() const
-ovoid setFilter(FilterParameter which, FilterMode filter) +ovoid setFilter(FilterParameter which, FilterMode filter)
-oFilterMode getFilter(FilterParameter which) const +oFilterMode getFilter(FilterParameter which) const
ovoid setMaxAnisotropy(float anis)
@@ -159,9 +159,9 @@ class SG_EXPORT SubloadCallback: pu
oinline bool getUnRefImageDataAfterApply() const
-oinline void setInternalFormatMode(InternalFormatMode mode) +oinline void setInternalFormatMode(InternalFormatMode mode)
-oinline InternalFormatMode getInternalFormatMode() const +oinline InternalFormatMode getInternalFormatMode() const
oinline void setInternalFormat(GLint internalFormat)
@@ -185,11 +185,11 @@ class SG_EXPORT SubloadCallback: pu
ostatic void setExtensions(unsigned int contextID, Extensions* extensions)
-ovoid applyTexImage2D_load(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const +ovoid applyTexImage2D_load(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const
-ovoid applyTexImage2D_subload(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const +ovoid applyTexImage2D_subload(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const
-ovoid takeTextureObjects(TextureObjectListMap& toblm) +ovoid takeTextureObjects(TextureObjectListMap& toblm)
ostatic void setTextureObjectManager(TextureObjectManager* tom)
@@ -217,7 +217,7 @@ class TextureObject: public otypedef std::list< ref_ptr<TextureObject> > TextureObjectList
-otypedef std::map<unsigned int, TextureObjectList > TextureObjectListMap +otypedef std::map<unsigned int, TextureObjectList > TextureObjectListMap
otypedef buffered_object< ref_ptr<TextureObject> > TextureObjectBuffer
@@ -226,17 +226,17 @@ class SG_EXPORT TextureObjectManager

Protected Fields

-omutable TexParameterDirtyList _texParametersDirtyList +omutable TexParameterDirtyList _texParametersDirtyList
-oWrapMode _wrap_s +oWrapMode _wrap_s
-oWrapMode _wrap_t +oWrapMode _wrap_t
-oWrapMode _wrap_r +oWrapMode _wrap_r
-oFilterMode _min_filter +oFilterMode _min_filter
-oFilterMode _mag_filter +oFilterMode _mag_filter
ofloat _maxAnisotropy
@@ -246,7 +246,7 @@ class SG_EXPORT TextureObjectManager
oVec4 _borderColor
-oInternalFormatMode _internalFormatMode +oInternalFormatMode _internalFormatMode
omutable GLint _internalFormat

@@ -255,7 +255,7 @@ class SG_EXPORT TextureObjectManager

Protected Methods

ovoid computeInternalFormatWithImage(const osg::Image& image) const
-ovoid computeRequiredTextureDimensions(State& state, const osg::Image& image, GLsizei& width, GLsizei& height, GLsizei& numMipmapLevels) const +ovoid computeRequiredTextureDimensions(State& state, const osg::Image& image, GLsizei& width, GLsizei& height, GLsizei& numMipmapLevels) const
obool isCompressedInternalFormat(GLint internalFormat) const
@@ -301,9 +301,9 @@ class SG_EXPORT TextureObjectManager

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -319,7 +319,7 @@ class SG_EXPORT TextureObjectManager

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -358,102 +358,102 @@ class SG_EXPORT TextureObjectManager
- +
o Texture2D()

- +

o Texture2D(osg::Image* image)

- -

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

- -

o META_StateAttribute(osg, Texture2D, TEXTURE) + +
o META_StateAttribute(osg, Texture2D, TEXTURE)

- +

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

- -

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

- +

ovoid setImage(Image* image)
Set the texture image.

- +

oImage* getImage()
Get the texture image.

- +

oinline const Image* getImage() const
Get the const texture image.

- +

oinline unsigned int& getModifiedTag(unsigned int contextID) const

- -

oinline void setTextureSize(int width, int height) const + +
oinline void setTextureSize(int width, int height) const
Set the texture width and height. If width or height are zero then the repsective size value is calculated from the source image sizes.

- +

oint getTextureWidth() const

- +

oint getTextureHeight() const

- -

oinline void getTextureSize(int& width, int& height) const + +
oinline void getTextureSize(int& width, int& height) const

- +

ovoid setSubloadCallback(SubloadCallback* cb)

- +

oSubloadCallback* getSubloadCallback()

- +

oconst SubloadCallback* getSubloadCallback() const

- +

ovoid setNumMipmapLevels(unsigned int num) const
Set the number of mip map levels the the texture has been created with, should only be called within an osg::Texuture::apply() and custom OpenGL texture load

- +

ounsigned int getNumMipmapLevels() const
Get the number of mip map levels the the texture has been created with

- -

ovoid copyTexImage2D(State& state, int x, int y, int width, int height ) + +
ovoid copyTexImage2D(State& state, int x, int y, int width, int height )
Copy pixels into a 2D texture imageAs per glCopyTexImage2D. Creates an OpenGL texture object from the current OpenGL background framebuffer contents at pos \a x, \a y with width \a width and height \a height. \a width and \a height must be a power of two.

- -

ovoid copyTexSubImage2D(State& state, int xoffset, int yoffset, int x, int y, int width, int height ) + +
ovoid copyTexSubImage2D(State& state, int xoffset, int yoffset, int x, int y, int width, int height )
Copy a two-dimensional texture subimage. As per glCopyTexSubImage2D. Updates portion of an existing OpenGL texture object from the current OpenGL background framebuffer contents at pos \a x, \a y with width \a width and @@ -461,46 +461,46 @@ height \a height. \a width and \a height must be a power of two, and writing into the texture with offset \a xoffset and \a yoffset.

- +

ovirtual void apply(State& state) const
On first apply (unless already compiled), create the minmapped texture and bind it, subsequent apply will simple bind to texture

- +

ovirtual ~Texture2D()

- +

ovirtual void computeInternalFormat() const

- +

oref_ptr<Image> _image

- +

omutable GLsizei _textureWidth

- +

omutable GLsizei _textureHeight

- +

omutable GLsizei _numMipmapLevels

- +

oref_ptr<SubloadCallback> _subloadCallback

- +

otypedef buffered_value<unsigned int> ImageModifiedTag

- -

omutable ImageModifiedTag _modifiedTag + +
omutable ImageModifiedTag _modifiedTag


This class has no child classes.
diff --git a/doc/doc++/osg/Texture3D.html b/doc/doc++/osg/Texture3D.html index 270b2e23b..0e3edcf7b 100644 --- a/doc/doc++/osg/Texture3D.html +++ b/doc/doc++/osg/Texture3D.html @@ -23,57 +23,57 @@

Public Methods

-[more] Texture3D() +[more] Texture3D()
-[more] Texture3D(const Texture3D& text, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Texture3D(const Texture3D& text, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, Texture3D, TEXTURE) +[more] META_StateAttribute(osg, Texture3D, TEXTURE)
-[more]virtual int compare(const StateAttribute& rhs) const +[more]virtual int compare(const StateAttribute& rhs) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
-[more]void setImage(Image* image) +[more]void setImage(Image* image)
Set the texture image.
-[more]Image* getImage() +[more]Image* getImage()
Get the texture image.
-[more]inline const Image* getImage() const +[more]inline const Image* getImage() const
Get the const texture image.
-[more]inline unsigned int& getModifiedTag(unsigned int contextID) const +[more]inline unsigned int& getModifiedTag(unsigned int contextID) const
-[more]inline void setTextureSize(int width, int height, int depth) const +[more]inline void setTextureSize(int width, int height, int depth) const
Set the texture width and height.
-[more]inline void getTextureSize(int& width, int& height, int& depth) const +[more]inline void getTextureSize(int& width, int& height, int& depth) const
Get the texture subload width.
-[more]void setSubloadCallback(SubloadCallback* cb) +[more]void setSubloadCallback(SubloadCallback* cb)
-[more]SubloadCallback* getSubloadCallback() +[more]SubloadCallback* getSubloadCallback()
-[more]const SubloadCallback* getSubloadCallback() const +[more]const SubloadCallback* getSubloadCallback() const
-[more]void setNumMipmapLevels(unsigned int num) const +[more]void setNumMipmapLevels(unsigned int num) const
Set the number of mip map levels the the texture has been created with, should only be called within an osg::Texuture::apply() and custom OpenGL texture load
-[more]unsigned int getNumMipmapLevels() const +[more]unsigned int getNumMipmapLevels() const
Get the number of mip map levels the the texture has been created with
-[more]void copyTexSubImage3D(State& state, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height) +[more]void copyTexSubImage3D(State& state, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height)
Copy a two-dimensional texture subimage.
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const
On first apply (unless already compiled), create the minmapped texture and bind it, subsequent apply will simple bind to texture
-[more]static Extensions* getExtensions(unsigned int contextID, bool createIfNotInitalized) +[more]static Extensions* getExtensions(unsigned int contextID, bool createIfNotInitalized)
Function to call to get the extension of a specified context.
-[more]static void setExtensions(unsigned int contextID, Extensions* extensions) +[more]static void setExtensions(unsigned int contextID, Extensions* extensions)
setExtensions allows users to override the extensions across graphics contexts.

@@ -87,33 +87,33 @@ class SG_EXPORT Extensions: public <

Protected Fields

-[more]mutable ref_ptr<Image> _image +[more]mutable ref_ptr<Image> _image
-[more]mutable GLsizei _textureWidth +[more]mutable GLsizei _textureWidth
-[more]mutable GLsizei _textureHeight +[more]mutable GLsizei _textureHeight
-[more]mutable GLsizei _textureDepth +[more]mutable GLsizei _textureDepth
-[more]mutable GLsizei _numMipmapLevels +[more]mutable GLsizei _numMipmapLevels
-[more]ref_ptr<SubloadCallback> _subloadCallback +[more]ref_ptr<SubloadCallback> _subloadCallback
-[more]mutable ImageModifiedTag _modifiedTag +[more]mutable ImageModifiedTag _modifiedTag

Protected Methods

-[more]virtual ~Texture3D() +[more]virtual ~Texture3D()
-[more]virtual void computeInternalFormat() const +[more]virtual void computeInternalFormat() const
-[more]void applyTexImage3D(GLenum target, Image* image, State& state, GLsizei& inwidth, GLsizei& inheight, GLsizei& indepth, GLsizei& numMipmapLevels) const +[more]void applyTexImage3D(GLenum target, Image* image, State& state, GLsizei& inwidth, GLsizei& inheight, GLsizei& indepth, GLsizei& numMipmapLevels) const

Protected Members

-[more]typedef buffered_value<unsigned int> ImageModifiedTag +[more]typedef buffered_value<unsigned int> ImageModifiedTag

@@ -121,7 +121,7 @@ class SG_EXPORT Extensions: public <

Public Fields

-omutable TextureObjectBuffer _textureObjectBuffer +omutable TextureObjectBuffer _textureObjectBuffer

@@ -136,21 +136,21 @@ class SG_EXPORT Extensions: public <
ovirtual const char* className() const
-ovirtual Type getType() const +ovirtual Type getType() const
ovirtual bool isTextureAttribute() const
-ovoid setWrap(WrapParameter which, WrapMode wrap) +ovoid setWrap(WrapParameter which, WrapMode wrap)
-oWrapMode getWrap(WrapParameter which) const +oWrapMode getWrap(WrapParameter which) const
ovoid setBorderColor(const Vec4& color)
oconst Vec4& getBorderColor() const
-ovoid setFilter(FilterParameter which, FilterMode filter) +ovoid setFilter(FilterParameter which, FilterMode filter)
-oFilterMode getFilter(FilterParameter which) const +oFilterMode getFilter(FilterParameter which) const
ovoid setMaxAnisotropy(float anis)
@@ -164,9 +164,9 @@ class SG_EXPORT Extensions: public <
oinline bool getUnRefImageDataAfterApply() const
-oinline void setInternalFormatMode(InternalFormatMode mode) +oinline void setInternalFormatMode(InternalFormatMode mode)
-oinline InternalFormatMode getInternalFormatMode() const +oinline InternalFormatMode getInternalFormatMode() const
oinline void setInternalFormat(GLint internalFormat)
@@ -186,11 +186,11 @@ class SG_EXPORT Extensions: public <
ovirtual void compile(State& state) const
-ovoid applyTexImage2D_load(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const +ovoid applyTexImage2D_load(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const
-ovoid applyTexImage2D_subload(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const +ovoid applyTexImage2D_subload(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const
-ovoid takeTextureObjects(TextureObjectListMap& toblm) +ovoid takeTextureObjects(TextureObjectListMap& toblm)
ostatic void setTextureObjectManager(TextureObjectManager* tom)
@@ -215,7 +215,7 @@ class TextureObject: public otypedef std::list< ref_ptr<TextureObject> > TextureObjectList
-otypedef std::map<unsigned int, TextureObjectList > TextureObjectListMap +otypedef std::map<unsigned int, TextureObjectList > TextureObjectListMap
otypedef buffered_object< ref_ptr<TextureObject> > TextureObjectBuffer
@@ -224,17 +224,17 @@ class SG_EXPORT TextureObjectManager

Protected Fields

-omutable TexParameterDirtyList _texParametersDirtyList +omutable TexParameterDirtyList _texParametersDirtyList
-oWrapMode _wrap_s +oWrapMode _wrap_s
-oWrapMode _wrap_t +oWrapMode _wrap_t
-oWrapMode _wrap_r +oWrapMode _wrap_r
-oFilterMode _min_filter +oFilterMode _min_filter
-oFilterMode _mag_filter +oFilterMode _mag_filter
ofloat _maxAnisotropy
@@ -244,7 +244,7 @@ class SG_EXPORT TextureObjectManager
oVec4 _borderColor
-oInternalFormatMode _internalFormatMode +oInternalFormatMode _internalFormatMode
omutable GLint _internalFormat

@@ -253,7 +253,7 @@ class SG_EXPORT TextureObjectManager

Protected Methods

ovoid computeInternalFormatWithImage(const osg::Image& image) const
-ovoid computeRequiredTextureDimensions(State& state, const osg::Image& image, GLsizei& width, GLsizei& height, GLsizei& numMipmapLevels) const +ovoid computeRequiredTextureDimensions(State& state, const osg::Image& image, GLsizei& width, GLsizei& height, GLsizei& numMipmapLevels) const
obool isCompressedInternalFormat(GLint internalFormat) const
@@ -299,9 +299,9 @@ class SG_EXPORT TextureObjectManager

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -317,7 +317,7 @@ class SG_EXPORT TextureObjectManager

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -356,96 +356,96 @@ class SG_EXPORT TextureObjectManager
- +
o Texture3D()

- -

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

- -

o META_StateAttribute(osg, Texture3D, TEXTURE) + +
o META_StateAttribute(osg, Texture3D, TEXTURE)

- +

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

- -

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

- +

ovoid setImage(Image* image)
Set the texture image.

- +

oImage* getImage()
Get the texture image.

- +

oinline const Image* getImage() const
Get the const texture image.

- +

oinline unsigned int& getModifiedTag(unsigned int contextID) const

- -

oinline void setTextureSize(int width, int height, int depth) const + +
oinline void setTextureSize(int width, int height, int depth) const
Set the texture width and height. If width or height are zero then the repsective size value is calculated from the source image sizes.

- -

oinline void getTextureSize(int& width, int& height, int& depth) const + +
oinline void getTextureSize(int& width, int& height, int& depth) const
Get the texture subload width.

- +

ovoid setSubloadCallback(SubloadCallback* cb)

- +

oSubloadCallback* getSubloadCallback()

- +

oconst SubloadCallback* getSubloadCallback() const

- +

ovoid setNumMipmapLevels(unsigned int num) const
Set the number of mip map levels the the texture has been created with, should only be called within an osg::Texuture::apply() and custom OpenGL texture load

- +

ounsigned int getNumMipmapLevels() const
Get the number of mip map levels the the texture has been created with

- -

ovoid copyTexSubImage3D(State& state, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height) + +
ovoid copyTexSubImage3D(State& state, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height)
Copy a two-dimensional texture subimage. As per glCopyTexSubImage2D. Updates portion of an existing OpenGL texture object from the current OpenGL background framebuffer contents at pos \a x, \a y with width \a width and height \a height.

- +

ovirtual void apply(State& state) const
On first apply (unless already compiled), create the minmapped texture and bind it, subsequent apply will simple bind to texture

- +

ostatic Extensions* getExtensions(unsigned int contextID, bool createIfNotInitalized)
Function to call to get the extension of a specified context. If the Exentsion object for that context has not yet been created then @@ -455,55 +455,55 @@ automatically created. However, in this case the extension object only be created with the graphics context associated with ContextID..

- +

ostatic void setExtensions(unsigned int contextID, Extensions* extensions)
setExtensions allows users to override the extensions across graphics contexts. typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions.

- +

ovirtual ~Texture3D()

- +

ovirtual void computeInternalFormat() const

- +

ovoid applyTexImage3D(GLenum target, Image* image, State& state, GLsizei& inwidth, GLsizei& inheight, GLsizei& indepth, GLsizei& numMipmapLevels) const

- +

omutable ref_ptr<Image> _image

- +

omutable GLsizei _textureWidth

- +

omutable GLsizei _textureHeight

- +

omutable GLsizei _textureDepth

- +

omutable GLsizei _numMipmapLevels

- +

oref_ptr<SubloadCallback> _subloadCallback

- +

otypedef buffered_value<unsigned int> ImageModifiedTag

- -

omutable ImageModifiedTag _modifiedTag + +
omutable ImageModifiedTag _modifiedTag


This class has no child classes.
diff --git a/doc/doc++/osg/TextureCubeMap.html b/doc/doc++/osg/TextureCubeMap.html index caf6ff0cb..1fe7aec26 100644 --- a/doc/doc++/osg/TextureCubeMap.html +++ b/doc/doc++/osg/TextureCubeMap.html @@ -23,60 +23,60 @@

Public Methods

-[more] TextureCubeMap() +[more] TextureCubeMap()
-[more] TextureCubeMap(const TextureCubeMap& cm, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] TextureCubeMap(const TextureCubeMap& cm, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, TextureCubeMap, TEXTURE) +[more] META_StateAttribute(osg, TextureCubeMap, TEXTURE)
-[more]virtual int compare(const StateAttribute& rhs) const +[more]virtual int compare(const StateAttribute& rhs) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
-[more]void setImage(Face, Image* image) +[more]void setImage(Face, Image* image)
Set the texture image for specified face.
-[more]Image* getImage(Face) +[more]Image* getImage(Face)
Get the texture image for specified face.
-[more]const Image* getImage(Face) const +[more]const Image* getImage(Face) const
Get the const texture image for specified face.
-[more]inline unsigned int& getModifiedTag(Face face, unsigned int contextID) const +[more]inline unsigned int& getModifiedTag(Face face, unsigned int contextID) const
-[more]inline void setTextureSize(int width, int height) const +[more]inline void setTextureSize(int width, int height) const
Set the texture width and height.
-[more]inline void getTextureSize(int& width, int& height) const +[more]inline void getTextureSize(int& width, int& height) const
Get the texture subload width.
-[more]void setSubloadCallback(SubloadCallback* cb) +[more]void setSubloadCallback(SubloadCallback* cb)
-[more]SubloadCallback* getSubloadCallback() +[more]SubloadCallback* getSubloadCallback()
-[more]const SubloadCallback* getSubloadCallback() const +[more]const SubloadCallback* getSubloadCallback() const
-[more]void setNumMipmapLevels(unsigned int num) const +[more]void setNumMipmapLevels(unsigned int num) const
Set the number of mip map levels the the texture has been created with, should only be called within an osg::Texuture::apply() and custom OpenGL texture load
-[more]unsigned int getNumMipmapLevels() const +[more]unsigned int getNumMipmapLevels() const
Get the number of mip map levels the the texture has been created with
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const
On first apply (unless already compiled), create the minmapped texture and bind it, subsequent apply will simple bind to texture
-[more]static Extensions* getExtensions(unsigned int contextID, bool createIfNotInitalized) +[more]static Extensions* getExtensions(unsigned int contextID, bool createIfNotInitalized)
Function to call to get the extension of a specified context.
-[more]static void setExtensions(unsigned int contextID, Extensions* extensions) +[more]static void setExtensions(unsigned int contextID, Extensions* extensions)
setExtensions allows users to override the extensions across graphics contexts.

Public Members

-[more]enum Face +[more]enum Face
class SG_EXPORT SubloadCallback: public Referenced
@@ -86,31 +86,31 @@ class SG_EXPORT Extensions: public <

Protected Fields

-[more]ref_ptr<Image> _images[6] +[more]ref_ptr<Image> _images[6]
-[more]mutable GLsizei _textureWidth +[more]mutable GLsizei _textureWidth
-[more]mutable GLsizei _textureHeight +[more]mutable GLsizei _textureHeight
-[more]mutable GLsizei _numMipmapLevels +[more]mutable GLsizei _numMipmapLevels
-[more]ref_ptr<SubloadCallback> _subloadCallback +[more]ref_ptr<SubloadCallback> _subloadCallback
-[more]mutable ImageModifiedTag _modifiedTag[6] +[more]mutable ImageModifiedTag _modifiedTag[6]

Protected Methods

-[more]virtual ~TextureCubeMap() +[more]virtual ~TextureCubeMap()
-[more]bool imagesValid() const +[more]bool imagesValid() const
-[more]virtual void computeInternalFormat() const +[more]virtual void computeInternalFormat() const

Protected Members

-[more]typedef buffered_value<unsigned int> ImageModifiedTag +[more]typedef buffered_value<unsigned int> ImageModifiedTag

@@ -118,7 +118,7 @@ class SG_EXPORT Extensions: public <

Public Fields

-omutable TextureObjectBuffer _textureObjectBuffer +omutable TextureObjectBuffer _textureObjectBuffer

@@ -133,21 +133,21 @@ class SG_EXPORT Extensions: public <
ovirtual const char* className() const
-ovirtual Type getType() const +ovirtual Type getType() const
ovirtual bool isTextureAttribute() const
-ovoid setWrap(WrapParameter which, WrapMode wrap) +ovoid setWrap(WrapParameter which, WrapMode wrap)
-oWrapMode getWrap(WrapParameter which) const +oWrapMode getWrap(WrapParameter which) const
ovoid setBorderColor(const Vec4& color)
oconst Vec4& getBorderColor() const
-ovoid setFilter(FilterParameter which, FilterMode filter) +ovoid setFilter(FilterParameter which, FilterMode filter)
-oFilterMode getFilter(FilterParameter which) const +oFilterMode getFilter(FilterParameter which) const
ovoid setMaxAnisotropy(float anis)
@@ -161,9 +161,9 @@ class SG_EXPORT Extensions: public <
oinline bool getUnRefImageDataAfterApply() const
-oinline void setInternalFormatMode(InternalFormatMode mode) +oinline void setInternalFormatMode(InternalFormatMode mode)
-oinline InternalFormatMode getInternalFormatMode() const +oinline InternalFormatMode getInternalFormatMode() const
oinline void setInternalFormat(GLint internalFormat)
@@ -183,11 +183,11 @@ class SG_EXPORT Extensions: public <
ovirtual void compile(State& state) const
-ovoid applyTexImage2D_load(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const +ovoid applyTexImage2D_load(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const
-ovoid applyTexImage2D_subload(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const +ovoid applyTexImage2D_subload(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const
-ovoid takeTextureObjects(TextureObjectListMap& toblm) +ovoid takeTextureObjects(TextureObjectListMap& toblm)
ostatic void setTextureObjectManager(TextureObjectManager* tom)
@@ -212,7 +212,7 @@ class TextureObject: public otypedef std::list< ref_ptr<TextureObject> > TextureObjectList
-otypedef std::map<unsigned int, TextureObjectList > TextureObjectListMap +otypedef std::map<unsigned int, TextureObjectList > TextureObjectListMap
otypedef buffered_object< ref_ptr<TextureObject> > TextureObjectBuffer
@@ -221,17 +221,17 @@ class SG_EXPORT TextureObjectManager

Protected Fields

-omutable TexParameterDirtyList _texParametersDirtyList +omutable TexParameterDirtyList _texParametersDirtyList
-oWrapMode _wrap_s +oWrapMode _wrap_s
-oWrapMode _wrap_t +oWrapMode _wrap_t
-oWrapMode _wrap_r +oWrapMode _wrap_r
-oFilterMode _min_filter +oFilterMode _min_filter
-oFilterMode _mag_filter +oFilterMode _mag_filter
ofloat _maxAnisotropy
@@ -241,7 +241,7 @@ class SG_EXPORT TextureObjectManager
oVec4 _borderColor
-oInternalFormatMode _internalFormatMode +oInternalFormatMode _internalFormatMode
omutable GLint _internalFormat

@@ -250,7 +250,7 @@ class SG_EXPORT TextureObjectManager

Protected Methods

ovoid computeInternalFormatWithImage(const osg::Image& image) const
-ovoid computeRequiredTextureDimensions(State& state, const osg::Image& image, GLsizei& width, GLsizei& height, GLsizei& numMipmapLevels) const +ovoid computeRequiredTextureDimensions(State& state, const osg::Image& image, GLsizei& width, GLsizei& height, GLsizei& numMipmapLevels) const
obool isCompressedInternalFormat(GLint internalFormat) const
@@ -296,9 +296,9 @@ class SG_EXPORT TextureObjectManager

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -314,7 +314,7 @@ class SG_EXPORT TextureObjectManager

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -353,118 +353,118 @@ class SG_EXPORT TextureObjectManager
- +
o TextureCubeMap()

- -

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

- -

o META_StateAttribute(osg, TextureCubeMap, TEXTURE) + +
o META_StateAttribute(osg, TextureCubeMap, TEXTURE)

- +

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

- -

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

- +

oenum Face

- +
o POSITIVE_X

- +

o NEGATIVE_X

- +

o POSITIVE_Y

- +

o NEGATIVE_Y

- +

o POSITIVE_Z

- +

o NEGATIVE_Z

- -
ovoid setImage(Face, Image* image) + +
ovoid setImage(Face, Image* image)
Set the texture image for specified face.

- -

oImage* getImage(Face) + +
oImage* getImage(Face)
Get the texture image for specified face.

- -

oconst Image* getImage(Face) const + +
oconst Image* getImage(Face) const
Get the const texture image for specified face.

- -

oinline unsigned int& getModifiedTag(Face face, unsigned int contextID) const + +
oinline unsigned int& getModifiedTag(Face face, unsigned int contextID) const

- -

oinline void setTextureSize(int width, int height) const + +
oinline void setTextureSize(int width, int height) const
Set the texture width and height. If width or height are zero then the repsective size value is calculated from the source image sizes.

- -

oinline void getTextureSize(int& width, int& height) const + +
oinline void getTextureSize(int& width, int& height) const
Get the texture subload width.

- +

ovoid setSubloadCallback(SubloadCallback* cb)

- +

oSubloadCallback* getSubloadCallback()

- +

oconst SubloadCallback* getSubloadCallback() const

- +

ovoid setNumMipmapLevels(unsigned int num) const
Set the number of mip map levels the the texture has been created with, should only be called within an osg::Texuture::apply() and custom OpenGL texture load

- +

ounsigned int getNumMipmapLevels() const
Get the number of mip map levels the the texture has been created with

- +

ovirtual void apply(State& state) const
On first apply (unless already compiled), create the minmapped texture and bind it, subsequent apply will simple bind to texture

- +

ostatic Extensions* getExtensions(unsigned int contextID, bool createIfNotInitalized)
Function to call to get the extension of a specified context. If the Exentsion object for that context has not yet been created then @@ -474,51 +474,51 @@ automatically created. However, in this case the extension object only be created with the graphics context associated with ContextID..

- +

ostatic void setExtensions(unsigned int contextID, Extensions* extensions)
setExtensions allows users to override the extensions across graphics contexts. typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions.

- +

ovirtual ~TextureCubeMap()

- +

obool imagesValid() const

- +

ovirtual void computeInternalFormat() const

- +

oref_ptr<Image> _images[6]

- +

omutable GLsizei _textureWidth

- +

omutable GLsizei _textureHeight

- +

omutable GLsizei _numMipmapLevels

- +

oref_ptr<SubloadCallback> _subloadCallback

- +

otypedef buffered_value<unsigned int> ImageModifiedTag

- -

omutable ImageModifiedTag _modifiedTag[6] + +
omutable ImageModifiedTag _modifiedTag[6]


This class has no child classes.
diff --git a/doc/doc++/osg/TextureObject.html b/doc/doc++/osg/TextureObject.html index f3e035632..6e2bd6072 100644 --- a/doc/doc++/osg/TextureObject.html +++ b/doc/doc++/osg/TextureObject.html @@ -22,44 +22,44 @@

Public Fields

-[more]GLuint _id +[more]GLuint _id
-[more]GLenum _target +[more]GLenum _target
-[more]GLint _numMipmapLevels +[more]GLint _numMipmapLevels
-[more]GLenum _internalFormat +[more]GLenum _internalFormat
-[more]GLsizei _width +[more]GLsizei _width
-[more]GLsizei _height +[more]GLsizei _height
-[more]GLsizei _depth +[more]GLsizei _depth
-[more]GLint _border +[more]GLint _border
-[more]bool _allocated +[more]bool _allocated
-[more]double _timeStamp +[more]double _timeStamp

Public Methods

-[more]inline TextureObject(GLuint id, GLenum target) +[more]inline TextureObject(GLuint id, GLenum target)
-[more]inline TextureObject(GLuint id, GLenum target, GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border) +[more]inline TextureObject(GLuint id, GLenum target, GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border)
-[more]inline bool match(GLenum target, GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border) +[more]inline bool match(GLenum target, GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border)
-[more]inline void bind() +[more]inline void bind()
-[more]inline void setAllocated(bool allocated=true) +[more]inline void setAllocated(bool allocated=true)
-[more]inline void setAllocated(GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border) +[more]inline void setAllocated(GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border)
-[more]inline bool isAllocated() const +[more]inline bool isAllocated() const
-[more]inline bool isReusable() const +[more]inline bool isReusable() const

@@ -95,75 +95,75 @@
- +
oinline TextureObject(GLuint id, GLenum target)

- -

oinline TextureObject(GLuint id, GLenum target, GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border) + +
oinline TextureObject(GLuint id, GLenum target, GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border)

- -

oinline bool match(GLenum target, GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border) + +
oinline bool match(GLenum target, GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border)

- +

oinline void bind()

- +

oinline void setAllocated(bool allocated=true)

- -

oinline void setAllocated(GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border) + +
oinline void setAllocated(GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border)

- +

oinline bool isAllocated() const

- +

oinline bool isReusable() const

- +

oGLuint _id

- +

oGLenum _target

- +

oGLint _numMipmapLevels

- +

oGLenum _internalFormat

- +

oGLsizei _width

- +

oGLsizei _height

- +

oGLsizei _depth

- +

oGLint _border

- +

obool _allocated

- +

odouble _timeStamp

diff --git a/doc/doc++/osg/TextureObjectManager.html b/doc/doc++/osg/TextureObjectManager.html index 9b1f1cc3c..bd4a50596 100644 --- a/doc/doc++/osg/TextureObjectManager.html +++ b/doc/doc++/osg/TextureObjectManager.html @@ -22,30 +22,30 @@

Public Fields

-[more]double _expiryDelay +[more]double _expiryDelay
-[more]TextureObjectListMap _textureObjectListMap +[more]TextureObjectListMap _textureObjectListMap

Public Methods

-[more]virtual TextureObject* generateTextureObject(unsigned int contextID, GLenum target) +[more]virtual TextureObject* generateTextureObject(unsigned int contextID, GLenum target)
-[more]virtual TextureObject* generateTextureObject(unsigned int contextID, GLenum target, GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border) +[more]virtual TextureObject* generateTextureObject(unsigned int contextID, GLenum target, GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border)
-[more]virtual TextureObject* reuseTextureObject(unsigned int contextID, GLenum target, GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border) +[more]virtual TextureObject* reuseTextureObject(unsigned int contextID, GLenum target, GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border)
-[more]inline TextureObject* reuseOrGenerateTextureObject(unsigned int contextID, GLenum target, GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border) +[more]inline TextureObject* reuseOrGenerateTextureObject(unsigned int contextID, GLenum target, GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border)
-[more]virtual void addTextureObjects(TextureObjectListMap& toblm) +[more]virtual void addTextureObjects(TextureObjectListMap& toblm)
-[more]virtual void addTextureObjectsFrom(Texture& texture) +[more]virtual void addTextureObjectsFrom(Texture& texture)
-[more]virtual void flushTextureObjects(unsigned int contextID, double currentTime, double& availableTime) +[more]virtual void flushTextureObjects(unsigned int contextID, double currentTime, double& availableTime)
-[more]void setExpiryDelay(double expiryDelay) +[more]void setExpiryDelay(double expiryDelay)
-[more]double getExpiryDelay() const +[more]double getExpiryDelay() const

@@ -81,48 +81,48 @@
- +
ovirtual TextureObject* generateTextureObject(unsigned int contextID, GLenum target)

- -

ovirtual TextureObject* generateTextureObject(unsigned int contextID, GLenum target, GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border) + +
ovirtual TextureObject* generateTextureObject(unsigned int contextID, GLenum target, GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border)

- -

ovirtual TextureObject* reuseTextureObject(unsigned int contextID, GLenum target, GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border) + +
ovirtual TextureObject* reuseTextureObject(unsigned int contextID, GLenum target, GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border)

- -

oinline TextureObject* reuseOrGenerateTextureObject(unsigned int contextID, GLenum target, GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border) + +
oinline TextureObject* reuseOrGenerateTextureObject(unsigned int contextID, GLenum target, GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border)

- -

ovirtual void addTextureObjects(TextureObjectListMap& toblm) + +
ovirtual void addTextureObjects(TextureObjectListMap& toblm)

- +

ovirtual void addTextureObjectsFrom(Texture& texture)

- +

ovirtual void flushTextureObjects(unsigned int contextID, double currentTime, double& availableTime)

- +

ovoid setExpiryDelay(double expiryDelay)

- +

odouble getExpiryDelay() const

- +

odouble _expiryDelay

- -

oTextureObjectListMap _textureObjectListMap + +
oTextureObjectListMap _textureObjectListMap


This class has no child classes.
diff --git a/doc/doc++/osg/TextureRectangle.html b/doc/doc++/osg/TextureRectangle.html index 4a58fc818..85d32c5de 100644 --- a/doc/doc++/osg/TextureRectangle.html +++ b/doc/doc++/osg/TextureRectangle.html @@ -23,42 +23,42 @@

Public Methods

-[more] TextureRectangle() +[more] TextureRectangle()
-[more] TextureRectangle(const TextureRectangle& text, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] TextureRectangle(const TextureRectangle& text, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, TextureRectangle, TEXTURE) +[more] META_StateAttribute(osg, TextureRectangle, TEXTURE)
-[more]virtual int compare(const StateAttribute& rhs) const +[more]virtual int compare(const StateAttribute& rhs) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
-[more]void setImage(Image* image) +[more]void setImage(Image* image)
Set the texture image.
-[more]Image* getImage() +[more]Image* getImage()
Get the texture image.
-[more]inline const Image* getImage() const +[more]inline const Image* getImage() const
Get the const texture image.
-[more]inline unsigned int& getModifiedTag(unsigned int contextID) const +[more]inline unsigned int& getModifiedTag(unsigned int contextID) const
-[more]inline void setTextureSize(int width, int height) const +[more]inline void setTextureSize(int width, int height) const
Set the texture width and height.
-[more]inline void getTextureSize(int& width, int& height) const +[more]inline void getTextureSize(int& width, int& height) const
Get the texture subload width.
-[more]void setSubloadCallback(SubloadCallback* cb) +[more]void setSubloadCallback(SubloadCallback* cb)
-[more]SubloadCallback* getSubloadCallback() +[more]SubloadCallback* getSubloadCallback()
-[more]const SubloadCallback* getSubloadCallback() const +[more]const SubloadCallback* getSubloadCallback() const
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const
On first apply (unless already compiled), create and bind the texture, subsequent apply will simple bind to texture

@@ -69,33 +69,33 @@ class SubloadCallback: public <

Protected Fields

-[more]mutable ref_ptr<Image> _image +[more]mutable ref_ptr<Image> _image
-[more]mutable GLsizei _textureWidth +[more]mutable GLsizei _textureWidth
-[more]mutable GLsizei _textureHeight +[more]mutable GLsizei _textureHeight
-[more]ref_ptr<SubloadCallback> _subloadCallback +[more]ref_ptr<SubloadCallback> _subloadCallback
-[more]mutable ImageModifiedTag _modifiedTag +[more]mutable ImageModifiedTag _modifiedTag

Protected Methods

-[more]virtual ~TextureRectangle() +[more]virtual ~TextureRectangle()
-[more]virtual void computeInternalFormat() const +[more]virtual void computeInternalFormat() const
-[more]void applyTexParameters(GLenum target, State& state) const +[more]void applyTexParameters(GLenum target, State& state) const
-[more]void applyTexImage_load(GLenum target, Image* image, State& state, GLsizei& inwidth, GLsizei& inheight) const +[more]void applyTexImage_load(GLenum target, Image* image, State& state, GLsizei& inwidth, GLsizei& inheight) const
-[more]void applyTexImage_subload(GLenum target, Image* image, State& state, GLsizei& inwidth, GLsizei& inheight) const +[more]void applyTexImage_subload(GLenum target, Image* image, State& state, GLsizei& inwidth, GLsizei& inheight) const

Protected Members

-[more]typedef buffered_value<unsigned int> ImageModifiedTag +[more]typedef buffered_value<unsigned int> ImageModifiedTag

@@ -103,7 +103,7 @@ class SubloadCallback: public <

Public Fields

-omutable TextureObjectBuffer _textureObjectBuffer +omutable TextureObjectBuffer _textureObjectBuffer

@@ -118,21 +118,21 @@ class SubloadCallback: public <
ovirtual const char* className() const
-ovirtual Type getType() const +ovirtual Type getType() const
ovirtual bool isTextureAttribute() const
-ovoid setWrap(WrapParameter which, WrapMode wrap) +ovoid setWrap(WrapParameter which, WrapMode wrap)
-oWrapMode getWrap(WrapParameter which) const +oWrapMode getWrap(WrapParameter which) const
ovoid setBorderColor(const Vec4& color)
oconst Vec4& getBorderColor() const
-ovoid setFilter(FilterParameter which, FilterMode filter) +ovoid setFilter(FilterParameter which, FilterMode filter)
-oFilterMode getFilter(FilterParameter which) const +oFilterMode getFilter(FilterParameter which) const
ovoid setMaxAnisotropy(float anis)
@@ -146,9 +146,9 @@ class SubloadCallback: public <
oinline bool getUnRefImageDataAfterApply() const
-oinline void setInternalFormatMode(InternalFormatMode mode) +oinline void setInternalFormatMode(InternalFormatMode mode)
-oinline InternalFormatMode getInternalFormatMode() const +oinline InternalFormatMode getInternalFormatMode() const
oinline void setInternalFormat(GLint internalFormat)
@@ -172,11 +172,11 @@ class SubloadCallback: public <
ostatic void setExtensions(unsigned int contextID, Extensions* extensions)
-ovoid applyTexImage2D_load(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const +ovoid applyTexImage2D_load(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const
-ovoid applyTexImage2D_subload(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const +ovoid applyTexImage2D_subload(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const
-ovoid takeTextureObjects(TextureObjectListMap& toblm) +ovoid takeTextureObjects(TextureObjectListMap& toblm)
ostatic void setTextureObjectManager(TextureObjectManager* tom)
@@ -204,7 +204,7 @@ class TextureObject: public otypedef std::list< ref_ptr<TextureObject> > TextureObjectList
-otypedef std::map<unsigned int, TextureObjectList > TextureObjectListMap +otypedef std::map<unsigned int, TextureObjectList > TextureObjectListMap
otypedef buffered_object< ref_ptr<TextureObject> > TextureObjectBuffer
@@ -213,17 +213,17 @@ class SG_EXPORT TextureObjectManager

Protected Fields

-omutable TexParameterDirtyList _texParametersDirtyList +omutable TexParameterDirtyList _texParametersDirtyList
-oWrapMode _wrap_s +oWrapMode _wrap_s
-oWrapMode _wrap_t +oWrapMode _wrap_t
-oWrapMode _wrap_r +oWrapMode _wrap_r
-oFilterMode _min_filter +oFilterMode _min_filter
-oFilterMode _mag_filter +oFilterMode _mag_filter
ofloat _maxAnisotropy
@@ -233,7 +233,7 @@ class SG_EXPORT TextureObjectManager
oVec4 _borderColor
-oInternalFormatMode _internalFormatMode +oInternalFormatMode _internalFormatMode
omutable GLint _internalFormat

@@ -242,7 +242,7 @@ class SG_EXPORT TextureObjectManager

Protected Methods

ovoid computeInternalFormatWithImage(const osg::Image& image) const
-ovoid computeRequiredTextureDimensions(State& state, const osg::Image& image, GLsizei& width, GLsizei& height, GLsizei& numMipmapLevels) const +ovoid computeRequiredTextureDimensions(State& state, const osg::Image& image, GLsizei& width, GLsizei& height, GLsizei& numMipmapLevels) const
obool isCompressedInternalFormat(GLint internalFormat) const
@@ -286,9 +286,9 @@ class SG_EXPORT TextureObjectManager

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -304,7 +304,7 @@ class SG_EXPORT TextureObjectManager

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -343,118 +343,118 @@ class SG_EXPORT TextureObjectManager
- +
o TextureRectangle()

- -

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

- -

o META_StateAttribute(osg, TextureRectangle, TEXTURE) + +
o META_StateAttribute(osg, TextureRectangle, TEXTURE)

- +

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

- -

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

- +

ovoid setImage(Image* image)
Set the texture image.

- +

oImage* getImage()
Get the texture image.

- +

oinline const Image* getImage() const
Get the const texture image.

- +

oinline unsigned int& getModifiedTag(unsigned int contextID) const

- -

oinline void setTextureSize(int width, int height) const + +
oinline void setTextureSize(int width, int height) const
Set the texture width and height. If width or height are zero then the repsective size value is calculated from the source image sizes.

- -

oinline void getTextureSize(int& width, int& height) const + +
oinline void getTextureSize(int& width, int& height) const
Get the texture subload width.

- +

ovoid setSubloadCallback(SubloadCallback* cb)

- +

oSubloadCallback* getSubloadCallback()

- +

oconst SubloadCallback* getSubloadCallback() const

- +

ovirtual void apply(State& state) const
On first apply (unless already compiled), create and bind the texture, subsequent apply will simple bind to texture

- +

ovirtual ~TextureRectangle()

- +

ovirtual void computeInternalFormat() const

- +

ovoid applyTexParameters(GLenum target, State& state) const

- +

ovoid applyTexImage_load(GLenum target, Image* image, State& state, GLsizei& inwidth, GLsizei& inheight) const

- +

ovoid applyTexImage_subload(GLenum target, Image* image, State& state, GLsizei& inwidth, GLsizei& inheight) const

- +

omutable ref_ptr<Image> _image

- +

omutable GLsizei _textureWidth

- +

omutable GLsizei _textureHeight

- +

oref_ptr<SubloadCallback> _subloadCallback

- +

otypedef buffered_value<unsigned int> ImageModifiedTag

- -

omutable ImageModifiedTag _modifiedTag + +
omutable ImageModifiedTag _modifiedTag


This class has no child classes.
diff --git a/doc/doc++/osg/Timer.html b/doc/doc++/osg/Timer.html index f47f28a85..68bd85755 100644 --- a/doc/doc++/osg/Timer.html +++ b/doc/doc++/osg/Timer.html @@ -13,42 +13,42 @@

Public Methods

-[more] Timer() +[more] Timer()
-[more] ~Timer() +[more] ~Timer()
-[more]static const Timer* instance() +[more]static const Timer* instance()
-[more]inline double delta_s( Timer_t t1, Timer_t t2 ) const +[more]inline double delta_s( Timer_t t1, Timer_t t2 ) const
-[more]inline double delta_m( Timer_t t1, Timer_t t2 ) const +[more]inline double delta_m( Timer_t t1, Timer_t t2 ) const
-[more]inline double delta_u( Timer_t t1, Timer_t t2 ) const +[more]inline double delta_u( Timer_t t1, Timer_t t2 ) const
-[more]inline double delta_n( Timer_t t1, Timer_t t2 ) const +[more]inline double delta_n( Timer_t t1, Timer_t t2 ) const
-[more]inline double getSecondsPerTick() const +[more]inline double getSecondsPerTick() const
-[more]inline Timer_t tick() const +[more]inline Timer_t tick() const
-[more]inline Timer_t tick( void ) const +[more]inline Timer_t tick( void ) const

Protected Fields

-[more]double _secsPerTick +[more]double _secsPerTick
-[more]bool _useStandardClock +[more]bool _useStandardClock
-[more]unsigned long* _clockAddress_32 +[more]unsigned long* _clockAddress_32
-[more]unsigned long long* _clockAddress_64 +[more]unsigned long long* _clockAddress_64
-[more]int _cycleCntrSize +[more]int _cycleCntrSize
-[more]mutable unsigned long _lastClockValue +[more]mutable unsigned long _lastClockValue
-[more]mutable unsigned long long _rollOver +[more]mutable unsigned long long _rollOver

@@ -60,72 +60,72 @@
- +
o Timer()

- +

o ~Timer()

- +

ostatic const Timer* instance()

- -

oinline double delta_s( Timer_t t1, Timer_t t2 ) const + +
oinline double delta_s( Timer_t t1, Timer_t t2 ) const

- -

oinline double delta_m( Timer_t t1, Timer_t t2 ) const + +
oinline double delta_m( Timer_t t1, Timer_t t2 ) const

- -

oinline double delta_u( Timer_t t1, Timer_t t2 ) const + +
oinline double delta_u( Timer_t t1, Timer_t t2 ) const

- -

oinline double delta_n( Timer_t t1, Timer_t t2 ) const + +
oinline double delta_n( Timer_t t1, Timer_t t2 ) const

- +

oinline double getSecondsPerTick() const

- +

odouble _secsPerTick

- +

obool _useStandardClock

- +

ounsigned long* _clockAddress_32

- +

ounsigned long long* _clockAddress_64

- +

oint _cycleCntrSize

- +

omutable unsigned long _lastClockValue

- +

omutable unsigned long long _rollOver

- -

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

- -

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


This class has no child classes.
diff --git a/doc/doc++/osg/TraceStream.html b/doc/doc++/osg/TraceStream.html index 7d36c859a..1e3ee8711 100644 --- a/doc/doc++/osg/TraceStream.html +++ b/doc/doc++/osg/TraceStream.html @@ -12,15 +12,15 @@

Public Methods

-[more] TraceStream(std::ostream& o=std::cout, TraceLevel tl=Results) +[more] TraceStream(std::ostream& o=std::cout, TraceLevel tl=Results)
-[more] ~TraceStream() +[more] ~TraceStream()
-[more]void setTraceLevel(TraceLevel tl) +[more]void setTraceLevel(TraceLevel tl)
-[more]TraceLevel getTraceLevel() const +[more]TraceLevel getTraceLevel() const
-[more]std::ostream& stream(TraceLevel tl) +[more]std::ostream& stream(TraceLevel tl)

@@ -31,24 +31,24 @@
- -
o TraceStream(std::ostream& o=std::cout, TraceLevel tl=Results) + +
o TraceStream(std::ostream& o=std::cout, TraceLevel tl=Results)

- +

o ~TraceStream()

- -

ovoid setTraceLevel(TraceLevel tl) + +
ovoid setTraceLevel(TraceLevel tl)

- -

oTraceLevel getTraceLevel() const + +
oTraceLevel getTraceLevel() const

- -

ostd::ostream& stream(TraceLevel tl) + +
ostd::ostream& stream(TraceLevel tl)


This class has no child classes.
diff --git a/doc/doc++/osg/Transform.html b/doc/doc++/osg/Transform.html index 61baa24ab..deeffac96 100644 --- a/doc/doc++/osg/Transform.html +++ b/doc/doc++/osg/Transform.html @@ -23,74 +23,74 @@

Public Methods

-[more] Transform() +[more] Transform()
-[more] Transform(const Transform&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Transform(const Transform&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_Node(osg, Transform) +[more] META_Node(osg, Transform)
-[more]virtual Transform* asTransform() +[more]virtual Transform* asTransform()
-[more]virtual const Transform* asTransform() const +[more]virtual const Transform* asTransform() const
-[more]virtual MatrixTransform* asMatrixTransform() +[more]virtual MatrixTransform* asMatrixTransform()
-[more]virtual const MatrixTransform* asMatrixTransform() const +[more]virtual const MatrixTransform* asMatrixTransform() const
-[more]virtual PositionAttitudeTransform* asPositionAttitudeTransform() +[more]virtual PositionAttitudeTransform* asPositionAttitudeTransform()
-[more]virtual const PositionAttitudeTransform* asPositionAttitudeTransform() const +[more]virtual const PositionAttitudeTransform* asPositionAttitudeTransform() const
-[more]virtual DOFTransform* asDOFTransform() +[more]virtual DOFTransform* asDOFTransform()
-[more]virtual const DOFTransform* asDOFTransform() const +[more]virtual const DOFTransform* asDOFTransform() const
-[more]void setReferenceFrame(ReferenceFrame rf) +[more]void setReferenceFrame(ReferenceFrame rf)
Set the transform's ReferenceFrame, either to be relative to its parent reference frame, or relative to an absolute coordinate frame.
-[more]ReferenceFrame getReferenceFrame() const +[more]ReferenceFrame getReferenceFrame() const
-[more]void setComputeTransformCallback(ComputeTransformCallback* ctc) +[more]void setComputeTransformCallback(ComputeTransformCallback* ctc)
Set the ComputerTransfromCallback which allows users to attach custom computation of the local transformation as seen by cull traversers and the like.
-[more]ComputeTransformCallback* getComputeTransformCallback() +[more]ComputeTransformCallback* getComputeTransformCallback()
Get the non const ComputerTransfromCallback
-[more]const ComputeTransformCallback* getComputeTransformCallback() const +[more]const ComputeTransformCallback* getComputeTransformCallback() const
Get the const ComputerTransfromCallback
-[more]inline bool getLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const +[more]inline bool getLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const
Get the transformation matrix which moves from local coords to world coords.
-[more]inline bool getWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const +[more]inline bool getWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const
Get the transformation matrix which moves from world coords to local coords.
-[more]virtual bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor*) const +[more]virtual bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor*) const
-[more]virtual bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor*) const +[more]virtual bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor*) const

Public Members

-[more]enum ReferenceFrame +[more]enum ReferenceFrame
-[more]struct ComputeTransformCallback: public virtual osg::Referenced +[more]struct ComputeTransformCallback: public virtual osg::Referenced
Callback attached to an Transform to specify how to compute the modelview transformation for the transform below the Transform node.

Protected Fields

-[more]ref_ptr<ComputeTransformCallback> _computeTransformCallback +[more]ref_ptr<ComputeTransformCallback> _computeTransformCallback
-[more]ReferenceFrame _referenceFrame +[more]ReferenceFrame _referenceFrame

Protected Methods

-[more]virtual ~Transform() +[more]virtual ~Transform()
-[more]virtual bool computeBound() const +[more]virtual bool computeBound() const
Overrides Group's computeBound.

@@ -152,15 +152,15 @@
ovirtual void ascend(NodeVisitor& nv)
-oinline void setName( const std::string& name ) +oinline void setName( const std::string& name )
-oinline void setName( const char* name ) +oinline void setName( const char* name )
oinline const std::string& getName() const
-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
-oinline ParentList getParents() +oinline ParentList getParents()
oinline Group* getParent(unsigned int i)
@@ -194,13 +194,13 @@
obool containsOccluderNodes() const
-oinline void setNodeMask(NodeMask nm) +oinline void setNodeMask(NodeMask nm)
-oinline NodeMask getNodeMask() const +oinline NodeMask getNodeMask() const
-oinline const DescriptionList& getDescriptions() const +oinline const DescriptionList& getDescriptions() const
-oinline DescriptionList& getDescriptions() +oinline DescriptionList& getDescriptions()
oinline const std::string& getDescription(unsigned int i) const
@@ -240,7 +240,7 @@
ostd::string _name
-oParentList _parents +oParentList _parents
oref_ptr<NodeCallback> _updateCallback
@@ -254,9 +254,9 @@
ounsigned int _numChildrenWithOccluderNodes
-oNodeMask _nodeMask +oNodeMask _nodeMask
-oDescriptionList _descriptions +oDescriptionList _descriptions
oref_ptr<StateSet> _stateset

@@ -279,9 +279,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -358,67 +358,67 @@ stateset->setMode(GL_NORMALIZE, osg::StateAttribute::ON);
- +
o Transform()

- -

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

- +

o META_Node(osg, Transform)

- +

ovirtual Transform* asTransform()

- +

ovirtual const Transform* asTransform() const

- +

ovirtual MatrixTransform* asMatrixTransform()

- +

ovirtual const MatrixTransform* asMatrixTransform() const

- +

ovirtual PositionAttitudeTransform* asPositionAttitudeTransform()

- +

ovirtual const PositionAttitudeTransform* asPositionAttitudeTransform() const

- +

ovirtual DOFTransform* asDOFTransform()

- +

ovirtual const DOFTransform* asDOFTransform() const

- +

oenum ReferenceFrame

- +
o RELATIVE_TO_PARENTS

- +

o RELATIVE_TO_ABSOLUTE

- -
ovoid setReferenceFrame(ReferenceFrame rf) + +
ovoid setReferenceFrame(ReferenceFrame rf)
Set the transform's ReferenceFrame, either to be relative to its parent reference frame, or relative to an absolute coordinate frame. RELATIVE_TO_PARENTS is the default. @@ -432,11 +432,11 @@ absolute Transforms at the top of the scene, for such things as heads up displays.

- -

oReferenceFrame getReferenceFrame() const + +
oReferenceFrame getReferenceFrame() const

- +

ostruct ComputeTransformCallback: public virtual osg::Referenced
Callback attached to an Transform to specify how to compute the modelview transformation for the transform below the Transform @@ -444,63 +444,63 @@ node.

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

- -

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

- -
ovoid setComputeTransformCallback(ComputeTransformCallback* ctc) + +
ovoid setComputeTransformCallback(ComputeTransformCallback* ctc)
Set the ComputerTransfromCallback which allows users to attach custom computation of the local transformation as seen by cull traversers and the like.

- -

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

- -

oconst ComputeTransformCallback* getComputeTransformCallback() const + +
oconst ComputeTransformCallback* getComputeTransformCallback() const
Get the const ComputerTransfromCallback

- +

oinline bool getLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const
Get the transformation matrix which moves from local coords to world coords. Returns true if the Matrix passed in has been updated.

- +

oinline bool getWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const
Get the transformation matrix which moves from world coords to local coords. Return true if the Matrix passed in has been updated.

- +

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

- +

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

- +

ovirtual ~Transform()

- +

ovirtual bool computeBound() const
Overrides Group's computeBound. There is no need to override in subclasses from osg::Transform @@ -508,12 +508,12 @@ since this computeBound() uses the underlying matrix (calling computeMatrix if required.)

- -

oref_ptr<ComputeTransformCallback> _computeTransformCallback + +
oref_ptr<ComputeTransformCallback> _computeTransformCallback

- -

oReferenceFrame _referenceFrame + +
oReferenceFrame _referenceFrame


Direct child classes: diff --git a/doc/doc++/osg/TriangleFunctor.html b/doc/doc++/osg/TriangleFunctor.html index 362b03761..e7c0ed266 100644 --- a/doc/doc++/osg/TriangleFunctor.html +++ b/doc/doc++/osg/TriangleFunctor.html @@ -7,7 +7,7 @@ -

template<class T> class osg::TriangleFunctor


+

template<class T> class osg::TriangleFunctor


Inheritance:

@@ -22,49 +22,49 @@

Public Methods

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

Protected Fields

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

@@ -75,39 +75,39 @@
- +
o TriangleFunctor()

- +

ovirtual ~TriangleFunctor()

- +

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

- +

ovirtual void setVertexArray(unsigned int, const Vec4* )

- +

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

- -

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

- -

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

- -

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

- +

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

- +

ovirtual void vertex(const Vec2& vert)

- +

ovirtual void vertex(const Vec3& vert)

- +

ovirtual void vertex(const Vec4& vert)

- -

ovirtual void vertex(float x, float y) + +
ovirtual void vertex(float x, float y)

- -

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

- -

ovirtual void vertex(float x, float y, float z, float w) + +
ovirtual void vertex(float x, float y, float z, float w)

- +

ovirtual void end()

- +

ounsigned int _vertexArraySize

- +

oconst Vec3* _vertexArrayPtr

- +

oGLenum _modeCache

- +

ostd::vector<Vec3> _vertexCache

diff --git a/doc/doc++/osg/TriangleMesh.html b/doc/doc++/osg/TriangleMesh.html index 9d9842d1b..9024e0bc9 100644 --- a/doc/doc++/osg/TriangleMesh.html +++ b/doc/doc++/osg/TriangleMesh.html @@ -22,35 +22,35 @@

Public Methods

-[more] TriangleMesh() +[more] TriangleMesh()
-[more] TriangleMesh(const TriangleMesh& mesh, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] TriangleMesh(const TriangleMesh& mesh, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more] META_Shape(osg, TriangleMesh) +[more] META_Shape(osg, TriangleMesh)
-[more]void setVertices(Vec3Array* vertices) +[more]void setVertices(Vec3Array* vertices)
-[more]Vec3Array* getVertices() +[more]Vec3Array* getVertices()
-[more]const Vec3Array* getVertices() const +[more]const Vec3Array* getVertices() const
-[more]void setIndices(IndexArray* indices) +[more]void setIndices(IndexArray* indices)
-[more]IndexArray* getIndices() +[more]IndexArray* getIndices()
-[more]const IndexArray* getIndices() const +[more]const IndexArray* getIndices() const

Protected Fields

-[more]ref_ptr<Vec3Array> _vertices +[more]ref_ptr<Vec3Array> _vertices
-[more]ref_ptr<IndexArray> _indices +[more]ref_ptr<IndexArray> _indices

Protected Methods

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

@@ -78,9 +78,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -134,51 +134,51 @@
- +
o TriangleMesh()

- -

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

- +

o META_Shape(osg, TriangleMesh)

- +

ovoid setVertices(Vec3Array* vertices)

- +

oVec3Array* getVertices()

- +

oconst Vec3Array* getVertices() const

- -

ovoid setIndices(IndexArray* indices) + +
ovoid setIndices(IndexArray* indices)

- +

oIndexArray* getIndices()

- +

oconst IndexArray* getIndices() const

- +

o ~TriangleMesh()

- +

oref_ptr<Vec3Array> _vertices

- +

oref_ptr<IndexArray> _indices


diff --git a/doc/doc++/osg/UByte4.html b/doc/doc++/osg/UByte4.html index d041f523f..d244d1f95 100644 --- a/doc/doc++/osg/UByte4.html +++ b/doc/doc++/osg/UByte4.html @@ -13,69 +13,69 @@

Public Fields

-[more]unsigned char _v[4] +[more]unsigned char _v[4]

Public Methods

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

@@ -92,119 +92,119 @@ UByte4 * float is okay
- +
o UByte4()

- -

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

- +

ounsigned char _v[4]

- +

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

- +

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

- +

oinline bool operator < (const UByte4& v) const

- +

oinline unsigned char* ptr()

- +

oinline const unsigned char* ptr() const

- -

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

- +

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

- +

oinline unsigned char operator [] (unsigned 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 * (float rhs) const
multiply by scalar

- +

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

- +

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

- +

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

- +

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

- +

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

- +

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

- +

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

diff --git a/doc/doc++/osg/Vec2.html b/doc/doc++/osg/Vec2.html index 9f4ae56af..1532a95d8 100644 --- a/doc/doc++/osg/Vec2.html +++ b/doc/doc++/osg/Vec2.html @@ -13,80 +13,80 @@

Public Fields

-[more]float _v[2] +[more]float _v[2]

Public Methods

-[more] Vec2() +[more] Vec2()
-[more] Vec2(float x, float y) +[more] Vec2(float x, float y)
-[more]inline bool operator == (const Vec2& v) const +[more]inline bool operator == (const Vec2& v) const
-[more]inline bool operator != (const Vec2& v) const +[more]inline bool operator != (const Vec2& v) const
-[more]inline bool operator < (const Vec2& v) const +[more]inline bool operator < (const Vec2& v) const
-[more]inline float* ptr() +[more]inline float* ptr()
-[more]inline const float* ptr() const +[more]inline const float* ptr() const
-[more]inline void set( float x, float y ) +[more]inline void set( float x, float y )
-[more]inline float& operator [] (int i) +[more]inline float& operator [] (int i)
-[more]inline float operator [] (int i) const +[more]inline float operator [] (int i) const
-[more]inline float& x() +[more]inline float& x()
-[more]inline float& y() +[more]inline float& y()
-[more]inline float x() const +[more]inline float x() const
-[more]inline float y() const +[more]inline float y() const
-[more]inline bool valid() const +[more]inline bool valid() const
-[more]inline bool isNaN() const +[more]inline bool isNaN() const
-[more]inline float operator * (const Vec2& rhs) const +[more]inline float operator * (const Vec2& rhs) const
dot product
-[more]inline const Vec2 operator * (float rhs) const +[more]inline const Vec2 operator * (float rhs) const
multiply by scalar
-[more]inline Vec2& operator *= (float rhs) +[more]inline Vec2& operator *= (float rhs)
unary multiply by scalar
-[more]inline const Vec2 operator / (float rhs) const +[more]inline const Vec2 operator / (float rhs) const
divide by scalar
-[more]inline Vec2& operator /= (float rhs) +[more]inline Vec2& operator /= (float rhs)
unary divide by scalar
-[more]inline const Vec2 operator + (const Vec2& rhs) const +[more]inline const Vec2 operator + (const Vec2& rhs) const
binary vector add
-[more]inline Vec2& operator += (const Vec2& rhs) +[more]inline Vec2& operator += (const Vec2& rhs)
unary vector add.
-[more]inline const Vec2 operator - (const Vec2& rhs) const +[more]inline const Vec2 operator - (const Vec2& rhs) const
binary vector subtract
-[more]inline Vec2& operator -= (const Vec2& rhs) +[more]inline Vec2& operator -= (const Vec2& rhs)
unary vector subtract
-[more]inline const Vec2 operator - () const +[more]inline const Vec2 operator - () const
negation operator.
-[more]inline float length() const +[more]inline float length() const
Length of the vector = sqrt( vec .
-[more]inline float length2( void ) const +[more]inline float length2( void ) const
Length squared of the vector = vec .
-[more]inline float normalize() +[more]inline float normalize()
normalize the vector so that it has length unity returns the previous length of the vector

@@ -103,136 +103,136 @@ BTW: Vec2 * float is okay
- +
o Vec2()

- -

o Vec2(float x, float y) + +
o Vec2(float x, float y)

- +

ofloat _v[2]

- +

oinline bool operator == (const Vec2& v) const

- +

oinline bool operator != (const Vec2& v) const

- +

oinline bool operator < (const Vec2& v) const

- +

oinline float* ptr()

- +

oinline const float* ptr() const

- -

oinline void set( float x, float y ) + +
oinline void set( float x, float y )

- +

oinline float& operator [] (int i)

- +

oinline float operator [] (int i) const

- +

oinline float& x()

- +

oinline float& y()

- +

oinline float x() const

- +

oinline float y() const

- +

oinline bool valid() const

- +

oinline bool isNaN() const

- +

oinline float operator * (const Vec2& rhs) const
dot product

- +

oinline const Vec2 operator * (float rhs) const
multiply by scalar

- +

oinline Vec2& operator *= (float rhs)
unary multiply by scalar

- +

oinline const Vec2 operator / (float rhs) const
divide by scalar

- +

oinline Vec2& operator /= (float rhs)
unary divide by scalar

- +

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

- +

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

- +

oinline const Vec2 operator - (const Vec2& rhs) const
binary vector subtract

- +

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

- +

oinline const Vec2 operator - () const
negation operator. Returns the negative of the Vec2

- +

oinline float length() const
Length of the vector = sqrt( vec . vec )

- +

oinline float length2( void ) const
Length squared of the vector = vec . vec

- +

oinline float normalize()
normalize the vector so that it has length unity returns the previous length of the vector diff --git a/doc/doc++/osg/Vec3.html b/doc/doc++/osg/Vec3.html index dad6f5e28..52238ad07 100644 --- a/doc/doc++/osg/Vec3.html +++ b/doc/doc++/osg/Vec3.html @@ -13,87 +13,87 @@

Public Fields

-[more]float _v[3] +[more]float _v[3]

Public Methods

-[more] Vec3() +[more] Vec3()
-[more] Vec3(float x, float y, float z) +[more] Vec3(float x, float y, float z)
-[more]inline bool operator == (const Vec3& v) const +[more]inline bool operator == (const Vec3& v) const
-[more]inline bool operator != (const Vec3& v) const +[more]inline bool operator != (const Vec3& v) const
-[more]inline bool operator < (const Vec3& v) const +[more]inline bool operator < (const Vec3& v) const
-[more]inline float* ptr() +[more]inline float* ptr()
-[more]inline const float* ptr() const +[more]inline const float* ptr() const
-[more]inline void set( float x, float y, float z) +[more]inline void set( float x, float y, float z)
-[more]inline float& operator [] (int i) +[more]inline float& operator [] (int i)
-[more]inline float operator [] (int i) const +[more]inline float operator [] (int i) const
-[more]inline float& x() +[more]inline float& x()
-[more]inline float& y() +[more]inline float& y()
-[more]inline float& z() +[more]inline float& z()
-[more]inline float x() const +[more]inline float x() const
-[more]inline float y() const +[more]inline float y() const
-[more]inline float z() const +[more]inline float z() const
-[more]inline bool valid() const +[more]inline bool valid() const
-[more]inline bool isNaN() const +[more]inline bool isNaN() const
-[more]inline float operator * (const Vec3& rhs) const +[more]inline float operator * (const Vec3& rhs) const
dot product
-[more]inline const Vec3 operator ^ (const Vec3& rhs) const +[more]inline const Vec3 operator ^ (const Vec3& rhs) const
cross product
-[more]inline const Vec3 operator * (float rhs) const +[more]inline const Vec3 operator * (float rhs) const
multiply by scalar
-[more]inline Vec3& operator *= (float rhs) +[more]inline Vec3& operator *= (float rhs)
unary multiply by scalar
-[more]inline const Vec3 operator / (float rhs) const +[more]inline const Vec3 operator / (float rhs) const
divide by scalar
-[more]inline Vec3& operator /= (float rhs) +[more]inline Vec3& operator /= (float rhs)
unary divide by scalar
-[more]inline const Vec3 operator + (const Vec3& rhs) const +[more]inline const Vec3 operator + (const Vec3& rhs) const
binary vector add
-[more]inline Vec3& operator += (const Vec3& rhs) +[more]inline Vec3& operator += (const Vec3& rhs)
unary vector add.
-[more]inline const Vec3 operator - (const Vec3& rhs) const +[more]inline const Vec3 operator - (const Vec3& rhs) const
binary vector subtract
-[more]inline Vec3& operator -= (const Vec3& rhs) +[more]inline Vec3& operator -= (const Vec3& rhs)
unary vector subtract
-[more]inline const Vec3 operator - () const +[more]inline const Vec3 operator - () const
negation operator.
-[more]inline float length() const +[more]inline float length() const
Length of the vector = sqrt( vec .
-[more]inline float length2() const +[more]inline float length2() const
Length squared of the vector = vec .
-[more]inline float normalize() +[more]inline float normalize()
normalize the vector so that it has length unity returns the previous length of the vector

@@ -110,149 +110,149 @@ Vec3 * float is okay
- +
o Vec3()

- -

o Vec3(float x, float y, float z) + +
o Vec3(float x, float y, float z)

- +

ofloat _v[3]

- +

oinline bool operator == (const Vec3& v) const

- +

oinline bool operator != (const Vec3& v) const

- +

oinline bool operator < (const Vec3& v) const

- +

oinline float* ptr()

- +

oinline const float* ptr() const

- -

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

- +

oinline float& operator [] (int i)

- +

oinline float operator [] (int i) const

- +

oinline float& x()

- +

oinline float& y()

- +

oinline float& z()

- +

oinline float x() const

- +

oinline float y() const

- +

oinline float z() const

- +

oinline bool valid() const

- +

oinline bool isNaN() const

- +

oinline float operator * (const Vec3& rhs) const
dot product

- +

oinline const Vec3 operator ^ (const Vec3& rhs) const
cross product

- +

oinline const Vec3 operator * (float rhs) const
multiply by scalar

- +

oinline Vec3& operator *= (float rhs)
unary multiply by scalar

- +

oinline const Vec3 operator / (float rhs) const
divide by scalar

- +

oinline Vec3& operator /= (float rhs)
unary divide by scalar

- +

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

- +

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

- +

oinline const Vec3 operator - (const Vec3& rhs) const
binary vector subtract

- +

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

- +

oinline const Vec3 operator - () const
negation operator. Returns the negative of the Vec3

- +

oinline float length() const
Length of the vector = sqrt( vec . vec )

- +

oinline float length2() const
Length squared of the vector = vec . vec

- +

oinline float normalize()
normalize the vector so that it has length unity returns the previous length of the vector diff --git a/doc/doc++/osg/Vec4.html b/doc/doc++/osg/Vec4.html index 3fcd8057a..0dab8518d 100644 --- a/doc/doc++/osg/Vec4.html +++ b/doc/doc++/osg/Vec4.html @@ -13,94 +13,94 @@

Public Fields

-[more]float _v[4] +[more]float _v[4]

Public Methods

-[more] Vec4() +[more] Vec4()
-[more] Vec4(float x, float y, float z, float w) +[more] Vec4(float x, float y, float z, float w)
-[more] Vec4(const Vec3& v3, float w) +[more] Vec4(const Vec3& v3, float w)
-[more]inline bool operator == (const Vec4& v) const +[more]inline bool operator == (const Vec4& v) const
-[more]inline bool operator != (const Vec4& v) const +[more]inline bool operator != (const Vec4& v) const
-[more]inline bool operator < (const Vec4& v) const +[more]inline bool operator < (const Vec4& v) const
-[more]inline float* ptr() +[more]inline float* ptr()
-[more]inline const float* ptr() const +[more]inline const float* ptr() const
-[more]inline void set( float x, float y, float z, float w) +[more]inline void set( float x, float y, float z, float w)
-[more]inline float& operator [] (unsigned int i) +[more]inline float& operator [] (unsigned int i)
-[more]inline float operator [] (unsigned int i) const +[more]inline float operator [] (unsigned int i) const
-[more]inline float& x() +[more]inline float& x()
-[more]inline float& y() +[more]inline float& y()
-[more]inline float& z() +[more]inline float& z()
-[more]inline float& w() +[more]inline float& w()
-[more]inline float x() const +[more]inline float x() const
-[more]inline float y() const +[more]inline float y() const
-[more]inline float z() const +[more]inline float z() const
-[more]inline float w() const +[more]inline float w() const
-[more]inline unsigned long asABGR() const +[more]inline unsigned long asABGR() const
-[more]inline unsigned long asRGBA() const +[more]inline unsigned long asRGBA() const
-[more]inline bool valid() const +[more]inline bool valid() const
-[more]inline bool isNaN() const +[more]inline bool isNaN() const
-[more]inline float operator * (const Vec4& rhs) const +[more]inline float operator * (const Vec4& rhs) const
dot product
-[more]inline Vec4 operator * (float rhs) const +[more]inline Vec4 operator * (float rhs) const
multiply by scalar
-[more]inline Vec4& operator *= (float rhs) +[more]inline Vec4& operator *= (float rhs)
unary multiply by scalar
-[more]inline Vec4 operator / (float rhs) const +[more]inline Vec4 operator / (float rhs) const
divide by scalar
-[more]inline Vec4& operator /= (float rhs) +[more]inline Vec4& operator /= (float rhs)
unary divide by scalar
-[more]inline Vec4 operator + (const Vec4& rhs) const +[more]inline Vec4 operator + (const Vec4& rhs) const
binary vector add
-[more]inline Vec4& operator += (const Vec4& rhs) +[more]inline Vec4& operator += (const Vec4& rhs)
unary vector add.
-[more]inline Vec4 operator - (const Vec4& rhs) const +[more]inline Vec4 operator - (const Vec4& rhs) const
binary vector subtract
-[more]inline Vec4& operator -= (const Vec4& rhs) +[more]inline Vec4& operator -= (const Vec4& rhs)
unary vector subtract
-[more]inline const Vec4 operator - () const +[more]inline const Vec4 operator - () const
negation operator.
-[more]inline float length() const +[more]inline float length() const
Length of the vector = sqrt( vec .
-[more]inline float length2() const +[more]inline float length2() const
Length squared of the vector = vec .
-[more]inline float normalize() +[more]inline float normalize()
normalize the vector so that it has length unity returns the previous length of the vector

@@ -117,164 +117,164 @@ Vec4 * float is okay
- +
o Vec4()

- -

o Vec4(float x, float y, float z, float w) + +
o Vec4(float x, float y, float z, float w)

- -

o Vec4(const Vec3& v3, float w) + +
o Vec4(const Vec3& v3, float w)

- +

ofloat _v[4]

- +

oinline bool operator == (const Vec4& v) const

- +

oinline bool operator != (const Vec4& v) const

- +

oinline bool operator < (const Vec4& v) const

- +

oinline float* ptr()

- +

oinline const float* ptr() const

- -

oinline void set( float x, float y, float z, float w) + +
oinline void set( float x, float y, float z, float w)

- +

oinline float& operator [] (unsigned int i)

- +

oinline float operator [] (unsigned int i) const

- +

oinline float& x()

- +

oinline float& y()

- +

oinline float& z()

- +

oinline float& w()

- +

oinline float x() const

- +

oinline float y() const

- +

oinline float z() const

- +

oinline float w() const

- +

oinline unsigned long asABGR() const

- +

oinline unsigned long asRGBA() const

- +

oinline bool valid() const

- +

oinline bool isNaN() const

- +

oinline float operator * (const Vec4& rhs) const
dot product

- +

oinline Vec4 operator * (float rhs) const
multiply by scalar

- +

oinline Vec4& operator *= (float rhs)
unary multiply by scalar

- +

oinline Vec4 operator / (float rhs) const
divide by scalar

- +

oinline Vec4& operator /= (float rhs)
unary divide by scalar

- +

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

- +

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

- +

oinline Vec4 operator - (const Vec4& rhs) const
binary vector subtract

- +

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

- +

oinline const Vec4 operator - () const
negation operator. Returns the negative of the Vec4

- +

oinline float length() const
Length of the vector = sqrt( vec . vec )

- +

oinline float length2() const
Length squared of the vector = vec . vec

- +

oinline float normalize()
normalize the vector so that it has length unity returns the previous length of the vector diff --git a/doc/doc++/osg/VectorSizei.html b/doc/doc++/osg/VectorSizei.html index aedaf1361..9e9e6dc23 100644 --- a/doc/doc++/osg/VectorSizei.html +++ b/doc/doc++/osg/VectorSizei.html @@ -12,17 +12,17 @@

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

@@ -32,19 +32,19 @@
- +
o VectorSizei()

- +

oexplicit VectorSizei(size_type n)

- -

o VectorSizei(const VectorSizei &copy) + +
o VectorSizei(const VectorSizei &copy)

- +

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

Alphabetic index HTML hierarchy of classes or Java


diff --git a/doc/doc++/osg/VectorUByte.html b/doc/doc++/osg/VectorUByte.html index 5130ee037..2465dec07 100644 --- a/doc/doc++/osg/VectorUByte.html +++ b/doc/doc++/osg/VectorUByte.html @@ -12,17 +12,17 @@

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

@@ -32,19 +32,19 @@
- +
o VectorUByte()

- +

oexplicit VectorUByte(size_type n)

- -

o VectorUByte(const VectorUByte &copy) + +
o VectorUByte(const VectorUByte &copy)

- +

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

Alphabetic index HTML hierarchy of classes or Java


diff --git a/doc/doc++/osg/VectorUInt.html b/doc/doc++/osg/VectorUInt.html index 39bbe3520..d4147bd0c 100644 --- a/doc/doc++/osg/VectorUInt.html +++ b/doc/doc++/osg/VectorUInt.html @@ -12,17 +12,17 @@

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

@@ -32,19 +32,19 @@
- +
o VectorUInt()

- +

oexplicit VectorUInt(size_type n)

- -

o VectorUInt(const VectorUInt &copy) + +
o VectorUInt(const VectorUInt &copy)

- +

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

Alphabetic index HTML hierarchy of classes or Java


diff --git a/doc/doc++/osg/VectorUShort.html b/doc/doc++/osg/VectorUShort.html index 34099aebb..adda8f5e8 100644 --- a/doc/doc++/osg/VectorUShort.html +++ b/doc/doc++/osg/VectorUShort.html @@ -12,17 +12,17 @@

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

@@ -32,19 +32,19 @@
- +
o VectorUShort()

- +

oexplicit VectorUShort(size_type n)

- -

o VectorUShort(const VectorUShort &copy) + +
o VectorUShort(const VectorUShort &copy)

- +

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

Alphabetic index HTML hierarchy of classes or Java


diff --git a/doc/doc++/osg/VertexProgram.html b/doc/doc++/osg/VertexProgram.html index b5405fb4d..73bd366a9 100644 --- a/doc/doc++/osg/VertexProgram.html +++ b/doc/doc++/osg/VertexProgram.html @@ -23,53 +23,53 @@

Public Methods

-[more] VertexProgram() +[more] VertexProgram()
-[more] VertexProgram(const VertexProgram& vp, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] VertexProgram(const VertexProgram& vp, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, VertexProgram, VERTEXPROGRAM) +[more] META_StateAttribute(osg, VertexProgram, VERTEXPROGRAM)
-[more]virtual int compare(const osg::StateAttribute& sa) const +[more]virtual int compare(const osg::StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
-[more]inline GLuint& getVertexProgramID(unsigned int contextID) const +[more]inline GLuint& getVertexProgramID(unsigned int contextID) const
Get the handle to the vertex program id for the current context
-[more]inline void setVertexProgram( const std::string& program ) +[more]inline void setVertexProgram( const std::string& program )
Set the vertex program using C++ style string
-[more]inline void setVertexProgram( const char* program ) +[more]inline void setVertexProgram( const char* program )
Set the vertex program using a C style string
-[more]inline const std::string& getVertexProgram() const +[more]inline const std::string& getVertexProgram() const
Get the vertex program
-[more]inline void setProgramLocalParameter(const GLuint index, const Vec4& p) +[more]inline void setProgramLocalParameter(const GLuint index, const Vec4& p)
Program Parameters
-[more]inline void setMatrix(const GLenum mode, const Matrix& matrix) +[more]inline void setMatrix(const GLenum mode, const Matrix& matrix)
Matrix
-[more]void dirtyVertexProgramObject() +[more]void dirtyVertexProgramObject()
Force a recompile on next apply() of associated OpenGL vertex program objects
-[more]static void deleteVertexProgramObject(unsigned int contextID, GLuint handle) +[more]static void deleteVertexProgramObject(unsigned int contextID, GLuint handle)
use deleteVertexProgramObject instead of glDeletePrograms to allow OpenGL Vertex Program objects to cached until they can be deleted by the OpenGL context in which they were created, specified by contextID
-[more]static void flushDeletedVertexProgramObjects(unsigned int contextID, double currentTime, double& availableTime) +[more]static void flushDeletedVertexProgramObjects(unsigned int contextID, double currentTime, double& availableTime)
flush all the cached vertex programs which need to be deleted in the OpenGL context related to contextID
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const
-[more]virtual void compile(State& state) const +[more]virtual void compile(State& state) const
-[more]static Extensions* getExtensions(unsigned int contextID, bool createIfNotInitalized) +[more]static Extensions* getExtensions(unsigned int contextID, bool createIfNotInitalized)
Function to call to get the extension of a specified context.
-[more]static void setExtensions(unsigned int contextID, Extensions* extensions) +[more]static void setExtensions(unsigned int contextID, Extensions* extensions)
setExtensions allows users to override the extensions across graphics contexts.

@@ -81,27 +81,27 @@ class SG_EXPORT Extensions: public <

Protected Fields

-[more]mutable VertexProgramIDList _vertexProgramIDList +[more]mutable VertexProgramIDList _vertexProgramIDList
-[more]std::string _vertexProgram +[more]std::string _vertexProgram
-[more]LocalParamList _programLocalParameters +[more]LocalParamList _programLocalParameters
-[more]MatrixList _matrixList +[more]MatrixList _matrixList

Protected Methods

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

Protected Members

-[more]typedef buffered_value<GLuint> VertexProgramIDList +[more]typedef buffered_value<GLuint> VertexProgramIDList
-[more]typedef std::map<GLuint,Vec4> LocalParamList +[more]typedef std::map<GLuint,Vec4> LocalParamList
-[more]typedef std::map<GLenum,Matrix> MatrixList +[more]typedef std::map<GLenum,Matrix> MatrixList

@@ -119,7 +119,7 @@ class SG_EXPORT Extensions: public <
ovirtual const char* className() const
-ovirtual Type getType() const +ovirtual Type getType() const
ovirtual bool isTextureAttribute() const
@@ -150,9 +150,9 @@ class SG_EXPORT Extensions: public <

Public Methods

-oinline void setDataVariance(DataVariance dv) +oinline void setDataVariance(DataVariance dv)
-oinline DataVariance getDataVariance() const +oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
@@ -168,7 +168,7 @@ class SG_EXPORT Extensions: public <

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -207,64 +207,64 @@ class SG_EXPORT Extensions: public <
- +
o VertexProgram()

- -

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

- -

o META_StateAttribute(osg, VertexProgram, VERTEXPROGRAM) + +
o META_StateAttribute(osg, VertexProgram, VERTEXPROGRAM)

- +

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

- -

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

- +

oinline GLuint& getVertexProgramID(unsigned int contextID) const
Get the handle to the vertex program id for the current context

- +

oinline void setVertexProgram( const std::string& program )
Set the vertex program using C++ style string

- +

oinline void setVertexProgram( const char* program )
Set the vertex program using a C style string

- +

oinline const std::string& getVertexProgram() const
Get the vertex program

- +

oinline void setProgramLocalParameter(const GLuint index, const Vec4& p)
Program Parameters

- +

oinline void setMatrix(const GLenum mode, const Matrix& matrix)
Matrix

- +

ovoid dirtyVertexProgramObject()
Force a recompile on next apply() of associated OpenGL vertex program objects

- +

ostatic void deleteVertexProgramObject(unsigned int contextID, GLuint handle)
use deleteVertexProgramObject instead of glDeletePrograms to allow OpenGL Vertex Program objects to cached until they can be deleted @@ -272,21 +272,21 @@ by the OpenGL context in which they were created, specified by contextID

- +

ostatic void flushDeletedVertexProgramObjects(unsigned int contextID, double currentTime, double& availableTime)
flush all the cached vertex programs which need to be deleted in the OpenGL context related to contextID

- +

ovirtual void apply(State& state) const

- +

ovirtual void compile(State& state) const

- +

ostatic Extensions* getExtensions(unsigned int contextID, bool createIfNotInitalized)
Function to call to get the extension of a specified context. If the Exentsion object for that context has not yet been created then @@ -296,43 +296,43 @@ automatically created. However, in this case the extension object only be created with the graphics context associated with ContextID..

- +

ostatic void setExtensions(unsigned int contextID, Extensions* extensions)
setExtensions allows users to override the extensions across graphics contexts. typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions.

- +

ovirtual ~VertexProgram()

- +

otypedef buffered_value<GLuint> VertexProgramIDList

- -

omutable VertexProgramIDList _vertexProgramIDList + +
omutable VertexProgramIDList _vertexProgramIDList

- +

ostd::string _vertexProgram

- +

otypedef std::map<GLuint,Vec4> LocalParamList

- -

oLocalParamList _programLocalParameters + +
oLocalParamList _programLocalParameters

- +

otypedef std::map<GLenum,Matrix> MatrixList

- -

oMatrixList _matrixList + +
oMatrixList _matrixList


This class has no child classes.
diff --git a/doc/doc++/osg/Viewport.html b/doc/doc++/osg/Viewport.html index bfdeea506..5fe62303d 100644 --- a/doc/doc++/osg/Viewport.html +++ b/doc/doc++/osg/Viewport.html @@ -23,55 +23,55 @@

Public Methods

-[more] Viewport() +[more] Viewport()
-[more] Viewport(int x, int y, int width, int height) +[more] Viewport(int x, int y, int width, int height)
-[more] Viewport(const Viewport& vp, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Viewport(const Viewport& vp, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(osg, Viewport, VIEWPORT) +[more] META_StateAttribute(osg, Viewport, VIEWPORT)
-[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]inline void setViewport(int x, int y, int width, int height) +[more]inline void setViewport(int x, int y, int width, int height)
-[more]void getViewport(int& x, int& y, int& width, int& height) const +[more]void getViewport(int& x, int& y, int& width, int& height) const
-[more]inline int x() const +[more]inline int x() const
-[more]inline int y() const +[more]inline int y() const
-[more]inline int width() const +[more]inline int width() const
-[more]inline int height() const +[more]inline int height() const
-[more]inline bool valid() const +[more]inline bool valid() const
-[more]inline float aspectRatio() const +[more]inline float aspectRatio() const
Return the aspcetRatio of the viewport, which is equal to width/height.
-[more]inline const osg::Matrix computeWindowMatrix() const +[more]inline const osg::Matrix computeWindowMatrix() const
Compute the Window Matrix which takes projected coords into Window coordinates.
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

Protected Fields

-[more]int _x +[more]int _x
-[more]int _y +[more]int _y
-[more]int _width +[more]int _width
-[more]int _height +[more]int _height

Protected Methods

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

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

@@ -124,9 +124,9 @@

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -181,63 +181,63 @@
- +
o Viewport()

- -

o Viewport(int x, int y, int width, int height) + +
o Viewport(int x, int y, int width, int height)

- -

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

- -

o META_StateAttribute(osg, Viewport, VIEWPORT) + +
o META_StateAttribute(osg, Viewport, VIEWPORT)

- +

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

- -

oinline void setViewport(int x, int y, int width, int height) + +
oinline void setViewport(int x, int y, int width, int height)

- -

ovoid getViewport(int& x, int& y, int& width, int& height) const + +
ovoid getViewport(int& x, int& y, int& width, int& height) const

- +

oinline int x() const

- +

oinline int y() const

- +

oinline int width() const

- +

oinline int height() const

- +

oinline bool valid() const

- +

oinline float aspectRatio() const
Return the aspcetRatio of the viewport, which is equal to width/height. If height is zero, the potental division by zero is avoid by simply returning 1.0f.

- +

oinline const osg::Matrix computeWindowMatrix() const
Compute the Window Matrix which takes projected coords into Window coordinates. To converted local coodinates into window coordinates use v_window = v_local * MVPW matrix, @@ -246,27 +246,27 @@ viewport::computeWindowMatrix(), the ModelView and Projection Matrix can either current osg::State object, via osgUtil::SceneView or CullVisitor.

- +

ovirtual void apply(State& state) const

- +

ovirtual ~Viewport()

- +

oint _x

- +

oint _y

- +

oint _width

- +

oint _height

diff --git a/doc/doc++/osg/buffered_object.html b/doc/doc++/osg/buffered_object.html index 22c49d0c1..ab3fcb511 100644 --- a/doc/doc++/osg/buffered_object.html +++ b/doc/doc++/osg/buffered_object.html @@ -7,31 +7,31 @@ -

template<class T> class osg::buffered_object


+

template<class T> class osg::buffered_object


Public Methods

-[more]inline buffered_object() +[more]inline buffered_object()
-[more]buffered_object& operator = (const buffered_object& rhs) +[more]buffered_object& operator = (const buffered_object& rhs)
-[more]inline void setAllElementsTo(const T& t) +[more]inline void setAllElementsTo(const T& t)
-[more]inline void clear() +[more]inline void clear()
-[more]inline bool empty() const +[more]inline bool empty() const
-[more]inline unsigned int size() const +[more]inline unsigned int size() const
-[more]inline T& operator[] (unsigned int pos) +[more]inline T& operator[] (unsigned int pos)
-[more]inline const T& operator[] (unsigned int pos) const +[more]inline const T& operator[] (unsigned int pos) const

Protected Fields

-[more]mutable std::vector<T> _array +[more]mutable std::vector<T> _array

@@ -42,40 +42,40 @@
- +
oinline buffered_object()

- +

obuffered_object& operator = (const buffered_object& rhs)

- -

oinline void setAllElementsTo(const T& t) + +
oinline void setAllElementsTo(const T& t)

- +

oinline void clear()

- +

oinline bool empty() const

- +

oinline unsigned int size() const

- -

oinline T& operator[] (unsigned int pos) + +
oinline T& operator[] (unsigned int pos)

- -

oinline const T& operator[] (unsigned int pos) const + +
oinline const T& operator[] (unsigned int pos) const

- -

omutable std::vector<T> _array + +
omutable std::vector<T> _array


This class has no child classes.
diff --git a/doc/doc++/osg/buffered_value.html b/doc/doc++/osg/buffered_value.html index f52bdcf35..3dea3ea7c 100644 --- a/doc/doc++/osg/buffered_value.html +++ b/doc/doc++/osg/buffered_value.html @@ -7,32 +7,32 @@ -

template<class T> class osg::buffered_value

Simple buffered value array which is used for values that need to multibuffered on one per graphics context basis
+

template<class T> class osg::buffered_value

Simple buffered value array which is used for values that need to multibuffered on one per graphics context basis

Public Methods

-[more]inline buffered_value() +[more]inline buffered_value()
-[more]buffered_value& operator = (const buffered_value& rhs) +[more]buffered_value& operator = (const buffered_value& rhs)
-[more]inline void setAllElementsTo(const T& t) +[more]inline void setAllElementsTo(const T& t)
-[more]inline void clear() +[more]inline void clear()
-[more]inline bool empty() const +[more]inline bool empty() const
-[more]inline unsigned int size() const +[more]inline unsigned int size() const
-[more]inline T& operator[] (unsigned int pos) +[more]inline T& operator[] (unsigned int pos)
-[more]inline T operator[] (unsigned int pos) const +[more]inline T operator[] (unsigned int pos) const

Protected Fields

-[more]mutable std::vector<T> _array +[more]mutable std::vector<T> _array

@@ -45,40 +45,40 @@ one per graphics context basis
- +
oinline buffered_value()

- +

obuffered_value& operator = (const buffered_value& rhs)

- -

oinline void setAllElementsTo(const T& t) + +
oinline void setAllElementsTo(const T& t)

- +

oinline void clear()

- +

oinline bool empty() const

- +

oinline unsigned int size() const

- -

oinline T& operator[] (unsigned int pos) + +
oinline T& operator[] (unsigned int pos)

- -

oinline T operator[] (unsigned int pos) const + +
oinline T operator[] (unsigned int pos) const

- -

omutable std::vector<T> _array + +
omutable std::vector<T> _array


This class has no child classes.
diff --git a/doc/doc++/osg/clampArray3BetweenRange.html b/doc/doc++/osg/clampArray3BetweenRange.html index 5a96e9a0c..cd3e61921 100644 --- a/doc/doc++/osg/clampArray3BetweenRange.html +++ b/doc/doc++/osg/clampArray3BetweenRange.html @@ -7,7 +7,7 @@ -

template<class A, class T>inline void osg::clampArray3BetweenRange

(A& value,
  const T minValue,
  const T maxValue,
  const char* valueName)

if array4 elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
+

template<class A, class T>inline void osg::clampArray3BetweenRange

(A& value,
  const T minValue,
  const T maxValue,
  const char* valueName)

if array4 elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.

diff --git a/doc/doc++/osg/clampArray3GEQUAL.html b/doc/doc++/osg/clampArray3GEQUAL.html index b4c9c20e9..fa499cb14 100644 --- a/doc/doc++/osg/clampArray3GEQUAL.html +++ b/doc/doc++/osg/clampArray3GEQUAL.html @@ -7,7 +7,7 @@ -

template<class A, class T>inline void osg::clampArray3GEQUAL

(A& value,
  const T minValue,
  const char* valueName)

if array4 elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
+

template<class A, class T>inline void osg::clampArray3GEQUAL

(A& value,
  const T minValue,
  const char* valueName)

if array4 elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

diff --git a/doc/doc++/osg/clampArray3LEQUAL.html b/doc/doc++/osg/clampArray3LEQUAL.html index 0bfba6eff..8710c7765 100644 --- a/doc/doc++/osg/clampArray3LEQUAL.html +++ b/doc/doc++/osg/clampArray3LEQUAL.html @@ -7,7 +7,7 @@ -

template<class A, class T>inline void osg::clampArray3LEQUAL

(A& value,
  const T maxValue,
  const char* valueName)

if array4 elements are is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
+

template<class A, class T>inline void osg::clampArray3LEQUAL

(A& value,
  const T maxValue,
  const char* valueName)

if array4 elements are is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

diff --git a/doc/doc++/osg/clampArray4BetweenRange.html b/doc/doc++/osg/clampArray4BetweenRange.html index 24fb12d4d..7c1b6ab6c 100644 --- a/doc/doc++/osg/clampArray4BetweenRange.html +++ b/doc/doc++/osg/clampArray4BetweenRange.html @@ -7,7 +7,7 @@ -

template<class A, class T>inline void osg::clampArray4BetweenRange

(A& value,
  const T minValue,
  const T maxValue,
  const char* valueName)

if array4 elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
+

template<class A, class T>inline void osg::clampArray4BetweenRange

(A& value,
  const T minValue,
  const T maxValue,
  const char* valueName)

if array4 elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.

diff --git a/doc/doc++/osg/clampArray4GEQUAL.html b/doc/doc++/osg/clampArray4GEQUAL.html index d4eec279d..1f54dad1b 100644 --- a/doc/doc++/osg/clampArray4GEQUAL.html +++ b/doc/doc++/osg/clampArray4GEQUAL.html @@ -7,7 +7,7 @@ -

template<class A, class T>inline void osg::clampArray4GEQUAL

(A& value,
  const T minValue,
  const char* valueName)

if array4 elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
+

template<class A, class T>inline void osg::clampArray4GEQUAL

(A& value,
  const T minValue,
  const char* valueName)

if array4 elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

diff --git a/doc/doc++/osg/clampArray4LEQUAL.html b/doc/doc++/osg/clampArray4LEQUAL.html index 83fb2cb35..24fb50cd4 100644 --- a/doc/doc++/osg/clampArray4LEQUAL.html +++ b/doc/doc++/osg/clampArray4LEQUAL.html @@ -7,7 +7,7 @@ -

template<class A, class T>inline void osg::clampArray4LEQUAL

(A& value,
  unsigned int first,
  unsigned int last,
  const T maxValue,
  const char* valueName)

if array4 elements are is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
+

template<class A, class T>inline void osg::clampArray4LEQUAL

(A& value,
  unsigned int first,
  unsigned int last,
  const T maxValue,
  const char* valueName)

if array4 elements are is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

diff --git a/doc/doc++/osg/clampArrayElementBetweenRange.html b/doc/doc++/osg/clampArrayElementBetweenRange.html index fc323b48c..b23add734 100644 --- a/doc/doc++/osg/clampArrayElementBetweenRange.html +++ b/doc/doc++/osg/clampArrayElementBetweenRange.html @@ -7,7 +7,7 @@ -

template<class A, class T>inline void osg::clampArrayElementBetweenRange

(A& value,
  unsigned int i,
  const T minValue,
  const T maxValue,
  const char* valueName)

if array element value[i] is between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
+

template<class A, class T>inline void osg::clampArrayElementBetweenRange

(A& value,
  unsigned int i,
  const T minValue,
  const T maxValue,
  const char* valueName)

if array element value[i] is between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.

diff --git a/doc/doc++/osg/clampArrayElementGEQUAL.html b/doc/doc++/osg/clampArrayElementGEQUAL.html index accfac4ec..08184af92 100644 --- a/doc/doc++/osg/clampArrayElementGEQUAL.html +++ b/doc/doc++/osg/clampArrayElementGEQUAL.html @@ -7,7 +7,7 @@ -

template<class A, class T>inline void osg::clampArrayElementGEQUAL

(A& value,
  unsigned int i,
  const T minValue,
  const char* valueName)

if array element value[i] is greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
+

template<class A, class T>inline void osg::clampArrayElementGEQUAL

(A& value,
  unsigned int i,
  const T minValue,
  const char* valueName)

if array element value[i] is greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

diff --git a/doc/doc++/osg/clampArrayElementLEQUAL.html b/doc/doc++/osg/clampArrayElementLEQUAL.html index 8274dd4a3..85d43f45e 100644 --- a/doc/doc++/osg/clampArrayElementLEQUAL.html +++ b/doc/doc++/osg/clampArrayElementLEQUAL.html @@ -7,7 +7,7 @@ -

template<class A, class T>inline void osg::clampArrayElementLEQUAL

(A& value,
  unsigned int i,
  const T maxValue,
  const char* valueName)

if array element value[i] is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
+

template<class A, class T>inline void osg::clampArrayElementLEQUAL

(A& value,
  unsigned int i,
  const T maxValue,
  const char* valueName)

if array element value[i] is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

diff --git a/doc/doc++/osg/clampArrayElementsBetweenRange.html b/doc/doc++/osg/clampArrayElementsBetweenRange.html index 3d09e60cf..8f3ff4829 100644 --- a/doc/doc++/osg/clampArrayElementsBetweenRange.html +++ b/doc/doc++/osg/clampArrayElementsBetweenRange.html @@ -7,7 +7,7 @@ -

template<class A, class T>inline void osg::clampArrayElementsBetweenRange

(A& value,
  unsigned int first,
  unsigned int last,
  const T minValue,
  const T maxValue,
  const char* valueName)

if array elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
+

template<class A, class T>inline void osg::clampArrayElementsBetweenRange

(A& value,
  unsigned int first,
  unsigned int last,
  const T minValue,
  const T maxValue,
  const char* valueName)

if array elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.

diff --git a/doc/doc++/osg/clampArrayElementsGEQUAL.html b/doc/doc++/osg/clampArrayElementsGEQUAL.html index 360aa00d7..648a2d424 100644 --- a/doc/doc++/osg/clampArrayElementsGEQUAL.html +++ b/doc/doc++/osg/clampArrayElementsGEQUAL.html @@ -7,7 +7,7 @@ -

template<class A, class T>inline void osg::clampArrayElementsGEQUAL

(A& value,
  unsigned int first,
  unsigned int last,
  const T minValue,
  const char* valueName)

if array elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
+

template<class A, class T>inline void osg::clampArrayElementsGEQUAL

(A& value,
  unsigned int first,
  unsigned int last,
  const T minValue,
  const char* valueName)

if array elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

diff --git a/doc/doc++/osg/clampArrayElementsLEQUAL.html b/doc/doc++/osg/clampArrayElementsLEQUAL.html index fb1135f14..7e7e79536 100644 --- a/doc/doc++/osg/clampArrayElementsLEQUAL.html +++ b/doc/doc++/osg/clampArrayElementsLEQUAL.html @@ -7,7 +7,7 @@ -

template<class A, class T>inline void osg::clampArrayElementsLEQUAL

(A& value,
  unsigned int first,
  unsigned int last,
  const T maxValue,
  const char* valueName)

if array elements are less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
+

template<class A, class T>inline void osg::clampArrayElementsLEQUAL

(A& value,
  unsigned int first,
  unsigned int last,
  const T maxValue,
  const char* valueName)

if array elements are less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

diff --git a/doc/doc++/osg/clampBetweenRange.html b/doc/doc++/osg/clampBetweenRange.html index 2ed6339b3..5de611d5c 100644 --- a/doc/doc++/osg/clampBetweenRange.html +++ b/doc/doc++/osg/clampBetweenRange.html @@ -7,7 +7,7 @@ -

template<class T>inline void osg::clampBetweenRange

(T& value,
  const T minValue,
  const T maxValue,
  const char* valueName)

if value is between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
+

template<class T>inline void osg::clampBetweenRange

(T& value,
  const T minValue,
  const T maxValue,
  const char* valueName)

if value is between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.

diff --git a/doc/doc++/osg/clampGEQUAL.html b/doc/doc++/osg/clampGEQUAL.html index e124c2532..931f16fcc 100644 --- a/doc/doc++/osg/clampGEQUAL.html +++ b/doc/doc++/osg/clampGEQUAL.html @@ -7,7 +7,7 @@ -

template<class T>inline void osg::clampGEQUAL

(T& value,
  const T minValue,
  const char* valueName)

if value is greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
+

template<class T>inline void osg::clampGEQUAL

(T& value,
  const T minValue,
  const char* valueName)

if value is greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

diff --git a/doc/doc++/osg/clampLEQUAL.html b/doc/doc++/osg/clampLEQUAL.html index 3d8edc0e3..e57e4c787 100644 --- a/doc/doc++/osg/clampLEQUAL.html +++ b/doc/doc++/osg/clampLEQUAL.html @@ -7,7 +7,7 @@ -

template<class T>inline void osg::clampLEQUAL

(T& value,
  const T maxValue,
  const char* valueName)

if value is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
+

template<class T>inline void osg::clampLEQUAL

(T& value,
  const T maxValue,
  const char* valueName)

if value is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

diff --git a/doc/doc++/osg/createTexturedQuadGeometry.html b/doc/doc++/osg/createTexturedQuadGeometry.html index f854a58cd..fa38edaf3 100644 --- a/doc/doc++/osg/createTexturedQuadGeometry.html +++ b/doc/doc++/osg/createTexturedQuadGeometry.html @@ -7,12 +7,13 @@ -

extern SG_EXPORT Geometry* osg::createTexturedQuadGeometry

(const Vec3& corner,
  const Vec3& widthVec,
  const Vec3& heightVec)

Convenience function to be used for creating quad geometry with texture coords.
+

extern SG_EXPORT Geometry* osg::createTexturedQuadGeometry

(const Vec3& corner,
  const Vec3& widthVec,
  const Vec3& heightVec)

Convenience function to be used for creating quad geometry with texture coords.Convenience function to be used for creating quad geometry with texture coords.

Documentation

Convenience function to be used for creating quad geometry with texture coords. +Tex coords go from bottom left (0,0) to top right (1,1).Convenience function to be used for creating quad geometry with texture coords. Tex coords go from bottom left (0,0) to top right (1,1).

Alphabetic index HTML hierarchy of classes or Java



diff --git a/doc/doc++/osg/fast_back_stack.html b/doc/doc++/osg/fast_back_stack.html index 23d1e07fc..ae1c27eec 100644 --- a/doc/doc++/osg/fast_back_stack.html +++ b/doc/doc++/osg/fast_back_stack.html @@ -7,44 +7,44 @@ -

template<class T> class osg::fast_back_stack

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

template<class T> class osg::fast_back_stack

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

Public Fields

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

Public Methods

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

@@ -62,63 +62,63 @@ back can be accessed.
- +
oinline fast_back_stack()

- -

oinline fast_back_stack(const fast_back_stack& fbs) + +
oinline fast_back_stack(const fast_back_stack& fbs)

- -

oinline fast_back_stack(const T& value) + +
oinline fast_back_stack(const T& value)

- +

ofast_back_stack& operator = (const fast_back_stack& fbs)

- +

oinline void clear()

- +

oinline bool empty() const

- +

oinline unsigned int size() const

- -

oinline T& back() + +
oinline T& back()

- -

oinline const T& back() const + +
oinline const T& back() const

- +

oinline void push_back()

- -

oinline void push_back(const T& value) + +
oinline void push_back(const T& value)

- +

oinline void pop_back()

- -

oT _value + +
oT _value

- -

ostd::vector<T> _stack + +
ostd::vector<T> _stack

- +

ounsigned int _size

diff --git a/doc/doc++/osg/index.html b/doc/doc++/osg/index.html index 8192a9785..96fc24d0e 100644 --- a/doc/doc++/osg/index.html +++ b/doc/doc++/osg/index.html @@ -302,6 +302,7 @@
  • OSG_TRIANGLEFUNCTOR
  • OSG_UBYTE4
  • OSG_UNITTESTFRAMEWORK +
  • OSG_USE_DOUBLE_MATRICES
  • OSG_VEC2
  • OSG_VEC3
  • OSG_VEC4 diff --git a/doc/doc++/osg/osg.html b/doc/doc++/osg/osg.html index 65d63e66a..8eb5663c0 100644 --- a/doc/doc++/osg/osg.html +++ b/doc/doc++/osg/osg.html @@ -27,11 +27,11 @@ class SG_EXPORT ArgumentParser
    class SG_EXPORT Array: public Object
    -template<typename T, Array::Type ARRAYTYPE, int DataSize, int DataType> class TemplateArray: public Array, public std::vector<T> +template<typename T, Array::Type ARRAYTYPE, int DataSize, int DataType> class TemplateArray: public Array, public std::vector<T>
    class SG_EXPORT IndexArray: public Array
    -template<typename T, Array::Type ARRAYTYPE, int DataSize, int DataType> class TemplateIndexArray: public IndexArray, public std::vector<T> +template<typename T, Array::Type ARRAYTYPE, int DataSize, int DataType> class TemplateIndexArray: public IndexArray, public std::vector<T>
    [more]typedef TemplateIndexArray<GLbyte,Array::ByteArrayType,1,GL_BYTE> ByteArray
    @@ -78,49 +78,49 @@ class SG_EXPORT BoundingBox class SG_EXPORT BoundingSphere
    General purpose bounding sphere class for enclosing nodes/objects/vertices.
    -template<class T>inline void clampGEQUAL(T& value, const T minValue, const char* valueName) +template<class T>inline void clampGEQUAL(T& value, const T minValue, const char* valueName)
    if value is greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    -template<class T>inline void clampLEQUAL(T& value, const T maxValue, const char* valueName) +template<class T>inline void clampLEQUAL(T& value, const T maxValue, const char* valueName)
    if value is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    -template<class T>inline void clampBetweenRange(T& value, const T minValue, const T maxValue, const char* valueName) +template<class T>inline void clampBetweenRange(T& value, const T minValue, const T maxValue, const char* valueName)
    if value is between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
    -template<class A, class T>inline void clampArrayElementGEQUAL(A& value, unsigned int i, const T minValue, const char* valueName) +template<class A, class T>inline void clampArrayElementGEQUAL(A& value, unsigned int i, const T minValue, const char* valueName)
    if array element value[i] is greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    -template<class A, class T>inline void clampArrayElementLEQUAL(A& value, unsigned int i, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArrayElementLEQUAL(A& value, unsigned int i, const T maxValue, const char* valueName)
    if array element value[i] is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    -template<class A, class T>inline void clampArrayElementBetweenRange(A& value, unsigned int i, const T minValue, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArrayElementBetweenRange(A& value, unsigned int i, const T minValue, const T maxValue, const char* valueName)
    if array element value[i] is between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
    -template<class A, class T>inline void clampArrayElementsGEQUAL(A& value, unsigned int first, unsigned int last, const T minValue, const char* valueName) +template<class A, class T>inline void clampArrayElementsGEQUAL(A& value, unsigned int first, unsigned int last, const T minValue, const char* valueName)
    if array elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    -template<class A, class T>inline void clampArrayElementsLEQUAL(A& value, unsigned int first, unsigned int last, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArrayElementsLEQUAL(A& value, unsigned int first, unsigned int last, const T maxValue, const char* valueName)
    if array elements are less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    -template<class A, class T>inline void clampArrayElementsBetweenRange(A& value, unsigned int first, unsigned int last, const T minValue, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArrayElementsBetweenRange(A& value, unsigned int first, unsigned int last, const T minValue, const T maxValue, const char* valueName)
    if array elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
    -template<class A, class T>inline void clampArray3GEQUAL(A& value, const T minValue, const char* valueName) +template<class A, class T>inline void clampArray3GEQUAL(A& value, const T minValue, const char* valueName)
    if array4 elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    -template<class A, class T>inline void clampArray3LEQUAL(A& value, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArray3LEQUAL(A& value, const T maxValue, const char* valueName)
    if array4 elements are is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    -template<class A, class T>inline void clampArray3BetweenRange(A& value, const T minValue, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArray3BetweenRange(A& value, const T minValue, const T maxValue, const char* valueName)
    if array4 elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
    -template<class A, class T>inline void clampArray4GEQUAL(A& value, const T minValue, const char* valueName) +template<class A, class T>inline void clampArray4GEQUAL(A& value, const T minValue, const char* valueName)
    if array4 elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    -template<class A, class T>inline void clampArray4LEQUAL(A& value, unsigned int first, unsigned int last, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArray4LEQUAL(A& value, unsigned int first, unsigned int last, const T maxValue, const char* valueName)
    if array4 elements are is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    -template<class A, class T>inline void clampArray4BetweenRange(A& value, const T minValue, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArray4BetweenRange(A& value, const T minValue, const T maxValue, const char* valueName)
    if array4 elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
    class SG_EXPORT ClearNode: public Group @@ -191,7 +191,7 @@ enum Endian
    [more]inline Endian getCpuByteOrder()
    -[more]template<class T>inline void swapBytes( T& in ) +[more]template<class T>inline void swapBytes( T& in )
    class SG_EXPORT Fog: public StateAttribute
    Fog - encapsulates OpenGL fog state. @@ -229,7 +229,7 @@ class SG_EXPORT Geode: public Geometry: public Drawable
    extern SG_EXPORT Geometry* createTexturedQuadGeometry(const Vec3& corner, const Vec3& widthVec, const Vec3& heightVec) -
    Convenience function to be used for creating quad geometry with texture coords. +
    Convenience function to be used for creating quad geometry with texture coords.Convenience function to be used for creating quad geometry with texture coords.
    [more]typedef std::vector< ref_ptr<Node> > NodeList
    @@ -280,6 +280,10 @@ class SG_EXPORT Material: public [more]typedef RefMatrixd RefMatrix
    +[more]typedef Matrixf Matrix +
    +[more]typedef RefMatrixf RefMatrix +
    class SG_EXPORT MatrixTransform: public Transform
    MatrixTransform - is a subclass of Transform which has an osg::Matrix which represent a 4x4 transformation of its children from local cordinates into the Transform's parent coordinates
    @@ -287,23 +291,23 @@ class SG_EXPORT Matrixd
    class RefMatrixd: public Object, public Matrixd
    -[more]inline Vec3 operator* (const Vec3& v, const Matrixd& m ) +[more]inline Vec3 operator* (const Vec3& v, const Matrixd& m )
    -[more]inline Vec4 operator* (const Vec4& v, const Matrixd& m ) +[more]inline Vec4 operator* (const Vec4& v, const Matrixd& m )
    -[more]inline std::ostream& operator<< (std::ostream& os, const Matrixd& m ) +[more]inline std::ostream& operator<< (std::ostream& os, const Matrixd& m )
    class SG_EXPORT Matrixf
    class RefMatrixf: public Object, public Matrixf
    -[more]inline Vec3 operator* (const Vec3& v, const Matrixf& m ) +[more]inline Vec3 operator* (const Vec3& v, const Matrixf& m )
    -[more]inline Vec4 operator* (const Vec4& v, const Matrixf& m ) +[more]inline Vec4 operator* (const Vec4& v, const Matrixf& m )
    -[more]inline std::ostream& operator<< (std::ostream& os, const Matrixf& m ) +[more]inline std::ostream& operator<< (std::ostream& os, const Matrixf& m )
    -#define META_Node(library,name) +#define META_Node(library,name)
    META_Node macro define the standard clone, isSameKindAs, className and accept methods.
    class SG_EXPORT Node: public Object @@ -345,9 +349,9 @@ extern SG_EXPORT bool initNotifyLevel( extern SG_EXPORT std::ostream& notify(const NotifySeverity severity)
    notify messaging function for providing fatal through to verbose debugging messages.
    -[more]inline std::ostream& notify(void) +[more]inline std::ostream& notify(void)
    -#define META_Object(library,name) +#define META_Object(library,name)
    META_Object macro define the standard clone, isSameKindAs and className methods.
    class SG_EXPORT Object: public Referenced @@ -362,7 +366,7 @@ class SG_EXPORT PagedLOD: public Plane
    A plane class.
    -[more]inline std::ostream& operator << (std::ostream& output, const Plane& pl) +[more]inline std::ostream& operator << (std::ostream& output, const Plane& pl)
    class SG_EXPORT Point: public StateAttribute
    Point - encapsulates the OpenGL point smoothing and size state @@ -415,7 +419,7 @@ class SG_EXPORT Projection: public Quat
    A quaternion class.
    -[more]inline std::ostream& operator << (std::ostream& output, const Quat& vec) +[more]inline std::ostream& operator << (std::ostream& output, const Quat& vec)
    class SG_EXPORT Referenced
    Base class from providing referencing counted objects @@ -435,7 +439,7 @@ class SG_EXPORT ShadowVolumeOccluder typedef std::vector<ShadowVolumeOccluder> ShadowVolumeOccluderList
    A list of ShadowVolumeOccluder, used by CollectOccluderVisitor and CullVistor's
    -#define META_Shape(library,name) +#define META_Shape(library,name)
    META_StateAttribute macro define the standard clone, isSameKindAs, className and getType methods.
    class SG_EXPORT Shape: public Object @@ -469,11 +473,11 @@ class TessellationHints: public class SG_EXPORT ShapeDrawable: public Drawable
    -[more]#define GL_TEXTURE0 +[more]#define GL_TEXTURE0
    -[more]#define GL_FOG_COORDINATE_ARRAY +[more]#define GL_FOG_COORDINATE_ARRAY
    -[more]#define GL_SECONDARY_COLOR_ARRAY +[more]#define GL_SECONDARY_COLOR_ARRAY
    #define OSG_GL_DEBUG(message)
    macro for use with osg::StateAttrbiute::apply methods for detected and reporting OpenGL error messages @@ -481,7 +485,7 @@ class SG_EXPORT ShapeDrawable: public < class SG_EXPORT State: public Referenced
    State class for managing a state stack.
    -#define META_StateAttribute(library,name,type) +#define META_StateAttribute(library,name,type)
    META_StateAttribute macro define the standard clone, isSameKindAs, className and getType methods.
    #define COMPARE_StateAttribute_Types(TYPE,rhs_attribute) @@ -490,7 +494,7 @@ class SG_EXPORT State: public COMPARE_StateAttribute_Parameter(parameter)
    COMPARE_StateAttribute_Parameter macro is a helper for implementing the StatateAtribute::compare() method.
    -[more]#define GL_COLOR_SUM +[more]#define GL_COLOR_SUM
    class SG_EXPORT StateAttribute: public Object
    Base class for state attribuets @@ -510,9 +514,9 @@ class SG_EXPORT TexEnv: public TexEnvCombine: public StateAttribute
    TexEnvCombine - encapsulates the OpenGL glTexEnvCombine (texture environment) state
    -[more]#define GL_NORMAL_MAP_ARB +[more]#define GL_NORMAL_MAP_ARB
    -[more]#define GL_REFLECTION_MAP_ARB +[more]#define GL_REFLECTION_MAP_ARB
    class SG_EXPORT TexGen: public StateAttribute
    TexGen - encapsulates the OpenGL glTexGen (texture coordinate generation) state @@ -538,13 +542,13 @@ class SG_EXPORT TextureCubeMap: public class SG_EXPORT TextureRectangle: public Texture
    Texture state class which encapsulates OpenGL texture functionality
    -[more]typedef __int64 Timer_t +[more]typedef __int64 Timer_t
    -[more]typedef unsigned long long Timer_t +[more]typedef unsigned long long Timer_t
    -[more]typedef double Timer_t +[more]typedef double Timer_t
    -[more]typedef std::clock_t Timer_t +[more]typedef std::clock_t Timer_t
    class SG_EXPORT Timer
    A high resolution, low latency time stamper @@ -564,7 +568,7 @@ extern SG_EXPORT Matrix Transform: public Group
    A Transform is a group node for which all children are transformed by a 4x4 matrix.
    -template<class T> class TriangleFunctor: public Drawable::PrimitiveFunctor, public T +template<class T> class TriangleFunctor: public Drawable::PrimitiveFunctor, public T
    class UByte4
    General purpose float quad, uses include representation of colour coordinates. @@ -575,13 +579,13 @@ class Vec2 class Vec3
    General purpose float triple for use as vertices, vectors and normals.
    -[more]inline std::ostream& operator << (std::ostream& output, const Vec3& vec) +[more]inline std::ostream& operator << (std::ostream& output, const Vec3& vec)
    -[more]const Vec3 X_AXIS(1.0f, 0.0f, 0.0f) +[more]const Vec3 X_AXIS(1.0f, 0.0f, 0.0f)
    -[more]const Vec3 Y_AXIS(0.0f, 1.0f, 0.0f) +[more]const Vec3 Y_AXIS(0.0f, 1.0f, 0.0f)
    -[more]const Vec3 Z_AXIS(0.0f, 0.0f, 1.0f) +[more]const Vec3 Z_AXIS(0.0f, 0.0f, 1.0f)
    class Vec4
    General purpose float quad, uses include representation of colour coordinates. @@ -598,15 +602,15 @@ class SG_EXPORT VertexProgram: public < class SG_EXPORT Viewport: public StateAttribute
    Encapsulte OpenGL glViewport
    -template<class T> class buffered_value +template<class T> class buffered_value
    Simple buffered value array which is used for values that need to multibuffered on one per graphics context basis
    -template<class T> class buffered_object +template<class T> class buffered_object
    -template<class T> class fast_back_stack +template<class T> class fast_back_stack
    Simple stack implementation that keeps the back() cached locally for fast access rather than at the back of the vector which is the traditional stack implementation.
    -template<class T> class ref_ptr +template<class T> class ref_ptr
    Smart pointer for handling referenced counted objects
  • @@ -694,7 +698,7 @@ template<class T> class <

    -

    otemplate<class T>inline void swapBytes( T& in ) +
    otemplate<class T>inline void swapBytes( T& in )

    @@ -708,96 +712,104 @@ template<class T> class <

    otypedef RefMatrixd RefMatrix

    + + +

    otypedef Matrixf Matrix +

    + + +

    otypedef RefMatrixf RefMatrix +

    - +

    oinline Vec3 operator* (const Vec3& v, const Matrixd& m )

    - +

    oinline Vec4 operator* (const Vec4& v, const Matrixd& m )

    - +

    oinline std::ostream& operator<< (std::ostream& os, const Matrixd& m )

    - +

    oinline Vec3 operator* (const Vec3& v, const Matrixf& m )

    - +

    oinline Vec4 operator* (const Vec4& v, const Matrixf& m )

    - +

    oinline std::ostream& operator<< (std::ostream& os, const Matrixf& m )

    - +

    oinline std::ostream& notify(void)

    - +

    oinline std::ostream& operator << (std::ostream& output, const Plane& pl)

    - +

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

    - +

    o#define GL_TEXTURE0

    - +

    o#define GL_FOG_COORDINATE_ARRAY

    - +

    o#define GL_SECONDARY_COLOR_ARRAY

    - +

    o#define GL_COLOR_SUM

    - +

    o#define GL_NORMAL_MAP_ARB

    - +

    o#define GL_REFLECTION_MAP_ARB

    - +

    otypedef __int64 Timer_t

    - +

    otypedef unsigned long long Timer_t

    - +

    otypedef double Timer_t

    - +

    otypedef std::clock_t Timer_t

    - +

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

    - +

    oconst Vec3 X_AXIS(1.0f, 0.0f, 0.0f)

    - +

    oconst Vec3 Y_AXIS(0.0f, 1.0f, 0.0f)

    - +

    oconst Vec3 Z_AXIS(0.0f, 0.0f, 1.0f)

    Alphabetic index HTML hierarchy of classes or Java


    diff --git a/doc/doc++/osg/ref_ptr.html b/doc/doc++/osg/ref_ptr.html index 6032ba64a..627b378ec 100644 --- a/doc/doc++/osg/ref_ptr.html +++ b/doc/doc++/osg/ref_ptr.html @@ -7,65 +7,65 @@ -

    template<class T> class osg::ref_ptr

    Smart pointer for handling referenced counted objects
    +

    template<class T> class osg::ref_ptr

    Smart pointer for handling referenced counted objects

    Public Methods

    -[more] ref_ptr() +[more] ref_ptr()
    -[more] ref_ptr(T* t) +[more] ref_ptr(T* t)
    -[more] ref_ptr(const ref_ptr& rp) +[more] ref_ptr(const ref_ptr& rp)
    -[more] ~ref_ptr() +[more] ~ref_ptr()
    -[more]inline ref_ptr& operator = (const ref_ptr& rp) +[more]inline ref_ptr& operator = (const ref_ptr& rp)
    -[more]inline ref_ptr& operator = (T* ptr) +[more]inline ref_ptr& operator = (T* ptr)
    -[more]inline bool operator == (const ref_ptr& rp) const +[more]inline bool operator == (const ref_ptr& rp) const
    -[more]inline bool operator != (const ref_ptr& rp) const +[more]inline bool operator != (const ref_ptr& rp) const
    -[more]inline bool operator < (const ref_ptr& rp) const +[more]inline bool operator < (const ref_ptr& rp) const
    -[more]inline bool operator > (const ref_ptr& rp) const +[more]inline bool operator > (const ref_ptr& rp) const
    -[more]inline bool operator == (const T* ptr) const +[more]inline bool operator == (const T* ptr) const
    -[more]inline bool operator != (const T* ptr) const +[more]inline bool operator != (const T* ptr) const
    -[more]inline bool operator < (const T* ptr) const +[more]inline bool operator < (const T* ptr) const
    -[more]inline bool operator > (const T* ptr) const +[more]inline bool operator > (const T* ptr) const
    -[more]inline T& operator*() +[more]inline T& operator*()
    -[more]inline const T& operator*() const +[more]inline const T& operator*() const
    -[more]inline T* operator->() +[more]inline T* operator->()
    -[more]inline const T* operator->() const +[more]inline const T* operator->() const
    -[more]inline bool operator!() const +[more]inline bool operator!() const
    -[more]inline bool valid() const +[more]inline bool valid() const
    -[more]inline T* get() +[more]inline T* get()
    -[more]inline const T* get() const +[more]inline const T* get() const
    -[more]inline T* take() +[more]inline T* take()
    take control over the object pointed to by ref_ptr, unreference but do not delete even if ref count goes to 0, return the pointer to the object.
    -[more]inline T* release() +[more]inline T* release()

    Public Members

    -[more]typedef T element_type +[more]typedef T element_type

    @@ -77,108 +77,108 @@
    - -
    otypedef T element_type + +
    otypedef T element_type

    - +

    o ref_ptr()

    - -

    o ref_ptr(T* t) + +
    o ref_ptr(T* t)

    - -

    o ref_ptr(const ref_ptr& rp) + +
    o ref_ptr(const ref_ptr& rp)

    - +

    o ~ref_ptr()

    - +

    oinline ref_ptr& operator = (const ref_ptr& rp)

    - -

    oinline ref_ptr& operator = (T* ptr) + +
    oinline ref_ptr& operator = (T* ptr)

    - +

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

    - +

    oinline bool operator != (const ref_ptr& rp) const

    - +

    oinline bool operator < (const ref_ptr& rp) const

    - +

    oinline bool operator > (const ref_ptr& rp) const

    - -

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

    - -

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

    - -

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

    - -

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

    - -

    oinline T& operator*() + +
    oinline T& operator*()

    - -

    oinline const T& operator*() const + +
    oinline const T& operator*() const

    - -

    oinline T* operator->() + +
    oinline T* operator->()

    - -

    oinline const T* operator->() const + +
    oinline const T* operator->() const

    - +

    oinline bool operator!() const

    - +

    oinline bool valid() const

    - -

    oinline T* get() + +
    oinline T* get()

    - -

    oinline const T* get() const + +
    oinline const T* get() const

    - -

    oinline T* take() + +
    oinline T* take()
    take control over the object pointed to by ref_ptr, unreference but do not delete even if ref count goes to 0, return the pointer to the object. Note, do not use this unless you are 100% sure your code handles the deletion of the object correctly, and only use when absolutely required.

    - -

    oinline T* release() + +
    oinline T* release()


    This class has no child classes.
    diff --git a/doc/doc++/osgFX/AnisotropicLighting.html b/doc/doc++/osgFX/AnisotropicLighting.html index dbaf6ea7d..2b1797c88 100644 --- a/doc/doc++/osgFX/AnisotropicLighting.html +++ b/doc/doc++/osgFX/AnisotropicLighting.html @@ -12,7 +12,7 @@

    Inheritance:

    - + @@ -79,12 +79,6 @@
    oinline void setEnabled(bool v)
    -oinline const osg::Node* getChild() const -
    -oinline osg::Node* getChild() -
    -oinline void setChild(osg::Node* child) -
    oinline int getNumTechniques() const
    oinline Technique* getTechnique(int i) @@ -98,6 +92,8 @@ oinline void addTechnique(Technique* tech)
    oinline void dirtyTechniques() +
    +oinline void inherited_traverse(osg::NodeVisitor &nv)

    @@ -105,11 +101,6 @@ oenum TechniqueSelection

    -

    -

    Protected Methods

    -ovirtual bool computeBound() const -

    - diff --git a/doc/doc++/osgFX/BumpMapping.html b/doc/doc++/osgFX/BumpMapping.html index fe79c92f7..a2fc2f48f 100644 --- a/doc/doc++/osgFX/BumpMapping.html +++ b/doc/doc++/osgFX/BumpMapping.html @@ -12,7 +12,7 @@

    Inheritance:

    - + @@ -27,7 +27,7 @@
    [more] BumpMapping(const BumpMapping &copy, const osg::CopyOp &copyop = osg::CopyOp::SHALLOW_COPY)
    -[more] META_Effect(osgFX, BumpMapping, "Bump Mapping", "This effect makes surfaces appear bumpy. The child node must use two textures, " "one for diffuse color and one for the normal map (which can be created " "from a height map with tools like nVIDIA's normal map generator). Furthermore, " "tangent-space basis vectors must be created and assigned to each Geometry; this " "can be done quickly by calling BumpMapping::prepareChild(). Note that both " "diffuse and normal map textures must have corresponding UV maps defined in " "Geometry objects.\n" "This effect defines a preferred technique which uses ARB vertex & fragment " "programs, and a fallback technique which doesn't use fragment programs. The " "latter is more limited though since it can't handle ambient and specular " "components.", "Marco Jez") +[more] META_Effect(osgFX, BumpMapping, "Bump Mapping", "This effect makes surfaces appear bumpy. Children nodes must use two textures, " "one for diffuse color and one for the normal map (which can be created " "from a height map with tools like nVIDIA's normal map generator). Furthermore, " "tangent-space basis vectors must be created and assigned to each Geometry; this " "can be done quickly by calling BumpMapping::prepareChildren(). Note that both " "diffuse and normal map textures must have corresponding UV maps defined in " "Geometry objects.\n" "This effect defines a preferred technique which uses ARB vertex & fragment " "programs, and a fallback technique which doesn't use fragment programs. The " "latter is more limited though since it can't handle ambient and specular " "components.", "Marco Jez")
    [more]void prepareGeometry(osg::Geometry* geo)
    prepare a Geometry for bump lighting. @@ -35,8 +35,8 @@ [more]void prepareNode(osg::Node* node)
    prepare a Node for bump lighting, calling prepareGeometry() for each Geometry
    -[more]void prepareChild() -
    prepare the current child for bump lighting. +[more]void prepareChildren() +
    prepare children for bump lighting.
    [more]void setUpDemo()
    set up a demo environment with predefined diffuse and normal maps, as well as texture coordinates @@ -60,22 +60,22 @@
    set the texture unit that contains normal map texture.
    [more]inline osg::Texture2D* getOverrideDiffuseTexture() -
    get the diffuse color texture that overrides the child's texture +
    get the diffuse color texture that overrides children's texture
    [more]inline const osg::Texture2D* getOverrideDiffuseTexture() const -
    get the const diffuse color texture that overrides the child's texture +
    get the const diffuse color texture that overrides children's texture
    [more]inline void setOverrideDiffuseTexture(osg::Texture2D* texture) -
    set the diffuse color texture that overrides the child's texture +
    set the diffuse color texture that overrides children's texture
    [more]inline osg::Texture2D* getOverrideNormalMapTexture() -
    get the normal map texture that overrides the child's texture +
    get the normal map texture that overrides children's texture
    [more]inline const osg::Texture2D* getOverrideNormalMapTexture() const -
    get the const normal map texture that overrides the child's texture +
    get the const normal map texture that overrides children's texture
    [more]inline void setOverrideNormalMapTexture(osg::Texture2D* texture) -
    set the normal map texture that overrides the child's texture +
    set the normal map texture that overrides children's texture

    @@ -110,12 +110,6 @@
    oinline void setEnabled(bool v)
    -oinline const osg::Node* getChild() const -
    -oinline osg::Node* getChild() -
    -oinline void setChild(osg::Node* child) -
    oinline int getNumTechniques() const
    oinline Technique* getTechnique(int i) @@ -129,6 +123,8 @@ oinline void addTechnique(Technique* tech)
    oinline void dirtyTechniques() +
    +oinline void inherited_traverse(osg::NodeVisitor &nv)

    @@ -136,22 +132,17 @@ oenum TechniqueSelection

    -

    -

    Protected Methods

    -ovirtual bool computeBound() const -

    -

    Documentation

    -This effect makes surfaces appear bumpy. The child node must use two textures, +This effect makes surfaces appear bumpy. Children nodes must use two textures, one for diffuse color and one for the normal map (which can be created from a height map with tools like nVIDIA's normal map generator). Furthermore, tangent-space basis vectors must be created and assigned to each Geometry; this -can be done quickly by calling BumpMapping::prepareChild(). Note that both +can be done quickly by calling BumpMapping::prepareChildren(). Note that both diffuse and normal map textures must have corresponding UV maps defined in Geometry objects. This effect defines a preferred technique which uses ARB vertex & fragment @@ -170,7 +161,7 @@ components.

    -

    o META_Effect(osgFX, BumpMapping, "Bump Mapping", "This effect makes surfaces appear bumpy. The child node must use two textures, " "one for diffuse color and one for the normal map (which can be created " "from a height map with tools like nVIDIA's normal map generator). Furthermore, " "tangent-space basis vectors must be created and assigned to each Geometry; this " "can be done quickly by calling BumpMapping::prepareChild(). Note that both " "diffuse and normal map textures must have corresponding UV maps defined in " "Geometry objects.\n" "This effect defines a preferred technique which uses ARB vertex & fragment " "programs, and a fallback technique which doesn't use fragment programs. The " "latter is more limited though since it can't handle ambient and specular " "components.", "Marco Jez") +
    o META_Effect(osgFX, BumpMapping, "Bump Mapping", "This effect makes surfaces appear bumpy. Children nodes must use two textures, " "one for diffuse color and one for the normal map (which can be created " "from a height map with tools like nVIDIA's normal map generator). Furthermore, " "tangent-space basis vectors must be created and assigned to each Geometry; this " "can be done quickly by calling BumpMapping::prepareChildren(). Note that both " "diffuse and normal map textures must have corresponding UV maps defined in " "Geometry objects.\n" "This effect defines a preferred technique which uses ARB vertex & fragment " "programs, and a fallback technique which doesn't use fragment programs. The " "latter is more limited though since it can't handle ambient and specular " "components.", "Marco Jez")

    @@ -184,10 +175,10 @@ generated and attached to the geometry as vertex attribute arrays.

    ovoid prepareNode(osg::Node* node)
    prepare a Node for bump lighting, calling prepareGeometry() for each Geometry

    - + -

    ovoid prepareChild() -
    prepare the current child for bump lighting. Actually calls prepareNode(getChild()) +
    ovoid prepareChildren() +
    prepare children for bump lighting. Actually calls prepareNode() for each child

    @@ -239,32 +230,32 @@ generated and attached to the geometry as vertex attribute arrays.

    oinline osg::Texture2D* getOverrideDiffuseTexture() -
    get the diffuse color texture that overrides the child's texture +
    get the diffuse color texture that overrides children's texture

    oinline const osg::Texture2D* getOverrideDiffuseTexture() const -
    get the const diffuse color texture that overrides the child's texture +
    get the const diffuse color texture that overrides children's texture

    oinline void setOverrideDiffuseTexture(osg::Texture2D* texture) -
    set the diffuse color texture that overrides the child's texture +
    set the diffuse color texture that overrides children's texture

    oinline osg::Texture2D* getOverrideNormalMapTexture() -
    get the normal map texture that overrides the child's texture +
    get the normal map texture that overrides children's texture

    oinline const osg::Texture2D* getOverrideNormalMapTexture() const -
    get the const normal map texture that overrides the child's texture +
    get the const normal map texture that overrides children's texture

    oinline void setOverrideNormalMapTexture(osg::Texture2D* texture) -
    set the normal map texture that overrides the child's texture +
    set the normal map texture that overrides children's texture


    This class has no child classes.
    diff --git a/doc/doc++/osgFX/Cartoon.html b/doc/doc++/osgFX/Cartoon.html index 07a31fba3..cca35e204 100644 --- a/doc/doc++/osgFX/Cartoon.html +++ b/doc/doc++/osgFX/Cartoon.html @@ -12,7 +12,7 @@

    Inheritance:

    - + @@ -82,12 +82,6 @@
    oinline void setEnabled(bool v)
    -oinline const osg::Node* getChild() const -
    -oinline osg::Node* getChild() -
    -oinline void setChild(osg::Node* child) -
    oinline int getNumTechniques() const
    oinline Technique* getTechnique(int i) @@ -101,6 +95,8 @@ oinline void addTechnique(Technique* tech)
    oinline void dirtyTechniques() +
    +oinline void inherited_traverse(osg::NodeVisitor &nv)

    @@ -108,11 +104,6 @@ oenum TechniqueSelection

    -

    -

    Protected Methods

    -ovirtual bool computeBound() const -

    - diff --git a/doc/doc++/osgFX/Effect.html b/doc/doc++/osgFX/Effect.html index 9442a52d2..13fbd800f 100644 --- a/doc/doc++/osgFX/Effect.html +++ b/doc/doc++/osgFX/Effect.html @@ -12,7 +12,7 @@

    Inheritance:

    - + @@ -46,42 +46,37 @@
    optional: set effect parameters to produce a visually significant result to be used in demo applications like osgfxbrowser.
    [more]virtual void traverse(osg::NodeVisitor &nv) +
    custom traversal
    -[more]inline bool getEnabled() const +[more]inline bool getEnabled() const
    get whether the effect is enabled or not
    -[more]inline void setEnabled(bool v) +[more]inline void setEnabled(bool v)
    set whether the effect is enabled or not
    -[more]inline const osg::Node* getChild() const -
    get the const child node -
    -[more]inline osg::Node* getChild() -
    get the child node -
    -[more]inline void setChild(osg::Node* child) -
    set the child node -
    -[more]inline int getNumTechniques() const +[more]inline int getNumTechniques() const
    get the number of techniques defined for this effect
    -[more]inline Technique* getTechnique(int i) +[more]inline Technique* getTechnique(int i)
    get the i-th technique
    -[more]inline const Technique* getTechnique(int i) const +[more]inline const Technique* getTechnique(int i) const
    get the i-th const technique
    -[more]inline int getSelectedTechnique() const +[more]inline int getSelectedTechnique() const
    get the index of the currently selected technique
    -[more]inline void selectTechnique(int i) +[more]inline void selectTechnique(int i)
    select a technique or enable automatic detection
    -[more]inline void addTechnique(Technique* tech) +[more]inline void addTechnique(Technique* tech)
    add a technique to the effect
    -[more]inline void dirtyTechniques() +[more]inline void dirtyTechniques()
    force rebuilding of techniques on next traversal +
    +[more]inline void inherited_traverse(osg::NodeVisitor &nv) +
    default traversal

    @@ -95,9 +90,7 @@
    [more]Effect& operator=(const Effect &)
    -[more]virtual bool computeBound() const -
    -[more]virtual bool define_techniques() = 0 +[more]virtual bool define_techniques() = 0
    abstract method to be implemented in derived classes; its purpose if to create the techniques that can be used for obtaining the desired effect.

    @@ -116,10 +109,9 @@ often using different OpenGL extensions. The active technique can be selected either manually, with selectTechnique(), or automatically, in which case the first technique that is supported by all active rendering contexts is chosen. -If you are an Effect user, then simply use it as a single-child group. -Create an instance of your desired effect, add it to your scene graph (it -is a Node) and call its setChild() method to set its child node as you -would do with a Group. +If you are an Effect user, then simply use it as a node group. Create an +instance of your desired effect, add it to your scene graph and call its +addChild() method to add a child node as you would do with a Group. If you are an Effect developer, you will have to implement the method define_techniques() to define the different techniques that can be used for obtaining the desired effect. In define_techniques() you will usually @@ -185,6 +177,7 @@ is to do nothing.
    ovirtual void traverse(osg::NodeVisitor &nv) +
    custom traversal

    @@ -194,12 +187,8 @@ is to do nothing.

    oEffect& operator=(const Effect &)

    - - -

    ovirtual bool computeBound() const -

    - +

    ovirtual bool define_techniques() = 0
    abstract method to be implemented in derived classes; its purpose @@ -208,64 +197,54 @@ desired effect. You will usually call addTechnique() inside this method.

    - +

    oinline bool getEnabled() const
    get whether the effect is enabled or not

    - +

    oinline void setEnabled(bool v)
    set whether the effect is enabled or not

    - - -

    oinline const osg::Node* getChild() const -
    get the const child node -

    - - -

    oinline osg::Node* getChild() -
    get the child node -

    - - -

    oinline void setChild(osg::Node* child) -
    set the child node -

    - +

    oinline int getNumTechniques() const
    get the number of techniques defined for this effect

    - +

    oinline Technique* getTechnique(int i)
    get the i-th technique

    - +

    oinline const Technique* getTechnique(int i) const
    get the i-th const technique

    - +

    oinline int getSelectedTechnique() const
    get the index of the currently selected technique

    - +

    oinline void selectTechnique(int i)
    select a technique or enable automatic detection

    - +

    oinline void addTechnique(Technique* tech)
    add a technique to the effect

    - +

    oinline void dirtyTechniques()
    force rebuilding of techniques on next traversal +

    + + +

    oinline void inherited_traverse(osg::NodeVisitor &nv) +
    default traversal


    Direct child classes: diff --git a/doc/doc++/osgFX/HIERjava.html b/doc/doc++/osgFX/HIERjava.html index 0caf6cb4e..005719be8 100644 --- a/doc/doc++/osgFX/HIERjava.html +++ b/doc/doc++/osgFX/HIERjava.html @@ -9,7 +9,7 @@

    Hierarchy of classes

      - + diff --git a/doc/doc++/osgFX/Scribe.html b/doc/doc++/osgFX/Scribe.html index 6ed6fbdf6..ca33e1e5a 100644 --- a/doc/doc++/osgFX/Scribe.html +++ b/doc/doc++/osgFX/Scribe.html @@ -12,7 +12,7 @@

      Inheritance:

      - + @@ -76,12 +76,6 @@
      oinline void setEnabled(bool v)
      -oinline const osg::Node* getChild() const -
      -oinline osg::Node* getChild() -
      -oinline void setChild(osg::Node* child) -
      oinline int getNumTechniques() const
      oinline Technique* getTechnique(int i) @@ -95,6 +89,8 @@ oinline void addTechnique(Technique* tech)
      oinline void dirtyTechniques() +
      +oinline void inherited_traverse(osg::NodeVisitor &nv)

      @@ -102,11 +98,6 @@ oenum TechniqueSelection

      -

      -

      Protected Methods

      -ovirtual bool computeBound() const -

      - diff --git a/doc/doc++/osgFX/SpecularHighlights.html b/doc/doc++/osgFX/SpecularHighlights.html index 7c1efe639..cdaf14842 100644 --- a/doc/doc++/osgFX/SpecularHighlights.html +++ b/doc/doc++/osgFX/SpecularHighlights.html @@ -12,7 +12,7 @@

      Inheritance:

      - + @@ -88,12 +88,6 @@
      oinline void setEnabled(bool v)
      -oinline const osg::Node* getChild() const -
      -oinline osg::Node* getChild() -
      -oinline void setChild(osg::Node* child) -
      oinline int getNumTechniques() const
      oinline Technique* getTechnique(int i) @@ -107,6 +101,8 @@ oinline void addTechnique(Technique* tech)
      oinline void dirtyTechniques() +
      +oinline void inherited_traverse(osg::NodeVisitor &nv)

      @@ -114,11 +110,6 @@ oenum TechniqueSelection

      -

      -

      Protected Methods

      -ovirtual bool computeBound() const -

      - diff --git a/doc/doc++/osgFX/Technique.html b/doc/doc++/osgFX/Technique.html index 4dd99f69f..2bc8705a0 100644 --- a/doc/doc++/osgFX/Technique.html +++ b/doc/doc++/osgFX/Technique.html @@ -37,32 +37,22 @@ [more]virtual bool validate(osg::State &) const
      tests whether this technique is valid for the current rendering context.
      -[more]virtual void accept(osg::NodeVisitor &nv, osg::Node* child) -
      traverses the child nodes with multipass if necessary. +[more]inline virtual void traverse(osg::NodeVisitor &nv, Effect* fx) +
      traverse children with multipass if necessary.
      -[more]inline int getNumPasses() const +[more]inline int getNumPasses() const
      get the number of rendering passes defined in this technique
      -[more]inline osg::Group* getPassGroup(int i) -
      get the Group object associated to the i-th pass -
      -[more]inline const osg::Group* getPassGroup(int i) const -
      get the const Group object associated to the i-th pass -
      -[more]inline osg::StateSet* getPassStateSet(int i) +[more]inline osg::StateSet* getPassStateSet(int i)
      get the StateSet object associated to the i-th pass
      -[more]inline const osg::StateSet* getPassStateSet(int i) const +[more]inline const osg::StateSet* getPassStateSet(int i) const
      get the const StateSet object associated to the i-th pass
      -[more]inline osg::Group* getControlNode() -
      get the control node which holds the user's subgraph. -
      -[more]inline const osg::Group* getControlNode() const -
      get the const control node which holds the user's subgraph -
      -[more]inline void dirtyPasses() +[more]inline void dirtyPasses()
      force rebuilding of pass nodes on next traversal +
      +[more]inline void traverse(osg::NodeVisitor &nv, Effect* fx)

      @@ -73,17 +63,17 @@
      [more]Technique& operator=(const Technique &)
      -[more]inline virtual osg::Node* getOverrideChild(int) -
      optional: return a node that overrides the child node on a specified pass -
      -[more]void addPass(osg::StateSet* ss = 0) +[more]void addPass(osg::StateSet* ss = 0)
      create a new pass node, add it to the technique and associate a StateSet
      -[more]void addPass(osg::Group* pass) -
      add a new pass to the technique specifying an user-defined pass node. +[more]inline virtual osg::Node* getOverrideChild(int) +
      optional: return a node that overrides the child node on a specified pass
      -[more]virtual void define_passes() = 0 +[more]virtual void define_passes() = 0
      define the rendering passes that make up this technique. +
      +[more]void traverse_implementation(osg::NodeVisitor &nv, Effect* fx) +
      traverse children with multipass if necessary.

      @@ -137,11 +127,13 @@ tests whether this technique is valid for the current rendering context. The default behavior is to call getRequiredExtensions() and check for extension availability.

      - + -

      ovirtual void accept(osg::NodeVisitor &nv, osg::Node* child) +
      oinline virtual void traverse(osg::NodeVisitor &nv, Effect* fx)
      -traverses the child nodes with multipass if necessary. +traverse children with multipass if necessary. By default this method +simply calls the protected method traverse_implementation(); you can +override it to change the default behavior. Don't call this method directly as it is called by osgFX::Effect

      @@ -156,73 +148,53 @@ Don't call this method directly as it is called by osgFX::Effect

      oTechnique& operator=(const Technique &)

      - - -

      oinline virtual osg::Node* getOverrideChild(int) -
      optional: return a node that overrides the child node on a specified pass -

      - +

      ovoid addPass(osg::StateSet* ss = 0)
      create a new pass node, add it to the technique and associate a StateSet

      - - -

      ovoid addPass(osg::Group* pass) -
      -add a new pass to the technique specifying an user-defined pass node. -You should call this version of addPass() only when you need to gain direct -control over the pass node (i.e. for setting up a cull callback); otherwise -please use addPass(StateSet*) and let the class create the pass node for you. + + +
      oinline virtual osg::Node* getOverrideChild(int) +
      optional: return a node that overrides the child node on a specified pass

      - +

      ovirtual void define_passes() = 0
      define the rendering passes that make up this technique. You must implement this method in derived classes to add the required passes.

      + + +

      ovoid traverse_implementation(osg::NodeVisitor &nv, Effect* fx) +
      +traverse children with multipass if necessary. Don't call this method +directly unless you are in a customized version of traverse(). +

      - +

      oinline int getNumPasses() const
      get the number of rendering passes defined in this technique

      - - -

      oinline osg::Group* getPassGroup(int i) -
      get the Group object associated to the i-th pass -

      - - -

      oinline const osg::Group* getPassGroup(int i) const -
      get the const Group object associated to the i-th pass -

      - +

      oinline osg::StateSet* getPassStateSet(int i)
      get the StateSet object associated to the i-th pass

      - +

      oinline const osg::StateSet* getPassStateSet(int i) const
      get the const StateSet object associated to the i-th pass

      - - -

      oinline osg::Group* getControlNode() -
      -get the control node which holds the user's subgraph. -You may want to do something on it like applying a cull callback. -

      - - -

      oinline const osg::Group* getControlNode() const -
      get the const control node which holds the user's subgraph -

      - +

      oinline void dirtyPasses()
      force rebuilding of pass nodes on next traversal +

      + + +

      oinline void traverse(osg::NodeVisitor &nv, Effect* fx)


      This class has no child classes.
      diff --git a/doc/doc++/osgFX/Validator.html b/doc/doc++/osgFX/Validator.html index 217baa901..0487f488c 100644 --- a/doc/doc++/osgFX/Validator.html +++ b/doc/doc++/osgFX/Validator.html @@ -23,24 +23,31 @@

      Public Methods

      -[more] Validator() +[more] Validator()
      -[more] Validator(Effect* effect) +[more] Validator(Effect* effect)
      -[more] Validator(const Validator &copy, const osg::CopyOp &copyop = osg::CopyOp::SHALLOW_COPY) +[more] Validator(const Validator &copy, const osg::CopyOp &copyop = osg::CopyOp::SHALLOW_COPY)
      -[more] META_StateAttribute(osgFX, Validator, 0x56616C69) +[more] META_StateAttribute(osgFX, Validator, VALIDATOR)
      -[more]void apply(osg::State &state) const +[more]void apply(osg::State &state) const
      -[more]inline int compare(const osg::StateAttribute &sa) const +[more]inline void disable() +
      +[more]inline int compare(const osg::StateAttribute &sa) const +

      + +

      +

      Public Members

      +[more]enum

      Protected Methods

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

      @@ -56,36 +63,50 @@ class will then choose the first technique that could be validated in all active rendering contexts.
      - + +
      oenum +

      + + + +
      o VALIDATOR +

      + + +
      o Validator()

      - +

      o Validator(Effect* effect)

      - -

      o Validator(const Validator &copy, const osg::CopyOp &copyop = osg::CopyOp::SHALLOW_COPY) + +
      o Validator(const Validator &copy, const osg::CopyOp &copyop = osg::CopyOp::SHALLOW_COPY)

      - -

      o META_StateAttribute(osgFX, Validator, 0x56616C69) + +
      o META_StateAttribute(osgFX, Validator, VALIDATOR)

      - +

      ovoid apply(osg::State &state) const

      + + +

      oinline void disable() +

      - +

      ovirtual ~Validator()

      - +

      oValidator& operator=(const Validator &)

      - +

      oinline int compare(const osg::StateAttribute &sa) const

      diff --git a/doc/doc++/osgFX/osgFX.html b/doc/doc++/osgFX/osgFX.html index 33b3d124f..feeb43390 100644 --- a/doc/doc++/osgFX/osgFX.html +++ b/doc/doc++/osgFX/osgFX.html @@ -20,7 +20,7 @@ class OSGFX_EXPORT BumpMapping: public Cartoon: public Effect
      This effect implements a technique called 'Cel-Shading' to produce a cartoon-style (non photorealistic) rendering.
      -class OSGFX_EXPORT Effect: public osg::Node +class OSGFX_EXPORT Effect: public osg::Group
      The base class for special effects.
      class OSGFX_EXPORT Registry