diff --git a/doc/doc++/osg/AlphaFunc.html b/doc/doc++/osg/AlphaFunc.html index 64e5175d8..cb6e57269 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 18f50d0e8..f6ebeb755 100644 --- a/doc/doc++/osg/AnimationPath.html +++ b/doc/doc++/osg/AnimationPath.html @@ -29,49 +29,51 @@

[more] META_Object(osg, AnimationPath)
-[more]bool getMatrix(double time, Matrix& matrix) const +[more]bool getMatrix(double time, Matrix& matrix) const
get the transformation matrix for a point in time
-[more]bool getInverse(double time, Matrix& matrix) const +[more]bool getInverse(double time, Matrix& matrix) const
get the inverse transformation matrix for a point in time
-[more]virtual bool getInterpolatedControlPoint(double time, ControlPoint& controlPoint) const +[more]virtual bool getInterpolatedControlPoint(double time, ControlPoint& controlPoint) const
get the local ControlPoint frame for a point in time
-[more]void insert(double time, const ControlPoint& controlPoint) +[more]void insert(double time, const ControlPoint& controlPoint)
-[more]double getFirstTime() const +[more]double getFirstTime() const
-[more]double getLastTime() const +[more]double getLastTime() const
-[more]double getPeriod() const +[more]double getPeriod() const
-[more]void setLoopMode(LoopMode lm) +[more]void setLoopMode(LoopMode lm)
-[more]LoopMode getLoopMode() const +[more]LoopMode getLoopMode() const
-[more]TimeControlPointMap& getTimeControlPointMap() +[more]TimeControlPointMap& getTimeControlPointMap()
-[more]const TimeControlPointMap& getTimeControlPointMap() const +[more]const TimeControlPointMap& getTimeControlPointMap() const

Public Members

-[more]enum LoopMode +[more]struct ControlPoint
-[more]typedef std::map<double,ControlPoint> TimeControlPointMap +[more]enum LoopMode +
+[more]typedef std::map<double,ControlPoint> TimeControlPointMap

Protected Fields

-[more]TimeControlPointMap _timeControlPointMap +[more]TimeControlPointMap _timeControlPointMap
-[more]LoopMode _loopMode +[more]LoopMode _loopMode

Protected Methods

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

@@ -89,9 +91,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)
@@ -107,7 +109,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -159,86 +161,132 @@ be attached directly to Transform nodes to move subgraphs around the scene.
o META_Object(osg, AnimationPath)

- + +

ostruct ControlPoint +

+ + + +
o ControlPoint() +

+ + +

o ControlPoint(const osg::Vec3& position) +

+ + +

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

+ + +

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

+ + +

oosg::Vec3 _position +

+ + +

oosg::Quat _rotation +

+ + +

oosg::Vec3 _scale +

+ + +

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

+ + +

oinline void getMatrix(Matrix& matrix) const +

+ + +

oinline void getInverse(Matrix& matrix) const +

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

- +

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

- -

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

- -

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

- +

odouble getFirstTime() const

- +

odouble getLastTime() const

- +

odouble getPeriod() const

- +

oenum LoopMode

- +
o SWING

- +

o LOOP

- +

o NO_LOOPING

- -
ovoid setLoopMode(LoopMode lm) + +
ovoid setLoopMode(LoopMode lm)

- -

oLoopMode getLoopMode() const + +
oLoopMode getLoopMode() const

- -

otypedef std::map<double,ControlPoint> TimeControlPointMap -

- -

oTimeControlPointMap& getTimeControlPointMap() +
otypedef std::map<double,ControlPoint> TimeControlPointMap

-

oconst TimeControlPointMap& getTimeControlPointMap() const +
oTimeControlPointMap& getTimeControlPointMap() +

+ + +

oconst TimeControlPointMap& getTimeControlPointMap() const

- +

ovirtual ~AnimationPath()

- -

oTimeControlPointMap _timeControlPointMap + +
oTimeControlPointMap _timeControlPointMap

- -

oLoopMode _loopMode + +
oLoopMode _loopMode


This class has no child classes.
diff --git a/doc/doc++/osg/AnimationPathCallback.html b/doc/doc++/osg/AnimationPathCallback.html index 15b066664..7448f7a26 100644 --- a/doc/doc++/osg/AnimationPathCallback.html +++ b/doc/doc++/osg/AnimationPathCallback.html @@ -22,15 +22,15 @@

Public Fields

-[more]ref_ptr<AnimationPath> _animationPath +[more]ref_ptr<AnimationPath> _animationPath
-[more]double _timeOffset +[more]double _timeOffset
-[more]double _timeMultiplier +[more]double _timeMultiplier
-[more]double _firstTime +[more]double _firstTime
-[more]mutable double _animationTime +[more]mutable double _animationTime

@@ -39,21 +39,23 @@
[more] AnimationPathCallback(const AnimationPathCallback& apc, const CopyOp& copyop)
-[more]META_Object (osg, AnimationPathCallback)(AnimationPath* ap, double timeOffset=0.0f, double timeMultiplier=1.0f) +[more] META_Object(osg, AnimationPathCallback)
-[more]void setAnimationPath(AnimationPath* path) +[more] AnimationPathCallback(AnimationPath* ap, double timeOffset=0.0f, double timeMultiplier=1.0f)
-[more]AnimationPath* getAnimationPath() +[more]void setAnimationPath(AnimationPath* path)
-[more]const AnimationPath* getAnimationPath() const +[more]AnimationPath* getAnimationPath()
-[more]virtual void operator()(Node* node, NodeVisitor* nv) +[more]const AnimationPath* getAnimationPath() const +
+[more]virtual void operator()(Node* node, NodeVisitor* nv)
implements the callback

Protected Methods

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

@@ -66,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)
@@ -94,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)
@@ -112,7 +114,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -157,49 +159,53 @@
o AnimationPathCallback(const AnimationPathCallback& apc, const CopyOp& copyop)

- + -

oMETA_Object (osg, AnimationPathCallback)(AnimationPath* ap, double timeOffset=0.0f, double timeMultiplier=1.0f) +
o META_Object(osg, AnimationPathCallback) +

+ + +

o AnimationPathCallback(AnimationPath* ap, double timeOffset=0.0f, double timeMultiplier=1.0f)

- +

ovoid setAnimationPath(AnimationPath* path)

- +

oAnimationPath* getAnimationPath()

- +

oconst AnimationPath* getAnimationPath() const

- +

ovirtual void operator()(Node* node, NodeVisitor* nv)
implements the callback

- +

oref_ptr<AnimationPath> _animationPath

- +

odouble _timeOffset

- +

odouble _timeMultiplier

- +

odouble _firstTime

- +

omutable double _animationTime

- +

o ~AnimationPathCallback()

diff --git a/doc/doc++/osg/ApplicationUsage.html b/doc/doc++/osg/ApplicationUsage.html index 74f55b3a7..3e9969bb6 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 4d2214570..ccef62814 100644 --- a/doc/doc++/osg/Array.html +++ b/doc/doc++/osg/Array.html @@ -36,9 +36,9 @@

[more]virtual void accept(ConstArrayVisitor&) const = 0
-[more]virtual void accept(unsigned int index, ValueVisitor&) = 0 +[more]virtual void accept(unsigned int index, ValueVisitor&) = 0
-[more]virtual void accept(unsigned int index, ConstValueVisitor&) const = 0 +[more]virtual void accept(unsigned int index, ConstValueVisitor&) const = 0
[more]Type getType() const
@@ -48,7 +48,9 @@
[more]virtual const GLvoid* getDataPointer() const = 0
-[more]virtual unsigned int getNumElements() const = 0 +[more]virtual unsigned int getTotalDataSize() const = 0 +
+[more]virtual unsigned int getNumElements() const = 0

@@ -58,16 +60,16 @@

Protected Fields

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

Protected Methods

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

@@ -79,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)
@@ -97,7 +99,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -218,11 +220,11 @@

-

ovirtual void accept(unsigned int index, ValueVisitor&) = 0 +
ovirtual void accept(unsigned int index, ValueVisitor&) = 0

-

ovirtual void accept(unsigned int index, ConstValueVisitor&) const = 0 +
ovirtual void accept(unsigned int index, ConstValueVisitor&) const = 0

@@ -240,24 +242,28 @@

ovirtual const GLvoid* getDataPointer() const = 0

- + +

ovirtual unsigned int getTotalDataSize() const = 0 +

+ +

ovirtual unsigned int getNumElements() const = 0

- +

ovirtual ~Array()

- +

oType _arrayType

- +

oGLint _dataSize

- +

oGLenum _dataType


diff --git a/doc/doc++/osg/AttributeFunctor.html b/doc/doc++/osg/AttributeFunctor.html index 072a417c7..de50eb759 100644 --- a/doc/doc++/osg/AttributeFunctor.html +++ b/doc/doc++/osg/AttributeFunctor.html @@ -12,29 +12,29 @@

Public Methods

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

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

- -

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

- -

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

- -

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

- -

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

- -

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

- -

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

- -

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

- -

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

- -

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

- -

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

- -

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


This class has no child classes.
diff --git a/doc/doc++/osg/AutoTransform.html b/doc/doc++/osg/AutoTransform.html new file mode 100644 index 000000000..ceb82f103 --- /dev/null +++ b/doc/doc++/osg/AutoTransform.html @@ -0,0 +1,579 @@ + + + + + class SG_EXPORT osg::AutoTransform + + + + +

class SG_EXPORT osg::AutoTransform

AutoTransform - is Transform the automatically scales or rotates to keep its children relative to screen space coordinates
+
+ +

Inheritance:

+ + + + + + + +
+ +
+

+

Public Methods

+[more] AutoTransform() +
+[more] AutoTransform(const AutoTransform& pat, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
+[more]virtual osg::Object* cloneType() const +
+[more]virtual osg::Object* clone(const osg::CopyOp& copyop) const +
+[more]virtual bool isSameKindAs(const osg::Object* obj) const +
+[more]virtual const char* className() const +
+[more]virtual const char* libraryName() const +
+[more]virtual void accept(NodeVisitor& nv) +
+[more]virtual AutoTransform* asAutoTransform() +
+[more]virtual const AutoTransform* asAutoTransform() const +
+[more]inline void setPosition(const Vec3& pos) +
+[more]inline const Vec3& getPosition() const +
+[more]inline void setRotation(const Quat& quat) +
+[more]inline const Quat& getRotation() const +
+[more]inline void setScale(float scale) +
+[more]inline void setScale(const Vec3& scale) +
+[more]inline const Vec3& getScale() const +
+[more]inline void setPivotPoint(const Vec3& pivot) +
+[more]inline const Vec3& getPivotPoint() const +
+[more]void setAutoUpdateEyeMovementTolerance(float tolerance) +
+[more]float getAutoUpdateEyeMovementTolerance() const +
+[more]void setAutoRotateToScreen(bool autoRotateToScreen) +
+[more]bool getAutoRotateToScreen() const +
+[more]void setAutoScaleToScreen(bool autoScaleToScreen) +
+[more]bool getAutoScaleToScreen() const +
+[more]virtual bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const +
+[more]virtual bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const +

+ +

+

Protected Fields

+[more]Vec3 _position +
+[more]Vec3 _pivotPoint +
+[more]float _autoUpdateEyeMovementTolerance +
+[more]bool _autoRotateToScreen +
+[more]bool _autoScaleToScreen +
+[more]mutable Quat _rotation +
+[more]mutable Vec3 _scale +
+[more]mutable bool _firstTimeToInitEyePoint +
+[more]mutable osg::Vec3 _previousEyePoint +
+[more]mutable int _previousWidth +
+[more]mutable int _previousHeight +
+[more]mutable bool _matrixDirty +
+[more]mutable osg::Matrix _cachedMatrix +

+ +

+

Protected Methods

+[more]virtual ~AutoTransform() +
+[more]void computeMatrix() const +

+ +
+

Inherited from Transform:

+
+

+

Public Methods

+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 +
+ovoid setReferenceFrame(ReferenceFrame rf) +
+oReferenceFrame getReferenceFrame() const +
+ovoid setComputeTransformCallback(ComputeTransformCallback* ctc) +
+oComputeTransformCallback* getComputeTransformCallback() +
+oconst ComputeTransformCallback* getComputeTransformCallback() const +
+oinline bool getLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const +
+oinline bool getWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const +

+ +

+

Public Members

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

+ +

+

Protected Fields

+oref_ptr<ComputeTransformCallback> _computeTransformCallback +
+oReferenceFrame _referenceFrame +

+ +

+

Protected Methods

+ovirtual bool computeBound() const +

+ +
+

Inherited from Group:

+
+

+

Public Methods

+ovirtual Group* asGroup() +
+ovirtual const Group* asGroup() const +
+ovirtual void traverse(NodeVisitor& nv) +
+ovirtual bool addChild( Node* child ) +
+ovirtual bool insertChild( unsigned int index, Node* child ) +
+ovirtual bool removeChild( Node* child ) +
+ovirtual bool removeChild(unsigned int pos, unsigned int numChildrenToRemove=1) +
+ovirtual bool replaceChild( Node* origChild, Node* newChild ) +
+oinline unsigned int getNumChildren() const +
+ovirtual bool setChild( unsigned int i, Node* node ) +
+oinline Node* getChild( unsigned int i ) +
+oinline const Node* getChild( unsigned int i ) const +
+oinline bool containsNode( const Node* node ) const +
+oinline unsigned int getChildIndex( const Node* node ) const +

+ +

+

Protected Fields

+oNodeList _children +

+ +
+

Inherited from Node:

+
+

+

Public Methods

+ovirtual void ascend(NodeVisitor& nv) +
+oinline void setName( const std::string& name ) +
+oinline void setName( const char* name ) +
+oinline const std::string& getName() const +
+oinline const ParentList& getParents() const +
+oinline ParentList getParents() +
+oinline Group* getParent(unsigned int i) +
+oinline const Group* getParent(unsigned int i) const +
+oinline unsigned int getNumParents() const +
+ovoid setUpdateCallback(NodeCallback* nc) +
+oinline NodeCallback* getUpdateCallback() +
+oinline const NodeCallback* getUpdateCallback() const +
+oinline unsigned int getNumChildrenRequiringUpdateTraversal() const +
+ovoid setCullCallback(NodeCallback* nc) +
+oinline NodeCallback* getCullCallback() +
+oinline const NodeCallback* getCullCallback() const +
+ovoid setCullingActive(bool active) +
+oinline bool getCullingActive() const +
+oinline unsigned int getNumChildrenWithCullingDisabled() const +
+oinline bool isCullingActive() const +
+oinline unsigned int getNumChildrenWithOccluderNodes() const +
+obool containsOccluderNodes() const +
+oinline void setNodeMask(NodeMask nm) +
+oinline NodeMask getNodeMask() const +
+oinline const DescriptionList& getDescriptions() const +
+oinline DescriptionList& getDescriptions() +
+oinline const std::string& getDescription(unsigned int i) const +
+oinline std::string& getDescription(unsigned int i) +
+oinline unsigned int getNumDescriptions() const +
+ovoid addDescription(const std::string& desc) +
+oinline void setStateSet(osg::StateSet* dstate) +
+oosg::StateSet* getOrCreateStateSet() +
+oinline osg::StateSet* getStateSet() +
+oinline const osg::StateSet* getStateSet() const +
+oinline const BoundingSphere& getBound() const +
+ovoid dirtyBound() +

+ +

+

Public Members

+otypedef std::vector<Group*> ParentList +
+otypedef unsigned int NodeMask +
+otypedef std::vector<std::string> DescriptionList +

+ +

+

Protected Fields

+omutable BoundingSphere _bsphere +
+omutable bool _bsphere_computed +
+ostd::string _name +
+oParentList _parents +
+oref_ptr<NodeCallback> _updateCallback +
+ounsigned int _numChildrenRequiringUpdateTraversal +
+oref_ptr<NodeCallback> _cullCallback +
+obool _cullingActive +
+ounsigned int _numChildrenWithCullingDisabled +
+ounsigned int _numChildrenWithOccluderNodes +
+oNodeMask _nodeMask +
+oDescriptionList _descriptions +
+oref_ptr<StateSet> _stateset +

+ +

+

Protected Methods

+ovoid addParent(osg::Group* node) +
+ovoid removeParent(osg::Group* node) +
+ovoid setNumChildrenRequiringUpdateTraversal(unsigned int num) +
+ovoid setNumChildrenWithCullingDisabled(unsigned int num) +
+ovoid setNumChildrenWithOccluderNodes(unsigned int num) +

+ +
+

Inherited from Object:

+
+

+

Public Methods

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

+ +

+

Public Members

+oenum DataVariance +

+ +

+

Protected Fields

+oDataVariance _dataVariance +
+oref_ptr<Referenced> _userData +

+ +
+

Inherited from Referenced:

+
+

+

Public Methods

+oinline Referenced& operator = (Referenced&) +
+ostatic void setDeleteHandler(DeleteHandler* handler) +
+ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const +
+oinline void unref_nodelete() const +
+oinline int referenceCount() const +
+oinline void unref() const +

+ +

+

Protected Fields

+omutable int _refCount +

+ +
+ + +
+

Documentation

+
AutoTransform - is Transform the automatically scales or rotates +to keep its children relative to screen space coordinates
+
+ + + +
o AutoTransform() +

+ + +

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

+ + +

ovirtual osg::Object* cloneType() const +

+ + +

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

+ + +

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

+ + +

ovirtual const char* className() const +

+ + +

ovirtual const char* libraryName() const +

+ + +

ovirtual void accept(NodeVisitor& nv) +

+ + +

ovirtual AutoTransform* asAutoTransform() +

+ + +

ovirtual const AutoTransform* asAutoTransform() const +

+ + +

oinline void setPosition(const Vec3& pos) +

+ + +

oinline const Vec3& getPosition() const +

+ + +

oinline void setRotation(const Quat& quat) +

+ + +

oinline const Quat& getRotation() const +

+ + +

oinline void setScale(float scale) +

+ + +

oinline void setScale(const Vec3& scale) +

+ + +

oinline const Vec3& getScale() const +

+ + +

oinline void setPivotPoint(const Vec3& pivot) +

+ + +

oinline const Vec3& getPivotPoint() const +

+ + +

ovoid setAutoUpdateEyeMovementTolerance(float tolerance) +

+ + +

ofloat getAutoUpdateEyeMovementTolerance() const +

+ + +

ovoid setAutoRotateToScreen(bool autoRotateToScreen) +

+ + +

obool getAutoRotateToScreen() const +

+ + +

ovoid setAutoScaleToScreen(bool autoScaleToScreen) +

+ + +

obool getAutoScaleToScreen() const +

+ + +

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

+ + +

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

+ + +

ovirtual ~AutoTransform() +

+ + +

oVec3 _position +

+ + +

oVec3 _pivotPoint +

+ + +

ofloat _autoUpdateEyeMovementTolerance +

+ + +

obool _autoRotateToScreen +

+ + +

obool _autoScaleToScreen +

+ + +

omutable Quat _rotation +

+ + +

omutable Vec3 _scale +

+ + +

omutable bool _firstTimeToInitEyePoint +

+ + +

omutable osg::Vec3 _previousEyePoint +

+ + +

omutable int _previousWidth +

+ + +

omutable int _previousHeight +

+ + +

ovoid computeMatrix() const +

+ + +

omutable bool _matrixDirty +

+ + +

omutable osg::Matrix _cachedMatrix +

+ +
This class has no child classes.
+ +

Alphabetic index HTML hierarchy of classes or Java


+
+This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/Billboard.html b/doc/doc++/osg/Billboard.html index e958fd275..7b1a9d533 100644 --- a/doc/doc++/osg/Billboard.html +++ b/doc/doc++/osg/Billboard.html @@ -23,92 +23,92 @@

Public Methods

-[more] Billboard() +[more] Billboard()
-[more] Billboard(const Billboard&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Billboard(const Billboard&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_Node(osg, Billboard) +[more] META_Node(osg, Billboard)
-[more]void setMode(Mode mode) +[more]void setMode(Mode mode)
Set the billboard rotation mode.
-[more]inline Mode getMode() const +[more]inline Mode getMode() const
Get the billboard rotation mode.
-[more]void setAxis(const Vec3& axis) +[more]void setAxis(const Vec3& axis)
Set the axis about which all the billboard's drawable rotate.
-[more]inline const Vec3& getAxis() const +[more]inline const Vec3& getAxis() const
Get the axis about which all the billboard's drawable rotate.
-[more]void setNormal(const Vec3& normal) +[more]void setNormal(const Vec3& normal)
Set the normal which defines the billboard's drawable front face, when unrotated.
-[more]inline const Vec3& getNormal() const +[more]inline const Vec3& getNormal() const
Get the normal of billboard's drawable front face.
-[more]inline void setPos(unsigned int i, const Vec3& pos) +[more]inline void setPos(unsigned int i, const Vec3& pos)
Set the position of specified drawable.
-[more]inline const Vec3& getPos(unsigned int i) const +[more]inline const Vec3& getPos(unsigned int i) const
Get the position of specified drawable.
-[more]inline PositionList& getPositionList() +[more]inline PositionList& getPositionList()
Get the PositionList from the billboard
-[more]inline const PositionList& getPositionList() const +[more]inline const PositionList& getPositionList() const
Get a const PositionList from the billboard
-[more]virtual bool addDrawable( Drawable* gset ) +[more]virtual bool addDrawable( Drawable* gset )
Add Drawable to Billboard with default position(0,0,0); If gset not NULL and is not contained in Billboard then increment its reference count, and dirty the bounding box to cause it to recompute on next getBound() and return true for success.
-[more]virtual bool addDrawable(Drawable* gset, const Vec3& pos) +[more]virtual bool addDrawable(Drawable* gset, const Vec3& pos)
Add Drawable to Geode at position pos.
-[more]virtual bool removeDrawable( Drawable* gset ) +[more]virtual bool removeDrawable( Drawable* gset )
Remove Drawable and associated position from Billboard.
-[more]inline bool getMatrix(Matrix& modelview, const Vec3& eye_local, const Vec3& pos_local) const +[more]inline bool getMatrix(Matrix& modelview, const Vec3& eye_local, const Vec3& pos_local) const
-[more]virtual bool computeMatrix(Matrix& modelview, const Vec3& eye_local, const Vec3& pos_local) const +[more]virtual bool computeMatrix(Matrix& modelview, const Vec3& eye_local, const Vec3& pos_local) const

Public Members

-[more]enum Mode +[more]enum Mode
-[more]typedef std::vector<Vec3> PositionList +[more]typedef std::vector<Vec3> PositionList
PositionList represents a list of pivot points for each drawable

Protected Fields

-[more]Mode _mode +[more]Mode _mode
-[more]Vec3 _axis +[more]Vec3 _axis
-[more]Vec3 _normal +[more]Vec3 _normal
-[more]PositionList _positionList +[more]PositionList _positionList
-[more]int _cachedMode +[more]int _cachedMode
-[more]Vec3 _side +[more]Vec3 _side

Protected Methods

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

Protected Members

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

@@ -140,7 +140,7 @@

Protected Fields

-oDrawableList _drawables +oDrawableList _drawables

@@ -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)
@@ -194,12 +194,6 @@
oinline const NodeCallback* getUpdateCallback() const
-ovoid setAppCallback(NodeCallback* nc) -
-oinline NodeCallback* getAppCallback() -
-oinline const NodeCallback* getAppCallback() const -
oinline unsigned int getNumChildrenRequiringUpdateTraversal() const
ovoid setCullCallback(NodeCallback* nc) @@ -220,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
@@ -266,7 +260,7 @@
ostd::string _name
-oParentList _parents +oParentList _parents
oref_ptr<NodeCallback> _updateCallback
@@ -280,9 +274,9 @@
ounsigned int _numChildrenWithOccluderNodes
-oNodeMask _nodeMask +oNodeMask _nodeMask
-oDescriptionList _descriptions +oDescriptionList _descriptions
oref_ptr<StateSet> _stateset

@@ -305,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)
@@ -323,7 +317,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -363,93 +357,93 @@ the eye point. Typical uses are for trees, or particle explosions.
- +
oenum Mode

- +
o POINT_ROT_EYE

- +

o POINT_ROT_WORLD

- +

o AXIAL_ROT

- +
o Billboard()

- -

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

- +

o META_Node(osg, Billboard)

- -

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

- -

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

- +

ovoid setAxis(const Vec3& axis)
Set the axis about which all the billboard's drawable rotate. Only utlized when mode==AXIAL_ROT

- +

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

- +

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

- +

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

- +

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

- +

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

- +

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

- -

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

- -

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

- +

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

- +

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

- +

ovirtual bool removeDrawable( Drawable* gset )
Remove Drawable and associated position from Billboard. If gset is contained in Billboard then remove it from the geoset @@ -475,69 +469,69 @@ return true for success. If gset is not found then return false and do not the reference count of gset is left unchanged.

- +

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

- +

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

- +

ovirtual ~Billboard()

- +

ovirtual bool computeBound() const

- +

oenum AxisAligned

- +
o AXIAL_ROT_X_AXIS

- +

o AXIAL_ROT_Y_AXIS

- +

o AXIAL_ROT_Z_AXIS

- +

o CACHE_DIRTY

- -
oMode _mode + +
oMode _mode

- +

oVec3 _axis

- +

oVec3 _normal

- -

oPositionList _positionList + +
oPositionList _positionList

- +

oint _cachedMode

- +

oVec3 _side

- +

ovoid updateCache()

diff --git a/doc/doc++/osg/BlendFunc.html b/doc/doc++/osg/BlendFunc.html index 631876b14..490268915 100644 --- a/doc/doc++/osg/BlendFunc.html +++ b/doc/doc++/osg/BlendFunc.html @@ -23,46 +23,48 @@

Public Methods

-[more] BlendFunc() +[more] BlendFunc()
-[more] BlendFunc(const BlendFunc& trans, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] BlendFunc(GLenum source, GLenum destination) +
+[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 +[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 ) +[more]inline void setFunction( GLenum source, GLenum destination )
-[more]void setSource(GLenum source) +[more]void setSource(GLenum source)
-[more]inline GLenum getSource() const +[more]inline GLenum getSource() const
-[more]void setDestination(GLenum destination) +[more]void setDestination(GLenum destination)
-[more]inline GLenum getDestination() const +[more]inline GLenum getDestination() const
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

Public Members

-[more]enum BlendFuncMode +[more]enum BlendFuncMode

Protected Fields

-[more]GLenum _source_factor +[more]GLenum _source_factor
-[more]GLenum _destination_factor +[more]GLenum _destination_factor

Protected Methods

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

@@ -80,7 +82,7 @@
ovirtual const char* className() const
-ovirtual Type getType() const +ovirtual Type getType() const
ovirtual bool isTextureAttribute() const
@@ -113,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)
@@ -131,7 +133,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -170,111 +172,115 @@
- +
o BlendFunc()

- -

o BlendFunc(const BlendFunc& trans, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o BlendFunc(GLenum source, GLenum destination) +

+ + +

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

- -

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

- +

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

- -

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

- +

oenum BlendFuncMode

- +
o DST_ALPHA

- +

o DST_COLOR

- +

o ONE

- +

o ONE_MINUS_DST_ALPHA

- +

o ONE_MINUS_DST_COLOR

- +

o ONE_MINUS_SRC_ALPHA

- +

o ONE_MINUS_SRC_COLOR

- +

o SRC_ALPHA

- +

o SRC_ALPHA_SATURATE

- +

o SRC_COLOR

- +

o ZERO

- +
oinline void setFunction( GLenum source, GLenum destination )

- +

ovoid setSource(GLenum source)

- +

oinline GLenum getSource() const

- +

ovoid setDestination(GLenum destination)

- +

oinline GLenum getDestination() const

- +

ovirtual void apply(State& state) const

- +

ovirtual ~BlendFunc()

- +

oGLenum _source_factor

- +

oGLenum _destination_factor

diff --git a/doc/doc++/osg/BoundingBox.html b/doc/doc++/osg/BoundingBox.html index edd6d82ea..ed4e084bd 100644 --- a/doc/doc++/osg/BoundingBox.html +++ b/doc/doc++/osg/BoundingBox.html @@ -13,83 +13,83 @@

Public Fields

-[more]Vec3 _min +[more]Vec3 _min
The corner with the smallest values for each coordinate of the bounding box
-[more]Vec3 _max +[more]Vec3 _max
The corner with the largest values for each coordinate of the bounding box

Public Methods

-[more]inline BoundingBox() +[more]inline BoundingBox()
construct to invalid values to represent an unset bounding box
-[more]inline BoundingBox(float xmin, float ymin, float zmin, float xmax, float ymax, float zmax) +[more]inline BoundingBox(float xmin, float ymin, float zmin, float xmax, float ymax, float zmax)
construct to with specified min and max values
-[more]inline BoundingBox(const Vec3& min, const Vec3& max) +[more]inline BoundingBox(const Vec3& min, const Vec3& max)
construct to with specified min and max values
-[more]inline void init() +[more]inline void init()
initialize to invalid values to represent an unset bounding box
-[more]inline bool valid() const +[more]inline bool valid() const
-[more]inline void set(float xmin, float ymin, float zmin, float xmax, float ymax, float zmax) +[more]inline void set(float xmin, float ymin, float zmin, float xmax, float ymax, float zmax)
-[more]inline void set(const Vec3& min, const Vec3& max) +[more]inline void set(const Vec3& min, const Vec3& max)
construct to with specified min and max values
-[more]inline float& xMin() +[more]inline float& xMin()
-[more]inline float xMin() const +[more]inline float xMin() const
-[more]inline float& yMin() +[more]inline float& yMin()
-[more]inline float yMin() const +[more]inline float yMin() const
-[more]inline float& zMin() +[more]inline float& zMin()
-[more]inline float zMin() const +[more]inline float zMin() const
-[more]inline float& xMax() +[more]inline float& xMax()
-[more]inline float xMax() const +[more]inline float xMax() const
-[more]inline float& yMax() +[more]inline float& yMax()
-[more]inline float yMax() const +[more]inline float yMax() const
-[more]inline float& zMax() +[more]inline float& zMax()
-[more]inline float zMax() const +[more]inline float zMax() const
-[more]inline const Vec3 center() const +[more]inline const Vec3 center() const
Calculate and return the center of the bounding box
-[more]inline float radius() const +[more]inline float radius() const
Calculate and return the radius of the bounding box
-[more]inline float radius2() const +[more]inline float radius2() const
Calculate and return the radius squared of the bounding box.
-[more]inline const Vec3 corner(unsigned int pos) const +[more]inline const Vec3 corner(unsigned int pos) const
return the corner of the bounding box.
-[more]inline void expandBy(const Vec3& v) +[more]inline void expandBy(const Vec3& v)
If the vertex is out-with the box expand to encompass vertex.
-[more]inline void expandBy(float x, float y, float z) +[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) +[more]void expandBy(const BoundingBox& bb)
If incoming box is out-with the box expand to encompass incoming box.
-[more]void expandBy(const BoundingSphere& sh) +[more]void expandBy(const BoundingSphere& sh)
If incoming sphere is out-with the box expand to encompass incoming sphere.
-[more]inline bool contains(const Vec3& v) const +[more]inline bool contains(const Vec3& v) const
return true is vertex v is within the box

@@ -104,116 +104,116 @@ i.e. osg::Drawable's to assist in view frustum culling etc.
- +
oVec3 _min
The corner with the smallest values for each coordinate of the bounding box

- +

oVec3 _max
The corner with the largest values for each coordinate of the bounding box

- +

oinline BoundingBox()
construct to invalid values to represent an unset bounding box

- +

oinline BoundingBox(float xmin, float ymin, float zmin, float xmax, float ymax, float zmax)
construct to with specified min and max values

- +

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

- +

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

- +

oinline bool valid() const

- +

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

- +

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

- +

oinline float& xMin()

- +

oinline float xMin() const

- +

oinline float& yMin()

- +

oinline float yMin() const

- +

oinline float& zMin()

- +

oinline float zMin() const

- +

oinline float& xMax()

- +

oinline float xMax() const

- +

oinline float& yMax()

- +

oinline float yMax() const

- +

oinline float& zMax()

- +

oinline float zMax() const

- +

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

- +

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

- +

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

- +

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

- +

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

- -

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.

- +

ovoid expandBy(const BoundingBox& bb)
If incoming box is out-with the box expand to encompass incoming box. If this box is empty then move set this box to incoming box.

- +

ovoid expandBy(const BoundingSphere& sh)
If incoming sphere is out-with the box expand to encompass incoming sphere. If this box is empty then move set this box to encompass the sphere.

- +

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

diff --git a/doc/doc++/osg/BoundingSphere.html b/doc/doc++/osg/BoundingSphere.html index 8b6eccaae..62e665c19 100644 --- a/doc/doc++/osg/BoundingSphere.html +++ b/doc/doc++/osg/BoundingSphere.html @@ -13,65 +13,65 @@

Public Fields

-[more]Vec3 _center +[more]Vec3 _center
-[more]float _radius +[more]float _radius

Public Methods

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

@@ -88,61 +88,61 @@ than a BoundingBox so will not cull so aggressively.
- +
oVec3 _center

- +

ofloat _radius

- +

o BoundingSphere()
construct to invalid values to represent an unset bounding sphere

- -

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

- +

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

- +

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

- -

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

- +

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

- +

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

- +

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

- +

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

- +

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

- +

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

- +

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

- +

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

- +

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

- +

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

- +

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

- +

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

- +

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

diff --git a/doc/doc++/osg/Box.html b/doc/doc++/osg/Box.html index 031874b41..7f46e5a7d 100644 --- a/doc/doc++/osg/Box.html +++ b/doc/doc++/osg/Box.html @@ -22,47 +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)() const +[more] META_Shape(osg, Box)
-[more]inline void set(const Vec3& center, const Vec3& halfLengths) +[more]inline bool valid() const
-[more]inline void setCenter(const Vec3& center) +[more]inline void set(const Vec3& center, const Vec3& halfLengths)
-[more]inline const Vec3& getCenter() const +[more]inline void setCenter(const Vec3& center)
-[more]inline void setHalfLengths(const Vec3& halfLengths) +[more]inline const Vec3& getCenter() const
-[more]inline const Vec3& getHalfLengths() const +[more]inline void setHalfLengths(const Vec3& halfLengths)
-[more]inline void setRotation(const Quat& quat) +[more]inline const Vec3& getHalfLengths() const
-[more]inline const Quat& getRotation() const +[more]inline void setRotation(const Quat& quat)
-[more]inline Matrix getRotationMatrix() const +[more]inline const Quat& getRotation() const
-[more]inline bool zeroRotation() const +[more]inline Matrix getRotationMatrix() 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()

@@ -90,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)
@@ -108,7 +110,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -146,75 +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 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)

- - -

oMETA_Shape (osg, Box)() const + + +
o META_Shape(osg, Box) +

+ + +

oinline bool valid() const

- -

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

- -

oinline void setCenter(const Vec3& center) + +
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 76ac669a0..59d20dc97 100644 --- a/doc/doc++/osg/ClearNode.html +++ b/doc/doc++/osg/ClearNode.html @@ -67,6 +67,8 @@
ovirtual bool addChild( Node* child )
+ovirtual bool insertChild( unsigned int index, Node* child ) +
ovirtual bool removeChild( Node* child )
ovirtual bool removeChild(unsigned int pos, unsigned int numChildrenToRemove=1) @@ -86,14 +88,9 @@ oinline unsigned int getChildIndex( const Node* node ) const

-

-

Public Members

-otypedef std::vector<ref_ptr<Node> > ChildList -

-

Protected Fields

-oChildList _children +oNodeList _children

@@ -124,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)
@@ -146,12 +143,6 @@
oinline const NodeCallback* getUpdateCallback() const
-ovoid setAppCallback(NodeCallback* nc) -
-oinline NodeCallback* getAppCallback() -
-oinline const NodeCallback* getAppCallback() const -
oinline unsigned int getNumChildrenRequiringUpdateTraversal() const
ovoid setCullCallback(NodeCallback* nc) @@ -172,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
@@ -218,7 +209,7 @@
ostd::string _name
-oParentList _parents +oParentList _parents
oref_ptr<NodeCallback> _updateCallback
@@ -232,9 +223,9 @@
ounsigned int _numChildrenWithOccluderNodes
-oNodeMask _nodeMask +oNodeMask _nodeMask
-oDescriptionList _descriptions +oDescriptionList _descriptions
oref_ptr<StateSet> _stateset

@@ -257,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)
@@ -275,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 241bb1ef2..548e29163 100644 --- a/doc/doc++/osg/ClipNode.html +++ b/doc/doc++/osg/ClipNode.html @@ -95,6 +95,8 @@
ovirtual bool addChild( Node* child )
+ovirtual bool insertChild( unsigned int index, Node* child ) +
ovirtual bool removeChild( Node* child )
ovirtual bool removeChild(unsigned int pos, unsigned int numChildrenToRemove=1) @@ -114,14 +116,9 @@ oinline unsigned int getChildIndex( const Node* node ) const

-

-

Public Members

-otypedef std::vector<ref_ptr<Node> > ChildList -

-

Protected Fields

-oChildList _children +oNodeList _children

@@ -147,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)
@@ -169,12 +166,6 @@
oinline const NodeCallback* getUpdateCallback() const
-ovoid setAppCallback(NodeCallback* nc) -
-oinline NodeCallback* getAppCallback() -
-oinline const NodeCallback* getAppCallback() const -
oinline unsigned int getNumChildrenRequiringUpdateTraversal() const
ovoid setCullCallback(NodeCallback* nc) @@ -195,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
@@ -241,7 +232,7 @@
ostd::string _name
-oParentList _parents +oParentList _parents
oref_ptr<NodeCallback> _updateCallback
@@ -255,9 +246,9 @@
ounsigned int _numChildrenWithOccluderNodes
-oNodeMask _nodeMask +oNodeMask _nodeMask
-oDescriptionList _descriptions +oDescriptionList _descriptions
oref_ptr<StateSet> _stateset

@@ -280,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)
@@ -298,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 aa97c4de7..cc4d8b5e7 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 862eaa47d..a33e1c17b 100644 --- a/doc/doc++/osg/CollectOccludersVisitor.html +++ b/doc/doc++/osg/CollectOccludersVisitor.html @@ -62,6 +62,9 @@

[more]void removeOccludedOccluders()
remove occluded occluders for the collected occluders list +
+[more]CollectOccludersVisitor& operator = (const CollectOccludersVisitor&) +
prevent unwanted copy operator

@@ -80,25 +83,24 @@

Protected Methods

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

+

+

Protected Members

+[more] prevent unwanted copy construction +

+

Inherited from NodeVisitor:

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)
@@ -118,9 +120,15 @@
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) +
+oinline Referenced* getUserData() +
+oinline const Referenced* getUserData() const
oinline void traverse(Node& node)
@@ -137,6 +145,12 @@ ovirtual bool getWorldToLocalMatrix(Matrix& matrix, Node* node)
ovirtual osg::Vec3 getEyePoint() const +
+ovoid setDatabaseRequestHandler(DatabaseRequestHandler* handler) +
+oDatabaseRequestHandler* getDatabaseRequestHandler() +
+oconst DatabaseRequestHandler* getDatabaseRequestHandler() const

@@ -144,23 +158,30 @@ oenum TraversalMode
oenum VisitorType +
+class DatabaseRequestHandler: public osg::Referenced +
callback for managing database paging, such as generated by PagedLOD nodes

Protected Fields

-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

@@ -223,7 +244,7 @@
ofloat getSmallFeatureCullingPixelSize() const
-ofloat pixelSize(const Vec3& v, float radius) const +ofloat pixelSize(const Vec3& v, float radius) const
ofloat pixelSize(const BoundingSphere& bs) const
@@ -444,9 +465,9 @@
ovoid removeOccludedOccluders()
remove occluded occluders for the collected occluders list

- + -

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

diff --git a/doc/doc++/osg/ColorMask.html b/doc/doc++/osg/ColorMask.html index 2a5de2afb..1f396e6f3 100644 --- a/doc/doc++/osg/ColorMask.html +++ b/doc/doc++/osg/ColorMask.html @@ -28,7 +28,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 @@ -77,7 +77,7 @@
ovirtual const char* className() const
-ovirtual Type getType() const +ovirtual Type getType() const
ovirtual bool isTextureAttribute() const
@@ -87,7 +87,7 @@
obool operator != (const StateAttribute& rhs) const
-ovirtual void getAssociatedModes(std::vector<GLMode>& ) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const
ovirtual void compile(State&) const

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

Public Methods

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -179,7 +179,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 7e6a14ae6..2065aaf72 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 c745291c8..39805dd54 100644 --- a/doc/doc++/osg/CompositeShape.html +++ b/doc/doc++/osg/CompositeShape.html @@ -22,52 +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)(Shape* shape) +[more] META_Shape(osg, CompositeShape)
-[more]Shape* getShape() +[more]void setShape(Shape* shape) +
Set the shape that encloses all of the children +
+[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()

@@ -95,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)
@@ -113,7 +116,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -151,73 +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)

- - -

oMETA_Shape (osg, CompositeShape)(Shape* shape) + + +
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 5add37c83..60ebef65a 100644 --- a/doc/doc++/osg/Cone.html +++ b/doc/doc++/osg/Cone.html @@ -22,55 +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)() const +[more] META_Shape(osg, Cone)
-[more]inline void set(const Vec3& center, float radius, float height) +[more]inline bool valid() const
-[more]inline void setCenter(const Vec3& center) +[more]inline void set(const Vec3& center, float radius, float height)
-[more]inline const Vec3& getCenter() const +[more]inline void setCenter(const Vec3& center)
-[more]inline void setRadius(float radius) +[more]inline const Vec3& getCenter() const
-[more]inline float getRadius() const +[more]inline void setRadius(float radius)
-[more]inline void setHeight(float height) +[more]inline float getRadius() const
-[more]inline float getHeight() const +[more]inline void setHeight(float height)
-[more]inline void setRotation(const Quat& quat) +[more]inline float getHeight() const
-[more]inline const Quat& getRotation() const +[more]inline void setRotation(const Quat& quat)
-[more]inline Matrix getRotationMatrix() const +[more]inline const Quat& getRotation() const
-[more]inline bool zeroRotation() const +[more]inline Matrix getRotationMatrix() const
-[more]inline float getBaseOffsetFactor() const +[more]inline bool zeroRotation() const
-[more]inline float getBaseOffset() const +[more]inline float getBaseOffsetFactor() 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()

@@ -98,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)
@@ -116,7 +118,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -154,91 +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)

- - -

oMETA_Shape (osg, Cone)() const + + +
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 void setCenter(const Vec3& center)

- +

oinline const Vec3& getCenter() const

- -

oinline void setRadius(float radius) + +
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/ConstAttributeFunctor.html b/doc/doc++/osg/ConstAttributeFunctor.html index 2692b8ae7..0bd697135 100644 --- a/doc/doc++/osg/ConstAttributeFunctor.html +++ b/doc/doc++/osg/ConstAttributeFunctor.html @@ -12,9 +12,9 @@

Public Methods

-[more]virtual ~ConstAttributeFunctor() +[more]virtual ~ConstAttributeFunctor()
-[more]virtual void apply(AttributeType, const unsigned int, const UByte4*) +[more]virtual void apply(AttributeType, const unsigned int, const UByte4*)

@@ -25,12 +25,12 @@
- +
ovirtual ~ConstAttributeFunctor()

- -

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


This class has no child classes.
diff --git a/doc/doc++/osg/ConstShapeVisitor.html b/doc/doc++/osg/ConstShapeVisitor.html index 24faae239..fae6f7b3a 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 0107db5cf..2507b2586 100644 --- a/doc/doc++/osg/ConvexHull.html +++ b/doc/doc++/osg/ConvexHull.html @@ -22,11 +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()

@@ -34,7 +39,7 @@

Public Methods

-oMETA_Shape (osg, TriangleMesh)(Vec3Array* vertices) +ovoid setVertices(Vec3Array* vertices)
oVec3Array* getVertices()
@@ -79,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)
@@ -97,7 +102,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -135,16 +140,20 @@
- +
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()


This class has no child classes.
diff --git a/doc/doc++/osg/ConvexPlanarOccluder.html b/doc/doc++/osg/ConvexPlanarOccluder.html index 28fa29603..47bcc135c 100644 --- a/doc/doc++/osg/ConvexPlanarOccluder.html +++ b/doc/doc++/osg/ConvexPlanarOccluder.html @@ -27,34 +27,36 @@
[more] ConvexPlanarOccluder(const ConvexPlanarOccluder& cpo, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-[more]META_Object (osg, ConvexPlanarOccluder)(const ConvexPlanarPolygon& cpp) +[more] META_Object(osg, ConvexPlanarOccluder)
-[more]ConvexPlanarPolygon& getOccluder() +[more]void setOccluder(const ConvexPlanarPolygon& cpp)
-[more]const ConvexPlanarPolygon& getOccluder() const +[more]ConvexPlanarPolygon& getOccluder()
-[more]void addHole(const ConvexPlanarPolygon& cpp) +[more]const ConvexPlanarPolygon& getOccluder() const
-[more]HoleList& getHoleList() +[more]void addHole(const ConvexPlanarPolygon& cpp)
-[more]const HoleList& getHoleList() const +[more]HoleList& getHoleList() +
+[more]const HoleList& getHoleList() const

Public Members

-[more]typedef std::vector<ConvexPlanarPolygon> HoleList +[more]typedef std::vector<ConvexPlanarPolygon> HoleList

Protected Fields

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

Protected Methods

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

@@ -72,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)
@@ -90,7 +92,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -137,45 +139,49 @@ When adding planes, their normals should point inwards (into the volume)
o ConvexPlanarOccluder(const ConvexPlanarOccluder& cpo, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

- + -

oMETA_Object (osg, ConvexPlanarOccluder)(const ConvexPlanarPolygon& cpp) +
o META_Object(osg, ConvexPlanarOccluder)

- + -

oConvexPlanarPolygon& getOccluder() +
ovoid setOccluder(const ConvexPlanarPolygon& cpp)

+

oConvexPlanarPolygon& getOccluder() +

+ +

oconst ConvexPlanarPolygon& getOccluder() const

- +

otypedef std::vector<ConvexPlanarPolygon> HoleList

- +

ovoid addHole(const ConvexPlanarPolygon& cpp)

- -

oHoleList& getHoleList() + +
oHoleList& getHoleList()

- -

oconst HoleList& getHoleList() const + +
oconst HoleList& getHoleList() const

- +

o ~ConvexPlanarOccluder()

- +

oConvexPlanarPolygon _occluder

- -

oHoleList _holeList + +
oHoleList _holeList


This class has no child classes.
diff --git a/doc/doc++/osg/CopyOp.html b/doc/doc++/osg/CopyOp.html index 7eb6687f4..ad1420ae2 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
@@ -129,7 +129,7 @@ during copy construction and clone operation

-

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

diff --git a/doc/doc++/osg/CullFace.html b/doc/doc++/osg/CullFace.html index 1156c9ccd..5243917df 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/CullStack.html b/doc/doc++/osg/CullStack.html index 36282a566..6773aa696 100644 --- a/doc/doc++/osg/CullStack.html +++ b/doc/doc++/osg/CullStack.html @@ -63,7 +63,7 @@

[more]float getSmallFeatureCullingPixelSize() const
-[more]float pixelSize(const Vec3& v, float radius) const +[more]float pixelSize(const Vec3& v, float radius) const
Compute the pixel of an object at position v, with specified radius
[more]float pixelSize(const BoundingSphere& bs) const @@ -325,7 +325,7 @@ and the CullingSet.

-

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

diff --git a/doc/doc++/osg/CullingSet.html b/doc/doc++/osg/CullingSet.html index 1e1a27acf..fe98b8385 100644 --- a/doc/doc++/osg/CullingSet.html +++ b/doc/doc++/osg/CullingSet.html @@ -49,7 +49,7 @@

[more]float getSmallFeatureCullingPixelSize() const
-[more]float pixelSize(const Vec3& v, float radius) const +[more]float pixelSize(const Vec3& v, float radius) const
Compute the pixel of an object at position v, with specified radius
[more]float pixelSize(const BoundingSphere& bs) const @@ -214,7 +214,7 @@

-

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

diff --git a/doc/doc++/osg/Cylinder.html b/doc/doc++/osg/Cylinder.html index 9ea3a556c..f9e20a1ed 100644 --- a/doc/doc++/osg/Cylinder.html +++ b/doc/doc++/osg/Cylinder.html @@ -22,51 +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)() const +[more] META_Shape(osg, Cylinder)
-[more]inline void set(const Vec3& center, float radius, float height) +[more]inline bool valid() const
-[more]inline void setCenter(const Vec3& center) +[more]inline void set(const Vec3& center, float radius, float height)
-[more]inline const Vec3& getCenter() const +[more]inline void setCenter(const Vec3& center)
-[more]inline void setRadius(float radius) +[more]inline const Vec3& getCenter() const
-[more]inline float getRadius() const +[more]inline void setRadius(float radius)
-[more]inline void setHeight(float height) +[more]inline float getRadius() const
-[more]inline float getHeight() const +[more]inline void setHeight(float height)
-[more]inline void setRotation(const Quat& quat) +[more]inline float getHeight() const
-[more]inline const Quat& getRotation() const +[more]inline void setRotation(const Quat& quat)
-[more]inline Matrix getRotationMatrix() const +[more]inline const Quat& getRotation() const
-[more]bool zeroRotation() const +[more]inline Matrix getRotationMatrix() 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()

@@ -94,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)
@@ -112,7 +114,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -150,83 +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)

- - -

oMETA_Shape (osg, Cylinder)() const + + +
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 void setCenter(const Vec3& center)

- +

oinline const Vec3& getCenter() const

- -

oinline void setRadius(float radius) + +
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 bea8ba097..b0eda4a96 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

@@ -219,6 +219,8 @@
ovirtual bool addChild( Node* child )
+ovirtual bool insertChild( unsigned int index, Node* child ) +
ovirtual bool removeChild( Node* child )
ovirtual bool removeChild(unsigned int pos, unsigned int numChildrenToRemove=1) @@ -238,14 +240,9 @@ oinline unsigned int getChildIndex( const Node* node ) const

-

-

Public Members

-otypedef std::vector<ref_ptr<Node> > ChildList -

-

Protected Fields

-oChildList _children +oNodeList _children

@@ -267,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)
@@ -289,12 +286,6 @@
oinline const NodeCallback* getUpdateCallback() const
-ovoid setAppCallback(NodeCallback* nc) -
-oinline NodeCallback* getAppCallback() -
-oinline const NodeCallback* getAppCallback() const -
oinline unsigned int getNumChildrenRequiringUpdateTraversal() const
ovoid setCullCallback(NodeCallback* nc) @@ -315,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
@@ -361,7 +352,7 @@
ostd::string _name
-oParentList _parents +oParentList _parents
oref_ptr<NodeCallback> _updateCallback
@@ -375,9 +366,9 @@
ounsigned int _numChildrenWithOccluderNodes
-oNodeMask _nodeMask +oNodeMask _nodeMask
-oDescriptionList _descriptions +oDescriptionList _descriptions
oref_ptr<StateSet> _stateset

@@ -400,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)
@@ -418,7 +409,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

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

-

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

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

-

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

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

-

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

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

-

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

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

-

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

-

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

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

-

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

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

-

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

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

-

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

@@ -588,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 new file mode 100644 index 000000000..2289ce400 --- /dev/null +++ b/doc/doc++/osg/DatabaseRequestHandler.html @@ -0,0 +1,82 @@ + + + + + class osg::NodeVisitor::DatabaseRequestHandler + + + + +

class DatabaseRequestHandler

callback for managing database paging, such as generated by PagedLOD nodes
+
+ +

Inheritance:

+ + + + + + + +
+ +
+

+

Public Methods

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

+ +

+

Protected Methods

+[more]virtual ~DatabaseRequestHandler() +

+ +
+

Inherited from Referenced:

+
+

+

Public Methods

+oinline Referenced& operator = (Referenced&) +
+ostatic void setDeleteHandler(DeleteHandler* handler) +
+ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const +
+oinline void unref_nodelete() const +
+oinline int referenceCount() const +
+oinline void unref() const +

+ +

+

Protected Fields

+omutable int _refCount +

+ +
+ + +
+

Documentation

+
callback for managing database paging, such as generated by PagedLOD nodes
+
+ + + +
ovirtual void requestNodeFile(const std::string& fileName, osg::Group* group) = 0 +

+ + +

ovirtual ~DatabaseRequestHandler() +

+ +
This class has no child classes.
+ +

Alphabetic index HTML hierarchy of classes or Java


+
+This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/DeleteHandler.html b/doc/doc++/osg/DeleteHandler.html index c16804a04..7915a9d8e 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 0a6903297..401ecf19e 100644 --- a/doc/doc++/osg/Depth.html +++ b/doc/doc++/osg/Depth.html @@ -23,49 +23,49 @@

Public Methods

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

Public Members

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

Protected Fields

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

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

@@ -177,94 +177,94 @@
Encapsulate OpenGL glDepthFunc/Mask/Range functions
- - -
o Depth() -

- - -

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

- - -

o META_StateAttribute(osg, Depth, DEPTH) -

- - -

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

- - -

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

- +

oenum Function

- +
o NEVER

- +

o LESS

- +

o EQUAL

- +

o LEQUAL

- +

o GREATER

- +

o NOTEQUAL

- +

o GEQUAL

- +

o ALWAYS

+ + +
o Depth(Function func=LESS, double zNear=0.0, double zFar=1.0, bool writeMask=true) +

+ + +

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

+ + +

o META_StateAttribute(osg, Depth, DEPTH) +

+ + +

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 +

-

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

-

oinline Function getFunction() const -

- - -

oinline void setWriteMask(bool mask) -

- - -

oinline bool getWriteMask() const +
oinline Function getFunction() const

- -

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

- +

oinline double getZNear() const

- +

oinline double getZFar() const

+ + +

oinline void setWriteMask(bool mask) +

+ + +

oinline bool getWriteMask() const +

ovirtual void apply(State& state) const @@ -275,19 +275,19 @@

-

oFunction _func -

- - -

obool _depthWriteMask +
oFunction _func

- +

odouble _zNear

- +

odouble _zFar +

+ + +

obool _depthWriteMask


This class has no child classes.
diff --git a/doc/doc++/osg/DisplaySettings.html b/doc/doc++/osg/DisplaySettings.html index 2446dc513..181a920da 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
@@ -63,7 +63,7 @@
[more]SplitStereoHorizontalEyeMapping getSplitStereoHorizontalEyeMapping() const
-[more]void setSplitStereoHorizontalSeparation(int s) +[more]void setSplitStereoHorizontalSeparation(int s)
[more]int getSplitStereoHorizontalSeparation() const
@@ -71,41 +71,45 @@
[more]SplitStereoVerticalEyeMapping getSplitStereoVerticalEyeMapping() const
-[more]void setSplitStereoVerticalSeparation(int s) +[more]void setSplitStereoVerticalSeparation(int s)
[more]int getSplitStereoVerticalSeparation() const
-[more]void setScreenHeight(float height) +[more]void setSplitStereoAutoAjustAspectRatio(bool flag)
-[more]float getScreenHeight() const +[more]bool getSplitStereoAutoAjustAspectRatio() const
-[more]void setDoubleBuffer(bool flag) +[more]void setScreenHeight(float height)
-[more]bool getDoubleBuffer() const +[more]float getScreenHeight() const
-[more]void setRGB(bool flag) +[more]void setDoubleBuffer(bool flag)
-[more]bool getRGB() const +[more]bool getDoubleBuffer() const
-[more]void setDepthBuffer(bool flag) +[more]void setRGB(bool flag)
-[more]bool getDepthBuffer() const +[more]bool getRGB() const
-[more]void setMinimumNumAlphaBits(unsigned int bits) +[more]void setDepthBuffer(bool flag)
-[more]unsigned int getMinimumNumAlphaBits() const +[more]bool getDepthBuffer() const
-[more]bool getAlphaBuffer() const +[more]void setMinimumNumAlphaBits(unsigned int bits)
-[more]void setMinimumNumStencilBits(unsigned int bits) +[more]unsigned int getMinimumNumAlphaBits() const
-[more]unsigned int getMinimumNumStencilBits() const +[more]bool getAlphaBuffer() const
-[more]bool getStencilBuffer() const +[more]void setMinimumNumStencilBits(unsigned int bits)
-[more]void setMaxNumberOfGraphicsContexts(unsigned int num) +[more]unsigned int getMinimumNumStencilBits() const
-[more]unsigned int getMaxNumberOfGraphicsContexts() const +[more]bool getStencilBuffer() const +
+[more]void setMaxNumberOfGraphicsContexts(unsigned int num) +
+[more]unsigned int getMaxNumberOfGraphicsContexts() const

@@ -119,42 +123,44 @@

Protected Fields

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

Protected Methods

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

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

-

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

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

-

ovoid setSplitStereoHorizontalSeparation(int s) +
ovoid setSplitStereoHorizontalSeparation(int s)

@@ -343,142 +349,154 @@ have been set up, and the status of stereo viewing

-

ovoid setSplitStereoVerticalSeparation(int s) +
ovoid setSplitStereoVerticalSeparation(int s)

oint getSplitStereoVerticalSeparation() const

- + -

ovoid setScreenHeight(float height) +
ovoid setSplitStereoAutoAjustAspectRatio(bool flag) +

+ + +

obool getSplitStereoAutoAjustAspectRatio() const +

+ + +

ovoid setScreenHeight(float height)

- +

ofloat getScreenHeight() const

- +

ovoid setDoubleBuffer(bool flag)

- +

obool getDoubleBuffer() const

- +

ovoid setRGB(bool flag)

- +

obool getRGB() const

- +

ovoid setDepthBuffer(bool flag)

- +

obool getDepthBuffer() const

- +

ovoid setMinimumNumAlphaBits(unsigned int bits)

- +

ounsigned int getMinimumNumAlphaBits() const

- +

obool getAlphaBuffer() const

- +

ovoid setMinimumNumStencilBits(unsigned int bits)

- +

ounsigned int getMinimumNumStencilBits() const

- +

obool getStencilBuffer() const

- +

ovoid setMaxNumberOfGraphicsContexts(unsigned int num)

- +

ounsigned int getMaxNumberOfGraphicsContexts() const

- +

ovirtual ~DisplaySettings()

- +

ovoid copy(const DisplaySettings& vs)

- +

obool _stereo

- +

oStereoMode _stereoMode

- +

ofloat _eyeSeparation

- +

ofloat _screenDistance

- +

ofloat _screenHeight

- +

oSplitStereoHorizontalEyeMapping _splitStereoHorizontalEyeMapping

- +

oint _splitStereoHorizontalSeparation

- +

oSplitStereoVerticalEyeMapping _splitStereoVerticalEyeMapping

- +

oint _splitStereoVerticalSeparation

+ + +

obool _splitStereoAutoAdjustAspectRatio +

- +

obool _doubleBuffer

- +

obool _RGB

- +

obool _depthBuffer

- +

ounsigned int _minimumNumberAlphaBits

- +

ounsigned int _minimumNumberStencilBits

- +

ounsigned int _maxNumOfGraphicsContexts

diff --git a/doc/doc++/osg/DrawArrayLengths.html b/doc/doc++/osg/DrawArrayLengths.html index be96f7f0b..793a26aaf 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, unsigned int no)

- -

o DrawArrayLengths(GLenum mode, GLint first) + +
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) + +
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 a406d6a3d..610be4ab8 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(GLenum mode, GLint first, GLsizei count)

- -

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

- +

ovirtual Object* cloneType() const

- +

ovirtual Object* clone(const CopyOp& copyop) const

- +

ovirtual bool isSameKindAs(const Object* obj) const

- +

ovirtual const char* libraryName() const

- +

ovirtual const char* className() const

- -

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

- -

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

- +

oGLint getFirst() const

- +

ovoid setCount(GLsizei count)

- +

oGLsizei getCount() const

- +

ovirtual void draw() const

- +

ovirtual void accept(Drawable::PrimitiveFunctor& functor) 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 899877bf6..7e3787c27 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 84e484a31..b76d7f33d 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 0805da521..a6dc5eb62 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) + +
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 ee35547dd..9b63db9f5 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
@@ -96,9 +96,9 @@
ovirtual const Geometry* asGeometry() const
-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
-oinline ParentList getParents() +oinline ParentList getParents()
oinline Node* getParent(unsigned int i)
@@ -132,35 +132,37 @@
oinline bool getUseDisplayList() const
+ovoid setUseVertexBufferObjects(bool flag) +
+oinline bool getUseVertexBufferObjects() const +
ovoid dirtyDisplayList()
ovirtual void compile(State& state) const
-ovoid setUpdateCallback(UpdateCallback* ac) +ovoid setUpdateCallback(UpdateCallback* ac)
-oUpdateCallback* getUpdateCallback() +oUpdateCallback* getUpdateCallback()
-ovoid setAppCallback(AppCallback* ac) +ovoid setCullCallback(CullCallback* cc)
-oAppCallback* getAppCallback() +oCullCallback* getCullCallback()
-oconst AppCallback* getAppCallback() const +oconst CullCallback* getCullCallback() const
-ovoid setCullCallback(CullCallback* cc) +ovoid setDrawCallback(DrawCallback* dc)
-oCullCallback* getCullCallback() +oDrawCallback* getDrawCallback()
-oconst CullCallback* getCullCallback() const -
-ovoid setDrawCallback(DrawCallback* dc) -
-oDrawCallback* getDrawCallback() -
-oconst DrawCallback* getDrawCallback() const +oconst DrawCallback* getDrawCallback() const
ostatic void deleteDisplayList(unsigned int contextID, GLuint globj)
-ostatic void flushDeletedDisplayLists(unsigned int contextID) +ostatic void flushDeletedDisplayLists(unsigned int contextID, double currentTime, double& availableTime) +
+ostatic void deleteVertexBufferObject(unsigned int contextID, GLuint globj) +
+ostatic void flushDeletedVertexBufferObjects(unsigned int contextID, double currentTime, double& availableTime)
ovirtual bool supports(AttributeFunctor&) const
@@ -174,6 +176,10 @@
ovirtual void accept(PrimitiveFunctor&) const
+ostatic Extensions* getExtensions(unsigned int contextID, bool createIfNotInitalized) +
+ostatic void setExtensions(unsigned int contextID, Extensions* extensions) +
oinline void draw(State& state) const

@@ -183,24 +189,27 @@
ostruct UpdateCallback: public virtual osg::Referenced
-ostruct AppCallback: public UpdateCallback -
ostruct CullCallback: public virtual osg::Referenced
ostruct DrawCallback: public virtual osg::Referenced
-oenum AttributeType +otypedef unsigned int AttributeType +
+oenum AttributeTypes
class AttributeFunctor
class ConstAttributeFunctor
class PrimitiveFunctor +
+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

Protected Fields

-oParentList _parents +oParentList _parents
oref_ptr<StateSet> _stateset
@@ -214,13 +223,19 @@ class PrimitiveFunctor
obool _useDisplayList
-omutable GLObjectList _globjList +obool _supportsVertexBufferObjects
-oref_ptr<UpdateCallback> _updateCallback +obool _useVertexBufferObjects
-oref_ptr<DrawCallback> _drawCallback +omutable GLObjectList _globjList
-oref_ptr<CullCallback> _cullCallback +omutable GLObjectList _vboList +
+oref_ptr<UpdateCallback> _updateCallback +
+oref_ptr<DrawCallback> _drawCallback +
+oref_ptr<CullCallback> _cullCallback

@@ -242,9 +257,9 @@ class PrimitiveFunctor

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 +275,7 @@ class PrimitiveFunctor

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -356,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 006509a11..abe10ed58 100644 --- a/doc/doc++/osg/Drawable.html +++ b/doc/doc++/osg/Drawable.html @@ -11,11 +11,11 @@


Inheritance:

- - - - - + + + + +
@@ -23,215 +23,233 @@

Public Methods

-[more] Drawable() +[more] Drawable()
-[more] Drawable(const Drawable& drawable, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Drawable(const Drawable& drawable, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
-[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
-[more]virtual const char* className() const +[more]virtual const char* className() const
-[more]virtual Geometry* asGeometry() +[more]virtual Geometry* asGeometry()
convert 'this' into a Geometry pointer if Drawable is a Geometry, otherwise return 0.
-[more]virtual const Geometry* asGeometry() const +[more]virtual const Geometry* asGeometry() const
convert 'const this' into a const Geometry pointer if Drawable is a Geometry, otherwise return 0.
-[more]inline const ParentList& getParents() const +[more]inline const ParentList& getParents() const
Get the parent list of drawable.
-[more]inline ParentList getParents() +[more]inline ParentList getParents()
Get the a copy of parent list of node.
-[more]inline Node* getParent(unsigned int i) +[more]inline Node* getParent(unsigned int i)
Get a single parent of Drawable.
-[more]inline const Node* getParent(unsigned int i) const +[more]inline const Node* getParent(unsigned int i) const
Get a single const parent of Drawable.
-[more]inline unsigned int getNumParents() const +[more]inline unsigned int getNumParents() const
Get the number of parents of node.
-[more]inline void setStateSet(StateSet* state) +[more]inline void setStateSet(StateSet* state)
Set the StateSet attached to the Drawable.
-[more]inline StateSet* getStateSet() +[more]inline StateSet* getStateSet()
Get the attached StateSet
-[more]inline const StateSet* getStateSet() const +[more]inline const StateSet* getStateSet() const
Get the attached const StateSet
-[more]StateSet* getOrCreateStateSet() +[more]StateSet* getOrCreateStateSet()
Get the attached const StateSet, if one is not already attach create one, attach it to the drawable and return a pointer to it
-[more]void dirtyBound() +[more]void dirtyBound()
Dirty the bounding box, forcing a computeBound() on the next call to getBound().
-[more]inline const BoundingBox& getBound() const +[more]inline const BoundingBox& getBound() const
get bounding box of geoset.
-[more]inline void setShape(Shape* shape) +[more]inline void setShape(Shape* shape)
Set the Shape of the drawable.
-[more]inline Shape* getShape() +[more]inline Shape* getShape()
Get the Shape of the Drawable
-[more]inline const Shape* getShape() const +[more]inline const Shape* getShape() const
Get the const Shape of the const Drawable
-[more]void setSupportsDisplayList(bool flag) +[more]void setSupportsDisplayList(bool flag)
Set the drawable to it can or cannot be used in conjunction with OpenGL display lists.
-[more]inline bool getSupportsDisplayList() const +[more]inline bool getSupportsDisplayList() const
Get whether display lists are supported for this drawable instance
-[more]void setUseDisplayList(bool flag) +[more]void setUseDisplayList(bool flag)
When set to true, force the draw method to use OpenGL Display List for rendering.
-[more]inline bool getUseDisplayList() const +[more]inline bool getUseDisplayList() const
Return whether OpenGL display lists are being used for rendering
-[more]void dirtyDisplayList() +[more]void setUseVertexBufferObjects(bool flag) +
When set to true, ignore the setUseDisplayList() settings, and hints to the drawImplemention method to use OpenGL vertex buffer objects for rendering +
+[more]inline bool getUseVertexBufferObjects() const +
Return whether OpenGL vertex buffer objects should be used when supported by OpenGL driver +
+[more]void dirtyDisplayList()
Force a recompile on next draw() of any OpenGL display list associated with this geoset
-[more]virtual void compile(State& state) const +[more]virtual void compile(State& state) const
Immediately compile this drawable into an OpenGL Display List.
-[more]void setUpdateCallback(UpdateCallback* ac) +[more]void setUpdateCallback(UpdateCallback* ac)
Set the UpdateCallback which allows users to attach customize the undating of an object during the app traversal
-[more]UpdateCallback* getUpdateCallback() +[more]UpdateCallback* getUpdateCallback()
Get the non const UpdateCallback
-[more]void setAppCallback(AppCallback* ac) -
deprecated -
-[more]AppCallback* getAppCallback() -
deprecated -
-[more]const AppCallback* getAppCallback() const -
deprecated -
-[more]void setCullCallback(CullCallback* cc) +[more]void setCullCallback(CullCallback* cc)
Set the CullCallback which allows users to attach customize the culling of Drawable during the cull traversal
-[more]CullCallback* getCullCallback() +[more]CullCallback* getCullCallback()
Get the non const CullCallback
-[more]const CullCallback* getCullCallback() const +[more]const CullCallback* getCullCallback() const
Get the const CullCallback
-[more]void setDrawCallback(DrawCallback* dc) +[more]void setDrawCallback(DrawCallback* dc)
Set the DrawCallback which allows users to attach customize the drawing of existing Drawable object
-[more]DrawCallback* getDrawCallback() +[more]DrawCallback* getDrawCallback()
Get the non const DrawCallback
-[more]const DrawCallback* getDrawCallback() const +[more]const DrawCallback* getDrawCallback() const
Get the const DrawCallback
-[more]virtual void drawImplementation(State& state) const = 0 +[more]virtual void drawImplementation(State& state) const = 0
draw directly ignoring an OpenGL display list which could be attached.
-[more]static void deleteDisplayList(unsigned int contextID, GLuint globj) +[more]static void deleteDisplayList(unsigned int contextID, GLuint globj)
use deleteDisplayList instead of glDeleteList to allow OpenGL display list to cached until they can be deleted by the OpenGL context in which they were created, specified by contextID
-[more]static void flushDeletedDisplayLists(unsigned int contextID) +[more]static void flushDeletedDisplayLists(unsigned int contextID, double currentTime, double& availableTime)
flush all the cached display list which need to be deleted in the OpenGL context related to contextID
-[more]virtual bool supports(AttributeFunctor&) const +[more]static void deleteVertexBufferObject(unsigned int contextID, GLuint globj) +
use deleteVertexBufferObject instead of glDeleteList to allow OpenGL buffer objects to cached until they can be deleted by the OpenGL context in which they were created, specified by contextID +
+[more]static void flushDeletedVertexBufferObjects(unsigned int contextID, double currentTime, double& availableTime) +
flush all the cached vertex buffer objects which need to be deleted in the OpenGL context related to contextID +
+[more]virtual bool supports(AttributeFunctor&) const
return true if the Drawable subclass supports accept(AttributeFunctor&)
-[more]virtual void accept(AttributeFunctor&) +[more]virtual void accept(AttributeFunctor&)
accept an AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has.
-[more]virtual bool supports(ConstAttributeFunctor&) const +[more]virtual bool supports(ConstAttributeFunctor&) const
return true if the Drawable subclass supports accept(ConstAttributeFunctor&)
-[more]virtual void accept(ConstAttributeFunctor&) const +[more]virtual void accept(ConstAttributeFunctor&) const
accept an AttributeFunctor 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 if the Drawable subclass supports accept(PrimitiveFunctor&)
-[more]virtual void accept(PrimitiveFunctor&) const +[more]virtual void accept(PrimitiveFunctor&) const
accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has.
-[more]inline void draw(State& state) const +[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) +
setExtensions allows users to override the extensions across graphics contexts. +
+[more]inline void draw(State& state) const
draw OpenGL primitives.

Public Members

-[more]typedef std::vector<Node*> ParentList +[more]typedef std::vector<Node*> ParentList
A vector of osg::Node pointers which is used to store the parent(s) of drawable
-[more]struct UpdateCallback: public virtual osg::Referenced +[more]struct UpdateCallback: public virtual osg::Referenced
-[more]struct AppCallback: public UpdateCallback +[more]struct CullCallback: public virtual osg::Referenced
-[more]struct CullCallback: public virtual osg::Referenced -
-[more]struct DrawCallback: public virtual osg::Referenced +[more]struct DrawCallback: public virtual osg::Referenced
Callback attached to an Drawable which allows the users to customize the drawing of an exist Drawable object.
-[more]enum AttributeType +[more]typedef unsigned int AttributeType +
+[more]enum AttributeTypes
class AttributeFunctor
class ConstAttributeFunctor
class PrimitiveFunctor +
+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

Protected Fields

-[more]ParentList _parents +[more]ParentList _parents
-[more]ref_ptr<StateSet> _stateset +[more]ref_ptr<StateSet> _stateset
-[more]mutable BoundingBox _bbox +[more]mutable BoundingBox _bbox
-[more]mutable bool _bbox_computed +[more]mutable bool _bbox_computed
-[more]ref_ptr<Shape> _shape +[more]ref_ptr<Shape> _shape
-[more]bool _supportsDisplayList +[more]bool _supportsDisplayList
-[more]bool _useDisplayList +[more]bool _useDisplayList
-[more]mutable GLObjectList _globjList +[more]bool _supportsVertexBufferObjects
-[more]ref_ptr<UpdateCallback> _updateCallback +[more]bool _useVertexBufferObjects
-[more]ref_ptr<DrawCallback> _drawCallback +[more]mutable GLObjectList _globjList
-[more]ref_ptr<CullCallback> _cullCallback +[more]mutable GLObjectList _vboList +
+[more]ref_ptr<UpdateCallback> _updateCallback +
+[more]ref_ptr<DrawCallback> _drawCallback +
+[more]ref_ptr<CullCallback> _cullCallback

Protected Methods

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

Protected Members

-[more]typedef osg::buffered_value<GLuint> GLObjectList +[more]typedef osg::buffered_value<GLuint> GLObjectList

@@ -243,9 +261,9 @@ class PrimitiveFunctor
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)
@@ -261,7 +279,7 @@ class PrimitiveFunctor

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -302,132 +320,132 @@ be shared for optimal memory usage and graphics performance.
- +
o Drawable()

- -

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

- +

ovirtual bool isSameKindAs(const Object* obj) const

- +

ovirtual const char* libraryName() const

- +

ovirtual const char* className() const

- +

ovirtual Geometry* asGeometry()
convert 'this' into a Geometry pointer if Drawable is a Geometry, otherwise return 0. Equivalent to dynamic_cast(this).

- +

ovirtual const Geometry* asGeometry() const
convert 'const this' into a const Geometry pointer if Drawable is a Geometry, otherwise return 0. Equivalent to dynamic_cast(this).

- +

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

- -

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

- -

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

- +

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

- +

oinline const Node* getParent(unsigned int i) const
Get a single const parent of Drawable. -
Parameters:
i - index of the parent to get. +
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.

- +

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

- +

oinline StateSet* getStateSet()
Get the attached StateSet

- +

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

- +

oStateSet* getOrCreateStateSet()
Get the attached const StateSet, if one is not already attach create one, attach it to the drawable and return a pointer to it

- +

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

- +

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

- +

oinline void setShape(Shape* shape)
Set the Shape of the drawable. The shape can be used to speed up collision detection or as a guide for produral geometry generation - see osg::ProduralGeometry.

- +

oinline Shape* getShape()
Get the Shape of the Drawable

- +

oinline const Shape* getShape() const
Get the const Shape of the const Drawable

- +

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

- +

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

- +

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

- +

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

+ + +

ovoid setUseVertexBufferObjects(bool flag) +
When set to true, ignore the setUseDisplayList() settings, and hints to the drawImplemention +method to use OpenGL vertex buffer objects for rendering +

+ + +

oinline bool getUseVertexBufferObjects() const +
Return whether OpenGL vertex buffer objects should be used when supported by OpenGL driver +

- +

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

- +

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

- +

ostruct UpdateCallback: public virtual osg::Referenced

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

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

- -

oUpdateCallback* getUpdateCallback() + +
oUpdateCallback* getUpdateCallback()
Get the non const UpdateCallback

- - -

ostruct AppCallback: public UpdateCallback -

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

- - -

ovirtual void update(osg::NodeVisitor* visitor, osg::Drawable* drawable) -

- - - -
ovoid setAppCallback(AppCallback* ac) -
deprecated -

- - -

oAppCallback* getAppCallback() -
deprecated -

- - -

oconst AppCallback* getAppCallback() const -
deprecated -

- +

ostruct CullCallback: public virtual osg::Referenced

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

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

- -

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

- -

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

- +

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

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

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

- -

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

- -

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

- +

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

- +

ostatic void deleteDisplayList(unsigned int contextID, GLuint globj)
use deleteDisplayList instead of glDeleteList to allow OpenGL display list to cached until they can be deleted @@ -590,177 +589,244 @@ by the OpenGL context in which they were created, specified by contextID

- -

ostatic void flushDeletedDisplayLists(unsigned int contextID) + +
ostatic void flushDeletedDisplayLists(unsigned int contextID, double currentTime, double& availableTime)
flush all the cached display list which need to be deleted in the OpenGL context related to contextID

+ + +

ostatic void deleteVertexBufferObject(unsigned int contextID, GLuint globj) +
use deleteVertexBufferObject instead of glDeleteList to allow +OpenGL buffer objects to cached until they can be deleted +by the OpenGL context in which they were created, specified +by contextID +

+ + +

ostatic void flushDeletedVertexBufferObjects(unsigned int contextID, double currentTime, double& availableTime) +
flush all the cached vertex buffer objects which need to be deleted +in the OpenGL context related to contextID +

- -

oenum AttributeType + +
otypedef unsigned int AttributeType +

+ + +

oenum AttributeTypes

- +
o VERTICES

+ + +

o WEIGHTS +

- +

o NORMALS

- +

o COLORS

+ + +

o SECONDARY_COLORS +

+ + +

o FOG_COORDS +

+ + +

o ATTIBUTE_6 +

+ + +

o ATTIBUTE_7 +

- +

o TEXTURE_COORDS

- +

o TEXTURE_COORDS_0

- +

o TEXTURE_COORDS_1

- +

o TEXTURE_COORDS_2

- +

o TEXTURE_COORDS_3

- +

o TEXTURE_COORDS_4

- +

o TEXTURE_COORDS_5

- +

o TEXTURE_COORDS_6

- +

o TEXTURE_COORDS_7

- +
ovirtual bool supports(AttributeFunctor&) const
return true if the Drawable subclass supports accept(AttributeFunctor&)

- +

ovirtual void accept(AttributeFunctor&)
accept an AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has. return true if functor handled by drawable, return false on failure of drawable to generate functor calls.

- +

ovirtual bool supports(ConstAttributeFunctor&) const
return true if the Drawable subclass supports accept(ConstAttributeFunctor&)

- +

ovirtual void accept(ConstAttributeFunctor&) const
accept an AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has. return true if functor handled by drawable, return false on failure of drawable to generate functor calls.

- +

ovirtual bool supports(PrimitiveFunctor&) const
return true if the Drawable subclass supports accept(PrimitiveFunctor&)

- +

ovirtual void accept(PrimitiveFunctor&) const
accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has. return true if functor handled by drawable, return false on failure of drawable to generate functor calls. Note, PrimtiveFunctor only provide const access of the primtives, as primitives may be procedurally generated so one cannot modify it.

+ + +

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 +and the 'createIfNotInitalized' flag been set to false then returns NULL. +If 'createIfNotInitalized' is true then the Extensions object is +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. +

- +

oDrawable& operator = (const Drawable&)

- +

ovirtual ~Drawable()

- +

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

- +

ovoid setBound(const BoundingBox& bb) const
set the bounding box

- +

ovoid addParent(osg::Node* node)

- +

ovoid removeParent(osg::Node* node)

- -

oParentList _parents + +
oParentList _parents

- +

oref_ptr<StateSet> _stateset

- +

omutable BoundingBox _bbox

- +

omutable bool _bbox_computed

- +

oref_ptr<Shape> _shape

- +

obool _supportsDisplayList

- +

obool _useDisplayList

+ + +

obool _supportsVertexBufferObjects +

+ + +

obool _useVertexBufferObjects +

- +

otypedef osg::buffered_value<GLuint> GLObjectList

- -

omutable GLObjectList _globjList + +
omutable GLObjectList _globjList +

+ + +

omutable GLObjectList _vboList

- -

oref_ptr<UpdateCallback> _updateCallback + +
oref_ptr<UpdateCallback> _updateCallback

- -

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

- -

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

- +

oinline void draw(State& state) const
draw OpenGL primitives. If the drawable has _useDisplayList set to true then use an OpenGL display @@ -774,7 +840,6 @@ manages the optional display list.
ShapeDrawable
ImpostorSprite
Geometry
-GeoSet
DrawPixels
diff --git a/doc/doc++/osg/Endian.html b/doc/doc++/osg/Endian.html index 6ddfaf385..f35b4529c 100644 --- a/doc/doc++/osg/Endian.html +++ b/doc/doc++/osg/Endian.html @@ -11,9 +11,9 @@

-[more] BigEndian +[more] BigEndian
-[more] LittleEndian +[more] LittleEndian

@@ -23,11 +23,11 @@
- +
o BigEndian

- +

o LittleEndian

Alphabetic index HTML hierarchy of classes or Java


diff --git a/doc/doc++/osg/Extensions.2.html b/doc/doc++/osg/Extensions.2.html index 8e34789f5..666e552e2 100644 --- a/doc/doc++/osg/Extensions.2.html +++ b/doc/doc++/osg/Extensions.2.html @@ -2,7 +2,7 @@ - class SG_EXPORT osg::Texture3D::Extensions + class SG_EXPORT osg::FragmentProgram::Extensions @@ -23,63 +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 setTexture3DSupported(bool flag) +[more]void setFragmentProgramSupported(bool flag)
-[more]bool isTexture3DSupported() const +[more]bool isFragmentProgramSupported() const
-[more]void setTexture3DFast(bool flag) +[more]void glBindProgram(GLenum target, GLuint id) const
-[more]bool isTexture3DFast() const +[more]void glGenPrograms(GLsizei n, GLuint* programs) const
-[more]void setMaxTexture3DSize(GLint maxsize) +[more]void glDeletePrograms(GLsizei n, GLuint* programs) const
-[more]GLint maxTexture3DSize() const +[more]void glProgramString(GLenum target, GLenum format, GLsizei len, const void* string) const
-[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 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 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 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 glProgramLocalParameter4fv(GLenum target, GLuint index, const GLfloat* params) const

Protected Fields

-[more]bool _isTexture3DSupported +[more]bool _isFragmentProgramSupported
-[more]bool _isTexture3DFast +[more]void* _glBindProgram
-[more]GLint _maxTexture3DSize +[more]void* _glGenPrograms
-[more]void* _glTexImage3D +[more]void* _glDeletePrograms
-[more]void* _glTexSubImage3D +[more]void* _glProgramString
-[more]void* _glCopyTexSubImage3D -
-[more]void* _gluBuild3DMipmaps +[more]void* _glProgramLocalParameter4fv

Protected Methods

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

@@ -118,108 +102,76 @@ 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) + + +
ovoid setFragmentProgramSupported(bool flag)

- - -

obool isTexture3DSupported() const + + +
obool isFragmentProgramSupported() const

- - -

ovoid setTexture3DFast(bool flag) + + +
ovoid glBindProgram(GLenum target, GLuint id) const

- - -

obool isTexture3DFast() const + + +
ovoid glGenPrograms(GLsizei n, GLuint* programs) const

- - -

ovoid setMaxTexture3DSize(GLint maxsize) + + +
ovoid glDeletePrograms(GLsizei n, GLuint* programs) const

- - -

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

- - -

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 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 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 setBuild3DMipmapsProc(void* ptr) -

- - -

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

- +

o ~Extensions()

- - -

obool _isTexture3DSupported + + +
obool _isFragmentProgramSupported

- - -

obool _isTexture3DFast + + +
ovoid* _glBindProgram

- - -

oGLint _maxTexture3DSize + + +
ovoid* _glGenPrograms

- - -

ovoid* _glTexImage3D + + +
ovoid* _glDeletePrograms

- - -

ovoid* _glTexSubImage3D + + +
ovoid* _glProgramString

- - -

ovoid* _glCopyTexSubImage3D -

- - -

ovoid* _gluBuild3DMipmaps + + +
ovoid* _glProgramLocalParameter4fv


This class has no child classes.
diff --git a/doc/doc++/osg/Extensions.3.html b/doc/doc++/osg/Extensions.3.html index 9ee7d52fe..ba90b6163 100644 --- a/doc/doc++/osg/Extensions.3.html +++ b/doc/doc++/osg/Extensions.3.html @@ -2,7 +2,7 @@ - class SG_EXPORT osg::TextureCubeMap::Extensions + class SG_EXPORT osg::Texture::Extensions @@ -23,27 +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 setCubeMapSupported(bool flag) +[more]void setMultiTexturingSupported(bool flag)
-[more]bool isCubeMapSupported() const +[more]bool isMultiTexturingSupported() const +
+[more]void setTextureFilterAnisotropicSupported(bool flag) +
+[more]bool isTextureFilterAnisotropicSupported() const +
+[more]void setTextureCompressionARBSupported(bool flag) +
+[more]bool isTextureCompressionARBSupported() const +
+[more]void setTextureCompressionS3TCSupported(bool flag) +
+[more]bool isTextureCompressionS3TCSupported() const +
+[more]void setTextureMirroredRepeatSupported(bool flag) +
+[more]bool isTextureMirroredRepeatSupported() const +
+[more]void setTextureEdgeClampSupported(bool flag) +
+[more]bool isTextureEdgeClampSupported() const +
+[more]void setTextureBorderClampSupported(bool flag) +
+[more]bool isTextureBorderClampSupported() const +
+[more]void setGenerateMipMapSupported(bool flag) +
+[more]bool isGenerateMipMapSupported() const +
+[more]void setMaxTextureSize(GLint maxsize) +
+[more]GLint maxTextureSize() const +
+[more]bool isCompressedTexImage2DSupported() const +
+[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 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 setGetCompressedTexImageProc(void* ptr) +
+[more]void glGetCompressedTexImage(GLenum target, GLint level, GLvoid* data) const

Protected Fields

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

Protected Methods

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

@@ -82,36 +150,172 @@ 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) + + +
ovoid setMultiTexturingSupported(bool flag)

- - -

obool isCubeMapSupported() const + + +
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 glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data) const +

+ + +

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 setGetCompressedTexImageProc(void* ptr) +

+ + +

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

- +

o ~Extensions()

- - -

obool _isCubeMapSupported + + +
obool _isMultiTexturingSupported +

+ + +

obool _isTextureFilterAnisotropicSupported +

+ + +

obool _isTextureCompressionARBSupported +

+ + +

obool _isTextureCompressionS3TCSupported +

+ + +

obool _isTextureMirroredRepeatSupported +

+ + +

obool _isTextureEdgeClampSupported +

+ + +

obool _isTextureBorderClampSupported +

+ + +

obool _isGenerateMipMapSupported +

+ + +

oGLint _maxTextureSize +

+ + +

ovoid* _glCompressedTexImage2D +

+ + +

ovoid* _glCompressedTexSubImage2D +

+ + +

ovoid* _glGetCompressedTexImage


This class has no child classes.
diff --git a/doc/doc++/osg/Extensions.4.html b/doc/doc++/osg/Extensions.4.html index b0d65b8e5..c824db9fd 100644 --- a/doc/doc++/osg/Extensions.4.html +++ b/doc/doc++/osg/Extensions.4.html @@ -2,7 +2,7 @@ - class SG_EXPORT osg::VertexProgram::Extensions + class SG_EXPORT osg::Texture3D::Extensions @@ -23,47 +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 setVertexProgramSupported(bool flag) +[more]void setTexture3DSupported(bool flag)
-[more]bool isVertexProgramSupported() const +[more]bool isTexture3DSupported() const
-[more]void glBindProgram(GLenum target, GLuint id) const +[more]void setTexture3DFast(bool flag)
-[more]void glGenPrograms(GLsizei n, GLuint* programs) const +[more]bool isTexture3DFast() const
-[more]void glDeletePrograms(GLsizei n, GLuint* programs) const +[more]void setMaxTexture3DSize(GLint maxsize)
-[more]void glProgramString(GLenum target, GLenum format, GLsizei len, const void* string) const +[more]GLint maxTexture3DSize() const
-[more]void glProgramLocalParameter4fv(GLenum target, GLuint index, const GLfloat* params) const +[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 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 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 setBuild3DMipmapsProc(void* ptr) +
+[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 _isVertexProgramSupported +[more]bool _isTexture3DSupported
-[more]void* _glBindProgram +[more]bool _isTexture3DFast
-[more]void* _glGenPrograms +[more]GLint _maxTexture3DSize
-[more]void* _glDeletePrograms +[more]void* _glTexImage3D
-[more]void* _glProgramString +[more]void* _glTexSubImage3D
-[more]void* _glProgramLocalParameter4fv +[more]void* _glCopyTexSubImage3D +
+[more]void* _gluBuild3DMipmaps

Protected Methods

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

@@ -102,76 +118,108 @@ 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) + + +
ovoid setTexture3DSupported(bool flag)

- - -

obool isVertexProgramSupported() const + + +
obool isTexture3DSupported() const

- - -

ovoid glBindProgram(GLenum target, GLuint id) const + + +
ovoid setTexture3DFast(bool flag)

- - -

ovoid glGenPrograms(GLsizei n, GLuint* programs) const + + +
obool isTexture3DFast() const

- - -

ovoid glDeletePrograms(GLsizei n, GLuint* programs) const + + +
ovoid setMaxTexture3DSize(GLint maxsize)

- - -

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

- - -

ovoid glProgramLocalParameter4fv(GLenum target, GLuint index, const GLfloat* params) const + + +
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 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 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 setBuild3DMipmapsProc(void* ptr) +

+ + +

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

- +

o ~Extensions()

- - -

obool _isVertexProgramSupported + + +
obool _isTexture3DSupported

- - -

ovoid* _glBindProgram + + +
obool _isTexture3DFast

- - -

ovoid* _glGenPrograms + + +
oGLint _maxTexture3DSize

- - -

ovoid* _glDeletePrograms + + +
ovoid* _glTexImage3D

- - -

ovoid* _glProgramString + + +
ovoid* _glTexSubImage3D

- - -

ovoid* _glProgramLocalParameter4fv + + +
ovoid* _glCopyTexSubImage3D +

+ + +

ovoid* _gluBuild3DMipmaps


This class has no child classes.
diff --git a/doc/doc++/osg/Extensions.5.html b/doc/doc++/osg/Extensions.5.html new file mode 100644 index 000000000..4f14a6c79 --- /dev/null +++ b/doc/doc++/osg/Extensions.5.html @@ -0,0 +1,123 @@ + + + + + class SG_EXPORT osg::TextureCubeMap::Extensions + + + + +

class SG_EXPORT Extensions

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

Inheritance:

+ + + + + + + +
+ +
+

+

Public Methods

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

+ +

+

Protected Fields

+[more]bool _isCubeMapSupported +

+ +

+

Protected Methods

+[more] ~Extensions() +

+ +
+

Inherited from Referenced:

+
+

+

Public Methods

+oinline Referenced& operator = (Referenced&) +
+ostatic void setDeleteHandler(DeleteHandler* handler) +
+ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const +
+oinline void unref_nodelete() const +
+oinline int referenceCount() const +
+oinline void unref() const +

+ +

+

Protected Fields

+omutable int _refCount +

+ +
+ + +
+

Documentation

+
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
+
+ + + +
o Extensions() +

+ + +

o Extensions(const Extensions& rhs) +

+ + +

ovoid lowestCommonDenominator(const Extensions& rhs) +

+ + +

ovoid setupGLExtenions() +

+ + +

ovoid setCubeMapSupported(bool flag) +

+ + +

obool isCubeMapSupported() const +

+ + +

o ~Extensions() +

+ + +

obool _isCubeMapSupported +

+ +
This class has no child classes.
+ +

Alphabetic index HTML hierarchy of classes or Java


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

class SG_EXPORT Extensions

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

Inheritance:

+ + + + + + + +
+ +
+

+

Public Methods

+[more] Extensions() +
+[more] Extensions(const Extensions& rhs) +
+[more]void lowestCommonDenominator(const Extensions& rhs) +
+[more]void setupGLExtenions() +
+[more]void setVertexProgramSupported(bool flag) +
+[more]bool isVertexProgramSupported() const +
+[more]void glBindProgram(GLenum target, GLuint id) const +
+[more]void glGenPrograms(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 glProgramLocalParameter4fv(GLenum target, GLuint index, const GLfloat* params) const +

+ +

+

Protected Fields

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

+ +

+

Protected Methods

+[more] ~Extensions() +

+ +
+

Inherited from Referenced:

+
+

+

Public Methods

+oinline Referenced& operator = (Referenced&) +
+ostatic void setDeleteHandler(DeleteHandler* handler) +
+ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const +
+oinline void unref_nodelete() const +
+oinline int referenceCount() const +
+oinline void unref() const +

+ +

+

Protected Fields

+omutable int _refCount +

+ +
+ + +
+

Documentation

+
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
+
+ + + +
o Extensions() +

+ + +

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 +

+ +
This class has no child classes.
+ +

Alphabetic index HTML hierarchy of classes or Java


+
+This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/Extensions.html b/doc/doc++/osg/Extensions.html index 48d0eefc6..65a8ea163 100644 --- a/doc/doc++/osg/Extensions.html +++ b/doc/doc++/osg/Extensions.html @@ -2,7 +2,7 @@ - class SG_EXPORT osg::Texture::Extensions + class SG_EXPORT osg::Drawable::Extensions @@ -23,95 +23,149 @@

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 setVertexProgramSupported(bool flag)
-[more]bool isMultiTexturingSupported() const +[more]bool isVertexProgramSupported() const
-[more]void setTextureFilterAnisotropicSupported(bool flag) +[more]void setSecondaryColorSupported(bool flag)
-[more]bool isTextureFilterAnisotropicSupported() const +[more]bool isSecondaryColorSupported() const
-[more]void setTextureCompressionARBSupported(bool flag) +[more]void setFogCoordSupported(bool flag)
-[more]bool isTextureCompressionARBSupported() const +[more]bool isFogCoordSupported() const
-[more]void setTextureCompressionS3TCSupported(bool flag) +[more]void setMultiTexSupported(bool flag)
-[more]bool isTextureCompressionS3TCSupported() const +[more]bool isMultiTexSupported() const
-[more]void setTextureMirroredRepeatSupported(bool flag) +[more]void glSecondaryColor3ubv(const GLubyte* coord) const
-[more]bool isTextureMirroredRepeatSupported() const +[more]void glSecondaryColor3fv(const GLfloat* coord) const
-[more]void setTextureEdgeClampSupported(bool flag) +[more]void glFogCoordfv(const GLfloat* coord) const
-[more]bool isTextureEdgeClampSupported() const +[more]void glMultiTexCoord1f(GLenum target, GLfloat coord) const
-[more]void setTextureBorderClampSupported(bool flag) +[more]void glMultiTexCoord2fv(GLenum target, const GLfloat* coord) const
-[more]bool isTextureBorderClampSupported() const +[more]void glMultiTexCoord3fv(GLenum target, const GLfloat* coord) const
-[more]void setGenerateMipMapSupported(bool flag) +[more]void glMultiTexCoord4fv(GLenum target, const GLfloat* coord) const
-[more]bool isGenerateMipMapSupported() const +[more]void glVertexAttrib1s(unsigned int index, GLshort s) const
-[more]void setMaxTextureSize(GLint maxsize) +[more]void glVertexAttrib1f(unsigned int index, GLfloat f) const
-[more]GLint maxTextureSize() const +[more]void glVertexAttrib2fv(unsigned int index, const GLfloat* v) const
-[more]bool isCompressedTexImage2DSupported() const +[more]void glVertexAttrib3fv(unsigned int index, const GLfloat* v) const
-[more]void setCompressedTexImage2DProc(void* ptr) +[more]void glVertexAttrib4fv(unsigned int index, const GLfloat* v) const
-[more]void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data) const +[more]void glVertexAttrib4ubv(unsigned int index, const GLubyte* v) const
-[more]void setCompressedTexSubImage2DProc(void* ptr) +[more]void glVertexAttrib4Nubv(unsigned int index, const GLubyte* v) 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 glGenBuffers(GLsizei n, GLuint* buffers) const
-[more]void setGetCompressedTexImageProc(void* ptr) +[more]void glBindBuffer(GLenum target, GLuint buffer) const
-[more]void glGetCompressedTexImage(GLenum target, GLint level, GLvoid* data) 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 glDeleteBuffers(GLsizei n, const GLuint* buffers) const

Protected Fields

-[more]bool _isMultiTexturingSupported +[more]bool _isVertexProgramSupported
-[more]bool _isTextureFilterAnisotropicSupported +[more]bool _isSecondaryColorSupported
-[more]bool _isTextureCompressionARBSupported +[more]bool _isFogCoordSupported
-[more]bool _isTextureCompressionS3TCSupported +[more]bool _isMultiTexSupported
-[more]bool _isTextureMirroredRepeatSupported +[more]FogCoordProc _glFogCoordfv
-[more]bool _isTextureEdgeClampSupported +[more]SecondaryColor3ubvProc _glSecondaryColor3ubv
-[more]bool _isTextureBorderClampSupported +[more]SecondaryColor3fvProc _glSecondaryColor3fv
-[more]bool _isGenerateMipMapSupported +[more]VertexAttrib1sProc _glVertexAttrib1s
-[more]GLint _maxTextureSize +[more]VertexAttrib1fProc _glVertexAttrib1f
-[more]void* _glCompressedTexImage2D +[more]VertexAttribfvProc _glVertexAttrib2fv
-[more]void* _glCompressedTexSubImage2D +[more]VertexAttribfvProc _glVertexAttrib3fv
-[more]void* _glGetCompressedTexImage +[more]VertexAttribfvProc _glVertexAttrib4fv +
+[more]VertexAttribubvProc _glVertexAttrib4ubv +
+[more]VertexAttribubvProc _glVertexAttrib4Nubv +
+[more]MultiTexCoord1fProc _glMultiTexCoord1f +
+[more]MultiTexCoordfvProc _glMultiTexCoord2fv +
+[more]MultiTexCoordfvProc _glMultiTexCoord3fv +
+[more]MultiTexCoordfvProc _glMultiTexCoord4fv +
+[more]GenBuffersProc _glGenBuffers +
+[more]BindBufferProc _glBindBuffer +
+[more]BufferDataProc _glBufferData +
+[more]BufferSubDataProc _glBufferSubData +
+[more]DeleteBuffersProc _glDeleteBuffers

Protected Methods

-[more] ~Extensions() +[more]typedef void (APIENTRY * FogCoordProc)(const GLfloat* coord) +
+[more]typedef void (APIENTRY * VertexAttrib1sProc)(unsigned int index, GLshort s) +
+[more]typedef void (APIENTRY * VertexAttrib1fProc)(unsigned int index, GLfloat f) +
+[more]typedef void (APIENTRY * VertexAttribfvProc)(unsigned int index, const GLfloat* v) +
+[more]typedef void (APIENTRY * VertexAttribubvProc)(unsigned int index, const GLubyte* v) +
+[more]typedef void (APIENTRY * SecondaryColor3ubvProc)(const GLubyte* coord) +
+[more]typedef void (APIENTRY * SecondaryColor3fvProc)(const GLfloat* coord) +
+[more]typedef void (APIENTRY * MultiTexCoord1fProc)(GLenum target, GLfloat coord) +
+[more]typedef void (APIENTRY * MultiTexCoordfvProc)(GLenum target, const GLfloat* coord) +
+[more]typedef void (APIENTRY * GenBuffersProc)(GLsizei n, GLuint* buffers) +
+[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 * BufferSubDataProc)(GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid* data) +
+[more]typedef void (APIENTRY * DeleteBuffersProc)(GLsizei n, const GLuint* buffers) +
+[more] ~Extensions()

@@ -150,172 +204,280 @@ 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) + + +
ovoid setVertexProgramSupported(bool flag)

- - -

obool isMultiTexturingSupported() const + + +
obool isVertexProgramSupported() const

- - -

ovoid setTextureFilterAnisotropicSupported(bool flag) + + +
ovoid setSecondaryColorSupported(bool flag)

- - -

obool isTextureFilterAnisotropicSupported() const + + +
obool isSecondaryColorSupported() const

- - -

ovoid setTextureCompressionARBSupported(bool flag) + + +
ovoid setFogCoordSupported(bool flag)

- - -

obool isTextureCompressionARBSupported() const + + +
obool isFogCoordSupported() const

- - -

ovoid setTextureCompressionS3TCSupported(bool flag) + + +
ovoid setMultiTexSupported(bool flag)

- - -

obool isTextureCompressionS3TCSupported() const + + +
obool isMultiTexSupported() const

- - -

ovoid setTextureMirroredRepeatSupported(bool flag) + + +
ovoid glSecondaryColor3ubv(const GLubyte* coord) const

- - -

obool isTextureMirroredRepeatSupported() const + + +
ovoid glSecondaryColor3fv(const GLfloat* coord) const

- - -

ovoid setTextureEdgeClampSupported(bool flag) + + +
ovoid glFogCoordfv(const GLfloat* coord) const

- - -

obool isTextureEdgeClampSupported() const + + +
ovoid glMultiTexCoord1f(GLenum target, GLfloat coord) const

- - -

ovoid setTextureBorderClampSupported(bool flag) + + +
ovoid glMultiTexCoord2fv(GLenum target, const GLfloat* coord) const

- - -

obool isTextureBorderClampSupported() const + + +
ovoid glMultiTexCoord3fv(GLenum target, const GLfloat* coord) const

- - -

ovoid setGenerateMipMapSupported(bool flag) + + +
ovoid glMultiTexCoord4fv(GLenum target, const GLfloat* coord) const

- - -

obool isGenerateMipMapSupported() const + + +
ovoid glVertexAttrib1s(unsigned int index, GLshort s) const

- - -

ovoid setMaxTextureSize(GLint maxsize) + + +
ovoid glVertexAttrib1f(unsigned int index, GLfloat f) const

- - -

oGLint maxTextureSize() const + + +
ovoid glVertexAttrib2fv(unsigned int index, const GLfloat* v) const

- - -

obool isCompressedTexImage2DSupported() const + + +
ovoid glVertexAttrib3fv(unsigned int index, const GLfloat* v) const

- - -

ovoid setCompressedTexImage2DProc(void* ptr) + + +
ovoid glVertexAttrib4fv(unsigned int index, const GLfloat* v) const

- - -

ovoid glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data) const + + +
ovoid glVertexAttrib4ubv(unsigned int index, const GLubyte* v) const

- - -

ovoid setCompressedTexSubImage2DProc(void* ptr) + + +
ovoid glVertexAttrib4Nubv(unsigned int index, const GLubyte* v) const

- - -

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

- - -

ovoid setGetCompressedTexImageProc(void* ptr) + + +
ovoid glBindBuffer(GLenum target, GLuint buffer) const

- - -

ovoid glGetCompressedTexImage(GLenum target, GLint level, GLvoid* data) 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 glDeleteBuffers(GLsizei n, const GLuint* buffers) const +

+ + +

otypedef void (APIENTRY * FogCoordProc)(const GLfloat* coord) +

+ + +

otypedef void (APIENTRY * VertexAttrib1sProc)(unsigned int index, GLshort s) +

+ + +

otypedef void (APIENTRY * VertexAttrib1fProc)(unsigned int index, GLfloat f) +

+ + +

otypedef void (APIENTRY * VertexAttribfvProc)(unsigned int index, const GLfloat* v) +

+ + +

otypedef void (APIENTRY * VertexAttribubvProc)(unsigned int index, const GLubyte* v) +

+ + +

otypedef void (APIENTRY * SecondaryColor3ubvProc)(const GLubyte* coord) +

+ + +

otypedef void (APIENTRY * SecondaryColor3fvProc)(const GLfloat* coord) +

+ + +

otypedef void (APIENTRY * MultiTexCoord1fProc)(GLenum target, GLfloat coord) +

+ + +

otypedef void (APIENTRY * MultiTexCoordfvProc)(GLenum target, const GLfloat* coord) +

+ + +

otypedef void (APIENTRY * GenBuffersProc)(GLsizei n, GLuint* buffers) +

+ + +

otypedef void (APIENTRY * BindBufferProc)(GLenum target, GLuint buffer) +

+ + +

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 * DeleteBuffersProc)(GLsizei n, const GLuint* buffers)

- +

o ~Extensions()

- - -

obool _isMultiTexturingSupported + + +
obool _isVertexProgramSupported

- - -

obool _isTextureFilterAnisotropicSupported + + +
obool _isSecondaryColorSupported

- - -

obool _isTextureCompressionARBSupported + + +
obool _isFogCoordSupported

- - -

obool _isTextureCompressionS3TCSupported + + +
obool _isMultiTexSupported

- - -

obool _isTextureMirroredRepeatSupported + + +
oFogCoordProc _glFogCoordfv

- - -

obool _isTextureEdgeClampSupported + + +
oSecondaryColor3ubvProc _glSecondaryColor3ubv

- - -

obool _isTextureBorderClampSupported + + +
oSecondaryColor3fvProc _glSecondaryColor3fv

- - -

obool _isGenerateMipMapSupported + + +
oVertexAttrib1sProc _glVertexAttrib1s

- - -

oGLint _maxTextureSize + + +
oVertexAttrib1fProc _glVertexAttrib1f

- - -

ovoid* _glCompressedTexImage2D + + +
oVertexAttribfvProc _glVertexAttrib2fv

- - -

ovoid* _glCompressedTexSubImage2D + + +
oVertexAttribfvProc _glVertexAttrib3fv

- - -

ovoid* _glGetCompressedTexImage + + +
oVertexAttribfvProc _glVertexAttrib4fv +

+ + +

oVertexAttribubvProc _glVertexAttrib4ubv +

+ + +

oVertexAttribubvProc _glVertexAttrib4Nubv +

+ + +

oMultiTexCoord1fProc _glMultiTexCoord1f +

+ + +

oMultiTexCoordfvProc _glMultiTexCoord2fv +

+ + +

oMultiTexCoordfvProc _glMultiTexCoord3fv +

+ + +

oMultiTexCoordfvProc _glMultiTexCoord4fv +

+ + +

oGenBuffersProc _glGenBuffers +

+ + +

oBindBufferProc _glBindBuffer +

+ + +

oBufferDataProc _glBufferData +

+ + +

oBufferSubDataProc _glBufferSubData +

+ + +

oDeleteBuffersProc _glDeleteBuffers


This class has no child classes.
diff --git a/doc/doc++/osg/Fog.html b/doc/doc++/osg/Fog.html index 0c87b7000..6d7dd0292 100644 --- a/doc/doc++/osg/Fog.html +++ b/doc/doc++/osg/Fog.html @@ -23,70 +23,70 @@

Public Methods

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

Public Members

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

Protected Fields

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

Protected Methods

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

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

@@ -194,137 +194,137 @@
- +
o Fog()

- -

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

- -

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

- +

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

- -

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

- +

oenum Mode

- +
o LINEAR

- +

o EXP

- +

o EXP2

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

- -

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

- +

oinline void setDensity( float density )

- +

oinline float getDensity() const

- -

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

- +

oinline float getStart() const

- -

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

- +

oinline float getEnd() const

- +

oinline void setColor( const Vec4 &color )

- +

oinline const Vec4& getColor() const

- +

oenum FogCoordinateSource

- +
o FOG_COORDINATE

- +

o FRAGMENT_DEPTH

- +
oinline void setFogCoordinateSource(GLint source)

- +

oinline GLint getFogCoordinateSource() const

- +

ovirtual void apply(State& state) const

- +

ovirtual ~Fog()

- -

oMode _mode + +
oMode _mode

- +

ofloat _density

- +

ofloat _start

- +

ofloat _end

- +

oVec4 _color

- +

oGLint _fogCoordinateSource

diff --git a/doc/doc++/osg/FragmentProgram.html b/doc/doc++/osg/FragmentProgram.html new file mode 100644 index 000000000..43b3cebc7 --- /dev/null +++ b/doc/doc++/osg/FragmentProgram.html @@ -0,0 +1,344 @@ + + + + + class SG_EXPORT osg::FragmentProgram + + + + +

class SG_EXPORT osg::FragmentProgram

FragmentProgram - encapsulates the OpenGL ARB fragment program state
+
+ +

Inheritance:

+ + + + + + + +
+ +
+

+

Public Methods

+[more] FragmentProgram() +
+[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]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]inline GLuint& getFragmentProgramID(unsigned int contextID) const +
Get the handle to the fragment program id for the current context +
+[more]inline void setFragmentProgram( const std::string& program ) +
Set the fragment program using C++ style string +
+[more]inline void setFragmentProgram( const char* program ) +
Set the fragment program using a C style string +
+[more]inline const std::string& getFragmentProgram() const +
Get the fragment program +
+[more]inline void setProgramLocalParameter(const GLuint index, const Vec4& p) +
Program Parameters +
+[more]inline void setMatrix(const GLenum mode, const Matrix& matrix) +
Matrix +
+[more]void dirtyFragmentProgramObject() +
Force a recompile on next apply() of associated OpenGL vertex program objects +
+[more]static void deleteFragmentProgramObject(unsigned int contextID, GLuint handle) +
use deleteFragmentProgramObject instead of glDeletePrograms to allow OpenGL Fragment Program objects to cached until they can be deleted by the OpenGL context in which they were created, specified by contextID +
+[more]static void flushDeletedFragmentProgramObjects(unsigned int contextID, double currentTime, double& availableTime) +
flush all the cached fragment programs which need to be deleted in the OpenGL context related to contextID +
+[more]virtual void apply(State& state) const +
+[more]virtual void compile(State& state) const +
+[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) +
setExtensions allows users to override the extensions across graphics contexts. +

+ +

+

Public Members

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

+ +

+

Protected Fields

+[more]mutable FragmentProgramIDList _fragmentProgramIDList +
+[more]std::string _fragmentProgram +
+[more]LocalParamList _programLocalParameters +
+[more]MatrixList _matrixList +

+ +

+

Protected Methods

+[more]virtual ~FragmentProgram() +

+ +

+

Protected Members

+[more]typedef buffered_value<GLuint> FragmentProgramIDList +
+[more]typedef std::map<GLuint,Vec4> LocalParamList +
+[more]typedef std::map<GLenum,Matrix> MatrixList +

+ +
+

Inherited from StateAttribute:

+
+

+

Public Methods

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

+ +

+

Public Members

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

+ +
+

Inherited from Object:

+
+

+

Public Methods

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

+ +

+

Public Members

+oenum DataVariance +

+ +

+

Protected Fields

+oDataVariance _dataVariance +
+oref_ptr<Referenced> _userData +

+ +
+

Inherited from Referenced:

+
+

+

Public Methods

+oinline Referenced& operator = (Referenced&) +
+ostatic void setDeleteHandler(DeleteHandler* handler) +
+ostatic DeleteHandler* getDeleteHandler() +
+oinline void ref() const +
+oinline void unref_nodelete() const +
+oinline int referenceCount() const +
+oinline void unref() const +

+ +

+

Protected Fields

+omutable int _refCount +

+ +
+ + +
+

Documentation

+
FragmentProgram - encapsulates the OpenGL ARB fragment program state
+
+ + + +
o FragmentProgram() +

+ + +

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

+ + +

o META_StateAttribute(osg, FragmentProgram, FRAGMENTPROGRAM) +

+ + +

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 +

+ + +

oinline GLuint& getFragmentProgramID(unsigned int contextID) const +
Get the handle to the fragment program id for the current context +

+ + +

oinline void setFragmentProgram( const std::string& program ) +
Set the fragment program using C++ style string +

+ + +

oinline void setFragmentProgram( const char* program ) +
Set the fragment program using a C style string +

+ + +

oinline const std::string& getFragmentProgram() const +
Get the fragment program +

+ + +

oinline void setProgramLocalParameter(const GLuint index, const Vec4& p) +
Program Parameters +

+ + +

oinline void setMatrix(const GLenum mode, const Matrix& matrix) +
Matrix +

+ + +

ovoid dirtyFragmentProgramObject() +
Force a recompile on next apply() of associated OpenGL vertex program objects +

+ + +

ostatic void deleteFragmentProgramObject(unsigned int contextID, GLuint handle) +
use deleteFragmentProgramObject instead of glDeletePrograms to allow +OpenGL Fragment Program objects to cached until they can be deleted +by the OpenGL context in which they were created, specified +by contextID +

+ + +

ostatic void flushDeletedFragmentProgramObjects(unsigned int contextID, double currentTime, double& availableTime) +
flush all the cached fragment 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 +and the 'createIfNotInitalized' flag been set to false then returns NULL. +If 'createIfNotInitalized' is true then the Extensions object is +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 ~FragmentProgram() +

+ + +

otypedef buffered_value<GLuint> FragmentProgramIDList +

+ + +

omutable FragmentProgramIDList _fragmentProgramIDList +

+ + +

ostd::string _fragmentProgram +

+ + +

otypedef std::map<GLuint,Vec4> LocalParamList +

+ + +

oLocalParamList _programLocalParameters +

+ + +

otypedef std::map<GLenum,Matrix> MatrixList +

+ + +

oMatrixList _matrixList +

+ +
This class has no child classes.
+ +

Alphabetic index HTML hierarchy of classes or Java


+
+This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/FrameStamp.html b/doc/doc++/osg/FrameStamp.html index a68ad5f11..7c1dd1093 100644 --- a/doc/doc++/osg/FrameStamp.html +++ b/doc/doc++/osg/FrameStamp.html @@ -23,50 +23,50 @@

Public Methods

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

Protected Fields

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

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

- -

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

- +

oFrameStamp& operator = (const FrameStamp& fs)

- +

ovoid setFrameNumber(int fnum)

- +

oint getFrameNumber() const

- +

ovoid setReferenceTime(double refTime)

- +

odouble getReferenceTime() const

- +

ovoid setCalendarTime(const tm& calendarTime)

- +

ovoid getCalendarTime(tm& calendarTime) const

- +

ovirtual ~FrameStamp()

- +

oint _frameNumber

- +

odouble _referenceTime

- +

oint tm_sec

- +

oint tm_min

- +

oint tm_hour

- +

oint tm_mday

- +

oint tm_mon

- +

oint tm_year

- +

oint tm_wday

- +

oint tm_yday

- +

oint tm_isdst

diff --git a/doc/doc++/osg/FrontFace.html b/doc/doc++/osg/FrontFace.html index 281e8de75..6e3ad2964 100644 --- a/doc/doc++/osg/FrontFace.html +++ b/doc/doc++/osg/FrontFace.html @@ -23,36 +23,36 @@

Public Methods

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

Public Members

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

Protected Fields

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

Protected Methods

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

@@ -70,7 +70,7 @@
ovirtual const char* className() const
-ovirtual 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 FrontFace()

- -

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

- -

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

- +

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

- +

oenum Mode

- +
o CLOCKWISE

- +

o COUNTER_CLOCKWISE

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

- -

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

- +

ovirtual void apply(State& state) const

- +

ovirtual ~FrontFace()

- -

oMode _mode + +
oMode _mode


This class has no child classes.
diff --git a/doc/doc++/osg/General.html b/doc/doc++/osg/General.html index 7043e1fe5..fdf0b055a 100644 --- a/doc/doc++/osg/General.html +++ b/doc/doc++/osg/General.html @@ -25,6 +25,9 @@ o#define OSG_ARRAY
+o#define +OSG_AUTOTRANSFORM
+ o#define OSG_BILLBOARD
@@ -40,9 +43,6 @@ o#define OSG_BOUNDSCHECKING
-o#define -OSG_CAMERA
- o#define OSG_CLEARNODE
@@ -100,6 +100,9 @@ o#define OSG_EXPORT
+o#define +USE_DEPRECATED_API
+ o#define SG_EXPORT(dllexport)
@@ -127,6 +130,54 @@ o#define GL_FRAGMENT_DEPTH
+o#define +OSG_FRAGMENTPROGRAM
+ +o#define +GL_FRAGMENT_PROGRAM_ARB
+ +o#define +GL_PROGRAM_ALU_INSTRUCTIONS_ARB
+ +o#define +GL_PROGRAM_TEX_INSTRUCTIONS_ARB
+ +o#define +GL_PROGRAM_TEX_INDIRECTIONS_ARB
+ +o#define +GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB
+ +o#define +GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB
+ +o#define +GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB
+ +o#define +GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB
+ +o#define +GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB
+ +o#define +GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB
+ +o#define +GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB
+ +o#define +GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB
+ +o#define +GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB
+ +o#define +GL_MAX_TEXTURE_COORDS_ARB
+ +o#define +GL_MAX_TEXTURE_IMAGE_UNITS_ARB
+ o#define OSG_FRAMESTAMP
@@ -157,9 +208,6 @@ o#define OSG_GLU
-o#define -OSG_GEOSET
- o#define OSG_GEODE
@@ -229,6 +277,9 @@ o#define OSG_OCCLUDERNODE
+o#define +OSG_PagedLOD
+ o#define OSG_PLANE
@@ -286,9 +337,6 @@ o#define OSG_STATESET
-o#define -OSGUTIL_STATISTICS
- o#define OSG_STENCIL
@@ -409,9 +457,6 @@ o#define GL_TEXTURE_COMPRESSION_HINT_ARB
-o#define -GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB
- o#define GL_TEXTURE_COMPRESSED_ARB
@@ -421,6 +466,9 @@ o#define GL_COMPRESSED_TEXTURE_FORMATS_ARB
+o#define +GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB
+ o#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT
diff --git a/doc/doc++/osg/Geode.html b/doc/doc++/osg/Geode.html index a999e6c76..caf6ae65f 100644 --- a/doc/doc++/osg/Geode.html +++ b/doc/doc++/osg/Geode.html @@ -23,62 +23,62 @@

Public Methods

-[more] Geode() +[more] Geode()
-[more] Geode(const Geode&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Geode(const Geode&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_Node(osg, Geode) +[more] META_Node(osg, Geode)
-[more]virtual bool addDrawable( Drawable* drawable ) +[more]virtual bool addDrawable( Drawable* drawable )
Add Drawable to Geode.
-[more]virtual bool removeDrawable( Drawable* drawable ) +[more]virtual bool removeDrawable( Drawable* drawable )
Remove Drawable from Geode.
-[more]virtual bool removeDrawable(unsigned int i, unsigned int numDrawablesToRemove=1) +[more]virtual bool removeDrawable(unsigned int i, unsigned int numDrawablesToRemove=1)
Remove drawable(s) from the specified position in Geode's drawable list
-[more]virtual bool replaceDrawable( Drawable* origDraw, Drawable* newDraw ) +[more]virtual bool replaceDrawable( Drawable* origDraw, Drawable* newDraw )
Replace specified Drawable with another Drawable.
-[more]virtual bool setDrawable( unsigned int i, Drawable* drawable ) +[more]virtual bool setDrawable( unsigned int i, Drawable* drawable )
set drawable at position i.
-[more]inline unsigned int getNumDrawables() const +[more]inline unsigned int getNumDrawables() const
return the number of drawable's
-[more]inline Drawable* getDrawable( unsigned int i ) +[more]inline Drawable* getDrawable( unsigned int i )
return drawable at position i
-[more]inline const Drawable* getDrawable( unsigned int i ) const +[more]inline const Drawable* getDrawable( unsigned int i ) const
return drawable at position i
-[more]inline bool containsDrawable(const Drawable* gset) const +[more]inline bool containsDrawable(const Drawable* gset) const
return true if drawable is contained within Geode
-[more]inline unsigned int getDrawableIndex( const Drawable* node ) const +[more]inline unsigned int getDrawableIndex( const Drawable* node ) const
Get the index number of drawable, return a value between 0 and _drawablessize()-1 if found, if not found then return _drawablessize()
-[more]void compileDrawables(State& state) +[more]void compileDrawables(State& state)
compile OpenGL Display List for each drawable

Public Members

-[more]typedef std::vector< ref_ptr<Drawable> > DrawableList +[more]typedef std::vector< ref_ptr<Drawable> > DrawableList

Protected Fields

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

Protected Methods

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

@@ -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)
@@ -132,12 +132,6 @@
oinline const NodeCallback* getUpdateCallback() const
-ovoid setAppCallback(NodeCallback* nc) -
-oinline NodeCallback* getAppCallback() -
-oinline const NodeCallback* getAppCallback() const -
oinline unsigned int getNumChildrenRequiringUpdateTraversal() const
ovoid setCullCallback(NodeCallback* nc) @@ -158,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
@@ -204,7 +198,7 @@
ostd::string _name
-oParentList _parents +oParentList _parents
oref_ptr<NodeCallback> _updateCallback
@@ -218,9 +212,9 @@
ounsigned int _numChildrenWithOccluderNodes
-oNodeMask _nodeMask +oNodeMask _nodeMask
-oDescriptionList _descriptions +oDescriptionList _descriptions
oref_ptr<StateSet> _stateset

@@ -243,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)
@@ -261,7 +255,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -300,24 +294,24 @@
- +
otypedef std::vector< ref_ptr<Drawable> > DrawableList

- +

o Geode()

- -

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

- +

o META_Node(osg, Geode)

- +

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

- +

ovirtual bool removeDrawable( Drawable* drawable )
Remove Drawable from Geode. Equivalent to setDrawabke(getDrawableIndex(orignChild),node), see docs for setNode for futher details on implementation.

- +

ovirtual bool removeDrawable(unsigned int i, unsigned int numDrawablesToRemove=1)
Remove drawable(s) from the specified position in Geode's drawable list

- +

ovirtual bool replaceDrawable( Drawable* origDraw, Drawable* newDraw )
Replace specified Drawable with another Drawable. Equivalent to setDrawable(getDrawableIndex(orignChild),node), see docs for setDrawable for futher details on implementation.

- +

ovirtual bool setDrawable( unsigned int i, Drawable* drawable )
set drawable at position i. return true if set correctly, false on failure (if node==NULL || i is out of range). @@ -357,48 +351,48 @@ add newGset. If newGset is NULL then return false and do not remove origGset.

- +

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

- +

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

- +

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

- +

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

- +

oinline unsigned int getDrawableIndex( const Drawable* node ) const
Get the index number of drawable, return a value between 0 and _drawablessize()-1 if found, if not found then return _drawablessize()

- +

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

- +

ovirtual ~Geode()

- +

ovirtual bool computeBound() const

- -

oDrawableList _drawables + +
oDrawableList _drawables


Direct child classes: diff --git a/doc/doc++/osg/Geometry.html b/doc/doc++/osg/Geometry.html index 5521530f4..240012423 100644 --- a/doc/doc++/osg/Geometry.html +++ b/doc/doc++/osg/Geometry.html @@ -22,230 +22,310 @@

Public Methods

-[more] Geometry() +[more] Geometry()
-[more] Geometry(const Geometry& geometry, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Geometry(const Geometry& geometry, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more]virtual Object* cloneType() const +[more]virtual Object* cloneType() const
-[more]virtual Object* clone(const CopyOp& copyop) const +[more]virtual Object* clone(const CopyOp& copyop) const
-[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
-[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
-[more]virtual const char* className() const +[more]virtual const char* className() const
-[more]virtual Geometry* asGeometry() +[more]virtual Geometry* asGeometry()
-[more]virtual const Geometry* asGeometry() const +[more]virtual const Geometry* asGeometry() const
-[more]void setVertexArray(Vec3Array* array) +[more]void setVertexArray(Array* array)
-[more]Vec3Array* getVertexArray() +[more]Array* getVertexArray()
-[more]const Vec3Array* getVertexArray() const +[more]const Array* getVertexArray() const
-[more]void setVertexIndices(IndexArray* array) +[more]void setVertexIndices(IndexArray* array)
-[more]IndexArray* getVertexIndices() +[more]IndexArray* getVertexIndices()
-[more]const IndexArray* getVertexIndices() const +[more]const IndexArray* getVertexIndices() const
-[more]void setNormalBinding(AttributeBinding ab) +[more]void setNormalBinding(AttributeBinding ab)
-[more]AttributeBinding getNormalBinding() const +[more]AttributeBinding getNormalBinding() const
-[more]void setNormalArray(Vec3Array* array) +[more]void setNormalArray(Vec3Array* array)
-[more]Vec3Array* getNormalArray() +[more]Vec3Array* getNormalArray()
-[more]const Vec3Array* getNormalArray() const +[more]const Vec3Array* getNormalArray() const
-[more]void setNormalIndices(IndexArray* array) +[more]void setNormalIndices(IndexArray* array)
-[more]IndexArray* getNormalIndices() +[more]IndexArray* getNormalIndices()
-[more]const IndexArray* getNormalIndices() const +[more]const IndexArray* getNormalIndices() const
-[more]void setColorBinding(AttributeBinding ab) +[more]void setColorBinding(AttributeBinding ab)
-[more]AttributeBinding getColorBinding() const +[more]AttributeBinding getColorBinding() const
-[more]void setColorArray(Array* array) +[more]void setColorArray(Array* array)
-[more]Array* getColorArray() +[more]Array* getColorArray()
-[more]const Array* getColorArray() const +[more]const Array* getColorArray() const
-[more]void setColorIndices(IndexArray* array) +[more]void setColorIndices(IndexArray* array)
-[more]IndexArray* getColorIndices() +[more]IndexArray* getColorIndices()
-[more]const IndexArray* getColorIndices() const +[more]const IndexArray* getColorIndices() const
-[more]void setSecondaryColorBinding(AttributeBinding ab) +[more]void setSecondaryColorBinding(AttributeBinding ab)
-[more]AttributeBinding getSecondaryColorBinding() const +[more]AttributeBinding getSecondaryColorBinding() const
-[more]void setSecondaryColorArray(Array* array) +[more]void setSecondaryColorArray(Array* array)
-[more]Array* getSecondaryColorArray() +[more]Array* getSecondaryColorArray()
-[more]const Array* getSecondaryColorArray() const +[more]const Array* getSecondaryColorArray() const
-[more]void setSecondaryColorIndices(IndexArray* array) +[more]void setSecondaryColorIndices(IndexArray* array)
-[more]IndexArray* getSecondaryColorIndices() +[more]IndexArray* getSecondaryColorIndices()
-[more]const IndexArray* getSecondaryColorIndices() const +[more]const IndexArray* getSecondaryColorIndices() const
-[more]void setFogCoordBinding(AttributeBinding ab) +[more]void setFogCoordBinding(AttributeBinding ab)
-[more]AttributeBinding getFogCoordBinding() const +[more]AttributeBinding getFogCoordBinding() const
-[more]void setFogCoordArray(Array* array) +[more]void setFogCoordArray(Array* array)
-[more]Array* getFogCoordArray() +[more]Array* getFogCoordArray()
-[more]const Array* getFogCoordArray() const +[more]const Array* getFogCoordArray() const
-[more]void setFogCoordIndices(IndexArray* array) +[more]void setFogCoordIndices(IndexArray* array)
-[more]IndexArray* getFogCoordIndices() +[more]IndexArray* getFogCoordIndices()
-[more]const IndexArray* getFogCoordIndices() const +[more]const IndexArray* getFogCoordIndices() const
-[more]void setTexCoordArray(unsigned int unit, Array*) +[more]void setTexCoordArray(unsigned int unit, Array*)
-[more]Array* getTexCoordArray(unsigned int unit) +[more]Array* getTexCoordArray(unsigned int unit)
-[more]const Array* getTexCoordArray(unsigned int unit) const +[more]const Array* getTexCoordArray(unsigned int unit) const
-[more]void setTexCoordIndices(unsigned int unit, IndexArray*) +[more]void setTexCoordIndices(unsigned int unit, IndexArray*)
-[more]IndexArray* getTexCoordIndices(unsigned int unit) +[more]IndexArray* getTexCoordIndices(unsigned int unit)
-[more]const IndexArray* getTexCoordIndices(unsigned int unit) const +[more]const IndexArray* getTexCoordIndices(unsigned int unit) const
-[more]unsigned int getNumTexCoordArrays() const +[more]unsigned int getNumTexCoordArrays() const
-[more]TexCoordArrayList& getTexCoordArrayList() +[more]TexCoordArrayList& getTexCoordArrayList()
-[more]const TexCoordArrayList& getTexCoordArrayList() const +[more]const TexCoordArrayList& getTexCoordArrayList() const
-[more]void setPrimitiveSetList(const PrimitiveSetList& primitives) +[more]void setArray(AttributeType type, Array* array)
-[more]PrimitiveSetList& getPrimitiveSetList() +[more]Array* getArray(AttributeType type)
-[more]const PrimitiveSetList& getPrimitiveSetList() const +[more]const Array* getArray(AttributeType type) const
-[more]unsigned int getNumPrimitiveSets() const +[more]void setIndices(AttributeType type, IndexArray* indices)
-[more]PrimitiveSet* getPrimitiveSet(unsigned int pos) +[more]IndexArray* getIndices(AttributeType type)
-[more]const PrimitiveSet* getPrimitiveSet(unsigned int pos) const +[more]const IndexArray* getIndices(AttributeType type) const
-[more]bool addPrimitiveSet(PrimitiveSet* primitiveset) +[more]void setNormalize(AttributeType type, GLboolean normalize) +
+[more]GLboolean getNormalize(AttributeType type) const +
+[more]void setBinding(AttributeType type, AttributeBinding binding) +
+[more]AttributeBinding getBinding(AttributeType type) const +
+[more]unsigned int getNumArrays() const +
+[more]AttributeData& getAttributeData(unsigned int type) +
+[more]const AttributeData& getAttributeData(unsigned int type) const +
+[more]void setAttributeList(AttributeList& al) +
+[more]AttributeList& getAttributeList() +
+[more]const AttributeList& getAttributeList() const +
+[more]void setVertexAttribArray(unsigned int index, bool normalize, Array* array, AttributeBinding ab=BIND_OFF) +
+[more]Array* getVertexAttribArray(unsigned int index) +
+[more]const Array* getVertexAttribArray(unsigned int index) const +
+[more]bool getVertexAttribNormalize(unsigned int index, GLboolean &ret) const +
+[more]bool getVertexAttribBinding(unsigned int index, AttributeBinding& ab) const +
+[more]void setVertexAttribIndices(unsigned int index, IndexArray* array) +
+[more]IndexArray* getVertexAttribIndices(unsigned int index) +
+[more]const IndexArray* getVertexAttribIndices(unsigned int index) const +
+[more]unsigned int getNumVertexAttribArrays() const +
+[more]VertexAttribArrayList& getVertexAttribArrayList() +
+[more]const VertexAttribArrayList& getVertexAttribArrayList() const +
+[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 geometry
-[more]bool setPrimitiveSet(unsigned int i, PrimitiveSet* primitiveset) +[more]bool setPrimitiveSet(unsigned int i, PrimitiveSet* primitiveset)
Set a primitive set to the specified position in geometry's primitive set list
-[more]bool insertPrimitiveSet(unsigned int i, PrimitiveSet* primitiveset) +[more]bool insertPrimitiveSet(unsigned int i, PrimitiveSet* primitiveset)
Insert a primitive set to the specified position in geometry's primitive set list
-[more]bool removePrimitiveSet(unsigned int i, unsigned int numElementsToRemove=1) +[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]unsigned int getPrimitiveSetIndex(const PrimitiveSet* primitiveset) const +[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]bool areFastPathsUsed() const +[more]inline bool areFastPathsUsed() const
return true if OpenGL fast paths will be used with drawing this Geometry.
-[more]bool verifyBindings() const +[more]bool computeFastPathsUsed()
-[more]void computeCorrectBindingsAndArraySizes() +[more]bool verifyBindings() const
-[more]virtual void drawImplementation(State& state) const +[more]void computeCorrectBindingsAndArraySizes() +
+[more]virtual void drawImplementation(State& state) const
draw Geometry directly ignoring an OpenGL display list which could be attached.
-[more]virtual bool supports(AttributeFunctor&) const +[more]virtual bool supports(AttributeFunctor&) const
return true, osg::Geometry does support accept(AttributeFunctor&)
-[more]virtual void accept(AttributeFunctor& af) +[more]virtual void accept(AttributeFunctor& af)
accept an AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has
-[more]virtual bool supports(ConstAttributeFunctor&) const +[more]virtual bool supports(ConstAttributeFunctor&) const
return true, osg::Geometry 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::Geometry does support accept(PrimitiveFunctor&)
-[more]virtual void accept(PrimitiveFunctor& pf) 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

Public Members

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

Protected Fields

-[more]PrimitiveSetList _primitives +[more]PrimitiveSetList _primitives
-[more]ref_ptr<Vec3Array> _vertexArray +[more]AttributeList _attributeList
-[more]ref_ptr<IndexArray> _vertexIndices +[more]ref_ptr<Array> _vertexArray
-[more]mutable AttributeBinding _normalBinding +[more]ref_ptr<IndexArray> _vertexIndices
-[more]ref_ptr<Vec3Array> _normalArray +[more]mutable unsigned int _vertexOffset
-[more]ref_ptr<IndexArray> _normalIndices +[more]mutable AttributeBinding _normalBinding
-[more]mutable AttributeBinding _colorBinding +[more]ref_ptr<Vec3Array> _normalArray
-[more]ref_ptr<Array> _colorArray +[more]ref_ptr<IndexArray> _normalIndices
-[more]ref_ptr<IndexArray> _colorIndices +[more]mutable unsigned int _normalOffset
-[more]mutable AttributeBinding _secondaryColorBinding +[more]mutable AttributeBinding _colorBinding
-[more]ref_ptr<Array> _secondaryColorArray +[more]ref_ptr<Array> _colorArray
-[more]ref_ptr<IndexArray> _secondaryColorIndices +[more]ref_ptr<IndexArray> _colorIndices
-[more]mutable AttributeBinding _fogCoordBinding +[more]mutable unsigned int _colorOffset
-[more]ref_ptr<Array> _fogCoordArray +[more]mutable AttributeBinding _secondaryColorBinding
-[more]ref_ptr<IndexArray> _fogCoordIndices +[more]ref_ptr<Array> _secondaryColorArray
-[more]TexCoordArrayList _texCoordList +[more]ref_ptr<IndexArray> _secondaryColorIndices
-[more]mutable bool _fastPathComputed +[more]mutable unsigned int _secondaryColorOffset
-[more]mutable bool _fastPath +[more]mutable AttributeBinding _fogCoordBinding +
+[more]ref_ptr<Array> _fogCoordArray +
+[more]ref_ptr<IndexArray> _fogCoordIndices +
+[more]mutable unsigned int _fogCoordOffset +
+[more]TexCoordArrayList _texCoordList +
+[more]VertexAttribArrayList _vertexAttribList +
+[more]mutable VertexAttribBindingList _vertexAttribBindingList +
+[more]mutable bool _fastPath

Protected Methods

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

@@ -253,9 +333,9 @@

Public Methods

-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
-oinline ParentList getParents() +oinline ParentList getParents()
oinline Node* getParent(unsigned int i)
@@ -289,35 +369,41 @@
oinline bool getUseDisplayList() const
+ovoid setUseVertexBufferObjects(bool flag) +
+oinline bool getUseVertexBufferObjects() const +
ovoid dirtyDisplayList()
ovirtual void compile(State& state) const
-ovoid setUpdateCallback(UpdateCallback* ac) +ovoid setUpdateCallback(UpdateCallback* ac)
-oUpdateCallback* getUpdateCallback() +oUpdateCallback* getUpdateCallback()
-ovoid setAppCallback(AppCallback* ac) +ovoid setCullCallback(CullCallback* cc)
-oAppCallback* getAppCallback() +oCullCallback* getCullCallback()
-oconst AppCallback* getAppCallback() const +oconst CullCallback* getCullCallback() const
-ovoid setCullCallback(CullCallback* cc) +ovoid setDrawCallback(DrawCallback* dc)
-oCullCallback* getCullCallback() +oDrawCallback* getDrawCallback()
-oconst CullCallback* getCullCallback() const -
-ovoid setDrawCallback(DrawCallback* dc) -
-oDrawCallback* getDrawCallback() -
-oconst DrawCallback* getDrawCallback() const +oconst DrawCallback* getDrawCallback() const
ostatic void deleteDisplayList(unsigned int contextID, GLuint globj)
-ostatic void flushDeletedDisplayLists(unsigned int contextID) +ostatic void flushDeletedDisplayLists(unsigned int contextID, double currentTime, double& availableTime) +
+ostatic void deleteVertexBufferObject(unsigned int contextID, GLuint globj) +
+ostatic void flushDeletedVertexBufferObjects(unsigned int contextID, double currentTime, double& availableTime) +
+ostatic Extensions* getExtensions(unsigned int contextID, bool createIfNotInitalized) +
+ostatic void setExtensions(unsigned int contextID, Extensions* extensions)
oinline void draw(State& state) const

@@ -328,24 +414,27 @@
ostruct UpdateCallback: public virtual osg::Referenced
-ostruct AppCallback: public UpdateCallback -
ostruct CullCallback: public virtual osg::Referenced
ostruct DrawCallback: public virtual osg::Referenced
-oenum AttributeType +otypedef unsigned int AttributeType +
+oenum AttributeTypes
class AttributeFunctor
class ConstAttributeFunctor
class PrimitiveFunctor +
+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

Protected Fields

-oParentList _parents +oParentList _parents
oref_ptr<StateSet> _stateset
@@ -359,13 +448,19 @@ class PrimitiveFunctor
obool _useDisplayList
-omutable GLObjectList _globjList +obool _supportsVertexBufferObjects
-oref_ptr<UpdateCallback> _updateCallback +obool _useVertexBufferObjects
-oref_ptr<DrawCallback> _drawCallback +omutable GLObjectList _globjList
-oref_ptr<CullCallback> _cullCallback +omutable GLObjectList _vboList +
+oref_ptr<UpdateCallback> _updateCallback +
+oref_ptr<DrawCallback> _drawCallback +
+oref_ptr<CullCallback> _cullCallback

@@ -389,9 +484,9 @@ class PrimitiveFunctor

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)
@@ -407,7 +502,7 @@ class PrimitiveFunctor

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -443,450 +538,662 @@ class PrimitiveFunctor
- +
o Geometry()

- -

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

- +

ovirtual Object* cloneType() const

- +

ovirtual Object* clone(const CopyOp& copyop) const

- +

ovirtual bool isSameKindAs(const Object* obj) const

- +

ovirtual const char* libraryName() const

- +

ovirtual const char* className() const

- +

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 +

+ + + +
o AttributeData() +

+ + +

oref_ptr<T> _array +

+ + +

oref_ptr<IndexArray> _indices +

+ + +

oAttributeBinding _binding +

+ + +

oGLboolean _normalize +

+ + +

ounsigned int _offset +

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

- -

oVec3Array* getVertexArray() + +
oArray* getVertexArray()

- -

oconst Vec3Array* getVertexArray() const + +
oconst Array* getVertexArray() const

- +

ovoid setVertexIndices(IndexArray* array)

- +

oIndexArray* getVertexIndices()

- +

oconst IndexArray* getVertexIndices() const

- -

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

- -

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

- +

ovoid setNormalArray(Vec3Array* array)

- +

oVec3Array* getNormalArray()

- +

oconst Vec3Array* getNormalArray() const

- +

ovoid setNormalIndices(IndexArray* array)

- +

oIndexArray* getNormalIndices()

- +

oconst IndexArray* getNormalIndices() const

- -

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

- -

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

- +

ovoid setColorArray(Array* array)

- +

oArray* getColorArray()

- +

oconst Array* getColorArray() const

- +

ovoid setColorIndices(IndexArray* array)

- +

oIndexArray* getColorIndices()

- +

oconst IndexArray* getColorIndices() const

- -

ovoid setSecondaryColorBinding(AttributeBinding ab) + +
ovoid setSecondaryColorBinding(AttributeBinding ab)

- -

oAttributeBinding getSecondaryColorBinding() const + +
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) + +
ovoid setFogCoordBinding(AttributeBinding ab)

- -

oAttributeBinding getFogCoordBinding() const + +
oAttributeBinding getFogCoordBinding() const

- +

ovoid setFogCoordArray(Array* array)

- +

oArray* getFogCoordArray()

- +

oconst Array* getFogCoordArray() const

- +

ovoid setFogCoordIndices(IndexArray* array)

- +

oIndexArray* getFogCoordIndices()

- +

oconst IndexArray* getFogCoordIndices() const

- - -

otypedef std::pair< ref_ptr<Array>, ref_ptr<IndexArray> > TexCoordArrayPair + + +
ostruct ArrayPair +

+ + + +
o ArrayPair()

+ + +

o ArrayPair(const ArrayPair& rhs) +

+ + +

oArrayPair& operator = (const ArrayPair& rhs) +

+ + +

oref_ptr<Array> first +

+ + +

oref_ptr<IndexArray> second +

+ + +

omutable unsigned int offset +

+ - -
otypedef std::vector< TexCoordArrayPair > TexCoordArrayList + +
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

- -

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

- -

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

+ + +

ovoid setArray(AttributeType type, Array* array) +

+ + +

oArray* getArray(AttributeType type) +

+ + +

oconst Array* getArray(AttributeType type) const +

+ + +

ovoid setIndices(AttributeType type, IndexArray* indices) +

+ + +

oIndexArray* getIndices(AttributeType type) +

+ + +

oconst IndexArray* getIndices(AttributeType type) const +

+ + +

ovoid setNormalize(AttributeType type, GLboolean normalize) +

+ + +

oGLboolean getNormalize(AttributeType type) const +

+ + +

ovoid setBinding(AttributeType type, AttributeBinding binding) +

+ + +

oAttributeBinding getBinding(AttributeType type) const +

+ + +

ounsigned int getNumArrays() const +

+ + +

oAttributeData& getAttributeData(unsigned int type) +

+ + +

oconst AttributeData& getAttributeData(unsigned int type) const +

+ + +

otypedef std::vector<AttributeData> AttributeList +

+ + +

ovoid setAttributeList(AttributeList& al) +

+ + +

oAttributeList& getAttributeList() +

+ + +

oconst AttributeList& getAttributeList() const +

+ + +

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

+ + +

otypedef std::vector< VertexAttribNormArrayPair > VertexAttribArrayList +

+ + +

otypedef std::vector< AttributeBinding > VertexAttribBindingList +

+ + +

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

+ + +

oArray* getVertexAttribArray(unsigned int index) +

+ + +

oconst Array* getVertexAttribArray(unsigned int index) const +

+ + +

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

+ + +

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

+ + +

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

+ + +

oIndexArray* getVertexAttribIndices(unsigned int index) +

+ + +

oconst IndexArray* getVertexAttribIndices(unsigned int index) const +

+ + +

ounsigned int getNumVertexAttribArrays() const +

+ + +

oVertexAttribArrayList& getVertexAttribArrayList() +

+ + +

oconst VertexAttribArrayList& 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

- +

obool setPrimitiveSet(unsigned int i, PrimitiveSet* primitiveset)
Set 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

- +

obool removePrimitiveSet(unsigned int i, unsigned int numElementsToRemove=1)
Remove 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()) as

- -

obool areFastPathsUsed() const + +
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.

+ + +

obool computeFastPathsUsed() +

- +

obool verifyBindings() const

- +

ovoid computeCorrectBindingsAndArraySizes()

- +

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.

- +

ovirtual bool supports(AttributeFunctor&) const
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

- +

ovirtual bool supports(ConstAttributeFunctor&) const
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

- +

ovirtual bool supports(PrimitiveFunctor&) const
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

- +

oGeometry& operator = (const Geometry&)

- +

ovirtual ~Geometry()

- -

oPrimitiveSetList _primitives + +
oPrimitiveSetList _primitives +

+ + +

oAttributeList _attributeList

- -

oref_ptr<Vec3Array> _vertexArray + +
oref_ptr<Array> _vertexArray

- +

oref_ptr<IndexArray> _vertexIndices

+ + +

omutable unsigned int _vertexOffset +

- -

omutable AttributeBinding _normalBinding + +
omutable AttributeBinding _normalBinding

- +

oref_ptr<Vec3Array> _normalArray

- +

oref_ptr<IndexArray> _normalIndices

+ + +

omutable unsigned int _normalOffset +

- -

omutable AttributeBinding _colorBinding + +
omutable AttributeBinding _colorBinding

- +

oref_ptr<Array> _colorArray

- +

oref_ptr<IndexArray> _colorIndices

+ + +

omutable unsigned int _colorOffset +

- -

omutable AttributeBinding _secondaryColorBinding + +
omutable AttributeBinding _secondaryColorBinding

- +

oref_ptr<Array> _secondaryColorArray

- +

oref_ptr<IndexArray> _secondaryColorIndices

+ + +

omutable unsigned int _secondaryColorOffset +

- -

omutable AttributeBinding _fogCoordBinding + +
omutable AttributeBinding _fogCoordBinding

- +

oref_ptr<Array> _fogCoordArray

- +

oref_ptr<IndexArray> _fogCoordIndices

- - -

oTexCoordArrayList _texCoordList + + +
omutable unsigned int _fogCoordOffset

- - -

omutable bool _fastPathComputed + + +
oTexCoordArrayList _texCoordList +

+ + +

oVertexAttribArrayList _vertexAttribList +

+ + +

omutable VertexAttribBindingList _vertexAttribBindingList

- +

omutable bool _fastPath

diff --git a/doc/doc++/osg/Grid.html b/doc/doc++/osg/Grid.html index e46e1d08c..cb605afa5 100644 --- a/doc/doc++/osg/Grid.html +++ b/doc/doc++/osg/Grid.html @@ -22,30 +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)(unsigned int numColumns, unsigned int numRows) +[more] META_Shape(osg, Grid)
-[more]void setHeight(unsigned int c, unsigned int r, float value) +[more]void allocateGrid(unsigned int numColumns, unsigned int numRows)
-[more]virtual float getHeight(unsigned int c, unsigned int r) const +[more]void setHeight(unsigned int c, unsigned int r, float value) +
+[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

@@ -79,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)
@@ -120,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)
@@ -138,7 +140,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -176,36 +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)

- - -

oMETA_Shape (osg, Grid)(unsigned int numColumns, unsigned int numRows) + + +
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 c3d9a31fd..a91ecb349 100644 --- a/doc/doc++/osg/Group.html +++ b/doc/doc++/osg/Group.html @@ -23,64 +23,62 @@

Public Methods

-[more] Group() +[more] Group()
-[more] Group(const Group&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Group(const Group&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_Node(osg, Group) +[more] META_Node(osg, Group)
-[more]virtual Group* asGroup() +[more]virtual Group* asGroup()
-[more]virtual const Group* asGroup() const +[more]virtual const Group* asGroup() const
-[more]virtual void traverse(NodeVisitor& nv) +[more]virtual void traverse(NodeVisitor& nv)
-[more]virtual bool addChild( Node* child ) +[more]virtual bool addChild( Node* child )
Add Node to Group.
-[more]virtual bool removeChild( Node* child ) +[more]virtual bool insertChild( unsigned int index, Node* child ) +
Insert Node to Group at specific location. +
+[more]virtual bool removeChild( Node* child )
Remove Node from Group.
-[more]virtual bool removeChild(unsigned int pos, unsigned int numChildrenToRemove=1) +[more]virtual bool removeChild(unsigned int pos, unsigned int numChildrenToRemove=1)
-[more]virtual bool replaceChild( Node* origChild, Node* newChild ) +[more]virtual bool replaceChild( Node* origChild, Node* newChild )
Replace specified Node with another Node.
-[more]inline unsigned int getNumChildren() const +[more]inline unsigned int getNumChildren() const
return the number of chilren nodes
-[more]virtual bool setChild( unsigned int i, Node* node ) +[more]virtual bool setChild( unsigned int i, Node* node )
set child node at position i.
-[more]inline Node* getChild( unsigned int i ) +[more]inline Node* getChild( unsigned int i )
return child node at position i
-[more]inline const Node* getChild( unsigned int i ) const +[more]inline const Node* getChild( unsigned int i ) const
return child node at position i
-[more]inline bool containsNode( const Node* node ) const +[more]inline bool containsNode( const Node* node ) const
return true if node is contained within Group
-[more]inline unsigned int getChildIndex( const Node* node ) const +[more]inline unsigned int getChildIndex( const Node* node ) const
Get the index number of child, return a value between 0 and _childrensize()-1 if found, if not found then return _childrensize()

-

-

Public Members

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

-

Protected Fields

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

Protected Methods

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

@@ -106,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)
@@ -128,12 +126,6 @@
oinline const NodeCallback* getUpdateCallback() const
-ovoid setAppCallback(NodeCallback* nc) -
-oinline NodeCallback* getAppCallback() -
-oinline const NodeCallback* getAppCallback() const -
oinline unsigned int getNumChildrenRequiringUpdateTraversal() const
ovoid setCullCallback(NodeCallback* nc) @@ -154,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
@@ -200,7 +192,7 @@
ostd::string _name
-oParentList _parents +oParentList _parents
oref_ptr<NodeCallback> _updateCallback
@@ -214,9 +206,9 @@
ounsigned int _numChildrenWithOccluderNodes
-oNodeMask _nodeMask +oNodeMask _nodeMask
-oDescriptionList _descriptions +oDescriptionList _descriptions
oref_ptr<StateSet> _stateset

@@ -239,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)
@@ -257,7 +249,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance
oref_ptr<Referenced> _userData

@@ -297,37 +289,33 @@ Children are reference counted. This allows children to be shared with memory management handled automatically via osg::Referenced.
- - -
otypedef std::vector<ref_ptr<Node> > ChildList -

- +

o Group()

- -

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

- +

o META_Node(osg, Group)

- +

ovirtual Group* asGroup()

- +

ovirtual const Group* asGroup() const

- +

ovirtual void traverse(NodeVisitor& nv)

- +

ovirtual bool addChild( Node* child )
Add Node to Group. If node is not NULL and is not contained in Group then increment its @@ -335,8 +323,16 @@ reference count, add it to the child list and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. Otherwise return false. Scene nodes can't be added as child nodes.

+ + +

ovirtual bool insertChild( unsigned int index, Node* child ) +
Insert Node to Group at specific location. +The new child node is inserted into the child list +before the node at the specified index. No nodes +are removed from the group with this operation. +

- +

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

- +

ovirtual bool removeChild(unsigned int pos, unsigned int numChildrenToRemove=1)

- +

ovirtual bool replaceChild( Node* origChild, Node* newChild )
Replace specified Node with another Node. Equivalent to setChild(getChildIndex(orignChild),node), see docs for setChild for futher details on implementation.

- +

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

- +

ovirtual bool setChild( unsigned int i, Node* node )
set child node at position i. return true if set correctly, false on failure (if node==NULL || i is out of range). @@ -374,38 +370,38 @@ add newNode. If newNode is NULL then return false and do not remove origNode. Also returns false if newChild is a Scene node.

- +

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

- +

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

- +

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

- +

oinline unsigned int getChildIndex( const Node* node ) const
Get the index number of child, return a value between 0 and _childrensize()-1 if found, if not found then return _childrensize()

- +

ovirtual ~Group()

- +

ovirtual bool computeBound() const

- -

oChildList _children + +
oNodeList _children


Direct child classes: diff --git a/doc/doc++/osg/HIER.html b/doc/doc++/osg/HIER.html index 5b7aab0bd..9bda0eaab 100644 --- a/doc/doc++/osg/HIER.html +++ b/doc/doc++/osg/HIER.html @@ -36,20 +36,19 @@
  • osg::InfinitePlane
  • osg::Polytope -
  • osg::Drawable::PrimitiveFunctor - +
  • osg::Drawable::PrimitiveFunctor
  • osg::Quat
  • osg::Referenced
  • osg::LightSource
  • osg::OccluderNode @@ -99,6 +98,7 @@
  • osg::Switch
  • osg::Transform @@ -145,6 +145,7 @@
  • osg::CullFace
  • osg::Depth
  • osg::Fog +
  • osg::FragmentProgram
  • osg::FrontFace
  • osg::Light
  • osg::LightModel @@ -177,9 +178,9 @@
  • osg::State
  • osg::Texture1D::SubloadCallback -
  • osg::TextureCubeMap::SubloadCallback -
  • osg::TextureRectangle::SubloadCallback
  • osg::Texture2D::SubloadCallback +
  • osg::TextureRectangle::SubloadCallback +
  • osg::TextureCubeMap::SubloadCallback
  • osg::Texture3D::SubloadCallback
  • osgUtx::Test
  • osgUtx::TestSuite - + +
  • osg::Texture::TextureObject +
  • osg::Texture::TextureObjectManager
  • osg::ShadowVolumeOccluder
  • osg::ShapeVisitor diff --git a/doc/doc++/osg/HIERjava.html b/doc/doc++/osg/HIERjava.html index c3cc5a8bd..3fd201b31 100644 --- a/doc/doc++/osg/HIERjava.html +++ b/doc/doc++/osg/HIERjava.html @@ -113,11 +113,11 @@
  • - - - - - + + + + + @@ -148,11 +148,11 @@ - - - - - + + + + + diff --git a/doc/doc++/osg/HeightField.html b/doc/doc++/osg/HeightField.html index 88697b432..f32ae3d03 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 08ff79b10..d6c1f1427 100644 --- a/doc/doc++/osg/Image.html +++ b/doc/doc++/osg/Image.html @@ -23,178 +23,181 @@

    Public Methods

    -[more] Image() +[more] Image()
    -[more] Image(const Image& image, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Image(const Image& image, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more]virtual Object* cloneType() const +[more]virtual Object* cloneType() const
    -[more]virtual Object* clone(const CopyOp& copyop) const +[more]virtual Object* clone(const CopyOp& copyop) const
    -[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
    -[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
    -[more]virtual const char* className() const +[more]virtual const char* className() const
    -[more]virtual int compare(const Image& rhs) const +[more]virtual int compare(const Image& rhs) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
    -[more]void setFileName(const std::string& fileName) +[more]void setFileName(const std::string& fileName)
    -[more]inline const std::string& getFileName() const +[more]inline const std::string& getFileName() const
    -[more]void setAllocationMode(AllocationMode mode) +[more]void setAllocationMode(AllocationMode mode)
    Set the method used for deleting data once it goes out of scope
    -[more]AllocationMode setAllocationMode() const +[more]AllocationMode setAllocationMode() const
    Get the method used for deleting data once it goes out of scope
    -[more]void allocateImage(int s, int t, int r, GLenum format, GLenum type, int packing=1) +[more]void allocateImage(int s, int t, int r, GLenum format, GLenum type, int packing=1)
    -[more]void setImage(int s, int t, int r, GLint internalTextureformat, GLenum format, GLenum type, unsigned char* data, AllocationMode mode, int packing=1) +[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) +[more]void readImageFromCurrentTexture(unsigned int contextID=0)
    read the contents of the current bound texture, handling compressed formats if present.
    -[more]void scaleImage(int s, int t, int r) +[more]void scaleImage(int s, int t, int r)
    Scale image to specified size.
    -[more]void copySubImage(int s_offset, int t_offset, int r_offset, osg::Image* source) +[more]void copySubImage(int s_offset, int t_offset, int r_offset, osg::Image* source)
    Copy a source Image into a subpart of this Image at specified position.
    -[more]inline int s() const +[more]inline int s() const
    Width of image
    -[more]inline int t() const +[more]inline int t() const
    Height of image
    -[more]inline int r() const +[more]inline int r() const
    Depth of image
    -[more]void setInternalTextureFormat(GLint internalFormat) +[more]void setInternalTextureFormat(GLint internalFormat)
    -[more]inline GLint getInternalTextureFormat() const +[more]inline GLint getInternalTextureFormat() const
    -[more]void setPixelFormat(GLenum format) +[more]void setPixelFormat(GLenum format)
    -[more]inline GLenum getPixelFormat() const +[more]inline GLenum getPixelFormat() const
    -[more]inline GLenum getDataType() const +[more]inline GLenum getDataType() const
    -[more]inline unsigned int getPacking() const +[more]inline unsigned int getPacking() const
    -[more]inline unsigned int getPixelSizeInBits() const +[more]inline unsigned int getPixelSizeInBits() const
    return the numbers of bits required for each pixel
    -[more]inline unsigned int getRowSizeInBytes() const +[more]inline unsigned int getRowSizeInBytes() const
    return the numbers of bytes each row of pixels occupies once it has been packed
    -[more]inline unsigned int getImageSizeInBytes() const +[more]inline unsigned int getImageSizeInBytes() const
    return the numbers of bytes each image (_s*_t) of pixels occupies
    -[more]inline unsigned int getTotalSizeInBytes() const +[more]inline unsigned int getTotalSizeInBytes() const
    return the numbers of bytes the whole row/image/volume of pixels occupies
    -[more]inline unsigned char* data() +[more]unsigned int getTotalSizeInBytesIncludingMipmaps() const +
    return the numbers of bytes the whole row/image/volume of pixels occupies, including all mip maps if included +
    +[more]inline unsigned char* data()
    raw image data
    -[more]inline const unsigned char* data() const +[more]inline const unsigned char* data() const
    raw const image data
    -[more]inline unsigned char* data(int column, int row=0, int image=0) const +[more]inline unsigned char* data(int column, int row=0, int image=0) const
    -[more]void flipHorizontal(int image=0) +[more]void flipHorizontal(int image=0)
    Flip the image horizontally
    -[more]void flipVertical(int image=0) +[more]void flipVertical(int image=0)
    Flip the image vertically
    -[more]void ensureValidSizeForTexturing(GLint maxTextureSize) +[more]void ensureValidSizeForTexturing(GLint maxTextureSize)
    Ensure image dimensions are a power of two.
    -[more]inline void dirty() +[more]inline void dirty()
    Dirty the image, which increments the modified flag, to force osg::Texture to reload the image
    -[more]inline void setModifiedTag(unsigned int value) +[more]inline void setModifiedTag(unsigned int value)
    Set the modified tag value, only used by osg::Texture when using texture subloading.
    -[more]inline unsigned int getModifiedTag() const +[more]inline unsigned int getModifiedTag() const
    Get modified tag value, only used by osg::Texture when using texture subloading.
    -[more]static bool isPackedType(GLenum type) +[more]static bool isPackedType(GLenum type)
    -[more]static unsigned int computeNumComponents(GLenum format) +[more]static unsigned int computeNumComponents(GLenum format)
    -[more]static unsigned int computePixelSizeInBits(GLenum format, GLenum type) +[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) +[more]static int computeNearestPowerOfTwo(int s, float bias=0.5f)
    -[more]inline bool isMipmap() const +[more]inline bool isMipmap() const
    -[more]unsigned int getNumMipmapLevels() const +[more]unsigned int getNumMipmapLevels() const
    -[more]inline void setMipmapData(const MipmapDataType& mipmapDataVector) +[more]inline void setMipmapData(const MipmapDataType& mipmapDataVector)
    -[more]inline unsigned char* getMipmapData(unsigned int mipmapNumber) const +[more]inline unsigned char* getMipmapData(unsigned int mipmapNumber) const
    -[more]void computeMipMaps() +[more]void computeMipMaps()
    converts a single image into mip mapped version image
    -[more]bool isImageTranslucent() const +[more]bool isImageTranslucent() const
    return true of this image is translucent - ie.

    Public Members

    -[more]enum AllocationMode +[more]enum AllocationMode
    -[more]typedef std::vector< unsigned int > MipmapDataType +[more]typedef std::vector< unsigned int > MipmapDataType

    Protected Fields

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

    Protected Methods

    -[more]virtual ~Image() +[more]virtual ~Image()
    -[more]Image& operator = (const Image&) +[more]Image& operator = (const Image&)
    -[more]void deallocateData() +[more]void deallocateData()
    -[more]void setData(unsigned char* data, AllocationMode allocationMode) +[more]void setData(unsigned char* data, AllocationMode allocationMode)

    @@ -202,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)
    @@ -220,7 +223,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -257,82 +260,82 @@
    - +
    o Image()

    - -

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

    - +

    ovirtual Object* cloneType() const

    - +

    ovirtual Object* clone(const CopyOp& copyop) const

    - +

    ovirtual bool isSameKindAs(const Object* obj) const

    - +

    ovirtual const char* libraryName() const

    - +

    ovirtual const char* className() const

    - +

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

    - +

    ovoid setFileName(const std::string& fileName)

    - +

    oinline const std::string& getFileName() const

    - +

    oenum AllocationMode

    - +
    o NO_DELETE

    - +

    o USE_NEW_DELETE

    - +

    o USE_MALLOC_FREE

    - -
    ovoid setAllocationMode(AllocationMode mode) + +
    ovoid setAllocationMode(AllocationMode mode)
    Set the method used for deleting data once it goes out of scope

    - -

    oAllocationMode setAllocationMode() const + +
    oAllocationMode setAllocationMode() const
    Get the method used for deleting data once it goes out of scope

    - -

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

    - -

    ovoid setImage(int s, int t, int r, GLint internalTextureformat, GLenum format, GLenum type, unsigned char* data, AllocationMode mode, int packing=1) + +
    ovoid 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. note, when the packing value is negative (the default is -1) this method assumes a _packing width of 1 if the width is not a multiple of 4, @@ -340,24 +343,24 @@ otherwise automatically sets to _packing to 4. If a positive value of packing is supplied than _packing is simply set to that value.

    - -

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

    - +

    ovoid readImageFromCurrentTexture(unsigned int contextID=0)
    read the contents of the current bound texture, handling compressed formats if present. Create memory for storage if required, reuse existing pixel coords if possible.

    - -

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

    - +

    ovoid copySubImage(int s_offset, int t_offset, int r_offset, osg::Image* source)
    Copy a source Image into a subpart of this Image at specified position. Typically used to copy to an already allocated image, such as creating @@ -367,224 +370,229 @@ accomodate the imaging image in its offset position. If source is NULL then no operation happens, this Image is left unchanged.

    - +

    oinline int s() const
    Width of image

    - +

    oinline int t() const
    Height of image

    - +

    oinline int r() const
    Depth of image

    - +

    ovoid setInternalTextureFormat(GLint internalFormat)

    - +

    oinline GLint getInternalTextureFormat() const

    - +

    ovoid setPixelFormat(GLenum format)

    - +

    oinline GLenum getPixelFormat() const

    - +

    oinline GLenum getDataType() const

    - +

    oinline unsigned int getPacking() const

    - +

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

    - +

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

    - +

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

    - +

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

    + + +

    ounsigned int getTotalSizeInBytesIncludingMipmaps() const +
    return the numbers of bytes the whole row/image/volume of pixels occupies, including all mip maps if included +

    - +

    oinline unsigned char* data()
    raw image data

    - +

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

    - +

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

    - +

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

    - +

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

    - -

    ovoid ensureValidSizeForTexturing(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 the host machine.

    - +

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

    - +

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

    - +

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

    - +

    ostatic bool isPackedType(GLenum type)

    - +

    ostatic unsigned int computeNumComponents(GLenum format)

    - +

    ostatic unsigned int computePixelSizeInBits(GLenum format, GLenum type)

    - -

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

    - -

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

    - +

    otypedef std::vector< unsigned int > MipmapDataType

    - +

    oinline bool isMipmap() const

    - +

    ounsigned int getNumMipmapLevels() const

    - -

    oinline void setMipmapData(const MipmapDataType& mipmapDataVector) + +
    oinline void setMipmapData(const MipmapDataType& mipmapDataVector)

    - +

    oinline unsigned char* getMipmapData(unsigned int mipmapNumber) const

    - +

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

    - +

    obool isImageTranslucent() const
    return true of this image is translucent - ie. it has alpha values that are less 1.0 (when normalized).

    - +

    ovirtual ~Image()

    - +

    oImage& operator = (const Image&)

    - +

    ostd::string _fileName

    - +

    oint _s

    - +

    oint _t

    - +

    oint _r

    - +

    oGLint _internalTextureFormat

    - +

    oGLenum _pixelFormat

    - +

    oGLenum _dataType

    - +

    ounsigned int _packing

    - -

    oAllocationMode _allocationMode + +
    oAllocationMode _allocationMode

    - +

    ounsigned char* _data

    - +

    ovoid deallocateData()

    - -

    ovoid setData(unsigned char* data, AllocationMode allocationMode) + +
    ovoid setData(unsigned char* data, AllocationMode allocationMode)

    - +

    ounsigned int _modifiedTag

    - -

    oMipmapDataType _mipmapData + +
    oMipmapDataType _mipmapData


    This class has no child classes.
    diff --git a/doc/doc++/osg/Impostor.html b/doc/doc++/osg/Impostor.html index 810e4d85f..05a7b51fb 100644 --- a/doc/doc++/osg/Impostor.html +++ b/doc/doc++/osg/Impostor.html @@ -23,52 +23,52 @@

    Public Methods

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

    Public Members

    -[more]typedef std::vector< ref_ptr<ImpostorSprite> > ImpostorSpriteList +[more]typedef std::vector< ref_ptr<ImpostorSprite> > ImpostorSpriteList

    Protected Fields

    -[more]mutable buffered_object<ImpostorSpriteList> _impostorSpriteListBuffer +[more]mutable buffered_object<ImpostorSpriteList> _impostorSpriteListBuffer
    -[more]float _impostorThreshold +[more]float _impostorThreshold

    Protected Methods

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

    @@ -84,11 +84,11 @@
    ovirtual bool removeChild(Node* child)
    -ovoid setCenterMode(CenterMode mode) +ovoid setCenterMode(CenterMode mode)
    -oCenterMode getCenterMode() const +oCenterMode getCenterMode() const
    -oinline void setCenter(const Vec3& center) +oinline void setCenter(const Vec3& center)
    oinline const Vec3& getCenter() const
    @@ -100,27 +100,27 @@
    oinline unsigned int getNumRanges() const
    -oinline RangeList& getRangeList() +oinline RangeList& getRangeList()
    -oinline const RangeList& getRangeList() const +oinline const RangeList& getRangeList() const

    Public Members

    otypedef std::pair<float,float> MinMaxPair
    -otypedef std::vector<MinMaxPair> RangeList +otypedef std::vector<MinMaxPair> RangeList
    oenum CenterMode

    Protected Fields

    -oCenterMode _centerMode +oCenterMode _centerMode
    oVec3 _userDefinedCenter
    -oRangeList _rangeList +oRangeList _rangeList

    @@ -132,6 +132,8 @@
    ovirtual const Group* asGroup() const
    +ovirtual bool insertChild( unsigned int index, Node* child ) +
    ovirtual bool replaceChild( Node* origChild, Node* newChild )
    oinline unsigned int getNumChildren() const @@ -147,14 +149,9 @@ oinline unsigned int getChildIndex( const Node* node ) const

    -

    -

    Public Members

    -otypedef std::vector<ref_ptr<Node> > ChildList -

    -

    Protected Fields

    -oChildList _children +oNodeList _children

    @@ -180,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)
    @@ -202,12 +199,6 @@
    oinline const NodeCallback* getUpdateCallback() const
    -ovoid setAppCallback(NodeCallback* nc) -
    -oinline NodeCallback* getAppCallback() -
    -oinline const NodeCallback* getAppCallback() const -
    oinline unsigned int getNumChildrenRequiringUpdateTraversal() const
    ovoid setCullCallback(NodeCallback* nc) @@ -228,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
    @@ -274,7 +265,7 @@
    ostd::string _name
    -oParentList _parents +oParentList _parents
    oref_ptr<NodeCallback> _updateCallback
    @@ -288,9 +279,9 @@
    ounsigned int _numChildrenWithOccluderNodes
    -oNodeMask _nodeMask +oNodeMask _nodeMask
    -oDescriptionList _descriptions +oDescriptionList _descriptions
    oref_ptr<StateSet> _stateset

    @@ -313,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)
    @@ -331,7 +322,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -406,76 +397,76 @@ geometry.
    - +
    o Impostor()

    - -

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

    - +

    o META_Node(osg, Impostor)

    - +

    otypedef std::vector< ref_ptr<ImpostorSprite> > ImpostorSpriteList

    - -

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

    - +

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

    - +

    oinline float getImpostorThreshold() const

    - +

    oinline float getImpostorThreshold2() const

    - +

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

    - +

    ovoid addImpostorSprite(unsigned int contextID, ImpostorSprite* is)
    Add an ImpostorSprite to the Impostor

    - -

    oinline ImpostorSpriteList& getImpostorSpriteList(unsigned int contexID) + +
    oinline ImpostorSpriteList& getImpostorSpriteList(unsigned int contexID)
    Get the list of ImpostorSprites attached to this Impostor

    - -

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

    - +

    ovirtual ~Impostor()

    - +

    ovirtual bool computeBound() const

    - -

    omutable buffered_object<ImpostorSpriteList> _impostorSpriteListBuffer + +
    omutable buffered_object<ImpostorSpriteList> _impostorSpriteListBuffer

    - +

    ofloat _impostorThreshold

    diff --git a/doc/doc++/osg/ImpostorSprite.html b/doc/doc++/osg/ImpostorSprite.html index 11f972f80..f42051a74 100644 --- a/doc/doc++/osg/ImpostorSprite.html +++ b/doc/doc++/osg/ImpostorSprite.html @@ -23,135 +23,135 @@

    Public Fields

    -[more]Vec4 _color +[more]Vec4 _color

    Public Methods

    -[more] ImpostorSprite() +[more] ImpostorSprite()
    -[more]virtual Object* cloneType() const +[more]virtual Object* cloneType() const
    Clone an object of the same type as an ImpostorSprite
    -[more]virtual Object* clone(const CopyOp&) const +[more]virtual Object* clone(const CopyOp&) const
    Clone on ImpostorSprite just returns a clone of type, since it is not appropriate to share data of an ImpostorSprite
    -[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
    -[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
    -[more]virtual const char* className() const +[more]virtual const char* className() const
    -[more]void setParent(Impostor* parent) +[more]void setParent(Impostor* parent)
    Set the parent, which must be an Impostor.
    -[more]Impostor* getParent() +[more]Impostor* getParent()
    Get the parent, which is an Impostor.
    -[more]const Impostor* getParent() const +[more]const Impostor* getParent() const
    Get the const parent, which is an Impostor.
    -[more]inline void setStoredLocalEyePoint(const Vec3& v) +[more]inline void setStoredLocalEyePoint(const Vec3& v)
    Set the eye point for when the ImpsotorSprite was snapped
    -[more]inline const Vec3& getStoredLocalEyePoint() const +[more]inline const Vec3& getStoredLocalEyePoint() const
    Get the eye point for when the ImpsotorSprite was snapped
    -[more]inline void setLastFrameUsed(int frameNumber) +[more]inline void setLastFrameUsed(int frameNumber)
    Set the frame number for when the ImpostorSprite was last used in rendering
    -[more]inline int getLastFrameUsed() const +[more]inline int getLastFrameUsed() const
    Get the frame number for when the ImpostorSprite was last used in rendering
    -[more]inline Vec3* getCoords() +[more]inline Vec3* getCoords()
    Get the coordinates of the corners of the quad.
    -[more]inline const Vec3* getCoords() const +[more]inline const Vec3* getCoords() const
    Get the const coordinates of the corners of the quad
    -[more]inline Vec2* getTexCoords() +[more]inline Vec2* getTexCoords()
    Get the texture coordinates of the corners of the quad.
    -[more]inline const Vec2* getTexCoords() const +[more]inline const Vec2* getTexCoords() const
    Get the const texture coordinates of the corners of the quad
    -[more]inline Vec3* getControlCoords() +[more]inline Vec3* getControlCoords()
    Get the control coordinates of the corners of the quad.
    -[more]inline const Vec3* getControlCoords() const +[more]inline const Vec3* getControlCoords() const
    Get the const control coordinates of the corners of the quad
    -[more]float calcPixelError(const Matrix& MVPW) const +[more]float calcPixelError(const Matrix& MVPW) const
    calculate the pixel error value for passing in the ModelViewProjectionWindow transform, which transform local coords into screen space
    -[more]void setTexture(Texture2D* tex, int s, int t) +[more]void setTexture(Texture2D* tex, int s, int t)
    -[more]Texture2D* getTexture() +[more]Texture2D* getTexture()
    -[more]const Texture2D* getTexture() const +[more]const Texture2D* getTexture() const
    -[more]int s() const +[more]int s() const
    -[more]int t() const +[more]int t() const
    -[more]virtual void drawImplementation(State& state) const +[more]virtual void drawImplementation(State& state) const
    draw ImpostorSprite directly.
    -[more]virtual bool supports(AttributeFunctor&) const +[more]virtual bool supports(AttributeFunctor&) const
    return true, osg::ImpostorSprite does support accept(AttributeFunctor&)
    -[more]virtual void accept(AttributeFunctor& af) +[more]virtual void accept(AttributeFunctor& af)
    accept an AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has
    -[more]virtual bool supports(ConstAttributeFunctor&) const +[more]virtual bool supports(ConstAttributeFunctor&) const
    return true, osg::ImpostorSprite 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::ImpostorSprite 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]Impostor* _parent +[more]Impostor* _parent
    -[more]ImpostorSpriteManager* _ism +[more]ImpostorSpriteManager* _ism
    -[more]ImpostorSprite* _previous +[more]ImpostorSprite* _previous
    -[more]ImpostorSprite* _next +[more]ImpostorSprite* _next
    -[more]int _lastFrameUsed +[more]int _lastFrameUsed
    -[more]Vec3 _storedLocalEyePoint +[more]Vec3 _storedLocalEyePoint
    -[more]Vec3 _coords[4] +[more]Vec3 _coords[4]
    -[more]Vec2 _texcoords[4] +[more]Vec2 _texcoords[4]
    -[more]Vec3 _controlcoords[4] +[more]Vec3 _controlcoords[4]
    -[more]Texture2D* _texture +[more]Texture2D* _texture
    -[more]int _s +[more]int _s
    -[more]int _t +[more]int _t

    Protected Methods

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

    @@ -163,9 +163,9 @@
    ovirtual const Geometry* asGeometry() const
    -oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
    -oinline ParentList getParents() +oinline ParentList getParents()
    oinline unsigned int getNumParents() const
    @@ -195,35 +195,41 @@
    oinline bool getUseDisplayList() const
    +ovoid setUseVertexBufferObjects(bool flag) +
    +oinline bool getUseVertexBufferObjects() const +
    ovoid dirtyDisplayList()
    ovirtual void compile(State& state) const
    -ovoid setUpdateCallback(UpdateCallback* ac) +ovoid setUpdateCallback(UpdateCallback* ac)
    -oUpdateCallback* getUpdateCallback() +oUpdateCallback* getUpdateCallback()
    -ovoid setAppCallback(AppCallback* ac) +ovoid setCullCallback(CullCallback* cc)
    -oAppCallback* getAppCallback() +oCullCallback* getCullCallback()
    -oconst AppCallback* getAppCallback() const +oconst CullCallback* getCullCallback() const
    -ovoid setCullCallback(CullCallback* cc) +ovoid setDrawCallback(DrawCallback* dc)
    -oCullCallback* getCullCallback() +oDrawCallback* getDrawCallback()
    -oconst CullCallback* getCullCallback() const -
    -ovoid setDrawCallback(DrawCallback* dc) -
    -oDrawCallback* getDrawCallback() -
    -oconst DrawCallback* getDrawCallback() const +oconst DrawCallback* getDrawCallback() const
    ostatic void deleteDisplayList(unsigned int contextID, GLuint globj)
    -ostatic void flushDeletedDisplayLists(unsigned int contextID) +ostatic void flushDeletedDisplayLists(unsigned int contextID, double currentTime, double& availableTime) +
    +ostatic void deleteVertexBufferObject(unsigned int contextID, GLuint globj) +
    +ostatic void flushDeletedVertexBufferObjects(unsigned int contextID, double currentTime, double& availableTime) +
    +ostatic Extensions* getExtensions(unsigned int contextID, bool createIfNotInitalized) +
    +ostatic void setExtensions(unsigned int contextID, Extensions* extensions)
    oinline void draw(State& state) const

    @@ -234,24 +240,27 @@
    ostruct UpdateCallback: public virtual osg::Referenced
    -ostruct AppCallback: public UpdateCallback -
    ostruct CullCallback: public virtual osg::Referenced
    ostruct DrawCallback: public virtual osg::Referenced
    -oenum AttributeType +otypedef unsigned int AttributeType +
    +oenum AttributeTypes
    class AttributeFunctor
    class ConstAttributeFunctor
    class PrimitiveFunctor +
    +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

    Protected Fields

    -oParentList _parents +oParentList _parents
    oref_ptr<StateSet> _stateset
    @@ -265,13 +274,19 @@ class PrimitiveFunctor
    obool _useDisplayList
    -omutable GLObjectList _globjList +obool _supportsVertexBufferObjects
    -oref_ptr<UpdateCallback> _updateCallback +obool _useVertexBufferObjects
    -oref_ptr<DrawCallback> _drawCallback +omutable GLObjectList _globjList
    -oref_ptr<CullCallback> _cullCallback +omutable GLObjectList _vboList +
    +oref_ptr<UpdateCallback> _updateCallback +
    +oref_ptr<DrawCallback> _drawCallback +
    +oref_ptr<CullCallback> _cullCallback

    @@ -293,9 +308,9 @@ class PrimitiveFunctor

    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)
    @@ -311,7 +326,7 @@ class PrimitiveFunctor

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

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

    - +

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

    - +

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

    - +

    ovirtual bool isSameKindAs(const Object* obj) const

    - +

    ovirtual const char* libraryName() const

    - +

    ovirtual const char* className() const

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - -

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

    - +

    oTexture2D* getTexture()

    - +

    oconst Texture2D* getTexture() const

    - +

    oint s() const

    - +

    oint t() const

    - +

    ovirtual void drawImplementation(State& state) const
    draw ImpostorSprite directly.

    - +

    ovirtual bool supports(AttributeFunctor&) const
    return true, osg::ImpostorSprite 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

    - +

    ovirtual bool supports(ConstAttributeFunctor&) const
    return true, osg::ImpostorSprite 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::ImpostorSprite 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

    - +

    oVec4 _color

    - -

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

    - +

    oImpostorSprite& operator = (const ImpostorSprite&)

    - +

    ovirtual ~ImpostorSprite()

    - +

    ovirtual bool computeBound() const

    - +

    oImpostor* _parent

    - +

    oImpostorSpriteManager* _ism

    - +

    oImpostorSprite* _previous

    - +

    oImpostorSprite* _next

    - +

    oint _lastFrameUsed

    - +

    oVec3 _storedLocalEyePoint

    - +

    oVec3 _coords[4]

    - +

    oVec2 _texcoords[4]

    - +

    oVec3 _controlcoords[4]

    - +

    oTexture2D* _texture

    - +

    oint _s

    - +

    oint _t

    diff --git a/doc/doc++/osg/ImpostorSpriteManager.html b/doc/doc++/osg/ImpostorSpriteManager.html index 48fcc4bf8..a952046ba 100644 --- a/doc/doc++/osg/ImpostorSpriteManager.html +++ b/doc/doc++/osg/ImpostorSpriteManager.html @@ -23,48 +23,48 @@

    Public Methods

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

    Protected Fields

    -[more]ref_ptr<TexEnv> _texenv +[more]ref_ptr<TexEnv> _texenv
    -[more]ref_ptr<AlphaFunc> _alphafunc +[more]ref_ptr<AlphaFunc> _alphafunc
    -[more]ImpostorSprite* _first +[more]ImpostorSprite* _first
    -[more]ImpostorSprite* _last +[more]ImpostorSprite* _last
    -[more]StateSetList _stateSetList +[more]StateSetList _stateSetList
    -[more]unsigned int _reuseStateSetIndex +[more]unsigned int _reuseStateSetIndex

    Protected Methods

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

    Protected Members

    -[more]typedef std::vector< ref_ptr<StateSet> > StateSetList +[more]typedef std::vector< ref_ptr<StateSet> > StateSetList

    @@ -101,71 +101,71 @@
    - +
    o ImpostorSpriteManager()

    - +

    obool empty() const

    - +

    oImpostorSprite* first()

    - +

    oImpostorSprite* last()

    - +

    ovoid push_back(ImpostorSprite* is)

    - +

    ovoid remove(ImpostorSprite* is)

    - -

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

    - +

    oStateSet* createOrReuseStateSet()

    - +

    ovoid reset()

    - +

    o ~ImpostorSpriteManager()

    - +

    oref_ptr<TexEnv> _texenv

    - +

    oref_ptr<AlphaFunc> _alphafunc

    - +

    oImpostorSprite* _first

    - +

    oImpostorSprite* _last

    - +

    otypedef std::vector< ref_ptr<StateSet> > StateSetList

    - -

    oStateSetList _stateSetList + +
    oStateSetList _stateSetList

    - +

    ounsigned int _reuseStateSetIndex

    diff --git a/doc/doc++/osg/IndexArray.html b/doc/doc++/osg/IndexArray.html index 27fbc9d9f..348570767 100644 --- a/doc/doc++/osg/IndexArray.html +++ b/doc/doc++/osg/IndexArray.html @@ -49,9 +49,9 @@
    ovirtual void accept(ConstArrayVisitor&) const
    -ovirtual void accept(unsigned int index, ValueVisitor&) +ovirtual void accept(unsigned int index, ValueVisitor&)
    -ovirtual void accept(unsigned int index, ConstValueVisitor&) const +ovirtual void accept(unsigned int index, ConstValueVisitor&) const
    oType getType() const
    @@ -61,6 +61,8 @@
    ovirtual const GLvoid* getDataPointer() const
    +ovirtual unsigned int getTotalDataSize() const +
    ovirtual unsigned int getNumElements() const

    @@ -87,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)
    @@ -105,7 +107,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    diff --git a/doc/doc++/osg/InfinitePlane.html b/doc/doc++/osg/InfinitePlane.html index d11a4bb47..740ae5ec0 100644 --- a/doc/doc++/osg/InfinitePlane.html +++ b/doc/doc++/osg/InfinitePlane.html @@ -22,11 +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()

    @@ -54,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)
    @@ -72,7 +77,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -109,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)
    @@ -177,16 +182,20 @@
    - +
    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()


    This class has no child classes.
    diff --git a/doc/doc++/osg/LOD.html b/doc/doc++/osg/LOD.html index fc1fe4e1c..e520143da 100644 --- a/doc/doc++/osg/LOD.html +++ b/doc/doc++/osg/LOD.html @@ -11,11 +11,11 @@

    Inheritance:

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

    Public Methods

    -[more] LOD() +[more] LOD()
    -[more] LOD(const LOD&, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] LOD(const LOD&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more] META_Node(osg, LOD) +[more] META_Node(osg, LOD)
    -[more]virtual void traverse(NodeVisitor& nv) +[more]virtual void traverse(NodeVisitor& nv)
    -[more]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 removeChild(Node* child) +[more]virtual bool removeChild(Node* child)
    -[more]void setCenterMode(CenterMode mode) +[more]void setCenterMode(CenterMode mode)
    -[more]CenterMode getCenterMode() const +[more]CenterMode getCenterMode() const
    -[more]inline void setCenter(const Vec3& center) +[more]inline void setCenter(const Vec3& center)
    Sets the object-space point which defines the center of the osg::LOD.
    -[more]inline const Vec3& getCenter() const +[more]inline const Vec3& getCenter() const
    return the LOD center point.
    -[more]void setRange(unsigned int childNo, float min, float max) +[more]void setRange(unsigned int childNo, float min, float max)
    Sets the min and max visible ranges of range of specifiec child.
    -[more]inline float getMinRange(unsigned int childNo) const +[more]inline float getMinRange(unsigned int childNo) const
    returns the min visible range for specified child
    -[more]inline float getMaxRange(unsigned int childNo) const +[more]inline float getMaxRange(unsigned int childNo) const
    returns the max visible range for specified child
    -[more]inline unsigned int getNumRanges() const +[more]inline unsigned int getNumRanges() const
    returns the number of ranges currently set.
    -[more]inline RangeList& getRangeList() +[more]inline RangeList& getRangeList()
    return the list of MinMax ranges for each child
    -[more]inline const RangeList& getRangeList() const +[more]inline const RangeList& getRangeList() const
    return the list of MinMax ranges for each child

    Public Members

    -[more]typedef std::pair<float,float> MinMaxPair +[more]typedef std::pair<float,float> MinMaxPair
    -[more]typedef std::vector<MinMaxPair> RangeList +[more]typedef std::vector<MinMaxPair> RangeList
    -[more]enum CenterMode +[more]enum CenterMode

    Protected Fields

    -[more]CenterMode _centerMode +[more]CenterMode _centerMode
    -[more]Vec3 _userDefinedCenter +[more]Vec3 _userDefinedCenter
    -[more]RangeList _rangeList +[more]RangeList _rangeList

    Protected Methods

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

    @@ -99,6 +99,8 @@
    ovirtual const Group* asGroup() const
    +ovirtual bool insertChild( unsigned int index, Node* child ) +
    ovirtual bool replaceChild( Node* origChild, Node* newChild )
    oinline unsigned int getNumChildren() const @@ -114,14 +116,9 @@ oinline unsigned int getChildIndex( const Node* node ) const

    -

    -

    Public Members

    -otypedef std::vector<ref_ptr<Node> > ChildList -

    -

    Protected Fields

    -oChildList _children +oNodeList _children

    @@ -152,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)
    @@ -174,12 +171,6 @@
    oinline const NodeCallback* getUpdateCallback() const
    -ovoid setAppCallback(NodeCallback* nc) -
    -oinline NodeCallback* getAppCallback() -
    -oinline const NodeCallback* getAppCallback() const -
    oinline unsigned int getNumChildrenRequiringUpdateTraversal() const
    ovoid setCullCallback(NodeCallback* nc) @@ -200,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
    @@ -246,7 +237,7 @@
    ostd::string _name
    -oParentList _parents +oParentList _parents
    oref_ptr<NodeCallback> _updateCallback
    @@ -260,9 +251,9 @@
    ounsigned int _numChildrenWithOccluderNodes
    -oNodeMask _nodeMask +oNodeMask _nodeMask
    -oDescriptionList _descriptions +oDescriptionList _descriptions
    oref_ptr<StateSet> _stateset

    @@ -285,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)
    @@ -303,7 +294,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -354,126 +345,127 @@ during rendering.
    - +
    o LOD()

    - -

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

    - +

    o META_Node(osg, LOD)

    - +

    ovirtual void traverse(NodeVisitor& nv)

    - +

    ovirtual bool addChild(Node* child)

    - +

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

    - +

    ovirtual bool removeChild(Node* child)

    - +

    otypedef std::pair<float,float> MinMaxPair

    - -

    otypedef std::vector<MinMaxPair> RangeList + +
    otypedef std::vector<MinMaxPair> RangeList

    - +

    oenum CenterMode

    - +
    o USE_BOUNDING_SPHERE_CENTER

    - +

    o USER_DEFINED_CENTER

    - -
    ovoid setCenterMode(CenterMode mode) + +
    ovoid setCenterMode(CenterMode mode)

    - -

    oCenterMode getCenterMode() const + +
    oCenterMode getCenterMode() const

    - -

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

    - +

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

    - +

    ovoid setRange(unsigned int childNo, float min, float max)
    Sets the min and max visible ranges of range of specifiec child. Values are floating point distance specified in local objects coordinates.

    - +

    oinline float getMinRange(unsigned int childNo) const
    returns the min visible range for specified child

    - +

    oinline float getMaxRange(unsigned int childNo) const
    returns the max visible range for specified child

    - +

    oinline unsigned int getNumRanges() const
    returns the number of ranges currently set. An LOD which has been fully set up will have getNumChildren()==getNumRanges().

    - -

    oinline RangeList& getRangeList() + +
    oinline RangeList& getRangeList()
    return the list of MinMax ranges for each child

    - -

    oinline const RangeList& getRangeList() const + +
    oinline const RangeList& getRangeList() const
    return the list of MinMax ranges for each child

    - +

    ovirtual ~LOD()

    - -

    oCenterMode _centerMode + +
    oCenterMode _centerMode

    - +

    oVec3 _userDefinedCenter

    - -

    oRangeList _rangeList + +
    oRangeList _rangeList


    Direct child classes: -
    Impostor
    +
    PagedLOD
    +Impostor

    Alphabetic index HTML hierarchy of classes or Java


    diff --git a/doc/doc++/osg/Light.html b/doc/doc++/osg/Light.html index 96839ae09..bca11d07e 100644 --- a/doc/doc++/osg/Light.html +++ b/doc/doc++/osg/Light.html @@ -23,121 +23,121 @@

    Public Methods

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

    Protected Fields

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

    Protected Methods

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

    @@ -156,7 +156,7 @@
    ovirtual const char* className() const
    -ovirtual 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

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

    - -

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

    - -

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

    - +

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

    - -

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

    ovirtual ~Light()

    - +

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

    - +

    oint _lightnum

    - +

    oVec4 _ambient

    - +

    oVec4 _diffuse

    - +

    oVec4 _specular

    - +

    oVec4 _position

    - +

    oVec3 _direction

    - +

    ofloat _constant_attenuation

    - +

    ofloat _linear_attenuation

    - +

    ofloat _quadratic_attenuation

    - +

    ofloat _spot_exponent

    - +

    ofloat _spot_cutoff

    diff --git a/doc/doc++/osg/LightModel.html b/doc/doc++/osg/LightModel.html index 2941b50a0..aa7a3a5e1 100644 --- a/doc/doc++/osg/LightModel.html +++ b/doc/doc++/osg/LightModel.html @@ -22,54 +22,54 @@

    Public Methods

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

    Public Members

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

    Protected Fields

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

    Protected Methods

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

    @@ -87,7 +87,7 @@
    ovirtual const char* className() const
    -ovirtual 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

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

    - -

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

    - -

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

    - +

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

    - +

    ovoid setAmbientIntensity(const osg::Vec4& ambient)

    - +

    oconst osg::Vec4& getAmbientIntensity() const

    - +

    oenum ColorControl

    - +
    o SEPARATE_SPECULAR_COLOR

    - +

    o SINGLE_COLOR

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

    - -

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

    - +

    ovoid setLocalViewer(bool localViewer)

    - +

    oinline bool getLocalViewer() const

    - +

    ovoid setTwoSided(bool twoSided)

    - +

    oinline bool getTwoSided() const

    - +

    ovirtual void apply(State& state) const

    - +

    ovirtual ~LightModel()

    - +

    oosg::Vec4 _ambient

    - -

    oColorControl _colorControl + +
    oColorControl _colorControl

    - +

    obool _localViewer

    - +

    obool _twoSided

    diff --git a/doc/doc++/osg/LightSource.html b/doc/doc++/osg/LightSource.html index 28c63a19b..fb44f6e54 100644 --- a/doc/doc++/osg/LightSource.html +++ b/doc/doc++/osg/LightSource.html @@ -23,52 +23,52 @@

    Public Methods

    -[more] LightSource() +[more] LightSource()
    -[more] LightSource(const LightSource& ls, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] LightSource(const LightSource& ls, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    -[more] META_Node(osg, LightSource) +[more] META_Node(osg, LightSource)
    -[more]void setReferenceFrame(ReferenceFrame rf) +[more]void setReferenceFrame(ReferenceFrame rf)
    Set the light sources'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 setLight(StateAttribute* light) +[more]void setLight(StateAttribute* light)
    Set the attached light
    -[more]inline StateAttribute* getLight() +[more]inline StateAttribute* getLight()
    Get the attached light
    -[more]inline const StateAttribute* getLight() const +[more]inline const StateAttribute* getLight() const
    Get the const attached light
    -[more]void setStateSetModes(StateSet&, StateAttribute::GLModeValue) const +[more]void setStateSetModes(StateSet&, StateAttribute::GLModeValue) const
    Set the GLModes on StateSet associated with the LightSource
    -[more]void setLocalStateSetModes(StateAttribute::GLModeValue=StateAttribute::ON) +[more]void setLocalStateSetModes(StateAttribute::GLModeValue=StateAttribute::ON)
    Set up the local StateSet

    Public Members

    -[more]enum ReferenceFrame +[more]enum ReferenceFrame

    Protected Fields

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

    Protected Methods

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

    @@ -84,6 +84,8 @@
    ovirtual bool addChild( Node* child )
    +ovirtual bool insertChild( unsigned int index, Node* child ) +
    ovirtual bool removeChild( Node* child )
    ovirtual bool removeChild(unsigned int pos, unsigned int numChildrenToRemove=1) @@ -103,14 +105,9 @@ oinline unsigned int getChildIndex( const Node* node ) const

    -

    -

    Public Members

    -otypedef std::vector<ref_ptr<Node> > ChildList -

    -

    Protected Fields

    -oChildList _children +oNodeList _children

    @@ -136,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)
    @@ -158,12 +155,6 @@
    oinline const NodeCallback* getUpdateCallback() const
    -ovoid setAppCallback(NodeCallback* nc) -
    -oinline NodeCallback* getAppCallback() -
    -oinline const NodeCallback* getAppCallback() const -
    oinline unsigned int getNumChildrenRequiringUpdateTraversal() const
    ovoid setCullCallback(NodeCallback* nc) @@ -184,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
    @@ -230,7 +221,7 @@
    ostd::string _name
    -oParentList _parents +oParentList _parents
    oref_ptr<NodeCallback> _updateCallback
    @@ -244,9 +235,9 @@
    ounsigned int _numChildrenWithOccluderNodes
    -oNodeMask _nodeMask +oNodeMask _nodeMask
    -oDescriptionList _descriptions +oDescriptionList _descriptions
    oref_ptr<StateSet> _stateset

    @@ -269,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)
    @@ -287,7 +278,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -326,34 +317,34 @@
    - +
    o LightSource()

    - -

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

    - +

    o META_Node(osg, LightSource)

    - +

    oenum ReferenceFrame

    - +
    o RELATIVE_TO_PARENTS

    - +

    o RELATIVE_TO_ABSOLUTE

    - -
    ovoid setReferenceFrame(ReferenceFrame rf) + +
    ovoid setReferenceFrame(ReferenceFrame rf)
    Set the light sources's ReferenceFrame, either to be relative to its parent reference frame, or relative to an absolute coordinate frame. RELATIVE_TO_PARENTS is the default. @@ -366,53 +357,53 @@ deep in the scene graph. It is therefore recommend to only use absolute light source at the top of the scene.

    - -

    oReferenceFrame getReferenceFrame() const + +
    oReferenceFrame getReferenceFrame() const

    - +

    ovoid setLight(StateAttribute* light)
    Set the attached light

    - +

    oinline StateAttribute* getLight()
    Get the attached light

    - +

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

    - +

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

    - +

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

    - +

    ovirtual ~LightSource()

    - +

    ovirtual bool computeBound() const

    - +

    oStateAttribute::GLModeValue _value

    - +

    oref_ptr<StateAttribute> _light

    - -

    oReferenceFrame _referenceFrame + +
    oReferenceFrame _referenceFrame


    This class has no child classes.
    diff --git a/doc/doc++/osg/LineSegment.html b/doc/doc++/osg/LineSegment.html index 53cfb7fba..0dd668c05 100644 --- a/doc/doc++/osg/LineSegment.html +++ b/doc/doc++/osg/LineSegment.html @@ -23,60 +23,60 @@

    Public Methods

    -[more] LineSegment() +[more] LineSegment()
    -[more] LineSegment(const LineSegment& seg) +[more] LineSegment(const LineSegment& seg)
    -[more] LineSegment(const Vec3& s, const Vec3& e) +[more] LineSegment(const Vec3& s, const Vec3& e)
    -[more]LineSegment& operator = (const LineSegment& seg) +[more]LineSegment& operator = (const LineSegment& seg)
    -[more]inline void set(const Vec3& s, const Vec3& e) +[more]inline void set(const Vec3& s, const Vec3& e)
    -[more]inline Vec3& start() +[more]inline Vec3& start()
    -[more]inline const Vec3& start() const +[more]inline const Vec3& start() const
    -[more]inline Vec3& end() +[more]inline Vec3& end()
    -[more]inline const Vec3& end() const +[more]inline const Vec3& end() const
    -[more]inline bool valid() const +[more]inline bool valid() const
    -[more]bool intersect(const BoundingBox& bb) const +[more]bool intersect(const BoundingBox& bb) const
    return true if segment intersects BoundingBox
    -[more]bool intersect(const BoundingBox& bb, float& r1, float& r2) const +[more]bool intersect(const BoundingBox& bb, float& r1, float& r2) const
    return true if segment intersects BoundingBox and return the intersection ratio's
    -[more]bool intersect(const BoundingSphere& bs) const +[more]bool intersect(const BoundingSphere& bs) const
    return true if segment intersects BoundingSphere
    -[more]bool intersect(const BoundingSphere& bs, float& r1, float& r2) const +[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) +[more]inline void mult(const LineSegment& seg, const Matrix& m)
    post multiply a segment by matrix
    -[more]inline void mult(const Matrix& m, const LineSegment& seg) +[more]inline void mult(const Matrix& m, const LineSegment& seg)
    pre multiply a segment by matrix

    Protected Fields

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

    Protected Methods

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

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

    - -

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

    - -

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

    - +

    oLineSegment& operator = (const LineSegment& seg)

    - -

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

    - +

    oinline Vec3& start()

    - +

    oinline const Vec3& start() const

    - +

    oinline Vec3& end()

    - +

    oinline const Vec3& end() const

    - +

    oinline bool valid() const

    - +

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

    - +

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

    - +

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

    - +

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

    - -

    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.

    - +

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

    - +

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

    - +

    ovirtual ~LineSegment()

    - -

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

    - +

    oVec3 _s

    - +

    oVec3 _e

    diff --git a/doc/doc++/osg/LineStipple.html b/doc/doc++/osg/LineStipple.html index 0e73087eb..a63bb5108 100644 --- a/doc/doc++/osg/LineStipple.html +++ b/doc/doc++/osg/LineStipple.html @@ -22,39 +22,39 @@

    Public Methods

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

    Protected Fields

    -[more]GLint _factor +[more]GLint _factor
    -[more]GLushort _pattern +[more]GLushort _pattern

    Protected Methods

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

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

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

    - -

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

    - -

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

    - +

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

    - -

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

    - +

    ovoid setFactor(GLint factor)

    - +

    oinline GLint getFactor() const

    - +

    ovoid setPattern(GLushort pattern)

    - +

    oinline GLushort getPattern() const

    - +

    ovirtual void apply(State& state) const

    - +

    ovirtual ~LineStipple()

    - +

    oGLint _factor

    - +

    oGLushort _pattern

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

    Public Methods

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

    Protected Fields

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

    Protected Methods

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

    @@ -65,7 +65,7 @@
    ovirtual const char* className() const
    -ovirtual 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

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

    - -

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

    - -

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

    - +

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

    - -

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

    - +

    oinline float getWidth() const

    - +

    ovirtual void apply(State& state) const

    - +

    ovirtual ~LineWidth()

    - +

    ofloat _width

    diff --git a/doc/doc++/osg/META_Node.html b/doc/doc++/osg/META_Node.html index e3b213b8c..78f78289e 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 2e6cf7141..98f44e93e 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 4774a9b1d..46b33c662 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 72b575224..a654261e0 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 bc1011412..69212866b 100644 --- a/doc/doc++/osg/Material.html +++ b/doc/doc++/osg/Material.html @@ -23,115 +23,115 @@

    Public Methods

    -[more] Material() +[more] Material()
    -[more] Material(const Material& mat, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Material(const Material& mat, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more] META_StateAttribute(osg, Material, MATERIAL) +[more] META_StateAttribute(osg, Material, MATERIAL)
    -[more]virtual int compare(const StateAttribute& sa) const +[more]virtual int compare(const StateAttribute& sa) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
    -[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const +[more]virtual void getAssociatedModes(std::vector<GLMode>& modes) const
    -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const
    -[more]inline void setColorMode(ColorMode mode) +[more]inline void setColorMode(ColorMode mode)
    -[more]inline ColorMode getColorMode() const +[more]inline ColorMode getColorMode() const
    -[more]void setAmbient( Face face, const Vec4& ambient ) +[more]void setAmbient( Face face, const Vec4& ambient )
    -[more]const Vec4& getAmbient(Face face) const +[more]const Vec4& getAmbient(Face face) const
    -[more]inline bool getAmbientFrontAndBack() const +[more]inline bool getAmbientFrontAndBack() const
    -[more]void setDiffuse( Face face, const Vec4& diffuse ) +[more]void setDiffuse( Face face, const Vec4& diffuse )
    -[more]const Vec4& getDiffuse(Face face) const +[more]const Vec4& getDiffuse(Face face) const
    -[more]inline bool getDiffuseFrontAndBack() const +[more]inline bool getDiffuseFrontAndBack() const
    -[more]void setSpecular( Face face, const Vec4& specular ) +[more]void setSpecular( Face face, const Vec4& specular )
    Set specular value of specified face(s) of the material, valid specular[03] range is 00 to 10
    -[more]const Vec4& getSpecular(Face face) const +[more]const Vec4& getSpecular(Face face) const
    Get the specular value for specified face
    -[more]inline bool getSpecularFrontAndBack() const +[more]inline bool getSpecularFrontAndBack() const
    Get the whether specular values are equal for front and back faces
    -[more]void setEmission( Face face, const Vec4& emission ) +[more]void setEmission( Face face, const Vec4& emission )
    Set emission value of specified face(s) of the material, valid emmison[03] range is 00 to 10
    -[more]const Vec4& getEmission(Face face) const +[more]const Vec4& getEmission(Face face) const
    Get the emmsion value for specified face
    -[more]inline bool getEmissionFrontAndBack() const +[more]inline bool getEmissionFrontAndBack() const
    Get the whether emission values are equal for front and back faces
    -[more]void setShininess(Face face, float shininess ) +[more]void setShininess(Face face, float shininess )
    Set shininess of specified face(s) of the material, valid shininess range is 00 to 1280
    -[more]float getShininess(Face face) const +[more]float getShininess(Face face) const
    Get the shininess value for specified face
    -[more]inline bool getShininessFrontAndBack() const +[more]inline bool getShininessFrontAndBack() const
    Get the whether shininess values are equal for front and back faces
    -[more]void setTransparency(Face face, float trans) +[more]void setTransparency(Face face, float trans)
    Set the alpha value of ambient,diffuse,specular and emission colors, of specified face, to 1-transparency.
    -[more]void setAlpha(Face face, float alpha) +[more]void setAlpha(Face face, float alpha)
    Set the alpha value of ambient,diffuse,specular and emission colors.

    Public Members

    -[more]enum Face +[more]enum Face
    -[more]enum ColorMode +[more]enum ColorMode

    Protected Fields

    -[more]ColorMode _colorMode +[more]ColorMode _colorMode
    -[more]bool _ambientFrontAndBack +[more]bool _ambientFrontAndBack
    -[more]Vec4 _ambientFront +[more]Vec4 _ambientFront
    -[more]Vec4 _ambientBack +[more]Vec4 _ambientBack
    -[more]bool _diffuseFrontAndBack +[more]bool _diffuseFrontAndBack
    -[more]Vec4 _diffuseFront +[more]Vec4 _diffuseFront
    -[more]Vec4 _diffuseBack +[more]Vec4 _diffuseBack
    -[more]bool _specularFrontAndBack +[more]bool _specularFrontAndBack
    -[more]Vec4 _specularFront +[more]Vec4 _specularFront
    -[more]Vec4 _specularBack +[more]Vec4 _specularBack
    -[more]bool _emissionFrontAndBack +[more]bool _emissionFrontAndBack
    -[more]Vec4 _emissionFront +[more]Vec4 _emissionFront
    -[more]Vec4 _emissionBack +[more]Vec4 _emissionBack
    -[more]bool _shininessFrontAndBack +[more]bool _shininessFrontAndBack
    -[more]float _shininessFront +[more]float _shininessFront
    -[more]float _shininessBack +[more]float _shininessBack

    Protected Methods

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

    @@ -149,7 +149,7 @@
    ovirtual const char* className() const
    -ovirtual 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

    @@ -239,236 +239,236 @@
    - +
    o Material()

    - -

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

    - -

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

    - +

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

    - -

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

    - +

    ovirtual void apply(State& state) const

    - +

    oenum Face

    - +
    o FRONT

    - +

    o BACK

    - +

    o FRONT_AND_BACK

    - +
    oenum ColorMode

    - +
    o AMBIENT

    - +

    o DIFFUSE

    - +

    o SPECULAR

    - +

    o EMISSION

    - +

    o AMBIENT_AND_DIFFUSE

    - +

    o OFF

    - -
    oinline void setColorMode(ColorMode mode) + +
    oinline void setColorMode(ColorMode mode)

    - -

    oinline ColorMode getColorMode() const + +
    oinline ColorMode getColorMode() const

    - -

    ovoid setAmbient( Face face, const Vec4& ambient ) + +
    ovoid setAmbient( Face face, const Vec4& ambient )

    - -

    oconst Vec4& getAmbient(Face face) const + +
    oconst Vec4& getAmbient(Face face) const

    - +

    oinline bool getAmbientFrontAndBack() const

    - -

    ovoid setDiffuse( Face face, const Vec4& diffuse ) + +
    ovoid setDiffuse( Face face, const Vec4& diffuse )

    - -

    oconst Vec4& getDiffuse(Face face) const + +
    oconst Vec4& getDiffuse(Face face) const

    - +

    oinline bool getDiffuseFrontAndBack() const

    - -

    ovoid setSpecular( Face face, const Vec4& specular ) + +
    ovoid setSpecular( Face face, const Vec4& specular )
    Set specular value of specified face(s) of the material, valid specular[03] range is 00 to 10

    - -

    oconst Vec4& getSpecular(Face face) const + +
    oconst Vec4& getSpecular(Face face) const
    Get the specular value for specified face

    - +

    oinline bool getSpecularFrontAndBack() const
    Get the whether specular values are equal for front and back faces

    - -

    ovoid setEmission( Face face, const Vec4& emission ) + +
    ovoid setEmission( Face face, const Vec4& emission )
    Set emission value of specified face(s) of the material, valid emmison[03] range is 00 to 10

    - -

    oconst Vec4& getEmission(Face face) const + +
    oconst Vec4& getEmission(Face face) const
    Get the emmsion value for specified face

    - +

    oinline bool getEmissionFrontAndBack() const
    Get the whether emission values are equal for front and back faces

    - -

    ovoid setShininess(Face face, float shininess ) + +
    ovoid setShininess(Face face, float shininess )
    Set shininess of specified face(s) of the material, valid shininess range is 00 to 1280

    - -

    ofloat getShininess(Face face) const + +
    ofloat getShininess(Face face) const
    Get the shininess value for specified face

    - +

    oinline bool getShininessFrontAndBack() const
    Get the whether shininess values are equal for front and back faces

    - -

    ovoid setTransparency(Face face, float trans) + +
    ovoid setTransparency(Face face, float trans)
    Set the alpha value of ambient,diffuse,specular and emission colors, of specified face, to 1-transparency. Valid transparency range is 0.0 to 1.0.

    - -

    ovoid setAlpha(Face face, float alpha) + +
    ovoid setAlpha(Face face, float alpha)
    Set the alpha value of ambient,diffuse,specular and emission colors. Valid transparency range is 0.0 to 1.0.

    - +

    ovirtual ~Material()

    - -

    oColorMode _colorMode + +
    oColorMode _colorMode

    - +

    obool _ambientFrontAndBack

    - +

    oVec4 _ambientFront

    - +

    oVec4 _ambientBack

    - +

    obool _diffuseFrontAndBack

    - +

    oVec4 _diffuseFront

    - +

    oVec4 _diffuseBack

    - +

    obool _specularFrontAndBack

    - +

    oVec4 _specularFront

    - +

    oVec4 _specularBack

    - +

    obool _emissionFrontAndBack

    - +

    oVec4 _emissionFront

    - +

    oVec4 _emissionBack

    - +

    obool _shininessFrontAndBack

    - +

    ofloat _shininessFront

    - +

    ofloat _shininessBack

    diff --git a/doc/doc++/osg/Matrix.html b/doc/doc++/osg/Matrix.html index f007c3077..e458a89f0 100644 --- a/doc/doc++/osg/Matrix.html +++ b/doc/doc++/osg/Matrix.html @@ -22,192 +22,201 @@

    Public Methods

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

    Protected Fields

    -[more]float _mat[4][4] +[more]float _mat[4][4]

    @@ -218,361 +227,378 @@
    - +
    o Matrix()

    - -

    o Matrix( const Matrix& other) + +
    o Matrix( const Matrix& other)

    - +

    oexplicit Matrix( float const* const def )

    - +

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

    - +

    o ~Matrix()

    - +

    oint compare(const Matrix& m) const

    - +

    obool operator < (const Matrix& m) const

    - +

    obool operator == (const Matrix& m) const

    - +

    obool operator != (const Matrix& m) const

    - +

    oinline float& operator()(int row, int col)

    - +

    oinline float operator()(int row, int col) const

    - +

    oinline bool valid() const

    - +

    oinline bool isNaN() const

    - +

    oinline Matrix& operator = (const Matrix& other)

    - +

    oinline void set(const Matrix& other)

    - -

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

    - +

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

    - +

    ofloat* ptr() const

    - +

    ovoid makeIdentity()

    - +

    ovoid makeScale( const Vec3& )

    - +

    ovoid makeScale( float, float, float )

    - +

    ovoid makeTranslate( const Vec3& )

    - +

    ovoid makeTranslate( float, float, float )

    - +

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

    - +

    ovoid makeRotate( float angle, const Vec3& axis )

    - -

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

    - +

    ovoid makeRotate( const Quat& )

    - +

    ovoid makeRotate( float 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) + +
    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) + +
    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) + +
    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 as per a camera, using the same convention as gluLookAt. + +
    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 Matrix& )

    - +

    oinline static Matrix identity( void )

    - +

    oinline static Matrix scale( const Vec3& sv)

    - +

    oinline static Matrix scale( float sx, float sy, float sz)

    - +

    oinline static Matrix translate( const Vec3& dv)

    - -

    oinline static Matrix translate( float x, float y, float z) + +
    oinline static Matrix translate( float x, float y, float z)

    - +

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

    - -

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

    - +

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

    - +

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

    - +

    oinline static Matrix rotate( const Quat& quat)

    - +

    oinline static Matrix inverse( const Matrix& matrix)

    - -

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

    - -

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

    - -

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

    - -

    oinline static Matrix perspective(double fovy, double aspectRatio, double zNear, double zFar) + +
    oinline static Matrix 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 Matrix lookAt(const Vec3& eye, const Vec3& center, const Vec3& up) + +
    oinline static Matrix lookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
    Create the position and orientation as per a camera, using the same convention as gluLookAt.

    - +

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

    - +

    ovoid setTrans( const Vec3& v )

    - +

    oinline Vec3 getTrans() const

    - +

    oinline Vec3 getScale() const

    - +

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

    - +

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

    - +

    ovoid mult( const Matrix&, const Matrix& )

    - +

    ovoid preMult( const Matrix& )

    - +

    ovoid postMult( const Matrix& )

    - +

    oinline void operator *= ( const Matrix& other )

    - +

    oinline Matrix operator * ( const Matrix &m ) const

    - +

    ofloat _mat[4][4]

    - +

    oinline Matrix identity(void)

    - +

    oinline Matrix scale(float sx, float sy, float sz)

    - +

    oinline Matrix scale(const Vec3& v )

    - +

    oinline Matrix translate(float tx, float ty, float tz)

    - +

    oinline Matrix translate(const Vec3& v )

    - +

    oinline Matrix rotate( const Quat& q )

    - -

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

    - +

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

    - +

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

    - +

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

    - +

    oinline Matrix inverse( const Matrix& matrix)

    - -

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

    - -

    oinline Matrix ortho2D(double left, double right, double bottom, double top) + +
    oinline Matrix ortho2D(double left, double right, double bottom, double top)

    - -

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

    - -

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

    - -

    oinline Matrix lookAt(const Vec3& eye, const Vec3& center, const Vec3& up) + +
    oinline Matrix lookAt(const Vec3& eye, const Vec3& center, const Vec3& up)

    - +

    oinline Vec3 postMult( const Vec3& v ) const

    - +

    oinline Vec3 preMult( const Vec3& v ) const

    - +

    oinline Vec4 postMult( const Vec4& v ) const

    - +

    oinline Vec4 preMult( const Vec4& v ) const

    - +

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

    - +

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

    - +

    oinline Vec3 operator* (const Vec3& v) const

    - +

    oinline Vec4 operator* (const Vec4& v) const


    diff --git a/doc/doc++/osg/MatrixTransform.html b/doc/doc++/osg/MatrixTransform.html index 6000960a4..e073cd362 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

    @@ -134,6 +134,8 @@
    ovirtual bool addChild( Node* child )
    +ovirtual bool insertChild( unsigned int index, Node* child ) +
    ovirtual bool removeChild( Node* child )
    ovirtual bool removeChild(unsigned int pos, unsigned int numChildrenToRemove=1) @@ -153,14 +155,9 @@ oinline unsigned int getChildIndex( const Node* node ) const

    -

    -

    Public Members

    -otypedef std::vector<ref_ptr<Node> > ChildList -

    -

    Protected Fields

    -oChildList _children +oNodeList _children

    @@ -182,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)
    @@ -204,12 +201,6 @@
    oinline const NodeCallback* getUpdateCallback() const
    -ovoid setAppCallback(NodeCallback* nc) -
    -oinline NodeCallback* getAppCallback() -
    -oinline const NodeCallback* getAppCallback() const -
    oinline unsigned int getNumChildrenRequiringUpdateTraversal() const
    ovoid setCullCallback(NodeCallback* nc) @@ -230,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
    @@ -276,7 +267,7 @@
    ostd::string _name
    -oParentList _parents +oParentList _parents
    oref_ptr<NodeCallback> _updateCallback
    @@ -290,9 +281,9 @@
    ounsigned int _numChildrenWithOccluderNodes
    -oNodeMask _nodeMask +oNodeMask _nodeMask
    -oDescriptionList _descriptions +oDescriptionList _descriptions
    oref_ptr<StateSet> _stateset

    @@ -315,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)
    @@ -333,7 +324,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -374,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/Node.html b/doc/doc++/osg/Node.html index 93edf1d70..c3c7093c5 100644 --- a/doc/doc++/osg/Node.html +++ b/doc/doc++/osg/Node.html @@ -23,219 +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]void setAppCallback(NodeCallback* nc) -
    deprecated. -
    -[more]inline NodeCallback* getAppCallback() -
    deprecated. -
    -[more]inline const NodeCallback* getAppCallback() const -
    deprecated. -
    -[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)

    @@ -243,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)
    @@ -261,7 +252,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -301,301 +292,286 @@ 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. -
    Parameters:
    i - index of the parent to get. +
    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.

    - - -

    ovoid setAppCallback(NodeCallback* nc) -
    deprecated. -

    - - -

    oinline NodeCallback* getAppCallback() -
    deprecated. -

    - - -

    oinline const NodeCallback* getAppCallback() const -
    deprecated. -

    - +

    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 @@ -606,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 370f33454..f92eddf4c 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 dfb37c10e..38732f2b4 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 96e96814b..49ef68e51 100644 --- a/doc/doc++/osg/NodeVisitor.html +++ b/doc/doc++/osg/NodeVisitor.html @@ -23,141 +23,168 @@

    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 traverse(Node& node) +[more]inline void setUserData(Referenced* obj) +
    Set user data, data must be subclased from Referenced to allow automatic memory handling. +
    +[more]inline Referenced* getUserData() +
    Get user data +
    +[more]inline const Referenced* getUserData() const +
    Get const user data +
    +[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 bool getLocalToWorldMatrix(Matrix& matrix, Node* node) +[more]virtual bool getLocalToWorldMatrix(Matrix& matrix, Node* node)
    Get the Local To World Matrix from the NodePath for specified Transform::Mode, and u
    -[more]virtual bool getWorldToLocalMatrix(Matrix& matrix, Node* node) +[more]virtual bool getWorldToLocalMatrix(Matrix& matrix, Node* node)
    Get the World To Local Matrix from the NodePath for specified Transform::Mode
    -[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(Impostor& node) +[more]virtual void apply(PagedLOD& node)
    -[more]virtual void apply(ClearNode& node) +[more]virtual void apply(Impostor& node)
    -[more]virtual void apply(OccluderNode& node) +[more]virtual void apply(ClearNode& node) +
    +[more]virtual void apply(OccluderNode& node) +
    +[more]void setDatabaseRequestHandler(DatabaseRequestHandler* handler) +
    Set the handler for database requests +
    +[more]DatabaseRequestHandler* getDatabaseRequestHandler() +
    Get the handler for database requests +
    +[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

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

    @@ -207,63 +234,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. @@ -271,39 +298,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 @@ -316,12 +343,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 @@ -330,12 +357,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. @@ -345,8 +372,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() @@ -354,12 +381,31 @@ 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 +automatic memory handling. If you own data isn't directly +subclassed from Referenced then create and adapter object +which points to your own objects and handles the memory addressing. +

    + + +

    oinline Referenced* getUserData() +
    Get user data +

    + + +

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

    - +

    oinline void traverse(Node& node)
    Method for handling traversal of a nodes. If you intend to use the visitor for actively traversing @@ -367,7 +413,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, @@ -378,7 +424,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(). @@ -386,142 +432,169 @@ 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 bool getLocalToWorldMatrix(Matrix& matrix, Node* node)
    Get the Local To World Matrix from the NodePath for specified Transform::Mode, and u

    - +

    ovirtual bool getWorldToLocalMatrix(Matrix& matrix, Node* node)
    Get the World To Local Matrix from the NodePath for specified Transform::Mode

    - +

    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


    Direct child classes: diff --git a/doc/doc++/osg/NotifySeverity.html b/doc/doc++/osg/NotifySeverity.html index 2d5dbee66..955ed5566 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 56d9160ee..2c7ad4ad7 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 1acbbfd41..7e068b3d6 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

    @@ -66,6 +66,8 @@
    ovirtual bool addChild( Node* child )
    +ovirtual bool insertChild( unsigned int index, Node* child ) +
    ovirtual bool removeChild( Node* child )
    ovirtual bool removeChild(unsigned int pos, unsigned int numChildrenToRemove=1) @@ -85,14 +87,9 @@ oinline unsigned int getChildIndex( const Node* node ) const

    -

    -

    Public Members

    -otypedef std::vector<ref_ptr<Node> > ChildList -

    -

    Protected Fields

    -oChildList _children +oNodeList _children

    @@ -118,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)
    @@ -140,12 +137,6 @@
    oinline const NodeCallback* getUpdateCallback() const
    -ovoid setAppCallback(NodeCallback* nc) -
    -oinline NodeCallback* getAppCallback() -
    -oinline const NodeCallback* getAppCallback() const -
    oinline unsigned int getNumChildrenRequiringUpdateTraversal() const
    ovoid setCullCallback(NodeCallback* nc) @@ -166,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
    @@ -212,7 +203,7 @@
    ostd::string _name
    -oParentList _parents +oParentList _parents
    oref_ptr<NodeCallback> _updateCallback
    @@ -226,9 +217,9 @@
    ounsigned int _numChildrenWithOccluderNodes
    -oNodeMask _nodeMask +oNodeMask _nodeMask
    -oDescriptionList _descriptions +oDescriptionList _descriptions
    oref_ptr<StateSet> _stateset

    @@ -251,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)
    @@ -269,7 +260,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -311,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 new file mode 100644 index 000000000..573489ce4 --- /dev/null +++ b/doc/doc++/osg/PagedLOD.html @@ -0,0 +1,491 @@ + + + + + class SG_EXPORT osg::PagedLOD + + + + +

    class SG_EXPORT osg::PagedLOD

    PagedLOD
    +
    + +

    Inheritance:

    + + + + + + + +
    + +
    +

    +

    Public Methods

    +[more] PagedLOD() +
    +[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]virtual void traverse(NodeVisitor& nv) +
    +[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, const std::string& filename) +
    +[more]virtual bool removeChild(Node* child) +
    +[more]void setFileName(unsigned int childNo, const std::string& filename) +
    +[more]const std::string& getFileName(unsigned int childNo) const +
    +[more]inline unsigned int getNumFileNames() const +
    returns the number of filenames currently set. +
    +[more]inline FileNameList& getFileNameList() +
    return the list of filename +
    +[more]inline const FileNameList& getFileNameList() const +
    return the list of filename +
    +[more]void setTimeStamp(unsigned int childNo, double timeStamp) +
    +[more]double getTimeStamp(unsigned int childNo) const +
    +[more]inline unsigned int getNumTimeStamps() const +
    returns the number of filenames currently set. +
    +[more]inline TimeStampList& getTimeStampList() +
    return the list of time stamps +
    +[more]inline const TimeStampList& getTimeStampList() const +
    return the list of time stamps +
    +[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<double> TimeStampList +

    + +

    +

    Protected Fields

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

    + +

    +

    Protected Methods

    +[more]virtual ~PagedLOD() +

    + +
    +

    Inherited from LOD:

    +
    +

    +

    Public Methods

    +ovoid setCenterMode(CenterMode mode) +
    +oCenterMode getCenterMode() const +
    +oinline void setCenter(const Vec3& center) +
    +oinline const Vec3& getCenter() const +
    +ovoid setRange(unsigned int childNo, float min, float max) +
    +oinline float getMinRange(unsigned int childNo) const +
    +oinline float getMaxRange(unsigned int childNo) const +
    +oinline unsigned int getNumRanges() const +
    +oinline RangeList& getRangeList() +
    +oinline const RangeList& getRangeList() const +

    + +

    +

    Public Members

    +otypedef std::pair<float,float> MinMaxPair +
    +otypedef std::vector<MinMaxPair> RangeList +
    +oenum CenterMode +

    + +

    +

    Protected Fields

    +oCenterMode _centerMode +
    +oVec3 _userDefinedCenter +
    +oRangeList _rangeList +

    + +
    +

    Inherited from Group:

    +
    +

    +

    Public Methods

    +ovirtual Group* asGroup() +
    +ovirtual const Group* asGroup() const +
    +ovirtual bool insertChild( unsigned int index, Node* child ) +
    +ovirtual bool replaceChild( Node* origChild, Node* newChild ) +
    +oinline unsigned int getNumChildren() const +
    +ovirtual bool setChild( unsigned int i, Node* node ) +
    +oinline Node* getChild( unsigned int i ) +
    +oinline const Node* getChild( unsigned int i ) const +
    +oinline bool containsNode( const Node* node ) const +
    +oinline unsigned int getChildIndex( const Node* node ) const +

    + +

    +

    Protected Fields

    +oNodeList _children +

    + +

    +

    Protected Methods

    +ovirtual bool computeBound() const +

    + +
    +

    Inherited from Node:

    +
    +

    +

    Public Methods

    +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 Transform* asTransform() +
    +ovirtual const Transform* asTransform() const +
    +ovirtual void accept(NodeVisitor& nv) +
    +ovirtual void ascend(NodeVisitor& nv) +
    +oinline void setName( const std::string& name ) +
    +oinline void setName( const char* name ) +
    +oinline const std::string& getName() const +
    +oinline const ParentList& getParents() const +
    +oinline ParentList getParents() +
    +oinline Group* getParent(unsigned int i) +
    +oinline const Group* getParent(unsigned int i) const +
    +oinline unsigned int getNumParents() const +
    +ovoid setUpdateCallback(NodeCallback* nc) +
    +oinline NodeCallback* getUpdateCallback() +
    +oinline const NodeCallback* getUpdateCallback() const +
    +oinline unsigned int getNumChildrenRequiringUpdateTraversal() const +
    +ovoid setCullCallback(NodeCallback* nc) +
    +oinline NodeCallback* getCullCallback() +
    +oinline const NodeCallback* getCullCallback() const +
    +ovoid setCullingActive(bool active) +
    +oinline bool getCullingActive() const +
    +oinline unsigned int getNumChildrenWithCullingDisabled() const +
    +oinline bool isCullingActive() const +
    +oinline unsigned int getNumChildrenWithOccluderNodes() const +
    +obool containsOccluderNodes() const +
    +oinline void setNodeMask(NodeMask nm) +
    +oinline NodeMask getNodeMask() const +
    +oinline const DescriptionList& getDescriptions() const +
    +oinline DescriptionList& getDescriptions() +
    +oinline const std::string& getDescription(unsigned int i) const +
    +oinline std::string& getDescription(unsigned int i) +
    +oinline unsigned int getNumDescriptions() const +
    +ovoid addDescription(const std::string& desc) +
    +oinline void setStateSet(osg::StateSet* dstate) +
    +oosg::StateSet* getOrCreateStateSet() +
    +oinline osg::StateSet* getStateSet() +
    +oinline const osg::StateSet* getStateSet() const +
    +oinline const BoundingSphere& getBound() const +
    +ovoid dirtyBound() +

    + +

    +

    Public Members

    +otypedef std::vector<Group*> ParentList +
    +otypedef unsigned int NodeMask +
    +otypedef std::vector<std::string> DescriptionList +

    + +

    +

    Protected Fields

    +omutable BoundingSphere _bsphere +
    +omutable bool _bsphere_computed +
    +ostd::string _name +
    +oParentList _parents +
    +oref_ptr<NodeCallback> _updateCallback +
    +ounsigned int _numChildrenRequiringUpdateTraversal +
    +oref_ptr<NodeCallback> _cullCallback +
    +obool _cullingActive +
    +ounsigned int _numChildrenWithCullingDisabled +
    +ounsigned int _numChildrenWithOccluderNodes +
    +oNodeMask _nodeMask +
    +oDescriptionList _descriptions +
    +oref_ptr<StateSet> _stateset +

    + +

    +

    Protected Methods

    +ovoid addParent(osg::Group* node) +
    +ovoid removeParent(osg::Group* node) +
    +ovoid setNumChildrenRequiringUpdateTraversal(unsigned int num) +
    +ovoid setNumChildrenWithCullingDisabled(unsigned int num) +
    +ovoid setNumChildrenWithOccluderNodes(unsigned int num) +

    + +
    +

    Inherited from Object:

    +
    +

    +

    Public Methods

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

    + +

    +

    Public Members

    +oenum DataVariance +

    + +

    +

    Protected Fields

    +oDataVariance _dataVariance +
    +oref_ptr<Referenced> _userData +

    + +
    +

    Inherited from Referenced:

    +
    +

    +

    Public Methods

    +oinline Referenced& operator = (Referenced&) +
    +ostatic void setDeleteHandler(DeleteHandler* handler) +
    +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const +
    +oinline void unref_nodelete() const +
    +oinline int referenceCount() const +
    +oinline void unref() const +

    + +

    +

    Protected Fields

    +omutable int _refCount +

    + +
    + + +
    +

    Documentation

    +
    PagedLOD
    +
    + + + +
    o PagedLOD() +

    + + +

    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() +
    return the list of filename +

    + + +

    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() +
    return the list of time stamps +

    + + +

    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 +

    + + +

    oTimeStampList _timeStampList +

    + +
    This class has no child classes.
    + +

    Alphabetic index HTML hierarchy of classes or Java


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/Plane.html b/doc/doc++/osg/Plane.html index 724466ff7..89af4a6f2 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 2b8cb362f..b1cf7248f 100644 --- a/doc/doc++/osg/Point.html +++ b/doc/doc++/osg/Point.html @@ -23,47 +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]virtual void apply(State& state) const +[more]void setMinSize(float minSize)
    -[more]static void init_GL_EXT() +[more]inline float getMinSize() const +
    +[more]void setMaxSize(float maxSize) +
    +[more]inline float getMaxSize() const +
    +[more]virtual void apply(State& state) const +
    +[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 _maxSize

    Protected Methods

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

    @@ -81,7 +93,7 @@
    ovirtual const char* className() const
    -ovirtual Type getType() const +ovirtual Type getType() const
    ovirtual bool isTextureAttribute() const
    @@ -114,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)
    @@ -132,7 +144,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -171,74 +183,98 @@
    - +
    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


    This class has no child classes.
    diff --git a/doc/doc++/osg/PolygonMode.html b/doc/doc++/osg/PolygonMode.html index d3b282400..75e362341 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 7204aee9e..af4c4364d 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 61dc9e9e8..0dc0366ce 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 74da36179..6c1563196 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 b800e5af2..0a6bebba8 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

    @@ -128,6 +128,8 @@
    ovirtual bool addChild( Node* child )
    +ovirtual bool insertChild( unsigned int index, Node* child ) +
    ovirtual bool removeChild( Node* child )
    ovirtual bool removeChild(unsigned int pos, unsigned int numChildrenToRemove=1) @@ -147,14 +149,9 @@ oinline unsigned int getChildIndex( const Node* node ) const

    -

    -

    Public Members

    -otypedef std::vector<ref_ptr<Node> > ChildList -

    -

    Protected Fields

    -oChildList _children +oNodeList _children

    @@ -176,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)
    @@ -198,12 +195,6 @@
    oinline const NodeCallback* getUpdateCallback() const
    -ovoid setAppCallback(NodeCallback* nc) -
    -oinline NodeCallback* getAppCallback() -
    -oinline const NodeCallback* getAppCallback() const -
    oinline unsigned int getNumChildrenRequiringUpdateTraversal() const
    ovoid setCullCallback(NodeCallback* nc) @@ -224,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
    @@ -270,7 +261,7 @@
    ostd::string _name
    -oParentList _parents +oParentList _parents
    oref_ptr<NodeCallback> _updateCallback
    @@ -284,9 +275,9 @@
    ounsigned int _numChildrenWithOccluderNodes
    -oNodeMask _nodeMask +oNodeMask _nodeMask
    -oDescriptionList _descriptions +oDescriptionList _descriptions
    oref_ptr<StateSet> _stateset

    @@ -309,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)
    @@ -327,7 +318,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -367,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 b682cad95..49d594675 100644 --- a/doc/doc++/osg/PrimitiveFunctor.html +++ b/doc/doc++/osg/PrimitiveFunctor.html @@ -9,38 +9,40 @@

    class PrimitiveFunctor


    -

    Inheritance:

    - - - - - - - -
    -

    Public Methods

    -[more]virtual ~PrimitiveFunctor() +[more]virtual ~PrimitiveFunctor()
    -[more]virtual void setVertexArray(unsigned int count, const Vec3* vertices) = 0 +[more]virtual void setVertexArray(unsigned int count, const Vec2* vertices) = 0
    -[more]virtual void drawArrays(GLenum mode, GLint first, GLsizei count) = 0 +[more]virtual void setVertexArray(unsigned int count, const Vec3* vertices) = 0
    -[more]virtual void drawElements(GLenum mode, GLsizei count, const GLubyte* indices) = 0 +[more]virtual void setVertexArray(unsigned int count, const Vec4* vertices) = 0
    -[more]virtual void drawElements(GLenum mode, GLsizei count, const GLushort* indices) = 0 +[more]virtual void drawArrays(GLenum mode, GLint first, GLsizei count) = 0
    -[more]virtual void drawElements(GLenum mode, GLsizei count, const GLuint* indices) = 0 +[more]virtual void drawElements(GLenum mode, GLsizei count, const GLubyte* indices) = 0
    -[more]virtual void begin(GLenum mode) = 0 +[more]virtual void drawElements(GLenum mode, GLsizei count, const GLushort* indices) = 0
    -[more]virtual void vertex(const Vec3& vert) = 0 +[more]virtual void drawElements(GLenum mode, GLsizei count, const GLuint* indices) = 0
    -[more]virtual void vertex(float x, float y, float z) = 0 +[more]virtual void begin(GLenum mode) = 0
    -[more]virtual void end() = 0 +[more]virtual void vertex(const Vec2& vert) = 0 +
    +[more]virtual void vertex(const Vec3& vert) = 0 +
    +[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, float z) = 0 +
    +[more]virtual void vertex(float x, float y, float z, float w) = 0 +
    +[more]virtual void end() = 0

    @@ -51,49 +53,71 @@
    - +
    ovirtual ~PrimitiveFunctor()

    - + +

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

    + +

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

    + + +

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

    - -

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

    - +

    ovirtual void drawElements(GLenum mode, GLsizei count, const GLubyte* 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 begin(GLenum mode) = 0

    - + +

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

    + +

    ovirtual void vertex(const Vec3& vert) = 0

    - -

    ovirtual void vertex(float x, float y, float z) = 0 + +
    ovirtual void vertex(const Vec4& vert) = 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, float w) = 0

    - +

    ovirtual void end() = 0

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

    Alphabetic index HTML hierarchy of classes or Java



    diff --git a/doc/doc++/osg/PrimitiveSet.html b/doc/doc++/osg/PrimitiveSet.html index 47b7d982e..2e64b56a6 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 951474e59..9c87f7978 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()

    @@ -68,6 +68,8 @@
    ovirtual bool addChild( Node* child )
    +ovirtual bool insertChild( unsigned int index, Node* child ) +
    ovirtual bool removeChild( Node* child )
    ovirtual bool removeChild(unsigned int pos, unsigned int numChildrenToRemove=1) @@ -87,14 +89,9 @@ oinline unsigned int getChildIndex( const Node* node ) const

    -

    -

    Public Members

    -otypedef std::vector<ref_ptr<Node> > ChildList -

    -

    Protected Fields

    -oChildList _children +oNodeList _children

    @@ -125,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)
    @@ -147,12 +144,6 @@
    oinline const NodeCallback* getUpdateCallback() const
    -ovoid setAppCallback(NodeCallback* nc) -
    -oinline NodeCallback* getAppCallback() -
    -oinline const NodeCallback* getAppCallback() const -
    oinline unsigned int getNumChildrenRequiringUpdateTraversal() const
    ovoid setCullCallback(NodeCallback* nc) @@ -173,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
    @@ -219,7 +210,7 @@
    ostd::string _name
    -oParentList _parents +oParentList _parents
    oref_ptr<NodeCallback> _updateCallback
    @@ -233,9 +224,9 @@
    ounsigned int _numChildrenWithOccluderNodes
    -oNodeMask _nodeMask +oNodeMask _nodeMask
    -oDescriptionList _descriptions +oDescriptionList _descriptions
    oref_ptr<StateSet> _stateset

    @@ -258,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)
    @@ -276,7 +267,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -315,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 4dc4a94be..4735459c6 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 3ef3dcfbe..b9a6b09fb 100644 --- a/doc/doc++/osg/Quat.html +++ b/doc/doc++/osg/Quat.html @@ -13,130 +13,136 @@

    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 Vec4& asVec4() +[more]inline bool operator == (const Quat& rhs) const
    -[more]inline const Vec4& asVec4() const +[more]inline bool operator != (const Quat& rhs) const
    -[more]inline const Vec3 asVec3() const +[more]inline bool operator < (const Quat& rhs) const
    -[more]inline void set(float x, float y, float z, float w) +[more]inline Vec4& asVec4()
    -[more]inline void set(const osg::Vec4& v) +[more]inline const Vec4& asVec4() const
    -[more]inline float& operator [] (int i) +[more]inline const Vec3 asVec3() const
    -[more]inline float operator [] (int i) const +[more]inline void set(float x, float y, float z, float w)
    -[more]inline float& x() +[more]inline void set(const osg::Vec4& v)
    -[more]inline float& y() +[more]inline float& operator [] (int i)
    -[more]inline float& z() +[more]inline float operator [] (int i) const
    -[more]inline float& w() +[more]inline float& x()
    -[more]inline float x() const +[more]inline float& y()
    -[more]inline float y() const +[more]inline float& z()
    -[more]inline float z() const +[more]inline float& w()
    -[more]inline float w() const +[more]inline float x() const
    -[more]bool zeroRotation() const +[more]inline float y() const +
    +[more]inline float z() const +
    +[more]inline float w() 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.
    -[more]void set( const Matrix& m ) +[more]void set( const Matrix& m )
    Set quaternion to be equivalent to specified matrix
    -[more]void get( Matrix& m ) const +[more]void get( Matrix& m ) const
    Get the equivalent matrix for this quaternion
    -[more]Matrix getMatrix() const +[more]Matrix getMatrix() const
    Get the equivalent matrix for this quaternion

    @@ -149,194 +155,206 @@
    - +
    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)

    - +

    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 @@ -345,33 +363,33 @@ 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) + +
    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".

    - +

    ovoid set( const Matrix& m )
    Set quaternion to be equivalent to specified matrix

    - +

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

    - +

    oMatrix getMatrix() const
    Get the equivalent matrix for this quaternion

    diff --git a/doc/doc++/osg/RefMatrix.html b/doc/doc++/osg/RefMatrix.html index 84f524b2d..5c535dbc5 100644 --- a/doc/doc++/osg/RefMatrix.html +++ b/doc/doc++/osg/RefMatrix.html @@ -22,30 +22,30 @@

    Public Methods

    -[more] RefMatrix() +[more] RefMatrix()
    -[more] RefMatrix( const Matrix& other) +[more] RefMatrix( const Matrix& other)
    -[more] RefMatrix( const RefMatrix& other) +[more] RefMatrix( const RefMatrix& other)
    -[more]explicit RefMatrix( float const* const def ) +[more]explicit RefMatrix( float const* const def )
    -[more] RefMatrix( float a00, float a01, float a02, float a03, float a10, float a11, float a12, float a13, float a20, float a21, float a22, float a23, float a30, float a31, float a32, float a33) +[more] RefMatrix( float a00, float a01, float a02, float a03, float a10, float a11, float a12, float a13, float a20, float a21, float a22, float a23, float a30, float a31, float a32, float a33)
    -[more]virtual Object* cloneType() const +[more]virtual Object* cloneType() const
    -[more]virtual Object* clone(const CopyOp&) const +[more]virtual Object* clone(const CopyOp&) const
    -[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
    -[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
    -[more]virtual const char* className() const +[more]virtual const char* className() const

    Protected Methods

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

    @@ -53,9 +53,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)
    @@ -71,7 +71,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -124,7 +124,7 @@
    oinline void set(const Matrix& other)
    -oinline void set(float const* const ptr) +oinline void set(float const* const ptr)
    ovoid set( float a00, float a01, float a02, float a03, float a10, float a11, float a12, float a13, float a20, float a21, float a22, float a23, float a30, float a31, float a32, float a33)
    @@ -144,21 +144,27 @@
    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) +ovoid makeOrtho(double left, double right, double bottom, double top, double zNear, double zFar)
    -oinline void makeOrtho2D(double left, double right, double bottom, double top) +ovoid getOrtho(double& left, double& right, double& bottom, double& top, double& zNear, double& zFar)
    -ovoid makeFrustum(double left, double right, double bottom, double top, double zNear, double zFar) +oinline void makeOrtho2D(double left, double right, double bottom, double top)
    -ovoid makePerspective(double fovy, double aspectRatio, double zNear, double zFar) +ovoid makeFrustum(double left, double right, double bottom, double top, double zNear, double zFar)
    -ovoid makeLookAt(const Vec3& eye, const Vec3& center, const Vec3& up) +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 makeLookAt(const Vec3& eye, const Vec3& center, const Vec3& up) +
    +ovoid getLookAt(Vec3& eye, Vec3& center, Vec3& up, float lookDistance=1.0f)
    obool invert( const Matrix& )
    @@ -170,11 +176,11 @@
    oinline static Matrix translate( const Vec3& dv)
    -oinline static Matrix translate( float x, float y, float z) +oinline static Matrix translate( float x, float y, float z)
    oinline static Matrix rotate( const Vec3& from, const Vec3& to)
    -oinline static Matrix rotate( float angle, float x, float y, float z) +oinline static Matrix rotate( float angle, float x, float y, float z)
    oinline static Matrix rotate( float angle, const Vec3& axis)
    @@ -184,15 +190,15 @@
    oinline static Matrix inverse( const Matrix& matrix)
    -oinline static Matrix ortho(double left, double right, double bottom, double top, double zNear, double zFar) +oinline static Matrix ortho(double left, double right, double bottom, double top, double zNear, double zFar)
    -oinline static Matrix ortho2D(double left, double right, double bottom, double top) +oinline static Matrix ortho2D(double left, double right, double bottom, double top)
    -oinline static Matrix frustum(double left, double right, double bottom, double top, double zNear, double zFar) +oinline static Matrix frustum(double left, double right, double bottom, double top, double zNear, double zFar)
    -oinline static Matrix perspective(double fovy, double aspectRatio, double zNear, double zFar) +oinline static Matrix perspective(double fovy, double aspectRatio, double zNear, double zFar)
    -oinline static Matrix lookAt(const Vec3& eye, const Vec3& center, const Vec3& up) +oinline static Matrix lookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
    ovoid setTrans( float tx, float ty, float tz )
    @@ -228,7 +234,7 @@
    oinline Matrix rotate( const Quat& q )
    -oinline Matrix rotate(float angle, float x, float y, float z ) +oinline Matrix rotate(float angle, float x, float y, float z )
    oinline Matrix rotate(float angle, const Vec3& axis )
    @@ -238,15 +244,15 @@
    oinline Matrix inverse( const Matrix& matrix)
    -oinline Matrix ortho(double left, double right, double bottom, double top, double zNear, double zFar) +oinline Matrix ortho(double left, double right, double bottom, double top, double zNear, double zFar)
    -oinline Matrix ortho2D(double left, double right, double bottom, double top) +oinline Matrix ortho2D(double left, double right, double bottom, double top)
    -oinline Matrix frustum(double left, double right, double bottom, double top, double zNear, double zFar) +oinline Matrix frustum(double left, double right, double bottom, double top, double zNear, double zFar)
    -oinline Matrix perspective(double fovy, double aspectRatio, double zNear, double zFar) +oinline Matrix perspective(double fovy, double aspectRatio, double zNear, double zFar)
    -oinline Matrix lookAt(const Vec3& eye, const Vec3& center, const Vec3& up) +oinline Matrix lookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
    oinline Vec3 postMult( const Vec3& v ) const
    @@ -278,47 +284,47 @@
    - +
    o RefMatrix()

    - +

    o RefMatrix( const Matrix& other)

    - -

    o RefMatrix( const RefMatrix& other) + +
    o RefMatrix( const RefMatrix& other)

    - +

    oexplicit RefMatrix( float const* const def )

    - +

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

    - +

    ovirtual Object* cloneType() const

    - +

    ovirtual Object* clone(const CopyOp&) const

    - +

    ovirtual bool isSameKindAs(const Object* obj) const

    - +

    ovirtual const char* libraryName() const

    - +

    ovirtual const char* className() const

    - +

    ovirtual ~RefMatrix()

    diff --git a/doc/doc++/osg/Referenced.html b/doc/doc++/osg/Referenced.html index 89e5a0a01..aaea34325 100644 --- a/doc/doc++/osg/Referenced.html +++ b/doc/doc++/osg/Referenced.html @@ -11,11 +11,11 @@

    Inheritance:

    - - - - - + + + + +
    @@ -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 @@ -129,24 +129,28 @@ is no longer referenced and is automatically deleted.
    Direct child classes:
    Test
    -Extensions
    +Extensions
    SubloadCallback
    SubloadCallback
    -Extensions
    +Extensions
    SubloadCallback
    -Extensions
    +Extensions
    SubloadCallback
    SubloadCallback
    -Extensions
    +TextureObjectManager
    +TextureObject
    +Extensions
    State
    Object
    +DatabaseRequestHandler
    NodeVisitor
    LineSegment
    ImpostorSpriteManager
    FrameStamp
    +Extensions
    +Extensions
    DisplaySettings
    CullingSet
    -Camera
    Friends:
    class DeleteHandler

    Alphabetic index HTML hierarchy of classes or Java


    diff --git a/doc/doc++/osg/Sequence.html b/doc/doc++/osg/Sequence.html index d13ab7a06..412c68326 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()

    @@ -111,6 +111,8 @@
    ovirtual bool addChild( Node* child )
    +ovirtual bool insertChild( unsigned int index, Node* child ) +
    ovirtual bool removeChild( Node* child )
    ovirtual bool removeChild(unsigned int pos, unsigned int numChildrenToRemove=1) @@ -130,14 +132,9 @@ oinline unsigned int getChildIndex( const Node* node ) const

    -

    -

    Public Members

    -otypedef std::vector<ref_ptr<Node> > ChildList -

    -

    Protected Fields

    -oChildList _children +oNodeList _children

    @@ -168,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)
    @@ -190,12 +187,6 @@
    oinline const NodeCallback* getUpdateCallback() const
    -ovoid setAppCallback(NodeCallback* nc) -
    -oinline NodeCallback* getAppCallback() -
    -oinline const NodeCallback* getAppCallback() const -
    oinline unsigned int getNumChildrenRequiringUpdateTraversal() const
    ovoid setCullCallback(NodeCallback* nc) @@ -216,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
    @@ -262,7 +253,7 @@
    ostd::string _name
    -oParentList _parents +oParentList _parents
    oref_ptr<NodeCallback> _updateCallback
    @@ -276,9 +267,9 @@
    ounsigned int _numChildrenWithOccluderNodes
    -oNodeMask _nodeMask +oNodeMask _nodeMask
    -oDescriptionList _descriptions +oDescriptionList _descriptions
    oref_ptr<StateSet> _stateset

    @@ -301,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)
    @@ -319,7 +310,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -359,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) + +
    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 fb0d22d45..12142c3b5 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 4e175b488..8516c52d1 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 1ed6254ca..b1d038909 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 a816c2088..b3aab5c8f 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) +[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

    @@ -95,9 +95,9 @@
    ovirtual const Geometry* asGeometry() const
    -oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
    -oinline ParentList getParents() +oinline ParentList getParents()
    oinline Node* getParent(unsigned int i)
    @@ -131,35 +131,41 @@
    oinline bool getUseDisplayList() const
    +ovoid setUseVertexBufferObjects(bool flag) +
    +oinline bool getUseVertexBufferObjects() const +
    ovoid dirtyDisplayList()
    ovirtual void compile(State& state) const
    -ovoid setUpdateCallback(UpdateCallback* ac) +ovoid setUpdateCallback(UpdateCallback* ac)
    -oUpdateCallback* getUpdateCallback() +oUpdateCallback* getUpdateCallback()
    -ovoid setAppCallback(AppCallback* ac) +ovoid setCullCallback(CullCallback* cc)
    -oAppCallback* getAppCallback() +oCullCallback* getCullCallback()
    -oconst AppCallback* getAppCallback() const +oconst CullCallback* getCullCallback() const
    -ovoid setCullCallback(CullCallback* cc) +ovoid setDrawCallback(DrawCallback* dc)
    -oCullCallback* getCullCallback() +oDrawCallback* getDrawCallback()
    -oconst CullCallback* getCullCallback() const -
    -ovoid setDrawCallback(DrawCallback* dc) -
    -oDrawCallback* getDrawCallback() -
    -oconst DrawCallback* getDrawCallback() const +oconst DrawCallback* getDrawCallback() const
    ostatic void deleteDisplayList(unsigned int contextID, GLuint globj)
    -ostatic void flushDeletedDisplayLists(unsigned int contextID) +ostatic void flushDeletedDisplayLists(unsigned int contextID, double currentTime, double& availableTime) +
    +ostatic void deleteVertexBufferObject(unsigned int contextID, GLuint globj) +
    +ostatic void flushDeletedVertexBufferObjects(unsigned int contextID, double currentTime, double& availableTime) +
    +ostatic Extensions* getExtensions(unsigned int contextID, bool createIfNotInitalized) +
    +ostatic void setExtensions(unsigned int contextID, Extensions* extensions)
    oinline void draw(State& state) const

    @@ -170,24 +176,27 @@
    ostruct UpdateCallback: public virtual osg::Referenced
    -ostruct AppCallback: public UpdateCallback -
    ostruct CullCallback: public virtual osg::Referenced
    ostruct DrawCallback: public virtual osg::Referenced
    -oenum AttributeType +otypedef unsigned int AttributeType +
    +oenum AttributeTypes
    class AttributeFunctor
    class ConstAttributeFunctor
    class PrimitiveFunctor +
    +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

    Protected Fields

    -oParentList _parents +oParentList _parents
    oref_ptr<StateSet> _stateset
    @@ -201,13 +210,19 @@ class PrimitiveFunctor
    obool _useDisplayList
    -omutable GLObjectList _globjList +obool _supportsVertexBufferObjects
    -oref_ptr<UpdateCallback> _updateCallback +obool _useVertexBufferObjects
    -oref_ptr<DrawCallback> _drawCallback +omutable GLObjectList _globjList
    -oref_ptr<CullCallback> _cullCallback +omutable GLObjectList _vboList +
    +oref_ptr<UpdateCallback> _updateCallback +
    +oref_ptr<DrawCallback> _drawCallback +
    +oref_ptr<CullCallback> _cullCallback

    @@ -229,9 +244,9 @@ class PrimitiveFunctor

    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)
    @@ -247,7 +262,7 @@ class PrimitiveFunctor

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -283,110 +298,110 @@ class PrimitiveFunctor
    - +
    o ShapeDrawable()

    - -

    o ShapeDrawable(Shape* shape) + +
    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 a8e385114..6da5ecc9f 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 6ee73e62e..92a877aa1 100644 --- a/doc/doc++/osg/Sphere.html +++ b/doc/doc++/osg/Sphere.html @@ -22,35 +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)() const +[more] META_Shape(osg, Sphere)
    -[more]inline void set(const Vec3& center, float radius) +[more]inline bool valid() const
    -[more]inline void setCenter(const Vec3& center) +[more]inline void set(const Vec3& center, float radius)
    -[more]inline const Vec3& getCenter() const +[more]inline void setCenter(const Vec3& center)
    -[more]inline void setRadius(float radius) +[more]inline const Vec3& getCenter() const
    -[more]inline float getRadius() const +[more]inline void setRadius(float radius) +
    +[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()

    @@ -78,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)
    @@ -96,7 +98,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -134,51 +136,55 @@
    - +
    o Sphere()

    - -

    o Sphere(const osg::Vec3& center, float radius) + +
    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)

    - - -

    oMETA_Shape (osg, Sphere)() const + + +
    o META_Shape(osg, Sphere) +

    + + +

    oinline bool valid() const

    - -

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

    - -

    oinline void setCenter(const Vec3& center) + +
    oinline void setCenter(const Vec3& center)

    - +

    oinline const Vec3& getCenter() const

    - -

    oinline void setRadius(float radius) + +
    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 2636bbdf8..e692f7608 100644 --- a/doc/doc++/osg/State.html +++ b/doc/doc++/osg/State.html @@ -23,336 +23,366 @@

    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 void applyProjectionMatrix(const osg::RefMatrix* matrix) +[more]inline const Viewport* getCurrentViewport() const
    -[more]const osg::Matrix& getProjectionMatrix() const +[more]inline void setInitialViewMatrix(const osg::RefMatrix* matrix)
    -[more]inline void applyModelViewMatrix(const osg::RefMatrix* matrix) +[more]inline const osg::Matrix& getInitialViewMatrix() const
    -[more]const osg::Matrix& getModelViewMatrix() const +[more]inline void applyProjectionMatrix(const osg::RefMatrix* matrix)
    -[more]Polytope getViewFrustum() const +[more]inline const osg::Matrix& getProjectionMatrix() const
    -[more]void apply(const StateSet* dstate) +[more]inline void applyModelViewMatrix(const osg::RefMatrix* matrix) +
    +[more]const osg::Matrix& getModelViewMatrix() const +
    +[more]Polytope getViewFrustum() const +
    +[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]inline void setContextID(unsigned int contextID) +[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 ) +
    wrapper around DisableVertexAttribArrayARB(index); note, only updates values that change +
    +[more]void disableVertexAttribPointersAboveAndIncluding( unsigned int index ) +
    +[more]inline void dirtyVertexAttribPointersAboveAndIncluding( unsigned int index ) +
    +[more]bool isVertexBufferObjectSupported() const +
    +[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> _projection +[more]ref_ptr<const RefMatrix> _initialViewMatrix
    -[more]ref_ptr<const RefMatrix> _modelView +[more]ref_ptr<const RefMatrix> _projection
    -[more]ref_ptr<DisplaySettings> _displaySettings +[more]ref_ptr<const RefMatrix> _modelView
    -[more]bool* _abortRenderingPtr +[more]ref_ptr<DisplaySettings> _displaySettings
    -[more]bool _reportGLErrors +[more]bool* _abortRenderingPtr
    -[more]ModeMap _modeMap +[more]bool _reportGLErrors
    -[more]AttributeMap _attributeMap +[more]ModeMap _modeMap
    -[more]TextureModeMapList _textureModeMapList +[more]AttributeMap _attributeMap
    -[more]TextureAttributeMapList _textureAttributeMapList +[more]TextureModeMapList _textureModeMapList
    -[more]StateSetStack _drawStateStack +[more]TextureAttributeMapList _textureAttributeMapList
    -[more]EnabledArrayPair _vertexArray +[more]StateSetStack _drawStateStack
    -[more]EnabledArrayPair _normalArray +[more]EnabledArrayPair _vertexArray
    -[more]EnabledArrayPair _colorArray +[more]EnabledArrayPair _normalArray
    -[more]EnabledArrayPair _secondaryColorArray +[more]EnabledArrayPair _colorArray
    -[more]EnabledArrayPair _indexArray +[more]EnabledArrayPair _secondaryColorArray
    -[more]EnabledArrayPair _fogArray +[more]EnabledArrayPair _indexArray
    -[more]EnabledTexCoordArrayList _texCoordArrayList +[more]EnabledArrayPair _fogArray
    -[more]unsigned int _currentActiveTextureUnit +[more]EnabledTexCoordArrayList _texCoordArrayList
    -[more]unsigned int _currentClientActiveTextureUnit +[more]EnabledVertexAttribArrayList _vertexAttribArrayList
    -[more]mutable bool _isSecondColorSupportResolved +[more]unsigned int _currentActiveTextureUnit
    -[more]mutable bool _isSecondColorSupported +[more]unsigned int _currentClientActiveTextureUnit
    -[more]mutable bool _isFogCoordSupportResolved +[more]mutable bool _isSecondaryColorSupportResolved
    -[more]mutable bool _isFogCoordSupported +[more]mutable bool _isSecondaryColorSupported +
    +[more]mutable bool _isFogCoordSupportResolved +
    +[more]mutable bool _isFogCoordSupported +
    +[more]mutable bool _isVertexBufferObjectSupportResolved +
    +[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

    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

    @@ -390,95 +420,107 @@ 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 +

    + + +

    oinline void setInitialViewMatrix(const osg::RefMatrix* matrix) +

    + + +

    oinline const osg::Matrix& getInitialViewMatrix() const +

    - +

    oinline void applyProjectionMatrix(const osg::RefMatrix* matrix)

    - -

    oconst osg::Matrix& getProjectionMatrix() const + +
    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 @@ -489,33 +531,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 @@ -526,184 +568,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 ) +
    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 @@ -717,379 +783,407 @@ 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

    - +

    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

    - -

    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

    - +

    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 _isSecondColorSupportResolved + + +
    omutable bool _isSecondaryColorSupportResolved

    - - -

    omutable bool _isSecondColorSupported + + +
    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 e8530a762..34ee8cb76 100644 --- a/doc/doc++/osg/StateAttribute.html +++ b/doc/doc++/osg/StateAttribute.html @@ -11,11 +11,11 @@

    Inheritance:

    - - - - - + + + + +
    @@ -23,74 +23,74 @@

    Public Methods

    -[more] StateAttribute() +[more] StateAttribute()
    -[more] StateAttribute(const StateAttribute& sa, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] StateAttribute(const StateAttribute& sa, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    -[more]virtual Object* cloneType() const = 0 +[more]virtual Object* cloneType() const = 0
    Clone the type of an attribute, with Object* return type.
    -[more]virtual Object* clone(const CopyOp&) const = 0 +[more]virtual Object* clone(const CopyOp&) const = 0
    Clone an attribute, with Object* return type.
    -[more]virtual bool isSameKindAs(const Object* obj) const +[more]virtual bool isSameKindAs(const Object* obj) const
    return true if this and obj are of the same kind of object
    -[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
    return the name of the attribute's library
    -[more]virtual const char* className() const +[more]virtual const char* className() const
    return the name of the attribute's class type
    -[more]virtual 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,247 +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 @@ -478,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()


    @@ -507,6 +511,7 @@ the current context and state. LightModel
    Light
    FrontFace
    +FragmentProgram
    Fog
    Depth
    CullFace
    diff --git a/doc/doc++/osg/StateSet.html b/doc/doc++/osg/StateSet.html index e8143d05e..e6e5fc7d3 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 44ea9bf65..e5a85dc64 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 440d219a7..8b917d925 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 292ad5c7a..f66d31e53 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 3302b2982..216db87ac 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 aa3aa5a93..24ddbf6b8 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 aa592f5c5..58544cbad 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 aaf3e0769..30e283b33 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()

    @@ -96,6 +96,8 @@
    ovirtual const Group* asGroup() const
    +ovirtual bool insertChild( unsigned int index, Node* child ) +
    ovirtual bool replaceChild( Node* origChild, Node* newChild )
    oinline unsigned int getNumChildren() const @@ -111,14 +113,9 @@ oinline unsigned int getChildIndex( const Node* node ) const

    -

    -

    Public Members

    -otypedef std::vector<ref_ptr<Node> > ChildList -

    -

    Protected Fields

    -oChildList _children +oNodeList _children

    @@ -149,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)
    @@ -171,12 +168,6 @@
    oinline const NodeCallback* getUpdateCallback() const
    -ovoid setAppCallback(NodeCallback* nc) -
    -oinline NodeCallback* getAppCallback() -
    -oinline const NodeCallback* getAppCallback() const -
    oinline unsigned int getNumChildrenRequiringUpdateTraversal() const
    ovoid setCullCallback(NodeCallback* nc) @@ -197,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
    @@ -243,7 +234,7 @@
    ostd::string _name
    -oParentList _parents +oParentList _parents
    oref_ptr<NodeCallback> _updateCallback
    @@ -257,9 +248,9 @@
    ounsigned int _numChildrenWithOccluderNodes
    -oNodeMask _nodeMask +oNodeMask _nodeMask
    -oDescriptionList _descriptions +oDescriptionList _descriptions
    oref_ptr<StateSet> _stateset

    @@ -282,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)
    @@ -300,7 +291,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -342,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 @@ -418,54 +409,54 @@ 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 SwitchType mode.
    Parameters:
    value - the number of the active child -(first child == number 0) or SwitchType. Invalid values +(first child == number 0) or SwitchType. Invalid values will be ignored.

    - +

    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 aaf0da7ac..342946cd8 100644 --- a/doc/doc++/osg/TemplateArray.html +++ b/doc/doc++/osg/TemplateArray.html @@ -7,7 +7,7 @@ -

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


    +

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


    Inheritance:

    @@ -28,9 +28,9 @@
    [more] TemplateArray(unsigned int no)
    -[more] TemplateArray(unsigned int no, T* ptr) +[more] TemplateArray(unsigned int no, T* ptr)
    -[more]template<class InputIterator> TemplateArray(InputIterator first, InputIterator last) +[more]template<class InputIterator> TemplateArray(InputIterator first, InputIterator last)
    [more]virtual Object* cloneType() const
    @@ -40,18 +40,20 @@
    [more]virtual void accept(ConstArrayVisitor& av) const
    -[more]virtual void accept(unsigned int index, ValueVisitor& vv) +[more]virtual void accept(unsigned int index, ValueVisitor& vv)
    -[more]virtual void accept(unsigned int index, ConstValueVisitor& vv) const +[more]virtual void accept(unsigned int index, ConstValueVisitor& vv) const
    [more]virtual const GLvoid* getDataPointer() const
    -[more]virtual unsigned int getNumElements() const +[more]virtual unsigned int getTotalDataSize() const +
    +[more]virtual unsigned int getNumElements() const

    Protected Methods

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

    @@ -91,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)
    @@ -109,7 +111,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -160,11 +162,11 @@

    -

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

    -

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

    @@ -184,22 +186,26 @@

    -

    ovirtual void accept(unsigned int index, ValueVisitor& vv) +
    ovirtual void accept(unsigned int index, ValueVisitor& vv)

    -

    ovirtual void accept(unsigned int index, ConstValueVisitor& vv) const +
    ovirtual void accept(unsigned int index, ConstValueVisitor& vv) const

    ovirtual const GLvoid* getDataPointer() const

    - + +

    ovirtual unsigned int getTotalDataSize() const +

    + +

    ovirtual unsigned int getNumElements() const

    - +

    ovirtual ~TemplateArray()

    diff --git a/doc/doc++/osg/TemplateIndexArray.html b/doc/doc++/osg/TemplateIndexArray.html index ca9f5f966..ec214b56b 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,9 +28,9 @@
    [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) +[more]template<class InputIterator> TemplateIndexArray(InputIterator first, InputIterator last)
    [more]virtual Object* cloneType() const
    @@ -40,20 +40,22 @@
    [more]virtual void accept(ConstArrayVisitor& av) const
    -[more]virtual void accept(unsigned int index, ValueVisitor& vv) +[more]virtual void accept(unsigned int index, ValueVisitor& vv)
    -[more]virtual void accept(unsigned int index, ConstValueVisitor& vv) const +[more]virtual void accept(unsigned int index, ConstValueVisitor& vv) const
    [more]virtual const GLvoid* getDataPointer() const
    -[more]virtual unsigned int getNumElements() const +[more]virtual unsigned int getTotalDataSize() const
    -[more]virtual unsigned int index(unsigned int pos) const +[more]virtual unsigned int getNumElements() const +
    +[more]virtual unsigned int index(unsigned int pos) const

    Protected Methods

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

    @@ -99,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)
    @@ -117,7 +119,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -168,11 +170,11 @@

    -

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

    -

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

    @@ -192,26 +194,30 @@

    -

    ovirtual void accept(unsigned int index, ValueVisitor& vv) +
    ovirtual void accept(unsigned int index, ValueVisitor& vv)

    -

    ovirtual void accept(unsigned int index, ConstValueVisitor& vv) const +
    ovirtual void accept(unsigned int index, ConstValueVisitor& vv) const

    ovirtual const GLvoid* getDataPointer() const

    - + +

    ovirtual unsigned int getTotalDataSize() const +

    + +

    ovirtual unsigned int getNumElements() const

    - +

    ovirtual unsigned int index(unsigned int pos) const

    - +

    ovirtual ~TemplateIndexArray()

    diff --git a/doc/doc++/osg/TessellationHints.html b/doc/doc++/osg/TessellationHints.html index 88b785533..a2738d2f0 100644 --- a/doc/doc++/osg/TessellationHints.html +++ b/doc/doc++/osg/TessellationHints.html @@ -22,73 +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 setTargetNumFaces(unsigned int target) +[more]inline void setDetailRatio(float ratio)
    -[more]inline unsigned int getTargetNumFaces() const +[more]inline float getDetailRatio() const
    -[more]inline void setCreateFrontFace(bool on) +[more]inline void setTargetNumFaces(unsigned int target)
    -[more]inline bool getCreateFrontFace() const +[more]inline unsigned int getTargetNumFaces() const
    -[more]inline void setCreateBackFace(bool on) +[more]inline void setCreateFrontFace(bool on)
    -[more]inline bool getCreateBackFace() const +[more]inline bool getCreateFrontFace() const
    -[more]inline void setCreateNormals(bool on) +[more]inline void setCreateBackFace(bool on)
    -[more]inline bool getCreateNormals() const +[more]inline bool getCreateBackFace() const
    -[more]inline void setCreateTextureCoords(bool on) +[more]inline void setCreateNormals(bool on)
    -[more]inline bool getCreateTextureCoords() const +[more]inline bool getCreateNormals() const
    -[more]inline void setCreateTop(bool on) +[more]inline void setCreateTextureCoords(bool on)
    -[more]inline bool getCreateTop() const +[more]inline bool getCreateTextureCoords() const
    -[more]inline void setCreateBody(bool on) +[more]inline void setCreateTop(bool on)
    -[more]inline bool getCreateBody() const +[more]inline bool getCreateTop() const
    -[more]inline void setCreateBottom(bool on) +[more]inline void setCreateBody(bool on)
    -[more]inline bool getCreateBottom() const +[more]inline bool getCreateBody() const +
    +[more]inline void setCreateBottom(bool on) +
    +[more]inline bool getCreateBottom() const +

    + +

    +

    Public Members

    +[more]enum TessellationMode

    Protected Fields

    -[more]TessellationMode _TessellationMode +[more]TessellationMode _TessellationMode
    -[more]unsigned int _targetNumFaces +[more]float _detailRatio
    -[more]bool _createFrontFace +[more]unsigned int _targetNumFaces
    -[more]bool _createBackFace +[more]bool _createFrontFace
    -[more]bool _createNormals +[more]bool _createBackFace
    -[more]bool _createTextureCoords +[more]bool _createNormals
    -[more]bool _createTop +[more]bool _createTextureCoords
    -[more]bool _createBody +[more]bool _createTop
    -[more]bool _createBottom +[more]bool _createBody +
    +[more]bool _createBottom

    Protected Methods

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

    @@ -106,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)
    @@ -124,7 +135,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -162,127 +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 cdf372645..7c5a93789 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 1d2d479c8..9ba5a2180 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 e5d08bd3f..5db060282 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 c089796dd..08918162d 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 512ccfa21..359fd6d18 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,8 +47,8 @@ run which prevents the component from being tested
    - -
    o TestErrorX(const std::string& s) + +
    o TestErrorX(const std::string& s)


    This class has no child classes.
    diff --git a/doc/doc++/osg/TestFailureX.html b/doc/doc++/osg/TestFailureX.html index aa579ecd6..bd5172073 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,8 +44,8 @@ A TestFailureX indicates a failure in the tested component
    - -
    o TestFailureX(const std::string& s) + +
    o TestFailureX(const std::string& s)


    This class has no child classes.
    diff --git a/doc/doc++/osg/TestGraph.html b/doc/doc++/osg/TestGraph.html index 9f8a5193e..5655be7df 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,10 +62,10 @@ 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). -
    createIfNecessary - Optionally create the TestSuite(s) denoted by path if +
    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.


    This class has no child classes.
    diff --git a/doc/doc++/osg/TestQualifier.html b/doc/doc++/osg/TestQualifier.html index 4dddc82be..be457d29c 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 ad835c069..5080a30b5 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) + +
    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 773a2af29..9868134cc 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,8 +30,8 @@ e.g. text, XML, CSV
    - -
    oTestRecord& createRecord(const std::string& s) + +
    oTestRecord& createRecord(const std::string& s)


    This class has no child classes.
    diff --git a/doc/doc++/osg/TestRunner.html b/doc/doc++/osg/TestRunner.html index ad7a4dfed..a1ab94e30 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 c8e1b7246..869a7ec97 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 46db77a83..5b0f478ae 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 7ad0a02c2..c8332b403 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 277a6da3c..d3f99aab8 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) + +
    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 d50b8077e..6fdca4a25 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 c05a3c46f..886b82fc5 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 1a8b55804..723d03ad8 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 3297180fd..31a6be29f 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 775ca30ee..cd483190b 100644 --- a/doc/doc++/osg/Texture.html +++ b/doc/doc++/osg/Texture.html @@ -21,180 +21,199 @@
    +

    +

    Public Fields

    +[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 GLuint& 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]inline unsigned int& getTextureParameterDirty(unsigned int contextID) const -
    get the dirty flag for the current contextID -
    -[more]void dirtyTextureObject() +[more]void dirtyTextureObject()
    Force a recompile on next apply() of associated OpenGL texture objects
    -[more]void dirtyTextureParameters() +[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 +
    get the dirty flag for the current contextID +
    +[more]void dirtyTextureParameters()
    Force a resetting on next apply() of associated OpenGL texture parameters
    -[more]static void deleteTextureObject(unsigned int contextID, GLuint handle) -
    use deleteTextureObject instead of glDeleteTextures to allow OpenGL texture objects to cached until they can be deleted by the OpenGL context in which they were created, specified by contextID -
    -[more]static void flushDeletedTextureObjects(unsigned int contextID) -
    flush all the cached display list which need to be deleted in the OpenGL context related to contextID -
    -[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(GLenum target, const Image* image, State& state, GLsizei& width, GLsizei& height, GLsizei& numMimpmapLevels) 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(GLenum target, const Image* image, State& state, GLsizei& width, GLsizei& height, GLsizei& numMimpmapLevels) 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) +
    take the active texture objects from the Texture and place them in the specified TextureObjectListMap +
    +[more]static void setTextureObjectManager(TextureObjectManager* tom) +
    +[more]static TextureObjectManager* getTextureObjectManager() +
    +[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 +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::map<unsigned int, TextureObjectList > TextureObjectListMap +
    +[more]typedef buffered_object< ref_ptr<TextureObject> > TextureObjectBuffer +
    +class TextureObjectManager: public osg::Referenced

    Protected Fields

    -[more]mutable TextureNameList _handleList +[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]bool isCompressedInternalFormat(GLint internalFormat) const +[more]void computeRequiredTextureDimensions(State& state, const osg::Image& image, GLsizei& width, GLsizei& height, GLsizei& numMipmapLevels) const
    -[more]void applyTexParameters(GLenum target, State& state) const +[more]bool isCompressedInternalFormat(GLint internalFormat) 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<GLuint> TextureNameList -
    -[more]typedef buffered_value<unsigned int> TexParameterDirtyList +[more]typedef buffered_value<unsigned int> TexParameterDirtyList

    @@ -210,7 +229,7 @@ class SG_EXPORT Extensions: public obool operator != (const StateAttribute& rhs) const
    -ovirtual void getAssociatedModes(std::vector<GLMode>& ) const +ovirtual void getAssociatedModes(std::vector<GLMode>& ) const

    @@ -233,9 +252,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)
    @@ -251,7 +270,7 @@ class SG_EXPORT Extensions: public

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -290,162 +309,162 @@ class SG_EXPORT Extensions: public - +
    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 @@ -454,136 +473,127 @@ 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 GLuint& getTextureObject(unsigned int contextID) const + +
    oinline TextureObject* getTextureObject(unsigned int contextID) const
    Get the handle to the texture object for the current context

    - - -

    oinline unsigned int& getTextureParameterDirty(unsigned int contextID) const -
    get the dirty flag for the current contextID -

    - +

    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

    - - -

    ostatic void deleteTextureObject(unsigned int contextID, GLuint handle) -
    use deleteTextureObject instead of glDeleteTextures to allow -OpenGL texture objects to cached until they can be deleted -by the OpenGL context in which they were created, specified -by contextID -

    - - -

    ostatic void flushDeletedTextureObjects(unsigned int contextID) -
    flush all the cached display list which need to be deleted -in the OpenGL context related to contextID -

    - +

    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) + +
    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 and the 'createIfNotInitalized' flag been set to false then returns NULL. @@ -592,109 +602,138 @@ 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) + +
    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(GLenum target, const Image* image, State& state, GLsizei& width, GLsizei& height, GLsizei& numMimpmapLevels) 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(GLenum target, const Image* image, State& state, GLsizei& width, GLsizei& height, GLsizei& numMimpmapLevels) 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 +

    - +

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

    - - -

    omutable TextureNameList _handleList -

    - +

    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 +

    + + +

    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 +

    + + +

    ostatic void setTextureObjectManager(TextureObjectManager* tom) +

    + + +

    ostatic TextureObjectManager* getTextureObjectManager() +

    + + +

    ostatic void flushTextureObjects(unsigned int contextID, double currentTime, double& availableTime)


    Direct child classes: diff --git a/doc/doc++/osg/Texture1D.html b/doc/doc++/osg/Texture1D.html index ba9124f4a..af6267467 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,35 +81,40 @@ 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 _numMimpmapLevels +[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& numMimpmapLevels) 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


    Inherited from Texture:

    +

    +

    Public Fields

    +omutable TextureObjectBuffer _textureObjectBuffer +

    +

    Public Methods

    ovirtual osg::Object* cloneType() const @@ -122,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)
    @@ -150,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)
    @@ -160,27 +165,33 @@ class SG_EXPORT SubloadCallback: publ
    obool isCompressedInternalFormat() const
    -oinline GLuint& getTextureObject(unsigned int contextID) const -
    -oinline unsigned int& getTextureParameterDirty(unsigned int contextID) const +oinline TextureObject* getTextureObject(unsigned int contextID) const
    ovoid dirtyTextureObject()
    +obool areAllTextureObjectsLoaded() const +
    +oinline unsigned int& getTextureParameterDirty(unsigned int contextID) const +
    ovoid dirtyTextureParameters()
    -ostatic void deleteTextureObject(unsigned int contextID, GLuint handle) -
    -ostatic void flushDeletedTextureObjects(unsigned int contextID) -
    ovirtual void compile(State& state) const
    -ostatic Extensions* getExtensions(unsigned int contextID, bool createIfNotInitalized) +ostatic Extensions* getExtensions(unsigned int contextID, bool createIfNotInitalized)
    -ostatic void setExtensions(unsigned int contextID, Extensions* extensions) +ostatic void setExtensions(unsigned int contextID, Extensions* extensions)
    -ovoid applyTexImage2D_load(GLenum target, const Image* image, State& state, GLsizei& width, GLsizei& height, GLsizei& numMimpmapLevels) const +ovoid applyTexImage2D_load(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const
    -ovoid applyTexImage2D_subload(GLenum target, const Image* image, State& state, GLsizei& width, GLsizei& height, GLsizei& numMimpmapLevels) const +ovoid applyTexImage2D_subload(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const +
    +ovoid takeTextureObjects(TextureObjectListMap& toblm) +
    +ostatic void setTextureObjectManager(TextureObjectManager* tom) +
    +ostatic TextureObjectManager* getTextureObjectManager() +
    +ostatic void flushTextureObjects(unsigned int contextID, double currentTime, double& availableTime)

    @@ -195,25 +206,33 @@ class SG_EXPORT SubloadCallback: publ
    oenum InternalFormatMode
    -class SG_EXPORT Extensions: public osg::Referenced +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 +
    +otypedef std::list< ref_ptr<TextureObject> > TextureObjectList +
    +otypedef std::map<unsigned int, TextureObjectList > TextureObjectListMap +
    +otypedef buffered_object< ref_ptr<TextureObject> > TextureObjectBuffer +
    +class TextureObjectManager: public osg::Referenced

    Protected Fields

    -omutable TextureNameList _handleList +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
    @@ -223,7 +242,7 @@ class SG_EXPORT Extensions: public oVec4 _borderColor
    -oInternalFormatMode _internalFormatMode +oInternalFormatMode _internalFormatMode
    omutable GLint _internalFormat

    @@ -232,6 +251,8 @@ class SG_EXPORT Extensions: public

    Protected Methods

    ovoid computeInternalFormatWithImage(const osg::Image& image) 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 @@ -241,8 +262,6 @@ class SG_EXPORT Extensions: public

    Protected Members

    -otypedef buffered_value<GLuint> TextureNameList -
    otypedef buffered_value<unsigned int> TexParameterDirtyList

    @@ -278,9 +297,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)
    @@ -296,7 +315,7 @@ class SG_EXPORT Extensions: public

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -335,137 +354,137 @@ class SG_EXPORT Extensions: public - +
    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& numMimpmapLevels) 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 _numMimpmapLevels + + +
    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 6ed944e8d..d60f34b7c 100644 --- a/doc/doc++/osg/Texture2D.html +++ b/doc/doc++/osg/Texture2D.html @@ -23,57 +23,59 @@

    Public Methods

    -[more] Texture2D() +[more] Texture2D()
    -[more] Texture2D(const Texture2D& text, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Texture2D(osg::Image* image) +
    +[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

    @@ -84,34 +86,39 @@ 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 _numMimpmapLevels +[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


    Inherited from Texture:

    +

    +

    Public Fields

    +omutable TextureObjectBuffer _textureObjectBuffer +

    +

    Public Methods

    ovirtual osg::Object* cloneType() const @@ -124,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)
    @@ -152,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)
    @@ -162,27 +169,33 @@ class SG_EXPORT SubloadCallback: pu
    obool isCompressedInternalFormat() const
    -oinline GLuint& getTextureObject(unsigned int contextID) const -
    -oinline unsigned int& getTextureParameterDirty(unsigned int contextID) const +oinline TextureObject* getTextureObject(unsigned int contextID) const
    ovoid dirtyTextureObject()
    +obool areAllTextureObjectsLoaded() const +
    +oinline unsigned int& getTextureParameterDirty(unsigned int contextID) const +
    ovoid dirtyTextureParameters()
    -ostatic void deleteTextureObject(unsigned int contextID, GLuint handle) -
    -ostatic void flushDeletedTextureObjects(unsigned int contextID) -
    ovirtual void compile(State& state) const
    -ostatic Extensions* getExtensions(unsigned int contextID, bool createIfNotInitalized) +ostatic Extensions* getExtensions(unsigned int contextID, bool createIfNotInitalized)
    -ostatic void setExtensions(unsigned int contextID, Extensions* extensions) +ostatic void setExtensions(unsigned int contextID, Extensions* extensions)
    -ovoid applyTexImage2D_load(GLenum target, const Image* image, State& state, GLsizei& width, GLsizei& height, GLsizei& numMimpmapLevels) const +ovoid applyTexImage2D_load(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const
    -ovoid applyTexImage2D_subload(GLenum target, const Image* image, State& state, GLsizei& width, GLsizei& height, GLsizei& numMimpmapLevels) const +ovoid applyTexImage2D_subload(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const +
    +ovoid takeTextureObjects(TextureObjectListMap& toblm) +
    +ostatic void setTextureObjectManager(TextureObjectManager* tom) +
    +ostatic TextureObjectManager* getTextureObjectManager() +
    +ostatic void flushTextureObjects(unsigned int contextID, double currentTime, double& availableTime)

    @@ -197,25 +210,33 @@ class SG_EXPORT SubloadCallback: pu
    oenum InternalFormatMode
    -class SG_EXPORT Extensions: public osg::Referenced +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 +
    +otypedef std::list< ref_ptr<TextureObject> > TextureObjectList +
    +otypedef std::map<unsigned int, TextureObjectList > TextureObjectListMap +
    +otypedef buffered_object< ref_ptr<TextureObject> > TextureObjectBuffer +
    +class TextureObjectManager: public osg::Referenced

    Protected Fields

    -omutable TextureNameList _handleList +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
    @@ -225,7 +246,7 @@ class SG_EXPORT Extensions: public oVec4 _borderColor
    -oInternalFormatMode _internalFormatMode +oInternalFormatMode _internalFormatMode
    omutable GLint _internalFormat

    @@ -234,6 +255,8 @@ class SG_EXPORT Extensions: public

    Protected Methods

    ovoid computeInternalFormatWithImage(const osg::Image& image) 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 @@ -243,8 +266,6 @@ class SG_EXPORT Extensions: public

    Protected Members

    -otypedef buffered_value<GLuint> TextureNameList -
    otypedef buffered_value<unsigned int> TexParameterDirtyList

    @@ -280,9 +301,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)
    @@ -298,7 +319,7 @@ class SG_EXPORT Extensions: public

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -337,98 +358,102 @@ class SG_EXPORT Extensions: public - +
    o Texture2D()

    - -

    o Texture2D(const Texture2D& text, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    o Texture2D(osg::Image* image) +

    + + +

    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 @@ -436,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 _numMimpmapLevels + + +
    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 db3538187..26ee52b35 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.

    @@ -81,44 +81,49 @@

    Public Members

    class SG_EXPORT SubloadCallback: public Referenced
    -class SG_EXPORT Extensions: public osg::Referenced +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

    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 _numMimpmapLevels +[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& numMimpmapLevels) 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


    Inherited from Texture:

    +

    +

    Public Fields

    +omutable TextureObjectBuffer _textureObjectBuffer +

    +

    Public Methods

    ovirtual osg::Object* cloneType() const @@ -131,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)
    @@ -159,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)
    @@ -169,23 +174,29 @@ class SG_EXPORT Extensions: public <
    obool isCompressedInternalFormat() const
    -oinline GLuint& getTextureObject(unsigned int contextID) const -
    -oinline unsigned int& getTextureParameterDirty(unsigned int contextID) const +oinline TextureObject* getTextureObject(unsigned int contextID) const
    ovoid dirtyTextureObject()
    +obool areAllTextureObjectsLoaded() const +
    +oinline unsigned int& getTextureParameterDirty(unsigned int contextID) const +
    ovoid dirtyTextureParameters()
    -ostatic void deleteTextureObject(unsigned int contextID, GLuint handle) -
    -ostatic void flushDeletedTextureObjects(unsigned int contextID) -
    ovirtual void compile(State& state) const
    -ovoid applyTexImage2D_load(GLenum target, const Image* image, State& state, GLsizei& width, GLsizei& height, GLsizei& numMimpmapLevels) const +ovoid applyTexImage2D_load(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const
    -ovoid applyTexImage2D_subload(GLenum target, const Image* image, State& state, GLsizei& width, GLsizei& height, GLsizei& numMimpmapLevels) const +ovoid applyTexImage2D_subload(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const +
    +ovoid takeTextureObjects(TextureObjectListMap& toblm) +
    +ostatic void setTextureObjectManager(TextureObjectManager* tom) +
    +ostatic TextureObjectManager* getTextureObjectManager() +
    +ostatic void flushTextureObjects(unsigned int contextID, double currentTime, double& availableTime)

    @@ -199,23 +210,31 @@ class SG_EXPORT Extensions: public < oenum FilterMode
    oenum InternalFormatMode +
    +class TextureObject: public osg::Referenced +
    +otypedef std::list< ref_ptr<TextureObject> > TextureObjectList +
    +otypedef std::map<unsigned int, TextureObjectList > TextureObjectListMap +
    +otypedef buffered_object< ref_ptr<TextureObject> > TextureObjectBuffer +
    +class TextureObjectManager: public osg::Referenced

    Protected Fields

    -omutable TextureNameList _handleList +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
    @@ -225,7 +244,7 @@ class SG_EXPORT Extensions: public <
    oVec4 _borderColor
    -oInternalFormatMode _internalFormatMode +oInternalFormatMode _internalFormatMode
    omutable GLint _internalFormat

    @@ -234,6 +253,8 @@ class SG_EXPORT Extensions: public <

    Protected Methods

    ovoid computeInternalFormatWithImage(const osg::Image& image) 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 @@ -243,8 +264,6 @@ class SG_EXPORT Extensions: public <

    Protected Members

    -otypedef buffered_value<GLuint> TextureNameList -
    otypedef buffered_value<unsigned int> TexParameterDirtyList

    @@ -280,9 +299,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)
    @@ -298,7 +317,7 @@ class SG_EXPORT Extensions: public <

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -337,97 +356,97 @@ class SG_EXPORT Extensions: public <
    - +
    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) + +
    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 and the 'createIfNotInitalized' flag been set to false then returns NULL. @@ -436,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) + +
    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& numMimpmapLevels) 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 _numMimpmapLevels + + +
    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 60952dbcd..7e8c14853 100644 --- a/doc/doc++/osg/TextureCubeMap.html +++ b/doc/doc++/osg/TextureCubeMap.html @@ -23,99 +23,104 @@

    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
    -class SG_EXPORT Extensions: public osg::Referenced +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

    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 _numMimpmapLevels +[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


    Inherited from Texture:

    +

    +

    Public Fields

    +omutable TextureObjectBuffer _textureObjectBuffer +

    +

    Public Methods

    ovirtual osg::Object* cloneType() const @@ -128,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)
    @@ -156,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)
    @@ -166,23 +171,29 @@ class SG_EXPORT Extensions: public <
    obool isCompressedInternalFormat() const
    -oinline GLuint& getTextureObject(unsigned int contextID) const -
    -oinline unsigned int& getTextureParameterDirty(unsigned int contextID) const +oinline TextureObject* getTextureObject(unsigned int contextID) const
    ovoid dirtyTextureObject()
    +obool areAllTextureObjectsLoaded() const +
    +oinline unsigned int& getTextureParameterDirty(unsigned int contextID) const +
    ovoid dirtyTextureParameters()
    -ostatic void deleteTextureObject(unsigned int contextID, GLuint handle) -
    -ostatic void flushDeletedTextureObjects(unsigned int contextID) -
    ovirtual void compile(State& state) const
    -ovoid applyTexImage2D_load(GLenum target, const Image* image, State& state, GLsizei& width, GLsizei& height, GLsizei& numMimpmapLevels) const +ovoid applyTexImage2D_load(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const
    -ovoid applyTexImage2D_subload(GLenum target, const Image* image, State& state, GLsizei& width, GLsizei& height, GLsizei& numMimpmapLevels) const +ovoid applyTexImage2D_subload(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const +
    +ovoid takeTextureObjects(TextureObjectListMap& toblm) +
    +ostatic void setTextureObjectManager(TextureObjectManager* tom) +
    +ostatic TextureObjectManager* getTextureObjectManager() +
    +ostatic void flushTextureObjects(unsigned int contextID, double currentTime, double& availableTime)

    @@ -196,23 +207,31 @@ class SG_EXPORT Extensions: public < oenum FilterMode
    oenum InternalFormatMode +
    +class TextureObject: public osg::Referenced +
    +otypedef std::list< ref_ptr<TextureObject> > TextureObjectList +
    +otypedef std::map<unsigned int, TextureObjectList > TextureObjectListMap +
    +otypedef buffered_object< ref_ptr<TextureObject> > TextureObjectBuffer +
    +class TextureObjectManager: public osg::Referenced

    Protected Fields

    -omutable TextureNameList _handleList +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
    @@ -222,7 +241,7 @@ class SG_EXPORT Extensions: public <
    oVec4 _borderColor
    -oInternalFormatMode _internalFormatMode +oInternalFormatMode _internalFormatMode
    omutable GLint _internalFormat

    @@ -231,6 +250,8 @@ class SG_EXPORT Extensions: public <

    Protected Methods

    ovoid computeInternalFormatWithImage(const osg::Image& image) 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 @@ -240,8 +261,6 @@ class SG_EXPORT Extensions: public <

    Protected Members

    -otypedef buffered_value<GLuint> TextureNameList -
    otypedef buffered_value<unsigned int> TexParameterDirtyList

    @@ -277,9 +296,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)
    @@ -295,7 +314,7 @@ class SG_EXPORT Extensions: public <

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -334,119 +353,119 @@ class SG_EXPORT Extensions: public <
    - +
    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) + +
    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 and the 'createIfNotInitalized' flag been set to false then returns NULL. @@ -455,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) + +
    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 _numMimpmapLevels + + +
    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 new file mode 100644 index 000000000..a76086dc5 --- /dev/null +++ b/doc/doc++/osg/TextureObject.html @@ -0,0 +1,176 @@ + + + + + class osg::Texture::TextureObject + + + + +

    class TextureObject


    + +

    Inheritance:

    + + + + + + + +
    + +
    +

    +

    Public Fields

    +[more]GLuint _id +
    +[more]GLenum _target +
    +[more]GLint _numMipmapLevels +
    +[more]GLenum _internalFormat +
    +[more]GLsizei _width +
    +[more]GLsizei _height +
    +[more]GLsizei _depth +
    +[more]GLint _border +
    +[more]bool _allocated +
    +[more]double _timeStamp +

    + +

    +

    Public Methods

    +[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 bool match(GLenum target, GLint numMipmapLevels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border) +
    +[more]inline void bind() +
    +[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 bool isAllocated() const +
    +[more]inline bool isReusable() const +

    + +
    +

    Inherited from Referenced:

    +
    +

    +

    Public Methods

    +oinline Referenced& operator = (Referenced&) +
    +ostatic void setDeleteHandler(DeleteHandler* handler) +
    +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const +
    +oinline void unref_nodelete() const +
    +oinline int referenceCount() const +
    +oinline void unref() const +

    + +

    +

    Protected Fields

    +omutable int _refCount +

    + +
    + + +
    +

    Documentation

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

    + +
    This class has no child classes.
    + +

    Alphabetic index HTML hierarchy of classes or Java


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

    class TextureObjectManager


    + +

    Inheritance:

    + + + + + + + +
    + +
    +

    +

    Public Fields

    +[more]double _expiryDelay +
    +[more]TextureObjectListMap _textureObjectListMap +

    + +

    +

    Public Methods

    +[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* 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]virtual void addTextureObjects(TextureObjectListMap& toblm) +
    +[more]virtual void addTextureObjectsFrom(Texture& texture) +
    +[more]virtual void flushTextureObjects(unsigned int contextID, double currentTime, double& availableTime) +
    +[more]void setExpiryDelay(double expiryDelay) +
    +[more]double getExpiryDelay() const +

    + +
    +

    Inherited from Referenced:

    +
    +

    +

    Public Methods

    +oinline Referenced& operator = (Referenced&) +
    +ostatic void setDeleteHandler(DeleteHandler* handler) +
    +ostatic DeleteHandler* getDeleteHandler() +
    +oinline void ref() const +
    +oinline void unref_nodelete() const +
    +oinline int referenceCount() const +
    +oinline void unref() const +

    + +

    +

    Protected Fields

    +omutable int _refCount +

    + +
    + + +
    +

    Documentation

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

    + + +

    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 +

    + +
    This class has no child classes.
    + +

    Alphabetic index HTML hierarchy of classes or Java


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/TextureRectangle.html b/doc/doc++/osg/TextureRectangle.html index 340980e06..80ea35603 100644 --- a/doc/doc++/osg/TextureRectangle.html +++ b/doc/doc++/osg/TextureRectangle.html @@ -23,43 +23,43 @@

    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 -
    On first apply (unless already compiled), create the minmapped texture and bind it, subsequent apply will simple bind to texture +[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,34 +69,41 @@ 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 applyTexImageRectangle(GLenum target, Image* image, State& state, GLsizei& inwidth, GLsizei& inheight) const +[more]void applyTexParameters(GLenum target, State& state) const +
    +[more]void applyTexImage(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


    Inherited from Texture:

    +

    +

    Public Fields

    +omutable TextureObjectBuffer _textureObjectBuffer +

    +

    Public Methods

    ovirtual osg::Object* cloneType() const @@ -109,21 +116,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)
    @@ -137,9 +144,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)
    @@ -147,27 +154,33 @@ class SubloadCallback: public <
    obool isCompressedInternalFormat() const
    -oinline GLuint& getTextureObject(unsigned int contextID) const -
    -oinline unsigned int& getTextureParameterDirty(unsigned int contextID) const +oinline TextureObject* getTextureObject(unsigned int contextID) const
    ovoid dirtyTextureObject()
    +obool areAllTextureObjectsLoaded() const +
    +oinline unsigned int& getTextureParameterDirty(unsigned int contextID) const +
    ovoid dirtyTextureParameters()
    -ostatic void deleteTextureObject(unsigned int contextID, GLuint handle) -
    -ostatic void flushDeletedTextureObjects(unsigned int contextID) -
    ovirtual void compile(State& state) const
    -ostatic Extensions* getExtensions(unsigned int contextID, bool createIfNotInitalized) +ostatic Extensions* getExtensions(unsigned int contextID, bool createIfNotInitalized)
    -ostatic void setExtensions(unsigned int contextID, Extensions* extensions) +ostatic void setExtensions(unsigned int contextID, Extensions* extensions)
    -ovoid applyTexImage2D_load(GLenum target, const Image* image, State& state, GLsizei& width, GLsizei& height, GLsizei& numMimpmapLevels) const +ovoid applyTexImage2D_load(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const
    -ovoid applyTexImage2D_subload(GLenum target, const Image* image, State& state, GLsizei& width, GLsizei& height, GLsizei& numMimpmapLevels) const +ovoid applyTexImage2D_subload(State& state, GLenum target, const Image* image, GLsizei width, GLsizei height, GLsizei numMipmapLevels) const +
    +ovoid takeTextureObjects(TextureObjectListMap& toblm) +
    +ostatic void setTextureObjectManager(TextureObjectManager* tom) +
    +ostatic TextureObjectManager* getTextureObjectManager() +
    +ostatic void flushTextureObjects(unsigned int contextID, double currentTime, double& availableTime)

    @@ -182,25 +195,33 @@ class SubloadCallback: public <
    oenum InternalFormatMode
    -class SG_EXPORT Extensions: public osg::Referenced +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 +
    +otypedef std::list< ref_ptr<TextureObject> > TextureObjectList +
    +otypedef std::map<unsigned int, TextureObjectList > TextureObjectListMap +
    +otypedef buffered_object< ref_ptr<TextureObject> > TextureObjectBuffer +
    +class TextureObjectManager: public osg::Referenced

    Protected Fields

    -omutable TextureNameList _handleList +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
    @@ -210,7 +231,7 @@ class SG_EXPORT Extensions: public oVec4 _borderColor
    -oInternalFormatMode _internalFormatMode +oInternalFormatMode _internalFormatMode
    omutable GLint _internalFormat

    @@ -219,17 +240,15 @@ class SG_EXPORT Extensions: public

    Protected Methods

    ovoid computeInternalFormatWithImage(const osg::Image& image) const
    -obool isCompressedInternalFormat(GLint internalFormat) const +ovoid computeRequiredTextureDimensions(State& state, const osg::Image& image, GLsizei& width, GLsizei& height, GLsizei& numMipmapLevels) const
    -ovoid applyTexParameters(GLenum target, State& state) const +obool isCompressedInternalFormat(GLint internalFormat) const
    oint compareTexture(const Texture& rhs) const

    Protected Members

    -otypedef buffered_value<GLuint> TextureNameList -
    otypedef buffered_value<unsigned int> TexParameterDirtyList

    @@ -265,9 +284,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)
    @@ -283,7 +302,7 @@ class SG_EXPORT Extensions: public

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -322,110 +341,114 @@ class SG_EXPORT Extensions: public - +
    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 the minmapped -texture and bind it, subsequent apply will simple bind to texture +
    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 applyTexImageRectangle(GLenum target, Image* image, State& state, GLsizei& inwidth, GLsizei& inheight) const + + +
    ovoid applyTexParameters(GLenum target, State& state) const +

    + + +

    ovoid applyTexImage(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 377fa9766..55639a9fa 100644 --- a/doc/doc++/osg/Timer.html +++ b/doc/doc++/osg/Timer.html @@ -13,21 +13,23 @@

    Public Methods

    -[more] Timer() +[more] Timer()
    -[more] ~Timer() +[more] ~Timer()
    -[more]inline double delta_s( Timer_t t1, Timer_t t2 ) const +[more]static const Timer* instance()
    -[more]inline double delta_m( Timer_t t1, Timer_t t2 ) const +[more]inline double delta_s( Timer_t t1, Timer_t t2 ) const
    -[more]inline double delta_u( Timer_t t1, Timer_t t2 ) const +[more]inline double delta_m( Timer_t t1, Timer_t t2 ) const
    -[more]inline double delta_n( Timer_t t1, Timer_t t2 ) const +[more]inline double delta_u( Timer_t t1, Timer_t t2 ) const
    -[more]inline Timer_t tick() const +[more]inline double delta_n( Timer_t t1, Timer_t t2 ) const
    -[more]inline Timer_t tick( void ) const +[more]inline Timer_t tick() const +
    +[more]inline Timer_t tick( void ) const

    @@ -39,36 +41,40 @@
    - +
    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 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 06b2fb977..9645de3c0 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 7d9efe790..fd6d5acae 100644 --- a/doc/doc++/osg/Transform.html +++ b/doc/doc++/osg/Transform.html @@ -11,11 +11,11 @@

    Inheritance:

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

    @@ -107,6 +107,8 @@
    ovirtual bool addChild( Node* child )
    +ovirtual bool insertChild( unsigned int index, Node* child ) +
    ovirtual bool removeChild( Node* child )
    ovirtual bool removeChild(unsigned int pos, unsigned int numChildrenToRemove=1) @@ -126,14 +128,9 @@ oinline unsigned int getChildIndex( const Node* node ) const

    -

    -

    Public Members

    -otypedef std::vector<ref_ptr<Node> > ChildList -

    -

    Protected Fields

    -oChildList _children +oNodeList _children

    @@ -155,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)
    @@ -177,12 +174,6 @@
    oinline const NodeCallback* getUpdateCallback() const
    -ovoid setAppCallback(NodeCallback* nc) -
    -oinline NodeCallback* getAppCallback() -
    -oinline const NodeCallback* getAppCallback() const -
    oinline unsigned int getNumChildrenRequiringUpdateTraversal() const
    ovoid setCullCallback(NodeCallback* nc) @@ -203,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
    @@ -249,7 +240,7 @@
    ostd::string _name
    -oParentList _parents +oParentList _parents
    oref_ptr<NodeCallback> _updateCallback
    @@ -263,9 +254,9 @@
    ounsigned int _numChildrenWithOccluderNodes
    -oNodeMask _nodeMask +oNodeMask _nodeMask
    -oDescriptionList _descriptions +oDescriptionList _descriptions
    oref_ptr<StateSet> _stateset

    @@ -288,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)
    @@ -306,7 +297,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -367,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. @@ -441,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 @@ -453,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 @@ -517,18 +508,19 @@ 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:
    PositionAttitudeTransform
    MatrixTransform
    DOFTransform
    +AutoTransform

    Alphabetic index HTML hierarchy of classes or Java


    diff --git a/doc/doc++/osg/TriangleFunctor.html b/doc/doc++/osg/TriangleFunctor.html index 7eb6a9166..bb3b72fc0 100644 --- a/doc/doc++/osg/TriangleFunctor.html +++ b/doc/doc++/osg/TriangleFunctor.html @@ -7,7 +7,7 @@ -

    template<class T> class osg::TriangleFunctor


    +

    template<class T> class osg::TriangleFunctor


    Inheritance:

    @@ -22,39 +22,51 @@

    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 Vec2* vertices)
    -[more]virtual void drawArrays(GLenum mode, GLint first, GLsizei count) +[more]virtual void setVertexArray(unsigned int count, const Vec3* vertices)
    -[more]virtual void drawElements(GLenum mode, GLsizei count, const GLubyte* indices) +[more]virtual void setVertexArray(unsigned int count, const Vec4* vertices)
    -[more]virtual void drawElements(GLenum mode, GLsizei count, const GLushort* indices) +[more]virtual void drawArrays(GLenum mode, GLint first, GLsizei count)
    -[more]virtual void drawElements(GLenum mode, GLsizei count, const GLuint* indices) +[more]virtual void drawElements(GLenum mode, GLsizei count, const GLubyte* indices)
    -[more]inline void begin(GLenum mode) +[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 begin(GLenum mode)
    begin(),vertex() & end() are convinience methods for adapting non vertex array primitives to vertex array based primitives.
    -[more]inline void vertex(const Vec3& vert) +[more]virtual void vertex(const Vec2& vert)
    -[more]inline void vertex(float x, float y, float z) +[more]virtual void vertex(const Vec3& vert)
    -[more]inline void end() +[more]virtual void vertex(const Vec4& vert) +
    +[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, float w) +
    +[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

    @@ -65,67 +77,91 @@
    - +
    o TriangleFunctor()

    - +

    ovirtual ~TriangleFunctor()

    - + +

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

    + +

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

    + + +

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

    - -

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

    - +

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

    - +

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

    - +

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

    - -

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

    - -

    oinline void vertex(const Vec3& vert) + +
    ovirtual void vertex(const Vec2& vert)

    - -

    oinline void vertex(float x, float y, float z) + +
    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, float z) +

    + + +

    ovirtual void vertex(float x, float y, float z, float w)

    - -

    oinline void end() + +
    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 1f1d15d28..db8cb92cd 100644 --- a/doc/doc++/osg/TriangleMesh.html +++ b/doc/doc++/osg/TriangleMesh.html @@ -22,33 +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)(Vec3Array* vertices) +[more] META_Shape(osg, TriangleMesh)
    -[more]Vec3Array* getVertices() +[more]void setVertices(Vec3Array* vertices)
    -[more]const Vec3Array* getVertices() const +[more]Vec3Array* getVertices()
    -[more]void setIndices(IndexArray* indices) +[more]const Vec3Array* getVertices() const
    -[more]IndexArray* getIndices() +[more]void setIndices(IndexArray* indices)
    -[more]const IndexArray* getIndices() const +[more]IndexArray* getIndices() +
    +[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()

    @@ -76,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)
    @@ -94,7 +96,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance
    oref_ptr<Referenced> _userData

    @@ -132,47 +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)

    - - -

    oMETA_Shape (osg, TriangleMesh)(Vec3Array* vertices) + + +
    o META_Shape(osg, TriangleMesh) +

    + + +

    ovoid setVertices(Vec3Array* vertices)

    - +

    oVec3Array* getVertices()

    - +

    oconst Vec3Array* getVertices() const

    - +

    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 05fcbabb1..ba735ccf3 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 8cc53ef2e..0882b0b0c 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 be10fcc7d..0ec6d0998 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 061f20925..509ca35f7 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 acad4b0e1..0564f85c6 100644 --- a/doc/doc++/osg/VectorSizei.html +++ b/doc/doc++/osg/VectorSizei.html @@ -12,17 +12,17 @@

    - +
    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 67a2684f0..ef91cb996 100644 --- a/doc/doc++/osg/VectorUByte.html +++ b/doc/doc++/osg/VectorUByte.html @@ -12,17 +12,17 @@

    - +
    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 4aea2cfcf..29aeccee3 100644 --- a/doc/doc++/osg/VectorUInt.html +++ b/doc/doc++/osg/VectorUInt.html @@ -12,17 +12,17 @@

    - +
    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 9411417ef..66451a0be 100644 --- a/doc/doc++/osg/VectorUShort.html +++ b/doc/doc++/osg/VectorUShort.html @@ -12,17 +12,17 @@

    - +
    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 56f094c34..8a6fe181c 100644 --- a/doc/doc++/osg/VertexProgram.html +++ b/doc/doc++/osg/VertexProgram.html @@ -23,85 +23,85 @@

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

    Public Members

    -class SG_EXPORT Extensions: public osg::Referenced +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

    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) + +
    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,22 +272,22 @@ by the OpenGL context in which they were created, specified by contextID

    - -

    ostatic void flushDeletedVertexProgramObjects(unsigned int 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) + +
    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 and the 'createIfNotInitalized' flag been set to false then returns NULL. @@ -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) + +
    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 b22e1aff6..c27332747 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 f4557647d..3c7d02c1e 100644 --- a/doc/doc++/osg/buffered_object.html +++ b/doc/doc++/osg/buffered_object.html @@ -7,29 +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

    Protected Fields

    -[more]std::vector<T> _array +[more]mutable std::vector<T> _array

    @@ -40,36 +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

    - -

    ostd::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 97f47f18c..ad7b98c6d 100644 --- a/doc/doc++/osg/buffered_value.html +++ b/doc/doc++/osg/buffered_value.html @@ -7,30 +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

    Protected Fields

    -[more]std::vector<T> _array +[more]mutable std::vector<T> _array

    @@ -43,36 +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

    - -

    ostd::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 29eacfc3a..ec6c9c49b 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 9f0c40530..257e76c43 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 02444dc7e..a05457d33 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 c7bd11f15..1a51ebcd0 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 9aafb2a8b..12c1b8e64 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 85bb89e2d..a023c6130 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 c4ae3fa32..445cb6440 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 f3ad4e5c3..59820e462 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 96f89e566..69c16c022 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 aca8a9b66..e02c42dbb 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 8bc9388cb..326f43a2b 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 075901ee0..c43170751 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 1d7ad6dc6..08023b96c 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 c67340f4a..e7972df21 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 1efb1b478..42933cc52 100644 --- a/doc/doc++/osg/clampLEQUAL.html +++ b/doc/doc++/osg/clampLEQUAL.html @@ -7,7 +7,7 @@ -

    template<class T>inline void osg::clampLEQUAL

    (T& value,
      const T maxValue,
      const char* valueName)

    if value is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    +

    template<class T>inline void osg::clampLEQUAL

    (T& value,
      const T maxValue,
      const char* valueName)

    if value is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

    diff --git a/doc/doc++/osg/createGeodeForImage.2.html b/doc/doc++/osg/createGeodeForImage.2.html index 2e2f7eb8c..75f9f30d6 100644 --- a/doc/doc++/osg/createGeodeForImage.2.html +++ b/doc/doc++/osg/createGeodeForImage.2.html @@ -7,7 +7,7 @@ -

    extern SG_EXPORT Geode* osg::createGeodeForImage

    (Image* image,
      float s,
      float t)

    Convenience function to be used by images loaders to generate a valid geode to return for readNode().
    +

    extern SG_EXPORT Geode* osg::createGeodeForImage

    (Image* image,
      float s,
      float t)

    Convenience function to be used by images loaders to generate a valid geode to return for readNode().

    diff --git a/doc/doc++/osg/createTexturedQuadGeometry.html b/doc/doc++/osg/createTexturedQuadGeometry.html new file mode 100644 index 000000000..f854a58cd --- /dev/null +++ b/doc/doc++/osg/createTexturedQuadGeometry.html @@ -0,0 +1,21 @@ + + + + + extern SG_EXPORT Geometry* osg::createTexturedQuadGeometry + + + + +

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

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

    Alphabetic index HTML hierarchy of classes or Java


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osg/fast_back_stack.html b/doc/doc++/osg/fast_back_stack.html index a383a666c..3b68577c1 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 b44018ea9..aa87bc76a 100644 --- a/doc/doc++/osg/index.html +++ b/doc/doc++/osg/index.html @@ -59,6 +59,7 @@
  • GL_DOT3_RGB_ARB
  • GL_FOG_COORDINATE
  • GL_FRAGMENT_DEPTH +
  • GL_FRAGMENT_PROGRAM_ARB
  • GL_GENERATE_MIPMAP_HINT_SGIS
  • GL_GENERATE_MIPMAP_SGIS
  • GL_INTERPOLATE_ARB @@ -95,6 +96,7 @@
  • GL_MATRIX8_ARB
  • GL_MATRIX9_ARB
  • GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB +
  • GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB
  • GL_MAX_PROGRAM_ATTRIBS_ARB
  • GL_MAX_PROGRAM_ENV_PARAMETERS_ARB
  • GL_MAX_PROGRAM_INSTRUCTIONS_ARB @@ -102,12 +104,19 @@
  • GL_MAX_PROGRAM_MATRICES_ARB
  • GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB
  • GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB +
  • GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB
  • GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB
  • GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB
  • GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB
  • GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB +
  • GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB +
  • GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB
  • GL_MAX_PROGRAM_PARAMETERS_ARB
  • GL_MAX_PROGRAM_TEMPORARIES_ARB +
  • GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB +
  • GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB +
  • GL_MAX_TEXTURE_COORDS_ARB +
  • GL_MAX_TEXTURE_IMAGE_UNITS_ARB
  • GL_MAX_VERTEX_ATTRIBS_ARB
  • GL_MIRRORED_REPEAT_IBM
  • GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB @@ -120,6 +129,7 @@
  • GL_PREVIOUS_ARB
  • GL_PRIMARY_COLOR_ARB
  • GL_PROGRAM_ADDRESS_REGISTERS_ARB +
  • GL_PROGRAM_ALU_INSTRUCTIONS_ARB
  • GL_PROGRAM_ATTRIBS_ARB
  • GL_PROGRAM_BINDING_ARB
  • GL_PROGRAM_ERROR_POSITION_ARB @@ -129,13 +139,18 @@
  • GL_PROGRAM_INSTRUCTIONS_ARB
  • GL_PROGRAM_LENGTH_ARB
  • GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB +
  • GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB
  • GL_PROGRAM_NATIVE_ATTRIBS_ARB
  • GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB
  • GL_PROGRAM_NATIVE_PARAMETERS_ARB
  • GL_PROGRAM_NATIVE_TEMPORARIES_ARB +
  • GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB +
  • GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB
  • GL_PROGRAM_PARAMETERS_ARB
  • GL_PROGRAM_STRING_ARB
  • GL_PROGRAM_TEMPORARIES_ARB +
  • GL_PROGRAM_TEX_INDIRECTIONS_ARB +
  • GL_PROGRAM_TEX_INSTRUCTIONS_ARB
  • GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB
  • GL_RGB_SCALE_ARB
  • GL_SOURCE0_ALPHA_ARB @@ -169,7 +184,6 @@
  • NULL
  • NULL -
  • OSGUTIL_STATISTICS
  • OSGUTX_ADD_TESTCASE Adds a test case to a suite object being created in a TestSuite singleton function.
  • OSGUTX_ADD_TESTSUITE Adds a suite to a suite - allows composition of test suites.
  • OSGUTX_AUTOREGISTER_TESTSUITE Autoregister a testsuite with the root suite at startup @@ -184,13 +198,13 @@
  • OSG_APPLICATIONUSAGE
  • OSG_ARGUMENTPARSER
  • OSG_ARRAY +
  • OSG_AUTOTRANSFORM
  • OSG_BILLBOARD
  • OSG_BLENDFUNC
  • OSG_BOUNDINGBOX
  • OSG_BOUNDINGSPHERE
  • OSG_BOUNDSCHECKING
  • OSG_BUFFERED_VALUE -
  • OSG_CAMERA
  • OSG_CLEARNODE
  • OSG_CLIPNODE
  • OSG_CLIPPLANE @@ -212,11 +226,11 @@
  • OSG_EXPORT
  • OSG_FAST_BACK_STACK
  • OSG_FOG +
  • OSG_FRAGMENTPROGRAM
  • OSG_FRAMESTAMP
  • OSG_FRONTFACE
  • OSG_GEODE
  • OSG_GEOMETRY -
  • OSG_GEOSET
  • OSG_GL
  • OSG_GLEXTENSIONS
  • OSG_GLU @@ -248,6 +262,7 @@
  • OSG_POSITIONATTITIDETRANSFORM
  • OSG_PRIMTIVESET
  • OSG_PROJECTION +
  • OSG_PagedLOD
  • OSG_QUAT
  • OSG_REFERENCED
  • OSG_REF_PTR @@ -288,6 +303,7 @@
  • SG_EXPORT
  • SG_EXPORT +
  • USE_DEPRECATED_API
  • WIN32_LEAN_AND_MEAN
  • __OSG_MATH
  • __STL_MEMBER_TEMPLATES diff --git a/doc/doc++/osg/osg.html b/doc/doc++/osg/osg.html index b510d5fb4..8c11c6ee6 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
    @@ -63,6 +63,9 @@ class ValueVisitor
    class ConstValueVisitor
    +class SG_EXPORT AutoTransform: public Transform +
    AutoTransform - is Transform the automatically scales or rotates to keep its children relative to screen space coordinates +
    class SG_EXPORT Billboard: public Geode
    Billboard - a Geode which orientates its child osg::Drawable's to face the eye point.
    @@ -75,54 +78,51 @@ 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 Camera: public osg::Referenced -
    Camera class for encapsulating the view position and orientation and projection (lens) used. -
    class SG_EXPORT ClearNode: public Group
    ClearNode is a Group node which controls the clearing of the color and depth buffers at the start of each frame.
    @@ -170,20 +170,35 @@ class SG_EXPORT DisplaySettings: publ class SG_EXPORT DrawPixels: public Drawable
    DrawPixels is an osg::Drawable subclass which encapsulates the drawing of images using glDrawPixels
    -[more]#define USE_SEPARATE_COMPILE_AND_EXECUTE +[more]typedef __int64 GLintptrARB +
    +[more]typedef __int64 GLsizeiptrARB +
    +[more]elifdefined (__ia64__)(__x86_64__) +
    +[more]typedef long int GLsizeiptrARB +
    +[more]typedef int GLintptrARB +
    +[more]typedef int GLsizeiptrARB +
    +[more]#define USE_SEPARATE_COMPILE_AND_EXECUTE
    class SG_EXPORT Drawable: public Object
    Pure virtual base class for drawable Geometry.
    enum Endian
    -[more]inline Endian getCpuByteOrder() +[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.
    +class SG_EXPORT FragmentProgram: public StateAttribute +
    FragmentProgram - encapsulates the OpenGL ARB fragment program state +
    class SG_EXPORT FrameStamp: public Referenced
    Class which encapsulates the frame number, reference time and calander time of specific frame, used to synchonize operations on the scene graph and other machines when using a graphics cluster.
    @@ -202,17 +217,16 @@ inline void* getGLExtensionFuncPtrisGLUExtensionSupported(const char* extension)
    return true if OpenGL "extension" is supported.
    -class SG_EXPORT GeoSet: public Drawable -
    Note, osg::GeoSet is now deprecated, please use osg::Geometry instead. -
    -template<class T> void for_each_triangle(GeoSet& gset, T& op) -
    Template function for iterating through a GeoSet operating on triangles with templated functor. -
    class SG_EXPORT Geode: public Node
    Leaf Node for grouping Drawables
    class SG_EXPORT 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. +
    +[more]typedef std::vector< ref_ptr<Node> > NodeList +
    class SG_EXPORT Group: public Node
    General group node which maintains a list of children.
    @@ -222,7 +236,7 @@ class SG_EXPORT Image: public Geode* createGeodeForImage(Image* image)
    Convenience function to be used by images loaders to generate a valid geode to return for readNode().
    -extern SG_EXPORT Geode* createGeodeForImage(Image* image, float s, float t) +extern SG_EXPORT Geode* createGeodeForImage(Image* image, float s, float t)
    Convenience function to be used by images loaders to generate a valid geode to return for readNode().
    class SG_EXPORT Impostor: public LOD @@ -260,16 +274,16 @@ class SG_EXPORT Matrix
    class RefMatrix: public Object, public Matrix
    -[more]inline Vec3 operator* (const Vec3& v, const Matrix& m ) +[more]inline Vec3 operator* (const Vec3& v, const Matrix& m )
    -[more]inline Vec4 operator* (const Vec4& v, const Matrix& m ) +[more]inline Vec4 operator* (const Vec4& v, const Matrix& m )
    -[more]inline std::ostream& operator<< (std::ostream& os, const Matrix& m ) +[more]inline std::ostream& operator<< (std::ostream& os, const Matrix& m )
    class SG_EXPORT MatrixTransform: public Transform
    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
    -#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 @@ -311,9 +325,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 @@ -322,10 +336,13 @@ class SG_EXPORT Object: public OccluderNode: public Group
    OccluderNode is a Group node which allows OccluderNodeing between children.
    +class SG_EXPORT PagedLOD: public LOD +
    PagedLOD +
    class SG_EXPORT 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 @@ -378,7 +395,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 @@ -398,7 +415,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 @@ -432,11 +449,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 @@ -444,7 +461,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) @@ -453,7 +470,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 @@ -461,9 +478,6 @@ class SG_EXPORT StateAttribute: public class SG_EXPORT StateSet: public Object
    Encapsulates OpenGL state modes and attributes.
    -class Statistics: public osg::Drawable::PrimitiveFunctor -
    Statistics base class. -
    class SG_EXPORT Stencil: public StateAttribute
    Encapsulate OpenGL glStencilFunc/Op/Mask functions
    @@ -476,9 +490,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 @@ -504,13 +518,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 @@ -530,7 +544,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. @@ -541,13 +555,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. @@ -564,15 +578,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
  • @@ -626,96 +640,124 @@ template<class T> class <
    otypedef TemplateArray<Vec4,Array::Vec4ArrayType,4,GL_FLOAT> Vec4Array

    - + +

    otypedef __int64 GLintptrARB +

    + + +

    otypedef __int64 GLsizeiptrARB +

    + + +

    oelifdefined (__ia64__)(__x86_64__) +

    + + +

    otypedef long int GLsizeiptrARB +

    + + +

    otypedef int GLintptrARB +

    + + +

    otypedef int GLsizeiptrARB +

    + +

    o#define USE_SEPARATE_COMPILE_AND_EXECUTE

    - +

    oinline Endian getCpuByteOrder()

    - -

    otemplate<class T>inline void swapBytes( T& in ) + +
    otemplate<class T>inline void swapBytes( T& in ) +

    + + +

    otypedef std::vector< ref_ptr<Node> > NodeList

    - +

    oinline Vec3 operator* (const Vec3& v, const Matrix& m )

    - +

    oinline Vec4 operator* (const Vec4& v, const Matrix& m )

    - +

    oinline std::ostream& operator<< (std::ostream& os, const Matrix& m )

    - +

    oinline std::ostream& notify(void)

    - +

    oinline std::ostream& operator << (std::ostream& output, const Plane& pl)

    - +

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

    - +

    o#define GL_TEXTURE0

    - +

    o#define GL_FOG_COORDINATE_ARRAY

    - +

    o#define GL_SECONDARY_COLOR_ARRAY

    - +

    o#define GL_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 8d57db3fa..d760b8ae1 100644 --- a/doc/doc++/osg/ref_ptr.html +++ b/doc/doc++/osg/ref_ptr.html @@ -7,60 +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

    @@ -71,105 +76,109 @@
    Smart pointer for handling referenced counted objects
    + + +
    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++/osgDB/DatabasePager.html b/doc/doc++/osgDB/DatabasePager.html new file mode 100644 index 000000000..7e3c6a3c1 --- /dev/null +++ b/doc/doc++/osgDB/DatabasePager.html @@ -0,0 +1,316 @@ + + + + + class OSGDB_EXPORT osgDB::DatabasePager + + + + +

    class OSGDB_EXPORT osgDB::DatabasePager

    Database paging class which manages the loading of files in a background thread, and syncronizing of loaded models with the main scene graph
    +
    + +

    Inheritance:

    + + + + + + + +
    + +
    +

    +

    Public Methods

    +[more] DatabasePager() +
    +[more]virtual void requestNodeFile(const std::string& fileName, osg::Group* group) +
    Add a request to load a node file to end the the database request list +
    +[more]virtual void run() +
    run does the database paging +
    +[more]void addLoadedDataToSceneGraph(double timeStamp) +
    Add the loaded data to the scene graph +
    +[more]void registerPagedLODs(osg::Node* subgraph) +
    Find all PagedLOD nodes in a subgraph and register them with the DatabasePager so it can keep track of expired nodes. +
    +[more]void setExpiryDelay(double expiryDelay) +
    Set the amount of time that a subgraph will be kept without being visited in the cull traversal before being removed +
    +[more]double getExpiryDelay() const +
    Get the amount of time that a subgraph will be kept without being visited in the cull traversal before being removed +
    +[more]void setDeleteRemovedSubgraphsInDatabaseThread(bool flag) +
    set whether the removed subgraphs should be deleted in the database thread or not +
    +[more]bool getDeleteRemovedSubgraphsInDatabaseThread() const +
    get whether the removed subgraphs should be deleted in the database thread or not +
    +[more]void removeExpiredSubgraphs(double currentFrameTime) +
    Iterate through the active PagedLOD nodes children removing children which havn't been visited since specified expiryTime. +
    +[more]void setCompileRenderingObjectsForContexID(unsigned int contextID, bool on) +
    Turn the compilation of rendering objects for specfied graphics context on (true) or off(false) +
    +[more]bool getCompileRenderingObjectsForContexID(unsigned int contextID) +
    Get whether the compilation of rendering objects for specfied graphics context on (true) or off(false) +
    +[more]void compileRenderingObjects(osg::State& state, double& availableTime) +
    Compile the rendering objects (display lists,texture objects, VBO's) on loaded subgraph. +

    + +

    +

    Public Members

    +[more]typedef std::vector< osg::ref_ptr<osg::PagedLOD> > PagedLODList +
    +[more]typedef std::vector< osg::ref_ptr<osg::StateSet> > StateSetList +
    +[more]typedef std::vector< osg::ref_ptr<osg::Drawable> > DrawableList +
    +[more]typedef std::pair<StateSetList,DrawableList> DataToCompile +
    +[more]typedef std::map< unsigned int, DataToCompile > DataToCompileMap +
    +[more]typedef std::set<unsigned int> ActiveGraphicsContexts +

    + +

    +

    Protected Fields

    +[more]DatabaseRequestList _fileRequestList +
    +[more]OpenThreads::Mutex _fileRequestListMutex +
    +[more]DatabaseRequestList _dataToCompileList +
    +[more]OpenThreads::Mutex _dataToCompileListMutex +
    +[more]bool _deleteRemovedSubgraphsInDatabaseThread +
    +[more]osg::NodeList _childrenToDeleteList +
    +[more]OpenThreads::Mutex _childrenToDeleteListMutex +
    +[more]DatabaseRequestList _dataToMergeList +
    +[more]OpenThreads::Mutex _dataToMergeListMutex +
    +[more]PagedLODList _pagedLODList +
    +[more]double _expiryDelay +
    +[more]ActiveGraphicsContexts _activeGraphicsContexts +

    + +

    +

    Protected Methods

    +[more]virtual ~DatabasePager() +

    + +

    +

    Protected Members

    +[more]struct DatabaseRequest: public osg::Referenced +
    +[more]typedef std::vector< osg::ref_ptr<DatabaseRequest> > DatabaseRequestList +

    + +
    + + +
    +

    Documentation

    +
    Database paging class which manages the loading of files in a background thread, +and syncronizing of loaded models with the main scene graph
    +
    + + + +
    o DatabasePager() +

    + + +

    ovirtual void requestNodeFile(const std::string& fileName, osg::Group* group) +
    Add a request to load a node file to end the the database request list +

    + + +

    ovirtual void run() +
    run does the database paging +

    + + +

    ovoid addLoadedDataToSceneGraph(double timeStamp) +
    Add the loaded data to the scene graph +

    + + +

    ovoid registerPagedLODs(osg::Node* subgraph) +
    Find all PagedLOD nodes in a subgraph and register them with +the DatabasePager so it can keep track of expired nodes. +note, should be only be called from the update thread. +

    + + +

    ovoid setExpiryDelay(double expiryDelay) +
    Set the amount of time that a subgraph will be kept without being visited in the cull traversal +before being removed +

    + + +

    odouble getExpiryDelay() const +
    Get the amount of time that a subgraph will be kept without being visited in the cull traversal +before being removed +

    + + +

    ovoid setDeleteRemovedSubgraphsInDatabaseThread(bool flag) +
    set whether the removed subgraphs should be deleted in the database thread or not +

    + + +

    obool getDeleteRemovedSubgraphsInDatabaseThread() const +
    get whether the removed subgraphs should be deleted in the database thread or not +

    + + +

    ovoid removeExpiredSubgraphs(double currentFrameTime) +
    Iterate through the active PagedLOD nodes children removing +children which havn't been visited since specified expiryTime. +note, should be only be called from the update thread. +

    + + +

    ovoid setCompileRenderingObjectsForContexID(unsigned int contextID, bool on) +
    Turn the compilation of rendering objects for specfied graphics context on (true) or off(false) +

    + + +

    obool getCompileRenderingObjectsForContexID(unsigned int contextID) +
    Get whether the compilation of rendering objects for specfied graphics context on (true) or off(false) +

    + + +

    ovoid compileRenderingObjects(osg::State& state, double& availableTime) +
    Compile the rendering objects (display lists,texture objects, VBO's) on loaded subgraph. +note, should only be called from the draw thread. +

    + + +

    otypedef std::vector< osg::ref_ptr<osg::PagedLOD> > PagedLODList +

    + + +

    otypedef std::vector< osg::ref_ptr<osg::StateSet> > StateSetList +

    + + +

    otypedef std::vector< osg::ref_ptr<osg::Drawable> > DrawableList +

    + + +

    otypedef std::pair<StateSetList,DrawableList> DataToCompile +

    + + +

    otypedef std::map< unsigned int, DataToCompile > DataToCompileMap +

    + + +

    otypedef std::set<unsigned int> ActiveGraphicsContexts +

    + + +

    ovirtual ~DatabasePager() +

    + + +

    ostruct DatabaseRequest: public osg::Referenced +

    + + + +
    o DatabaseRequest() +

    + + +

    ostd::string _fileName +

    + + +

    ounsigned int _numOfRequests +

    + + +

    oosg::ref_ptr<osg::Group> _groupForAddingLoadedSubgraph +

    + + +

    oosg::ref_ptr<osg::Node> _loadedModel +

    + + +

    oDataToCompileMap _dataToCompileMap +

    + + + +
    otypedef std::vector< osg::ref_ptr<DatabaseRequest> > DatabaseRequestList +

    + + +

    oDatabaseRequestList _fileRequestList +

    + + +

    oOpenThreads::Mutex _fileRequestListMutex +

    + + +

    oDatabaseRequestList _dataToCompileList +

    + + +

    oOpenThreads::Mutex _dataToCompileListMutex +

    + + +

    obool _deleteRemovedSubgraphsInDatabaseThread +

    + + +

    oosg::NodeList _childrenToDeleteList +

    + + +

    oOpenThreads::Mutex _childrenToDeleteListMutex +

    + + +

    oDatabaseRequestList _dataToMergeList +

    + + +

    oOpenThreads::Mutex _dataToMergeListMutex +

    + + +

    oPagedLODList _pagedLODList +

    + + +

    odouble _expiryDelay +

    + + +

    oActiveGraphicsContexts _activeGraphicsContexts +

    + +
    This class has no child classes.
    + +

    Alphabetic index HTML hierarchy of classes or Java


    +
    +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgDB/DotOsgWrapper.html b/doc/doc++/osgDB/DotOsgWrapper.html index 6914243bc..2bf8f8c96 100644 --- a/doc/doc++/osgDB/DotOsgWrapper.html +++ b/doc/doc++/osgDB/DotOsgWrapper.html @@ -23,56 +23,56 @@

    Public Methods

    -[more]typedef bool (*ReadFunc)(osg::Object&, osgDB::Input&) +[more]typedef bool (*ReadFunc)(osg::Object&, osgDB::Input&)
    -[more]typedef bool (*WriteFunc)(const osg::Object&, osgDB::Output&) +[more]typedef bool (*WriteFunc)(const osg::Object&, osgDB::Output&)
    -[more] DotOsgWrapper(osg::Object* proto, const std::string& name, const std::string& associates, ReadFunc readFunc, WriteFunc writeFunc, ReadWriteMode readWriteMode=READ_AND_WRITE) +[more] DotOsgWrapper(osg::Object* proto, const std::string& name, const std::string& associates, ReadFunc readFunc, WriteFunc writeFunc, ReadWriteMode readWriteMode=READ_AND_WRITE)
    -[more]inline const osg::Object* getPrototype() const +[more]inline const osg::Object* getPrototype() const
    -[more]inline const std::string& getName() const +[more]inline const std::string& getName() const
    -[more]inline const Associates& getAssociates() const +[more]inline const Associates& getAssociates() const
    -[more]inline ReadFunc getReadFunc() const +[more]inline ReadFunc getReadFunc() const
    -[more]inline WriteFunc getWriteFunc() const +[more]inline WriteFunc getWriteFunc() const
    -[more]inline ReadWriteMode getReadWriteMode() const +[more]inline ReadWriteMode getReadWriteMode() const

    Public Members

    -[more]typedef std::vector<std::string> Associates +[more]typedef std::vector<std::string> Associates
    -[more]enum ReadWriteMode +[more]enum ReadWriteMode

    Protected Fields

    -[more]osg::ref_ptr<osg::Object> _prototype +[more]osg::ref_ptr<osg::Object> _prototype
    -[more]std::string _name +[more]std::string _name
    -[more]Associates _associates +[more]Associates _associates
    -[more]ReadFunc _readFunc +[more]ReadFunc _readFunc
    -[more]WriteFunc _writeFunc +[more]WriteFunc _writeFunc
    -[more]ReadWriteMode _readWriteMode +[more]ReadWriteMode _readWriteMode

    Protected Methods

    -[more] DotOsgWrapper() +[more] DotOsgWrapper()
    protected to prevent inappropriate creation of wrappers
    -[more] DotOsgWrapper(DotOsgWrapper&) +[more] DotOsgWrapper(DotOsgWrapper&)
    protected to prevent inappropriate creation of wrappers
    -[more]virtual ~DotOsgWrapper() +[more]virtual ~DotOsgWrapper()
    protected to prevent wrapper being created on stack

    @@ -86,97 +86,97 @@ the osg file format.
    - +
    otypedef std::vector<std::string> Associates

    - +

    otypedef bool (*ReadFunc)(osg::Object&, osgDB::Input&)

    - +

    otypedef bool (*WriteFunc)(const osg::Object&, osgDB::Output&)

    - +

    oenum ReadWriteMode

    - +
    o READ_AND_WRITE

    - +

    o READ_ONLY

    - -
    o DotOsgWrapper(osg::Object* proto, const std::string& name, const std::string& associates, ReadFunc readFunc, WriteFunc writeFunc, ReadWriteMode readWriteMode=READ_AND_WRITE) + +
    o DotOsgWrapper(osg::Object* proto, const std::string& name, const std::string& associates, ReadFunc readFunc, WriteFunc writeFunc, ReadWriteMode readWriteMode=READ_AND_WRITE)

    - +

    oinline const osg::Object* getPrototype() const

    - +

    oinline const std::string& getName() const

    - -

    oinline const Associates& getAssociates() const + +
    oinline const Associates& getAssociates() const

    - +

    oinline ReadFunc getReadFunc() const

    - +

    oinline WriteFunc getWriteFunc() const

    - -

    oinline ReadWriteMode getReadWriteMode() const + +
    oinline ReadWriteMode getReadWriteMode() const

    - +

    o DotOsgWrapper()
    protected to prevent inappropriate creation of wrappers

    - -

    o DotOsgWrapper(DotOsgWrapper&) + +
    o DotOsgWrapper(DotOsgWrapper&)
    protected to prevent inappropriate creation of wrappers

    - +

    ovirtual ~DotOsgWrapper()
    protected to prevent wrapper being created on stack

    - +

    oosg::ref_ptr<osg::Object> _prototype

    - +

    ostd::string _name

    - -

    oAssociates _associates + +
    oAssociates _associates

    - +

    oReadFunc _readFunc

    - +

    oWriteFunc _writeFunc

    - -

    oReadWriteMode _readWriteMode + +
    oReadWriteMode _readWriteMode


    This class has no child classes.
    diff --git a/doc/doc++/osgDB/DynamicLibrary.html b/doc/doc++/osgDB/DynamicLibrary.html index 922d10115..e056efc81 100644 --- a/doc/doc++/osgDB/DynamicLibrary.html +++ b/doc/doc++/osgDB/DynamicLibrary.html @@ -23,56 +23,56 @@

    Public Methods

    -[more]static DynamicLibrary* loadLibrary(const std::string& libraryName) +[more]static DynamicLibrary* loadLibrary(const std::string& libraryName)
    returns a pointer to a DynamicLibrary object on successfully opening of library returns NULL on failure
    -[more]const std::string& getName() const +[more]const std::string& getName() const
    return name of library stripped of path
    -[more]const std::string& getFullName() const +[more]const std::string& getFullName() const
    return name of library including full path to it
    -[more]HANDLE getHandle() const +[more]HANDLE getHandle() const
    return handle to dso/dll dynamic library itself
    -[more]PROC_ADDRESS getProcAddress(const std::string& procName) +[more]PROC_ADDRESS getProcAddress(const std::string& procName)
    return address of function located in library

    Public Members

    -[more]typedef void* HANDLE +[more]typedef void* HANDLE
    -[more]typedef void* PROC_ADDRESS +[more]typedef void* PROC_ADDRESS

    Protected Fields

    -[more]HANDLE _handle +[more]HANDLE _handle
    -[more]std::string _name +[more]std::string _name
    -[more]std::string _fullName +[more]std::string _fullName

    Protected Methods

    -[more]static HANDLE getLibraryHandle( const std::string& libraryName) +[more]static HANDLE getLibraryHandle( const std::string& libraryName)
    get handle to library file
    -[more] DynamicLibrary() +[more] DynamicLibrary()
    disallow default constructor
    -[more] DynamicLibrary(const DynamicLibrary&) +[more] DynamicLibrary(const DynamicLibrary&)
    disallow copy constructor
    -[more]DynamicLibrary& operator == (const DynamicLibrary&) +[more]DynamicLibrary& operator == (const DynamicLibrary&)
    disallow copy operator
    -[more] DynamicLibrary(const std::string& name, HANDLE handle) +[more] DynamicLibrary(const std::string& name, HANDLE handle)
    Disallow public construction so that users have to go through loadLibrary() above which returns NULL on failure, a valid DynamicLibrary object on success
    -[more] ~DynamicLibrary() +[more] ~DynamicLibrary()

    @@ -85,80 +85,80 @@ typically used for loading ReaderWriter plug-ins
    - +
    otypedef void* HANDLE

    - +

    otypedef void* PROC_ADDRESS

    - +

    ostatic DynamicLibrary* loadLibrary(const std::string& libraryName)
    returns a pointer to a DynamicLibrary object on successfully opening of library returns NULL on failure

    - +

    oconst std::string& getName() const
    return name of library stripped of path

    - +

    oconst std::string& getFullName() const
    return name of library including full path to it

    - -

    oHANDLE getHandle() const + +
    oHANDLE getHandle() const
    return handle to dso/dll dynamic library itself

    - -

    oPROC_ADDRESS getProcAddress(const std::string& procName) + +
    oPROC_ADDRESS getProcAddress(const std::string& procName)
    return address of function located in library

    - -

    ostatic HANDLE getLibraryHandle( const std::string& libraryName) + +
    ostatic HANDLE getLibraryHandle( const std::string& libraryName)
    get handle to library file

    - +

    o DynamicLibrary()
    disallow default constructor

    - -

    o DynamicLibrary(const DynamicLibrary&) + +
    o DynamicLibrary(const DynamicLibrary&)
    disallow copy constructor

    - +

    oDynamicLibrary& operator == (const DynamicLibrary&)
    disallow copy operator

    - -

    o DynamicLibrary(const std::string& name, HANDLE handle) + +
    o DynamicLibrary(const std::string& name, HANDLE handle)
    Disallow public construction so that users have to go through loadLibrary() above which returns NULL on failure, a valid DynamicLibrary object on success

    - +

    o ~DynamicLibrary()

    - -

    oHANDLE _handle + +
    oHANDLE _handle

    - +

    ostd::string _name

    - +

    ostd::string _fullName

    diff --git a/doc/doc++/osgDB/Field.html b/doc/doc++/osgDB/Field.html index 80e2e6d7c..b230b55d0 100644 --- a/doc/doc++/osgDB/Field.html +++ b/doc/doc++/osgDB/Field.html @@ -12,110 +12,110 @@

    Public Methods

    -[more] Field() +[more] Field()
    -[more] Field(const Field& field) +[more] Field(const Field& field)
    -[more]virtual ~Field() +[more]virtual ~Field()
    -[more]virtual Field& operator = (const Field& ic) +[more]virtual Field& operator = (const Field& ic)
    -[more]void reset() +[more]void reset()
    -[more]void addChar(char c) +[more]void addChar(char c)
    -[more]int getNoCharacters() const +[more]int getNoCharacters() const
    -[more]void setWithinQuotes(bool withinQuotes=true) +[more]void setWithinQuotes(bool withinQuotes=true)
    -[more]bool getWithinQuotes() +[more]bool getWithinQuotes()
    -[more]void setNoNestedBrackets(int no) +[more]void setNoNestedBrackets(int no)
    -[more]int getNoNestedBrackets() +[more]int getNoNestedBrackets()
    -[more]FieldType getFieldType() const +[more]FieldType getFieldType() const
    -[more]bool isValid() const +[more]bool isValid() const
    -[more]bool isOpenBracket() const +[more]bool isOpenBracket() const
    -[more]bool isCloseBracket() const +[more]bool isCloseBracket() const
    -[more]bool isWord() const +[more]bool isWord() const
    -[more]bool matchWord(const char* str) const +[more]bool matchWord(const char* str) const
    -[more]bool matchWord(const char* str, int noCharacters) const +[more]bool matchWord(const char* str, int noCharacters) const
    -[more]bool isString() const +[more]bool isString() const
    -[more]bool matchString(const char* str) const +[more]bool matchString(const char* str) const
    -[more]bool matchString(const char* str, int noCharacters) const +[more]bool matchString(const char* str, int noCharacters) const
    -[more]bool isQuotedString() const +[more]bool isQuotedString() const
    -[more]const char* getStr() const +[more]const char* getStr() const
    -[more]char* takeStr() +[more]char* takeStr()
    -[more]bool isInt() const +[more]bool isInt() const
    -[more]bool matchInt(int i) const +[more]bool matchInt(int i) const
    -[more]bool getInt(int& i) const +[more]bool getInt(int& i) const
    -[more]bool isUInt() const +[more]bool isUInt() const
    -[more]bool matchUInt(unsigned int i) const +[more]bool matchUInt(unsigned int i) const
    -[more]bool getUInt(unsigned int& i) const +[more]bool getUInt(unsigned int& i) const
    -[more]bool isFloat() const +[more]bool isFloat() const
    -[more]bool matchFloat(float f) const +[more]bool matchFloat(float f) const
    -[more]bool getFloat(float& f) const +[more]bool getFloat(float& f) const
    -[more]bool isDouble() const +[more]bool isDouble() const
    -[more]bool matchDouble(double f) const +[more]bool matchDouble(double f) const
    -[more]bool getDouble(double& d) const +[more]bool getDouble(double& d) const
    -[more]static FieldType calculateFieldType(const char* str, bool withinQuotes=false) +[more]static FieldType calculateFieldType(const char* str, bool withinQuotes=false)

    Public Members

    -[more]enum +[more]enum
    -[more]enum FieldType +[more]enum FieldType

    Protected Fields

    -[more]int _fieldCacheCapacity +[more]int _fieldCacheCapacity
    -[more]int _fieldCacheSize +[more]int _fieldCacheSize
    -[more]char* _fieldCache +[more]char* _fieldCache
    -[more]mutable FieldType _fieldType +[more]mutable FieldType _fieldType
    -[more]bool _withinQuotes +[more]bool _withinQuotes
    -[more]int _noNestedBrackets +[more]int _noNestedBrackets

    Protected Methods

    -[more]void _init() +[more]void _init()
    -[more]void _free() +[more]void _free()
    -[more]void _copy(const Field& ic) +[more]void _copy(const Field& ic)

    @@ -126,235 +126,235 @@
    - +
    oenum

    - +
    o MIN_CACHE_SIZE

    - +
    o Field()

    - -

    o Field(const Field& field) + +
    o Field(const Field& field)

    - +

    ovirtual ~Field()

    - +

    ovirtual Field& operator = (const Field& ic)

    - +

    ovoid reset()

    - +

    ovoid addChar(char c)

    - +

    oint getNoCharacters() const

    - +

    ovoid setWithinQuotes(bool withinQuotes=true)

    - +

    obool getWithinQuotes()

    - +

    ovoid setNoNestedBrackets(int no)

    - +

    oint getNoNestedBrackets()

    - +

    oenum FieldType

    - +
    o OPEN_BRACKET

    - +

    o CLOSE_BRACKET

    - +

    o STRING

    - +

    o WORD

    - +

    o REAL

    - +

    o INTEGER

    - +

    o BLANK

    - +

    o UNINITIALISED

    - -
    oFieldType getFieldType() const + +
    oFieldType getFieldType() const

    - +

    obool isValid() const

    - +

    obool isOpenBracket() const

    - +

    obool isCloseBracket() const

    - +

    obool isWord() const

    - +

    obool matchWord(const char* str) const

    - +

    obool matchWord(const char* str, int noCharacters) const

    - +

    obool isString() const

    - +

    obool matchString(const char* str) const

    - +

    obool matchString(const char* str, int noCharacters) const

    - +

    obool isQuotedString() const

    - +

    oconst char* getStr() const

    - +

    ochar* takeStr()

    - +

    obool isInt() const

    - +

    obool matchInt(int i) const

    - +

    obool getInt(int& i) const

    - +

    obool isUInt() const

    - +

    obool matchUInt(unsigned int i) const

    - +

    obool getUInt(unsigned int& i) const

    - +

    obool isFloat() const

    - +

    obool matchFloat(float f) const

    - +

    obool getFloat(float& f) const

    - +

    obool isDouble() const

    - +

    obool matchDouble(double f) const

    - +

    obool getDouble(double& d) const

    - -

    ostatic FieldType calculateFieldType(const char* str, bool withinQuotes=false) + +
    ostatic FieldType calculateFieldType(const char* str, bool withinQuotes=false)

    - +

    ovoid _init()

    - +

    ovoid _free()

    - +

    ovoid _copy(const Field& ic)

    - +

    oint _fieldCacheCapacity

    - +

    oint _fieldCacheSize

    - +

    ochar* _fieldCache

    - -

    omutable FieldType _fieldType + +
    omutable FieldType _fieldType

    - +

    obool _withinQuotes

    - +

    oint _noNestedBrackets

    diff --git a/doc/doc++/osgDB/FieldReader.html b/doc/doc++/osgDB/FieldReader.html index ac12532ef..334189069 100644 --- a/doc/doc++/osgDB/FieldReader.html +++ b/doc/doc++/osgDB/FieldReader.html @@ -12,25 +12,25 @@

    Public Methods

    -[more] FieldReader() +[more] FieldReader()
    -[more] FieldReader(const FieldReader& ic) +[more] FieldReader(const FieldReader& ic)
    -[more]virtual ~FieldReader() +[more]virtual ~FieldReader()
    -[more]virtual FieldReader& operator = (const FieldReader& ic) +[more]virtual FieldReader& operator = (const FieldReader& ic)
    -[more]void attach(std::istream* input) +[more]void attach(std::istream* input)
    -[more]void detach() +[more]void detach()
    -[more]virtual bool eof() const +[more]virtual bool eof() const
    -[more]bool readField(Field& fieldPtr) +[more]bool readField(Field& fieldPtr)
    -[more]void ignoreField() +[more]void ignoreField()
    -[more]int getNoNestedBrackets() const +[more]int getNoNestedBrackets() const
    no of unmatched `{' encountered so far in file

    @@ -42,43 +42,43 @@
    - +
    o FieldReader()

    - -

    o FieldReader(const FieldReader& ic) + +
    o FieldReader(const FieldReader& ic)

    - +

    ovirtual ~FieldReader()

    - +

    ovirtual FieldReader& operator = (const FieldReader& ic)

    - +

    ovoid attach(std::istream* input)

    - +

    ovoid detach()

    - +

    ovirtual bool eof() const

    - +

    obool readField(Field& fieldPtr)

    - +

    ovoid ignoreField()

    - +

    oint getNoNestedBrackets() const
    no of unmatched `{' encountered so far in file

    diff --git a/doc/doc++/osgDB/FieldReaderIterator.html b/doc/doc++/osgDB/FieldReaderIterator.html index bdc935434..e3b60f208 100644 --- a/doc/doc++/osgDB/FieldReaderIterator.html +++ b/doc/doc++/osgDB/FieldReaderIterator.html @@ -22,75 +22,75 @@

    Public Methods

    -[more] FieldReaderIterator() +[more] FieldReaderIterator()
    -[more] FieldReaderIterator(const FieldReaderIterator& ic) +[more] FieldReaderIterator(const FieldReaderIterator& ic)
    -[more]virtual ~FieldReaderIterator() +[more]virtual ~FieldReaderIterator()
    -[more]FieldReaderIterator& operator = (const FieldReaderIterator& ic) +[more]FieldReaderIterator& operator = (const FieldReaderIterator& ic)
    -[more]void attach(std::istream* input) +[more]void attach(std::istream* input)
    -[more]void detach() +[more]void detach()
    -[more]virtual bool eof() const +[more]virtual bool eof() const
    -[more]FieldReader& getFieldReader() +[more]FieldReader& getFieldReader()
    -[more]void insert(int pos, Field* field) +[more]void insert(int pos, Field* field)
    -[more]void insert(int pos, const char* str) +[more]void insert(int pos, const char* str)
    -[more]Field& operator [] (int pos) +[more]Field& operator [] (int pos)
    -[more]Field& field(int pos) +[more]Field& field(int pos)
    -[more]FieldReaderIterator& operator ++ () +[more]FieldReaderIterator& operator ++ ()
    -[more]FieldReaderIterator& operator += (int no) +[more]FieldReaderIterator& operator += (int no)
    -[more]void advanceOverCurrentFieldOrBlock() +[more]void advanceOverCurrentFieldOrBlock()
    increments the iterator of the next simple field or whole block if the current field[0] is an open bracket
    -[more]void advanceToEndOfCurrentBlock() +[more]void advanceToEndOfCurrentBlock()
    -[more]void advanceToEndOfBlock(int noNestBrackets) +[more]void advanceToEndOfBlock(int noNestBrackets)
    -[more]bool matchSequence(const char* str) +[more]bool matchSequence(const char* str)
    -[more]bool readSequence(const char* keyword, std::string& value) +[more]bool readSequence(const char* keyword, std::string& value)
    -[more]bool readSequence(const char* keyword, unsigned int& value) +[more]bool readSequence(const char* keyword, unsigned int& value)
    -[more]bool readSequence(const char* keyword, int& value) +[more]bool readSequence(const char* keyword, int& value)
    -[more]bool readSequence(const char* keyword, float& value) +[more]bool readSequence(const char* keyword, float& value)
    -[more]bool readSequence(const char* keyword, osg::Vec2& value) +[more]bool readSequence(const char* keyword, osg::Vec2& value)
    -[more]bool readSequence(const char* keyword, osg::Vec3& value) +[more]bool readSequence(const char* keyword, osg::Vec3& value)
    -[more]bool readSequence(const char* keyword, osg::Vec4& value) +[more]bool readSequence(const char* keyword, osg::Vec4& value)
    -[more]bool readSequence(std::string& value) +[more]bool readSequence(std::string& value)
    -[more]bool readSequence(unsigned int& value) +[more]bool readSequence(unsigned int& value)
    -[more]bool readSequence(int& value) +[more]bool readSequence(int& value)
    -[more]bool readSequence(float& value) +[more]bool readSequence(float& value)
    -[more]bool readSequence(osg::Vec2& value) +[more]bool readSequence(osg::Vec2& value)
    -[more]bool readSequence(osg::Vec3& value) +[more]bool readSequence(osg::Vec3& value)
    -[more]bool readSequence(osg::Vec4& value) +[more]bool readSequence(osg::Vec4& value)

    Public Members

    -[more]enum +[more]enum

    @@ -101,143 +101,143 @@
    - +
    oenum

    - +
    o MINIMUM_FIELD_READER_QUEUE_SIZE

    - +
    o FieldReaderIterator()

    - -

    o FieldReaderIterator(const FieldReaderIterator& ic) + +
    o FieldReaderIterator(const FieldReaderIterator& ic)

    - +

    ovirtual ~FieldReaderIterator()

    - +

    oFieldReaderIterator& operator = (const FieldReaderIterator& ic)

    - +

    ovoid attach(std::istream* input)

    - +

    ovoid detach()

    - +

    ovirtual bool eof() const

    - +

    oFieldReader& getFieldReader()

    - -

    ovoid insert(int pos, Field* field) + +
    ovoid insert(int pos, Field* field)

    - +

    ovoid insert(int pos, const char* str)

    - +

    oField& operator [] (int pos)

    - +

    oField& field(int pos)

    - +

    oFieldReaderIterator& operator ++ ()

    - +

    oFieldReaderIterator& operator += (int no)

    - +

    ovoid advanceOverCurrentFieldOrBlock()
    increments the iterator of the next simple field or whole block if the current field[0] is an open bracket

    - +

    ovoid advanceToEndOfCurrentBlock()

    - +

    ovoid advanceToEndOfBlock(int noNestBrackets)

    - +

    obool matchSequence(const char* str)

    - +

    obool readSequence(const char* keyword, std::string& value)

    - +

    obool readSequence(const char* keyword, unsigned int& value)

    - +

    obool readSequence(const char* keyword, int& value)

    - +

    obool readSequence(const char* keyword, float& value)

    - +

    obool readSequence(const char* keyword, osg::Vec2& value)

    - +

    obool readSequence(const char* keyword, osg::Vec3& value)

    - +

    obool readSequence(const char* keyword, osg::Vec4& value)

    - +

    obool readSequence(std::string& value)

    - +

    obool readSequence(unsigned int& value)

    - +

    obool readSequence(int& value)

    - +

    obool readSequence(float& value)

    - +

    obool readSequence(osg::Vec2& value)

    - +

    obool readSequence(osg::Vec3& value)

    - +

    obool readSequence(osg::Vec4& value)


    diff --git a/doc/doc++/osgDB/General.html b/doc/doc++/osgDB/General.html index 870a5d43e..4952a298e 100644 --- a/doc/doc++/osgDB/General.html +++ b/doc/doc++/osgDB/General.html @@ -10,6 +10,9 @@
    +o#define +OSGDB_DATABASEPAGER
    + o#define OSGDB_DOTOSGWRAPPER
    diff --git a/doc/doc++/osgDB/HIER.html b/doc/doc++/osgDB/HIER.html index ff9fb81f3..8c7bedc74 100644 --- a/doc/doc++/osgDB/HIER.html +++ b/doc/doc++/osgDB/HIER.html @@ -9,6 +9,7 @@

    Hierarchy of Classes

      +
    • osgDB::DatabasePager
    • osgDB::DotOsgWrapper
    • osgDB::DynamicLibrary
    • osgDB::Field diff --git a/doc/doc++/osgDB/HIERjava.html b/doc/doc++/osgDB/HIERjava.html index 7f023ef50..ce86c8256 100644 --- a/doc/doc++/osgDB/HIERjava.html +++ b/doc/doc++/osgDB/HIERjava.html @@ -8,6 +8,13 @@

      Hierarchy of classes

        + + + + + + + diff --git a/doc/doc++/osgDB/Input.html b/doc/doc++/osgDB/Input.html index 32945ce48..bc517d160 100644 --- a/doc/doc++/osgDB/Input.html +++ b/doc/doc++/osgDB/Input.html @@ -23,31 +23,33 @@

        Public Methods

        -[more] Input() +[more] Input()
        -[more]virtual ~Input() +[more]virtual ~Input()
        -[more]virtual osg::Object* readObjectOfType(const osg::Object& compObj) +[more]virtual osg::Object* readObjectOfType(const osg::Object& compObj)
        -[more]virtual osg::Object* readObject() +[more]virtual osg::Object* readObjectOfType(const basic_type_wrapper &btw)
        -[more]virtual osg::Image* readImage() +[more]virtual osg::Object* readObject()
        -[more]virtual osg::Drawable* readDrawable() +[more]virtual osg::Image* readImage()
        -[more]virtual osg::StateAttribute* readStateAttribute() +[more]virtual osg::Drawable* readDrawable()
        -[more]virtual osg::Node* readNode() +[more]virtual osg::StateAttribute* readStateAttribute()
        -[more]virtual osg::Object* readObject(const std::string& fileName) +[more]virtual osg::Node* readNode()
        -[more]virtual osg::Image* readImage(const std::string& fileName) +[more]virtual osg::Object* readObject(const std::string& fileName)
        -[more]virtual osg::Node* readNode(const std::string& fileName) +[more]virtual osg::Image* readImage(const std::string& fileName)
        -[more]virtual osg::Object* getObjectForUniqueID(const std::string& uniqueID) +[more]virtual osg::Node* readNode(const std::string& fileName)
        -[more]virtual void regisiterUniqueIDForObject(const std::string& uniqueID, osg::Object* obj) +[more]virtual osg::Object* getObjectForUniqueID(const std::string& uniqueID) +
        +[more]virtual void regisiterUniqueIDForObject(const std::string& uniqueID, osg::Object* obj)

        @@ -65,7 +67,7 @@
        oFieldReader& getFieldReader()
        -ovoid insert(int pos, Field* field) +ovoid insert(int pos, Field* field)
        ovoid insert(int pos, const char* str)
        @@ -128,55 +130,59 @@
        - +
        o Input()

        - +

        ovirtual ~Input()

        - +

        ovirtual osg::Object* readObjectOfType(const osg::Object& compObj)

        + + +

        ovirtual osg::Object* readObjectOfType(const basic_type_wrapper &btw) +

        - +

        ovirtual osg::Object* readObject()

        - +

        ovirtual osg::Image* readImage()

        - +

        ovirtual osg::Drawable* readDrawable()

        - +

        ovirtual osg::StateAttribute* readStateAttribute()

        - +

        ovirtual osg::Node* readNode()

        - +

        ovirtual osg::Object* readObject(const std::string& fileName)

        - +

        ovirtual osg::Image* readImage(const std::string& fileName)

        - +

        ovirtual osg::Node* readNode(const std::string& fileName)

        - +

        ovirtual osg::Object* getObjectForUniqueID(const std::string& uniqueID)

        - +

        ovirtual void regisiterUniqueIDForObject(const std::string& uniqueID, osg::Object* obj)

        diff --git a/doc/doc++/osgDB/Options.html b/doc/doc++/osgDB/Options.html index 0e286b997..dfe23fff5 100644 --- a/doc/doc++/osgDB/Options.html +++ b/doc/doc++/osgDB/Options.html @@ -22,23 +22,23 @@

        Public Methods

        -[more] Options() +[more] Options()
        -[more] Options(const std::string& str) +[more] Options(const std::string& str)
        -[more]void setOptionString(const std::string& str) +[more]void setOptionString(const std::string& str)
        -[more]const std::string& getOptionString() const +[more]const std::string& getOptionString() const

        Protected Fields

        -[more]std::string _str +[more]std::string _str

        Protected Methods

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

        @@ -49,27 +49,27 @@
        - +
        o Options()

        - +

        o Options(const std::string& str)

        - +

        ovoid setOptionString(const std::string& str)

        - +

        oconst std::string& getOptionString() const

        - +

        ovirtual ~Options()

        - +

        ostd::string _str

        diff --git a/doc/doc++/osgDB/Output.html b/doc/doc++/osgDB/Output.html index 4018dfb02..1f5d293ae 100644 --- a/doc/doc++/osgDB/Output.html +++ b/doc/doc++/osgDB/Output.html @@ -23,82 +23,78 @@

        Public Methods

        -[more] Output() +[more] Output()
        -[more] Output(const char* name) +[more] Output(const char* name)
        -[more]virtual ~Output() +[more]virtual ~Output()
        -[more]void open(const char* name) +[more]void open(const char* name)
        -[more]Output& indent() +[more]Output& indent()
        -[more]std::string wrapString(const std::string& str) +[more]std::string wrapString(const std::string& str)
        wrap a string with "" quotes and use \" for any internal quotes
        -[more]inline void setIndentStep(int step) +[more]inline void setIndentStep(int step)
        -[more]inline int getIndentStep() const +[more]inline int getIndentStep() const
        -[more]inline void setIndent(int indent) +[more]inline void setIndent(int indent)
        -[more]inline int getIndent() const +[more]inline int getIndent() const
        -[more]inline void setNumIndicesPerLine(int num) +[more]inline void setNumIndicesPerLine(int num)
        -[more]inline int getNumIndicesPerLine() const +[more]inline int getNumIndicesPerLine() const
        -[more]void moveIn() +[more]void moveIn()
        -[more]void moveOut() +[more]void moveOut()
        -[more]virtual bool writeObject(const osg::Object& obj) +[more]virtual bool writeObject(const osg::Object& obj)
        -[more]bool getUniqueIDForObject(const osg::Object* obj, std::string& uniqueID) +[more]bool getUniqueIDForObject(const osg::Object* obj, std::string& uniqueID)
        -[more]bool createUniqueIDForObject(const osg::Object* obj, std::string& uniqueID) +[more]bool createUniqueIDForObject(const osg::Object* obj, std::string& uniqueID)
        -[more]bool registerUniqueIDForObject(const osg::Object* obj, std::string& uniqueID) +[more]bool registerUniqueIDForObject(const osg::Object* obj, std::string& uniqueID)
        -[more]inline void setPathNameHint(const PathNameHint pnh) +[more]inline void setPathNameHint(const PathNameHint pnh)
        -[more]inline const PathNameHint getPathNameHint() const +[more]inline PathNameHint getPathNameHint() const
        -[more]virtual const std::string getFileNameForOutput(const std::string& filename) const +[more]virtual std::string getFileNameForOutput(const std::string& filename) const

        Public Members

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

        Protected Fields

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

        Protected Methods

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

        Protected Members

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

        @@ -111,151 +107,143 @@ Used in output of .osg ASCII files to improve their readability.
        - +
        o Output()

        - +

        o Output(const char* name)

        - +

        ovirtual ~Output()

        - +

        ovoid open(const char* name)

        - +

        oOutput& indent()

        - +

        ostd::string wrapString(const std::string& str)
        wrap a string with "" quotes and use \" for any internal quotes

        - +

        oinline void setIndentStep(int step)

        - +

        oinline int getIndentStep() const

        - -

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

        - +

        oinline int getIndent() const

        - +

        oinline void setNumIndicesPerLine(int num)

        - +

        oinline int getNumIndicesPerLine() const

        - +

        ovoid moveIn()

        - +

        ovoid moveOut()

        - +

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

        - +

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

        - +

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

        - +

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

        - +

        oenum PathNameHint

        - +
        o AS_IS

        - +

        o FULL_PATH

        - +

        o RELATIVE_PATH

        - +

        o FILENAME_ONLY

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

        - -

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

        - -

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

        - - -

        o Output(const Output&) -

        - - -

        oOutput& operator = (const Output&) + +
        ovirtual std::string getFileNameForOutput(const std::string& filename) const

        - +

        ovirtual void init()

        - +

        oint _indent

        - +

        oint _indentStep

        - +

        oint _numIndicesPerLine

        - +

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

        - -

        oUniqueIDToLabelMapping _objectToUniqueIDMap + +
        oUniqueIDToLabelMapping _objectToUniqueIDMap

        - +

        ostd::string _filename

        - -

        oPathNameHint _pathNameHint + +
        oPathNameHint _pathNameHint


        This class has no child classes.
        diff --git a/doc/doc++/osgDB/ParameterOutput.html b/doc/doc++/osgDB/ParameterOutput.html index 2fc6e991e..321c32be6 100644 --- a/doc/doc++/osgDB/ParameterOutput.html +++ b/doc/doc++/osgDB/ParameterOutput.html @@ -12,26 +12,26 @@

        Public Methods

        -[more] ParameterOutput(Output& fw) +[more] ParameterOutput(Output& fw)
        -[more] ParameterOutput(Output& fw, int numItemsPerLine) +[more] ParameterOutput(Output& fw, int numItemsPerLine)
        -[more]void begin() +[more]void begin()
        -[more]template<class T> void write(const T& t) +[more]template<class T> void write(const T& t)
        -[more]template<class Iterator> void write(Iterator first, Iterator last) +[more]template<class Iterator> void write(Iterator first, Iterator last)
        -[more]template<class Iterator> void writeAsInts(Iterator first, Iterator last) +[more]template<class Iterator> void writeAsInts(Iterator first, Iterator last)

        Protected Fields

        -[more]Output& _fw +[more]Output& _fw
        -[more]int _numItemsPerLine +[more]int _numItemsPerLine
        -[more]int _column +[more]int _column

        @@ -42,39 +42,39 @@
        - +
        o ParameterOutput(Output& fw)

        - +

        o ParameterOutput(Output& fw, int numItemsPerLine)

        - +

        ovoid begin()

        - +

        otemplate<class T> void write(const T& t)

        - +

        otemplate<class Iterator> void write(Iterator first, Iterator last)

        - +

        otemplate<class Iterator> void writeAsInts(Iterator first, Iterator last)

        - +

        oOutput& _fw

        - +

        oint _numItemsPerLine

        - +

        oint _column

        diff --git a/doc/doc++/osgDB/PushAndPopDataPath.html b/doc/doc++/osgDB/PushAndPopDataPath.html index 2613ea7a1..d6a86310f 100644 --- a/doc/doc++/osgDB/PushAndPopDataPath.html +++ b/doc/doc++/osgDB/PushAndPopDataPath.html @@ -13,9 +13,9 @@

        Public Methods

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

        @@ -29,11 +29,11 @@ of code, even in the presence of exceptions.
        - +
        o PushAndPopDataPath(const std::string& path)

        - +

        o ~PushAndPopDataPath()

        diff --git a/doc/doc++/osgDB/ReadResult.html b/doc/doc++/osgDB/ReadResult.html index 3ecd7b9b7..d57207675 100644 --- a/doc/doc++/osgDB/ReadResult.html +++ b/doc/doc++/osgDB/ReadResult.html @@ -12,57 +12,57 @@

        Public Methods

        -[more] ReadResult(ReadStatus status=FILE_NOT_HANDLED) +[more] ReadResult(ReadStatus status=FILE_NOT_HANDLED)
        -[more] ReadResult(const std::string& m) +[more] ReadResult(const std::string& m)
        -[more] ReadResult(osg::Object* obj) +[more] ReadResult(osg::Object* obj)
        -[more] ReadResult(const ReadResult& rr) +[more] ReadResult(const ReadResult& rr)
        -[more]ReadResult& operator = (const ReadResult& rr) +[more]ReadResult& operator = (const ReadResult& rr)
        -[more]osg::Object* getObject() +[more]osg::Object* getObject()
        -[more]osg::Image* getImage() +[more]osg::Image* getImage()
        -[more]osg::Node* getNode() +[more]osg::Node* getNode()
        -[more]bool validObject() +[more]bool validObject()
        -[more]bool validImage() +[more]bool validImage()
        -[more]bool validNode() +[more]bool validNode()
        -[more]osg::Object* takeObject() +[more]osg::Object* takeObject()
        -[more]osg::Image* takeImage() +[more]osg::Image* takeImage()
        -[more]osg::Node* takeNode() +[more]osg::Node* takeNode()
        -[more]const std::string& message() const +[more]const std::string& message() const
        -[more]ReadStatus status() const +[more]ReadStatus status() const
        -[more]bool success() const +[more]bool success() const
        -[more]bool error() const +[more]bool error() const
        -[more]bool notHandled() const +[more]bool notHandled() const

        Public Members

        -[more]enum ReadStatus +[more]enum ReadStatus

        Protected Fields

        -[more]ReadStatus _status +[more]ReadStatus _status
        -[more]std::string _message +[more]std::string _message
        -[more]osg::ref_ptr<osg::Object> _object +[more]osg::ref_ptr<osg::Object> _object

        @@ -73,109 +73,109 @@
        - +
        oenum ReadStatus

        - +
        o FILE_NOT_HANDLED

        - +

        o FILE_LOADED

        - +

        o ERROR_IN_READING_FILE

        - -
        o ReadResult(ReadStatus status=FILE_NOT_HANDLED) + +
        o ReadResult(ReadStatus status=FILE_NOT_HANDLED)

        - +

        o ReadResult(const std::string& m)

        - +

        o ReadResult(osg::Object* obj)

        - -

        o ReadResult(const ReadResult& rr) + +
        o ReadResult(const ReadResult& rr)

        - +

        oReadResult& operator = (const ReadResult& rr)

        - +

        oosg::Object* getObject()

        - +

        oosg::Image* getImage()

        - +

        oosg::Node* getNode()

        - +

        obool validObject()

        - +

        obool validImage()

        - +

        obool validNode()

        - +

        oosg::Object* takeObject()

        - +

        oosg::Image* takeImage()

        - +

        oosg::Node* takeNode()

        - +

        oconst std::string& message() const

        - -

        oReadStatus status() const + +
        oReadStatus status() const

        - +

        obool success() const

        - +

        obool error() const

        - +

        obool notHandled() const

        - -

        oReadStatus _status + +
        oReadStatus _status

        - +

        ostd::string _message

        - +

        oosg::ref_ptr<osg::Object> _object

        diff --git a/doc/doc++/osgDB/ReaderWriter.html b/doc/doc++/osgDB/ReaderWriter.html index 10c71d409..dc50df335 100644 --- a/doc/doc++/osgDB/ReaderWriter.html +++ b/doc/doc++/osgDB/ReaderWriter.html @@ -23,23 +23,35 @@

        Public Methods

        -[more]virtual ~ReaderWriter() +[more]virtual ~ReaderWriter()
        -[more]virtual const char* className() = 0 +[more]virtual const char* className() = 0
        -[more]virtual bool acceptsExtension(const std::string&xtension*/) +[more]virtual bool acceptsExtension(const std::string&xtension*/)
        -[more]virtual ReadResult readObject(const std::string& , const Options* =NULL) +[more]virtual ReadResult readObject(const std::string& , const Options* =NULL)
        -[more]virtual ReadResult readImage(const std::string& , const Options* =NULL) +[more]virtual ReadResult readImage(const std::string& , const Options* =NULL)
        -[more]virtual ReadResult readNode(const std::string& , const Options* =NULL) +[more]virtual ReadResult readNode(const std::string& , const Options* =NULL)
        -[more]virtual WriteResult writeObject(const osg::Object& , const std::string& , const Options* =NULL) +[more]virtual WriteResult writeObject(const osg::Object& , const std::string& , const Options* =NULL)
        -[more]virtual WriteResult writeImage(const osg::Image& , const std::string& , const Options* =NULL) +[more]virtual WriteResult writeImage(const osg::Image& , const std::string& , const Options* =NULL)
        -[more]virtual WriteResult writeNode(const osg::Node& , const std::string& , const Options* =NULL) +[more]virtual WriteResult writeNode(const osg::Node& , const std::string& , const Options* =NULL) +
        +[more]virtual ReadResult readObject(std::istream& , const Options* =NULL) +
        +[more]virtual ReadResult readImage(std::istream& , const Options* =NULL) +
        +[more]virtual ReadResult readNode(std::istream& , const Options* =NULL) +
        +[more]virtual WriteResult writeObject(const osg::Object& , std::ostream& , const Options* =NULL) +
        +[more]virtual WriteResult writeImage(const osg::Image& , std::ostream& , const Options* =NULL) +
        +[more]virtual WriteResult writeNode(const osg::Node& , std::ostream& , const Options* =NULL)

        @@ -60,40 +72,64 @@ class WriteResult
        - +
        ovirtual ~ReaderWriter()

        - +

        ovirtual const char* className() = 0

        - +

        ovirtual bool acceptsExtension(const std::string&xtension*/)

        - +

        ovirtual ReadResult readObject(const std::string& , const Options* =NULL)

        - +

        ovirtual ReadResult readImage(const std::string& , const Options* =NULL)

        - +

        ovirtual ReadResult readNode(const std::string& , const Options* =NULL)

        - +

        ovirtual WriteResult writeObject(const osg::Object& , const std::string& , const Options* =NULL)

        - +

        ovirtual WriteResult writeImage(const osg::Image& , const std::string& , const Options* =NULL)

        - +

        ovirtual WriteResult writeNode(const osg::Node& , const std::string& , const Options* =NULL) +

        + + +

        ovirtual ReadResult readObject(std::istream& , const Options* =NULL) +

        + + +

        ovirtual ReadResult readImage(std::istream& , const Options* =NULL) +

        + + +

        ovirtual ReadResult readNode(std::istream& , const Options* =NULL) +

        + + +

        ovirtual WriteResult writeObject(const osg::Object& , std::ostream& , const Options* =NULL) +

        + + +

        ovirtual WriteResult writeImage(const osg::Image& , std::ostream& , const Options* =NULL) +

        + + +

        ovirtual WriteResult writeNode(const osg::Node& , std::ostream& , const Options* =NULL)


        This class has no child classes.
        diff --git a/doc/doc++/osgDB/RegisterDotOsgWrapperProxy.html b/doc/doc++/osgDB/RegisterDotOsgWrapperProxy.html index 3087a1722..c01f08956 100644 --- a/doc/doc++/osgDB/RegisterDotOsgWrapperProxy.html +++ b/doc/doc++/osgDB/RegisterDotOsgWrapperProxy.html @@ -13,14 +13,14 @@

        Public Methods

        -[more] RegisterDotOsgWrapperProxy(osg::Object* proto, const std::string& name, const std::string& associates, DotOsgWrapper::ReadFunc readFunc, DotOsgWrapper::WriteFunc writeFunc, DotOsgWrapper::ReadWriteMode readWriteMode=DotOsgWrapper::READ_AND_WRITE) +[more] RegisterDotOsgWrapperProxy(osg::Object* proto, const std::string& name, const std::string& associates, DotOsgWrapper::ReadFunc readFunc, DotOsgWrapper::WriteFunc writeFunc, DotOsgWrapper::ReadWriteMode readWriteMode=DotOsgWrapper::READ_AND_WRITE)
        -[more] ~RegisterDotOsgWrapperProxy() +[more] ~RegisterDotOsgWrapperProxy()

        Protected Fields

        -[more]osg::ref_ptr<DotOsgWrapper> _wrapper +[more]osg::ref_ptr<DotOsgWrapper> _wrapper

        @@ -32,15 +32,15 @@
        - +
        o RegisterDotOsgWrapperProxy(osg::Object* proto, const std::string& name, const std::string& associates, DotOsgWrapper::ReadFunc readFunc, DotOsgWrapper::WriteFunc writeFunc, DotOsgWrapper::ReadWriteMode readWriteMode=DotOsgWrapper::READ_AND_WRITE)

        - +

        o ~RegisterDotOsgWrapperProxy()

        - +

        oosg::ref_ptr<DotOsgWrapper> _wrapper

        diff --git a/doc/doc++/osgDB/RegisterReaderWriterProxy.html b/doc/doc++/osgDB/RegisterReaderWriterProxy.html index d352c64be..7f0601185 100644 --- a/doc/doc++/osgDB/RegisterReaderWriterProxy.html +++ b/doc/doc++/osgDB/RegisterReaderWriterProxy.html @@ -13,14 +13,14 @@

        Public Methods

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

        Protected Fields

        -[more]osg::ref_ptr<T> _rw +[more]osg::ref_ptr<T> _rw

        @@ -32,15 +32,15 @@
        - +
        o RegisterReaderWriterProxy()

        - +

        o ~RegisterReaderWriterProxy()

        - +

        oosg::ref_ptr<T> _rw

        diff --git a/doc/doc++/osgDB/Registry.html b/doc/doc++/osgDB/Registry.html index 0d1dc5f96..a0995496d 100644 --- a/doc/doc++/osgDB/Registry.html +++ b/doc/doc++/osgDB/Registry.html @@ -23,188 +23,193 @@

        Public Methods

        -[more]static Registry* instance() +[more]static Registry* instance()
        -[more]void readCommandLine(osg::ArgumentParser& commandLine) +[more]void readCommandLine(osg::ArgumentParser& commandLine)
        read the command line arguments
        -[more]void addFileExtensionAlias(const std::string mapExt, const std::string toExt) +[more]void addFileExtensionAlias(const std::string mapExt, const std::string toExt)
        register an fileextension alias to mapExt toExt, the later should the the extension name of the readerwriter plugin library.
        -[more]void addDotOsgWrapper(DotOsgWrapper* wrapper) +[more]void addDotOsgWrapper(DotOsgWrapper* wrapper)
        -[more]void removeDotOsgWrapper(DotOsgWrapper* wrapper) +[more]void removeDotOsgWrapper(DotOsgWrapper* wrapper)
        -[more]void addReaderWriter(ReaderWriter* rw) +[more]void addReaderWriter(ReaderWriter* rw)
        -[more]void removeReaderWriter(ReaderWriter* rw) +[more]void removeReaderWriter(ReaderWriter* rw)
        -[more]std::string createLibraryNameForFile(const std::string& fileName) +[more]std::string createLibraryNameForFile(const std::string& fileName)
        create the platform specific library name associated with file
        -[more]std::string createLibraryNameForExt(const std::string& ext) +[more]std::string createLibraryNameForExtension(const std::string& ext)
        create the platform specific library name associated with file extension
        -[more]std::string createLibraryNameForNodeKit(const std::string& name) +[more]std::string createLibraryNameForNodeKit(const std::string& name)
        create the platform specific library name associated with nodekit library name
        -[more]bool loadLibrary(const std::string& fileName) +[more]bool loadLibrary(const std::string& fileName)
        find the library in the SG_LIBRARY_PATH and load it
        -[more]bool closeLibrary(const std::string& fileName) +[more]bool closeLibrary(const std::string& fileName)
        close the attached library with specified name
        -[more]osg::Object* readObjectOfType(const osg::Object& compObj, Input& fr) +[more]ReaderWriter* getReaderWriterForExtension(const std::string& ext) +
        get a reader writer which handles specified extension
        -[more]osg::Object* readObject(Input& fr) +[more]osg::Object* readObjectOfType(const osg::Object& compObj, Input& fr)
        -[more]osg::Image* readImage(Input& fr) +[more]osg::Object* readObjectOfType(const basic_type_wrapper &btw, Input& fr)
        -[more]osg::Drawable* readDrawable(Input& fr) +[more]osg::Object* readObject(Input& fr)
        -[more]osg::StateAttribute* readStateAttribute(Input& fr) +[more]osg::Image* readImage(Input& fr)
        -[more]osg::Node* readNode(Input& fr) +[more]osg::Drawable* readDrawable(Input& fr)
        -[more]bool writeObject(const osg::Object& obj, Output& fw) +[more]osg::StateAttribute* readStateAttribute(Input& fr)
        -[more]ReaderWriter::ReadResult readObject(const std::string& fileName, bool useObjectCache) +[more]osg::Node* readNode(Input& fr)
        -[more]ReaderWriter::WriteResult writeObject(const osg::Object& obj, const std::string& fileName) +[more]bool writeObject(const osg::Object& obj, Output& fw)
        -[more]ReaderWriter::ReadResult readImage(const std::string& fileName, bool useObjectCache) +[more]ReaderWriter::ReadResult readObject(const std::string& fileName, bool useObjectCache)
        -[more]ReaderWriter::WriteResult writeImage(const osg::Image& obj, const std::string& fileName) +[more]ReaderWriter::WriteResult writeObject(const osg::Object& obj, const std::string& fileName)
        -[more]ReaderWriter::ReadResult readNode(const std::string& fileName, bool useObjectCache) +[more]ReaderWriter::ReadResult readImage(const std::string& fileName, bool useObjectCache)
        -[more]ReaderWriter::WriteResult writeNode(const osg::Node& node, const std::string& fileName) +[more]ReaderWriter::WriteResult writeImage(const osg::Image& obj, const std::string& fileName)
        -[more]void setCreateNodeFromImage(bool flag) +[more]ReaderWriter::ReadResult readNode(const std::string& fileName, bool useObjectCache)
        -[more]bool getCreateNodeFromImage() const +[more]ReaderWriter::WriteResult writeNode(const osg::Node& node, const std::string& fileName)
        -[more]void setOptions(ReaderWriter::Options* opt) +[more]void setCreateNodeFromImage(bool flag)
        -[more]ReaderWriter::Options* getOptions() +[more]bool getCreateNodeFromImage() const
        -[more]const ReaderWriter::Options* getOptions() const +[more]void setOptions(ReaderWriter::Options* opt)
        -[more]void initFilePathLists() +[more]ReaderWriter::Options* getOptions() +
        +[more]const ReaderWriter::Options* getOptions() const +
        +[more]void initFilePathLists()
        initilize both the Data and Library FilePaths, by default called by the constructor, so it should only be required if you want to force the re-reading of environmental variables
        -[more]void initDataFilePathList() +[more]void initDataFilePathList()
        initilize the Data FilePath by reading the OSG_FILE_PATH environmental variable
        -[more]void setDataFilePathList(const FilePathList& filepath) +[more]void setDataFilePathList(const FilePathList& filepath)
        Set the data file path using a list of paths stored in a FilePath, which is used when search for data files
        -[more]void setDataFilePathList(const std::string& paths) +[more]void setDataFilePathList(const std::string& paths)
        Set the data file path using a single string deliminated either with ';' (Windows) or ':' (All other platforms), which is used when search for data files
        -[more]FilePathList& getDataFilePathList() +[more]FilePathList& getDataFilePathList()
        get the data file path which is used when search for data files
        -[more]const FilePathList& getDataFilePathList() const +[more]const FilePathList& getDataFilePathList() const
        get the const data file path which is used when search for data files
        -[more]void initLibraryFilePathList() +[more]void initLibraryFilePathList()
        initilize the Library FilePath by reading the OSG_LIBRARY_PATH and the appropriate system environmental variables
        -[more]void setLibraryFilePathList(const FilePathList& filepath) +[more]void setLibraryFilePathList(const FilePathList& filepath)
        Set the library file path using a list of paths stored in a FilePath, which is used when search for data files
        -[more]void setLibraryFilePathList(const std::string& paths) +[more]void setLibraryFilePathList(const std::string& paths)
        Set the library file path using a single string deliminated either with ';' (Windows) or ':' (All other platforms), which is used when search for data files
        -[more]FilePathList& getLibraryFilePathList() +[more]FilePathList& getLibraryFilePathList()
        get the library file path which is used when search for library (dso/dll's) files
        -[more]const FilePathList& getLibraryFilePathList() const +[more]const FilePathList& getLibraryFilePathList() const
        get the const library file path which is used when search for library (dso/dll's) files
        -[more]static void convertStringPathIntoFilePathList(const std::string& paths, FilePathList& filepath) +[more]static void convertStringPathIntoFilePathList(const std::string& paths, FilePathList& filepath)
        convert a string containing a list of paths deliminated either with ';' (Windows) or ':' (All other platforms) into FilePath represetation
        -[more]void updateTimeStampOfObjectsInCacheWithExtenalReferences(double currentTime) +[more]void updateTimeStampOfObjectsInCacheWithExtenalReferences(double currentTime)
        For each object in the cache which has an reference count greater than 1 (and therefore referenced by elsewhere in the application) set the time stamp for that object in the cache to specified time.
        -[more]void removeExpiredObjectsInCache(double expiryTime) +[more]void removeExpiredObjectsInCache(double expiryTime)
        Removed object in the cache which have a time stamp at or before the specified expiry time.
        -[more]void clearObjectCache() +[more]void clearObjectCache()
        Remove all objects in the cache regardless of having external references or expiry times

        Protected Fields

        -[more]bool _createNodeFromImage +[more]bool _createNodeFromImage
        -[more]DotOsgWrapperMap _objectWrapperMap +[more]DotOsgWrapperMap _objectWrapperMap
        -[more]DotOsgWrapperMap _imageWrapperMap +[more]DotOsgWrapperMap _imageWrapperMap
        -[more]DotOsgWrapperMap _drawableWrapperMap +[more]DotOsgWrapperMap _drawableWrapperMap
        -[more]DotOsgWrapperMap _stateAttrWrapperMap +[more]DotOsgWrapperMap _stateAttrWrapperMap
        -[more]DotOsgWrapperMap _nodeWrapperMap +[more]DotOsgWrapperMap _nodeWrapperMap
        -[more]DotOsgWrapperMap _classNameWrapperMap +[more]DotOsgWrapperMap _classNameWrapperMap
        -[more]ReaderWriterList _rwList +[more]ReaderWriterList _rwList
        -[more]DynamicLibraryList _dlList +[more]DynamicLibraryList _dlList
        -[more]bool _openingLibrary +[more]bool _openingLibrary
        -[more]ExtensionAliasMap _extAliasMap +[more]ExtensionAliasMap _extAliasMap
        -[more]osg::ref_ptr<ReaderWriter::Options> _options +[more]osg::ref_ptr<ReaderWriter::Options> _options
        -[more]FilePathList _dataFilePath +[more]FilePathList _dataFilePath
        -[more]FilePathList _libraryFilePath +[more]FilePathList _libraryFilePath
        -[more]ObjectCache _objectCache +[more]ObjectCache _objectCache

        Protected Methods

        -[more]virtual ~Registry() +[more]virtual ~Registry()
        -[more] Registry() +[more] Registry()
        constructor is private, as its a singleton, preventing construction other than via the instance() method and therefore ensuring only one copy is ever constructed
        -[more]DynamicLibraryList::iterator getLibraryItr(const std::string& fileName) +[more]DynamicLibraryList::iterator getLibraryItr(const std::string& fileName)
        get the attached library with specified name
        -[more]DynamicLibrary* getLibrary(const std::string& fileName) +[more]DynamicLibrary* getLibrary(const std::string& fileName)
        -[more]osg::Object* readObject(DotOsgWrapperMap& dowMap, Input& fr) +[more]osg::Object* readObject(DotOsgWrapperMap& dowMap, Input& fr)
        -[more]void eraseWrapper(DotOsgWrapperMap& wrappermap, DotOsgWrapper* wrapper) +[more]void eraseWrapper(DotOsgWrapperMap& wrappermap, DotOsgWrapper* wrapper)
        -[more]ReaderWriter::ReadResult readObject(const std::string& fileName) +[more]ReaderWriter::ReadResult readObject(const std::string& fileName)
        -[more]ReaderWriter::ReadResult readImage(const std::string& fileName) +[more]ReaderWriter::ReadResult readImage(const std::string& fileName)
        -[more]ReaderWriter::ReadResult readNode(const std::string& fileName) +[more]ReaderWriter::ReadResult readNode(const std::string& fileName)

        Protected Members

        -[more]typedef std::map< std::string, osg::ref_ptr<DotOsgWrapper> > DotOsgWrapperMap +[more]typedef std::map< std::string, osg::ref_ptr<DotOsgWrapper> > DotOsgWrapperMap
        -[more]typedef std::vector< osg::ref_ptr<ReaderWriter> > ReaderWriterList +[more]typedef std::vector< osg::ref_ptr<ReaderWriter> > ReaderWriterList
        -[more]typedef std::vector< osg::ref_ptr<DynamicLibrary> > DynamicLibraryList +[more]typedef std::vector< osg::ref_ptr<DynamicLibrary> > DynamicLibraryList
        -[more]typedef std::map< std::string, std::string> ExtensionAliasMap +[more]typedef std::map< std::string, std::string> ExtensionAliasMap
        -[more]typedef std::pair<osg::ref_ptr<osg::Object>, double > ObjectTimeStampPair +[more]typedef std::pair<osg::ref_ptr<osg::Object>, double > ObjectTimeStampPair
        -[more]typedef std::map<std::string, ObjectTimeStampPair > ObjectCache +[more]typedef std::map<std::string, ObjectTimeStampPair > ObjectCache

        @@ -226,16 +231,16 @@ register at runtime a reader/writer with the Registry.
        - +
        ostatic Registry* instance()

        - +

        ovoid readCommandLine(osg::ArgumentParser& commandLine)
        read the command line arguments

        - +

        ovoid addFileExtensionAlias(const std::string mapExt, const std::string toExt)
        register an fileextension alias to mapExt toExt, the later should the the extension name of the readerwriter plugin library. @@ -244,183 +249,192 @@ addExtAlias("tif","tiff") which will enable .tif to be read by the libdb_tiff readerwriter plugin.

        - +

        ovoid addDotOsgWrapper(DotOsgWrapper* wrapper)

        - +

        ovoid removeDotOsgWrapper(DotOsgWrapper* wrapper)

        - +

        ovoid addReaderWriter(ReaderWriter* rw)

        - +

        ovoid removeReaderWriter(ReaderWriter* rw)

        - +

        ostd::string createLibraryNameForFile(const std::string& fileName)
        create the platform specific library name associated with file

        - - -

        ostd::string createLibraryNameForExt(const std::string& ext) + + +
        ostd::string createLibraryNameForExtension(const std::string& ext)
        create the platform specific library name associated with file extension

        - +

        ostd::string createLibraryNameForNodeKit(const std::string& name)
        create the platform specific library name associated with nodekit library name

        - +

        obool loadLibrary(const std::string& fileName)
        find the library in the SG_LIBRARY_PATH and load it

        - +

        obool closeLibrary(const std::string& fileName)
        close the attached library with specified name

        + + +

        oReaderWriter* getReaderWriterForExtension(const std::string& ext) +
        get a reader writer which handles specified extension +

        - +

        oosg::Object* readObjectOfType(const osg::Object& compObj, Input& fr)

        + + +

        oosg::Object* readObjectOfType(const basic_type_wrapper &btw, Input& fr) +

        - +

        oosg::Object* readObject(Input& fr)

        - +

        oosg::Image* readImage(Input& fr)

        - +

        oosg::Drawable* readDrawable(Input& fr)

        - +

        oosg::StateAttribute* readStateAttribute(Input& fr)

        - +

        oosg::Node* readNode(Input& fr)

        - +

        obool writeObject(const osg::Object& obj, Output& fw)

        - +

        oReaderWriter::ReadResult readObject(const std::string& fileName, bool useObjectCache)

        - +

        oReaderWriter::WriteResult writeObject(const osg::Object& obj, const std::string& fileName)

        - +

        oReaderWriter::ReadResult readImage(const std::string& fileName, bool useObjectCache)

        - +

        oReaderWriter::WriteResult writeImage(const osg::Image& obj, const std::string& fileName)

        - +

        oReaderWriter::ReadResult readNode(const std::string& fileName, bool useObjectCache)

        - +

        oReaderWriter::WriteResult writeNode(const osg::Node& node, const std::string& fileName)

        - +

        ovoid setCreateNodeFromImage(bool flag)

        - +

        obool getCreateNodeFromImage() const

        - +

        ovoid setOptions(ReaderWriter::Options* opt)

        - +

        oReaderWriter::Options* getOptions()

        - +

        oconst ReaderWriter::Options* getOptions() const

        - +

        ovoid initFilePathLists()
        initilize both the Data and Library FilePaths, by default called by the constructor, so it should only be required if you want to force the re-reading of environmental variables

        - +

        ovoid initDataFilePathList()
        initilize the Data FilePath by reading the OSG_FILE_PATH environmental variable

        - +

        ovoid setDataFilePathList(const FilePathList& filepath)
        Set the data file path using a list of paths stored in a FilePath, which is used when search for data files

        - +

        ovoid setDataFilePathList(const std::string& paths)
        Set the data file path using a single string deliminated either with ';' (Windows) or ':' (All other platforms), which is used when search for data files

        - +

        oFilePathList& getDataFilePathList()
        get the data file path which is used when search for data files

        - +

        oconst FilePathList& getDataFilePathList() const
        get the const data file path which is used when search for data files

        - +

        ovoid initLibraryFilePathList()
        initilize the Library FilePath by reading the OSG_LIBRARY_PATH and the appropriate system environmental variables

        - +

        ovoid setLibraryFilePathList(const FilePathList& filepath)
        Set the library file path using a list of paths stored in a FilePath, which is used when search for data files

        - +

        ovoid setLibraryFilePathList(const std::string& paths)
        Set the library file path using a single string deliminated either with ';' (Windows) or ':' (All other platforms), which is used when search for data files

        - +

        oFilePathList& getLibraryFilePathList()
        get the library file path which is used when search for library (dso/dll's) files

        - +

        oconst FilePathList& getLibraryFilePathList() const
        get the const library file path which is used when search for library (dso/dll's) files

        - +

        ostatic void convertStringPathIntoFilePathList(const std::string& paths, FilePathList& filepath)
        convert a string containing a list of paths deliminated either with ';' (Windows) or ':' (All other platforms) into FilePath represetation

        - +

        ovoid updateTimeStampOfObjectsInCacheWithExtenalReferences(double currentTime)
        For each object in the cache which has an reference count greater than 1 (and therefore referenced by elsewhere in the application) set the time stamp @@ -430,7 +444,7 @@ and need to prune objects that are no longer required. Time value is time in sceonds.

        - +

        ovoid removeExpiredObjectsInCache(double expiryTime)
        Removed object in the cache which have a time stamp at or before the specified expiry time. This would typically be called once per frame by applications which are doing database paging, @@ -441,133 +455,133 @@ to a fixed amount of time before currentTime, such as expiryTime = currentTime-1 Time value is time in sceonds.

        - +

        ovoid clearObjectCache()
        Remove all objects in the cache regardless of having external references or expiry times

        - +

        ovirtual ~Registry()

        - +

        otypedef std::map< std::string, osg::ref_ptr<DotOsgWrapper> > DotOsgWrapperMap

        - +

        otypedef std::vector< osg::ref_ptr<ReaderWriter> > ReaderWriterList

        - +

        otypedef std::vector< osg::ref_ptr<DynamicLibrary> > DynamicLibraryList

        - +

        otypedef std::map< std::string, std::string> ExtensionAliasMap

        - +

        otypedef std::pair<osg::ref_ptr<osg::Object>, double > ObjectTimeStampPair

        - -

        otypedef std::map<std::string, ObjectTimeStampPair > ObjectCache + +
        otypedef std::map<std::string, ObjectTimeStampPair > ObjectCache

        - +

        o Registry()
        constructor is private, as its a singleton, preventing construction other than via the instance() method and therefore ensuring only one copy is ever constructed

        - +

        oDynamicLibraryList::iterator getLibraryItr(const std::string& fileName)
        get the attached library with specified name

        - +

        oDynamicLibrary* getLibrary(const std::string& fileName)

        - +

        obool _createNodeFromImage

        - -

        oosg::Object* readObject(DotOsgWrapperMap& dowMap, Input& fr) + +
        oosg::Object* readObject(DotOsgWrapperMap& dowMap, Input& fr)

        - -

        ovoid eraseWrapper(DotOsgWrapperMap& wrappermap, DotOsgWrapper* wrapper) + +
        ovoid eraseWrapper(DotOsgWrapperMap& wrappermap, DotOsgWrapper* wrapper)

        - +

        oReaderWriter::ReadResult readObject(const std::string& fileName)

        - +

        oReaderWriter::ReadResult readImage(const std::string& fileName)

        - +

        oReaderWriter::ReadResult readNode(const std::string& fileName)

        - -

        oDotOsgWrapperMap _objectWrapperMap + +
        oDotOsgWrapperMap _objectWrapperMap

        - -

        oDotOsgWrapperMap _imageWrapperMap + +
        oDotOsgWrapperMap _imageWrapperMap

        - -

        oDotOsgWrapperMap _drawableWrapperMap + +
        oDotOsgWrapperMap _drawableWrapperMap

        - -

        oDotOsgWrapperMap _stateAttrWrapperMap + +
        oDotOsgWrapperMap _stateAttrWrapperMap

        - -

        oDotOsgWrapperMap _nodeWrapperMap + +
        oDotOsgWrapperMap _nodeWrapperMap

        - -

        oDotOsgWrapperMap _classNameWrapperMap + +
        oDotOsgWrapperMap _classNameWrapperMap

        - -

        oReaderWriterList _rwList + +
        oReaderWriterList _rwList

        - -

        oDynamicLibraryList _dlList + +
        oDynamicLibraryList _dlList

        - +

        obool _openingLibrary

        - -

        oExtensionAliasMap _extAliasMap + +
        oExtensionAliasMap _extAliasMap

        - +

        oosg::ref_ptr<ReaderWriter::Options> _options

        - +

        oFilePathList _dataFilePath

        - +

        oFilePathList _libraryFilePath

        - -

        oObjectCache _objectCache + +
        oObjectCache _objectCache


        This class has no child classes.
        diff --git a/doc/doc++/osgDB/WriteResult.html b/doc/doc++/osgDB/WriteResult.html index bd862b0ae..935cb4708 100644 --- a/doc/doc++/osgDB/WriteResult.html +++ b/doc/doc++/osgDB/WriteResult.html @@ -12,35 +12,35 @@

        Public Methods

        -[more] WriteResult(WriteStatus status=FILE_NOT_HANDLED) +[more] WriteResult(WriteStatus status=FILE_NOT_HANDLED)
        -[more] WriteResult(const std::string& m) +[more] WriteResult(const std::string& m)
        -[more] WriteResult(const WriteResult& rr) +[more] WriteResult(const WriteResult& rr)
        -[more]WriteResult& operator = (const WriteResult& rr) +[more]WriteResult& operator = (const WriteResult& rr)
        -[more]const std::string& message() const +[more]const std::string& message() const
        -[more]WriteStatus status() const +[more]WriteStatus status() const
        -[more]bool success() const +[more]bool success() const
        -[more]bool error() const +[more]bool error() const
        -[more]bool notHandled() const +[more]bool notHandled() const

        Public Members

        -[more]enum WriteStatus +[more]enum WriteStatus

        Protected Fields

        -[more]WriteStatus _status +[more]WriteStatus _status
        -[more]std::string _message +[more]std::string _message

        @@ -51,65 +51,65 @@
        - +
        oenum WriteStatus

        - +
        o FILE_NOT_HANDLED

        - +

        o FILE_SAVED

        - +

        o ERROR_IN_WRITING_FILE

        - -
        o WriteResult(WriteStatus status=FILE_NOT_HANDLED) + +
        o WriteResult(WriteStatus status=FILE_NOT_HANDLED)

        - +

        o WriteResult(const std::string& m)

        - -

        o WriteResult(const WriteResult& rr) + +
        o WriteResult(const WriteResult& rr)

        - +

        oWriteResult& operator = (const WriteResult& rr)

        - +

        oconst std::string& message() const

        - -

        oWriteStatus status() const + +
        oWriteStatus status() const

        - +

        obool success() const

        - +

        obool error() const

        - +

        obool notHandled() const

        - -

        oWriteStatus _status + +
        oWriteStatus _status

        - +

        ostd::string _message

        diff --git a/doc/doc++/osgDB/basic_type_wrapper.html b/doc/doc++/osgDB/basic_type_wrapper.html new file mode 100644 index 000000000..25832d0e9 --- /dev/null +++ b/doc/doc++/osgDB/basic_type_wrapper.html @@ -0,0 +1,33 @@ + + + + + struct osgDB::basic_type_wrapper + + + + +

        struct osgDB::basic_type_wrapper

        basic structure for custom runtime inheritance checking
        + +
        +

        +
        +[more]virtual bool matches(const osg::Object* proto) const = 0 +

        + + + +
        +

        Documentation

        +
        basic structure for custom runtime inheritance checking
        +
        + + + +
        ovirtual bool matches(const osg::Object* proto) const = 0 +

        +

        Alphabetic index HTML hierarchy of classes or Java


        +
        +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgDB/index.html b/doc/doc++/osgDB/index.html index b498f1a26..ff15d22d0 100644 --- a/doc/doc++/osgDB/index.html +++ b/doc/doc++/osgDB/index.html @@ -19,6 +19,7 @@

        Macros

          +
        • OSGDB_DATABASEPAGER
        • OSGDB_DOTOSGWRAPPER
        • OSGDB_EXPORT:
            diff --git a/doc/doc++/osgDB/osgDB.html b/doc/doc++/osgDB/osgDB.html index 546f823e9..f45c19ef4 100644 --- a/doc/doc++/osgDB/osgDB.html +++ b/doc/doc++/osgDB/osgDB.html @@ -11,6 +11,9 @@

            +class OSGDB_EXPORT DatabasePager: public osg::NodeVisitor::DatabaseRequestHandler, public OpenThreads::Thread +
            Database paging class which manages the loading of files in a background thread, and syncronizing of loaded models with the main scene graph +
            class OSGDB_EXPORT DotOsgWrapper: public osg::Referenced
            Wrapper class for specifying read and write functions for extending the osg file format.
            @@ -23,19 +26,19 @@ class OSGDB_EXPORT FieldReader
            class OSGDB_EXPORT FieldReaderIterator
            -[more]extern OSGDB_EXPORT std::string getFilePath(const std::string& filename) +[more]extern OSGDB_EXPORT std::string getFilePath(const std::string& filename)
            -[more]extern OSGDB_EXPORT std::string getFileExtension(const std::string& filename) +[more]extern OSGDB_EXPORT std::string getFileExtension(const std::string& filename)
            -[more]extern OSGDB_EXPORT std::string getLowerCaseFileExtension(const std::string& filename) +[more]extern OSGDB_EXPORT std::string getLowerCaseFileExtension(const std::string& filename)
            -[more]extern OSGDB_EXPORT std::string getSimpleFileName(const std::string& fileName) +[more]extern OSGDB_EXPORT std::string getSimpleFileName(const std::string& fileName)
            -[more]extern OSGDB_EXPORT std::string getStrippedName(const std::string& fileName) +[more]extern OSGDB_EXPORT std::string getStrippedName(const std::string& fileName)
            -[more]extern OSGDB_EXPORT bool equalCaseInsensitive(const std::string& lhs, const std::string& rhs) +[more]extern OSGDB_EXPORT bool equalCaseInsensitive(const std::string& lhs, const std::string& rhs)
            -[more]extern OSGDB_EXPORT bool equalCaseInsensitive(const std::string& lhs, const char* rhs) +[more]extern OSGDB_EXPORT bool equalCaseInsensitive(const std::string& lhs, const char* rhs)
            extern OSGDB_EXPORT bool fileExists(const std::string& filename)
            return true if a file exisits. @@ -52,24 +55,24 @@ typedef std::vector<std::string> Dire extern OSGDB_EXPORT DirectoryContents getDirectoryContents(const std::string& dirName)
            return the contents of a directory.
            -[more]inline void setDataFilePathList(const FilePathList& filepath) +[more]inline void setDataFilePathList(const FilePathList& filepath)
            -[more]inline void setDataFilePathList(const std::string& paths) +[more]inline void setDataFilePathList(const std::string& paths)
            -[more]inline FilePathList& getDataFilePathList() +[more]inline FilePathList& getDataFilePathList()
            -[more]extern OSGDB_EXPORT std::string findDataFile(const std::string& filename) +[more]extern OSGDB_EXPORT std::string findDataFile(const std::string& filename)
            class PushAndPopDataPath
            Convinience class for pushing a path on construction, and popping the path and destruction.
            -[more]inline void setLibraryFilePathList(const FilePathList& filepaths) +[more]inline void setLibraryFilePathList(const FilePathList& filepaths)
            -[more]inline void setLibraryFilePathList(const std::string& paths) +[more]inline void setLibraryFilePathList(const std::string& paths)
            -[more]inline FilePathList& getLibraryFilePathList() +[more]inline FilePathList& getLibraryFilePathList()
            -[more]extern OSGDB_EXPORT std::string findLibraryFile(const std::string& filename) +[more]extern OSGDB_EXPORT std::string findLibraryFile(const std::string& filename)
            class OSGDB_EXPORT Input: public FieldReaderIterator
            Class for managing the reading of ASCII osg files @@ -79,9 +82,9 @@ class OSGDB_EXPORT Output: public std::ofstrea
            class ParameterOutput
            -[more]template<class Iterator> void writeArray(Output& fw, Iterator first, Iterator last, int noItemsPerLine=0) +[more]template<class Iterator> void writeArray(Output& fw, Iterator first, Iterator last, int noItemsPerLine=0)
            -[more]template<class Iterator> void writeArrayAsInts(Output& fw, Iterator first, Iterator last, int noItemsPerLine=0) +[more]template<class Iterator> void writeArrayAsInts(Output& fw, Iterator first, Iterator last, int noItemsPerLine=0)
            extern OSGDB_EXPORT osg::Object* readObjectFile(const std::string& filename, bool useObjectCache=false)
            Read an osg::Object from file. @@ -101,6 +104,12 @@ extern OSGDB_EXPORT osg::Node* readNodeFilesReaderWriter: public osg::Referenced
            pure virtual base class for reading and writing of non native formats.
            +struct basic_type_wrapper +
            basic structure for custom runtime inheritance checking +
            +template<class T> struct type_wrapper: basic_type_wrapper +
            a class template that checks inheritance between a given Object's class and a class defined at compile time through the template parameter T. +
            typedef std::deque<std::string> FilePathList
            list of directories to search through which searching for files.
            @@ -133,71 +142,71 @@ extern OSGDB_EXPORT bool writeNodeFile(c
            - +
            oextern OSGDB_EXPORT std::string getFilePath(const std::string& filename)

            - +

            oextern OSGDB_EXPORT std::string getFileExtension(const std::string& filename)

            - +

            oextern OSGDB_EXPORT std::string getLowerCaseFileExtension(const std::string& filename)

            - +

            oextern OSGDB_EXPORT std::string getSimpleFileName(const std::string& fileName)

            - +

            oextern OSGDB_EXPORT std::string getStrippedName(const std::string& fileName)

            - +

            oextern OSGDB_EXPORT bool equalCaseInsensitive(const std::string& lhs, const std::string& rhs)

            - +

            oextern OSGDB_EXPORT bool equalCaseInsensitive(const std::string& lhs, const char* rhs)

            - +

            oinline void setDataFilePathList(const FilePathList& filepath)

            - +

            oinline void setDataFilePathList(const std::string& paths)

            - +

            oinline FilePathList& getDataFilePathList()

            - +

            oextern OSGDB_EXPORT std::string findDataFile(const std::string& filename)

            - +

            oinline void setLibraryFilePathList(const FilePathList& filepaths)

            - +

            oinline void setLibraryFilePathList(const std::string& paths)

            - +

            oinline FilePathList& getLibraryFilePathList()

            - +

            oextern OSGDB_EXPORT std::string findLibraryFile(const std::string& filename)

            - +

            otemplate<class Iterator> void writeArray(Output& fw, Iterator first, Iterator last, int noItemsPerLine=0)

            - +

            otemplate<class Iterator> void writeArrayAsInts(Output& fw, Iterator first, Iterator last, int noItemsPerLine=0)

            Alphabetic index HTML hierarchy of classes or Java


            diff --git a/doc/doc++/osgDB/type_wrapper.html b/doc/doc++/osgDB/type_wrapper.html new file mode 100644 index 000000000..188ea55b1 --- /dev/null +++ b/doc/doc++/osgDB/type_wrapper.html @@ -0,0 +1,37 @@ + + + + + template<class T> struct osgDB::type_wrapper + + + + +

            template<class T> struct osgDB::type_wrapper

            a class template that checks inheritance between a given Object's class and a class defined at compile time through the template parameter T.
            + +
            +

            +
            +[more]bool matches(const osg::Object* proto) const +

            + + + +
            +

            Documentation

            +
            a class template that checks inheritance between a given +Object's class and a class defined at compile time through +the template parameter T. +This is used in conjunction with readObjectOfType() to +specify an abstract class as reference type.
            +
            + + + +
            obool matches(const osg::Object* proto) const +

            +

            Alphabetic index HTML hierarchy of classes or Java


            +
            +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgGA/AnimationPathManipulator.html b/doc/doc++/osgGA/AnimationPathManipulator.html index 72f2aba8d..f92273f58 100644 --- a/doc/doc++/osgGA/AnimationPathManipulator.html +++ b/doc/doc++/osgGA/AnimationPathManipulator.html @@ -11,7 +11,7 @@

            Inheritance:

            - + @@ -28,60 +28,72 @@
            [more]virtual const char* className() const
            -[more]void setAnimationPath( osg::AnimationPath* animationPath ) +[more]virtual void setByMatrix(const osg::Matrix& matrix) +
            set the position of the matrix manipulator using a 4x4 Matrix
            -[more]osg::AnimationPath* getAnimationPath() +[more]virtual void setByInverseMatrix(const osg::Matrix& matrix) +
            set the position of the matrix manipulator using a 4x4 Matrix
            -[more]const osg::AnimationPath* getAnimationPath() const +[more]virtual osg::Matrix getMatrix() const +
            get the position of the manipulator as 4x4 Matrix
            -[more]bool valid() const +[more]virtual osg::Matrix getInverseMatrix() const +
            get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix
            -[more]void init(const GUIEventAdapter& ea, GUIActionAdapter& us) +[more]void setAnimationPath( osg::AnimationPath* animationPath )
            -[more]void home(const GUIEventAdapter& ea, GUIActionAdapter& us) +[more]osg::AnimationPath* getAnimationPath()
            -[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) +[more]const osg::AnimationPath* getAnimationPath() const
            -[more]virtual void getUsage(osg::ApplicationUsage& usage) const +[more]bool valid() const +
            +[more]void init(const GUIEventAdapter& ea, GUIActionAdapter& us) +
            +[more]void home(const GUIEventAdapter& ea, GUIActionAdapter& us) +
            +[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) +
            +[more]virtual void getUsage(osg::ApplicationUsage& usage) const
            Get the keyboard and mouse usage of this manipulator

            Protected Fields

            -[more]bool _valid +[more]bool _valid
            -[more]osg::ref_ptr<osg::AnimationPath> _animationPath +[more]osg::ref_ptr<osg::AnimationPath> _animationPath
            -[more]double _timeOffset +[more]double _timeOffset
            -[more]double _timeScale +[more]double _timeScale
            -[more]double _pauseTime +[more]double _pauseTime
            -[more]bool _isPaused +[more]bool _isPaused
            -[more]double _realStartOfTimedPeriod +[more]double _realStartOfTimedPeriod
            -[more]double _animStartOfTimedPeriod +[more]double _animStartOfTimedPeriod
            -[more]int _numOfFramesSinceStartOfTimedPeriod +[more]int _numOfFramesSinceStartOfTimedPeriod +
            +[more]osg::Matrix _matrix

            Protected Methods

            -[more]void handleFrame( double time ) +[more]void handleFrame( double time )

            -

            Inherited from CameraManipulator:

            +

            Inherited from MatrixManipulator:

            Public Methods

            -ovirtual void setCamera(osg::Camera*) +ovirtual osgUtil::SceneView::FusionDistanceMode getFusionDistanceMode() const
            -ovirtual const osg::Camera* getCamera() const -
            -ovirtual osg::Camera* getCamera() +ovirtual float getFusionDistanceValue() const
            ovirtual void setNode(osg::Node*)
            @@ -92,11 +104,6 @@ ovirtual void accept(GUIEventHandlerVisitor& v)

            -

            -

            Protected Fields

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

            -

            Inherited from GUIEventHandler:

            @@ -126,78 +133,102 @@
            ovirtual const char* className() const

            - + +

            ovirtual void setByMatrix(const osg::Matrix& matrix) +
            set the position of the matrix manipulator using a 4x4 Matrix +

            + + +

            ovirtual void setByInverseMatrix(const osg::Matrix& matrix) +
            set the position of the matrix manipulator using a 4x4 Matrix +

            + + +

            ovirtual osg::Matrix getMatrix() const +
            get the position of the manipulator as 4x4 Matrix +

            + + +

            ovirtual osg::Matrix getInverseMatrix() const +
            get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix +

            + +

            ovoid setAnimationPath( osg::AnimationPath* animationPath )

            - +

            oosg::AnimationPath* getAnimationPath()

            - +

            oconst osg::AnimationPath* getAnimationPath() const

            - +

            obool valid() const

            - +

            ovoid init(const GUIEventAdapter& ea, GUIActionAdapter& us)

            - +

            ovoid home(const GUIEventAdapter& ea, GUIActionAdapter& us)

            - +

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

            - +

            ovirtual void getUsage(osg::ApplicationUsage& usage) const
            Get the keyboard and mouse usage of this manipulator

            - +

            obool _valid

            - -

            ovoid handleFrame( double time ) + +
            ovoid handleFrame( double time )

            - +

            oosg::ref_ptr<osg::AnimationPath> _animationPath

            - +

            odouble _timeOffset

            - +

            odouble _timeScale

            - +

            odouble _pauseTime

            - +

            obool _isPaused

            - +

            odouble _realStartOfTimedPeriod

            - +

            odouble _animStartOfTimedPeriod

            - +

            oint _numOfFramesSinceStartOfTimedPeriod +

            + + +

            oosg::Matrix _matrix


            This class has no child classes.
            diff --git a/doc/doc++/osgGA/CompositeGUIEventHandler.html b/doc/doc++/osgGA/CompositeGUIEventHandler.html index bff47269e..ad822210d 100644 --- a/doc/doc++/osgGA/CompositeGUIEventHandler.html +++ b/doc/doc++/osgGA/CompositeGUIEventHandler.html @@ -23,37 +23,37 @@

            Public Methods

            -[more]virtual const char* className() +[more]virtual const char* className()
            -[more]virtual const CompositeGUIEventHandler* getComposite() const +[more]virtual const CompositeGUIEventHandler* getComposite() const
            -[more]virtual CompositeGUIEventHandler* getComposite() +[more]virtual CompositeGUIEventHandler* getComposite()
            -[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& aa) +[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& aa)
            -[more]virtual void accept(GUIEventHandlerVisitor& v) +[more]virtual void accept(GUIEventHandlerVisitor& v)
            -[more]virtual void getUsage(osg::ApplicationUsage& usage) const +[more]virtual void getUsage(osg::ApplicationUsage& usage) const
            Get the keyboard and mouse usage of this manipulator
            -[more]virtual bool addChild(GUIEventHandler* geh) +[more]virtual bool addChild(GUIEventHandler* geh)
            -[more]virtual bool removeChild(GUIEventHandler* geh) +[more]virtual bool removeChild(GUIEventHandler* geh)
            -[more]const int getNumChildren() const +[more]unsigned int getNumChildren() const
            -[more]GUIEventHandler* getChild( int i) +[more]GUIEventHandler* getChild( unsigned int i)
            -[more]const GUIEventHandler* getChild( int i ) const +[more]const GUIEventHandler* getChild( unsigned int i ) const
            -[more]bool containsNode( const GUIEventHandler* node ) const +[more]bool containsNode( const GUIEventHandler* node ) const
            -[more]ChildList::iterator findChild( const GUIEventHandler* node ) +[more]ChildList::iterator findChild( const GUIEventHandler* node )

            Public Members

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

            @@ -74,60 +74,60 @@ CompositeGUIEventHandler allows GUIEventHandlers to be composed into hierarchies
            - +
            otypedef std::vector< osg::ref_ptr<GUIEventHandler> > ChildList

            - +

            ovirtual const char* className()

            - +

            ovirtual const CompositeGUIEventHandler* getComposite() const

            - +

            ovirtual CompositeGUIEventHandler* getComposite()

            - +

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

            - +

            ovirtual void accept(GUIEventHandlerVisitor& v)

            - +

            ovirtual void getUsage(osg::ApplicationUsage& usage) const
            Get the keyboard and mouse usage of this manipulator

            - +

            ovirtual bool addChild(GUIEventHandler* geh)

            - +

            ovirtual bool removeChild(GUIEventHandler* geh)

            - -

            oconst int getNumChildren() const + +
            ounsigned int getNumChildren() const

            - -

            oGUIEventHandler* getChild( int i) + +
            oGUIEventHandler* getChild( unsigned int i)

            - -

            oconst GUIEventHandler* getChild( int i ) const + +
            oconst GUIEventHandler* getChild( unsigned int i ) const

            - +

            obool containsNode( const GUIEventHandler* node ) const

            - +

            oChildList::iterator findChild( const GUIEventHandler* node )

            diff --git a/doc/doc++/osgGA/DriveManipulator.html b/doc/doc++/osgGA/DriveManipulator.html index a922e5e7c..6525d53b3 100644 --- a/doc/doc++/osgGA/DriveManipulator.html +++ b/doc/doc++/osgGA/DriveManipulator.html @@ -12,7 +12,7 @@

            Inheritance:

            - + @@ -23,95 +23,96 @@

            Public Methods

            -[more] DriveManipulator() +[more] DriveManipulator()
            -[more]virtual const char* className() const +[more]virtual const char* className() const
            -[more]virtual void setNode(osg::Node*) +[more]virtual void setByMatrix(const osg::Matrix& matrix) +
            set the position of the matrix manipulator using a 4x4 Matrix
            -[more]virtual const osg::Node* getNode() const +[more]virtual void setByInverseMatrix(const osg::Matrix& matrix) +
            set the position of the matrix manipulator using a 4x4 Matrix
            -[more]virtual osg::Node* getNode() +[more]virtual osg::Matrix getMatrix() const +
            get the position of the manipulator as 4x4 Matrix
            -[more]virtual void home(const GUIEventAdapter& ea, GUIActionAdapter& us) +[more]virtual osg::Matrix getInverseMatrix() const +
            get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix
            -[more]virtual void init(const GUIEventAdapter& ea, GUIActionAdapter& us) +[more]virtual void setNode(osg::Node*)
            -[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) +[more]virtual const osg::Node* getNode() const
            -[more]virtual void getUsage(osg::ApplicationUsage& usage) const +[more]virtual osg::Node* getNode() +
            +[more]virtual void home(const GUIEventAdapter& ea, GUIActionAdapter& us) +
            +[more]virtual void init(const GUIEventAdapter& ea, GUIActionAdapter& us) +
            +[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) +
            +[more]virtual void getUsage(osg::ApplicationUsage& usage) const
            Get the keyboard and mouse usage of this manipulator

            Protected Fields

            -[more]osg::ref_ptr<const GUIEventAdapter> _ga_t1 +[more]osg::ref_ptr<const GUIEventAdapter> _ga_t1
            -[more]osg::ref_ptr<const GUIEventAdapter> _ga_t0 +[more]osg::ref_ptr<const GUIEventAdapter> _ga_t0
            -[more]osg::ref_ptr<osg::Node> _node +[more]osg::ref_ptr<osg::Node> _node
            -[more]float _modelScale +[more]float _modelScale
            -[more]float _velocity +[more]float _velocity
            -[more]float _height +[more]float _height
            -[more]float _buffer +[more]float _buffer
            -[more]SpeedControlMode _speedMode +[more]SpeedControlMode _speedMode
            -[more]osg::Vec3 _eye +[more]osg::Vec3 _eye
            -[more]osg::Quat _rotation +[more]osg::Quat _rotation
            -[more]float _distance +[more]float _distance

            Protected Methods

            -[more]virtual ~DriveManipulator() +[more]virtual ~DriveManipulator()
            -[more]void flushMouseEventStack() +[more]void flushMouseEventStack()
            Reset the internal GUIEvent stack
            -[more]void addMouseEvent(const GUIEventAdapter& ea) +[more]void addMouseEvent(const GUIEventAdapter& ea)
            Add the current mouse GUIEvent to internal stack
            -[more]void computeLocalDataFromCamera() +[more]void computePosition(const osg::Vec3& eye, const osg::Vec3& lv, const osg::Vec3& up)
            -[more]void computeCameraFromLocalData() -
            -[more]void computeCameraFromLocalData(const osg::Vec3& lv, const osg::Vec3& up) -
            -[more]bool calcMovement() +[more]bool calcMovement()
            For the give mouse movement calculate the movement of the camera.

            Protected Members

            -[more]enum SpeedControlMode +[more]enum SpeedControlMode

            -

            Inherited from CameraManipulator:

            +

            Inherited from MatrixManipulator:

            Public Methods

            -ovirtual void setCamera(osg::Camera*) +ovirtual osgUtil::SceneView::FusionDistanceMode getFusionDistanceMode() const
            -ovirtual const osg::Camera* getCamera() const -
            -ovirtual osg::Camera* getCamera() +ovirtual float getFusionDistanceValue() const
            ovirtual void accept(GUIEventHandlerVisitor& v)

            -

            -

            Protected Fields

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

            -

            Inherited from GUIEventHandler:

            @@ -135,130 +136,142 @@ right simultaneously) stops dead.
            - +
            o DriveManipulator()

            - +

            ovirtual const char* className() const

            + + +

            ovirtual void setByMatrix(const osg::Matrix& matrix) +
            set the position of the matrix manipulator using a 4x4 Matrix +

            + + +

            ovirtual void setByInverseMatrix(const osg::Matrix& matrix) +
            set the position of the matrix manipulator using a 4x4 Matrix +

            + + +

            ovirtual osg::Matrix getMatrix() const +
            get the position of the manipulator as 4x4 Matrix +

            + + +

            ovirtual osg::Matrix getInverseMatrix() const +
            get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix +

            - +

            ovirtual void setNode(osg::Node*)

            - +

            ovirtual const osg::Node* getNode() const

            - +

            ovirtual osg::Node* getNode()

            - +

            ovirtual void home(const GUIEventAdapter& ea, GUIActionAdapter& us)

            - +

            ovirtual void init(const GUIEventAdapter& ea, GUIActionAdapter& us)

            - +

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

            - +

            ovirtual void getUsage(osg::ApplicationUsage& usage) const
            Get the keyboard and mouse usage of this manipulator

            - +

            ovirtual ~DriveManipulator()

            - +

            ovoid flushMouseEventStack()
            Reset the internal GUIEvent stack

            - +

            ovoid addMouseEvent(const GUIEventAdapter& ea)
            Add the current mouse GUIEvent to internal stack

            - - -

            ovoid computeLocalDataFromCamera() -

            - - -

            ovoid computeCameraFromLocalData() -

            - - -

            ovoid computeCameraFromLocalData(const osg::Vec3& lv, const osg::Vec3& up) + + +
            ovoid computePosition(const osg::Vec3& eye, const osg::Vec3& lv, const osg::Vec3& up)

            - +

            obool calcMovement()
            For the give mouse movement calculate the movement of the camera. Return true is camera has moved and a redraw is required.

            - +

            oosg::ref_ptr<const GUIEventAdapter> _ga_t1

            - +

            oosg::ref_ptr<const GUIEventAdapter> _ga_t0

            - +

            oosg::ref_ptr<osg::Node> _node

            - +

            ofloat _modelScale

            - +

            ofloat _velocity

            - +

            ofloat _height

            - +

            ofloat _buffer

            - +

            oenum SpeedControlMode

            - +
            o USE_MOUSE_Y_FOR_SPEED

            - +

            o USE_MOUSE_BUTTONS_FOR_SPEED

            - -
            oSpeedControlMode _speedMode + +
            oSpeedControlMode _speedMode

            - +

            oosg::Vec3 _eye

            - +

            oosg::Quat _rotation

            - +

            ofloat _distance

            diff --git a/doc/doc++/osgGA/FlightManipulator.html b/doc/doc++/osgGA/FlightManipulator.html index 0437878c1..85a53e25a 100644 --- a/doc/doc++/osgGA/FlightManipulator.html +++ b/doc/doc++/osgGA/FlightManipulator.html @@ -7,12 +7,12 @@ -

            class OSGGA_EXPORT osgGA::FlightManipulator

            FlightManipulator is a CameraManipulator which provides flight simulator-like updating of the camera position & orientation.
            +

            class OSGGA_EXPORT osgGA::FlightManipulator

            FlightManipulator is a MatrixManipulator which provides flight simulator-like updating of the camera position & orientation.

            Inheritance:

            - + @@ -23,92 +23,95 @@

            Public Methods

            -[more] FlightManipulator() +[more] FlightManipulator()
            -[more]virtual const char* className() const +[more]virtual const char* className() const
            -[more]virtual void setNode(osg::Node*) +[more]virtual void setByMatrix(const osg::Matrix& matrix) +
            set the position of the matrix manipulator using a 4x4 Matrix
            -[more]virtual const osg::Node* getNode() const +[more]virtual void setByInverseMatrix(const osg::Matrix& matrix) +
            set the position of the matrix manipulator using a 4x4 Matrix
            -[more]virtual osg::Node* getNode() +[more]virtual osg::Matrix getMatrix() const +
            get the position of the manipulator as 4x4 Matrix
            -[more]virtual void home(const GUIEventAdapter& ea, GUIActionAdapter& us) +[more]virtual osg::Matrix getInverseMatrix() const +
            get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix
            -[more]virtual void init(const GUIEventAdapter& ea, GUIActionAdapter& us) +[more]virtual void setNode(osg::Node*)
            -[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) +[more]virtual const osg::Node* getNode() const
            -[more]virtual void getUsage(osg::ApplicationUsage& usage) const +[more]virtual osg::Node* getNode() +
            +[more]virtual void home(const GUIEventAdapter& ea, GUIActionAdapter& us) +
            +[more]virtual void init(const GUIEventAdapter& ea, GUIActionAdapter& us) +
            +[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) +
            +[more]virtual void getUsage(osg::ApplicationUsage& usage) const
            Get the keyboard and mouse usage of this manipulator
            -[more]void setYawControlMode(YawControlMode ycm) +[more]void setYawControlMode(YawControlMode ycm)
            Configure the Yaw control for the flight model.

            Public Members

            -[more]enum YawControlMode +[more]enum YawControlMode

            Protected Fields

            -[more]osg::ref_ptr<const GUIEventAdapter> _ga_t1 +[more]osg::ref_ptr<const GUIEventAdapter> _ga_t1
            -[more]osg::ref_ptr<const GUIEventAdapter> _ga_t0 +[more]osg::ref_ptr<const GUIEventAdapter> _ga_t0
            -[more]osg::ref_ptr<osg::Node> _node +[more]osg::ref_ptr<osg::Node> _node
            -[more]float _modelScale +[more]float _modelScale
            -[more]float _velocity +[more]float _velocity
            -[more]YawControlMode _yawMode +[more]YawControlMode _yawMode
            -[more]osg::Vec3 _eye +[more]osg::Vec3 _eye
            -[more]osg::Quat _rotation +[more]osg::Quat _rotation
            -[more]float _distance +[more]float _distance

            Protected Methods

            -[more]virtual ~FlightManipulator() +[more]virtual ~FlightManipulator()
            -[more]void flushMouseEventStack() +[more]void flushMouseEventStack()
            Reset the internal GUIEvent stack
            -[more]void addMouseEvent(const GUIEventAdapter& ea) +[more]void addMouseEvent(const GUIEventAdapter& ea)
            Add the current mouse GUIEvent to internal stack
            -[more]void computeLocalDataFromCamera() +[more]void computePosition(const osg::Vec3& eye, const osg::Vec3& lv, const osg::Vec3& up)
            -[more]void computeCameraFromLocalData() -
            -[more]bool calcMovement() +[more]bool calcMovement()
            For the give mouse movement calculate the movement of the camera.

            -

            Inherited from CameraManipulator:

            +

            Inherited from MatrixManipulator:

            Public Methods

            -ovirtual void setCamera(osg::Camera*) +ovirtual osgUtil::SceneView::FusionDistanceMode getFusionDistanceMode() const
            -ovirtual const osg::Camera* getCamera() const -
            -ovirtual osg::Camera* getCamera() +ovirtual float getFusionDistanceValue() const
            ovirtual void accept(GUIEventHandlerVisitor& v)

            -

            -

            Protected Fields

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

            -

            Inherited from GUIEventHandler:

            @@ -125,130 +128,146 @@

            Documentation

            -FlightManipulator is a CameraManipulator which provides flight simulator-like +FlightManipulator is a MatrixManipulator which provides flight simulator-like updating of the camera position & orientation. By default, the left mouse button accelerates, the right mouse button decelerates, and the middle mouse button (or left and right simultaneously) stops dead.
            - +
            o FlightManipulator()

            - +

            ovirtual const char* className() const

            + + +

            ovirtual void setByMatrix(const osg::Matrix& matrix) +
            set the position of the matrix manipulator using a 4x4 Matrix +

            + + +

            ovirtual void setByInverseMatrix(const osg::Matrix& matrix) +
            set the position of the matrix manipulator using a 4x4 Matrix +

            + + +

            ovirtual osg::Matrix getMatrix() const +
            get the position of the manipulator as 4x4 Matrix +

            + + +

            ovirtual osg::Matrix getInverseMatrix() const +
            get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix +

            - +

            ovirtual void setNode(osg::Node*)

            - +

            ovirtual const osg::Node* getNode() const

            - +

            ovirtual osg::Node* getNode()

            - +

            ovirtual void home(const GUIEventAdapter& ea, GUIActionAdapter& us)

            - +

            ovirtual void init(const GUIEventAdapter& ea, GUIActionAdapter& us)

            - +

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

            - +

            ovirtual void getUsage(osg::ApplicationUsage& usage) const
            Get the keyboard and mouse usage of this manipulator

            - +

            oenum YawControlMode

            - +
            o YAW_AUTOMATICALLY_WHEN_BANKED

            - +

            o NO_AUTOMATIC_YAW

            - -
            ovoid setYawControlMode(YawControlMode ycm) + +
            ovoid setYawControlMode(YawControlMode ycm)
            Configure the Yaw control for the flight model.

            - +

            ovirtual ~FlightManipulator()

            - +

            ovoid flushMouseEventStack()
            Reset the internal GUIEvent stack

            - +

            ovoid addMouseEvent(const GUIEventAdapter& ea)
            Add the current mouse GUIEvent to internal stack

            - - -

            ovoid computeLocalDataFromCamera() -

            - - -

            ovoid computeCameraFromLocalData() + + +
            ovoid computePosition(const osg::Vec3& eye, const osg::Vec3& lv, const osg::Vec3& up)

            - +

            obool calcMovement()
            For the give mouse movement calculate the movement of the camera. Return true is camera has moved and a redraw is required.

            - +

            oosg::ref_ptr<const GUIEventAdapter> _ga_t1

            - +

            oosg::ref_ptr<const GUIEventAdapter> _ga_t0

            - +

            oosg::ref_ptr<osg::Node> _node

            - +

            ofloat _modelScale

            - +

            ofloat _velocity

            - -

            oYawControlMode _yawMode + +
            oYawControlMode _yawMode

            - +

            oosg::Vec3 _eye

            - +

            oosg::Quat _rotation

            - +

            ofloat _distance

            diff --git a/doc/doc++/osgGA/GUIActionAdapter.html b/doc/doc++/osgGA/GUIActionAdapter.html index 7c9e6d5a6..54ed5d60b 100644 --- a/doc/doc++/osgGA/GUIActionAdapter.html +++ b/doc/doc++/osgGA/GUIActionAdapter.html @@ -13,13 +13,13 @@

            Public Methods

            -[more]virtual void requestRedraw() = 0 +[more]virtual void requestRedraw() = 0
            requestRedraw() requests a single redraw
            -[more]virtual void requestContinuousUpdate(bool needed=true) = 0 -
            requestContinousUpdate(bool) is for en/disabling a throw or idle callback to be requested by a GUIEventHandler (typically a CameraManipulator, though other GUIEventHandler's may also provide functionality). +[more]virtual void requestContinuousUpdate(bool needed=true) = 0 +
            requestContinousUpdate(bool) is for en/disabling a throw or idle callback to be requested by a GUIEventHandler (typically a MatrixManipulator, though other GUIEventHandler's may also provide functionality).
            -[more]virtual void requestWarpPointer(float x, float y) = 0 +[more]virtual void requestWarpPointer(float x, float y) = 0
            requestWarpPointer(int,int) is requesting a repositioning of the mouse pointer to a specified x,y location on the window.

            @@ -63,23 +63,23 @@ then you then respond the flag being set in your own leisure.
            - +
            ovirtual void requestRedraw() = 0
            requestRedraw() requests a single redraw

            - +

            ovirtual void requestContinuousUpdate(bool needed=true) = 0
            requestContinousUpdate(bool) is for en/disabling a throw or idle -callback to be requested by a GUIEventHandler (typically a CameraManipulator, +callback to be requested by a GUIEventHandler (typically a MatrixManipulator, though other GUIEventHandler's may also provide functionality). GUI toolkits can respond to this immediately by registering an idle/timed callback, or can delay setting the callback and update at their own leisure.

            - +

            ovirtual void requestWarpPointer(float x, float y) = 0
            requestWarpPointer(int,int) is requesting a repositioning of the mouse pointer diff --git a/doc/doc++/osgGA/GUIEventAdapter.html b/doc/doc++/osgGA/GUIEventAdapter.html index 93dd3fd1c..8c6bced9e 100644 --- a/doc/doc++/osgGA/GUIEventAdapter.html +++ b/doc/doc++/osgGA/GUIEventAdapter.html @@ -23,76 +23,76 @@

            Public Methods

            -[more]virtual EventType getEventType() const = 0 +[more]virtual EventType getEventType() const = 0
            Get the EventType of the GUI event
            -[more]virtual int getKey() const = 0 +[more]virtual int getKey() const = 0
            key pressed, return -1 if inappr opriate for this event.
            -[more]virtual int getButton() const = 0 +[more]virtual int getButton() const = 0
            button pressed/released, return -1 if inappropriate for this event
            -[more]void setMouseYOrientation(MouseYOrientation myo) +[more]void setMouseYOrientation(MouseYOrientation myo)
            -[more]MouseYOrientation getMouseYOrientation() const +[more]MouseYOrientation getMouseYOrientation() const
            -[more]virtual float getXmin() const = 0 +[more]virtual float getXmin() const = 0
            manimum x mouse position.
            -[more]virtual float getXmax() const = 0 +[more]virtual float getXmax() const = 0
            maximum x mouse position.
            -[more]virtual float getYmin() const = 0 +[more]virtual float getYmin() const = 0
            minimum y mouse position.
            -[more]virtual float getYmax() const = 0 +[more]virtual float getYmax() const = 0
            maximum y mouse position.
            -[more]virtual float getX() const = 0 +[more]virtual float getX() const = 0
            current mouse x position
            -[more]virtual float getY() const = 0 +[more]virtual float getY() const = 0
            current mouse y position
            -[more]virtual unsigned int getButtonMask() const = 0 +[more]virtual unsigned int getButtonMask() const = 0
            current mouse button state
            -[more]virtual unsigned int getModKeyMask() const = 0 +[more]virtual unsigned int getModKeyMask() const = 0
            current modkey state
            -[more]virtual double time() const = 0 +[more]virtual double time() const = 0
            time in seconds of event.
            -[more]inline float getXnormalized() const +[more]inline float getXnormalized() const
            return the getX() value normalised to the range of -1 to 1.
            -[more]inline float getYnormalized() const +[more]inline float getYnormalized() const
            return the getY() value normalised to the range of -1 to 1.

            Public Members

            -[more]enum MouseButtonMask +[more]enum MouseButtonMask
            -[more]enum EventType +[more]enum EventType
            -[more]enum KeySymbol +[more]enum KeySymbol
            -[more]enum ModKeyMask +[more]enum ModKeyMask
            -[more]enum MouseYOrientation +[more]enum MouseYOrientation

            Protected Fields

            -[more]MouseYOrientation _mouseYOrientation +[more]MouseYOrientation _mouseYOrientation

            Protected Methods

            -[more] GUIEventAdapter(MouseYOrientation myo=Y_INCREASING_DOWNWARDS) +[more] GUIEventAdapter(MouseYOrientation myo=Y_INCREASING_DOWNWARDS)
            -[more]virtual ~GUIEventAdapter() +[more]virtual ~GUIEventAdapter()
            Force users to create on heap, so that multiple referencing is safe

            @@ -112,709 +112,725 @@ as appropriate.
            - +
            oenum MouseButtonMask

            - +
            o LEFT_MOUSE_BUTTON

            - +

            o MIDDLE_MOUSE_BUTTON

            - +

            o RIGHT_MOUSE_BUTTON

            - +
            oenum EventType

            + + +
            o NONE +

            - +

            o PUSH

            - +

            o RELEASE

            - +

            o DOUBLECLICK

            - +

            o DRAG

            - +

            o MOVE

            - +

            o KEYDOWN

            - +

            o KEYUP

            - +

            o FRAME

            - +

            o RESIZE

            - - -

            o NONE + + +
            o SCROLLUP +

            + + +

            o SCROLLDOWN +

            + + +

            o SCROLLLEFT +

            + + +

            o SCROLLRIGHT

            - +
            oenum KeySymbol

            - +
            o KEY_Space

            - +

            o KEY_BackSpace

            - +

            o KEY_Tab

            - +

            o KEY_Linefeed

            - +

            o KEY_Clear

            - +

            o KEY_Return

            - +

            o KEY_Pause

            - +

            o KEY_Scroll_Lock

            - +

            o KEY_Sys_Req

            - +

            o KEY_Escape

            - +

            o KEY_Delete

            - +

            o KEY_Home

            - +

            o KEY_Left

            - +

            o KEY_Up

            - +

            o KEY_Right

            - +

            o KEY_Down

            - +

            o KEY_Prior

            - +

            o KEY_Page_Up

            - +

            o KEY_Next

            - +

            o KEY_Page_Down

            - +

            o KEY_End

            - +

            o KEY_Begin

            - +

            o KEY_Select

            - +

            o KEY_Print

            - +

            o KEY_Execute

            - +

            o KEY_Insert

            - +

            o KEY_Undo

            - +

            o KEY_Redo

            - +

            o KEY_Menu

            - +

            o KEY_Find

            - +

            o KEY_Cancel

            - +

            o KEY_Help

            - +

            o KEY_Break

            - +

            o KEY_Mode_switch

            - +

            o KEY_Script_switch

            - +

            o KEY_Num_Lock

            - +

            o KEY_KP_Space

            - +

            o KEY_KP_Tab

            - +

            o KEY_KP_Enter

            - +

            o KEY_KP_F1

            - +

            o KEY_KP_F2

            - +

            o KEY_KP_F3

            - +

            o KEY_KP_F4

            - +

            o KEY_KP_Home

            - +

            o KEY_KP_Left

            - +

            o KEY_KP_Up

            - +

            o KEY_KP_Right

            - +

            o KEY_KP_Down

            - +

            o KEY_KP_Prior

            - +

            o KEY_KP_Page_Up

            - +

            o KEY_KP_Next

            - +

            o KEY_KP_Page_Down

            - +

            o KEY_KP_End

            - +

            o KEY_KP_Begin

            - +

            o KEY_KP_Insert

            - +

            o KEY_KP_Delete

            - +

            o KEY_KP_Equal

            - +

            o KEY_KP_Multiply

            - +

            o KEY_KP_Add

            - +

            o KEY_KP_Separator

            - +

            o KEY_KP_Subtract

            - +

            o KEY_KP_Decimal

            - +

            o KEY_KP_Divide

            - +

            o KEY_KP_0

            - +

            o KEY_KP_1

            - +

            o KEY_KP_2

            - +

            o KEY_KP_3

            - +

            o KEY_KP_4

            - +

            o KEY_KP_5

            - +

            o KEY_KP_6

            - +

            o KEY_KP_7

            - +

            o KEY_KP_8

            - +

            o KEY_KP_9

            - +

            o KEY_F1

            - +

            o KEY_F2

            - +

            o KEY_F3

            - +

            o KEY_F4

            - +

            o KEY_F5

            - +

            o KEY_F6

            - +

            o KEY_F7

            - +

            o KEY_F8

            - +

            o KEY_F9

            - +

            o KEY_F10

            - +

            o KEY_F11

            - +

            o KEY_F12

            - +

            o KEY_F13

            - +

            o KEY_F14

            - +

            o KEY_F15

            - +

            o KEY_F16

            - +

            o KEY_F17

            - +

            o KEY_F18

            - +

            o KEY_F19

            - +

            o KEY_F20

            - +

            o KEY_F21

            - +

            o KEY_F22

            - +

            o KEY_F23

            - +

            o KEY_F24

            - +

            o KEY_F25

            - +

            o KEY_F26

            - +

            o KEY_F27

            - +

            o KEY_F28

            - +

            o KEY_F29

            - +

            o KEY_F30

            - +

            o KEY_F31

            - +

            o KEY_F32

            - +

            o KEY_F33

            - +

            o KEY_F34

            - +

            o KEY_F35

            - +

            o KEY_Shift_L

            - +

            o KEY_Shift_R

            - +

            o KEY_Control_L

            - +

            o KEY_Control_R

            - +

            o KEY_Caps_Lock

            - +

            o KEY_Shift_Lock

            - +

            o KEY_Meta_L

            - +

            o KEY_Meta_R

            - +

            o KEY_Alt_L

            - +

            o KEY_Alt_R

            - +

            o KEY_Super_L

            - +

            o KEY_Super_R

            - +

            o KEY_Hyper_L

            - +

            o KEY_Hyper_R

            - +
            oenum ModKeyMask

            - +
            o MODKEY_LEFT_SHIFT

            - +

            o MODKEY_RIGHT_SHIFT

            - +

            o MODKEY_LEFT_CTRL

            - +

            o MODKEY_RIGHT_CTRL

            - +

            o MODKEY_LEFT_ALT

            - +

            o MODKEY_RIGHT_ALT

            - +

            o MODKEY_LEFT_META

            - +

            o MODKEY_RIGHT_META

            - +

            o MODKEY_NUM_LOCK

            - +

            o MODKEY_CAPS_LOCK

            - +

            o MODKEY_CTRL

            - +

            o MODKEY_SHIFT

            - +

            o MODKEY_ALT

            - +

            o MODKEY_META

            - -
            ovirtual EventType getEventType() const = 0 + +
            ovirtual EventType getEventType() const = 0
            Get the EventType of the GUI event

            - +

            ovirtual int getKey() const = 0
            key pressed, return -1 if inappr opriate for this event.

            - +

            ovirtual int getButton() const = 0
            button pressed/released, return -1 if inappropriate for this event

            - +

            oenum MouseYOrientation

            - +
            o Y_INCREASING_UPWARDS

            - +

            o Y_INCREASING_DOWNWARDS

            - -
            ovoid setMouseYOrientation(MouseYOrientation myo) + +
            ovoid setMouseYOrientation(MouseYOrientation myo)

            - -

            oMouseYOrientation getMouseYOrientation() const + +
            oMouseYOrientation getMouseYOrientation() const

            - +

            ovirtual float getXmin() const = 0
            manimum x mouse position.

            - +

            ovirtual float getXmax() const = 0
            maximum x mouse position.

            - +

            ovirtual float getYmin() const = 0
            minimum y mouse position.

            - +

            ovirtual float getYmax() const = 0
            maximum y mouse position.

            - +

            ovirtual float getX() const = 0
            current mouse x position

            - +

            ovirtual float getY() const = 0
            current mouse y position

            - +

            ovirtual unsigned int getButtonMask() const = 0
            current mouse button state

            - +

            ovirtual unsigned int getModKeyMask() const = 0
            current modkey state

            - +

            ovirtual double time() const = 0
            time in seconds of event.

            - +

            oinline float getXnormalized() const
            return the getX() value normalised to the range of -1 to 1. -1 would be the left hand side of the window. @@ -822,7 +838,7 @@ as appropriate. +1 would be the right hand side of the window.

            - +

            oinline float getYnormalized() const
            return the getY() value normalised to the range of -1 to 1. -1 would be the bottom of the window. @@ -830,17 +846,17 @@ as appropriate. +1 would be the top of the window.

            - -

            o GUIEventAdapter(MouseYOrientation myo=Y_INCREASING_DOWNWARDS) + +
            o GUIEventAdapter(MouseYOrientation myo=Y_INCREASING_DOWNWARDS)

            - +

            ovirtual ~GUIEventAdapter()
            Force users to create on heap, so that multiple referencing is safe

            - -

            oMouseYOrientation _mouseYOrientation + +
            oMouseYOrientation _mouseYOrientation


            This class has no child classes.
            diff --git a/doc/doc++/osgGA/GUIEventHandler.html b/doc/doc++/osgGA/GUIEventHandler.html index 23d663c00..0b224b2d4 100644 --- a/doc/doc++/osgGA/GUIEventHandler.html +++ b/doc/doc++/osgGA/GUIEventHandler.html @@ -11,7 +11,7 @@

            Inheritance:

            - + @@ -22,22 +22,22 @@

            Public Methods

            -[more] GUIEventHandler() +[more] GUIEventHandler()
            -[more] GUIEventHandler(const GUIEventHandler&, const osg::CopyOp&) +[more] GUIEventHandler(const GUIEventHandler&, const osg::CopyOp&)
            -[more]META_Object (osgGA, GUIEventHandler) const () const +[more]META_Object (osgGA, GUIEventHandler) const () const
            -[more]virtual CompositeGUIEventHandler* getComposite() +[more]virtual CompositeGUIEventHandler* getComposite()
            Returns 0 if this GUIEventHandler is not a CompositeGUIEventHandler.
            -[more]virtual bool handle(const GUIEventAdapter&, GUIActionAdapter&) +[more]virtual bool handle(const GUIEventAdapter&, GUIActionAdapter&)
            Handle events, return true if handled, false otherwise.
            -[more]virtual void accept(GUIEventHandlerVisitor&) +[more]virtual void accept(GUIEventHandlerVisitor&)
            Accept visits from GUIEventHandler visitors
            -[more]virtual void getUsage(osg::ApplicationUsage&) const +[more]virtual void getUsage(osg::ApplicationUsage&) const
            Get the keyboard and mouse usage of this manipulator

            @@ -65,42 +65,42 @@ This request is made via the GUIActionAdapter class.
            - +
            o GUIEventHandler()

            - -

            o GUIEventHandler(const GUIEventHandler&, const osg::CopyOp&) + +
            o GUIEventHandler(const GUIEventHandler&, const osg::CopyOp&)

            - +

            oMETA_Object (osgGA, GUIEventHandler) const () const

            - +

            ovirtual CompositeGUIEventHandler* getComposite()
            Returns 0 if this GUIEventHandler is not a CompositeGUIEventHandler.

            - +

            ovirtual bool handle(const GUIEventAdapter&, GUIActionAdapter&)
            Handle events, return true if handled, false otherwise.

            - +

            ovirtual void accept(GUIEventHandlerVisitor&)
            Accept visits from GUIEventHandler visitors

            - +

            ovirtual void getUsage(osg::ApplicationUsage&) const
            Get the keyboard and mouse usage of this manipulator


            Direct child classes:
            StateSetManipulator
            +MatrixManipulator
            CompositeGUIEventHandler
            -CameraManipulator

            Alphabetic index HTML hierarchy of classes or Java


            diff --git a/doc/doc++/osgGA/GUIEventHandlerVisitor.html b/doc/doc++/osgGA/GUIEventHandlerVisitor.html index c96605b26..369afdd53 100644 --- a/doc/doc++/osgGA/GUIEventHandlerVisitor.html +++ b/doc/doc++/osgGA/GUIEventHandlerVisitor.html @@ -23,26 +23,26 @@

            Public Methods

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

            Protected Methods

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

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

            - +

            ovirtual void visit(CompositeGUIEventHandler&)

            - -

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

            - +

            ovirtual void visit(StateSetManipulator&)

            - +

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

            - +

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

            - +

            o GUIEventHandlerVisitor(GUIEventAdapter* in, GUIActionAdapter* out)

            - +

            ovirtual ~GUIEventHandlerVisitor()


            diff --git a/doc/doc++/osgGA/General.html b/doc/doc++/osgGA/General.html index 5be97a896..8d3439715 100644 --- a/doc/doc++/osgGA/General.html +++ b/doc/doc++/osgGA/General.html @@ -13,9 +13,6 @@ o#define OSGGA_ANIMATION_PATH_MANIPULATOR
            -o#define -OSGGA_CAMERAMANIPULATOR
            - o#define OSGGA_DRIVEMANIPULATOR
            @@ -43,8 +40,11 @@ o#define OSGGA_GUIEVENTHANDLERVISITOR
            -o#define -OSGUTIL_KEYSWITCHCAMERAMANIPULATORER
            +o#define +OSGUTIL_KEYSWITCMATRIXMANIPULATOR
            + +o#define +OSGGA_MatrixManipulator
            o#define OSGGA_SETSCENEVIEWGEHVISITOR
            diff --git a/doc/doc++/osgGA/HIER.html b/doc/doc++/osgGA/HIER.html index c3b40ebf1..a730b55dd 100644 --- a/doc/doc++/osgGA/HIER.html +++ b/doc/doc++/osgGA/HIER.html @@ -13,15 +13,15 @@
          • osgGA::GUIEventAdapter
          • osgGA::GUIEventHandler
          • - - + + diff --git a/doc/doc++/osgGA/KeySwitchMatrixManipulator.html b/doc/doc++/osgGA/KeySwitchMatrixManipulator.html new file mode 100644 index 000000000..5a7d33529 --- /dev/null +++ b/doc/doc++/osgGA/KeySwitchMatrixManipulator.html @@ -0,0 +1,217 @@ + + + + + class OSGGA_EXPORT osgGA::KeySwitchMatrixManipulator + + + + +

            class OSGGA_EXPORT osgGA::KeySwitchMatrixManipulator

            KeySwitchMatrixManipulator is a decorator which allows the type of camera manipulator being used to be switched by pressing a key.
            +
            + +

            Inheritance:

            + + + + + + + +
            + +
            +

            +

            Public Methods

            +[more]virtual const char* className() +
            +[more]void addMatrixManipulator(int key, std::string name, MatrixManipulator* cm) +
            Add a camera manipulator with an associated name, and a key to trigger the switch, +
            +[more]void addNumberedMatrixManipulator(MatrixManipulator* cm) +
            Add a camera manipulator with an autogenerated keybinding which is '1' + previous number of camera's registerd +
            +[more]unsigned int getNumMatrixManipualtors() const +
            +[more]void selectMatrixManipulator(unsigned int num) +
            +[more]MatrixManipulator* getCurrentMatrixManipulator() +
            +[more]const MatrixManipulator* getCurrentMatrixManipulator() const +
            +[more]MatrixManipulator* getMatrixManipulator(unsigned int num) +
            +[more]const MatrixManipulator* getMatrixManipulator(unsigned int num) const +
            +[more]virtual void setByMatrix(const osg::Matrix& matrix) +
            set the position of the matrix manipulator using a 4x4 Matrix +
            +[more]virtual void setByInverseMatrix(const osg::Matrix& matrix) +
            set the position of the matrix manipulator using a 4x4 Matrix +
            +[more]virtual osg::Matrix getMatrix() const +
            get the position of the manipulator as 4x4 Matrix +
            +[more]virtual osg::Matrix getInverseMatrix() const +
            get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix +
            +[more]virtual osgUtil::SceneView::FusionDistanceMode getFusionDistanceMode() const +
            Get the FusionDistanceMode. +
            +[more]virtual float getFusionDistanceValue() const +
            Get the FusionDistanceValue. +
            +[more]virtual void setNode(osg::Node* n) +
            +[more]virtual const osg::Node* getNode() const +
            +[more]virtual osg::Node* getNode() +
            +[more]virtual void home(const GUIEventAdapter& ee, GUIActionAdapter& aa) +
            +[more]virtual void init(const GUIEventAdapter& ee, GUIActionAdapter& aa) +
            +[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) +
            +[more]virtual void getUsage(osg::ApplicationUsage& usage) const +
            Get the keyboard and mouse usage of this manipulator +

            + +
            +

            Inherited from MatrixManipulator:

            +
            +

            +

            Public Methods

            +ovirtual void accept(GUIEventHandlerVisitor& v) +

            + +
            +

            Inherited from GUIEventHandler:

            +
            +

            +

            Public Methods

            +oMETA_Object (osgGA, GUIEventHandler) const () const +
            +ovirtual CompositeGUIEventHandler* getComposite() +

            + +
            + + +
            +

            Documentation

            +
            +KeySwitchMatrixManipulator is a decorator which allows the type of camera manipulator +being used to be switched by pressing a key. E.g. '1' for a TrackballManipultor, +'2' for a DriveManipulator, '3' for a FlightManipulator. The manipulators available, +and the associated switch keys, can be configured.
            +
            + + + +
            ovirtual const char* className() +

            + + +

            ovoid addMatrixManipulator(int key, std::string name, MatrixManipulator* cm) +
            +Add a camera manipulator with an associated name, and a key to +trigger the switch, +

            + + +

            ovoid addNumberedMatrixManipulator(MatrixManipulator* cm) +
            +Add a camera manipulator with an autogenerated keybinding which is '1' + previous number of camera's registerd +

            + + +

            ounsigned int getNumMatrixManipualtors() const +

            + + +

            ovoid selectMatrixManipulator(unsigned int num) +

            + + +

            oMatrixManipulator* getCurrentMatrixManipulator() +

            + + +

            oconst MatrixManipulator* getCurrentMatrixManipulator() const +

            + + +

            oMatrixManipulator* getMatrixManipulator(unsigned int num) +

            + + +

            oconst MatrixManipulator* getMatrixManipulator(unsigned int num) const +

            + + +

            ovirtual void setByMatrix(const osg::Matrix& matrix) +
            set the position of the matrix manipulator using a 4x4 Matrix +

            + + +

            ovirtual void setByInverseMatrix(const osg::Matrix& matrix) +
            set the position of the matrix manipulator using a 4x4 Matrix +

            + + +

            ovirtual osg::Matrix getMatrix() const +
            get the position of the manipulator as 4x4 Matrix +

            + + +

            ovirtual osg::Matrix getInverseMatrix() const +
            get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix +

            + + +

            ovirtual osgUtil::SceneView::FusionDistanceMode getFusionDistanceMode() const +
            Get the FusionDistanceMode. Used by SceneView for setting up setereo convergence. +

            + + +

            ovirtual float getFusionDistanceValue() const +
            Get the FusionDistanceValue. Used by SceneView for setting up setereo convergence. +

            + + +

            ovirtual void setNode(osg::Node* n) +

            + + +

            ovirtual const osg::Node* getNode() const +

            + + +

            ovirtual osg::Node* getNode() +

            + + +

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

            + + +

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

            + + +

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

            + + +

            ovirtual void getUsage(osg::ApplicationUsage& usage) const +
            Get the keyboard and mouse usage of this manipulator +

            + +
            This class has no child classes.
            + +

            Alphabetic index HTML hierarchy of classes or Java


            +
            +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgGA/MatrixManipulator.html b/doc/doc++/osgGA/MatrixManipulator.html new file mode 100644 index 000000000..8586c3238 --- /dev/null +++ b/doc/doc++/osgGA/MatrixManipulator.html @@ -0,0 +1,196 @@ + + + + + class OSGGA_EXPORT osgGA::MatrixManipulator + + + + +

            class OSGGA_EXPORT osgGA::MatrixManipulator


            + +

            Inheritance:

            + + + + + + + +
            + +
            +

            +

            Public Methods

            +[more]virtual const char* className() const +
            +[more]virtual void setByMatrix(const osg::Matrix& matrix) = 0 +
            set the position of the matrix manipulator using a 4x4 Matrix +
            +[more]virtual void setByInverseMatrix(const osg::Matrix& matrix) = 0 +
            set the position of the matrix manipulator using a 4x4 Matrix +
            +[more]virtual osg::Matrix getMatrix() const = 0 +
            get the position of the manipulator as 4x4 Matrix +
            +[more]virtual osg::Matrix getInverseMatrix() const = 0 +
            get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix +
            +[more]virtual osgUtil::SceneView::FusionDistanceMode getFusionDistanceMode() const +
            Get the FusionDistanceMode. +
            +[more]virtual float getFusionDistanceValue() const +
            Get the FusionDistanceValue. +
            +[more]virtual void setNode(osg::Node*) +
            Attach a node to the manipulator, automatically detaching any previously attached node. +
            +[more]virtual const osg::Node* getNode() const +
            Return const node if attached +
            +[more]virtual osg::Node* getNode() +
            Return node if attached +
            +[more]virtual void home(const GUIEventAdapter&, GUIActionAdapter&) +
            Move the camera to the default position. +
            +[more]virtual void init(const GUIEventAdapter&, GUIActionAdapter&) +
            Start/restart the manipulator. +
            +[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) +
            Handle events, return true if handled, false otherwise. +
            +[more]virtual void accept(GUIEventHandlerVisitor& v) +
            Handle visitations +

            + +

            +

            Protected Methods

            +[more] MatrixManipulator() +
            +[more]virtual ~MatrixManipulator() +

            + +
            +

            Inherited from GUIEventHandler:

            +
            +

            +

            Public Methods

            +oMETA_Object (osgGA, GUIEventHandler) const () const +
            +ovirtual CompositeGUIEventHandler* getComposite() +
            +ovirtual void getUsage(osg::ApplicationUsage&) const +

            + +
            + + +
            +

            Documentation

            +
            + +

            MatrixManipulator is an abstract base class defining the interface, and a certain +amount of default functionality, for classes which wish to control OSG cameras +in response to GUI events. +

            +
            + + + +
            ovirtual const char* className() const +

            + + +

            ovirtual void setByMatrix(const osg::Matrix& matrix) = 0 +
            set the position of the matrix manipulator using a 4x4 Matrix +

            + + +

            ovirtual void setByInverseMatrix(const osg::Matrix& matrix) = 0 +
            set the position of the matrix manipulator using a 4x4 Matrix +

            + + +

            ovirtual osg::Matrix getMatrix() const = 0 +
            get the position of the manipulator as 4x4 Matrix +

            + + +

            ovirtual osg::Matrix getInverseMatrix() const = 0 +
            get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix +

            + + +

            ovirtual osgUtil::SceneView::FusionDistanceMode getFusionDistanceMode() const +
            Get the FusionDistanceMode. Used by SceneView for setting up setereo convergence. +

            + + +

            ovirtual float getFusionDistanceValue() const +
            Get the FusionDistanceValue. Used by SceneView for setting up setereo convergence. +

            + + +

            ovirtual void setNode(osg::Node*) +
            +Attach a node to the manipulator, automatically detaching any previously attached node. +setNode(NULL) detaches previous nodes. +May be ignored by manipulators which do not require a reference model. +

            + + +

            ovirtual const osg::Node* getNode() const +
            Return const node if attached +

            + + +

            ovirtual osg::Node* getNode() +
            Return node if attached +

            + + +

            ovirtual void home(const GUIEventAdapter&, GUIActionAdapter&) +
            +Move the camera to the default position. +May be ignored by manipulators if home functionality is not appropriate. +

            + + +

            ovirtual void init(const GUIEventAdapter&, GUIActionAdapter&) +
            +Start/restart the manipulator. +FIXME: what does this actually mean? Provide examples. +

            + + +

            ovirtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) +
            Handle events, return true if handled, false otherwise. +

            + + +

            ovirtual void accept(GUIEventHandlerVisitor& v) +
            Handle visitations +

            + + +

            o MatrixManipulator() +

            + + +

            ovirtual ~MatrixManipulator() +

            +
            +
            Direct child classes: +
            TrackballManipulator
            +KeySwitchMatrixManipulator
            +FlightManipulator
            +DriveManipulator
            +AnimationPathManipulator
            +
            + +

            Alphabetic index HTML hierarchy of classes or Java


            +
            +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgGA/SetSceneViewVisitor.html b/doc/doc++/osgGA/SetSceneViewVisitor.html index bed5739f0..15f027952 100644 --- a/doc/doc++/osgGA/SetSceneViewVisitor.html +++ b/doc/doc++/osgGA/SetSceneViewVisitor.html @@ -27,7 +27,7 @@
            [more]virtual ~SetSceneViewVisitor()
            -[more]virtual void visit(CameraManipulator& cm) +[more]virtual void visit(MatrixManipulator& cm)
            [more]virtual void visit(StateSetManipulator& cm)

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

            -

            ovirtual void visit(CameraManipulator& cm) +
            ovirtual void visit(MatrixManipulator& cm)

            diff --git a/doc/doc++/osgGA/TrackballManipulator.html b/doc/doc++/osgGA/TrackballManipulator.html index 8d2c32b12..df45f7e91 100644 --- a/doc/doc++/osgGA/TrackballManipulator.html +++ b/doc/doc++/osgGA/TrackballManipulator.html @@ -11,7 +11,7 @@

            Inheritance:

            - + @@ -26,93 +26,98 @@
            [more]virtual const char* className() const
            -[more]virtual void setNode(osg::Node*) +[more]virtual void setByMatrix(const osg::Matrix& matrix) +
            set the position of the matrix manipulator using a 4x4 Matrix +
            +[more]virtual void setByInverseMatrix(const osg::Matrix& matrix) +
            set the position of the matrix manipulator using a 4x4 Matrix +
            +[more]virtual osg::Matrix getMatrix() const +
            get the position of the manipulator as 4x4 Matrix +
            +[more]virtual osg::Matrix getInverseMatrix() const +
            get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix +
            +[more]virtual osgUtil::SceneView::FusionDistanceMode getFusionDistanceMode() const +
            Get the FusionDistanceMode. +
            +[more]virtual float getFusionDistanceValue() const +
            Get the FusionDistanceValue. +
            +[more]virtual void setNode(osg::Node*)
            Attach a node to the manipulator.
            -[more]virtual const osg::Node* getNode() const +[more]virtual const osg::Node* getNode() const
            Return node if attached
            -[more]virtual osg::Node* getNode() +[more]virtual osg::Node* getNode()
            Return node if attached
            -[more]virtual void home(const GUIEventAdapter& ea, GUIActionAdapter& us) +[more]virtual void home(const GUIEventAdapter& ea, GUIActionAdapter& us)
            Move the camera to the default position.
            -[more]virtual void init(const GUIEventAdapter& ea, GUIActionAdapter& us) +[more]virtual void init(const GUIEventAdapter& ea, GUIActionAdapter& us)
            Start/restart the manipulator
            -[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) +[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us)
            handle events, return true if handled, false otherwise
            -[more]virtual void getUsage(osg::ApplicationUsage& usage) const +[more]virtual void getUsage(osg::ApplicationUsage& usage) const
            Get the keyboard and mouse usage of this manipulator

            Protected Fields

            -[more]osg::ref_ptr<const GUIEventAdapter> _ga_t1 +[more]osg::ref_ptr<const GUIEventAdapter> _ga_t1
            -[more]osg::ref_ptr<const GUIEventAdapter> _ga_t0 +[more]osg::ref_ptr<const GUIEventAdapter> _ga_t0
            -[more]osg::ref_ptr<osg::Node> _node +[more]osg::ref_ptr<osg::Node> _node
            -[more]float _modelScale +[more]float _modelScale
            -[more]float _minimumZoomScale +[more]float _minimumZoomScale
            -[more]bool _thrown +[more]bool _thrown
            -[more]osg::Vec3 _center +[more]osg::Vec3 _center
            -[more]osg::Quat _rotation +[more]osg::Quat _rotation
            -[more]float _distance +[more]float _distance

            Protected Methods

            -[more]virtual ~TrackballManipulator() +[more]virtual ~TrackballManipulator()
            -[more]void flushMouseEventStack() +[more]void flushMouseEventStack()
            Reset the internal GUIEvent stack
            -[more]void addMouseEvent(const GUIEventAdapter& ea) +[more]void addMouseEvent(const GUIEventAdapter& ea)
            Add the current mouse GUIEvent to internal stack
            -[more]void computeLocalDataFromCamera() +[more]void computePosition(const osg::Vec3& eye, const osg::Vec3& lv, const osg::Vec3& up)
            -[more]void computeCameraFromLocalData() -
            -[more]bool calcMovement() +[more]bool calcMovement()
            For the give mouse movement calculate the movement of the camera.
            -[more]void trackball(osg::Vec3& axis, float& angle, float p1x, float p1y, float p2x, float p2y) +[more]void trackball(osg::Vec3& axis, float& angle, float p1x, float p1y, float p2x, float p2y)
            -[more]float tb_project_to_sphere(float r, float x, float y) +[more]float tb_project_to_sphere(float r, float x, float y)
            -[more]bool isMouseMoving() +[more]bool isMouseMoving()
            Check the speed at which the mouse is moving.

            -

            Inherited from CameraManipulator:

            +

            Inherited from MatrixManipulator:

            Public Methods

            -ovirtual void setCamera(osg::Camera*) -
            -ovirtual const osg::Camera* getCamera() const -
            -ovirtual osg::Camera* getCamera() -
            ovirtual void accept(GUIEventHandlerVisitor& v)

            -

            -

            Protected Fields

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

            -

            Inherited from GUIEventHandler:

            @@ -138,8 +143,38 @@
            ovirtual const char* className() const

            - + +

            ovirtual void setByMatrix(const osg::Matrix& matrix) +
            set the position of the matrix manipulator using a 4x4 Matrix +

            + + +

            ovirtual void setByInverseMatrix(const osg::Matrix& matrix) +
            set the position of the matrix manipulator using a 4x4 Matrix +

            + + +

            ovirtual osg::Matrix getMatrix() const +
            get the position of the manipulator as 4x4 Matrix +

            + + +

            ovirtual osg::Matrix getInverseMatrix() const +
            get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix +

            + + +

            ovirtual osgUtil::SceneView::FusionDistanceMode getFusionDistanceMode() const +
            Get the FusionDistanceMode. Used by SceneView for setting up setereo convergence. +

            + + +

            ovirtual float getFusionDistanceValue() const +
            Get the FusionDistanceValue. Used by SceneView for setting up setereo convergence. +

            + +

            ovirtual void setNode(osg::Node*)
            Attach a node to the manipulator. Automatically detaches previously attached node. @@ -147,112 +182,108 @@ setNode(NULL) detaches previously nodes. Is ignored by manipulators which do not require a reference model.

            - +

            ovirtual const osg::Node* getNode() const
            Return node if attached

            - +

            ovirtual osg::Node* getNode()
            Return node if attached

            - +

            ovirtual void home(const GUIEventAdapter& ea, GUIActionAdapter& us)
            Move the camera to the default position. May be ignored by manipulators if home functionality is not appropriate.

            - +

            ovirtual void init(const GUIEventAdapter& ea, GUIActionAdapter& us)
            Start/restart the manipulator

            - +

            ovirtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us)
            handle events, return true if handled, false otherwise

            - +

            ovirtual void getUsage(osg::ApplicationUsage& usage) const
            Get the keyboard and mouse usage of this manipulator

            - +

            ovirtual ~TrackballManipulator()

            - +

            ovoid flushMouseEventStack()
            Reset the internal GUIEvent stack

            - +

            ovoid addMouseEvent(const GUIEventAdapter& ea)
            Add the current mouse GUIEvent to internal stack

            - - -

            ovoid computeLocalDataFromCamera() -

            - - -

            ovoid computeCameraFromLocalData() + + +
            ovoid computePosition(const osg::Vec3& eye, const osg::Vec3& lv, const osg::Vec3& up)

            - +

            obool calcMovement()
            For the give mouse movement calculate the movement of the camera. Return true is camera has moved and a redraw is required.

            - +

            ovoid trackball(osg::Vec3& axis, float& angle, float p1x, float p1y, float p2x, float p2y)

            - +

            ofloat tb_project_to_sphere(float r, float x, float y)

            - +

            obool isMouseMoving()
            Check the speed at which the mouse is moving. If speed is below a threshold then return false, otherwise return true.

            - +

            oosg::ref_ptr<const GUIEventAdapter> _ga_t1

            - +

            oosg::ref_ptr<const GUIEventAdapter> _ga_t0

            - +

            oosg::ref_ptr<osg::Node> _node

            - +

            ofloat _modelScale

            - +

            ofloat _minimumZoomScale

            - +

            obool _thrown

            - +

            oosg::Vec3 _center

            - +

            oosg::Quat _rotation

            - +

            ofloat _distance

            diff --git a/doc/doc++/osgGA/index.html b/doc/doc++/osgGA/index.html index 48b5e933a..ca83bc097 100644 --- a/doc/doc++/osgGA/index.html +++ b/doc/doc++/osgGA/index.html @@ -24,7 +24,6 @@

            Macros

            • OSGGA_ANIMATION_PATH_MANIPULATOR -
            • OSGGA_CAMERAMANIPULATOR
            • OSGGA_DRIVEMANIPULATOR
            • OSGGA_EXPORT:

              Hierarchy of classes



              diff --git a/doc/doc++/osgGA/osgGA.html b/doc/doc++/osgGA/osgGA.html index b2093e7c0..4a613e0d8 100644 --- a/doc/doc++/osgGA/osgGA.html +++ b/doc/doc++/osgGA/osgGA.html @@ -11,15 +11,13 @@

              -class OSGGA_EXPORT AnimationPathManipulator: public CameraManipulator +class OSGGA_EXPORT AnimationPathManipulator: public MatrixManipulator
              -class OSGGA_EXPORT CameraManipulator: public GUIEventHandler -
              -class OSGGA_EXPORT DriveManipulator: public CameraManipulator +class OSGGA_EXPORT DriveManipulator: public MatrixManipulator
              DriveManipulator is a camera manipulator which provides drive-like functionality.
              -class OSGGA_EXPORT FlightManipulator: public CameraManipulator -
              FlightManipulator is a CameraManipulator which provides flight simulator-like updating of the camera position & orientation. +class OSGGA_EXPORT FlightManipulator: public MatrixManipulator +
              FlightManipulator is a MatrixManipulator which provides flight simulator-like updating of the camera position & orientation.
              class GUIActionAdapter
              Abstract base class defining the interface by which GUIEventHandlers may request actions of the GUI system in use. @@ -35,8 +33,10 @@ class OSGGA_EXPORT CompositeGUIEvent class OSGGA_EXPORT GUIEventHandlerVisitor
              Base class for visiting GUIEventHandlers.
              -class OSGGA_EXPORT KeySwitchCameraManipulator: public CameraManipulator -
              KeySwitchCameraManipulator is a decorator which allows the type of camera manipulator being used to be switched by pressing a key. +class OSGGA_EXPORT KeySwitchMatrixManipulator: public MatrixManipulator +
              KeySwitchMatrixManipulator is a decorator which allows the type of camera manipulator being used to be switched by pressing a key. +
              +class OSGGA_EXPORT MatrixManipulator: public GUIEventHandler
              class OSGGA_EXPORT SetSceneViewVisitor: public GUIEventHandlerVisitor
              SetSceneViewGUIEventHandlerVisitor which visits various types of GUIEventHandler and sets them up appropriately, given a new scene view @@ -44,7 +44,7 @@ class OSGGA_EXPORT SetSceneViewVisitorStateSetManipulator: public GUIEventHandler
              Experimental class, not been looked at for a while, but which will be returned to at some point :-\
              -class OSGGA_EXPORT TrackballManipulator: public CameraManipulator +class OSGGA_EXPORT TrackballManipulator: public MatrixManipulator

              diff --git a/doc/doc++/osgGL2/ClassGraph.class b/doc/doc++/osgGL2/ClassGraph.class new file mode 100644 index 000000000..4f41a1fb2 Binary files /dev/null and b/doc/doc++/osgGL2/ClassGraph.class differ diff --git a/doc/doc++/osgGL2/ClassGraphPanel.class b/doc/doc++/osgGL2/ClassGraphPanel.class new file mode 100644 index 000000000..4f3ea86bb Binary files /dev/null and b/doc/doc++/osgGL2/ClassGraphPanel.class differ diff --git a/doc/doc++/osgGL2/ClassLayout.class b/doc/doc++/osgGL2/ClassLayout.class new file mode 100644 index 000000000..69a6f494e Binary files /dev/null and b/doc/doc++/osgGL2/ClassLayout.class differ diff --git a/doc/doc++/osgGL2/Extensions.html b/doc/doc++/osgGL2/Extensions.html new file mode 100644 index 000000000..069ff7383 --- /dev/null +++ b/doc/doc++/osgGL2/Extensions.html @@ -0,0 +1,649 @@ + + + + + class OSGGL2_EXPORT osgGL2::Extensions + + + + +

              class OSGGL2_EXPORT osgGL2::Extensions

              Extensions class which encapsulates the querying of extensions and associated function pointers, and provide convenience wrappers to check for the extensions or use the associated functions
              +
              + +

              Inheritance:

              + + + + + + + +
              + +
              +

              +

              Public Methods

              +[more] Extensions() +
              +[more] Extensions(const Extensions& rhs) +
              +[more]void lowestCommonDenominator(const Extensions& rhs) +
              +[more]void setupGLExtensions() +
              +[more]void setShaderObjectsSupported(bool flag) +
              +[more]bool isShaderObjectsSupported() const +
              +[more]void setVertexShaderSupported(bool flag) +
              +[more]bool isVertexShaderSupported() const +
              +[more]void setFragmentShaderSupported(bool flag) +
              +[more]bool isFragmentShaderSupported() const +
              +[more]static Extensions* Get(unsigned int contextID, bool createIfNotInitalized) +
              Function to call to get the extension of a specified context. +
              +[more]static void Set(unsigned int contextID, Extensions* extensions) +
              allows users to override the extensions across graphics contexts. +
              +[more]GLhandleARB glCreateShaderObject(GLenum shaderType) const +
              +[more]GLhandleARB glCreateProgramObject() const +
              +[more]void glDeleteObject(GLhandleARB obj) const +
              +[more]void glAttachObject(GLhandleARB containerObj, GLhandleARB obj) const +
              +[more]void glDetachObject(GLhandleARB containerObj, GLhandleARB attachedObj) const +
              +[more]void glShaderSource(GLhandleARB shaderObj, GLsizei count, const GLcharARB** strings, const GLint* length) const +
              +[more]void glCompileShader(GLhandleARB shaderObj) const +
              +[more]void glBindAttribLocation(GLhandleARB programObj, GLuint index, const GLcharARB* name) const +
              +[more]void glLinkProgram(GLhandleARB programObj) const +
              +[more]void glUseProgramObject(GLhandleARB programObj) const +
              +[more]void glGetInfoLog(GLhandleARB obj, GLsizei maxLength, GLsizei* length, GLcharARB* infoLog) const +
              +[more]void glGetAttachedObjects(GLhandleARB containerObj, GLsizei maxCount, GLsizei* count, GLhandleARB* obj) const +
              +[more]void glGetShaderSource(GLhandleARB obj, GLsizei maxLength, GLsizei* length, GLcharARB* source) const +
              +[more]void glUniform1f(GLint location, GLfloat v0) const +
              +[more]void glUniform2f(GLint location, GLfloat v0, GLfloat v1) const +
              +[more]void glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2) const +
              +[more]void glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) const +
              +[more]void glUniform1i(GLint location, GLint v0) const +
              +[more]void glUniform2i(GLint location, GLint v0, GLint v1) const +
              +[more]void glUniform3i(GLint location, GLint v0, GLint v1, GLint v2) const +
              +[more]void glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3) const +
              +[more]void glUniform1fv(GLint location, GLsizei count, GLfloat* value) const +
              +[more]void glUniform2fv(GLint location, GLsizei count, GLfloat* value) const +
              +[more]void glUniform3fv(GLint location, GLsizei count, GLfloat* value) const +
              +[more]void glUniform4fv(GLint location, GLsizei count, GLfloat* value) const +
              +[more]void glUniform1iv(GLint location, GLsizei count, GLint* value) const +
              +[more]void glUniform2iv(GLint location, GLsizei count, GLint* value) const +
              +[more]void glUniform3iv(GLint location, GLsizei count, GLint* value) const +
              +[more]void glUniform4iv(GLint location, GLsizei count, GLint* value) const +
              +[more]void glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, GLfloat* value) const +
              +[more]void glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, GLfloat* value) const +
              +[more]void glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, GLfloat* value) const +
              +[more]GLint glGetUniformLocation(GLhandleARB programObject, const GLcharARB* name) const +
              +[more]GLint glGetAttribLocation(GLhandleARB programObj, const GLcharARB* name) const +
              +[more]void glGetActiveUniform(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLint* type, GLcharARB* name) const +
              +[more]void glGetActiveAttribs(GLhandleARB programObj, GLint* count, const GLint** size, const GLenum** type, const GLcharARB* const** attributes) const +
              +[more]void glGetUniformfv(GLhandleARB programObj, GLint location, GLfloat* params) const +
              +[more]void glGetUniformiv(GLhandleARB programObj, GLint location, GLint* params) const +
              +[more]void glGetObjectParameterfv(GLhandleARB obj, GLenum pname, GLfloat* params) const +
              +[more]void glGetObjectParameteriv(GLhandleARB obj, GLenum pname, GLint* params) const +
              +[more]GLhandleARB glGetHandle(GLenum pname) const +

              + +

              +

              Protected Fields

              +[more]bool _isShaderObjectsSupported +
              +[more]bool _isVertexShaderSupported +
              +[more]bool _isFragmentShaderSupported +
              +[more]void* _glCreateShaderObject +
              +[more]void* _glCreateProgramObject +
              +[more]void* _glDeleteObject +
              +[more]void* _glAttachObject +
              +[more]void* _glDetachObject +
              +[more]void* _glShaderSource +
              +[more]void* _glCompileShader +
              +[more]void* _glBindAttribLocation +
              +[more]void* _glLinkProgram +
              +[more]void* _glUseProgramObject +
              +[more]void* _glGetInfoLog +
              +[more]void* _glGetAttachedObjects +
              +[more]void* _glGetShaderSource +
              +[more]void* _glUniform1f +
              +[more]void* _glUniform2f +
              +[more]void* _glUniform3f +
              +[more]void* _glUniform4f +
              +[more]void* _glUniform1i +
              +[more]void* _glUniform2i +
              +[more]void* _glUniform3i +
              +[more]void* _glUniform4i +
              +[more]void* _glUniform1fv +
              +[more]void* _glUniform2fv +
              +[more]void* _glUniform3fv +
              +[more]void* _glUniform4fv +
              +[more]void* _glUniform1iv +
              +[more]void* _glUniform2iv +
              +[more]void* _glUniform3iv +
              +[more]void* _glUniform4iv +
              +[more]void* _glUniformMatrix2fv +
              +[more]void* _glUniformMatrix3fv +
              +[more]void* _glUniformMatrix4fv +
              +[more]void* _glGetUniformLocation +
              +[more]void* _glGetAttribLocation +
              +[more]void* _glGetActiveUniform +
              +[more]void* _glGetActiveAttribs +
              +[more]void* _glGetUniformfv +
              +[more]void* _glGetUniformiv +
              +[more]void* _glGetObjectParameterfv +
              +[more]void* _glGetObjectParameteriv +
              +[more]void* _glGetHandle +

              + +

              +

              Protected Methods

              +[more] ~Extensions() +

              + +
              + + +
              +

              Documentation

              +
              Extensions class which encapsulates the querying of extensions and +associated function pointers, and provide convenience wrappers to +check for the extensions or use the associated functions
              +
              + + + +
              o Extensions() +

              + + +

              o Extensions(const Extensions& rhs) +

              + + +

              ovoid lowestCommonDenominator(const Extensions& rhs) +

              + + +

              ovoid setupGLExtensions() +

              + + +

              ovoid setShaderObjectsSupported(bool flag) +

              + + +

              obool isShaderObjectsSupported() const +

              + + +

              ovoid setVertexShaderSupported(bool flag) +

              + + +

              obool isVertexShaderSupported() const +

              + + +

              ovoid setFragmentShaderSupported(bool flag) +

              + + +

              obool isFragmentShaderSupported() const +

              + + +

              ostatic Extensions* Get(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 +and the 'createIfNotInitalized' flag been set to false then returns NULL. +If 'createIfNotInitalized' is true then the Extensions object is +automatically created. However, in this case the extension object +only be created with the graphics context associated with ContextID.. +

              + + +

              ostatic void Set(unsigned int contextID, Extensions* extensions) +
              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. +

              + + +

              oGLhandleARB glCreateShaderObject(GLenum shaderType) const +

              + + +

              oGLhandleARB glCreateProgramObject() const +

              + + +

              ovoid glDeleteObject(GLhandleARB obj) const +

              + + +

              ovoid glAttachObject(GLhandleARB containerObj, GLhandleARB obj) const +

              + + +

              ovoid glDetachObject(GLhandleARB containerObj, GLhandleARB attachedObj) const +

              + + +

              ovoid glShaderSource(GLhandleARB shaderObj, GLsizei count, const GLcharARB** strings, const GLint* length) const +

              + + +

              ovoid glCompileShader(GLhandleARB shaderObj) const +

              + + +

              ovoid glBindAttribLocation(GLhandleARB programObj, GLuint index, const GLcharARB* name) const +

              + + +

              ovoid glLinkProgram(GLhandleARB programObj) const +

              + + +

              ovoid glUseProgramObject(GLhandleARB programObj) const +

              + + +

              ovoid glGetInfoLog(GLhandleARB obj, GLsizei maxLength, GLsizei* length, GLcharARB* infoLog) const +

              + + +

              ovoid glGetAttachedObjects(GLhandleARB containerObj, GLsizei maxCount, GLsizei* count, GLhandleARB* obj) const +

              + + +

              ovoid glGetShaderSource(GLhandleARB obj, GLsizei maxLength, GLsizei* length, GLcharARB* source) const +

              + + +

              ovoid glUniform1f(GLint location, GLfloat v0) const +

              + + +

              ovoid glUniform2f(GLint location, GLfloat v0, GLfloat v1) const +

              + + +

              ovoid glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2) const +

              + + +

              ovoid glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) const +

              + + +

              ovoid glUniform1i(GLint location, GLint v0) const +

              + + +

              ovoid glUniform2i(GLint location, GLint v0, GLint v1) const +

              + + +

              ovoid glUniform3i(GLint location, GLint v0, GLint v1, GLint v2) const +

              + + +

              ovoid glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3) const +

              + + +

              ovoid glUniform1fv(GLint location, GLsizei count, GLfloat* value) const +

              + + +

              ovoid glUniform2fv(GLint location, GLsizei count, GLfloat* value) const +

              + + +

              ovoid glUniform3fv(GLint location, GLsizei count, GLfloat* value) const +

              + + +

              ovoid glUniform4fv(GLint location, GLsizei count, GLfloat* value) const +

              + + +

              ovoid glUniform1iv(GLint location, GLsizei count, GLint* value) const +

              + + +

              ovoid glUniform2iv(GLint location, GLsizei count, GLint* value) const +

              + + +

              ovoid glUniform3iv(GLint location, GLsizei count, GLint* value) const +

              + + +

              ovoid glUniform4iv(GLint location, GLsizei count, GLint* value) const +

              + + +

              ovoid glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, GLfloat* value) const +

              + + +

              ovoid glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, GLfloat* value) const +

              + + +

              ovoid glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, GLfloat* value) const +

              + + +

              oGLint glGetUniformLocation(GLhandleARB programObject, const GLcharARB* name) const +

              + + +

              oGLint glGetAttribLocation(GLhandleARB programObj, const GLcharARB* name) const +

              + + +

              ovoid glGetActiveUniform(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLint* type, GLcharARB* name) const +

              + + +

              ovoid glGetActiveAttribs(GLhandleARB programObj, GLint* count, const GLint** size, const GLenum** type, const GLcharARB* const** attributes) const +

              + + +

              ovoid glGetUniformfv(GLhandleARB programObj, GLint location, GLfloat* params) const +

              + + +

              ovoid glGetUniformiv(GLhandleARB programObj, GLint location, GLint* params) const +

              + + +

              ovoid glGetObjectParameterfv(GLhandleARB obj, GLenum pname, GLfloat* params) const +

              + + +

              ovoid glGetObjectParameteriv(GLhandleARB obj, GLenum pname, GLint* params) const +

              + + +

              oGLhandleARB glGetHandle(GLenum pname) const +

              + + +

              o ~Extensions() +

              + + +

              obool _isShaderObjectsSupported +

              + + +

              obool _isVertexShaderSupported +

              + + +

              obool _isFragmentShaderSupported +

              + + +

              ovoid* _glCreateShaderObject +

              + + +

              ovoid* _glCreateProgramObject +

              + + +

              ovoid* _glDeleteObject +

              + + +

              ovoid* _glAttachObject +

              + + +

              ovoid* _glDetachObject +

              + + +

              ovoid* _glShaderSource +

              + + +

              ovoid* _glCompileShader +

              + + +

              ovoid* _glBindAttribLocation +

              + + +

              ovoid* _glLinkProgram +

              + + +

              ovoid* _glUseProgramObject +

              + + +

              ovoid* _glGetInfoLog +

              + + +

              ovoid* _glGetAttachedObjects +

              + + +

              ovoid* _glGetShaderSource +

              + + +

              ovoid* _glUniform1f +

              + + +

              ovoid* _glUniform2f +

              + + +

              ovoid* _glUniform3f +

              + + +

              ovoid* _glUniform4f +

              + + +

              ovoid* _glUniform1i +

              + + +

              ovoid* _glUniform2i +

              + + +

              ovoid* _glUniform3i +

              + + +

              ovoid* _glUniform4i +

              + + +

              ovoid* _glUniform1fv +

              + + +

              ovoid* _glUniform2fv +

              + + +

              ovoid* _glUniform3fv +

              + + +

              ovoid* _glUniform4fv +

              + + +

              ovoid* _glUniform1iv +

              + + +

              ovoid* _glUniform2iv +

              + + +

              ovoid* _glUniform3iv +

              + + +

              ovoid* _glUniform4iv +

              + + +

              ovoid* _glUniformMatrix2fv +

              + + +

              ovoid* _glUniformMatrix3fv +

              + + +

              ovoid* _glUniformMatrix4fv +

              + + +

              ovoid* _glGetUniformLocation +

              + + +

              ovoid* _glGetAttribLocation +

              + + +

              ovoid* _glGetActiveUniform +

              + + +

              ovoid* _glGetActiveAttribs +

              + + +

              ovoid* _glGetUniformfv +

              + + +

              ovoid* _glGetUniformiv +

              + + +

              ovoid* _glGetObjectParameterfv +

              + + +

              ovoid* _glGetObjectParameteriv +

              + + +

              ovoid* _glGetHandle +

              + +
              This class has no child classes.
              + +

              Alphabetic index HTML hierarchy of classes or Java


              +
              +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgGL2/General.html b/doc/doc++/osgGL2/General.html new file mode 100644 index 000000000..368849317 --- /dev/null +++ b/doc/doc++/osgGL2/General.html @@ -0,0 +1,196 @@ + + + + + General Bits + + + + +
              +
              + +o#define +OSGGL2_EXPORT_
              + +o#define +OSGGL2_EXPORT(dllexport)
              + +o#define +OSGGL2_EXPORT(dllimport)
              + +o#define +OSGGL2_EXPORT
              + +o#define +NULL
              + +o#define +NULL((void *)
              + +o#define +OSGGL2_EXTENSIONS
              + +otypedef int +GLhandleARB
              + +otypedef char +GLcharARB
              + +o#define +GL_PROGRAM_OBJECT_ARB
              + +o#define +GL_OBJECT_TYPE_ARB
              + +o#define +GL_OBJECT_SUBTYPE_ARB
              + +o#define +GL_SHADER_OBJECT_ARB
              + +o#define +GL_FLOAT_VEC2_ARB
              + +o#define +GL_FLOAT_VEC3_ARB
              + +o#define +GL_FLOAT_VEC4_ARB
              + +o#define +GL_INT_VEC2_ARB
              + +o#define +GL_INT_VEC3_ARB
              + +o#define +GL_INT_VEC4_ARB
              + +o#define +GL_BOOL_ARB
              + +o#define +GL_BOOL_VEC2_ARB
              + +o#define +GL_BOOL_VEC3_ARB
              + +o#define +GL_BOOL_VEC4_ARB
              + +o#define +GL_FLOAT_MAT2_ARB
              + +o#define +GL_FLOAT_MAT3_ARB
              + +o#define +GL_FLOAT_MAT4_ARB
              + +o#define +GL_VERTEX_SHADER_ARB
              + +o#define +GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB
              + +o#define +GL_MAX_VERTEX_ATTRIBS_ARB
              + +o#define +GL_MAX_TEXTURE_IMAGE_UNITS_ARB
              + +o#define +GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB
              + +o#define +GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB
              + +o#define +GL_MAX_TEXTURE_COORDS_ARB
              + +o#define +GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB
              + +o#define +GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB
              + +o#define +GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB
              + +o#define +GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB
              + +o#define +GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB
              + +o#define +GL_CURRENT_VERTEX_ATTRIB_ARB
              + +o#define +GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB
              + +o#define +GL_FRAGMENT_SHADER_ARB
              + +o#define +GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB
              + +o#define +GL_MAX_VARYING_FLOATS_ARB
              + +o#define +GL_VERTEX_PROGRAM_POINT_SIZE_ARB
              + +o#define +GL_VERTEX_PROGRAM_TWO_SIDE_ARB
              + +o#define +GL_OBJECT_DELETE_STATUS_ARB
              + +o#define +GL_OBJECT_COMPILE_STATUS_ARB
              + +o#define +GL_OBJECT_LINK_STATUS_ARB
              + +o#define +GL_OBJECT_VALIDATE_STATUS_ARB
              + +o#define +GL_OBJECT_INFO_LOG_LENGTH_ARB
              + +o#define +GL_OBJECT_ATTACHED_OBJECTS_ARB
              + +o#define +GL_OBJECT_ACTIVE_UNIFORMS_ARB
              + +o#define +GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB
              + +o#define +GL_OBJECT_SHADER_SOURCE_LENGTH_ARB
              + +o#define +GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB
              + +o#define +GL_OBJECT_ACTIVE_ATTRIBUTES_ARB
              + +o#define +OSGGL2_PROGRAMOBJECT
              + +o#define +OSGGL2_VERSION
              + +oextern OSGGL2_EXPORT const char* +osgGL2GetVersion()
              + +oextern OSGGL2_EXPORT const char* +osgGL2GetLibraryName()
              +

              Alphabetic index Hierarchy of classes


              +
              +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgGL2/HIER.html b/doc/doc++/osgGL2/HIER.html new file mode 100644 index 000000000..972fb6c7b --- /dev/null +++ b/doc/doc++/osgGL2/HIER.html @@ -0,0 +1,21 @@ + + + + + Hierarchy of Classes + + + +

              Hierarchy of Classes

              + +

              Alphabetic index


              +
              +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgGL2/HIERjava.html b/doc/doc++/osgGL2/HIERjava.html new file mode 100644 index 000000000..25b39f8df --- /dev/null +++ b/doc/doc++/osgGL2/HIERjava.html @@ -0,0 +1,51 @@ + + + + + Hierarchy of Classes + + + +

              Hierarchy of classes

              +
                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
              + alphabetic index


              +
              +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgGL2/NavigatorButton.class b/doc/doc++/osgGL2/NavigatorButton.class new file mode 100644 index 000000000..fad9c3f2d Binary files /dev/null and b/doc/doc++/osgGL2/NavigatorButton.class differ diff --git a/doc/doc++/osgGL2/PerContextProgObj.html b/doc/doc++/osgGL2/PerContextProgObj.html new file mode 100644 index 000000000..72a2b4cca --- /dev/null +++ b/doc/doc++/osgGL2/PerContextProgObj.html @@ -0,0 +1,148 @@ + + + + + class OSGGL2_EXPORT osgGL2::ProgramObject::PerContextProgObj + + + + +

              class OSGGL2_EXPORT PerContextProgObj


              + +

              Inheritance:

              + + + + + + + +
              + +
              +

              +

              Public Methods

              +[more] PerContextProgObj(const ProgramObject* parent, Extensions* extensions) +
              +[more] PerContextProgObj(const PerContextProgObj& rhs) +
              +[more]GLhandleARB& getHandle() +
              +[more]bool isDirty() const +
              +[more]void markAsDirty() +
              +[more]void markAsClean() +
              +[more]bool build() const +
              +[more]void use() const +
              +[more]void markAsAttached() +
              +[more]bool isUnattached() const +

              + +

              +

              Protected Fields

              +[more]const ProgramObject* _parent +
              +[more]osg::ref_ptr<Extensions> _extensions +
              +[more]GLhandleARB _handle +
              +[more]bool _dirty +
              +[more]bool _unattached +

              + +

              +

              Protected Methods

              +[more] PerContextProgObj() +
              +[more] ~PerContextProgObj() +

              + +
              + + +
              +

              Documentation

              +
              + + + +
              o PerContextProgObj(const ProgramObject* parent, Extensions* extensions) +

              + + +

              o PerContextProgObj(const PerContextProgObj& rhs) +

              + + +

              oGLhandleARB& getHandle() +

              + + +

              obool isDirty() const +

              + + +

              ovoid markAsDirty() +

              + + +

              ovoid markAsClean() +

              + + +

              obool build() const +

              + + +

              ovoid use() const +

              + + +

              ovoid markAsAttached() +

              + + +

              obool isUnattached() const +

              + + +

              o PerContextProgObj() +

              + + +

              o ~PerContextProgObj() +

              + + +

              oconst ProgramObject* _parent +

              + + +

              oosg::ref_ptr<Extensions> _extensions +

              + + +

              oGLhandleARB _handle +

              + + +

              obool _dirty +

              + + +

              obool _unattached +

              + +
              This class has no child classes.
              + +

              Alphabetic index HTML hierarchy of classes or Java


              +
              +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgGL2/PerContextShaderObj.html b/doc/doc++/osgGL2/PerContextShaderObj.html new file mode 100644 index 000000000..3d6c8c718 --- /dev/null +++ b/doc/doc++/osgGL2/PerContextShaderObj.html @@ -0,0 +1,130 @@ + + + + + class OSGGL2_EXPORT osgGL2::ShaderObject::PerContextShaderObj + + + + +

              class OSGGL2_EXPORT PerContextShaderObj


              + +

              Inheritance:

              + + + + + + + +
              + +
              +

              +

              Public Methods

              +[more] PerContextShaderObj(const ShaderObject* parent, Extensions* extensions) +
              +[more] PerContextShaderObj(const PerContextShaderObj& rhs) +
              +[more]GLhandleARB& getHandle() +
              +[more]bool isDirty() const +
              +[more]void markAsDirty() +
              +[more]void markAsClean() +
              +[more]bool build() +
              +[more]void attach(GLhandleARB progObj) +

              + +

              +

              Protected Fields

              +[more]const ShaderObject* _parent +
              +[more]osg::ref_ptr<Extensions> _extensions +
              +[more]GLhandleARB _handle +
              +[more]bool _dirty +

              + +

              +

              Protected Methods

              +[more] PerContextShaderObj() +
              +[more] ~PerContextShaderObj() +

              + +
              + + +
              +

              Documentation

              +
              + + + +
              o PerContextShaderObj(const ShaderObject* parent, Extensions* extensions) +

              + + +

              o PerContextShaderObj(const PerContextShaderObj& rhs) +

              + + +

              oGLhandleARB& getHandle() +

              + + +

              obool isDirty() const +

              + + +

              ovoid markAsDirty() +

              + + +

              ovoid markAsClean() +

              + + +

              obool build() +

              + + +

              ovoid attach(GLhandleARB progObj) +

              + + +

              o PerContextShaderObj() +

              + + +

              o ~PerContextShaderObj() +

              + + +

              oconst ShaderObject* _parent +

              + + +

              oosg::ref_ptr<Extensions> _extensions +

              + + +

              oGLhandleARB _handle +

              + + +

              obool _dirty +

              + +
              This class has no child classes.
              + +

              Alphabetic index HTML hierarchy of classes or Java


              +
              +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgGL2/ProgramObject.html b/doc/doc++/osgGL2/ProgramObject.html new file mode 100644 index 000000000..b3663f5da --- /dev/null +++ b/doc/doc++/osgGL2/ProgramObject.html @@ -0,0 +1,169 @@ + + + + + class OSGGL2_EXPORT osgGL2::ProgramObject + + + + +

              class OSGGL2_EXPORT osgGL2::ProgramObject

              Encapsulates the OpenGL Shading Language ProgramObject
              +
              + +

              Inheritance:

              + + + + + + + +
              + +
              +

              +

              Public Methods

              +[more] ProgramObject() +
              +[more] ProgramObject(const ProgramObject& rhs, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) +
              Copy constructor using CopyOp to manage deep vs shallow copy +
              +[more] META_StateAttribute(osgGL2, ProgramObject, PROGRAMOBJECT) +
              +[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>& ) const +
              +[more]virtual void apply(osg::State& state) const +
              +[more]virtual void compile(osg::State& state) const +
              +[more]void dirtyProgramObject() +
              Force a relink on next apply() of associated glProgramObject. +
              +[more]void addShader( ShaderObject* shader ) +
              +[more]static void deleteObject(unsigned int contextID, GLhandleARB handle) +
              use deleteObject instead of glDeleteObject to allow GL2 Objects to cached until they can be deleted by the OpenGL context in which they were created, specified by contextID +
              +[more]static void flushDeletedGL2Objects(unsigned int contextID, double currentTime, double& availableTime) +
              flush all the cached glProgramObjects which need to be deleted in the OpenGL context related to contextID +

              + +

              +

              Protected Fields

              +[more]ShaderObjectList _shaderObjectList +
              +[more]mutable PCPOList _pcpoList +

              + +

              +

              Protected Methods

              +[more]virtual ~ProgramObject() +
              +[more]PerContextProgObj* getPCPO(unsigned int contextID) const +

              + +

              +

              Protected Members

              +[more]typedef std::vector< osg::ref_ptr<ShaderObject> > ShaderObjectList +
              +class OSGGL2_EXPORT PerContextProgObj: public osg::Referenced +
              +[more]typedef osg::buffered_value< osg::ref_ptr<PerContextProgObj> > PCPOList +

              + +
              + + +
              +

              Documentation

              +
              Encapsulates the OpenGL Shading Language ProgramObject
              +
              + + + +
              o ProgramObject() +

              + + +

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

              + + +

              o META_StateAttribute(osgGL2, ProgramObject, PROGRAMOBJECT) +

              + + +

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

              + + +

              ovirtual void apply(osg::State& state) const +

              + + +

              ovirtual void compile(osg::State& state) const +

              + + +

              ovoid dirtyProgramObject() +
              Force a relink on next apply() of associated glProgramObject. +

              + + +

              ovoid addShader( ShaderObject* shader ) +

              + + +

              ostatic void deleteObject(unsigned int contextID, GLhandleARB handle) +
              use deleteObject instead of glDeleteObject to allow +GL2 Objects to cached until they can be deleted +by the OpenGL context in which they were created, specified +by contextID +

              + + +

              ostatic void flushDeletedGL2Objects(unsigned int contextID, double currentTime, double& availableTime) +
              flush all the cached glProgramObjects which need to be deleted +in the OpenGL context related to contextID +

              + + +

              ovirtual ~ProgramObject() +

              + + +

              otypedef std::vector< osg::ref_ptr<ShaderObject> > ShaderObjectList +

              + + +

              oShaderObjectList _shaderObjectList +

              + + +

              otypedef osg::buffered_value< osg::ref_ptr<PerContextProgObj> > PCPOList +

              + + +

              omutable PCPOList _pcpoList +

              + + +

              oPerContextProgObj* getPCPO(unsigned int contextID) const +

              + +
              This class has no child classes.
              + +

              Alphabetic index HTML hierarchy of classes or Java


              +
              +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgGL2/ShaderObject.html b/doc/doc++/osgGL2/ShaderObject.html new file mode 100644 index 000000000..c6209212d --- /dev/null +++ b/doc/doc++/osgGL2/ShaderObject.html @@ -0,0 +1,188 @@ + + + + + class OSGGL2_EXPORT osgGL2::ShaderObject + + + + +

              class OSGGL2_EXPORT osgGL2::ShaderObject

              Encapsulates the OpenGL Shading Language ShaderObject
              +
              + +

              Inheritance:

              + + + + + + + +
              + +
              +

              +

              Public Methods

              +[more] ShaderObject() +
              +[more] ShaderObject(Type type) +
              +[more] ShaderObject(Type type, const char* sourceText) +
              +[more] ShaderObject(const ShaderObject& rhs, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) +
              Copy constructor using CopyOp to manage deep vs shallow copy +
              +[more] META_Object(osgGL2, ShaderObject) +
              +[more]void setShaderSource( const char* sourceText ) +
              +[more]inline const std::string& getShaderSource() const +
              +[more]bool loadShaderSourceFromFile( const char* fileName ) +
              +[more]Type getType() const +
              +[more]void dirtyShaderObject() +
              Force a recompile on next apply() of associated glShaderObject. +
              +[more]bool build(unsigned int contextID) const +
              +[more]void attach(unsigned int contextID, GLhandleARB progObj) const +

              + +

              +

              Public Members

              +[more]enum Type +

              + +

              +

              Protected Fields

              +[more]std::string _shaderSource +
              +[more]Type _type +
              +[more]mutable PCSOList _pcsoList +

              + +

              +

              Protected Methods

              +[more]virtual ~ShaderObject() +
              +[more]PerContextShaderObj* getPCSO(unsigned int contextID) const +

              + +

              +

              Protected Members

              +class OSGGL2_EXPORT PerContextShaderObj: public osg::Referenced +
              +[more]typedef osg::buffered_value< osg::ref_ptr<PerContextShaderObj> > PCSOList +

              + +
              + + +
              +

              Documentation

              +
              Encapsulates the OpenGL Shading Language ShaderObject
              +
              + + + +
              oenum Type +

              + + + +
              o VERTEX +

              + + +

              o FRAGMENT +

              + + +

              o UNKNOWN +

              + + + +
              o ShaderObject() +

              + + +

              o ShaderObject(Type type) +

              + + +

              o ShaderObject(Type type, const char* sourceText) +

              + + +

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

              + + +

              o META_Object(osgGL2, ShaderObject) +

              + + +

              ovoid setShaderSource( const char* sourceText ) +

              + + +

              oinline const std::string& getShaderSource() const +

              + + +

              obool loadShaderSourceFromFile( const char* fileName ) +

              + + +

              oType getType() const +

              + + +

              ovoid dirtyShaderObject() +
              Force a recompile on next apply() of associated glShaderObject. +

              + + +

              obool build(unsigned int contextID) const +

              + + +

              ovoid attach(unsigned int contextID, GLhandleARB progObj) const +

              + + +

              ovirtual ~ShaderObject() +

              + + +

              ostd::string _shaderSource +

              + + +

              oType _type +

              + + +

              otypedef osg::buffered_value< osg::ref_ptr<PerContextShaderObj> > PCSOList +

              + + +

              omutable PCSOList _pcsoList +

              + + +

              oPerContextShaderObj* getPCSO(unsigned int contextID) const +

              + +
              This class has no child classes.
              + +

              Alphabetic index HTML hierarchy of classes or Java


              +
              +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgGL2/icon1.gif b/doc/doc++/osgGL2/icon1.gif new file mode 100644 index 000000000..f78f30eb9 Binary files /dev/null and b/doc/doc++/osgGL2/icon1.gif differ diff --git a/doc/doc++/osgGL2/icon2.gif b/doc/doc++/osgGL2/icon2.gif new file mode 100644 index 000000000..6cbe01a83 Binary files /dev/null and b/doc/doc++/osgGL2/icon2.gif differ diff --git a/doc/doc++/osgGL2/index.html b/doc/doc++/osgGL2/index.html new file mode 100644 index 000000000..ab7a053d0 --- /dev/null +++ b/doc/doc++/osgGL2/index.html @@ -0,0 +1,94 @@ + + + + + Table of Contents + + + + +

              Table of Contents

              +

              Namespaces

              + +

              Functions

              + +

              Macros

              + +

              Typedefs

              + +

              Hierarchy of classes


              +
              +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgGL2/osgGL2.html b/doc/doc++/osgGL2/osgGL2.html new file mode 100644 index 000000000..c3b3adc9b --- /dev/null +++ b/doc/doc++/osgGL2/osgGL2.html @@ -0,0 +1,34 @@ + + + + + namespace osgGL2 + + + + +

              namespace osgGL2

              +
              +

              +
              +class OSGGL2_EXPORT Extensions: public osg::Referenced +
              Extensions class which encapsulates the querying of extensions and associated function pointers, and provide convenience wrappers to check for the extensions or use the associated functions +
              +class OSGGL2_EXPORT ProgramObject: public osg::StateAttribute +
              Encapsulates the OpenGL Shading Language ProgramObject +
              +class OSGGL2_EXPORT ShaderObject: public osg::Object +
              Encapsulates the OpenGL Shading Language ShaderObject +

              + + + +
              +

              Documentation

              +
              +
              +

              Alphabetic index HTML hierarchy of classes or Java


              +
              +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgProducer/Callback.html b/doc/doc++/osgProducer/Callback.html index efb3abe47..4559e82bf 100644 --- a/doc/doc++/osgProducer/Callback.html +++ b/doc/doc++/osgProducer/Callback.html @@ -22,9 +22,9 @@

              Public Methods

              -[more]virtual ~Callback() +[more]virtual ~Callback()
              -[more]virtual void operator()(OsgSceneHandler&, const Producer::Camera &) = 0 +[more]virtual void operator()(OsgSceneHandler&, Producer::Camera &) = 0

              @@ -35,12 +35,12 @@
              - +
              ovirtual ~Callback()

              - -

              ovirtual void operator()(OsgSceneHandler&, const Producer::Camera &) = 0 + +
              ovirtual void operator()(OsgSceneHandler&, Producer::Camera &) = 0


              This class has no child classes.
              diff --git a/doc/doc++/osgProducer/EventAdapter.html b/doc/doc++/osgProducer/EventAdapter.html index 5037f627d..e4f8ae916 100644 --- a/doc/doc++/osgProducer/EventAdapter.html +++ b/doc/doc++/osgProducer/EventAdapter.html @@ -23,23 +23,23 @@

              Public Fields

              -[more]static unsigned int _s_accumulatedButtonMask +[more]static unsigned int _s_accumulatedButtonMask
              -[more]static int _s_button +[more]static int _s_button
              -[more]static float _s_Xmin +[more]static float _s_Xmin
              -[more]static float _s_Xmax +[more]static float _s_Xmax
              -[more]static float _s_Ymin +[more]static float _s_Ymin
              -[more]static float _s_Ymax +[more]static float _s_Ymax
              -[more]static float _s_mx +[more]static float _s_mx
              -[more]static float _s_my +[more]static float _s_my
              -[more]static int _s_modKeyMask +[more]static int _s_modKeyMask

              @@ -92,49 +92,52 @@ [more]void adaptResize(double t, float Xmin, float Ymin, float Xmax, float Ymax)
              method for adapting resize events.
              -[more]void adaptMouseMotion(double t, float x, float y) +[more]void adaptMouseScroll(double t, Producer::KeyboardMouseCallback::ScrollingMotion sm) +
              method for adapting mouse scroll wheel events. +
              +[more]void adaptMouseMotion(double t, float x, float y)
              method for adapting mouse motion events whilst mouse buttons are pressed
              -[more]void adaptButtonPress(double t, float x, float y, unsigned int button) +[more]void adaptButtonPress(double t, float x, float y, unsigned int button)
              -[more]void adaptButtonRelease(double t, float x, float y, unsigned int button) +[more]void adaptButtonRelease(double t, float x, float y, unsigned int button)
              -[more]void adaptKeyPress( double t, Producer::KeySymbol key) +[more]void adaptKeyPress( double t, Producer::KeySymbol key)
              method for adapting keyboard events
              -[more]void adaptKeyRelease( double t, Producer::KeySymbol key) +[more]void adaptKeyRelease( double t, Producer::KeySymbol key)
              -[more]void adaptFrame(double t) +[more]void adaptFrame(double t)
              method for adapting frame events, ie.
              -[more]void copyStaticVariables() +[more]void copyStaticVariables()

              Protected Fields

              -[more]EventType _eventType +[more]EventType _eventType
              -[more]int _key +[more]int _key
              -[more]int _button +[more]int _button
              -[more]float _Xmin +[more]float _Xmin
              -[more]float _Xmax +[more]float _Xmax
              -[more]float _Ymin +[more]float _Ymin
              -[more]float _Ymax +[more]float _Ymax
              -[more]float _mx +[more]float _mx
              -[more]float _my +[more]float _my
              -[more]unsigned int _buttonMask +[more]unsigned int _buttonMask
              -[more]unsigned int _modKeyMask +[more]unsigned int _modKeyMask
              -[more]double _time +[more]double _time

              @@ -227,119 +230,124 @@
              ovoid adaptResize(double t, float Xmin, float Ymin, float Xmax, float Ymax)
              method for adapting resize events.

              - + +

              ovoid adaptMouseScroll(double t, Producer::KeyboardMouseCallback::ScrollingMotion sm) +
              method for adapting mouse scroll wheel events. +

              + +

              ovoid adaptMouseMotion(double t, float x, float y)
              method for adapting mouse motion events whilst mouse buttons are pressed

              - +

              ovoid adaptButtonPress(double t, float x, float y, unsigned int button)

              - +

              ovoid adaptButtonRelease(double t, float x, float y, unsigned int button)

              - +

              ovoid adaptKeyPress( double t, Producer::KeySymbol key)
              method for adapting keyboard events

              - +

              ovoid adaptKeyRelease( double t, Producer::KeySymbol key)

              - +

              ovoid adaptFrame(double t)
              method for adapting frame events, ie. idle/display callback.

              - +

              ovoid copyStaticVariables()

              - +

              oEventType _eventType

              - +

              oint _key

              - +

              oint _button

              - +

              ofloat _Xmin

              - +

              ofloat _Xmax

              - +

              ofloat _Ymin

              - +

              ofloat _Ymax

              - +

              ofloat _mx

              - +

              ofloat _my

              - +

              ounsigned int _buttonMask

              - +

              ounsigned int _modKeyMask

              - +

              odouble _time

              - +

              ostatic unsigned int _s_accumulatedButtonMask

              - +

              ostatic int _s_button

              - +

              ostatic float _s_Xmin

              - +

              ostatic float _s_Xmax

              - +

              ostatic float _s_Ymin

              - +

              ostatic float _s_Ymax

              - +

              ostatic float _s_mx

              - +

              ostatic float _s_my

              - +

              ostatic int _s_modKeyMask

              diff --git a/doc/doc++/osgProducer/General.html b/doc/doc++/osgProducer/General.html index e2531a179..9c707b84f 100644 --- a/doc/doc++/osgProducer/General.html +++ b/doc/doc++/osgProducer/General.html @@ -37,8 +37,8 @@ o#define OSGPRODUCER_VERSION

              -o#define -OSG_VIEWER_H
              +o#define +OSGPRODUCER_VIEWER
              o#define OSGPRODUCER_VIEWEREVENTHANDLER diff --git a/doc/doc++/osgProducer/HIERjava.html b/doc/doc++/osgProducer/HIERjava.html index 368e14742..2830588a5 100644 --- a/doc/doc++/osgProducer/HIERjava.html +++ b/doc/doc++/osgProducer/HIERjava.html @@ -36,11 +36,11 @@
            - - - - - + + + + + diff --git a/doc/doc++/osgProducer/KeyboardMouseCallback.html b/doc/doc++/osgProducer/KeyboardMouseCallback.html index 0c754398a..8820bcfe4 100644 --- a/doc/doc++/osgProducer/KeyboardMouseCallback.html +++ b/doc/doc++/osgProducer/KeyboardMouseCallback.html @@ -22,79 +22,81 @@

            Public Methods

            -[more] KeyboardMouseCallback(Producer::KeyboardMouse* keyboardMouse, bool &done, bool escapeKeySetsDone=true) +[more] KeyboardMouseCallback(Producer::KeyboardMouse* keyboardMouse, bool &done, bool escapeKeySetsDone=true)
            [more]virtual ~KeyboardMouseCallback()
            -[more]virtual void mouseMotion( float mx, float my) +[more]virtual void mouseScroll( Producer::KeyboardMouseCallback::ScrollingMotion sm )
            -[more]virtual void passiveMouseMotion( float mx, float my) +[more]virtual void mouseMotion( float mx, float my)
            -[more]virtual void buttonPress( float mx, float my, unsigned int mbutton ) +[more]virtual void passiveMouseMotion( float mx, float my)
            -[more]virtual void doubleButtonPress( float mx, float my, unsigned int mbutton) +[more]virtual void buttonPress( float mx, float my, unsigned int mbutton )
            -[more]virtual void buttonRelease( float mx, float my, unsigned int mbutton ) +[more]virtual void doubleButtonPress( float mx, float my, unsigned int mbutton)
            -[more]virtual void keyPress( Producer::KeyCharacter key ) +[more]virtual void buttonRelease( float mx, float my, unsigned int mbutton )
            -[more]virtual void keyRelease( Producer::KeyCharacter key ) +[more]virtual void keyPress( Producer::KeyCharacter key )
            -[more]virtual void specialKeyPress( Producer::KeyCharacter key) +[more]virtual void keyRelease( Producer::KeyCharacter key )
            -[more]virtual void specialKeyRelease( Producer::KeyCharacter key) +[more]virtual void specialKeyPress( Producer::KeyCharacter key)
            -[more]void setEscapeSetDone(bool esc) +[more]virtual void specialKeyRelease( Producer::KeyCharacter key)
            -[more]bool getEscapeSetDone() const +[more]void setEscapeSetDone(bool esc)
            -[more]void getEventQueue(EventQueue& queue) +[more]bool getEscapeSetDone() const
            -[more]bool done() +[more]void getEventQueue(EventQueue& queue)
            -[more]float mx() +[more]bool done()
            -[more]float my() +[more]float mx()
            -[more]unsigned int mbutton() +[more]float my()
            -[more]void setStartTick(osg::Timer_t tick) +[more]unsigned int mbutton()
            -[more]double getTime() +[more]void setStartTick(osg::Timer_t tick)
            -[more]Producer::KeyboardMouse* getKeyboardMouse() +[more]double getTime()
            -[more]const Producer::KeyboardMouse* getKeyboardMouse() const +[more]Producer::KeyboardMouse* getKeyboardMouse()
            -[more]EventAdapter* createEventAdapter() +[more]const Producer::KeyboardMouse* getKeyboardMouse() const +
            +[more]EventAdapter* createEventAdapter()

            Public Members

            -[more]typedef std::vector< osg::ref_ptr<EventAdapter> > EventQueue +[more]typedef std::vector< osg::ref_ptr<EventAdapter> > EventQueue

            Protected Fields

            -[more]Producer::KeyboardMouse* _keyboardMouse +[more]Producer::KeyboardMouse* _keyboardMouse
            -[more]float _mx +[more]float _mx
            -[more]float _my +[more]float _my
            -[more]unsigned int _mbutton +[more]unsigned int _mbutton
            -[more]bool& _done +[more]bool& _done
            -[more]bool _escapeKeySetsDone +[more]bool _escapeKeySetsDone
            -[more]osg::Timer_t _startTick +[more]osg::Timer_t _startTick
            -[more]osg::Timer _timer +[more]osg::Timer _timer
            -[more]Producer::Mutex _eventQueueMutex +[more]OpenThreads::Mutex _eventQueueMutex
            -[more]EventQueue _eventQueue +[more]EventQueue _eventQueue

            @@ -106,139 +108,143 @@ -
            o KeyboardMouseCallback(Producer::KeyboardMouse* keyboardMouse, bool &done, bool escapeKeySetsDone=true) +
            o KeyboardMouseCallback(Producer::KeyboardMouse* keyboardMouse, bool &done, bool escapeKeySetsDone=true)

            ovirtual ~KeyboardMouseCallback()

            - + -

            ovirtual void mouseMotion( float mx, float my) +
            ovirtual void mouseScroll( Producer::KeyboardMouseCallback::ScrollingMotion sm ) +

            + + +

            ovirtual void mouseMotion( float mx, float my)

            - -

            ovirtual void passiveMouseMotion( float mx, float my) + +
            ovirtual void passiveMouseMotion( float mx, float my)

            - -

            ovirtual void buttonPress( float mx, float my, unsigned int mbutton ) + +
            ovirtual void buttonPress( float mx, float my, unsigned int mbutton )

            - -

            ovirtual void doubleButtonPress( float mx, float my, unsigned int mbutton) + +
            ovirtual void doubleButtonPress( float mx, float my, unsigned int mbutton)

            - -

            ovirtual void buttonRelease( float mx, float my, unsigned int mbutton ) + +
            ovirtual void buttonRelease( float mx, float my, unsigned int mbutton )

            - +

            ovirtual void keyPress( Producer::KeyCharacter key )

            - +

            ovirtual void keyRelease( Producer::KeyCharacter key )

            - +

            ovirtual void specialKeyPress( Producer::KeyCharacter key)

            - +

            ovirtual void specialKeyRelease( Producer::KeyCharacter key)

            - +

            ovoid setEscapeSetDone(bool esc)

            - +

            obool getEscapeSetDone() const

            - +

            otypedef std::vector< osg::ref_ptr<EventAdapter> > EventQueue

            - -

            ovoid getEventQueue(EventQueue& queue) + +
            ovoid getEventQueue(EventQueue& queue)

            - +

            obool done()

            - +

            ofloat mx()

            - +

            ofloat my()

            - +

            ounsigned int mbutton()

            - +

            ovoid setStartTick(osg::Timer_t tick)

            - +

            odouble getTime()

            - +

            oProducer::KeyboardMouse* getKeyboardMouse()

            - +

            oconst Producer::KeyboardMouse* getKeyboardMouse() const

            - +

            oEventAdapter* createEventAdapter()

            - +

            oProducer::KeyboardMouse* _keyboardMouse

            - +

            ofloat _mx

            - +

            ofloat _my

            - +

            ounsigned int _mbutton

            - +

            obool& _done

            - +

            obool _escapeKeySetsDone

            - +

            oosg::Timer_t _startTick

            - +

            oosg::Timer _timer

            - -

            oProducer::Mutex _eventQueueMutex + +
            oOpenThreads::Mutex _eventQueueMutex

            - -

            oEventQueue _eventQueue + +
            oEventQueue _eventQueue


            This class has no child classes.
            diff --git a/doc/doc++/osgProducer/OsgCameraGroup.html b/doc/doc++/osgProducer/OsgCameraGroup.html index 8c55eb357..0a6157245 100644 --- a/doc/doc++/osgProducer/OsgCameraGroup.html +++ b/doc/doc++/osgProducer/OsgCameraGroup.html @@ -117,7 +117,7 @@

            Public Members

            -[more]typedef std::vector< osg::ref_ptr<osgProducer::OsgSceneHandler> > SceneHandlerList +[more]typedef std::vector< Producer::ref_ptr<osgProducer::OsgSceneHandler> > SceneHandlerList
            class OSGPRODUCER_EXPORT RealizeCallback: public osg::Referenced
            RealizeCallback class one should override to provide an the implemention of realize callbacks. @@ -156,13 +156,15 @@ class OSGPRODUCER_EXPORT RealizeCallback< [more]osg::Timer_t _start_tick
            [more]osg::ref_ptr<osg::FrameStamp> _frameStamp +
            +[more]osg::ref_ptr<osgDB::DatabasePager> _databasePager

            Protected Methods

            [more]void setUpSceneViewsWithData()
            -[more]void _init() +[more]void _init()

            @@ -206,7 +208,7 @@ class OSGPRODUCER_EXPORT RealizeCallback<

            -

            otypedef std::vector< osg::ref_ptr<osgProducer::OsgSceneHandler> > SceneHandlerList +
            otypedef std::vector< Producer::ref_ptr<osgProducer::OsgSceneHandler> > SceneHandlerList

            @@ -422,8 +424,12 @@ taking its value for camera 0

            oosg::ref_ptr<osg::FrameStamp> _frameStamp

            - + +

            oosg::ref_ptr<osgDB::DatabasePager> _databasePager +

            + +

            ovoid _init()


            diff --git a/doc/doc++/osgProducer/OsgSceneHandler.html b/doc/doc++/osgProducer/OsgSceneHandler.html index 59b223524..87720c5db 100644 --- a/doc/doc++/osgProducer/OsgSceneHandler.html +++ b/doc/doc++/osgProducer/OsgSceneHandler.html @@ -10,11 +10,11 @@

            class OSGPRODUCER_EXPORT osgProducer::OsgSceneHandler


            Inheritance:

            - - - - - + + + + +
            @@ -24,40 +24,49 @@

            Public Methods

            [more] OsgSceneHandler(osg::DisplaySettings* ds = NULL)
            -[more]virtual void init() +[more]void setSceneView(osgUtil::SceneView* sceneView) +
            set the scene view to which will manage rendering of the OSG scene +
            +[more]osgUtil::SceneView* getSceneView() +
            get the scene view +
            +[more]const osgUtil::SceneView* getSceneView() const +
            get the const scene view +
            +[more]virtual void init()
            override the init method to force it be run one at a time
            -[more]virtual void clear(Producer::Camera& camera) +[more]virtual void clear(Producer::Camera& camera)
            -[more]virtual void clearImplementation(Producer::Camera& camera) +[more]virtual void clearImplementation(Producer::Camera& camera)
            -[more]void setClearCallback(Callback* callback) +[more]void setClearCallback(Callback* callback)
            -[more]Callback* getClearCallback() +[more]Callback* getClearCallback()
            -[more]const Callback* getClearCallback() const +[more]const Callback* getClearCallback() const
            -[more]virtual void cull(Producer::Camera& camera) +[more]virtual void cull(Producer::Camera& camera)
            -[more]virtual void cullImplementation(Producer::Camera& camera) +[more]virtual void cullImplementation(Producer::Camera& camera)
            -[more]void setCullCallback(Callback* callback) +[more]void setCullCallback(Callback* callback)
            -[more]Callback* getCullCallback() +[more]Callback* getCullCallback()
            -[more]const Callback* getCullCallback() const +[more]const Callback* getCullCallback() const
            -[more]virtual void draw(Producer::Camera& camera) +[more]virtual void draw(Producer::Camera& camera)
            -[more]virtual void drawImplementation(Producer::Camera& camera) +[more]virtual void drawImplementation(Producer::Camera& camera)
            -[more]void setDrawCallback(Callback* callback) +[more]void setDrawCallback(Callback* callback)
            -[more]Callback* getDrawCallback() +[more]Callback* getDrawCallback()
            -[more]const Callback* getDrawCallback() const +[more]const Callback* getDrawCallback() const
            -[more]void setContextID( int id ) +[more]void setContextID( int id )

            @@ -67,16 +76,18 @@ class Callback: public osg::Referenced

            Protected Fields

            -[more]osg::ref_ptr<Callback> _clearCallback +[more]osg::ref_ptr<osgUtil::SceneView> _sceneView
            -[more]osg::ref_ptr<Callback> _cullCallback +[more]osg::ref_ptr<Callback> _clearCallback
            -[more]osg::ref_ptr<Callback> _drawCallback +[more]osg::ref_ptr<Callback> _cullCallback +
            +[more]osg::ref_ptr<Callback> _drawCallback

            Protected Methods

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

            @@ -90,89 +101,108 @@ class Callback: public osg::Referenced
            o OsgSceneHandler(osg::DisplaySettings* ds = NULL)

            - + +

            ovoid setSceneView(osgUtil::SceneView* sceneView) +
            set the scene view to which will manage rendering of the OSG scene +

            + + +

            oosgUtil::SceneView* getSceneView() +
            get the scene view +

            + + +

            oconst osgUtil::SceneView* getSceneView() const +
            get the const scene view +

            + +

            ovirtual void init()
            override the init method to force it be run one at a time

            - +

            ovirtual void clear(Producer::Camera& camera)

            - +

            ovirtual void clearImplementation(Producer::Camera& camera)

            - +

            ovoid setClearCallback(Callback* callback)

            - +

            oCallback* getClearCallback()

            - +

            oconst Callback* getClearCallback() const

            - +

            ovirtual void cull(Producer::Camera& camera)

            - +

            ovirtual void cullImplementation(Producer::Camera& camera)

            - +

            ovoid setCullCallback(Callback* callback)

            - +

            oCallback* getCullCallback()

            - +

            oconst Callback* getCullCallback() const

            - +

            ovirtual void draw(Producer::Camera& camera)

            - +

            ovirtual void drawImplementation(Producer::Camera& camera)

            - +

            ovoid setDrawCallback(Callback* callback)

            - +

            oCallback* getDrawCallback()

            - +

            oconst Callback* getDrawCallback() const

            - +

            ovoid setContextID( int id )

            - +

            ovirtual ~OsgSceneHandler()

            + + +

            oosg::ref_ptr<osgUtil::SceneView> _sceneView +

            - +

            oosg::ref_ptr<Callback> _clearCallback

            - +

            oosg::ref_ptr<Callback> _cullCallback

            - +

            oosg::ref_ptr<Callback> _drawCallback

            diff --git a/doc/doc++/osgProducer/Viewer.html b/doc/doc++/osgProducer/Viewer.html index 08743a4e8..eff8a5679 100644 --- a/doc/doc++/osgProducer/Viewer.html +++ b/doc/doc++/osgProducer/Viewer.html @@ -46,59 +46,69 @@ [more]virtual bool realize()

            [more]virtual void update() +
            Updated the scene.
            -[more]virtual void frame() +[more]void setUpdateVistor(osg::NodeVisitor* nv) +
            set the update visitor which does the update traversal of the scene graph. +
            +[more]osg::NodeVisitor* getUpdateVistor() +
            get the update visitor +
            +[more]const osg::NodeVisitor* getUpdateVistor() const +
            get the const update visitor +
            +[more]virtual void frame()
            Dispatch the cull and draw for each of the Camera's for this frame
            -[more]virtual void requestRedraw() +[more]virtual void requestRedraw()
            -[more]virtual void requestContinuousUpdate(bool) +[more]virtual void requestContinuousUpdate(bool)
            -[more]virtual void requestWarpPointer(float x, float y) +[more]virtual void requestWarpPointer(float x, float y)
            -[more]bool computePixelCoords(float x, float y, unsigned int cameraNum, float& pixel_x, float& pixel_y) +[more]bool computePixelCoords(float x, float y, unsigned int cameraNum, float& pixel_x, float& pixel_y)
            compute, from normalized mouse coords, for sepecified Camera, the pixel coords relative to that Camera's RenderSurface
            -[more]bool computeNearFarPoints(float x, float y, unsigned int cameraNum, osg::Vec3& near, osg::Vec3& far) +[more]bool computeNearFarPoints(float x, float y, unsigned int cameraNum, osg::Vec3& near, osg::Vec3& far)
            compute, from normalized mouse coords, for sepecified Camera, the near and far points in worlds coords
            -[more]bool computeIntersections(float x, float y, unsigned int cameraNum, osgUtil::IntersectVisitor::HitList& hits) +[more]bool computeIntersections(float x, float y, unsigned int cameraNum, osgUtil::IntersectVisitor::HitList& hits)
            compute, from normalized mouse coords, for sepecified Camera, intersections with the scene
            -[more]bool computeIntersections(float x, float y, osgUtil::IntersectVisitor::HitList& hits) +[more]bool computeIntersections(float x, float y, osgUtil::IntersectVisitor::HitList& hits)
            compute, from normalized mouse coords, for all Cameras, intersections with the scene
            -[more]Producer::KeyboardMouse* getKeyboardMouse() +[more]Producer::KeyboardMouse* getKeyboardMouse()
            -[more]const Producer::KeyboardMouse* getKeyboardMouse() const +[more]const Producer::KeyboardMouse* getKeyboardMouse() const
            -[more]KeyboardMouseCallback* getKeyboardMouseCallback() +[more]KeyboardMouseCallback* getKeyboardMouseCallback()
            -[more]const KeyboardMouseCallback* getKeyboardMouseCallback() const +[more]const KeyboardMouseCallback* getKeyboardMouseCallback() const
            -[more]EventHandlerList& getEventHandlerList() +[more]EventHandlerList& getEventHandlerList()
            -[more]const EventHandlerList& getEventHandlerList() const +[more]const EventHandlerList& getEventHandlerList() const
            -[more]osgGA::KeySwitchCameraManipulator* getKeySwitchCameraManipulator() +[more]osgGA::KeySwitchMatrixManipulator* getKeySwitchMatrixManipulator()
            -[more]const osgGA::KeySwitchCameraManipulator* getKeySwitchCameraManipulator() const +[more]const osgGA::KeySwitchMatrixManipulator* getKeySwitchMatrixManipulator() const
            -[more]unsigned int addCameraManipulator(osgGA::CameraManipulator* cm) +[more]unsigned int addCameraManipulator(osgGA::MatrixManipulator* cm)
            -[more]void selectCameraManipulator(unsigned int no) +[more]void selectCameraManipulator(unsigned int no)
            -[more]void setRecordingAnimationPath(bool on) +[more]void setRecordingAnimationPath(bool on)
            -[more]bool getRecordingAnimationPath() const +[more]bool getRecordingAnimationPath() const
            -[more]void setAnimationPath(osg::AnimationPath* path) +[more]void setAnimationPath(osg::AnimationPath* path)
            -[more]osg::AnimationPath* getAnimationPath() +[more]osg::AnimationPath* getAnimationPath()
            -[more]const osg::AnimationPath* getAnimationPath() const +[more]const osg::AnimationPath* getAnimationPath() const
            -[more]virtual void getUsage(osg::ApplicationUsage& usage) const +[more]virtual void getUsage(osg::ApplicationUsage& usage) const
            Get the keyboard and mouse usage of this viewer

            @@ -106,26 +116,24 @@

            Public Members

            [more]enum ViewerOptions
            -[more]typedef std::list< osg::ref_ptr<osgGA::GUIEventHandler> > EventHandlerList +[more]typedef std::list< osg::ref_ptr<osgGA::GUIEventHandler> > EventHandlerList

            Protected Fields

            -[more]bool _done +[more]bool _done
            -[more]osgProducer::KeyboardMouseCallback* _kbmcb +[more]osgProducer::KeyboardMouseCallback* _kbmcb
            -[more]EventHandlerList _eventHandlerList +[more]EventHandlerList _eventHandlerList
            -[more]osg::ref_ptr<osgGA::KeySwitchCameraManipulator> _keyswitchManipulator +[more]osg::ref_ptr<osgGA::KeySwitchMatrixManipulator> _keyswitchManipulator
            -[more]osg::ref_ptr<osg::Camera> _old_style_osg_camera +[more]osg::ref_ptr<osg::NodeVisitor> _updateVisitor
            -[more]osg::ref_ptr<osg::NodeVisitor> _updateVisitor +[more]bool _recordingAnimationPath
            -[more]bool _recordingAnimationPath -
            -[more]osg::ref_ptr<osg::AnimationPath> _animationPath +[more]osg::ref_ptr<osg::AnimationPath> _animationPath

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

            Public Members

            -otypedef std::vector< osg::ref_ptr<osgProducer::OsgSceneHandler> > SceneHandlerList +otypedef std::vector< Producer::ref_ptr<osgProducer::OsgSceneHandler> > SceneHandlerList
            class OSGPRODUCER_EXPORT RealizeCallback: public osg::Referenced
            RealizeCallback class one should override to provide an the implemention of realize callbacks. @@ -243,6 +251,8 @@ class OSGPRODUCER_EXPORT RealizeCallback< oosg::Timer_t _start_tick
            oosg::ref_ptr<osg::FrameStamp> _frameStamp +
            +oosg::ref_ptr<osgDB::DatabasePager> _databasePager

            @@ -355,143 +365,155 @@ class OSGPRODUCER_EXPORT RealizeCallback<
            ovirtual void update() +
            Updated the scene. Handle any queued up events, do an update traversal and set the CameraGroup's setViewByMatrix if any camera manipulators are active. +

            + + +

            ovoid setUpdateVistor(osg::NodeVisitor* nv) +
            set the update visitor which does the update traversal of the scene graph. Automatically called by the update() method. +

            + + +

            oosg::NodeVisitor* getUpdateVistor() +
            get the update visitor +

            + + +

            oconst osg::NodeVisitor* getUpdateVistor() const +
            get the const update visitor

            - +

            ovirtual void frame()
            Dispatch the cull and draw for each of the Camera's for this frame

            - +

            ovirtual void requestRedraw()

            - +

            ovirtual void requestContinuousUpdate(bool)

            - +

            ovirtual void requestWarpPointer(float x, float y)

            - +

            obool computePixelCoords(float x, float y, unsigned int cameraNum, float& pixel_x, float& pixel_y)
            compute, from normalized mouse coords, for sepecified Camera, the pixel coords relative to that Camera's RenderSurface

            - +

            obool computeNearFarPoints(float x, float y, unsigned int cameraNum, osg::Vec3& near, osg::Vec3& far)
            compute, from normalized mouse coords, for sepecified Camera, the near and far points in worlds coords

            - +

            obool computeIntersections(float x, float y, unsigned int cameraNum, osgUtil::IntersectVisitor::HitList& hits)
            compute, from normalized mouse coords, for sepecified Camera, intersections with the scene

            - +

            obool computeIntersections(float x, float y, osgUtil::IntersectVisitor::HitList& hits)
            compute, from normalized mouse coords, for all Cameras, intersections with the scene

            - +

            oProducer::KeyboardMouse* getKeyboardMouse()

            - +

            oconst Producer::KeyboardMouse* getKeyboardMouse() const

            - +

            oKeyboardMouseCallback* getKeyboardMouseCallback()

            - +

            oconst KeyboardMouseCallback* getKeyboardMouseCallback() const

            - +

            otypedef std::list< osg::ref_ptr<osgGA::GUIEventHandler> > EventHandlerList

            - -

            oEventHandlerList& getEventHandlerList() + +
            oEventHandlerList& getEventHandlerList()

            - -

            oconst EventHandlerList& getEventHandlerList() const + +
            oconst EventHandlerList& getEventHandlerList() const

            - - -

            oosgGA::KeySwitchCameraManipulator* getKeySwitchCameraManipulator() + + +
            oosgGA::KeySwitchMatrixManipulator* getKeySwitchMatrixManipulator()

            - - -

            oconst osgGA::KeySwitchCameraManipulator* getKeySwitchCameraManipulator() const + + +
            oconst osgGA::KeySwitchMatrixManipulator* getKeySwitchMatrixManipulator() const

            - -

            ounsigned int addCameraManipulator(osgGA::CameraManipulator* cm) + +
            ounsigned int addCameraManipulator(osgGA::MatrixManipulator* cm)

            - +

            ovoid selectCameraManipulator(unsigned int no)

            - +

            ovoid setRecordingAnimationPath(bool on)

            - +

            obool getRecordingAnimationPath() const

            - +

            ovoid setAnimationPath(osg::AnimationPath* path)

            - +

            oosg::AnimationPath* getAnimationPath()

            - +

            oconst osg::AnimationPath* getAnimationPath() const

            - +

            ovirtual void getUsage(osg::ApplicationUsage& usage) const
            Get the keyboard and mouse usage of this viewer

            - +

            obool _done

            - +

            oosgProducer::KeyboardMouseCallback* _kbmcb

            - -

            oEventHandlerList _eventHandlerList + +
            oEventHandlerList _eventHandlerList

            - -

            oosg::ref_ptr<osgGA::KeySwitchCameraManipulator> _keyswitchManipulator -

            - - -

            oosg::ref_ptr<osg::Camera> _old_style_osg_camera + +
            oosg::ref_ptr<osgGA::KeySwitchMatrixManipulator> _keyswitchManipulator

            - +

            oosg::ref_ptr<osg::NodeVisitor> _updateVisitor

            - +

            obool _recordingAnimationPath

            - +

            oosg::ref_ptr<osg::AnimationPath> _animationPath

            diff --git a/doc/doc++/osgProducer/index.html b/doc/doc++/osgProducer/index.html index e867014d0..d3ce2db16 100644 --- a/doc/doc++/osgProducer/index.html +++ b/doc/doc++/osgProducer/index.html @@ -31,8 +31,8 @@
          • OSGPRODUCER_OSGCAMERAGROUP_H
          • OSGPRODUCER_OSGSCENEHANDLER
          • OSGPRODUCER_VERSION +
          • OSGPRODUCER_VIEWER
          • OSGPRODUCER_VIEWEREVENTHANDLER -
          • OSG_VIEWER_H

            Hierarchy of classes



            diff --git a/doc/doc++/osgProducer/osgProducer.html b/doc/doc++/osgProducer/osgProducer.html index ef60d3f29..17c2d666d 100644 --- a/doc/doc++/osgProducer/osgProducer.html +++ b/doc/doc++/osgProducer/osgProducer.html @@ -18,7 +18,7 @@ class OSGPRODUCER_EXPORT KeyboardMouseC
            class OSGPRODUCER_EXPORT OsgCameraGroup: public Producer::CameraGroup
            -class OSGPRODUCER_EXPORT OsgSceneHandler: public Producer::Camera::SceneHandler, public osgUtil::SceneView +class OSGPRODUCER_EXPORT OsgSceneHandler: public Producer::Camera::SceneHandler
            class OSGPRODUCER_EXPORT Viewer: public OsgCameraGroup, public osgGA::GUIActionAdapter
            diff --git a/doc/doc++/osgSim/AzimElevationSector.html b/doc/doc++/osgSim/AzimElevationSector.html index f4c1f8c66..42b93b937 100644 --- a/doc/doc++/osgSim/AzimElevationSector.html +++ b/doc/doc++/osgSim/AzimElevationSector.html @@ -11,7 +11,7 @@

            Inheritance:

            - + @@ -24,19 +24,32 @@

            Public Methods

            [more] AzimElevationSector()
            -[more] AzimElevationSector(float minAzimuth, float maxAzimuth, float minElevation, float maxElevation, float fadeAngle=0.0f) +[more] AzimElevationSector(const AzimElevationSector& copy, const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY)
            -[more]virtual float operator() (const osg::Vec3& eyeLocal) const +[more] AzimElevationSector(float minAzimuth, float maxAzimuth, float minElevation, float maxElevation, float fadeAngle=0.0f) +
            +[more]META_Object(osgSim, AzimElevationSector) ()(const osg::Vec3& eyeLocal) const

            Protected Methods

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


            Inherited from Sector:

            +

            +

            Public Methods

            +ovirtual const char* libraryName() const +
            +ovirtual const char* className() const +
            +ovirtual bool isSameKindAs(const osg::Object* obj) const +
            +ovirtual float operator() (const osg::Vec3&yeLocal*/) const +

            +

            Inherited from AzimRange:

            @@ -96,14 +109,18 @@

            +

            o AzimElevationSector(const AzimElevationSector& copy, const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY) +

            + +

            o AzimElevationSector(float minAzimuth, float maxAzimuth, float minElevation, float maxElevation, float fadeAngle=0.0f)

            - - -

            ovirtual float operator() (const osg::Vec3& eyeLocal) const + + +
            oMETA_Object(osgSim, AzimElevationSector) ()(const osg::Vec3& eyeLocal) const

            - +

            ovirtual ~AzimElevationSector()

            diff --git a/doc/doc++/osgSim/AzimSector.html b/doc/doc++/osgSim/AzimSector.html index 604c51038..fc06e7bb7 100644 --- a/doc/doc++/osgSim/AzimSector.html +++ b/doc/doc++/osgSim/AzimSector.html @@ -11,7 +11,7 @@

            Inheritance:

            - + @@ -24,19 +24,32 @@

            Public Methods

            [more] AzimSector()
            -[more] AzimSector(float minAzimuth, float maxAzimuth, float fadeAngle=0.0f) +[more] AzimSector(const AzimSector& copy, const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY)
            -[more]virtual float operator() (const osg::Vec3& eyeLocal) const +[more] AzimSector(float minAzimuth, float maxAzimuth, float fadeAngle=0.0f) +
            +[more]META_Object(osgSim, AzimSector) ()(const osg::Vec3& eyeLocal) const

            Protected Methods

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


            Inherited from Sector:

            +

            +

            Public Methods

            +ovirtual const char* libraryName() const +
            +ovirtual const char* className() const +
            +ovirtual bool isSameKindAs(const osg::Object* obj) const +
            +ovirtual float operator() (const osg::Vec3&yeLocal*/) const +

            +

            Inherited from AzimRange:

            @@ -71,14 +84,18 @@

            +

            o AzimSector(const AzimSector& copy, const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY) +

            + +

            o AzimSector(float minAzimuth, float maxAzimuth, float fadeAngle=0.0f)

            - - -

            ovirtual float operator() (const osg::Vec3& eyeLocal) const + + +
            oMETA_Object(osgSim, AzimSector) ()(const osg::Vec3& eyeLocal) const

            - +

            ovirtual ~AzimSector()

            diff --git a/doc/doc++/osgSim/BlinkSequence.html b/doc/doc++/osgSim/BlinkSequence.html index fd97d135f..5203785d0 100644 --- a/doc/doc++/osgSim/BlinkSequence.html +++ b/doc/doc++/osgSim/BlinkSequence.html @@ -11,7 +11,7 @@

            Inheritance:

            - + @@ -24,33 +24,35 @@

            Public Methods

            [more] BlinkSequence()
            -[more] BlinkSequence(const BlinkSequence& bs) +[more] BlinkSequence(const BlinkSequence& bs, const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY)
            -[more]inline double getPulsePeriod() const +[more] META_Object(osgSim, BlinkSequence) +
            +[more]inline double getPulsePeriod() const
            get the total pulse period of the blink sequence, which is equal to the sum of all the pulse periods
            -[more]inline void setSequenceGroup(SequenceGroup* sg) +[more]inline void setSequenceGroup(SequenceGroup* sg)
            set the sequence group which can be used to synchronize related blink sequences
            -[more]inline SequenceGroup* getSequenceGroup() +[more]inline SequenceGroup* getSequenceGroup()
            get the non const sequence group
            -[more]inline const SequenceGroup* getSequenceGroup() const +[more]inline const SequenceGroup* getSequenceGroup() const
            get the const sequence group
            -[more]inline void setPhaseShift(double ps) +[more]inline void setPhaseShift(double ps)
            set the phase shift of the blink sequence, this would be used to shift a sequence within a sequence group
            -[more]inline double getPhaseShift() const +[more]inline double getPhaseShift() const
            get the pahse shift
            -[more]inline double localTime(double time) const +[more]inline double localTime(double time) const
            compute the local time clamped to this BlinkSequences period, and accounting for the phase shift and sequence group
            -[more]inline void addPulse(double length, const osg::Vec4& color) +[more]inline void addPulse(double length, const osg::Vec4& color)
            add a pulse of specified color and duration to the BlinkSequence
            -[more]inline osg::Vec4 color(double time, double length) const +[more]inline osg::Vec4 color(double time, double length) const
            compute the color for the time interval sepecifed.

            @@ -62,20 +64,20 @@ class OSGSIM_EXPORT SequenceGroup: publ

            Protected Fields

            -[more]double _pulsePeriod +[more]double _pulsePeriod
            -[more]double _phaseShift +[more]double _phaseShift
            -[more]PulseData _pulseData +[more]PulseData _pulseData
            -[more]osg::ref_ptr<SequenceGroup> _sequenceGroup +[more]osg::ref_ptr<SequenceGroup> _sequenceGroup

            Protected Members

            -[more]typedef std::pair<double,osg::Vec4> IntervalColor +[more]typedef std::pair<double,osg::Vec4> IntervalColor
            -[more]typedef std::vector<IntervalColor> PulseData +[more]typedef std::vector<IntervalColor> PulseData

            @@ -91,74 +93,78 @@ class OSGSIM_EXPORT SequenceGroup: publ

            -

            o BlinkSequence(const BlinkSequence& bs) +
            o BlinkSequence(const BlinkSequence& bs, const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY) +

            + + +

            o META_Object(osgSim, BlinkSequence)

            - +

            oinline double getPulsePeriod() const
            get the total pulse period of the blink sequence, which is equal to the sum of all the pulse periods

            - +

            oinline void setSequenceGroup(SequenceGroup* sg)
            set the sequence group which can be used to synchronize related blink sequences

            - +

            oinline SequenceGroup* getSequenceGroup()
            get the non const sequence group

            - +

            oinline const SequenceGroup* getSequenceGroup() const
            get the const sequence group

            - +

            oinline void setPhaseShift(double ps)
            set the phase shift of the blink sequence, this would be used to shift a sequence within a sequence group

            - +

            oinline double getPhaseShift() const
            get the pahse shift

            - +

            otypedef std::pair<double,osg::Vec4> IntervalColor

            - -

            otypedef std::vector<IntervalColor> PulseData + +
            otypedef std::vector<IntervalColor> PulseData

            - +

            odouble _pulsePeriod

            - +

            odouble _phaseShift

            - -

            oPulseData _pulseData + +
            oPulseData _pulseData

            - +

            oosg::ref_ptr<SequenceGroup> _sequenceGroup

            - +

            oinline double localTime(double time) const
            compute the local time clamped to this BlinkSequences period, and accounting for the phase shift and sequence group

            - -

            oinline void addPulse(double length, const osg::Vec4& color) + +
            oinline void addPulse(double length, const osg::Vec4& color)
            add a pulse of specified color and duration to the BlinkSequence

            - +

            oinline osg::Vec4 color(double time, double length) const
            compute the color for the time interval sepecifed. Averages the colors if the length is greater than the current pulse.

            diff --git a/doc/doc++/osgSim/ConeSector.html b/doc/doc++/osgSim/ConeSector.html index 0b8e0e634..d25672963 100644 --- a/doc/doc++/osgSim/ConeSector.html +++ b/doc/doc++/osgSim/ConeSector.html @@ -11,7 +11,7 @@

            Inheritance:

            - + @@ -24,38 +24,49 @@

            Public Methods

            [more] ConeSector()
            -[more] ConeSector(const osg::Vec3& axis, float angle, float fadeangle=0.0f) +[more] ConeSector(const ConeSector& copy, const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY)
            -[more]void setAxis(const osg::Vec3& axis) +[more] ConeSector(const osg::Vec3& axis, float angle, float fadeangle=0.0f)
            -[more]const osg::Vec3& getAxis() const +[more]META_Object (osgSim, ConeSector)(const osg::Vec3& axis)
            -[more]void setAngle(float angle, float fadeangle=0.0f) +[more]const osg::Vec3& getAxis() const
            -[more]float getAngle() const +[more]void setAngle(float angle, float fadeangle=0.0f)
            -[more]float getFadeAngle() const +[more]float getAngle() const
            -[more]virtual float operator() (const osg::Vec3& eyeLocal) const +[more]float getFadeAngle() const +
            +[more]virtual float operator() (const osg::Vec3& eyeLocal) const

            Protected Fields

            -[more]osg::Vec3 _axis +[more]osg::Vec3 _axis
            -[more]float _cosAngle +[more]float _cosAngle
            -[more]float _cosAngleFade +[more]float _cosAngleFade

            Protected Methods

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


            Inherited from Sector:

            +

            +

            Public Methods

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

            +
            @@ -69,46 +80,50 @@

            +

            o ConeSector(const ConeSector& copy, const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY) +

            + +

            o ConeSector(const osg::Vec3& axis, float angle, float fadeangle=0.0f)

            - - -

            ovoid setAxis(const osg::Vec3& axis) + + +
            oMETA_Object (osgSim, ConeSector)(const osg::Vec3& axis)

            - +

            oconst osg::Vec3& getAxis() const

            - +

            ovoid setAngle(float angle, float fadeangle=0.0f)

            - +

            ofloat getAngle() const

            - +

            ofloat getFadeAngle() const

            - +

            ovirtual float operator() (const osg::Vec3& eyeLocal) const

            - +

            ovirtual ~ConeSector()

            - +

            oosg::Vec3 _axis

            - +

            ofloat _cosAngle

            - +

            ofloat _cosAngleFade

            diff --git a/doc/doc++/osgSim/ElevationSector.html b/doc/doc++/osgSim/ElevationSector.html index de58ff343..a8fd5eeb1 100644 --- a/doc/doc++/osgSim/ElevationSector.html +++ b/doc/doc++/osgSim/ElevationSector.html @@ -11,7 +11,7 @@

            Inheritance:

            - + @@ -24,30 +24,43 @@

            Public Methods

            [more] ElevationSector()
            -[more] ElevationSector(float minElevation, float maxElevation, float fadeAngle=0.0f) +[more] ElevationSector(const ElevationSector& copy, const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY)
            -[more]virtual float operator() (const osg::Vec3& eyeLocal) const +[more] ElevationSector(float minElevation, float maxElevation, float fadeAngle=0.0f) +
            +[more]META_Object(osgSim, ElevationSector) ()(const osg::Vec3& eyeLocal) const

            Protected Fields

            -[more]float _cosMinElevation +[more]float _cosMinElevation
            -[more]float _cosMinFadeElevation +[more]float _cosMinFadeElevation
            -[more]float _cosMaxElevation +[more]float _cosMaxElevation
            -[more]float _cosMaxFadeElevation +[more]float _cosMaxFadeElevation

            Protected Methods

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


            Inherited from Sector:

            +

            +

            Public Methods

            +ovirtual const char* libraryName() const +
            +ovirtual const char* className() const +
            +ovirtual bool isSameKindAs(const osg::Object* obj) const +
            +ovirtual float operator() (const osg::Vec3&yeLocal*/) const +

            +

            Inherited from ElevationRange:

            @@ -75,30 +88,34 @@

            +

            o ElevationSector(const ElevationSector& copy, const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY) +

            + +

            o ElevationSector(float minElevation, float maxElevation, float fadeAngle=0.0f)

            - - -

            ovirtual float operator() (const osg::Vec3& eyeLocal) const + + +
            oMETA_Object(osgSim, ElevationSector) ()(const osg::Vec3& eyeLocal) const

            - +

            ovirtual ~ElevationSector()

            - +

            ofloat _cosMinElevation

            - +

            ofloat _cosMinFadeElevation

            - +

            ofloat _cosMaxElevation

            - +

            ofloat _cosMaxFadeElevation

            diff --git a/doc/doc++/osgSim/General.html b/doc/doc++/osgSim/General.html index d97d14ea6..5f0552ff9 100644 --- a/doc/doc++/osgSim/General.html +++ b/doc/doc++/osgSim/General.html @@ -40,6 +40,9 @@ o#define OSGSIM_SECTOR
            +o#define +OSGSIM_SPHERESEGMENT
            + o#define OSGSIM_VERSION

            Alphabetic index Hierarchy of classes


            diff --git a/doc/doc++/osgSim/HIER.html b/doc/doc++/osgSim/HIER.html index 829c7b6de..7580a7413 100644 --- a/doc/doc++/osgSim/HIER.html +++ b/doc/doc++/osgSim/HIER.html @@ -29,7 +29,8 @@
          • osgSim::ConeSector
          • osgSim::ElevationSector -
          • osgSim::BlinkSequence::SequenceGroup +
          • osgSim::BlinkSequence::SequenceGroup +
          • osgSim::SphereSegment

            Alphabetic index



            This page was generated with the help of DOC++. diff --git a/doc/doc++/osgSim/HIERjava.html b/doc/doc++/osgSim/HIERjava.html index 9531f7c28..207b956f5 100644 --- a/doc/doc++/osgSim/HIERjava.html +++ b/doc/doc++/osgSim/HIERjava.html @@ -16,7 +16,7 @@
          • - + @@ -51,12 +51,19 @@ - + + + + + + + + alphabetic index



            diff --git a/doc/doc++/osgSim/LightPoint.html b/doc/doc++/osgSim/LightPoint.html index 4e4066c55..fe945ac45 100644 --- a/doc/doc++/osgSim/LightPoint.html +++ b/doc/doc++/osgSim/LightPoint.html @@ -33,9 +33,9 @@

            Public Methods

            [more] LightPoint()
            -[more] LightPoint(const osg::Vec3& position, const osg::Vec4& color) +[more] LightPoint(const osg::Vec3& position, const osg::Vec4& color)
            -[more] LightPoint(bool on, const osg::Vec3& position, const osg::Vec4& color, float intensity=1.0f, float radius=1.0f, Sector* sector=0, BlinkSequence* blinkSequence=0, BlendingMode blendingMode=BLENDED) +[more] LightPoint(bool on, const osg::Vec3& position, const osg::Vec4& color, float intensity=1.0f, float radius=1.0f, Sector* sector=0, BlinkSequence* blinkSequence=0, BlendingMode blendingMode=BLENDED)
            [more] LightPoint(const LightPoint& lp)
            @@ -74,11 +74,11 @@

            -

            o LightPoint(const osg::Vec3& position, const osg::Vec4& color) +
            o LightPoint(const osg::Vec3& position, const osg::Vec4& color)

            -

            o LightPoint(bool on, const osg::Vec3& position, const osg::Vec4& color, float intensity=1.0f, float radius=1.0f, Sector* sector=0, BlinkSequence* blinkSequence=0, BlendingMode blendingMode=BLENDED) +
            o LightPoint(bool on, const osg::Vec3& position, const osg::Vec4& color, float intensity=1.0f, float radius=1.0f, Sector* sector=0, BlinkSequence* blinkSequence=0, BlendingMode blendingMode=BLENDED)

            diff --git a/doc/doc++/osgSim/LightPointNode.html b/doc/doc++/osgSim/LightPointNode.html index f1774295e..b9b20355e 100644 --- a/doc/doc++/osgSim/LightPointNode.html +++ b/doc/doc++/osgSim/LightPointNode.html @@ -31,31 +31,33 @@

            [more]virtual void traverse(osg::NodeVisitor& nv)
            -[more]unsigned int addLightPoint(const LightPoint& lp) +[more]unsigned int getNumLightPoints() const
            -[more]void removeLightPoint(unsigned int pos) +[more]unsigned int addLightPoint(const LightPoint& lp)
            -[more]LightPoint& getLightPoint(unsigned int pos) +[more]void removeLightPoint(unsigned int pos)
            -[more]const LightPoint& getLightPoint(unsigned int pos) const +[more]LightPoint& getLightPoint(unsigned int pos)
            -[more]void setLightPointList(const LightPointList& lpl) +[more]const LightPoint& getLightPoint(unsigned int pos) const
            -[more]LightPointList& getLightPointList() +[more]void setLightPointList(const LightPointList& lpl)
            -[more]const LightPointList& getLightPointList() const +[more]LightPointList& getLightPointList()
            -[more]void setMinPixelSize(float minPixelSize) +[more]const LightPointList& getLightPointList() const
            -[more]float getMinPixelSize() const +[more]void setMinPixelSize(float minPixelSize)
            -[more]void setMaxPixelSize(float maxPixelSize) +[more]float getMinPixelSize() const
            -[more]float getMaxPixelSize() const +[more]void setMaxPixelSize(float maxPixelSize)
            -[more]void setMaxVisableDistance2(float maxVisableDistance2) +[more]float getMaxPixelSize() const
            -[more]float setMaxVisableDistance2() const +[more]void setMaxVisableDistance2(float maxVisableDistance2) +
            +[more]float setMaxVisableDistance2() const

            @@ -65,22 +67,22 @@

            Protected Fields

            -[more]mutable osg::BoundingBox _bbox +[more]mutable osg::BoundingBox _bbox
            -[more]LightPointList _lightPointList +[more]LightPointList _lightPointList
            -[more]float _minPixelSize +[more]float _minPixelSize
            -[more]float _maxPixelSize +[more]float _maxPixelSize
            -[more]float _maxVisableDistance2 +[more]float _maxVisableDistance2

            Protected Methods

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

            @@ -111,84 +113,88 @@
            ovirtual void traverse(osg::NodeVisitor& nv)

            - + +

            ounsigned int getNumLightPoints() const +

            + +

            ounsigned int addLightPoint(const LightPoint& lp)

            - +

            ovoid removeLightPoint(unsigned int pos)

            - +

            oLightPoint& getLightPoint(unsigned int pos)

            - +

            oconst LightPoint& getLightPoint(unsigned int pos) const

            - +

            ovoid setLightPointList(const LightPointList& lpl)

            - +

            oLightPointList& getLightPointList()

            - +

            oconst LightPointList& getLightPointList() const

            - +

            ovoid setMinPixelSize(float minPixelSize)

            - +

            ofloat getMinPixelSize() const

            - +

            ovoid setMaxPixelSize(float maxPixelSize)

            - +

            ofloat getMaxPixelSize() const

            - +

            ovoid setMaxVisableDistance2(float maxVisableDistance2)

            - +

            ofloat setMaxVisableDistance2() const

            - +

            o ~LightPointNode()

            - +

            omutable osg::BoundingBox _bbox

            - +

            ovirtual bool computeBound() const

            - +

            oLightPointList _lightPointList

            - +

            ofloat _minPixelSize

            - +

            ofloat _maxPixelSize

            - +

            ofloat _maxVisableDistance2

            diff --git a/doc/doc++/osgSim/Sector.html b/doc/doc++/osgSim/Sector.html index 1b2b7e04b..897efa04e 100644 --- a/doc/doc++/osgSim/Sector.html +++ b/doc/doc++/osgSim/Sector.html @@ -11,7 +11,7 @@

            Inheritance:

            - + @@ -22,12 +22,22 @@

            Public Methods

            -[more]virtual float operator() (const osg::Vec3&yeLocal*/) const = 0 +[more] Sector() +
            +[more] Sector(const Sector& copy, const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY) +
            +[more]virtual const char* libraryName() const +
            +[more]virtual const char* className() const +
            +[more]virtual bool isSameKindAs(const osg::Object* obj) const +
            +[more]virtual float operator() (const osg::Vec3&yeLocal*/) const = 0

            Protected Methods

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

            @@ -37,12 +47,32 @@

            Documentation

            - + +
            o Sector() +

            + + +

            o Sector(const Sector& copy, const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY) +

            + + +

            ovirtual const char* libraryName() const +

            + + +

            ovirtual const char* className() const +

            + + +

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

            + +

            ovirtual float operator() (const osg::Vec3&yeLocal*/) const = 0

            - +

            ovirtual ~Sector()


            diff --git a/doc/doc++/osgSim/SphereSegment.html b/doc/doc++/osgSim/SphereSegment.html new file mode 100644 index 000000000..e2bd18af8 --- /dev/null +++ b/doc/doc++/osgSim/SphereSegment.html @@ -0,0 +1,383 @@ + + + + + class OSGSIM_EXPORT osgSim::SphereSegment + + + + +

            class OSGSIM_EXPORT osgSim::SphereSegment

            A SphereSegment is a Geode to represent an portion of a sphere (potentially the whole sphere).
            +
            + +

            Inheritance:

            + + + + + + + +
            + +
            +

            +

            Public Fields

            +[more]osg::Vec3 _centre +
            +[more]float _radius +
            +[more]float _azMin +
            +[more]float _azMax +
            +[more]float _elevMin +
            +[more]float _elevMax +
            +[more]int _density +
            +[more]DrawMask _drawMask +
            +[more]osg::Vec4 _surfaceColor +
            +[more]osg::Vec4 _spokeColor +
            +[more]osg::Vec4 _edgeLineColor +
            +[more]osg::Vec4 _planeColor +

            + +

            +

            Public Methods

            +[more] SphereSegment() +
            Default constructor. +
            +[more] SphereSegment(const osg::Vec3& centre, float radius, float azMin, float azMax, float elevMin, float elevMax, int density) +
            Construct by angle ranges. +
            +[more] SphereSegment(const osg::Vec3& centre, float radius, osg::Vec3 vec, float azRange, float elevRange, int density) +
            Construct by vector. +
            +[more] SphereSegment(const SphereSegment& rhs, const osg::CopyOp& co) +
            Copy constructor +
            +[more]void setDrawMask(DrawMask dm) +
            Specify the DrawMask. +
            +[more]void setSurfaceColor(const osg::Vec4& c) +
            Set the color of the surface. +
            +[more]void setSpokeColor(const osg::Vec4& c) +
            Set the color of the spokes. +
            +[more]void setEdgeLineColor(const osg::Vec4& c) +
            Set the color of the edge line. +
            +[more]void setPlaneColor(const osg::Vec4& c) +
            Set the color of the planes. +
            +[more]void setAllColors(const osg::Vec4& c) +
            Set color of all components. +
            +[more] META_Node(osgSim, SphereSegment) +
            +[more]bool Surface_computeBound(osg::BoundingBox&) const +
            +[more]void Surface_drawImplementation(osg::State&) const +
            +[more]bool EdgeLine_computeBound(osg::BoundingBox&) const +
            +[more]void EdgeLine_drawImplementation(osg::State&) const +
            +[more]bool Plane_computeBound(osg::BoundingBox&, PlaneOrientation, BoundaryAngle) const +
            +[more]void Plane_drawImplementation(osg::State&, PlaneOrientation, BoundaryAngle) const +
            +[more]bool Spoke_computeBound(osg::BoundingBox&, BoundaryAngle, BoundaryAngle) const +
            +[more]void Spoke_drawImplementation(osg::State&, BoundaryAngle, BoundaryAngle) const +
            +[more]void checkTransparency() +

            + +

            +

            Public Members

            +[more]enum DrawMask +
            DrawMask represents a bit field, the values of which may be OR'ed together to specify which parts of the sphere segment should be drawn. +
            +[more]enum BoundaryAngle +
            +[more]enum PlaneOrientation +

            + +
            + + +
            +

            Documentation

            +
            +A SphereSegment is a Geode to represent an portion of a sphere (potentially +the whole sphere). The sphere is aligned such that the line through the +sphere's poles is parallel to the z axis. The sphere segment +may be rendered various components switched on or off: + +

            - The specified area of the sphere surface. + +

            - An edge line around the boundary of the specified area +of the sphere surface. + +

            - Four spokes, where a spoke is the line from +the sphere's centre to a corner of the rendered area. + +

            - Four planar areas, where the planar areas are formed +between the spokes. + +

            Caveats: + +

            - It's worth noting that the line through the sphere's poles is +parallel to the z axis. This has implications when specifying the +area to be rendered, and specifying areas where the centre of +the rendered area is the Z axis may lead to unexpected +geometry. + +

            - It's possible to render the whole sphere by specifying elevation +and azimuth ranges round the full 360 degrees. When doing +so you may consider switching the planes, spokes, and edge lines +off, to avoid rendering artefacts, e.g. the upper and lower +planes will be coincident. +

            +
            + + + +
            oenum DrawMask +
            +DrawMask represents a bit field, the values of which may be OR'ed together +to specify which parts of the sphere segment should be drawn. E.g. +\code +sphereSegment->setDrawMask(SphereSegment::DrawMask(SphereSegment::SURFACE|SphereSegment::SPOKES)); +\endcode +

            + + + +
            o SURFACE +

            + + +

            o SPOKES +
            < Draw the specified area on the sphere's surface +

            + + +

            o EDGELINE +
            < Draw the spokes from the sphere's centre to the surface's corners +

            + + +

            o PLANES +
            < Draw the line round the edge of the area on the sphere's surface +

            + + +

            o ALL +
            < Draw the planes from the sphere's centre to the edge of the sphere's surface +

            + + + +
            o SphereSegment() +
            Default constructor. +

            + + +

            o SphereSegment(const osg::Vec3& centre, float radius, float azMin, float azMax, float elevMin, float elevMax, int density) +
            +Construct by angle ranges. Note that the azimuth 'zero' is the Y axis; specifying +an azimuth range from azMin -osg::PI/2.0f to azMax osg::PI/2.0f will cover the +'top half' of the circle in the XY plane. The elev angles are 'out' of the 'zero' +XY plane with +ve angles above the plane, and -ve angles below. + +
            Parameters:
            centre - sphere centre +
            radius - radius of sphere +
            azMin - azimuth minimum +
            azMin - azimuth maximum +
            elevMin - elevation minimum +
            elevMax - elevation maximum +
            density - number of units to divide the azimuth and elevation ranges into

            + + +

            o SphereSegment(const osg::Vec3& centre, float radius, osg::Vec3 vec, float azRange, float elevRange, int density) +
            +Construct by vector. + +
            Parameters:
            centre - sphere centre +
            radius - radius of sphere +
            vec - vector pointing from sphere centre to centre point +of rendered area on sphere surface +
            azRange - azimuth range in radians (with centre along vec) +
            elevRange - elevation range in radians (with centre along vec) +
            density - number of units to divide the azimuth and elevation ranges into

            + + +

            o SphereSegment(const SphereSegment& rhs, const osg::CopyOp& co) +
            Copy constructor +

            + + +

            ovoid setDrawMask(DrawMask dm) +
            +Specify the DrawMask. + +
            Parameters:
            dm - Bitmask specifying which parts of the sphere segment should be drawn. +
            See Also:
            DrawMask

            + + +

            ovoid setSurfaceColor(const osg::Vec4& c) +
            Set the color of the surface. +

            + + +

            ovoid setSpokeColor(const osg::Vec4& c) +
            Set the color of the spokes. +

            + + +

            ovoid setEdgeLineColor(const osg::Vec4& c) +
            Set the color of the edge line. +

            + + +

            ovoid setPlaneColor(const osg::Vec4& c) +
            Set the color of the planes. +

            + + +

            ovoid setAllColors(const osg::Vec4& c) +
            Set color of all components. +

            + + +

            o META_Node(osgSim, SphereSegment) +

            + + +

            obool Surface_computeBound(osg::BoundingBox&) const +

            + + +

            ovoid Surface_drawImplementation(osg::State&) const +

            + + +

            obool EdgeLine_computeBound(osg::BoundingBox&) const +

            + + +

            ovoid EdgeLine_drawImplementation(osg::State&) const +

            + + +

            oenum BoundaryAngle +

            + + + +
            o MIN +

            + + +

            o MAX +

            + + + +
            oenum PlaneOrientation +

            + + + +
            o AZIM +

            + + +

            o ELEV +

            + + + +
            obool Plane_computeBound(osg::BoundingBox&, PlaneOrientation, BoundaryAngle) const +

            + + +

            ovoid Plane_drawImplementation(osg::State&, PlaneOrientation, BoundaryAngle) const +

            + + +

            obool Spoke_computeBound(osg::BoundingBox&, BoundaryAngle, BoundaryAngle) const +

            + + +

            ovoid Spoke_drawImplementation(osg::State&, BoundaryAngle, BoundaryAngle) const +

            + + +

            oosg::Vec3 _centre +

            + + +

            ofloat _radius +

            + + +

            ofloat _azMin +

            + + +

            ofloat _azMax +

            + + +

            ofloat _elevMin +

            + + +

            ofloat _elevMax +

            + + +

            oint _density +

            + + +

            oDrawMask _drawMask +

            + + +

            oosg::Vec4 _surfaceColor +

            + + +

            oosg::Vec4 _spokeColor +

            + + +

            oosg::Vec4 _edgeLineColor +

            + + +

            oosg::Vec4 _planeColor +

            + + +

            ovoid checkTransparency() +

            + +
            This class has no child classes.
            + +
            Friends:
            class Surface
            class EdgeLine
            class Plane
            class Spoke

            Alphabetic index HTML hierarchy of classes or Java


            +
            +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgSim/index.html b/doc/doc++/osgSim/index.html index f8af235f4..94c9e87cb 100644 --- a/doc/doc++/osgSim/index.html +++ b/doc/doc++/osgSim/index.html @@ -35,6 +35,7 @@
          • OSGSIM_LIGHTPOINT
          • OSGSIM_LIGHTPOINTNODE
          • OSGSIM_SECTOR +
          • OSGSIM_SPHERESEGMENT
          • OSGSIM_VERSION

            Hierarchy of classes


            diff --git a/doc/doc++/osgSim/osgSim.html b/doc/doc++/osgSim/osgSim.html index cd6548850..df989635c 100644 --- a/doc/doc++/osgSim/osgSim.html +++ b/doc/doc++/osgSim/osgSim.html @@ -11,13 +11,13 @@

            -class OSGSIM_EXPORT BlinkSequence: public osg::Referenced +class OSGSIM_EXPORT BlinkSequence: public osg::Object
            class OSGSIM_EXPORT LightPoint
            class OSGSIM_EXPORT LightPointNode: public osg::Node
            -class Sector: public osg::Referenced +class Sector: public osg::Object
            class OSGSIM_EXPORT AzimRange
            @@ -30,6 +30,9 @@ class OSGSIM_EXPORT ElevationSector: class OSGSIM_EXPORT AzimElevationSector: public Sector, public AzimRange, public ElevationRange
            class OSGSIM_EXPORT ConeSector: public Sector +
            +class OSGSIM_EXPORT SphereSegment: public osg::Geode +
            A SphereSegment is a Geode to represent an portion of a sphere (potentially the whole sphere).

            diff --git a/doc/doc++/osgText/DefaultFont.html b/doc/doc++/osgText/DefaultFont.html new file mode 100644 index 000000000..9c263c3e3 --- /dev/null +++ b/doc/doc++/osgText/DefaultFont.html @@ -0,0 +1,195 @@ + + + + + class osgText::DefaultFont + + + + +

            class osgText::DefaultFont


            + +

            Inheritance:

            + + + + + + + +
            + +
            +

            +

            Public Methods

            +[more]static DefaultFont* instance() +
            +[more]virtual std::string getFileName() const +
            +[more]virtual void setSize(unsigned int width, unsigned int height) +
            NOP with DefaultFont since it only supports a single fixed sized font. +
            +[more]virtual Font::Glyph* getGlyph(unsigned int charcode) +
            +[more]virtual osg::Vec2 getKerning(unsigned int leftcharcode, unsigned int rightcharcode) +
            +[more]virtual bool hasVertical() const +

            + +

            +

            Protected Methods

            +[more] DefaultFont() +
            +[more]virtual ~DefaultFont() +
            +[more]void constructGlyphs() +

            + +
            +

            Inherited from Font:

            +
            +

            +

            Public Methods

            +ovirtual osg::Object* cloneType() const +
            +ovirtual osg::Object* clone(const osg::CopyOp&) const +
            +ovirtual bool isSameKindAs(const osg::Object* obj) const +
            +ovirtual const char* className() const +
            +ovirtual const char* libraryName() const +
            +ounsigned int getWidth() +
            +ounsigned int getHeight() +
            +ovoid setGlyphImageMargin(unsigned int margin) +
            +ounsigned int getGlyphImageMargin() const +
            +ovoid setTextureSizeHint(unsigned int width, unsigned int height) +
            +ounsigned int getTextureWidthHint() const +
            +ounsigned int getTextureHeightHint() const +
            +ovoid setMinFilterHint(osg::Texture::FilterMode mode) +
            +oosg::Texture::FilterMode getMinFilterHint() const +
            +ovoid setMagFilterHint(osg::Texture::FilterMode mode) +
            +oosg::Texture::FilterMode getMagFilterHint() const +
            +ovoid setImplementation(FontImplementation* implementation) +
            +oFontImplementation* getImplementation() +
            +oconst FontImplementation* getImplementation() const +

            + +

            +

            Public Members

            +class FontImplementation: public osg::Referenced +
            +class OSGTEXT_EXPORT GlyphTexture: public osg::Texture2D +
            +class OSGTEXT_EXPORT Glyph: public osg::Image +

            + +

            +

            Protected Fields

            +oSizeGlyphMap _sizeGlyphMap +
            +oGlyphTextureList _glyphTextureList +
            +oStateSetList _stateSetList +
            +ounsigned int _width +
            +ounsigned int _height +
            +ounsigned int _margin +
            +ounsigned int _textureWidthHint +
            +ounsigned int _textureHeightHint +
            +oosg::Texture::FilterMode _minFilterHint +
            +oosg::Texture::FilterMode _magFilterHint +
            +oosg::ref_ptr<FontImplementation> _implementation +

            + +

            +

            Protected Methods

            +ovoid addGlyph(unsigned int width, unsigned int height, unsigned int charcode, Glyph* glyph) +

            + +

            +

            Protected Members

            +otypedef std::vector< osg::ref_ptr<GlyphTexture> > GlyphTextureList +
            +otypedef std::vector< osg::ref_ptr<osg::StateSet> > StateSetList +
            +otypedef std::map< unsigned int, osg::ref_ptr<Glyph> > GlyphMap +
            +otypedef std::pair< unsigned int, unsigned int > SizePair +
            +otypedef std::map< SizePair, GlyphMap > SizeGlyphMap +

            + +
            + + +
            +

            Documentation

            +
            + + + +
            ostatic DefaultFont* instance() +

            + + +

            ovirtual std::string getFileName() const +

            + + +

            ovirtual void setSize(unsigned int width, unsigned int height) +
            NOP with DefaultFont since it only supports a single fixed sized font. +

            + + +

            ovirtual Font::Glyph* getGlyph(unsigned int charcode) +

            + + +

            ovirtual osg::Vec2 getKerning(unsigned int leftcharcode, unsigned int rightcharcode) +

            + + +

            ovirtual bool hasVertical() const +

            + + +

            o DefaultFont() +

            + + +

            ovirtual ~DefaultFont() +

            + + +

            ovoid constructGlyphs() +

            + +
            This class has no child classes.
            + +

            Alphabetic index HTML hierarchy of classes or Java


            +
            +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgText/Font.html b/doc/doc++/osgText/Font.html index d0fe76e9d..fc8407923 100644 --- a/doc/doc++/osgText/Font.html +++ b/doc/doc++/osgText/Font.html @@ -23,63 +23,63 @@

            Public Methods

            -[more] Font(FontImplementation* implementation=0) +[more] Font(FontImplementation* implementation=0)
            -[more]virtual osg::Object* cloneType() const +[more]virtual osg::Object* cloneType() const
            -[more]virtual osg::Object* clone(const osg::CopyOp&) const +[more]virtual osg::Object* clone(const osg::CopyOp&) const
            -[more]virtual bool isSameKindAs(const osg::Object* obj) const +[more]virtual bool isSameKindAs(const osg::Object* obj) const
            -[more]virtual const char* className() const +[more]virtual const char* className() const
            -[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
            -[more]virtual std::string getFileName() const +[more]virtual std::string getFileName() const
            -[more]virtual void setSize(unsigned int width, unsigned int height) +[more]virtual void setSize(unsigned int width, unsigned int height)
            Set the pixel width and height hint
            -[more]unsigned int getWidth() +[more]unsigned int getWidth()
            -[more]unsigned int getHeight() +[more]unsigned int getHeight()
            -[more]virtual Glyph* getGlyph(unsigned int charcode) -
            Get a Glyph for specified charcode, and the font size nearest to the current font size hint -
            -[more]virtual osg::Vec2 getKerning(unsigned int leftcharcode, unsigned int rightcharcode) +[more]virtual osg::Vec2 getKerning(unsigned int leftcharcode, unsigned int rightcharcode, KerningType kerningType)
            Get a kerning (adjustment of spacing of two adjacent character) for specified charcodes, wrt the current font size hint
            -[more]virtual bool hasVertical() const +[more]virtual Glyph* getGlyph(unsigned int charcode) +
            Get a Glyph for specified charcode, and the font size nearest to the current font size hint +
            +[more]virtual bool hasVertical() const
            Return true if this font provides vertical alignments and spacing or glyphs
            -[more]void setGlyphImageMargin(unsigned int margin) +[more]void setGlyphImageMargin(unsigned int margin)
            Set the margin around each glyph, to ensure that texture filtering doesn't bleed adjacent glyph's into each other.
            -[more]unsigned int getGlyphImageMargin() const +[more]unsigned int getGlyphImageMargin() const
            -[more]void setTextureSizeHint(unsigned int width, unsigned int height) +[more]void setTextureSizeHint(unsigned int width, unsigned int height)
            Set the size of texture to create to store the glyph images when rendering.
            -[more]unsigned int getTextureWidthHint() const +[more]unsigned int getTextureWidthHint() const
            -[more]unsigned int getTextureHeightHint() const +[more]unsigned int getTextureHeightHint() const
            -[more]void setMinFilterHint(osg::Texture::FilterMode mode) +[more]void setMinFilterHint(osg::Texture::FilterMode mode)
            Set the minification texture filter to use when creating the texture to store the glyph images when rendering.
            -[more]osg::Texture::FilterMode getMinFilterHint() const +[more]osg::Texture::FilterMode getMinFilterHint() const
            -[more]void setMagFilterHint(osg::Texture::FilterMode mode) +[more]void setMagFilterHint(osg::Texture::FilterMode mode)
            Set the magnification texture filter to use when creating the texture to store the glyph images when rendering.
            -[more]osg::Texture::FilterMode getMagFilterHint() const +[more]osg::Texture::FilterMode getMagFilterHint() const
            -[more]void setImplementation(FontImplementation* implementation) +[more]void setImplementation(FontImplementation* implementation)
            -[more]FontImplementation* getImplementation() +[more]FontImplementation* getImplementation()
            -[more]const FontImplementation* getImplementation() const +[more]const FontImplementation* getImplementation() const

            @@ -93,47 +93,47 @@ class OSGTEXT_EXPORT Glyph: public osg::Image

            Protected Fields

            -[more]SizeGlyphMap _sizeGlyphMap +[more]SizeGlyphMap _sizeGlyphMap
            -[more]GlyphTextureList _glyphTextureList +[more]GlyphTextureList _glyphTextureList
            -[more]StateSetList _stateSetList +[more]StateSetList _stateSetList
            -[more]unsigned int _width +[more]unsigned int _width
            -[more]unsigned int _height +[more]unsigned int _height
            -[more]unsigned int _margin +[more]unsigned int _margin
            -[more]unsigned int _textureWidthHint +[more]unsigned int _textureWidthHint
            -[more]unsigned int _textureHeightHint +[more]unsigned int _textureHeightHint
            -[more]osg::Texture::FilterMode _minFilterHint +[more]osg::Texture::FilterMode _minFilterHint
            -[more]osg::Texture::FilterMode _magFilterHint +[more]osg::Texture::FilterMode _magFilterHint
            -[more]osg::ref_ptr<FontImplementation> _implementation +[more]osg::ref_ptr<FontImplementation> _implementation

            Protected Methods

            -[more]virtual ~Font() +[more]virtual ~Font()
            -[more]void addGlyph(unsigned int width, unsigned int height, unsigned int charcode, Glyph* glyph) +[more]void addGlyph(unsigned int width, unsigned int height, unsigned int charcode, Glyph* glyph)

            Protected Members

            -[more]typedef std::vector< osg::ref_ptr<GlyphTexture> > GlyphTextureList +[more]typedef std::vector< osg::ref_ptr<GlyphTexture> > GlyphTextureList
            -[more]typedef std::vector< osg::ref_ptr<osg::StateSet> > StateSetList +[more]typedef std::vector< osg::ref_ptr<osg::StateSet> > StateSetList
            -[more]typedef std::map< unsigned int, osg::ref_ptr<Glyph> > GlyphMap +[more]typedef std::map< unsigned int, osg::ref_ptr<Glyph> > GlyphMap
            -[more]typedef std::pair< unsigned int, unsigned int > SizePair +[more]typedef std::pair< unsigned int, unsigned int > SizePair
            -[more]typedef std::map< SizePair, GlyphMap > SizeGlyphMap +[more]typedef std::map< SizePair, GlyphMap > SizeGlyphMap

            @@ -147,188 +147,188 @@ and FreeTypeFont found in src/osgPlugins/freetype/FreeTypeFont.cpp
            - +
            o Font(FontImplementation* implementation=0)

            - +

            ovirtual osg::Object* cloneType() const

            - +

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

            - +

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

            - +

            ovirtual const char* className() const

            - +

            ovirtual const char* libraryName() const

            - +

            ovirtual std::string getFileName() const

            - +

            ovirtual void setSize(unsigned int width, unsigned int height)
            Set the pixel width and height hint

            - +

            ounsigned int getWidth()

            - +

            ounsigned int getHeight()

            + + +

            ovirtual osg::Vec2 getKerning(unsigned int leftcharcode, unsigned int rightcharcode, KerningType kerningType) +
            Get a kerning (adjustment of spacing of two adjacent character) for specified charcodes, wrt the current font size hint +

            - +

            ovirtual Glyph* getGlyph(unsigned int charcode)
            Get a Glyph for specified charcode, and the font size nearest to the current font size hint

            - - -

            ovirtual osg::Vec2 getKerning(unsigned int leftcharcode, unsigned int rightcharcode) -
            Get a kerning (adjustment of spacing of two adjacent character) for specified charcodes, wrt the current font size hint -

            - +

            ovirtual bool hasVertical() const
            Return true if this font provides vertical alignments and spacing or glyphs

            - +

            ovoid setGlyphImageMargin(unsigned int margin)
            Set the margin around each glyph, to ensure that texture filtering doesn't bleed adjacent glyph's into each other. Default margin is 2 texels.

            - +

            ounsigned int getGlyphImageMargin() const

            - +

            ovoid setTextureSizeHint(unsigned int width, unsigned int height)
            Set the size of texture to create to store the glyph images when rendering. Note, this doesn't affect already created Texture Glhph's.

            - +

            ounsigned int getTextureWidthHint() const

            - +

            ounsigned int getTextureHeightHint() const

            - +

            ovoid setMinFilterHint(osg::Texture::FilterMode mode)
            Set the minification texture filter to use when creating the texture to store the glyph images when rendering. Note, this doesn't affect already created Texture Glhph's.

            - +

            oosg::Texture::FilterMode getMinFilterHint() const

            - +

            ovoid setMagFilterHint(osg::Texture::FilterMode mode)
            Set the magnification texture filter to use when creating the texture to store the glyph images when rendering. Note, this doesn't affect already created Texture Glhph's.

            - +

            oosg::Texture::FilterMode getMagFilterHint() const

            - +

            ovoid setImplementation(FontImplementation* implementation)

            - +

            oFontImplementation* getImplementation()

            - +

            oconst FontImplementation* getImplementation() const

            - +

            ovirtual ~Font()

            - +

            ovoid addGlyph(unsigned int width, unsigned int height, unsigned int charcode, Glyph* glyph)

            - +

            otypedef std::vector< osg::ref_ptr<GlyphTexture> > GlyphTextureList

            - +

            otypedef std::vector< osg::ref_ptr<osg::StateSet> > StateSetList

            - +

            otypedef std::map< unsigned int, osg::ref_ptr<Glyph> > GlyphMap

            - +

            otypedef std::pair< unsigned int, unsigned int > SizePair

            - -

            otypedef std::map< SizePair, GlyphMap > SizeGlyphMap + +
            otypedef std::map< SizePair, GlyphMap > SizeGlyphMap

            - -

            oSizeGlyphMap _sizeGlyphMap + +
            oSizeGlyphMap _sizeGlyphMap

            - -

            oGlyphTextureList _glyphTextureList + +
            oGlyphTextureList _glyphTextureList

            - -

            oStateSetList _stateSetList + +
            oStateSetList _stateSetList

            - +

            ounsigned int _width

            - +

            ounsigned int _height

            - +

            ounsigned int _margin

            - +

            ounsigned int _textureWidthHint

            - +

            ounsigned int _textureHeightHint

            - +

            oosg::Texture::FilterMode _minFilterHint

            - +

            oosg::Texture::FilterMode _magFilterHint

            - +

            oosg::ref_ptr<FontImplementation> _implementation

            diff --git a/doc/doc++/osgText/FontImplementation.html b/doc/doc++/osgText/FontImplementation.html index e6f971ddc..6d805daec 100644 --- a/doc/doc++/osgText/FontImplementation.html +++ b/doc/doc++/osgText/FontImplementation.html @@ -22,30 +22,30 @@

            Public Fields

            -[more]Font* _facade +[more]Font* _facade

            Public Methods

            -[more]virtual std::string getFileName() const = 0 +[more]virtual std::string getFileName() const = 0
            -[more]virtual void setSize(unsigned int width, unsigned int height) = 0 +[more]virtual void setSize(unsigned int width, unsigned int height) = 0
            Set the pixel width and height hint
            -[more]virtual Glyph* getGlyph(unsigned int charcode) = 0 +[more]virtual Glyph* getGlyph(unsigned int charcode) = 0
            Get a Glyph for specified charcode, and the font size nearest to the current font size hint
            -[more]virtual osg::Vec2 getKerning(unsigned int leftcharcode, unsigned int rightcharcode) = 0 +[more]virtual osg::Vec2 getKerning(unsigned int leftcharcode, unsigned int rightcharcode, KerningType kerningType) = 0
            Get a kerning (adjustment of spacing of two adjacent character) for specified charcodes, wrt the current font size hint
            -[more]virtual bool hasVertical() const = 0 +[more]virtual bool hasVertical() const = 0
            Return true if this font provides vertical alignments and spacing or glyphs
            -[more]void setWidth(unsigned int width) +[more]void setWidth(unsigned int width)
            -[more]void setHeight(unsigned int height) +[more]void setHeight(unsigned int height)
            -[more]void addGlyph(unsigned int width, unsigned int height, unsigned int charcode, Glyph* glyph) +[more]void addGlyph(unsigned int width, unsigned int height, unsigned int charcode, Glyph* glyph)

            @@ -56,43 +56,43 @@
            - +
            ovirtual std::string getFileName() const = 0

            - +

            ovirtual void setSize(unsigned int width, unsigned int height) = 0
            Set the pixel width and height hint

            - +

            ovirtual Glyph* getGlyph(unsigned int charcode) = 0
            Get a Glyph for specified charcode, and the font size nearest to the current font size hint

            - -

            ovirtual osg::Vec2 getKerning(unsigned int leftcharcode, unsigned int rightcharcode) = 0 + +
            ovirtual osg::Vec2 getKerning(unsigned int leftcharcode, unsigned int rightcharcode, KerningType kerningType) = 0
            Get a kerning (adjustment of spacing of two adjacent character) for specified charcodes, wrt the current font size hint

            - +

            ovirtual bool hasVertical() const = 0
            Return true if this font provides vertical alignments and spacing or glyphs

            - +

            ovoid setWidth(unsigned int width)

            - +

            ovoid setHeight(unsigned int height)

            - +

            ovoid addGlyph(unsigned int width, unsigned int height, unsigned int charcode, Glyph* glyph)

            - +

            oFont* _facade

            diff --git a/doc/doc++/osgText/Glyph.html b/doc/doc++/osgText/Glyph.html index 067b9a798..21c8802b7 100644 --- a/doc/doc++/osgText/Glyph.html +++ b/doc/doc++/osgText/Glyph.html @@ -22,78 +22,87 @@

            Public Methods

            -[more] Glyph() +[more] Glyph()
            -[more]virtual ~Glyph() +[more]virtual ~Glyph()
            -[more]unsigned int getGlyphCode() const +[more]unsigned int getGlyphCode() const
            -[more]void setHorizontalBearing(const osg::Vec2& bearing) +[more]void setHorizontalBearing(const osg::Vec2& bearing)
            -[more]const osg::Vec2& getHorizontalBearing() const +[more]const osg::Vec2& getHorizontalBearing() const
            -[more]void setHorizontalAdvance(float advance) +[more]void setHorizontalAdvance(float advance)
            -[more]float getHorizontalAdvance() const +[more]float getHorizontalAdvance() const
            -[more]void setVerticalBearing(const osg::Vec2& bearing) +[more]void setVerticalBearing(const osg::Vec2& bearing)
            -[more]const osg::Vec2& getVerticalBearing() const +[more]const osg::Vec2& getVerticalBearing() const
            -[more]void setVerticalAdvance(float advance) +[more]void setVerticalAdvance(float advance)
            -[more]float getVerticalAdvance() const +[more]float getVerticalAdvance() const
            -[more]void setTexture(GlyphTexture* texture) +[more]void setTexture(GlyphTexture* texture)
            -[more]GlyphTexture* getTexture() +[more]GlyphTexture* getTexture()
            -[more]const GlyphTexture* getTexture() const +[more]const GlyphTexture* getTexture() const
            -[more]osg::StateSet* getStateSet() +[more]osg::StateSet* getStateSet()
            -[more]const osg::StateSet* getStateSet() const +[more]const osg::StateSet* getStateSet() const
            -[more]void setTexturePosition(int posX, int posY) +[more]void setTexturePosition(int posX, int posY)
            -[more]int getTexturePositionX() const +[more]int getTexturePositionX() const
            -[more]int getTexturePositionY() const +[more]int getTexturePositionY() const
            -[more]void setMinTexCoord(const osg::Vec2& coord) +[more]void setMinTexCoord(const osg::Vec2& coord)
            -[more]const osg::Vec2& getMinTexCoord() const +[more]const osg::Vec2& getMinTexCoord() const
            -[more]void setMaxTexCoord(const osg::Vec2& coord) +[more]void setMaxTexCoord(const osg::Vec2& coord)
            -[more]const osg::Vec2& getMaxTexCoord() const +[more]const osg::Vec2& getMaxTexCoord() const
            -[more]void subload() const +[more]void subload() const +
            +[more]void draw(osg::State& state) const

            Protected Fields

            -[more]Font* _font +[more]Font* _font
            -[more]unsigned int _glyphCode +[more]unsigned int _glyphCode
            -[more]osg::Vec2 _horizontalBearing +[more]osg::Vec2 _horizontalBearing
            -[more]float _horizontalAdvance +[more]float _horizontalAdvance
            -[more]osg::Vec2 _verticalBearing +[more]osg::Vec2 _verticalBearing
            -[more]float _verticalAdvance +[more]float _verticalAdvance
            -[more]GlyphTexture* _texture +[more]GlyphTexture* _texture
            -[more]int _texturePosX +[more]int _texturePosX
            -[more]int _texturePosY +[more]int _texturePosY
            -[more]osg::Vec2 _minTexCoord +[more]osg::Vec2 _minTexCoord
            -[more]osg::Vec2 _maxTexCoord +[more]osg::Vec2 _maxTexCoord +
            +[more]mutable GLObjectList _globjList +

            + +

            +

            Protected Members

            +[more]typedef osg::buffered_value<GLuint> GLObjectList

            @@ -104,144 +113,156 @@
            - +
            o Glyph()

            - +

            ovirtual ~Glyph()

            - +

            ounsigned int getGlyphCode() const

            - +

            ovoid setHorizontalBearing(const osg::Vec2& bearing)

            - +

            oconst osg::Vec2& getHorizontalBearing() const

            - +

            ovoid setHorizontalAdvance(float advance)

            - +

            ofloat getHorizontalAdvance() const

            - +

            ovoid setVerticalBearing(const osg::Vec2& bearing)

            - +

            oconst osg::Vec2& getVerticalBearing() const

            - +

            ovoid setVerticalAdvance(float advance)

            - +

            ofloat getVerticalAdvance() const

            - +

            ovoid setTexture(GlyphTexture* texture)

            - +

            oGlyphTexture* getTexture()

            - +

            oconst GlyphTexture* getTexture() const

            - +

            oosg::StateSet* getStateSet()

            - +

            oconst osg::StateSet* getStateSet() const

            - +

            ovoid setTexturePosition(int posX, int posY)

            - +

            oint getTexturePositionX() const

            - +

            oint getTexturePositionY() const

            - +

            ovoid setMinTexCoord(const osg::Vec2& coord)

            - +

            oconst osg::Vec2& getMinTexCoord() const

            - +

            ovoid setMaxTexCoord(const osg::Vec2& coord)

            - +

            oconst osg::Vec2& getMaxTexCoord() const

            - +

            ovoid subload() const

            + + +

            ovoid draw(osg::State& state) const +

            - +

            oFont* _font

            - +

            ounsigned int _glyphCode

            - +

            oosg::Vec2 _horizontalBearing

            - +

            ofloat _horizontalAdvance

            - +

            oosg::Vec2 _verticalBearing

            - +

            ofloat _verticalAdvance

            - +

            oGlyphTexture* _texture

            - +

            oint _texturePosX

            - +

            oint _texturePosY

            - +

            oosg::Vec2 _minTexCoord

            - +

            oosg::Vec2 _maxTexCoord +

            + + +

            otypedef osg::buffered_value<GLuint> GLObjectList +

            + + +

            omutable GLObjectList _globjList


            This class has no child classes.
            diff --git a/doc/doc++/osgText/GlyphTexture.html b/doc/doc++/osgText/GlyphTexture.html index 9294ff293..a40a68986 100644 --- a/doc/doc++/osgText/GlyphTexture.html +++ b/doc/doc++/osgText/GlyphTexture.html @@ -22,58 +22,58 @@

            Public Methods

            -[more] GlyphTexture() +[more] GlyphTexture()
            -[more]virtual int compare(const osg::StateAttribute& rhs) const +[more]virtual int compare(const osg::StateAttribute& rhs) const
            return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
            -[more]void setStateSet(osg::StateSet* stateset) +[more]void setStateSet(osg::StateSet* stateset)
            -[more]osg::StateSet* getStateSet() +[more]osg::StateSet* getStateSet()
            -[more]const osg::StateSet* getStateSet() const +[more]const osg::StateSet* getStateSet() const
            -[more]void setGlyphImageMargin(unsigned int margin) +[more]void setGlyphImageMargin(unsigned int margin)
            Set the margin around each glyph, to ensure that texture filtering doesn't bleed adjacent glyph's into each other
            -[more]unsigned int getGlyphImageMargin() const +[more]unsigned int getGlyphImageMargin() const
            -[more]bool getSpaceForGlyph(Glyph* glyph, int& posX, int& posY) +[more]bool getSpaceForGlyph(Glyph* glyph, int& posX, int& posY)
            -[more]void addGlyph(Glyph* glyph, int posX, int posY) +[more]void addGlyph(Glyph* glyph, int posX, int posY)
            -[more]virtual void apply(osg::State& state) const +[more]virtual void apply(osg::State& state) const

            Protected Fields

            -[more]osg::StateSet* _stateset +[more]osg::StateSet* _stateset
            -[more]int _margin +[more]int _margin
            -[more]int _usedY +[more]int _usedY
            -[more]int _partUsedX +[more]int _partUsedX
            -[more]int _partUsedY +[more]int _partUsedY
            -[more]GlyphRefList _glyphs +[more]GlyphRefList _glyphs
            -[more]mutable GlyphBuffer _glyphsToSubload +[more]mutable GlyphBuffer _glyphsToSubload

            Protected Methods

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

            Protected Members

            -[more]typedef std::vector< osg::ref_ptr<Glyph> > GlyphRefList +[more]typedef std::vector< osg::ref_ptr<Glyph> > GlyphRefList
            -[more]typedef std::vector< const Glyph* > GlyphPtrList +[more]typedef std::vector< const Glyph* > GlyphPtrList
            -[more]typedef osg::buffered_object< GlyphPtrList > GlyphBuffer +[more]typedef osg::buffered_object< GlyphPtrList > GlyphBuffer

            @@ -84,90 +84,90 @@
            - +
            o GlyphTexture()

            - +

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

            - +

            ovoid setStateSet(osg::StateSet* stateset)

            - +

            oosg::StateSet* getStateSet()

            - +

            oconst osg::StateSet* getStateSet() const

            - +

            ovoid setGlyphImageMargin(unsigned int margin)
            Set the margin around each glyph, to ensure that texture filtering doesn't bleed adjacent glyph's into each other

            - +

            ounsigned int getGlyphImageMargin() const

            - +

            obool getSpaceForGlyph(Glyph* glyph, int& posX, int& posY)

            - +

            ovoid addGlyph(Glyph* glyph, int posX, int posY)

            - +

            ovirtual void apply(osg::State& state) const

            - +

            ovirtual ~GlyphTexture()

            - +

            oosg::StateSet* _stateset

            - +

            oint _margin

            - +

            oint _usedY

            - +

            oint _partUsedX

            - +

            oint _partUsedY

            - +

            otypedef std::vector< osg::ref_ptr<Glyph> > GlyphRefList

            - +

            otypedef std::vector< const Glyph* > GlyphPtrList

            - -

            otypedef osg::buffered_object< GlyphPtrList > GlyphBuffer + +
            otypedef osg::buffered_object< GlyphPtrList > GlyphBuffer

            - -

            oGlyphRefList _glyphs + +
            oGlyphRefList _glyphs

            - -

            omutable GlyphBuffer _glyphsToSubload + +
            omutable GlyphBuffer _glyphsToSubload


            This class has no child classes.
            diff --git a/doc/doc++/osgText/KerningType.html b/doc/doc++/osgText/KerningType.html new file mode 100644 index 000000000..2f336fc70 --- /dev/null +++ b/doc/doc++/osgText/KerningType.html @@ -0,0 +1,43 @@ + + + + + enum osgText::KerningType + + + + +

            enum osgText::KerningType

            +
            +

            +
            +[more] KERNING_DEFAULT +
            +[more] KERNING_UNFITTED +
            +[more] KERNING_NONE +

            + + + +
            +

            Documentation

            +
            + + + +
            o KERNING_DEFAULT +

            + + +

            o KERNING_UNFITTED +

            + + +

            o KERNING_NONE +

            +

            Alphabetic index HTML hierarchy of classes or Java


            +
            +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgText/String.html b/doc/doc++/osgText/String.html index 5d90a58dc..9e759a85e 100644 --- a/doc/doc++/osgText/String.html +++ b/doc/doc++/osgText/String.html @@ -22,29 +22,35 @@

            Public Methods

            -[more] String() +[more] String()
            -[more] String(const String& str) +[more] String(const String& str)
            -[more]virtual ~String() +[more] String(const std::string& str)
            -[more]String& operator = (const String& str) +[more] String(const wchar_t* text)
            -[more]void set(const std::string& str) +[more] String(const std::string& text, Encoding encoding)
            -[more]void set(const wchar_t* text) +[more]virtual ~String() +
            +[more]String& operator = (const String& str) +
            +[more]void set(const std::string& str) +
            +[more]void set(const wchar_t* text)
            Set the text using a wchar_t string, which is converted to an internal TextString
            -[more]void set(const std::string& text, Encoding encoding) +[more]void set(const std::string& text, Encoding encoding)
            Set the text using a Unicode encoded std::string, which is converted to an internal TextString.
            -[more]std::string createUTF8EncodedString() const +[more]std::string createUTF8EncodedString() const
            returns a UTF8 encoded version of this osgText::String

            Public Members

            -[more]enum Encoding +[more]enum Encoding
            Types of string encodings supported

            @@ -55,97 +61,109 @@

            Documentation

            - - -
            o String() -

            - - -

            o String(const String& str) -

            - - -

            ovirtual ~String() -

            - - -

            oString& operator = (const String& str) -

            - - -

            ovoid set(const std::string& str) -

            - - -

            ovoid set(const wchar_t* text) -
            Set the text using a wchar_t string, -which is converted to an internal TextString -

            - +

            oenum Encoding
            Types of string encodings supported

            - +
            o ENCODING_UNDEFINED

            - +

            o ENCODING_ASCII
            not using Unicode

            - +

            o ENCODING_UTF8
            unsigned char ASCII

            - +

            o ENCODING_UTF16
            8-bit unicode transformation format

            - +

            o ENCODING_UTF16_BE
            16-bit signature

            - +

            o ENCODING_UTF16_LE
            16-bit big-endian

            - +

            o ENCODING_UTF32
            16-bit little-endian

            - +

            o ENCODING_UTF32_BE
            32-bit signature

            - +

            o ENCODING_UTF32_LE
            32-bit big-endian

            - +

            o ENCODING_SIGNATURE
            32-bit little-endian

            + + +
            o String() +

            + + +

            o String(const String& str) +

            + + +

            o String(const std::string& str) +

            + + +

            o String(const wchar_t* text) +

            + + +

            o String(const std::string& text, Encoding encoding) +

            + + +

            ovirtual ~String() +

            + + +

            oString& operator = (const String& str) +

            - -

            ovoid set(const std::string& text, Encoding encoding) + +
            ovoid set(const std::string& str) +

            + + +

            ovoid set(const wchar_t* text) +
            Set the text using a wchar_t string, +which is converted to an internal TextString +

            + + +

            ovoid set(const std::string& text, Encoding encoding)
            Set the text using a Unicode encoded std::string, which is converted to an internal TextString. The encoding parameter specificies which Unicode encodeding is used in the std::string.

            - +

            ostd::string createUTF8EncodedString() const
            returns a UTF8 encoded version of this osgText::String

            diff --git a/doc/doc++/osgText/Text.html b/doc/doc++/osgText/Text.html index 17e3130c7..822dd4f79 100644 --- a/doc/doc++/osgText/Text.html +++ b/doc/doc++/osgText/Text.html @@ -22,197 +22,226 @@

            Public Methods

            -[more] Text() +[more] Text()
            -[more] Text(const Text& text, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) +[more] Text(const Text& text, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
            -[more]virtual osg::Object* cloneType() const +[more]virtual osg::Object* cloneType() const
            -[more]virtual osg::Object* clone(const osg::CopyOp& copyop) const +[more]virtual osg::Object* clone(const osg::CopyOp& copyop) const
            -[more]virtual bool isSameKindAs(const osg::Object* obj) const +[more]virtual bool isSameKindAs(const osg::Object* obj) const
            -[more]virtual const char* className() const +[more]virtual const char* className() const
            -[more]virtual const char* libraryName() const +[more]virtual const char* libraryName() const
            -[more]void setFont(Font* font=0) +[more]void setFont(Font* font=0)
            Set the Font to use to render the text.
            -[more]void setFont(const std::string& fontfile) +[more]void setFont(const std::string& fontfile)
            Set the font, loaded from the specified front file, to use to render the text, setFont("") sets the use of the default font
            -[more]const Font* getFont() const +[more]const Font* getFont() const
            Get the font.
            -[more]void setFontSize(unsigned int width, unsigned int height) +[more]void setFontSize(unsigned int width, unsigned int height) +
            +[more]void setFontResolution(unsigned int width, unsigned int height)
            Set the Font reference width and height resolution in texels.
            -[more]unsigned int getFontWidth() const +[more]unsigned int getFontWidth() const
            -[more]unsigned int getFontHeight() const +[more]unsigned int getFontHeight() const
            -[more]void setText(const String& text) +[more]void setText(const String& text)
            Set the text using a osgText::String
            -[more]void setText(const std::string& text) +[more]void setText(const std::string& text)
            Set the text using a std::string, which is converted to an internal TextString
            -[more]void setText(const std::string& text, String::Encoding encoding) +[more]void setText(const std::string& text, String::Encoding encoding)
            Set the text using a Unicode encoded std::string, which is converted to an internal TextString.
            -[more]void setText(const wchar_t* text) +[more]void setText(const wchar_t* text)
            Set the text using a wchar_t string, which is converted to an internal TextString
            -[more]String& getText() +[more]String& getText()
            Get the text string.
            -[more]const String& getText() const +[more]const String& getText() const
            Get the const text string
            -[more]void update() +[more]void update()
            update internal glyph respresnetation used for rendering, and bounding volume
            -[more]void setCharacterSize(float height, float aspectRatio=1.0f) +[more]void setCharacterSize(float height, float aspectRatio=1.0f)
            Set the rendered character size in object coordinates
            -[more]float getCharacterHeight() const +[more]float getCharacterHeight() const
            -[more]float getCharacterAspectRatio() const +[more]float getCharacterAspectRatio() const
            -[more]void setMaximumWidth(float maximumWidth) +[more]void setCharacterSizeMode(CharacterSizeMode mode) +
            Set how the CharacterSize value relates to the final rendered character +
            +[more]CharacterSizeMode getCharacterSizeMode() const +
            Get the CharacterSizeMode +
            +[more]void setMaximumWidth(float maximumWidth)
            Set the maximum width of the text box.
            -[more]float getMaximumWidth() const +[more]float getMaximumWidth() const
            Get the maximim width of the text box
            -[more]void setMaximumHeight(float maximumHeight) +[more]void setMaximumHeight(float maximumHeight)
            Set the maximum height of the text box.
            -[more]float getMaximumHeight() const +[more]float getMaximumHeight() const
            Get the maximum height of the text box
            -[more]void setPosition(const osg::Vec3& pos) +[more]void setPosition(const osg::Vec3& pos)
            Set the position of text
            -[more]const osg::Vec3& getPosition() const +[more]const osg::Vec3& getPosition() const
            Get the position of text
            -[more]void setAlignment(AlignmentType alignment) +[more]void setAlignment(AlignmentType alignment)
            -[more]AlignmentType getAlignment() const +[more]AlignmentType getAlignment() const
            -[more]void setAxisAlignment(AxisAlignment axis) +[more]void setAxisAlignment(AxisAlignment axis)
            -[more]AxisAlignment getAxisAlignment() const +[more]void setRotation(const osg::Quat& quat)
            -[more]void setRotation(const osg::Quat& quat) +[more]const osg::Quat& getRotation() const
            -[more]const osg::Quat& getRotation() const +[more]void setAutoRotateToScreen(bool autoRotateToScreen)
            -[more]void setLayout(Layout layout) +[more]bool getAutoRotateToScreen() const
            -[more]Layout getLayout() const +[more]void setLayout(Layout layout)
            -[more]void setColor(const osg::Vec4& color) +[more]Layout getLayout() const
            -[more]const osg::Vec4& getColor() const +[more]void setColor(const osg::Vec4& color)
            -[more]void setDrawMode(unsigned int mode) +[more]const osg::Vec4& getColor() const
            -[more]unsigned int getDrawMode() const +[more]void setDrawMode(unsigned int mode)
            -[more]virtual void drawImplementation(osg::State& state) const +[more]unsigned int getDrawMode() const +
            +[more]void setKerningType(KerningType kerningType) +
            +[more]KerningType getKerningType() const +
            +[more]virtual void drawImplementation(osg::State& state) const
            Draw the text
            -[more]virtual bool supports(osg::Drawable::AttributeFunctor&) const +[more]virtual bool supports(osg::Drawable::AttributeFunctor&) const
            return false, osgText::Text does not support accept(AttributeFunctor&)
            -[more]virtual bool supports(osg::Drawable::ConstAttributeFunctor&) const +[more]virtual bool supports(osg::Drawable::ConstAttributeFunctor&) const
            return true, osgText::Text does support accept(ConstAttributeFunctor&)
            -[more]virtual void accept(osg::Drawable::ConstAttributeFunctor& af) const +[more]virtual void accept(osg::Drawable::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(osg::Drawable::PrimitiveFunctor&) const +[more]virtual bool supports(osg::Drawable::PrimitiveFunctor&) const
            return true, osgText::Text does support accept(PrimitiveFunctor&)
            -[more]virtual void accept(osg::Drawable::PrimitiveFunctor& pf) const +[more]virtual void accept(osg::Drawable::PrimitiveFunctor& pf) const
            accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has +
            +[more]const GlyphQuads* getGlyphQuads(osg::StateSet* stateSet) const +
            Direct Access to GlyphQuads

            Public Members

            -[more]enum AlignmentType +[more]enum CharacterSizeMode
            -[more]enum AxisAlignment +[more]enum AlignmentType
            -[more]enum Layout +[more]enum AxisAlignment
            -[more]enum DrawModeMask +[more]enum Layout +
            +[more]enum DrawModeMask +
            +[more]struct OSGTEXT_EXPORT GlyphQuads +
            +[more]typedef std::map<osg::ref_ptr<osg::StateSet>,GlyphQuads> TextureGlyphQuadMap

            Protected Fields

            -[more]osg::ref_ptr<Font> _font +[more]osg::ref_ptr<Font> _font
            -[more]unsigned int _fontWidth +[more]unsigned int _fontWidth
            -[more]unsigned int _fontHeight +[more]unsigned int _fontHeight
            -[more]float _characterHeight +[more]float _characterHeight
            -[more]float _characterAspectRatio +[more]float _characterAspectRatio
            -[more]float _maximumWidth +[more]CharacterSizeMode _characterSizeMode
            -[more]float _maximumHeight +[more]float _maximumWidth
            -[more]String _text +[more]float _maximumHeight
            -[more]osg::Vec3 _position +[more]String _text
            -[more]AlignmentType _alignment +[more]osg::Vec3 _position
            -[more]AxisAlignment _axisAlignment +[more]AlignmentType _alignment
            -[more]osg::Quat _rotation +[more]osg::Quat _rotation
            -[more]Layout _layout +[more]bool _autoRotateToScreen
            -[more]osg::Vec4 _color +[more]Layout _layout
            -[more]unsigned int _drawMode +[more]osg::Vec4 _color
            -[more]TextureGlyphQuadMap _textureGlyphQuadMap +[more]unsigned int _drawMode
            -[more]osg::Matrix _matrix +[more]KerningType _kerningType
            -[more]osg::Vec3 _offset +[more]mutable TextureGlyphQuadMap _textureGlyphQuadMap
            -[more]mutable osg::BoundingBox _textBB +[more]mutable osg::buffered_object<AutoTransformCache> _autoTransformCache +
            +[more]mutable osg::Vec3 _offset +
            +[more]mutable osg::Vec3 _normal +
            +[more]mutable osg::BoundingBox _textBB

            Protected Methods

            -[more]virtual ~Text() +[more]virtual ~Text()
            -[more]virtual bool computeBound() const +[more]virtual bool computeBound() const
            -[more]Font* getActiveFont() +[more]Font* getActiveFont()
            -[more]const Font* getActiveFont() const +[more]const Font* getActiveFont() const
            -[more]void computeGlyphRepresentation() +[more]void computeGlyphRepresentation()
            -[more]void computePositions() +[more]void computePositions() +
            +[more]void computePositions(unsigned int contextID) const

            Protected Members

            -[more]struct GlyphQuads -
            -[more]typedef std::map<osg::ref_ptr<osg::StateSet>,GlyphQuads> TextureGlyphQuadMap +[more]struct AutoTransformCache

            @@ -223,121 +252,155 @@
            - +
            o Text()

            - -

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

            - +

            ovirtual osg::Object* cloneType() const

            - +

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

            - +

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

            - +

            ovirtual const char* className() const

            - +

            ovirtual const char* libraryName() const

            - +

            ovoid setFont(Font* font=0)
            Set the Font to use to render the text. setFont(0) sets the use of the default font.

            - +

            ovoid setFont(const std::string& fontfile)
            Set the font, loaded from the specified front file, to use to render the text, setFont("") sets the use of the default font

            - +

            oconst Font* getFont() const
            Get the font. Return 0 if default is being used.

            - +

            ovoid setFontSize(unsigned int width, unsigned int height) +

            + + +

            ovoid setFontResolution(unsigned int width, unsigned int height)
            Set the Font reference width and height resolution in texels. Note, the size may not be supported by current font, the closest supported font size will be selected.

            - +

            ounsigned int getFontWidth() const

            - +

            ounsigned int getFontHeight() const

            - +

            ovoid setText(const String& text)
            Set the text using a osgText::String

            - +

            ovoid setText(const std::string& text)
            Set the text using a std::string, which is converted to an internal TextString

            - +

            ovoid setText(const std::string& text, String::Encoding encoding)
            Set the text using a Unicode encoded std::string, which is converted to an internal TextString. The encoding parameter specificies which Unicode encodeding is used in the std::string.

            - +

            ovoid setText(const wchar_t* text)
            Set the text using a wchar_t string, which is converted to an internal TextString

            - +

            oString& getText()
            Get the text string. Note, if you modify the string you must call Text::update() for the internal glyph reprentation to be updated.

            - +

            oconst String& getText() const
            Get the const text string

            - +

            ovoid update()
            update internal glyph respresnetation used for rendering, and bounding volume

            - +

            ovoid setCharacterSize(float height, float aspectRatio=1.0f)
            Set the rendered character size in object coordinates

            - +

            ofloat getCharacterHeight() const

            - +

            ofloat getCharacterAspectRatio() const

            + + +

            oenum CharacterSizeMode +

            + + + +
            o OBJECT_COORDS +

            + + +

            o SCREEN_COORDS +
            default +

            + + +

            o OBJECT_COORDS_WITH_MAXIMUM_SCREEN_SIZE_CAPPED_BY_FONT_HEIGHT +
            internally scale the characters to be constant screen size +

            + + + +
            ovoid setCharacterSizeMode(CharacterSizeMode mode) +
            Set how the CharacterSize value relates to the final rendered character +

            + + +

            oCharacterSizeMode getCharacterSizeMode() const +
            Get the CharacterSizeMode +

            - +

            ovoid setMaximumWidth(float maximumWidth)
            Set the maximum width of the text box. With horizontal layouts any characters which do not fit are wrapped around. @@ -345,12 +408,12 @@ With horizontal layouts any characters which do not fit are wrapped around. they need be to fit thre required text

            - +

            ofloat getMaximumWidth() const
            Get the maximim width of the text box

            - +

            ovoid setMaximumHeight(float maximumHeight)
            Set the maximum height of the text box. With horizontal layouts any characters which do not fit are wrapped around. @@ -358,329 +421,460 @@ With horizontal layouts any characters which do not fit are wrapped around. they need be to fit thre required text

            - +

            ofloat getMaximumHeight() const
            Get the maximum height of the text box

            - +

            ovoid setPosition(const osg::Vec3& pos)
            Set the position of text

            - +

            oconst osg::Vec3& getPosition() const
            Get the position of text

            - +

            oenum AlignmentType

            - +
            o LEFT_TOP

            - +

            o LEFT_CENTER

            - +

            o LEFT_BOTTOM

            - +

            o CENTER_TOP

            - +

            o CENTER_CENTER

            - +

            o CENTER_BOTTOM

            - +

            o RIGHT_TOP

            - +

            o RIGHT_CENTER

            - +

            o RIGHT_BOTTOM

            + + +

            o LEFT_BASE_LINE +

            + + +

            o CENTER_BASE_LINE +

            + + +

            o RIGHT_BASE_LINE +

            - +

            o BASE_LINE

            - -
            ovoid setAlignment(AlignmentType alignment) + +
            ovoid setAlignment(AlignmentType alignment)

            - -

            oAlignmentType getAlignment() const + +
            oAlignmentType getAlignment() const

            - +

            oenum AxisAlignment

            - +
            o XY_PLANE

            - +

            o XZ_PLANE

            - +

            o YZ_PLANE

            - +

            o SCREEN

            - -
            ovoid setAxisAlignment(AxisAlignment axis) -

            - - -

            oAxisAlignment getAxisAlignment() const + +
            ovoid setAxisAlignment(AxisAlignment axis)

            - +

            ovoid setRotation(const osg::Quat& quat)

            - +

            oconst osg::Quat& getRotation() const

            + + +

            ovoid setAutoRotateToScreen(bool autoRotateToScreen) +

            + + +

            obool getAutoRotateToScreen() const +

            - +

            oenum Layout

            - +
            o LEFT_TO_RIGHT

            - +

            o RIGHT_TO_LEFT
            default

            - +

            o VERTICAL

            - -
            ovoid setLayout(Layout layout) + +
            ovoid setLayout(Layout layout)

            - -

            oLayout getLayout() const + +
            oLayout getLayout() const

            - +

            ovoid setColor(const osg::Vec4& color)

            - +

            oconst osg::Vec4& getColor() const

            - +

            oenum DrawModeMask

            - +
            o TEXT

            - +

            o BOUNDINGBOX
            default

            - +

            o ALIGNMENT

            - +
            ovoid setDrawMode(unsigned int mode)

            - +

            ounsigned int getDrawMode() const

            + + +

            ovoid setKerningType(KerningType kerningType) +

            + + +

            oKerningType getKerningType() const +

            - +

            ovirtual void drawImplementation(osg::State& state) const
            Draw the text

            - +

            ovirtual bool supports(osg::Drawable::AttributeFunctor&) const
            return false, osgText::Text does not support accept(AttributeFunctor&)

            - +

            ovirtual bool supports(osg::Drawable::ConstAttributeFunctor&) const
            return true, osgText::Text does support accept(ConstAttributeFunctor&)

            - +

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

            - +

            ovirtual bool supports(osg::Drawable::PrimitiveFunctor&) const
            return true, osgText::Text does support accept(PrimitiveFunctor&)

            - +

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

            - - -

            ovirtual ~Text() -

            - - -

            ovirtual bool computeBound() const -

            - - -

            oFont* getActiveFont() -

            - - -

            oconst Font* getActiveFont() const -

            - - -

            oosg::ref_ptr<Font> _font -

            - - -

            ounsigned int _fontWidth -

            - - -

            ounsigned int _fontHeight -

            - - -

            ofloat _characterHeight -

            - - -

            ofloat _characterAspectRatio -

            - - -

            ofloat _maximumWidth -

            - - -

            ofloat _maximumHeight -

            - - -

            oString _text -

            - - -

            oosg::Vec3 _position -

            - - -

            oAlignmentType _alignment -

            - - -

            oAxisAlignment _axisAlignment -

            - - -

            oosg::Quat _rotation -

            - - -

            oLayout _layout -

            - - -

            oosg::Vec4 _color -

            - - -

            ounsigned int _drawMode -

            - -

            ostruct GlyphQuads + +
            ostruct OSGTEXT_EXPORT GlyphQuads

            - - -
            otypedef std::vector<osg::Vec2> Coords + + +
            otypedef std::vector<Font::Glyph*> Glyphs +

            + + +

            otypedef std::vector<osg::Vec2> Coords2 +

            + + +

            otypedef std::vector<osg::Vec3> Coords3

            - +

            otypedef std::vector<osg::Vec2> TexCoords

            + + +

            oGlyphs _glyphs +

            - -

            oCoords _coords + +
            oCoords2 _coords +

            + + +

            oosg::buffered_object<Coords3> _transformedCoords

            - -

            oTexCoords _texcoords + +
            oTexCoords _texcoords +

            + + +

            oGlyphs getGlyphs() +

            + + +

            oconst Glyphs getGlyphs() const +

            + + +

            oCoords2& getCoords() +

            + + +

            oconst Coords2& getCoords() const +

            + + +

            oCoords3& getTransformedCoords(unsigned int contexID) +

            + + +

            oconst Coords3& getTransformedCoords(unsigned int contexID) const +

            + + +

            oTexCoords& getTexCoords() +

            + + +

            oconst TexCoords& getTexCoords() const

            - -
            otypedef std::map<osg::ref_ptr<osg::StateSet>,GlyphQuads> TextureGlyphQuadMap + +
            otypedef std::map<osg::ref_ptr<osg::StateSet>,GlyphQuads> TextureGlyphQuadMap +

            + + +

            oconst GlyphQuads* getGlyphQuads(osg::StateSet* stateSet) const +
            Direct Access to GlyphQuads +

            + + +

            ovirtual ~Text() +

            + + +

            ovirtual bool computeBound() const +

            + + +

            oFont* getActiveFont() +

            + + +

            oconst Font* getActiveFont() const +

            + + +

            oosg::ref_ptr<Font> _font +

            + + +

            ounsigned int _fontWidth +

            + + +

            ounsigned int _fontHeight +

            + + +

            ofloat _characterHeight +

            + + +

            ofloat _characterAspectRatio +

            + + +

            oCharacterSizeMode _characterSizeMode +

            + + +

            ofloat _maximumWidth +

            + + +

            ofloat _maximumHeight +

            + + +

            oString _text +

            + + +

            oosg::Vec3 _position +

            + + +

            oAlignmentType _alignment +

            + + +

            oosg::Quat _rotation +

            + + +

            obool _autoRotateToScreen +

            + + +

            oLayout _layout +

            + + +

            oosg::Vec4 _color +

            + + +

            ounsigned int _drawMode +

            + + +

            oKerningType _kerningType

            - -

            oTextureGlyphQuadMap _textureGlyphQuadMap + +
            omutable TextureGlyphQuadMap _textureGlyphQuadMap

            - +

            ovoid computeGlyphRepresentation()

            + + +

            ostruct AutoTransformCache +

            + + + +
            o AutoTransformCache() +

            + + +

            oint _traversalNumber +

            + + +

            oint _width +

            + + +

            oint _height +

            + + +

            oosg::Vec3 _transformedPosition +

            + + +

            oosg::Matrix _modelview +

            + + +

            oosg::Matrix _projection +

            - +

            oosg::Matrix _matrix +

            + + + +
            omutable osg::buffered_object<AutoTransformCache> _autoTransformCache

            - -

            oosg::Vec3 _offset + +
            omutable osg::Vec3 _offset +

            + + +

            omutable osg::Vec3 _normal

            - +

            omutable osg::BoundingBox _textBB

            - +

            ovoid computePositions() +

            + + +

            ovoid computePositions(unsigned int contextID) const


            This class has no child classes.
            diff --git a/doc/doc++/osgText/osgText.html b/doc/doc++/osgText/osgText.html index ddfac6aa7..4c51c2e5a 100644 --- a/doc/doc++/osgText/osgText.html +++ b/doc/doc++/osgText/osgText.html @@ -11,6 +11,8 @@

            +enum KerningType +
            extern OSGTEXT_EXPORT Font* readFontFile(const std::string& filename)
            read a font from specified file
            diff --git a/doc/doc++/osgUtil/CombineLODsVisitor.html b/doc/doc++/osgUtil/CombineLODsVisitor.html index 977329092..e471642ce 100644 --- a/doc/doc++/osgUtil/CombineLODsVisitor.html +++ b/doc/doc++/osgUtil/CombineLODsVisitor.html @@ -23,21 +23,21 @@

            Public Fields

            -[more]GroupList _groupList +[more]GroupList _groupList

            Public Methods

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

            Public Members

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

            @@ -50,23 +50,23 @@ complementary ranges
            - +
            otypedef std::set<osg::Group*> GroupList

            - -

            oGroupList _groupList + +
            oGroupList _groupList

            - +

            o CombineLODsVisitor()

            - +

            ovirtual void apply(osg::LOD& lod)

            - +

            ovoid combineLODs()

            diff --git a/doc/doc++/osgUtil/CullVisitor.html b/doc/doc++/osgUtil/CullVisitor.html index a6a543499..9cf19ea4c 100644 --- a/doc/doc++/osgUtil/CullVisitor.html +++ b/doc/doc++/osgUtil/CullVisitor.html @@ -23,190 +23,196 @@

            Public Methods

            -[more] CullVisitor() +[more] CullVisitor()
            -[more]virtual ~CullVisitor() +[more]virtual ~CullVisitor()
            -[more]virtual CullVisitor* cloneType() const +[more]virtual CullVisitor* cloneType() const
            -[more]virtual void reset() +[more]virtual void reset()
            -[more]virtual osg::Vec3 getEyePoint() const +[more]virtual osg::Vec3 getEyePoint() const
            -[more]virtual float getDistanceToEyePoint(const osg::Vec3& pos, bool withLODScale) const +[more]virtual float getDistanceToEyePoint(const osg::Vec3& pos, bool withLODScale) const
            -[more]virtual float getDistanceFromEyePoint(const osg::Vec3& pos, bool withLODScale) const +[more]virtual float getDistanceFromEyePoint(const osg::Vec3& pos, bool withLODScale) const
            -[more]virtual void apply(osg::Node&) +[more]virtual void apply(osg::Node&)
            -[more]virtual void apply(osg::Geode& node) +[more]virtual void apply(osg::Geode& node)
            -[more]virtual void apply(osg::Billboard& node) +[more]virtual void apply(osg::Billboard& node)
            -[more]virtual void apply(osg::LightSource& node) +[more]virtual void apply(osg::LightSource& node)
            -[more]virtual void apply(osg::ClipNode& node) +[more]virtual void apply(osg::ClipNode& node)
            -[more]virtual void apply(osg::Group& node) +[more]virtual void apply(osg::Group& node)
            -[more]virtual void apply(osg::Transform& node) +[more]virtual void apply(osg::Transform& node)
            -[more]virtual void apply(osg::Projection& node) +[more]virtual void apply(osg::Projection& node)
            -[more]virtual void apply(osg::Switch& node) +[more]virtual void apply(osg::Switch& node)
            -[more]virtual void apply(osg::LOD& node) +[more]virtual void apply(osg::LOD& node)
            -[more]virtual void apply(osg::ClearNode& node) +[more]virtual void apply(osg::ClearNode& node)
            -[more]virtual void apply(osg::OccluderNode& node) +[more]virtual void apply(osg::OccluderNode& node)
            -[more]virtual void apply(osg::Impostor& node) +[more]virtual void apply(osg::Impostor& node)
            -[more]void setClearNode(const osg::ClearNode* earthSky) +[more]void setClearNode(const osg::ClearNode* earthSky)
            -[more]const osg::ClearNode* getClearNode() const +[more]const osg::ClearNode* getClearNode() const
            -[more]void setImpostorsActive(bool active) +[more]void setImpostorsActive(bool active)
            Switch the creation of Impostors on or off.Switch the creation of Impostors on or off.
            -[more]bool getImpostorsActive() const +[more]bool getImpostorsActive() const
            Get whether impostors are active or not.Get whether impostors are active or not.
            -[more]void setImpostorPixelErrorThreshold(float numPixels) +[more]void setImpostorPixelErrorThreshold(float numPixels)
            Set the impostor error threshold.Set the impostor error threshold.
            -[more]float getImpostorPixelErrorThreshold() const +[more]float getImpostorPixelErrorThreshold() const
            Get the impostor error thresholdGet the impostor error threshold
            -[more]void setDepthSortImpostorSprites(bool doDepthSort) +[more]void setDepthSortImpostorSprites(bool doDepthSort)
            Set whether ImpsotorSprite's should be placed in a depth sorted bin for renderingSet whether ImpsotorSprite's should be placed in a depth sorted bin for rendering
            -[more]bool setDepthSortImpostorSprites() const +[more]bool setDepthSortImpostorSprites() const
            Get whether ImpsotorSprite's are depth sorted bin for renderingGet whether ImpsotorSprite's are depth sorted bin for rendering
            -[more]void setNumberOfFrameToKeepImpostorSprites(int numFrames) +[more]void setNumberOfFrameToKeepImpostorSprites(int numFrames)
            Set the number of frames that an ImpsotorSprite's is kept whilst not being beyond, before being recycledSet the number of frames that an ImpsotorSprite's is kept whilst not being beyond, before being recycled
            -[more]int getNumberOfFrameToKeepImpostorSprites() const +[more]int getNumberOfFrameToKeepImpostorSprites() const
            Get the number of frames that an ImpsotorSprite's is kept whilst not being beyond, before being recycledGet the number of frames that an ImpsotorSprite's is kept whilst not being beyond, before being recycled
            -[more]void setComputeNearFarMode(ComputeNearFarMode cnfm) +[more]void setComputeNearFarMode(ComputeNearFarMode cnfm)
            -[more]ComputeNearFarMode getComputeNearFarMode() const +[more]ComputeNearFarMode getComputeNearFarMode() const
            -[more]inline void pushStateSet(const osg::StateSet* ss) +[more]void setNearFarRatio(float ratio) +
            +[more]float getNearFarRatio() const +
            +[more]inline void pushStateSet(const osg::StateSet* ss)
            Push state set on the current state group.Push state set on the current state group.
            -[more]inline void popStateSet() +[more]inline void popStateSet()
            Pop the top state set and hence associated state group.Pop the top state set and hence associated state group.
            -[more]inline void setRenderGraph(RenderGraph* rg) +[more]inline void setRenderGraph(RenderGraph* rg)
            -[more]inline RenderGraph* getRootRenderGraph() +[more]inline RenderGraph* getRootRenderGraph()
            -[more]inline RenderGraph* getCurrentRenderGraph() +[more]inline RenderGraph* getCurrentRenderGraph()
            -[more]inline void setRenderStage(RenderStage* rg) +[more]inline void setRenderStage(RenderStage* rg)
            -[more]inline RenderStage* getRenderStage() +[more]inline RenderStage* getRenderStage()
            -[more]inline RenderBin* getCurrentRenderBin() +[more]inline RenderBin* getCurrentRenderBin()
            -[more]inline void setCurrentRenderBin(RenderBin* rb) +[more]inline void setCurrentRenderBin(RenderBin* rb)
            -[more]inline float getCalculatedNearPlane() const +[more]inline float getCalculatedNearPlane() const
            -[more]inline float getCalculatedFarPlane() const +[more]inline float getCalculatedFarPlane() const
            -[more]void updateCalculatedNearFar(const osg::Matrix& matrix, const osg::Drawable& drawable) +[more]void updateCalculatedNearFar(const osg::Matrix& matrix, const osg::Drawable& drawable)
            -[more]void updateCalculatedNearFar(const osg::Matrix& matrix, const osg::BoundingBox& bb) +[more]void updateCalculatedNearFar(const osg::Matrix& matrix, const osg::BoundingBox& bb)
            -[more]void updateCalculatedNearFar(const osg::Vec3& pos) +[more]void updateCalculatedNearFar(const osg::Vec3& pos)
            -[more]virtual void popProjectionMatrix() +[more]virtual void popProjectionMatrix()
            reimplement CullStack's popProjectionMatrix() adding clamping of the projection matrix to the computed near and farreimplement CullStack's popProjectionMatrix() adding clamping of the projection matrix to the computed near and far
            -[more]void setState(osg::State* state) +[more]void setState(osg::State* state)
            -[more]osg::State* getState() +[more]osg::State* getState()
            -[more]const osg::State* getState() const +[more]const osg::State* getState() const
            -[more]inline void addDrawable(osg::Drawable* drawable, osg::RefMatrix* matrix) +[more]inline void addDrawable(osg::Drawable* drawable, osg::RefMatrix* matrix)
            Add a drawable to current render graphAdd a drawable to current render graph
            -[more]inline void addDrawableAndDepth(osg::Drawable* drawable, osg::RefMatrix* matrix, float depth) +[more]inline void addDrawableAndDepth(osg::Drawable* drawable, osg::RefMatrix* matrix, float depth)
            Add a drawable and depth to current render graphAdd a drawable and depth to current render graphAdd a drawable and depth to current render graphAdd a drawable and depth to current render graph
            -[more]inline void addPositionedAttribute(osg::RefMatrix* matrix, const osg::StateAttribute* attr) +[more]inline void addPositionedAttribute(osg::RefMatrix* matrix, const osg::StateAttribute* attr)
            Add an attribute which is positioned related to the modelview matrixAdd an attribute which is positioned related to the modelview matrixAdd an attribute which is positioned related to the modelview matrixAdd an attribute which is positioned related to the modelview matrix
            -[more]inline RenderLeaf* createOrReuseRenderLeaf(osg::Drawable* drawable, osg::RefMatrix* projection, osg::RefMatrix* matrix, float depth) +[more]inline RenderLeaf* createOrReuseRenderLeaf(osg::Drawable* drawable, osg::RefMatrix* projection, osg::RefMatrix* matrix, float depth)

            Public Members

            -[more]enum ComputeNearFarMode +[more]enum ComputeNearFarMode

            Protected Fields

            -[more]osg::ref_ptr<osg::StateSet> _localPreRenderState +[more]osg::ref_ptr<osg::StateSet> _localPreRenderState
            -[more]osg::ref_ptr<RenderGraph> _rootRenderGraph +[more]osg::ref_ptr<RenderGraph> _rootRenderGraph
            -[more]RenderGraph* _currentRenderGraph +[more]RenderGraph* _currentRenderGraph
            -[more]osg::ref_ptr<RenderStage> _rootRenderStage +[more]osg::ref_ptr<RenderStage> _rootRenderStage
            -[more]RenderBin* _currentRenderBin +[more]RenderBin* _currentRenderBin
            -[more]ComputeNearFarMode _computeNearFar +[more]ComputeNearFarMode _computeNearFar
            -[more]float _computed_znear +[more]float _nearFarRatio
            -[more]float _computed_zfar +[more]float _computed_znear
            -[more]osg::ref_ptr<const osg::ClearNode> _clearNode +[more]float _computed_zfar
            -[more]bool _impostorActive +[more]osg::ref_ptr<const osg::ClearNode> _clearNode
            -[more]bool _depthSortImpostorSprites +[more]bool _impostorActive
            -[more]float _impostorPixelErrorThreshold +[more]bool _depthSortImpostorSprites
            -[more]int _numFramesToKeepImpostorSprites +[more]float _impostorPixelErrorThreshold
            -[more]RenderLeafList _reuseRenderLeafList +[more]int _numFramesToKeepImpostorSprites
            -[more]unsigned int _currentReuseRenderLeafIndex +[more]RenderLeafList _reuseRenderLeafList
            -[more]osg::ref_ptr<osg::ImpostorSpriteManager> _impostorSpriteManager +[more]unsigned int _currentReuseRenderLeafIndex
            -[more]osg::ref_ptr<osg::State> _state +[more]osg::ref_ptr<osg::ImpostorSpriteManager> _impostorSpriteManager +
            +[more]osg::ref_ptr<osg::State> _state

            Protected Methods

            -[more] CullVisitor(const CullVisitor&) -
            prevent unwanted copy constructionprevent unwanted copy construction +[more] CullVisitor(const CullVisitor&) +
            prevent unwanted copy construction
            -[more]CullVisitor& operator = (const CullVisitor&) +[more]CullVisitor& operator = (const CullVisitor&)
            prevent unwanted copy operatorprevent unwanted copy operator
            -[more]inline void handle_cull_callbacks_and_traverse(osg::Node& node) +[more]inline void handle_cull_callbacks_and_traverse(osg::Node& node)
            -[more]inline void handle_cull_callbacks_and_accept(osg::Node& node, osg::Node* acceptNode) +[more]inline void handle_cull_callbacks_and_accept(osg::Node& node, osg::Node* acceptNode)
            -[more]osg::ImpostorSprite* createImpostorSprite(osg::Impostor& node) +[more]osg::ImpostorSprite* createImpostorSprite(osg::Impostor& node)
            create an impostor sprite by setting up a pre-rendering stage to generate the impostor texture.create an impostor sprite by setting up a pre-rendering stage to generate the impostor texture.

            Protected Members

            -[more]typedef std::vector< osg::ref_ptr<RenderLeaf> > RenderLeafList +[more]typedef std::vector< osg::ref_ptr<RenderLeaf> > RenderLeafList

            @@ -229,100 +235,105 @@ transparent bin in rendered in order from the furthest osg::Drawable from the eye to the one nearest the eye.
            + + +
            o CullVisitor(const CullVisitor&) +
            prevent unwanted copy construction +

            - +

            oosg::ref_ptr<osg::StateSet> _localPreRenderState

            - +

            o CullVisitor()

            - +

            ovirtual ~CullVisitor()

            - +

            ovirtual CullVisitor* cloneType() const

            - +

            ovirtual void reset()

            - +

            ovirtual osg::Vec3 getEyePoint() const

            - +

            ovirtual float getDistanceToEyePoint(const osg::Vec3& pos, bool withLODScale) const

            - +

            ovirtual float getDistanceFromEyePoint(const osg::Vec3& pos, bool withLODScale) const

            - +

            ovirtual void apply(osg::Node&)

            - +

            ovirtual void apply(osg::Geode& node)

            - +

            ovirtual void apply(osg::Billboard& node)

            - +

            ovirtual void apply(osg::LightSource& node)

            - +

            ovirtual void apply(osg::ClipNode& node)

            - +

            ovirtual void apply(osg::Group& node)

            - +

            ovirtual void apply(osg::Transform& node)

            - +

            ovirtual void apply(osg::Projection& node)

            - +

            ovirtual void apply(osg::Switch& node)

            - +

            ovirtual void apply(osg::LOD& node)

            - +

            ovirtual void apply(osg::ClearNode& node)

            - +

            ovirtual void apply(osg::OccluderNode& node)

            - +

            ovirtual void apply(osg::Impostor& node)

            - +

            ovoid setClearNode(const osg::ClearNode* earthSky)

            - +

            oconst osg::ClearNode* getClearNode() const

            - +

            ovoid setImpostorsActive(bool active)
            Switch the creation of Impostors on or off. Setting active to false forces the CullVisitor to use the Impostor @@ -335,74 +346,82 @@ CullVisitor to create the appropriate pre-rendering stages which render to the ImpostorSprite's texture.

            - +

            obool getImpostorsActive() const
            Get whether impostors are active or not. Get whether impostors are active or not.

            - +

            ovoid setImpostorPixelErrorThreshold(float numPixels)
            Set the impostor error threshold. Used in calculation of whether impostors remain valid.Set the impostor error threshold. Used in calculation of whether impostors remain valid.

            - +

            ofloat getImpostorPixelErrorThreshold() const
            Get the impostor error thresholdGet the impostor error threshold

            - +

            ovoid setDepthSortImpostorSprites(bool doDepthSort)
            Set whether ImpsotorSprite's should be placed in a depth sorted bin for renderingSet whether ImpsotorSprite's should be placed in a depth sorted bin for rendering

            - +

            obool setDepthSortImpostorSprites() const
            Get whether ImpsotorSprite's are depth sorted bin for renderingGet whether ImpsotorSprite's are depth sorted bin for rendering

            - +

            ovoid setNumberOfFrameToKeepImpostorSprites(int numFrames)
            Set the number of frames that an ImpsotorSprite's is kept whilst not being beyond, before being recycledSet the number of frames that an ImpsotorSprite's is kept whilst not being beyond, before being recycled

            - +

            oint getNumberOfFrameToKeepImpostorSprites() const
            Get the number of frames that an ImpsotorSprite's is kept whilst not being beyond, before being recycledGet the number of frames that an ImpsotorSprite's is kept whilst not being beyond, before being recycled

            - +

            oenum ComputeNearFarMode

            - +
            o DO_NOT_COMPUTE_NEAR_FAR

            - +

            o COMPUTE_NEAR_FAR_USING_BOUNDING_VOLUMES

            - +

            o COMPUTE_NEAR_FAR_USING_PRIMITIVES

            - -
            ovoid setComputeNearFarMode(ComputeNearFarMode cnfm) + +
            ovoid setComputeNearFarMode(ComputeNearFarMode cnfm)

            - -

            oComputeNearFarMode getComputeNearFarMode() const + +
            oComputeNearFarMode getComputeNearFarMode() const +

            + + +

            ovoid setNearFarRatio(float ratio) +

            + + +

            ofloat getNearFarRatio() const

            - +

            oinline void pushStateSet(const osg::StateSet* ss)
            Push state set on the current state group. If the state exists in a child state group of the current @@ -417,7 +436,7 @@ it to the current state group then move the current state group pointer to the new state group.

            - +

            oinline void popStateSet()
            Pop the top state set and hence associated state group. Move the current state group to the parent of the popped @@ -426,181 +445,180 @@ Move the current state group to the parent of the popped state group.

            - +

            oinline void setRenderGraph(RenderGraph* rg)

            - +

            oinline RenderGraph* getRootRenderGraph()

            - +

            oinline RenderGraph* getCurrentRenderGraph()

            - +

            oinline void setRenderStage(RenderStage* rg)

            - +

            oinline RenderStage* getRenderStage()

            - +

            oinline RenderBin* getCurrentRenderBin()

            - +

            oinline void setCurrentRenderBin(RenderBin* rb)

            - +

            oinline float getCalculatedNearPlane() const

            - +

            oinline float getCalculatedFarPlane() const

            - +

            ovoid updateCalculatedNearFar(const osg::Matrix& matrix, const osg::Drawable& drawable)

            - +

            ovoid updateCalculatedNearFar(const osg::Matrix& matrix, const osg::BoundingBox& bb)

            - +

            ovoid updateCalculatedNearFar(const osg::Vec3& pos)

            - +

            ovirtual void popProjectionMatrix()
            reimplement CullStack's popProjectionMatrix() adding clamping of the projection matrix to the computed near and farreimplement CullStack's popProjectionMatrix() adding clamping of the projection matrix to the computed near and far

            - +

            ovoid setState(osg::State* state)

            - +

            oosg::State* getState()

            - +

            oconst osg::State* getState() const

            - - -

            o CullVisitor(const CullVisitor&) -
            prevent unwanted copy constructionprevent unwanted copy construction -

            - +

            oCullVisitor& operator = (const CullVisitor&)
            prevent unwanted copy operatorprevent unwanted copy operator

            - +

            oinline void handle_cull_callbacks_and_traverse(osg::Node& node)

            - +

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

            - +

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

            - +

            oosg::ref_ptr<RenderGraph> _rootRenderGraph

            - +

            oRenderGraph* _currentRenderGraph

            - +

            oosg::ref_ptr<RenderStage> _rootRenderStage

            - +

            oRenderBin* _currentRenderBin

            - -

            oComputeNearFarMode _computeNearFar + +
            oComputeNearFarMode _computeNearFar +

            + + +

            ofloat _nearFarRatio

            - +

            ofloat _computed_znear

            - +

            ofloat _computed_zfar

            - +

            oosg::ref_ptr<const osg::ClearNode> _clearNode

            - +

            obool _impostorActive

            - +

            obool _depthSortImpostorSprites

            - +

            ofloat _impostorPixelErrorThreshold

            - +

            oint _numFramesToKeepImpostorSprites

            - +

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

            - -

            oRenderLeafList _reuseRenderLeafList + +
            oRenderLeafList _reuseRenderLeafList

            - +

            ounsigned int _currentReuseRenderLeafIndex

            - +

            oosg::ref_ptr<osg::ImpostorSpriteManager> _impostorSpriteManager

            - +

            oosg::ref_ptr<osg::State> _state

            - +

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

            - -

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

            - +

            oinline void addPositionedAttribute(osg::RefMatrix* matrix, const osg::StateAttribute* attr)
            Add an attribute which is positioned related to the modelview matrixAdd an attribute which is positioned related to the modelview matrixAdd an attribute which is positioned related to the modelview matrixAdd an attribute which is positioned related to the modelview matrix

            - -

            oinline RenderLeaf* createOrReuseRenderLeaf(osg::Drawable* drawable, osg::RefMatrix* projection, osg::RefMatrix* matrix, float depth) + +
            oinline RenderLeaf* createOrReuseRenderLeaf(osg::Drawable* drawable, osg::RefMatrix* projection, osg::RefMatrix* matrix, float depth)


            This class has no child classes.
            diff --git a/doc/doc++/osgUtil/FlattenStaticTransformsVisitor.html b/doc/doc++/osgUtil/FlattenStaticTransformsVisitor.html index 34b1519fa..b83628c1f 100644 --- a/doc/doc++/osgUtil/FlattenStaticTransformsVisitor.html +++ b/doc/doc++/osgUtil/FlattenStaticTransformsVisitor.html @@ -23,37 +23,37 @@

            Public Methods

            -[more] FlattenStaticTransformsVisitor() +[more] FlattenStaticTransformsVisitor()
            -[more]virtual void apply(osg::Geode& geode) +[more]virtual void apply(osg::Geode& geode)
            -[more]virtual void apply(osg::Billboard& geode) +[more]virtual void apply(osg::Billboard& geode)
            -[more]virtual void apply(osg::Transform& transform) +[more]virtual void apply(osg::Transform& transform)
            -[more]bool removeTransforms(osg::Node* nodeWeCannotRemove) +[more]bool removeTransforms(osg::Node* nodeWeCannotRemove)

            Protected Fields

            -[more]TransformStack _transformStack +[more]TransformStack _transformStack
            -[more]DrawableSet _drawableSet +[more]DrawableSet _drawableSet
            -[more]BillboardSet _billboardSet +[more]BillboardSet _billboardSet
            -[more]TransformSet _transformSet +[more]TransformSet _transformSet

            Protected Members

            -[more]typedef std::vector<osg::Transform*> TransformStack +[more]typedef std::vector<osg::Transform*> TransformStack
            -[more]typedef std::set<osg::Drawable*> DrawableSet +[more]typedef std::set<osg::Drawable*> DrawableSet
            -[more]typedef std::set<osg::Billboard*> BillboardSet +[more]typedef std::set<osg::Billboard*> BillboardSet
            -[more]typedef std::set<osg::Transform*> TransformSet +[more]typedef std::set<osg::Transform*> TransformSet

            @@ -67,56 +67,56 @@ now redundant transforms
            - +
            o FlattenStaticTransformsVisitor()

            - +

            ovirtual void apply(osg::Geode& geode)

            - +

            ovirtual void apply(osg::Billboard& geode)

            - +

            ovirtual void apply(osg::Transform& transform)

            - +

            obool removeTransforms(osg::Node* nodeWeCannotRemove)

            - +

            otypedef std::vector<osg::Transform*> TransformStack

            - +

            otypedef std::set<osg::Drawable*> DrawableSet

            - +

            otypedef std::set<osg::Billboard*> BillboardSet

            - +

            otypedef std::set<osg::Transform*> TransformSet

            - -

            oTransformStack _transformStack + +
            oTransformStack _transformStack

            - -

            oDrawableSet _drawableSet + +
            oDrawableSet _drawableSet

            - -

            oBillboardSet _billboardSet + +
            oBillboardSet _billboardSet

            - -

            oTransformSet _transformSet + +
            oTransformSet _transformSet


            This class has no child classes.
            diff --git a/doc/doc++/osgUtil/General.html b/doc/doc++/osgUtil/General.html index 4761d5712..e7a1e6838 100644 --- a/doc/doc++/osgUtil/General.html +++ b/doc/doc++/osgUtil/General.html @@ -58,9 +58,6 @@ o#define OSGUTIL_RENDERBIN
            -onamespace -osg
            - o#define OSGUTIL_RENDERGRAPH
            @@ -82,12 +79,18 @@ o#define OSGUTIL_SMOOTHINGVISITOR
            +o#define +OSGUTIL_STATISTICS
            + o#define OSGUTIL_Tesselator
            o#define CALLBACK
            +o#define +OSGUTIL_TRANSFORMATTRIBUTEFUNCTOR
            + o#define OSGUTIL_TRANSFORMCALLBACK
            diff --git a/doc/doc++/osgUtil/HIER.html b/doc/doc++/osgUtil/HIER.html index 52ff96184..f8be0ba9d 100644 --- a/doc/doc++/osgUtil/HIER.html +++ b/doc/doc++/osgUtil/HIER.html @@ -10,7 +10,6 @@
          • - - - - - - - @@ -183,6 +176,13 @@ + + + + + + + @@ -191,6 +191,13 @@ + + + + + + + diff --git a/doc/doc++/osgUtil/MergeGeometryVisitor.html b/doc/doc++/osgUtil/MergeGeometryVisitor.html index ec4942237..f35a39063 100644 --- a/doc/doc++/osgUtil/MergeGeometryVisitor.html +++ b/doc/doc++/osgUtil/MergeGeometryVisitor.html @@ -22,28 +22,28 @@

            Public Methods

            -[more] MergeGeometryVisitor() +[more] MergeGeometryVisitor()
            default to traversing all children
            -[more]virtual void apply(osg::Geode& geode) +[more]virtual void apply(osg::Geode& geode)
            -[more]virtual void apply(osg::Billboard&) +[more]virtual void apply(osg::Billboard&)
            -[more]static bool mergeGeode(osg::Geode& geode) +[more]static bool mergeGeode(osg::Geode& geode)
            -[more]static bool geometryContainsSharedArrays(osg::Geometry& geom) +[more]static bool geometryContainsSharedArrays(osg::Geometry& geom)
            -[more]static bool mergeGeometry(osg::Geometry& lhs, osg::Geometry& rhs) +[more]static bool mergeGeometry(osg::Geometry& lhs, osg::Geometry& rhs)
            -[more]static bool mergePrimitive(osg::DrawArrays& lhs, osg::DrawArrays& rhs) +[more]static bool mergePrimitive(osg::DrawArrays& lhs, osg::DrawArrays& rhs)
            -[more]static bool mergePrimitive(osg::DrawArrayLengths& lhs, osg::DrawArrayLengths& rhs) +[more]static bool mergePrimitive(osg::DrawArrayLengths& lhs, osg::DrawArrayLengths& rhs)
            -[more]static bool mergePrimitive(osg::DrawElementsUByte& lhs, osg::DrawElementsUByte& rhs) +[more]static bool mergePrimitive(osg::DrawElementsUByte& lhs, osg::DrawElementsUByte& rhs)
            -[more]static bool mergePrimitive(osg::DrawElementsUShort& lhs, osg::DrawElementsUShort& rhs) +[more]static bool mergePrimitive(osg::DrawElementsUShort& lhs, osg::DrawElementsUShort& rhs)
            -[more]static bool mergePrimitive(osg::DrawElementsUInt& lhs, osg::DrawElementsUInt& rhs) +[more]static bool mergePrimitive(osg::DrawElementsUInt& lhs, osg::DrawElementsUInt& rhs)

            @@ -54,48 +54,48 @@
            - +
            o MergeGeometryVisitor()
            default to traversing all children

            - +

            ovirtual void apply(osg::Geode& geode)

            - +

            ovirtual void apply(osg::Billboard&)

            - +

            ostatic bool mergeGeode(osg::Geode& geode)

            - +

            ostatic bool geometryContainsSharedArrays(osg::Geometry& geom)

            - +

            ostatic bool mergeGeometry(osg::Geometry& lhs, osg::Geometry& rhs)

            - +

            ostatic bool mergePrimitive(osg::DrawArrays& lhs, osg::DrawArrays& rhs)

            - +

            ostatic bool mergePrimitive(osg::DrawArrayLengths& lhs, osg::DrawArrayLengths& rhs)

            - +

            ostatic bool mergePrimitive(osg::DrawElementsUByte& lhs, osg::DrawElementsUByte& rhs)

            - +

            ostatic bool mergePrimitive(osg::DrawElementsUShort& lhs, osg::DrawElementsUShort& rhs)

            - +

            ostatic bool mergePrimitive(osg::DrawElementsUInt& lhs, osg::DrawElementsUInt& rhs)

            diff --git a/doc/doc++/osgUtil/Optimizer.html b/doc/doc++/osgUtil/Optimizer.html index 39b4c8427..51ca34a14 100644 --- a/doc/doc++/osgUtil/Optimizer.html +++ b/doc/doc++/osgUtil/Optimizer.html @@ -15,7 +15,7 @@

            Public Methods

            [more] Optimizer()
            -[more]virtual void optimize(osg::Node* node, unsigned int options = ALL_OPTIMIZATIONS) +[more]virtual void optimize(osg::Node* node, unsigned int options = ALL_OPTIMIZATIONS)
            traverse the node and its subgraph with a series of optimization visitors, specificied by the OptizationOptions

            @@ -23,9 +23,6 @@

            Public Members

            [more]enum OptimizationOptions
            -class OSGUTIL_EXPORT ConvertGeoSetsToGeometryVisitor: public osg::NodeVisitor -
            ConvertGeoSetsToGeometryVisitor all the old GeoSet Drawables to the new Geometry Drawables -
            class OSGUTIL_EXPORT FlattenStaticTransformsVisitor: public osg::NodeVisitor
            Flatten Static Trasform nodes by applying their transform to the geometry on the leaves of the scene graph, then removing the now redundant transforms
            @@ -78,14 +75,18 @@ For example of usage see src/Demos/osgimpostor.
            o SHARE_DUPLICATE_STATE

            - + +

            o MERGE_GEOMETRY +

            + +

            o ALL_OPTIMIZATIONS

            -

            ovirtual void optimize(osg::Node* node, unsigned int options = ALL_OPTIMIZATIONS) +
            ovirtual void optimize(osg::Node* node, unsigned int options = ALL_OPTIMIZATIONS)
            traverse the node and its subgraph with a series of optimization visitors, specificied by the OptizationOptions

            diff --git a/doc/doc++/osgUtil/RemoveEmptyNodesVisitor.html b/doc/doc++/osgUtil/RemoveEmptyNodesVisitor.html index 32e20add4..9bc8019ec 100644 --- a/doc/doc++/osgUtil/RemoveEmptyNodesVisitor.html +++ b/doc/doc++/osgUtil/RemoveEmptyNodesVisitor.html @@ -23,23 +23,23 @@

            Public Fields

            -[more]NodeList _redundantNodeList +[more]NodeList _redundantNodeList

            Public Methods

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

            Public Members

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

            @@ -51,27 +51,27 @@
            - +
            otypedef std::set<osg::Node*> NodeList

            - -

            oNodeList _redundantNodeList + +
            oNodeList _redundantNodeList

            - +

            o RemoveEmptyNodesVisitor()

            - +

            ovirtual void apply(osg::Geode& geode)

            - +

            ovirtual void apply(osg::Group& group)

            - +

            ovoid removeEmptyNodes()

            diff --git a/doc/doc++/osgUtil/RemoveRedundantNodesVisitor.html b/doc/doc++/osgUtil/RemoveRedundantNodesVisitor.html index 8d9770f02..6bc6ceec9 100644 --- a/doc/doc++/osgUtil/RemoveRedundantNodesVisitor.html +++ b/doc/doc++/osgUtil/RemoveRedundantNodesVisitor.html @@ -23,23 +23,23 @@

            Public Fields

            -[more]NodeList _redundantNodeList +[more]NodeList _redundantNodeList

            Public Methods

            -[more] RemoveRedundantNodesVisitor() +[more] RemoveRedundantNodesVisitor()
            -[more]virtual void apply(osg::Group& group) +[more]virtual void apply(osg::Group& group)
            -[more]virtual void apply(osg::Transform& transform) +[more]virtual void apply(osg::Transform& transform)
            -[more]void removeRedundantNodes() +[more]void removeRedundantNodes()

            Public Members

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

            @@ -51,27 +51,27 @@
            - +
            otypedef std::set<osg::Node*> NodeList

            - -

            oNodeList _redundantNodeList + +
            oNodeList _redundantNodeList

            - +

            o RemoveRedundantNodesVisitor()

            - +

            ovirtual void apply(osg::Group& group)

            - +

            ovirtual void apply(osg::Transform& transform)

            - +

            ovoid removeRedundantNodes()

            diff --git a/doc/doc++/osgUtil/RenderBin.html b/doc/doc++/osgUtil/RenderBin.html index 9680a164d..4488a55e5 100644 --- a/doc/doc++/osgUtil/RenderBin.html +++ b/doc/doc++/osgUtil/RenderBin.html @@ -40,8 +40,6 @@ [more]osg::ref_ptr<SortCallback> _sortCallback
            [more]osg::ref_ptr<DrawCallback> _drawCallback -
            -[more]static RenderBinPrototypeList s_renderBinPrototypeList

            @@ -105,12 +103,12 @@
            [more]const DrawCallback* getDrawCallback() const
            -[more]bool getStats(osg::Statistics* primStats) +[more]bool getStats(Statistics* primStats)
            extract stats for current draw list.
            -[more]void getPrims(osg::Statistics* primStats) +[more]void getPrims(Statistics* primStats)
            -[more]bool getPrims(osg::Statistics* primStats, int nbin) +[more]bool getPrims(Statistics* primStats, int nbin)
            [more]void copyLeavesFromRenderGraphListToRenderLeafList()

            @@ -128,13 +126,11 @@ [more]struct SortCallback: public osg::Referenced
            [more]struct DrawCallback: public osg::Referenced -
            -[more]typedef std::map< std::string, osg::ref_ptr<RenderBin> > RenderBinPrototypeList

            Protected Methods

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

            @@ -315,16 +311,16 @@ RenderBin base class

            -

            obool getStats(osg::Statistics* primStats) +
            obool getStats(Statistics* primStats)
            extract stats for current draw list.

            -

            ovoid getPrims(osg::Statistics* primStats) +
            ovoid getPrims(Statistics* primStats)

            -

            obool getPrims(osg::Statistics* primStats, int nbin) +
            obool getPrims(Statistics* primStats, int nbin)

            @@ -366,16 +362,8 @@ RenderBin base class

            oosg::ref_ptr<DrawCallback> _drawCallback

            - - -

            otypedef std::map< std::string, osg::ref_ptr<RenderBin> > RenderBinPrototypeList -

            - - -

            ostatic RenderBinPrototypeList s_renderBinPrototypeList -

            - +

            ovirtual ~RenderBin()


            diff --git a/doc/doc++/osgUtil/RenderLeaf.html b/doc/doc++/osgUtil/RenderLeaf.html index f3a6dc89e..610bcda9d 100644 --- a/doc/doc++/osgUtil/RenderLeaf.html +++ b/doc/doc++/osgUtil/RenderLeaf.html @@ -36,9 +36,9 @@

            Public Methods

            -[more]inline RenderLeaf(osg::Drawable* drawable, osg::RefMatrix* projection, osg::RefMatrix* modelview, float depth=0.0f) +[more]inline RenderLeaf(osg::Drawable* drawable, osg::RefMatrix* projection, osg::RefMatrix* modelview, float depth=0.0f)
            -[more]inline void set(osg::Drawable* drawable, osg::RefMatrix* projection, osg::RefMatrix* modelview, float depth=0.0f) +[more]inline void set(osg::Drawable* drawable, osg::RefMatrix* projection, osg::RefMatrix* modelview, float depth=0.0f)
            [more]inline void reset()
            @@ -55,11 +55,11 @@ -
            oinline RenderLeaf(osg::Drawable* drawable, osg::RefMatrix* projection, osg::RefMatrix* modelview, float depth=0.0f) +
            oinline RenderLeaf(osg::Drawable* drawable, osg::RefMatrix* projection, osg::RefMatrix* modelview, float depth=0.0f)

            -

            oinline void set(osg::Drawable* drawable, osg::RefMatrix* projection, osg::RefMatrix* modelview, float depth=0.0f) +
            oinline void set(osg::Drawable* drawable, osg::RefMatrix* projection, osg::RefMatrix* modelview, float depth=0.0f)

            diff --git a/doc/doc++/osgUtil/RenderStage.html b/doc/doc++/osgUtil/RenderStage.html index 958aa5bd2..acdecc30b 100644 --- a/doc/doc++/osgUtil/RenderStage.html +++ b/doc/doc++/osgUtil/RenderStage.html @@ -93,7 +93,7 @@ [more]const osg::Vec4& getClearAccum() const

            Get the clear accum
            -[more]void setClearDepth(double depth) +[more]void setClearDepth(double depth)
            Set the clear depth used in glClearDepth().
            [more]double getClearDepth() const @@ -119,7 +119,7 @@
            [more]void addToDependencyList(RenderStage* rs)
            -[more]bool getStats(osg::Statistics* primStats) +[more]bool getStats(Statistics* primStats)
            extract stats for current draw list.

            @@ -155,8 +155,6 @@ oosg::ref_ptr<SortCallback> _sortCallback
            oosg::ref_ptr<DrawCallback> _drawCallback -
            -ostatic RenderBinPrototypeList s_renderBinPrototypeList

            @@ -201,9 +199,9 @@
            oconst DrawCallback* getDrawCallback() const
            -ovoid getPrims(osg::Statistics* primStats) +ovoid getPrims(Statistics* primStats)
            -obool getPrims(osg::Statistics* primStats, int nbin) +obool getPrims(Statistics* primStats, int nbin)
            ovoid copyLeavesFromRenderGraphListToRenderLeafList()

            @@ -221,8 +219,6 @@ ostruct SortCallback: public osg::Referenced
            ostruct DrawCallback: public osg::Referenced -
            -otypedef std::map< std::string, osg::ref_ptr<RenderBin> > RenderBinPrototypeList

            @@ -330,7 +326,7 @@ glClearAcumm is only called if mask & GL_ACCUM_BUFFER_BIT is true

            -

            ovoid setClearDepth(double depth) +
            ovoid setClearDepth(double depth)
            Set the clear depth used in glClearDepth(). Defaults to 1.0 glClearDepth is only called if mask & GL_DEPTH_BUFFER_BIT is true

            @@ -380,7 +376,7 @@ glClearStencil is only called if mask & GL_STENCIL_BUFFER_BIT is true

            -

            obool getStats(osg::Statistics* primStats) +
            obool getStats(Statistics* primStats)
            extract stats for current draw list.

            diff --git a/doc/doc++/osgUtil/RenderToTextureStage.html b/doc/doc++/osgUtil/RenderToTextureStage.html index de44c0036..8c1935c95 100644 --- a/doc/doc++/osgUtil/RenderToTextureStage.html +++ b/doc/doc++/osgUtil/RenderToTextureStage.html @@ -112,7 +112,7 @@

            oconst osg::Vec4& getClearAccum() const
            -ovoid setClearDepth(double depth) +ovoid setClearDepth(double depth)
            odouble getClearDepth() const
            @@ -132,7 +132,7 @@
            ovoid addToDependencyList(RenderStage* rs)
            -obool getStats(osg::Statistics* primStats) +obool getStats(Statistics* primStats)

            @@ -162,8 +162,6 @@ oosg::ref_ptr<SortCallback> _sortCallback
            oosg::ref_ptr<DrawCallback> _drawCallback -
            -ostatic RenderBinPrototypeList s_renderBinPrototypeList

            @@ -206,9 +204,9 @@
            oconst DrawCallback* getDrawCallback() const
            -ovoid getPrims(osg::Statistics* primStats) +ovoid getPrims(Statistics* primStats)
            -obool getPrims(osg::Statistics* primStats, int nbin) +obool getPrims(Statistics* primStats, int nbin)
            ovoid copyLeavesFromRenderGraphListToRenderLeafList()

            @@ -226,8 +224,6 @@ ostruct SortCallback: public osg::Referenced
            ostruct DrawCallback: public osg::Referenced -
            -otypedef std::map< std::string, osg::ref_ptr<RenderBin> > RenderBinPrototypeList

            diff --git a/doc/doc++/osgUtil/SceneView.html b/doc/doc++/osgUtil/SceneView.html index ef69c2b29..83a40e019 100644 --- a/doc/doc++/osgUtil/SceneView.html +++ b/doc/doc++/osgUtil/SceneView.html @@ -7,7 +7,7 @@ -

            class OSGUTIL_EXPORT osgUtil::SceneView

            SceneView is literally a view of a scene, encapsulating the camera, global state, lights and the scene itself.
            +

            class OSGUTIL_EXPORT osgUtil::SceneView

            SceneView is literally a view of a scene, encapsulating the camera (modelview+projection matrices), global state, lights and the scene itself.

            Inheritance:

            @@ -96,135 +96,156 @@
            [more]const osg::State* getState() const
            -[more]void setCamera(osg::Camera* camera) -
            set an osg::Camera for the scene view to use for setting projection and modelview matrices internaly. +[more]void setProjectionMatrix(const osg::Matrix& matrix) +
            Set the projection matrix.
            -[more]osg::Camera* getCamera() +[more]void setProjectionMatrixAsOrtho(double left, double right, double bottom, double top, double zNear, double zFar) +
            Set to a orthographic projection.
            -[more]const osg::Camera* getCamera() const +[more]void setProjectionMatrixAsOrtho2D(double left, double right, double bottom, double top) +
            Set to a 2D orthographic projection.
            -[more]void setProjectionMatrix(osg::RefMatrix* matrix) -
            set a projection matrix. +[more]void setProjectionMatrixAsFrustum(double left, double right, double bottom, double top, double zNear, double zFar) +
            Set to a perspective projection.
            -[more]osg::RefMatrix* getProjectionMatrix() +[more]void setProjectionMatrixAsPerspective(double fovy, double aspectRatio, double zNear, double zFar) +
            Create a symmetrical perspective projection, See OpenGL gluPerspective documentation for further details.
            -[more]const osg::RefMatrix* getProjectionMatrix() const +[more]osg::Matrix& getProjectionMatrix() +
            Get the projection matrix
            -[more]void setModelViewMatrix(osg::RefMatrix* matrix) -
            set a modelview matrix. +[more]const osg::Matrix& getProjectionMatrix() const +
            Get the const projection matrix
            -[more]osg::RefMatrix* getModelViewMatrix() +[more]void getProjectionMatrixAsOrtho(double& left, double& right, double& bottom, double& top, double& zNear, double& zFar) +
            Get the othorgraphic settings of the orthographic projection matrix.
            -[more]const osg::RefMatrix* getModelViewMatrix() const +[more]void getProjectionMatrixAsFrustum(double& left, double& right, double& bottom, double& top, double& zNear, double& zFar) +
            Get the frustum setting of a perspective projection matrix.
            -[more]void setInitVisitor(osg::NodeVisitor* av) +[more]void setViewMatrix(const osg::Matrix& matrix) +
            Set the view matrix.
            -[more]osg::NodeVisitor* getInitVisitor() +[more]void setViewMatrixAsLookAt(const osg::Vec3& eye, const osg::Vec3& center, const osg::Vec3& up) +
            Set to the position and orientation of view matrix, using the same convention as gluLookAt.
            -[more]const osg::NodeVisitor* getInitVisitor() const +[more]osg::Matrix& getViewMatrix() +
            Get the view matrix.
            -[more]void setUpdateVisitor(osg::NodeVisitor* av) +[more]const osg::Matrix& getViewMatrix() const +
            Get the const view matrix.
            -[more]osg::NodeVisitor* getUpdateVisitor() +[more]void getViewMatrixAsLookAt(osg::Vec3& eye, osg::Vec3& center, osg::Vec3& up, float lookDistance=1.0f) +
            Get to the position and orientation of a modelview matrix, using the same convention as gluLookAt.
            -[more]const osg::NodeVisitor* getUpdateVisitor() const +[more]void setInitVisitor(osg::NodeVisitor* av)
            -[more]void setCullVisitor(osgUtil::CullVisitor* cv) +[more]osg::NodeVisitor* getInitVisitor()
            -[more]osgUtil::CullVisitor* getCullVisitor() +[more]const osg::NodeVisitor* getInitVisitor() const
            -[more]const osgUtil::CullVisitor* getCullVisitor() const +[more]void setUpdateVisitor(osg::NodeVisitor* av)
            -[more]void setRenderGraph(osgUtil::RenderGraph* rg) +[more]osg::NodeVisitor* getUpdateVisitor()
            -[more]osgUtil::RenderGraph* getRenderGraph() +[more]const osg::NodeVisitor* getUpdateVisitor() const
            -[more]const osgUtil::RenderGraph* getRenderGraph() const +[more]void setCullVisitor(osgUtil::CullVisitor* cv)
            -[more]void setRenderStage(osgUtil::RenderStage* rs) +[more]osgUtil::CullVisitor* getCullVisitor()
            -[more]osgUtil::RenderStage* getRenderStage() +[more]const osgUtil::CullVisitor* getCullVisitor() const
            -[more]const osgUtil::RenderStage* getRenderStage() const +[more]void setRenderGraph(osgUtil::RenderGraph* rg)
            -[more]void setCullMask(const osg::Node::NodeMask nm) +[more]osgUtil::RenderGraph* getRenderGraph()
            -[more]const osg::Node::NodeMask getCullMask() const +[more]const osgUtil::RenderGraph* getRenderGraph() const
            -[more]void setCullMaskLeft(const osg::Node::NodeMask nm) +[more]void setRenderStage(osgUtil::RenderStage* rs)
            -[more]const osg::Node::NodeMask getCullMaskLeft() const +[more]osgUtil::RenderStage* getRenderStage()
            -[more]void setCullMaskRight(const osg::Node::NodeMask nm) +[more]const osgUtil::RenderStage* getRenderStage() const
            -[more]const osg::Node::NodeMask getCullMaskRight() const +[more]void setCullMask(const osg::Node::NodeMask nm)
            -[more]void setLODScale(float bias) +[more]osg::Node::NodeMask getCullMask() const +
            +[more]void setCullMaskLeft(const osg::Node::NodeMask nm) +
            +[more]osg::Node::NodeMask getCullMaskLeft() const +
            +[more]void setCullMaskRight(const osg::Node::NodeMask nm) +
            +[more]osg::Node::NodeMask getCullMaskRight() const +
            +[more]void setLODScale(float bias)
            Set the LOD bias for the CullVisitor to use
            -[more]float getLODScale() const +[more]float getLODScale() const
            Get the LOD bias
            -[more]void setSmallFeatureCullingPixelSize(float value) +[more]void setSmallFeatureCullingPixelSize(float value)
            Set the Small Feature Culling Pixel Size
            -[more]float getSmallFeatureCullingPixelSize() const +[more]float getSmallFeatureCullingPixelSize() const
            Get the Small Feature Culling Pixel Size
            -[more]void setCullingMode(osg::CullStack::CullingMode mode) +[more]void setCullingMode(osg::CullStack::CullingMode mode)
            Set the culling mode for the CullVisitor to use
            -[more]osg::CullStack::CullingMode getCullingMode() const +[more]osg::CullStack::CullingMode getCullingMode() const
            Returns the current CullingMode
            -[more]void setComputeNearFarMode(CullVisitor::ComputeNearFarMode cnfm) +[more]void setComputeNearFarMode(CullVisitor::ComputeNearFarMode cnfm)
            Set the ComputeNearFarMode for the CullVisitor to use
            -[more]CullVisitor::ComputeNearFarMode getComputeNearFarMode() const +[more]CullVisitor::ComputeNearFarMode getComputeNearFarMode() const
            Get the ComputeNearFarMode
            -[more]void setFusionDistance(FusionDistanceMode mode, float value=1.0f) +[more]void setFusionDistance(FusionDistanceMode mode, float value=1.0f)
            Set the FusionDistanceMode and Value.
            -[more]FusionDistanceMode getFusionDistanceMode() const +[more]FusionDistanceMode getFusionDistanceMode() const
            Get the FusionDistanceMode
            -[more]float getFusionDistanceValue() const +[more]float getFusionDistanceValue() const
            Get the FusionDistanceValue.
            -[more]void setPrioritizeTextures(bool pt) +[more]void setPrioritizeTextures(bool pt)
            set whether the draw method should call renderer->prioritizeTexture
            -[more]bool getPrioritizeTextures() const +[more]bool getPrioritizeTextures() const
            get whether the draw method should call renderer->prioritizeTexture
            -[more]bool projectWindowIntoObject(const osg::Vec3& window, osg::Vec3& object) const +[more]bool projectWindowIntoObject(const osg::Vec3& window, osg::Vec3& object) const
            Calculate, via glUnProject, the object coordinates of a window point.
            -[more]bool projectWindowXYIntoObject(int x, int y, osg::Vec3& near_point, osg::Vec3& far_point) const +[more]bool projectWindowXYIntoObject(int x, int y, osg::Vec3& near_point, osg::Vec3& far_point) const
            Calculate, via glUnProject, the object coordinates of a window x,y when projected onto the near and far planes.
            -[more]bool projectObjectIntoWindow(const osg::Vec3& object, osg::Vec3& window) const +[more]bool projectObjectIntoWindow(const osg::Vec3& object, osg::Vec3& window) const
            Calculate, via glProject, the object coordinates of a window.
            -[more]inline void setFrameStamp(osg::FrameStamp* fs) +[more]inline void setFrameStamp(osg::FrameStamp* fs)
            Set the frame stamp for the current frame
            -[more]inline const osg::FrameStamp* getFrameStamp() const +[more]inline const osg::FrameStamp* getFrameStamp() const
            Set the frame stamp for the current frame
            -[more]virtual void init() +[more]virtual void init()
            Do init traversal of attached scene graph using Init NodeVisitor.
            -[more]virtual void update() +[more]virtual void update()
            Do app traversal of attached scene graph using App NodeVisitor
            -[more]virtual void app() +[more]virtual void app()
            -[more]virtual void cull() +[more]virtual void cull()
            Do cull traversal of attached scene graph using Cull NodeVisitor
            -[more]virtual void draw() +[more]virtual void draw()
            Do draw traversal of draw bins generated by cull traversal

            @@ -232,93 +253,91 @@

            Public Members

            [more]enum LightingMode
            -[more]enum FusionDistanceMode +[more]enum FusionDistanceMode
            FusionDistanceMode is used only when working in stereo

            Protected Fields

            -[more]osg::ref_ptr<osg::Node> _sceneData +[more]osg::ref_ptr<osg::Node> _sceneData
            -[more]osg::ref_ptr<osg::StateSet> _globalStateSet +[more]osg::ref_ptr<osg::StateSet> _globalStateSet
            -[more]osg::ref_ptr<osg::StateSet> _localStateSet +[more]osg::ref_ptr<osg::StateSet> _localStateSet
            -[more]osg::ref_ptr<osg::Light> _light +[more]osg::ref_ptr<osg::Light> _light
            -[more]osg::ref_ptr<osg::Camera> _camera +[more]osg::ref_ptr<osg::RefMatrix> _projectionMatrix
            -[more]osg::ref_ptr<osg::RefMatrix> _projectionMatrix +[more]osg::ref_ptr<osg::RefMatrix> _viewMatrix
            -[more]osg::ref_ptr<osg::RefMatrix> _modelviewMatrix +[more]osg::ref_ptr<osg::DisplaySettings> _displaySettings
            -[more]osg::ref_ptr<osg::DisplaySettings> _displaySettings +[more]osg::ref_ptr<osg::State> _state
            -[more]osg::ref_ptr<osg::State> _state +[more]bool _initCalled
            -[more]bool _initCalled +[more]osg::ref_ptr<osg::NodeVisitor> _initVisitor
            -[more]osg::ref_ptr<osg::NodeVisitor> _initVisitor +[more]osg::ref_ptr<osg::NodeVisitor> _updateVisitor
            -[more]osg::ref_ptr<osg::NodeVisitor> _updateVisitor +[more]osg::Node::NodeMask _cullMask
            -[more]osg::Node::NodeMask _cullMask +[more]osg::ref_ptr<osgUtil::CullVisitor> _cullVisitor
            -[more]osg::ref_ptr<osgUtil::CullVisitor> _cullVisitor +[more]osg::ref_ptr<osgUtil::RenderGraph> _rendergraph
            -[more]osg::ref_ptr<osgUtil::RenderGraph> _rendergraph +[more]osg::ref_ptr<osgUtil::RenderStage> _renderStage
            -[more]osg::ref_ptr<osgUtil::RenderStage> _renderStage +[more]osg::Node::NodeMask _cullMaskLeft
            -[more]osg::Node::NodeMask _cullMaskLeft +[more]osg::ref_ptr<osgUtil::CullVisitor> _cullVisitorLeft
            -[more]osg::ref_ptr<osgUtil::CullVisitor> _cullVisitorLeft +[more]osg::ref_ptr<osgUtil::RenderGraph> _rendergraphLeft
            -[more]osg::ref_ptr<osgUtil::RenderGraph> _rendergraphLeft +[more]osg::ref_ptr<osgUtil::RenderStage> _renderStageLeft
            -[more]osg::ref_ptr<osgUtil::RenderStage> _renderStageLeft +[more]osg::Node::NodeMask _cullMaskRight
            -[more]osg::Node::NodeMask _cullMaskRight +[more]osg::ref_ptr<osgUtil::CullVisitor> _cullVisitorRight
            -[more]osg::ref_ptr<osgUtil::CullVisitor> _cullVisitorRight +[more]osg::ref_ptr<osgUtil::RenderGraph> _rendergraphRight
            -[more]osg::ref_ptr<osgUtil::RenderGraph> _rendergraphRight +[more]osg::ref_ptr<osgUtil::RenderStage> _renderStageRight
            -[more]osg::ref_ptr<osgUtil::RenderStage> _renderStageRight +[more]osg::ref_ptr<osg::FrameStamp> _frameStamp
            -[more]osg::ref_ptr<osg::FrameStamp> _frameStamp +[more]osg::Vec4 _backgroundColor
            -[more]osg::Vec4 _backgroundColor +[more]CullVisitor::ComputeNearFarMode _computeNearFar
            -[more]CullVisitor::ComputeNearFarMode _computeNearFar +[more]osg::CullStack::CullingMode _cullingMode
            -[more]osg::CullStack::CullingMode _cullingMode +[more]float _LODScale
            -[more]float _LODScale +[more]float _smallFeatureCullingPixelSize
            -[more]float _smallFeatureCullingPixelSize +[more]FusionDistanceMode _fusionDistanceMode
            -[more]FusionDistanceMode _fusionDistanceMode +[more]float _fusionDistanceValue
            -[more]float _fusionDistanceValue +[more]osg::ref_ptr<osg::Viewport> _viewport
            -[more]osg::ref_ptr<osg::Viewport> _viewport +[more]LightingMode _lightingMode
            -[more]LightingMode _lightingMode -
            -[more]bool _prioritizeTextures +[more]bool _prioritizeTextures

            Protected Methods

            -[more]virtual ~SceneView() +[more]virtual ~SceneView()
            -[more]virtual void cullStage(osg::RefMatrix* projection, osg::RefMatrix* modelview, osgUtil::CullVisitor* cullVisitor, osgUtil::RenderGraph* rendergraph, osgUtil::RenderStage* renderStage) +[more]virtual void cullStage(osg::RefMatrix* projection, osg::RefMatrix* modelview, osgUtil::CullVisitor* cullVisitor, osgUtil::RenderGraph* rendergraph, osgUtil::RenderStage* renderStage)
            Do cull traversal of attached scene graph using Cull NodeVisitor
            -[more]const osg::Matrix computeMVPW() const +[more]const osg::Matrix computeMVPW() const
            -[more]void clearArea(int x, int y, int width, int height, const osg::Vec4& color) +[more]void clearArea(int x, int y, int width, int height, const osg::Vec4& color)

            @@ -328,7 +347,7 @@

            Documentation

            SceneView is literally a view of a scene, encapsulating the -camera, global state, lights and the scene itself. Provides +camera (modelview+projection matrices), global state, lights and the scene itself. Provides methods for setting up the view and rendering it.
            @@ -486,222 +505,247 @@ Defaults to an off blue color.
            oconst osg::State* getState() const

            - - -

            ovoid setCamera(osg::Camera* camera) -
            set an osg::Camera for the scene view to use for setting projection and modelview matrices internaly. -However, the projection matrix from the camera will be overriden by a projection matrix which is set explicitly -via setProjectionMatrix(..), see below. -Also, the model matrix from the camera will be overriden by a modelview matrix which is set explicitly -via setModelViewMatrix(..), see below. -

            - - -

            oosg::Camera* getCamera() -

            - - -

            oconst osg::Camera* getCamera() const -

            - -

            ovoid setProjectionMatrix(osg::RefMatrix* matrix) -
            set a projection matrix. Note, this will override a camera's projection matrix if it is not NULL. + +
            ovoid setProjectionMatrix(const osg::Matrix& matrix) +
            Set the projection matrix. Can be thought of as setting the lens of a camera.

            - + + +

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

            + + +

            ovoid setProjectionMatrixAsOrtho2D(double left, double right, double bottom, double top) +
            Set to a 2D orthographic projection. See OpenGL glOrtho2D documentation for further details. +

            + + +

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

            + -

            oosg::RefMatrix* getProjectionMatrix() +
            ovoid setProjectionMatrixAsPerspective(double fovy, double aspectRatio, double zNear, double zFar) +
            Create a symmetrical perspective projection, See OpenGL gluPerspective documentation for further details. +Aspect ratio is defined as width/height.

            -

            oconst osg::RefMatrix* getProjectionMatrix() const +
            oosg::Matrix& getProjectionMatrix() +
            Get the projection matrix

            - + -

            ovoid setModelViewMatrix(osg::RefMatrix* matrix) -
            set a modelview matrix. Note, this will override a camera's modelview matrix if it is not NULL. +
            oconst osg::Matrix& getProjectionMatrix() const +
            Get the const projection matrix

            - + -

            oosg::RefMatrix* getModelViewMatrix() +
            ovoid getProjectionMatrixAsOrtho(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.

            - + -

            oconst osg::RefMatrix* getModelViewMatrix() const +
            ovoid getProjectionMatrixAsFrustum(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 setViewMatrix(const osg::Matrix& matrix) +
            Set the view matrix. Can be thought of as setting the position of the world relative to the camera in camera coordinates. +

            + + +

            ovoid setViewMatrixAsLookAt(const osg::Vec3& eye, const osg::Vec3& center, const osg::Vec3& up) +
            Set to the position and orientation of view matrix, using the same convention as gluLookAt. +

            + + +

            oosg::Matrix& getViewMatrix() +
            Get the view matrix. +

            + + +

            oconst osg::Matrix& getViewMatrix() const +
            Get the const view matrix. +

            + + +

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

            - +

            ovoid setInitVisitor(osg::NodeVisitor* av)

            - +

            oosg::NodeVisitor* getInitVisitor()

            - +

            oconst osg::NodeVisitor* getInitVisitor() const

            - +

            ovoid setUpdateVisitor(osg::NodeVisitor* av)

            - +

            oosg::NodeVisitor* getUpdateVisitor()

            - +

            oconst osg::NodeVisitor* getUpdateVisitor() const

            - +

            ovoid setCullVisitor(osgUtil::CullVisitor* cv)

            - +

            oosgUtil::CullVisitor* getCullVisitor()

            - +

            oconst osgUtil::CullVisitor* getCullVisitor() const

            - +

            ovoid setRenderGraph(osgUtil::RenderGraph* rg)

            - +

            oosgUtil::RenderGraph* getRenderGraph()

            - +

            oconst osgUtil::RenderGraph* getRenderGraph() const

            - +

            ovoid setRenderStage(osgUtil::RenderStage* rs)

            - +

            oosgUtil::RenderStage* getRenderStage()

            - +

            oconst osgUtil::RenderStage* getRenderStage() const

            - +

            ovoid setCullMask(const osg::Node::NodeMask nm)

            - -

            oconst osg::Node::NodeMask getCullMask() const + +
            oosg::Node::NodeMask getCullMask() const

            - +

            ovoid setCullMaskLeft(const osg::Node::NodeMask nm)

            - -

            oconst osg::Node::NodeMask getCullMaskLeft() const + +
            oosg::Node::NodeMask getCullMaskLeft() const

            - +

            ovoid setCullMaskRight(const osg::Node::NodeMask nm)

            - -

            oconst osg::Node::NodeMask getCullMaskRight() const + +
            oosg::Node::NodeMask getCullMaskRight() const

            - +

            ovoid setLODScale(float bias)
            Set the LOD bias for the CullVisitor to use

            - +

            ofloat getLODScale() const
            Get the LOD bias

            - +

            ovoid setSmallFeatureCullingPixelSize(float value)
            Set the Small Feature Culling Pixel Size

            - +

            ofloat getSmallFeatureCullingPixelSize() const
            Get the Small Feature Culling Pixel Size

            - +

            ovoid setCullingMode(osg::CullStack::CullingMode mode)
            Set the culling mode for the CullVisitor to use

            - +

            oosg::CullStack::CullingMode getCullingMode() const
            Returns the current CullingMode

            - +

            ovoid setComputeNearFarMode(CullVisitor::ComputeNearFarMode cnfm)
            Set the ComputeNearFarMode for the CullVisitor to use

            - +

            oCullVisitor::ComputeNearFarMode getComputeNearFarMode() const
            Get the ComputeNearFarMode

            - +

            oenum FusionDistanceMode
            FusionDistanceMode is used only when working in stereo

            - - -
            o USE_CAMERA_FUSION_DISTANCE -
            Use fusion distance from the attached camera if one exist -

            - +

            o USE_FUSION_DISTANCE_VALUE
            Use fusion distance from the value set on the SceneView

            - +

            o PROPORTIONAL_TO_SCREEN_DISTANCE
            Compute the fusion distance by multiplying the screen distance by the fusion distance value

            - -
            ovoid setFusionDistance(FusionDistanceMode mode, float value=1.0f) + +
            ovoid setFusionDistance(FusionDistanceMode mode, float value=1.0f)
            Set the FusionDistanceMode and Value. Note, is used only when working in stereo.

            - -

            oFusionDistanceMode getFusionDistanceMode() const + +
            oFusionDistanceMode getFusionDistanceMode() const
            Get the FusionDistanceMode

            - +

            ofloat getFusionDistanceValue() const
            Get the FusionDistanceValue. Note, only used for USE_FUSION_DISTANCE_VALUE & PROPORTIONAL_TO_SCREEN_DISTANCE modes.

            - +

            ovoid setPrioritizeTextures(bool pt)
            set whether the draw method should call renderer->prioritizeTexture

            - +

            obool getPrioritizeTextures() const
            get whether the draw method should call renderer->prioritizeTexture

            - +

            obool projectWindowIntoObject(const osg::Vec3& window, osg::Vec3& object) const
            Calculate, via glUnProject, the object coordinates of a window point. Note, current implementation requires that SceneView::draw() has been previously called @@ -710,7 +754,7 @@ windows coordinates are calculated relative to the bottom left of the window. Returns true on successful projection.

            - +

            obool projectWindowXYIntoObject(int x, int y, osg::Vec3& near_point, osg::Vec3& far_point) const
            Calculate, via glUnProject, the object coordinates of a window x,y when projected onto the near and far planes. @@ -720,7 +764,7 @@ windows coordinates are calculated relative to the bottom left of the window. Returns true on successful projection.

            - +

            obool projectObjectIntoWindow(const osg::Vec3& object, osg::Vec3& window) const
            Calculate, via glProject, the object coordinates of a window. Note, current implementation requires that SceneView::draw() has been previously called @@ -731,17 +775,17 @@ so you may need to pass in (mouseX,window_height-mouseY,...). Returns true on successful projection.

            - +

            oinline void setFrameStamp(osg::FrameStamp* fs)
            Set the frame stamp for the current frame

            - +

            oinline const osg::FrameStamp* getFrameStamp() const
            Set the frame stamp for the current frame

            - +

            ovirtual void init()
            Do init traversal of attached scene graph using Init NodeVisitor. The init traversal is called once for each SceneView, and should @@ -752,179 +796,175 @@ elsewhere. Also init() should only ever be called within a valid graphics context.

            - +

            ovirtual void update()
            Do app traversal of attached scene graph using App NodeVisitor

            - +

            ovirtual void app()

            - +

            ovirtual void cull()
            Do cull traversal of attached scene graph using Cull NodeVisitor

            - +

            ovirtual void draw()
            Do draw traversal of draw bins generated by cull traversal

            - +

            ovirtual ~SceneView()

            - +

            ovirtual void cullStage(osg::RefMatrix* projection, osg::RefMatrix* modelview, osgUtil::CullVisitor* cullVisitor, osgUtil::RenderGraph* rendergraph, osgUtil::RenderStage* renderStage)
            Do cull traversal of attached scene graph using Cull NodeVisitor

            - +

            oconst osg::Matrix computeMVPW() const

            - +

            ovoid clearArea(int x, int y, int width, int height, const osg::Vec4& color)

            - +

            oosg::ref_ptr<osg::Node> _sceneData

            - +

            oosg::ref_ptr<osg::StateSet> _globalStateSet

            - +

            oosg::ref_ptr<osg::StateSet> _localStateSet

            - +

            oosg::ref_ptr<osg::Light> _light

            - - -

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

            - +

            oosg::ref_ptr<osg::RefMatrix> _projectionMatrix

            - - -

            oosg::ref_ptr<osg::RefMatrix> _modelviewMatrix + + +
            oosg::ref_ptr<osg::RefMatrix> _viewMatrix

            - +

            oosg::ref_ptr<osg::DisplaySettings> _displaySettings

            - +

            oosg::ref_ptr<osg::State> _state

            - +

            obool _initCalled

            - +

            oosg::ref_ptr<osg::NodeVisitor> _initVisitor

            - +

            oosg::ref_ptr<osg::NodeVisitor> _updateVisitor

            - +

            oosg::Node::NodeMask _cullMask

            - +

            oosg::ref_ptr<osgUtil::CullVisitor> _cullVisitor

            - +

            oosg::ref_ptr<osgUtil::RenderGraph> _rendergraph

            - +

            oosg::ref_ptr<osgUtil::RenderStage> _renderStage

            - +

            oosg::Node::NodeMask _cullMaskLeft

            - +

            oosg::ref_ptr<osgUtil::CullVisitor> _cullVisitorLeft

            - +

            oosg::ref_ptr<osgUtil::RenderGraph> _rendergraphLeft

            - +

            oosg::ref_ptr<osgUtil::RenderStage> _renderStageLeft

            - +

            oosg::Node::NodeMask _cullMaskRight

            - +

            oosg::ref_ptr<osgUtil::CullVisitor> _cullVisitorRight

            - +

            oosg::ref_ptr<osgUtil::RenderGraph> _rendergraphRight

            - +

            oosg::ref_ptr<osgUtil::RenderStage> _renderStageRight

            - +

            oosg::ref_ptr<osg::FrameStamp> _frameStamp

            - +

            oosg::Vec4 _backgroundColor

            - +

            oCullVisitor::ComputeNearFarMode _computeNearFar

            - +

            oosg::CullStack::CullingMode _cullingMode

            - +

            ofloat _LODScale

            - +

            ofloat _smallFeatureCullingPixelSize

            - -

            oFusionDistanceMode _fusionDistanceMode + +
            oFusionDistanceMode _fusionDistanceMode

            - +

            ofloat _fusionDistanceValue

            - +

            oosg::ref_ptr<osg::Viewport> _viewport

            - +

            oLightingMode _lightingMode

            - +

            obool _prioritizeTextures

            diff --git a/doc/doc++/osgUtil/StateVisitor.html b/doc/doc++/osgUtil/StateVisitor.html index dc9b5c54c..cc98f10fb 100644 --- a/doc/doc++/osgUtil/StateVisitor.html +++ b/doc/doc++/osgUtil/StateVisitor.html @@ -23,34 +23,34 @@

            Public Methods

            -[more] StateVisitor() +[more] StateVisitor()
            default to traversing all children
            -[more]virtual void reset() +[more]virtual void reset()
            empty visitor, make it ready for next traversal
            -[more]virtual void apply(osg::Node& node) +[more]virtual void apply(osg::Node& node)
            -[more]virtual void apply(osg::Geode& geode) +[more]virtual void apply(osg::Geode& geode)
            -[more]void optimize() +[more]void optimize()

            Protected Fields

            -[more]StateSetMap _statesets +[more]StateSetMap _statesets

            Protected Methods

            -[more]void addStateSet(osg::StateSet* stateset, osg::Object* obj) +[more]void addStateSet(osg::StateSet* stateset, osg::Object* obj)

            Protected Members

            -[more]typedef std::set<osg::Object*> ObjectSet +[more]typedef std::set<osg::Object*> ObjectSet
            -[more]typedef std::map<osg::StateSet*,ObjectSet> StateSetMap +[more]typedef std::map<osg::StateSet*,ObjectSet> StateSetMap

            @@ -64,42 +64,42 @@ and whole StateSets
            - +
            o StateVisitor()
            default to traversing all children

            - +

            ovirtual void reset()
            empty visitor, make it ready for next traversal

            - +

            ovirtual void apply(osg::Node& node)

            - +

            ovirtual void apply(osg::Geode& geode)

            - +

            ovoid optimize()

            - +

            ovoid addStateSet(osg::StateSet* stateset, osg::Object* obj)

            - +

            otypedef std::set<osg::Object*> ObjectSet

            - -

            otypedef std::map<osg::StateSet*,ObjectSet> StateSetMap + +
            otypedef std::map<osg::StateSet*,ObjectSet> StateSetMap

            - -

            oStateSetMap _statesets + +
            oStateSetMap _statesets


            This class has no child classes.
            diff --git a/doc/doc++/osgUtil/Statistics.html b/doc/doc++/osgUtil/Statistics.html new file mode 100644 index 000000000..0285eb37a --- /dev/null +++ b/doc/doc++/osgUtil/Statistics.html @@ -0,0 +1,308 @@ + + + + + class osgUtil::Statistics + + + + +

            class osgUtil::Statistics

            Statistics base class.
            +
            + +

            Inheritance:

            + + + + + + + +
            + +
            +

            +

            Public Fields

            +[more]int numDrawables +
            +[more]int nummat +
            +[more]int nbins +
            +[more]int nlights +
            +[more]int depth +
            +[more]int _binNo +
            +[more]statsType stattype +
            +[more]int nimpostor +
            +[more]unsigned int _vertexCount +
            +[more]PrimtiveValueMap _primitiveCount +
            +[more]GLenum _currentPrimtiveFunctorMode +

            + +

            +

            Public Methods

            +[more] Statistics() +
            +[more]void reset() +
            +[more]void setType(statsType t) +
            +[more]virtual void setVertexArray(unsigned int count, const osg::Vec3*) +
            +[more]virtual void drawArrays(GLenum mode, GLint, GLsizei count) +
            +[more]virtual void drawElements(GLenum mode, GLsizei count, const GLuint*) +
            +[more]virtual void begin(GLenum mode) +
            +[more]virtual void vertex(const osg::Vec3&) +
            +[more]virtual void vertex(float, float, float) +
            +[more]virtual void end() +
            +[more]void addDrawable() +
            +[more]void addMatrix() +
            +[more]void addLight(int np) +
            +[more]void addImpostor(int np) +
            +[more]inline int getBins() +
            +[more]void setDepth(int d) +
            +[more]void addBins(int np) +
            +[more]void setBinNo(int n) +
            +[more]PrimtiveCountMap::iterator GetPrimitivesBegin() +
            +[more]PrimtiveCountMap::iterator GetPrimitivesEnd() +
            +[more]inline unsigned int _calculate_primitives_number_by_mode(GLenum mode, GLsizei count) +

            + +

            +

            Public Members

            +[more]typedef std::pair<unsigned int,unsigned int> PrimitivePair +
            +[more]typedef std::map<GLenum,PrimitivePair> PrimtiveValueMap +
            +[more]typedef std::map<GLenum, unsigned int> PrimtiveCountMap +
            +[more]enum statsType +

            + +
            + + +
            +

            Documentation

            +
            +Statistics base class. Used to extract primitive information from +the renderBin(s). Add a case of getStats(osgUtil::Statistics *stat) +for any new drawable (or drawable derived class) that you generate +(eg see Geometry.cpp). There are 20 types of drawable counted - actually only +14 cases can occur in reality. these represent sets of GL_POINTS, GL_LINES +GL_LINESTRIPS, LOOPS, TRIANGLES, TRI-fans, tristrips, quads, quadstrips etc +The number of triangles rendered is inferred: +each triangle = 1 triangle (number of vertices/3) +each quad = 2 triangles (nverts/2) +each trifan or tristrip = (length-2) triangles and so on.
            +
            + + + +
            otypedef std::pair<unsigned int,unsigned int> PrimitivePair +

            + + +

            otypedef std::map<GLenum,PrimitivePair> PrimtiveValueMap +

            + + +

            otypedef std::map<GLenum, unsigned int> PrimtiveCountMap +

            + + +

            o Statistics() +

            + + +

            oenum statsType +

            + + + +
            o STAT_NONE +

            + + +

            o STAT_FRAMERATE +

            + + +

            o STAT_GRAPHS +

            + + +

            o STAT_PRIMS +

            + + +

            o STAT_PRIMSPERVIEW +

            + + +

            o STAT_PRIMSPERBIN +

            + + +

            o STAT_DC +

            + + +

            o STAT_RESTART +

            + + + +
            ovoid reset() +

            + + +

            ovoid setType(statsType t) +

            + + +

            ovirtual void setVertexArray(unsigned int count, const osg::Vec3*) +

            + + +

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

            + + +

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

            + + +

            ovirtual void begin(GLenum mode) +

            + + +

            ovirtual void vertex(const osg::Vec3&) +

            + + +

            ovirtual void vertex(float, float, float) +

            + + +

            ovirtual void end() +

            + + +

            ovoid addDrawable() +

            + + +

            ovoid addMatrix() +

            + + +

            ovoid addLight(int np) +

            + + +

            ovoid addImpostor(int np) +

            + + +

            oinline int getBins() +

            + + +

            ovoid setDepth(int d) +

            + + +

            ovoid addBins(int np) +

            + + +

            ovoid setBinNo(int n) +

            + + +

            oPrimtiveCountMap::iterator GetPrimitivesBegin() +

            + + +

            oPrimtiveCountMap::iterator GetPrimitivesEnd() +

            + + +

            oint numDrawables +

            + + +

            oint nummat +

            + + +

            oint nbins +

            + + +

            oint nlights +

            + + +

            oint depth +

            + + +

            oint _binNo +

            + + +

            ostatsType stattype +

            + + +

            oint nimpostor +

            + + +

            ounsigned int _vertexCount +

            + + +

            oPrimtiveValueMap _primitiveCount +

            + + +

            oGLenum _currentPrimtiveFunctorMode +

            + + +

            oinline unsigned int _calculate_primitives_number_by_mode(GLenum mode, GLsizei count) +

            + +
            This class has no child classes.
            + +

            Alphabetic index HTML hierarchy of classes or Java


            +
            +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgUtil/Tesselator.html b/doc/doc++/osgUtil/Tesselator.html index 5738128f3..712146737 100644 --- a/doc/doc++/osgUtil/Tesselator.html +++ b/doc/doc++/osgUtil/Tesselator.html @@ -13,83 +13,83 @@

            Public Methods

            -[more] Tesselator() +[more] Tesselator()
            -[more] ~Tesselator() +[more] ~Tesselator()
            -[more]void beginTesselation() +[more]void beginTesselation()
            -[more]void beginContour() +[more]void beginContour()
            -[more]void addVertex(osg::Vec3* vertex) +[more]void addVertex(osg::Vec3* vertex)
            -[more]void endContour() +[more]void endContour()
            -[more]void endTesselation() +[more]void endTesselation()
            -[more]PrimList& getPrimList() +[more]PrimList& getPrimList()
            -[more]void retesselatePolygons(osg::Geometry& geom) +[more]void retesselatePolygons(osg::Geometry& geom)
            -[more]void reset() +[more]void reset()

            Public Members

            -[more]enum InputBoundaryDirection +[more]enum InputBoundaryDirection
            -[more]typedef std::vector<osg::Vec3*> VertexPointList +[more]typedef std::vector<osg::Vec3*> VertexPointList
            -[more]struct Prim: public osg::Referenced +[more]struct Prim: public osg::Referenced
            -[more]typedef std::vector< osg::ref_ptr<Prim> > PrimList +[more]typedef std::vector< osg::ref_ptr<Prim> > PrimList

            Protected Fields

            -[more]GLUtesselator* _tobj +[more]GLUtesselator* _tobj
            -[more]PrimList _primList +[more]PrimList _primList
            -[more]Vec3dList _coordData +[more]Vec3dList _coordData
            -[more]NewVertexList _newVertexList +[more]NewVertexList _newVertexList
            -[more]GLenum _errorCode +[more]GLenum _errorCode

            Protected Methods

            -[more]void begin(GLenum mode) +[more]void begin(GLenum mode)
            -[more]void vertex(osg::Vec3* vertex) +[more]void vertex(osg::Vec3* vertex)
            -[more]void combine(osg::Vec3* vertex, void* vertex_data[4], GLfloat weight[4]) +[more]void combine(osg::Vec3* vertex, void* vertex_data[4], GLfloat weight[4])
            -[more]void end() +[more]void end()
            -[more]void error(GLenum errorCode) +[more]void error(GLenum errorCode)
            -[more]static void CALLBACK beginCallback(GLenum which, void* userData) +[more]static void CALLBACK beginCallback(GLenum which, void* userData)
            -[more]static void CALLBACK vertexCallback(GLvoid* data, void* userData) +[more]static void CALLBACK vertexCallback(GLvoid* data, void* userData)
            -[more]static void CALLBACK combineCallback(GLdouble coords[3], void* vertex_data[4], GLfloat weight[4], void** outData, void* useData) +[more]static void CALLBACK combineCallback(GLdouble coords[3], void* vertex_data[4], GLfloat weight[4], void** outData, void* useData)
            -[more]static void CALLBACK endCallback(void* userData) +[more]static void CALLBACK endCallback(void* userData)
            -[more]static void CALLBACK errorCallback(GLenum errorCode, void* userData) +[more]static void CALLBACK errorCallback(GLenum errorCode, void* userData)

            Protected Members

            -[more]struct Vec3d +[more]struct Vec3d
            -[more]struct NewVertex +[more]struct NewVertex
            -[more]typedef std::map<osg::Vec3*,NewVertex> NewVertexList +[more]typedef std::map<osg::Vec3*,NewVertex> NewVertexList
            -[more]typedef std::vector<Vec3d*> Vec3dList +[more]typedef std::vector<Vec3d*> Vec3dList

            @@ -104,215 +104,215 @@ a small set of code for doing this job better.
            - +
            o Tesselator()

            - +

            o ~Tesselator()

            - +

            oenum InputBoundaryDirection

            - +
            o CLOCK_WISE

            - +

            o COUNTER_CLOCK_WISE

            - +
            otypedef std::vector<osg::Vec3*> VertexPointList

            - +

            ostruct Prim: public osg::Referenced

            - +
            o Prim(GLenum mode)

            - +

            otypedef std::vector<osg::Vec3*> VecList

            - +

            oGLenum _mode

            - -

            oVecList _vertices + +
            oVecList _vertices

            - +
            ovoid beginTesselation()

            - +

            ovoid beginContour()

            - -

            ovoid addVertex(osg::Vec3* vertex) + +
            ovoid addVertex(osg::Vec3* vertex)

            - +

            ovoid endContour()

            - +

            ovoid endTesselation()

            - -

            otypedef std::vector< osg::ref_ptr<Prim> > PrimList + +
            otypedef std::vector< osg::ref_ptr<Prim> > PrimList

            - -

            oPrimList& getPrimList() + +
            oPrimList& getPrimList()

            - +

            ovoid retesselatePolygons(osg::Geometry& geom)

            - +

            ovoid reset()

            - +

            ovoid begin(GLenum mode)

            - -

            ovoid vertex(osg::Vec3* vertex) + +
            ovoid vertex(osg::Vec3* vertex)

            - -

            ovoid combine(osg::Vec3* vertex, void* vertex_data[4], GLfloat weight[4]) + +
            ovoid combine(osg::Vec3* vertex, void* vertex_data[4], GLfloat weight[4])

            - +

            ovoid end()

            - +

            ovoid error(GLenum errorCode)

            - +

            ostatic void CALLBACK beginCallback(GLenum which, void* userData)

            - +

            ostatic void CALLBACK vertexCallback(GLvoid* data, void* userData)

            - +

            ostatic void CALLBACK combineCallback(GLdouble coords[3], void* vertex_data[4], GLfloat weight[4], void** outData, void* useData)

            - +

            ostatic void CALLBACK endCallback(void* userData)

            - +

            ostatic void CALLBACK errorCallback(GLenum errorCode, void* userData)

            - +

            ostruct Vec3d

            - +
            odouble _v[3]

            - +
            ostruct NewVertex

            - +
            o NewVertex()

            - -

            o NewVertex(const NewVertex& nv) + +
            o NewVertex(const NewVertex& nv)

            - +

            o NewVertex(float f1, osg::Vec3* v1, float f2, osg::Vec3* v2, float f3, osg::Vec3* v3, float f4, osg::Vec3* v4)

            - +

            ofloat _f1

            - +

            oosg::Vec3* _v1

            - +

            ofloat _f2

            - +

            oosg::Vec3* _v2

            - +

            ofloat _f3

            - +

            oosg::Vec3* _v3

            - +

            ofloat _f4

            - +

            oosg::Vec3* _v4

            - -
            otypedef std::map<osg::Vec3*,NewVertex> NewVertexList + +
            otypedef std::map<osg::Vec3*,NewVertex> NewVertexList

            - -

            otypedef std::vector<Vec3d*> Vec3dList + +
            otypedef std::vector<Vec3d*> Vec3dList

            - +

            oGLUtesselator* _tobj

            - -

            oPrimList _primList + +
            oPrimList _primList

            - -

            oVec3dList _coordData + +
            oVec3dList _coordData

            - -

            oNewVertexList _newVertexList + +
            oNewVertexList _newVertexList

            - +

            oGLenum _errorCode

            diff --git a/doc/doc++/osgUtil/TransformAttributeFunctor.html b/doc/doc++/osgUtil/TransformAttributeFunctor.html new file mode 100644 index 000000000..42086ba11 --- /dev/null +++ b/doc/doc++/osgUtil/TransformAttributeFunctor.html @@ -0,0 +1,80 @@ + + + + + class OSGUTIL_EXPORT osgUtil::TransformAttributeFunctor + + + + +

            class OSGUTIL_EXPORT osgUtil::TransformAttributeFunctor

            Functor for transforming a drawable's vertex and normal attributes by specified matrix.
            +
            + +

            Inheritance:

            + + + + + + + +
            + +
            +

            +

            Public Fields

            +[more]osg::Matrix _m +
            +[more]osg::Matrix _im +

            + +

            +

            Public Methods

            +[more] TransformAttributeFunctor(const osg::Matrix& m) +
            construct a functor to transform a drawable's vertex and normal attributes by specified matrix +
            +[more]virtual ~TransformAttributeFunctor() +
            +[more]virtual void apply(osg::Drawable::AttributeType type, unsigned int count, osg::Vec3* begin) +
            do the work of transforming vertex and normal attributes. +

            + +
            + + +
            +

            Documentation

            +
            Functor for transforming a drawable's vertex and normal attributes by specified matrix. +typically used for flattening transform down onto drawable leaves.
            +
            + + + +
            o TransformAttributeFunctor(const osg::Matrix& m) +
            construct a functor to transform a drawable's vertex and normal attributes by specified matrix +

            + + +

            ovirtual ~TransformAttributeFunctor() +

            + + +

            ovirtual void apply(osg::Drawable::AttributeType type, unsigned int count, osg::Vec3* begin) +
            do the work of transforming vertex and normal attributes. +

            + + +

            oosg::Matrix _m +

            + + +

            oosg::Matrix _im +

            + +
            This class has no child classes.
            + +

            Alphabetic index HTML hierarchy of classes or Java


            +
            +This page was generated with the help of DOC++. + + diff --git a/doc/doc++/osgUtil/TransformCallback.html b/doc/doc++/osgUtil/TransformCallback.html index 3fc3643bf..7e1073dd5 100644 --- a/doc/doc++/osgUtil/TransformCallback.html +++ b/doc/doc++/osgUtil/TransformCallback.html @@ -22,22 +22,22 @@

            Public Methods

            -[more] TransformCallback(const osg::Vec3& pivot, const osg::Vec3& axis, float angularVelocity) +[more] TransformCallback(const osg::Vec3& pivot, const osg::Vec3& axis, float angularVelocity)
            -[more]virtual void operator() (osg::Node* node, osg::NodeVisitor* nv) +[more]virtual void operator() (osg::Node* node, osg::NodeVisitor* nv)

            Protected Fields

            -[more]float _angular_velocity +[more]float _angular_velocity
            -[more]osg::Vec3 _pivot +[more]osg::Vec3 _pivot
            -[more]osg::Vec3 _axis +[more]osg::Vec3 _axis
            -[more]int _previousTraversalNumber +[more]int _previousTraversalNumber
            -[more]double _previousTime +[more]double _previousTime

            @@ -48,31 +48,31 @@
            - +
            o TransformCallback(const osg::Vec3& pivot, const osg::Vec3& axis, float angularVelocity)

            - +

            ovirtual void operator() (osg::Node* node, osg::NodeVisitor* nv)

            - +

            ofloat _angular_velocity

            - +

            oosg::Vec3 _pivot

            - +

            oosg::Vec3 _axis

            - +

            oint _previousTraversalNumber

            - +

            odouble _previousTime

            diff --git a/doc/doc++/osgUtil/TriStripVisitor.html b/doc/doc++/osgUtil/TriStripVisitor.html index 630e58262..b0ee2524b 100644 --- a/doc/doc++/osgUtil/TriStripVisitor.html +++ b/doc/doc++/osgUtil/TriStripVisitor.html @@ -23,26 +23,26 @@

            Public Methods

            -[more] TriStripVisitor() +[more] TriStripVisitor()
            default to traversing all children
            -[more]void stripify(osg::Geometry& drawable) +[more]void stripify(osg::Geometry& drawable)
            convert mesh primitives in Geometry into Tri Strips using NvTriStrip.
            -[more]virtual void apply(osg::Geode& geode) +[more]virtual void apply(osg::Geode& geode)
            apply stripify method to all geode geometry
            -[more]inline void setCacheSize( unsigned int size ) +[more]inline void setCacheSize( unsigned int size )
            -[more]inline unsigned int getCacheSize() +[more]inline unsigned int getCacheSize()
            -[more]inline const unsigned int getCacheSize() const +[more]inline const unsigned int getCacheSize() const
            -[more]inline void setMinStripSize( unsigned int size ) +[more]inline void setMinStripSize( unsigned int size )
            -[more]inline unsigned int getMinStripSize() +[more]inline unsigned int getMinStripSize()
            -[more]inline const unsigned int getMinStripSize() const +[more]inline const unsigned int getMinStripSize() const

            @@ -55,44 +55,44 @@ The current implemention is based up NVidia's NvTriStrip.
            - +
            o TriStripVisitor()
            default to traversing all children

            - +

            ovoid stripify(osg::Geometry& drawable)
            convert mesh primitives in Geometry into Tri Strips using NvTriStrip. Converts all primitive types except points and lines, linestrips which it leaves unchanged.

            - +

            ovirtual void apply(osg::Geode& geode)
            apply stripify method to all geode geometry

            - +

            oinline void setCacheSize( unsigned int size )

            - +

            oinline unsigned int getCacheSize()

            - +

            oinline const unsigned int getCacheSize() const

            - +

            oinline void setMinStripSize( unsigned int size )

            - +

            oinline unsigned int getMinStripSize()

            - +

            oinline const unsigned int getMinStripSize() const

            diff --git a/doc/doc++/osgUtil/UpdateVisitor.html b/doc/doc++/osgUtil/UpdateVisitor.html index d4a502e31..d48e5da59 100644 --- a/doc/doc++/osgUtil/UpdateVisitor.html +++ b/doc/doc++/osgUtil/UpdateVisitor.html @@ -23,48 +23,45 @@

            Public Methods

            -[more] UpdateVisitor() +[more] UpdateVisitor()
            -[more]virtual ~UpdateVisitor() +[more]virtual ~UpdateVisitor()
            -[more]virtual void reset() +[more]virtual void reset()
            -[more]virtual void apply(osg::Node& node) +[more]virtual void apply(osg::Node& node)
            -[more]virtual void apply(osg::Geode& node) +[more]virtual void apply(osg::Geode& node)
            -[more]virtual void apply(osg::Billboard& node) +[more]virtual void apply(osg::Billboard& node)
            -[more]virtual void apply(osg::LightSource& node) +[more]virtual void apply(osg::LightSource& node)
            -[more]virtual void apply(osg::Group& node) +[more]virtual void apply(osg::Group& node)
            -[more]virtual void apply(osg::Transform& node) +[more]virtual void apply(osg::Transform& node)
            -[more]virtual void apply(osg::Projection& node) +[more]virtual void apply(osg::Projection& node)
            -[more]virtual void apply(osg::Switch& node) +[more]virtual void apply(osg::Switch& node)
            -[more]virtual void apply(osg::LOD& node) +[more]virtual void apply(osg::LOD& node)
            -[more]virtual void apply(osg::Impostor& node) +[more]virtual void apply(osg::Impostor& node)
            -[more]virtual void apply(osg::OccluderNode& node) +[more]virtual void apply(osg::OccluderNode& node)

            Protected Methods

            -[more] UpdateVisitor(const UpdateVisitor&) -
            prevent unwanted copy construction -
            -[more]UpdateVisitor& operator = (const UpdateVisitor&) +[more]UpdateVisitor& operator = (const UpdateVisitor&)
            prevent unwanted copy operator
            -[more]inline void handle_callbacks_and_traverse(osg::Node& node) +[more]inline void handle_callbacks_and_traverse(osg::Node& node)
            -[more]inline void handle_geode_callbacks(osg::Geode& node) +[more]inline void handle_geode_callbacks(osg::Geode& node)
            -[more]inline void traverseGeode(osg::Geode& geode) +[more]inline void traverseGeode(osg::Geode& geode)

            @@ -79,81 +76,76 @@ it exists.
            - +
            o UpdateVisitor()

            - +

            ovirtual ~UpdateVisitor()

            - +

            ovirtual void reset()

            - +

            ovirtual void apply(osg::Node& node)

            - +

            ovirtual void apply(osg::Geode& node)

            - +

            ovirtual void apply(osg::Billboard& node)

            - +

            ovirtual void apply(osg::LightSource& node)

            - +

            ovirtual void apply(osg::Group& node)

            - +

            ovirtual void apply(osg::Transform& node)

            - +

            ovirtual void apply(osg::Projection& node)

            - +

            ovirtual void apply(osg::Switch& node)

            - +

            ovirtual void apply(osg::LOD& node)

            - +

            ovirtual void apply(osg::Impostor& node)

            - +

            ovirtual void apply(osg::OccluderNode& node)

            - - -

            o UpdateVisitor(const UpdateVisitor&) -
            prevent unwanted copy construction -

            - +

            oUpdateVisitor& operator = (const UpdateVisitor&)
            prevent unwanted copy operator

            - +

            oinline void handle_callbacks_and_traverse(osg::Node& node)

            - +

            oinline void handle_geode_callbacks(osg::Geode& node)

            - +

            oinline void traverseGeode(osg::Geode& geode)

            diff --git a/doc/doc++/osgUtil/index.html b/doc/doc++/osgUtil/index.html index 2a07e8380..267e4296b 100644 --- a/doc/doc++/osgUtil/index.html +++ b/doc/doc++/osgUtil/index.html @@ -10,7 +10,6 @@

            Table of Contents

            Namespaces

            Functions

            @@ -48,6 +47,8 @@
          • OSGUTIL_RENDERTOTEXTURESTAGE
          • OSGUTIL_SCENEVIEW
          • OSGUTIL_SMOOTHINGVISITOR +
          • OSGUTIL_STATISTICS +
          • OSGUTIL_TRANSFORMATTRIBUTEFUNCTOR
          • OSGUTIL_TRANSFORMCALLBACK
          • OSGUTIL_TRISTRIPVISITOR
          • OSGUTIL_Tesselator diff --git a/doc/doc++/osgUtil/osgUtil.html b/doc/doc++/osgUtil/osgUtil.html index 487edc9d1..18125c6ad 100644 --- a/doc/doc++/osgUtil/osgUtil.html +++ b/doc/doc++/osgUtil/osgUtil.html @@ -70,14 +70,20 @@ class OSGUTIL_EXPORT RenderToTextureStag
            RenderStage which copies the final image to an attached texture or image.
            class OSGUTIL_EXPORT SceneView: public osg::Referenced -
            SceneView is literally a view of a scene, encapsulating the camera, global state, lights and the scene itself. +
            SceneView is literally a view of a scene, encapsulating the camera (modelview+projection matrices), global state, lights and the scene itself.
            class OSGUTIL_EXPORT SmoothingVisitor: public osg::NodeVisitor
            A smoothing visitor for calculating smoothed normals for osg::GeoSet's which contains surface primitives
            +class Statistics: public osg::Drawable::PrimitiveFunctor +
            Statistics base class. +
            class OSGUTIL_EXPORT Tesselator
            A simple class for tessellating a single polygon boundary.
            +class OSGUTIL_EXPORT TransformAttributeFunctor: public osg::Drawable::AttributeFunctor +
            Functor for transforming a drawable's vertex and normal attributes by specified matrix. +
            class OSGUTIL_EXPORT TransformCallback: public osg::NodeCallback
            class OSGUTIL_EXPORT TriStripVisitor: public osg::NodeVisitor