diff --git a/doc/doc++/osg/AlphaFunc.html b/doc/doc++/osg/AlphaFunc.html index 443376a47..cc9286ce5 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(AlphaFunc, ALPHAFUNC) +[more] META_StateAttribute(AlphaFunc, ALPHAFUNC)
[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const
-[more]inline void setFunction(const ComparisonFunction func, const float ref) +[more]inline void setFunction(const ComparisonFunction func, const float ref)
[more]inline const ComparisonFunction getFunction() const
@@ -74,7 +74,7 @@
ovirtual const char* className() const
-ovirtual const Type getType() const +ovirtual const Type getType() const
obool operator < (const StateAttribute& rhs) const
@@ -105,9 +105,9 @@

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

@@ -117,7 +117,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance

@@ -160,7 +160,7 @@

-

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

@@ -169,7 +169,7 @@

-

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

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

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

diff --git a/doc/doc++/osg/AnimationPath.html b/doc/doc++/osg/AnimationPath.html index dbdccf8ce..85a2085ca 100644 --- a/doc/doc++/osg/AnimationPath.html +++ b/doc/doc++/osg/AnimationPath.html @@ -31,10 +31,10 @@ [more]virtual bool getInverse(double time, Matrix& matrix) const

get the local inverse transformation matrix for a point in time
-[more]virtual const bool computeLocalToWorldMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const +[more]virtual const bool computeLocalToWorldMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const
Get the transformation matrix which moves from local coords to world coords
-[more]virtual const bool computeWorldToLocalMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const +[more]virtual const bool computeWorldToLocalMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const
Get the transformation matrix which moves from world coords to local coords
[more]void insert(double time, const Key& key) @@ -81,12 +81,12 @@ be attached directly to Transform nodes to move subgraphs around the scene.

-

ovirtual const bool computeLocalToWorldMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const +
ovirtual const bool computeLocalToWorldMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const
Get the transformation matrix which moves from local coords to world coords

-

ovirtual const bool computeWorldToLocalMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const +
ovirtual const bool computeWorldToLocalMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const
Get the transformation matrix which moves from world coords to local coords

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

-

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

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

-

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

diff --git a/doc/doc++/osg/AttributeFunctor.html b/doc/doc++/osg/AttributeFunctor.html index d34411b3a..ba5d9770d 100644 --- a/doc/doc++/osg/AttributeFunctor.html +++ b/doc/doc++/osg/AttributeFunctor.html @@ -22,24 +22,24 @@

Public Methods

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

Protected Fields

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

@@ -50,35 +50,35 @@
- +
o AttributeFunctor(AttributeBitMask abm)

- +

ovirtual ~AttributeFunctor()

- +

ovoid setAttributeBitMask(AttributeBitMask abm)

- +

oAttributeBitMask getAttributeBitMask() const

- +

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

- +

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

- +

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

- +

oAttributeBitMask _abm


diff --git a/doc/doc++/osg/Billboard.html b/doc/doc++/osg/Billboard.html index b7470a5ab..4a9364f16 100644 --- a/doc/doc++/osg/Billboard.html +++ b/doc/doc++/osg/Billboard.html @@ -73,6 +73,8 @@
Get the const ComputeBillboardCallback
[more]inline const bool getMatrix(Matrix& modelview, const Vec3& eye_local, const Vec3& pos_local) const +
+[more]virtual const bool computeMatrix(Matrix& modelview, const Vec3& eye_local, const Vec3& pos_local) const

@@ -101,11 +103,9 @@

Protected Methods

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

@@ -261,7 +261,7 @@ and do not the reference count of gset is left unchanged. -
ovirtual const bool computeMatrix(const Matrix& modelview, const Billboard* billboard, const Vec3& eye_local, const Vec3& pos_local) const +
ovirtual const bool computeMatrix(Matrix& modelview, const Billboard* billboard, const Vec3& eye_local, const Vec3& pos_local) const = 0
Get the transformation matrix which moves from local coords to world coords

@@ -285,17 +285,17 @@ seen by cull traversers and alike
oinline const bool getMatrix(Matrix& modelview, const Vec3& eye_local, const Vec3& pos_local) const

- + +

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

+ +

ovirtual ~Billboard()

- -

ovirtual const bool computeBound() const -

- -

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

@@ -342,7 +342,7 @@ seen by cull traversers and alike


This class has no child classes.
-
Friends:
struct osg::Billboard::ComputeBillboardCallback

Alphabetic index HTML hierarchy of classes or Java


+

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++. diff --git a/doc/doc++/osg/Camera.html b/doc/doc++/osg/Camera.html index e33e5d440..3636786a3 100644 --- a/doc/doc++/osg/Camera.html +++ b/doc/doc++/osg/Camera.html @@ -43,7 +43,7 @@ [more]void setFrustum(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)
Set a perspective projection.
-[more]void setPerspective(const double fovy, const double aspectRatio, const double zNear, const double zFar) +[more]void setPerspective(const double fovy, const double aspectRatio, const double zNear, const double zFar)
Set a symmetrical perspective projection, See gluPerspective for further details.
[more]void setFOV(const double fovx, const double fovy, const double zNear, const double zFar) @@ -93,7 +93,7 @@ [more]void setView(const Vec3& eyePoint, const Vec3& lookPoint, const Vec3& upVector)
Set the View, the up vector should be orthogonal to the look vector.
-[more]void setLookAt(const Vec3& eye, const Vec3& center, const Vec3& up) +[more]void setLookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
set the position and orientation of the camera, using the same convention as gluLookAt
[more]void setLookAt(const double eyeX, const double eyeY, const double eyeZ, const double centerX, const double centerY, const double centerZ, const double upX, const double upY, const double upZ) @@ -314,7 +314,7 @@ and set perspective methods

-

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

@@ -458,7 +458,7 @@ kept for backwards compatibility.

-

ovoid setLookAt(const Vec3& eye, const Vec3& center, const Vec3& up) +
ovoid setLookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
set the position and orientation of the camera, using the same convention as gluLookAt

diff --git a/doc/doc++/osg/ClipPlane.html b/doc/doc++/osg/ClipPlane.html index 4007d77ad..2817d6b8f 100644 --- a/doc/doc++/osg/ClipPlane.html +++ b/doc/doc++/osg/ClipPlane.html @@ -25,54 +25,63 @@

Public Methods

[more] ClipPlane()
-[more] ClipPlane(const ClipPlane& cp, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more]inline ClipPlane(unsigned int no, const Vec4& plane) +
+[more]inline ClipPlane(unsigned int no, const Plane& plane) +
+[more]inline ClipPlane(unsigned int no, const double a, const double b, const double c, const 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(ClipPlane, (Type)(CLIPPLANE+_clipPlaneNum)) +[more] META_StateAttribute(ClipPlane, (Type)(CLIPPLANE+_clipPlaneNum))
-[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 setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const
-[more]void setClipPlane(const Vec4& plane) +[more]void setClipPlane(const Vec4& plane)
Set the clip plane, using a Vec4 to define plane.
-[more]void setClipPlane(const Plane& plane) +[more]void setClipPlane(const Plane& plane)
Set the clip plane, using a Plane to define plane.
-[more]void setClipPlane(const double* plane) +[more]void setClipPlane(const double* plane)
Set the clip plane, using a double[4] to define plane.
-[more]void getClipPlane(Vec4& plane) const +[more]void setClipPlane(const double a, const double b, const double c, const double d) +
Set the clip plane, using a a to define plane. +
+[more]void getClipPlane(Vec4& plane) const
Get the clip plane, values entered into a Vec4 passed to the getClipPlane.
-[more]void getClipPlane(Plane& plane) const +[more]void getClipPlane(Plane& plane) const
Get the clip plane, values entered into a Plane passed to the getClipPlane.
-[more]void getClipPlane(double* plane) const +[more]void getClipPlane(double* plane) const
Get the clip plane, values entered into a double[4] passed to the getClipPlane.
-[more]void setClipPlaneNum(const unsigned int num) +[more]void setClipPlaneNum(const unsigned int num)
Set the clip plane number.
-[more]const unsigned int getClipPlaneNum() const +[more]const unsigned int getClipPlaneNum() const
Get the clip plane number.
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const
Apply the clip plane's state to the OpenGL state machine.

Protected Fields

-[more]double _clipPlane[4] +[more]double _clipPlane[4]
-[more]unsigned int _clipPlaneNum +[more]unsigned int _clipPlaneNum

Protected Methods

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

@@ -88,7 +97,7 @@
ovirtual const char* className() const
-ovirtual const Type getType() const +ovirtual const Type getType() const
obool operator < (const StateAttribute& rhs) const
@@ -119,9 +128,9 @@

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance

@@ -169,77 +178,94 @@

-

o ClipPlane(const ClipPlane& cp, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +
oinline ClipPlane(unsigned int no, const Vec4& plane) +

+ + +

oinline ClipPlane(unsigned int no, const Plane& plane) +

+ + +

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

+ + +

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

- -

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

- +

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

- -

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

- +

ovoid setClipPlane(const Vec4& plane)
Set the clip plane, using a Vec4 to define plane.

- +

ovoid setClipPlane(const Plane& plane)
Set the clip plane, using a Plane to define plane.

- +

ovoid setClipPlane(const double* plane)
Set the clip plane, using a double[4] to define plane.

+ + +

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

- +

ovoid getClipPlane(Vec4& plane) const
Get the clip plane, values entered into a Vec4 passed to the getClipPlane.

- +

ovoid getClipPlane(Plane& plane) const
Get the clip plane, values entered into a Plane passed to the getClipPlane.

- +

ovoid getClipPlane(double* plane) const
Get the clip plane, values entered into a double[4] passed to the getClipPlane.

- +

ovoid setClipPlaneNum(const unsigned int num)
Set the clip plane number.

- +

oconst unsigned int getClipPlaneNum() const
Get the clip plane number.

- +

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

- +

ovirtual ~ClipPlane()

- +

odouble _clipPlane[4]

- +

ounsigned int _clipPlaneNum

diff --git a/doc/doc++/osg/ColorMask.html b/doc/doc++/osg/ColorMask.html index 1a7ad5259..bbdfa834d 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(ColorMask, COLORMASK) +[more] META_StateAttribute(ColorMask, COLORMASK)
[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs @@ -75,7 +75,7 @@
ovirtual const char* className() const
-ovirtual const Type getType() const +ovirtual const Type getType() const
obool operator < (const StateAttribute& rhs) const
@@ -83,7 +83,7 @@
obool operator != (const StateAttribute& rhs) const
-ovirtual void setStateSetModes(StateSet&, const GLModeValue) const +ovirtual void setStateSetModes(StateSet&, const GLModeValue) const
ovirtual void compile(State&) const

@@ -108,9 +108,9 @@

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

@@ -120,7 +120,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance

@@ -163,7 +163,7 @@

-

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

diff --git a/doc/doc++/osg/ColorMatrix.html b/doc/doc++/osg/ColorMatrix.html index aa98e35af..c0868e770 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(ColorMatrix, COLORMATRIX) +[more] META_StateAttribute(ColorMatrix, COLORMATRIX)
[more]virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs @@ -69,7 +69,7 @@
ovirtual const char* className() const
-ovirtual const Type getType() const +ovirtual const Type getType() const
obool operator < (const StateAttribute& rhs) const
@@ -77,7 +77,7 @@
obool operator != (const StateAttribute& rhs) const
-ovirtual void setStateSetModes(StateSet&, const GLModeValue) const +ovirtual void setStateSetModes(StateSet&, const GLModeValue) const
ovirtual void compile(State&) const

@@ -102,9 +102,9 @@

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance

@@ -157,7 +157,7 @@

-

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

diff --git a/doc/doc++/osg/CopyOp.html b/doc/doc++/osg/CopyOp.html index 9bf22527f..7e00c2031 100644 --- a/doc/doc++/osg/CopyOp.html +++ b/doc/doc++/osg/CopyOp.html @@ -13,35 +13,35 @@

Public Methods

-[more]typedef unsigned intinline CopyFlags CopyOp(CopyFlags flags=SHALLOW_COPY) +[more]typedef unsigned intinline CopyFlags CopyOp(CopyFlags flags=SHALLOW_COPY)
-[more]virtual ~CopyOp() +[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 +[more]virtual Object* operator() (const Object* obj) const
-[more]virtual Node* operator() (const Node* node) const +[more]virtual Node* operator() (const Node* node) const
-[more]virtual Drawable* operator() (const Drawable* drawable) const +[more]virtual Drawable* operator() (const Drawable* drawable) const
-[more]virtual StateSet* operator() (const StateSet* stateset) const +[more]virtual StateSet* operator() (const StateSet* stateset) const
-[more]virtual StateAttribute* operator() (const StateAttribute* attr) const +[more]virtual StateAttribute* operator() (const StateAttribute* attr) const
-[more]virtual Texture* operator() (const Texture* text) const +[more]virtual Texture* operator() (const Texture* text) const
-[more]virtual Image* operator() (const Image* image) const +[more]virtual Image* operator() (const Image* image) const

Public Members

-[more]enum Options +[more]enum Options

Protected Fields

-[more]CopyFlags _flags +[more]CopyFlags _flags

@@ -54,89 +54,89 @@ during copy construction and clone operation
- +
oenum Options

- +
o SHALLOW_COPY

- +

o DEEP_COPY_OBJECTS

- +

o DEEP_COPY_NODES

- +

o DEEP_COPY_DRAWABLES

- +

o DEEP_COPY_STATESETS

- +

o DEEP_COPY_STATEATTRIBUTES

- +

o DEEP_COPY_TEXTURES

- +

o DEEP_COPY_IMAGES

- +

o DEEP_COPY_ALL

- -
otypedef unsigned intinline CopyFlags CopyOp(CopyFlags flags=SHALLOW_COPY) + +
otypedef unsigned intinline CopyFlags CopyOp(CopyFlags flags=SHALLOW_COPY)

- +

ovirtual ~CopyOp()

- -

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

- +

ovirtual Object* operator() (const Object* obj) const

- +

ovirtual Node* operator() (const Node* node) const

- +

ovirtual Drawable* operator() (const Drawable* drawable) const

- +

ovirtual StateSet* operator() (const StateSet* stateset) const

- +

ovirtual StateAttribute* operator() (const StateAttribute* attr) const

- +

ovirtual Texture* operator() (const Texture* text) const

- +

ovirtual Image* operator() (const Image* image) const

- +

oCopyFlags _flags

diff --git a/doc/doc++/osg/CullFace.html b/doc/doc++/osg/CullFace.html index f3fc87946..5dce5d162 100644 --- a/doc/doc++/osg/CullFace.html +++ b/doc/doc++/osg/CullFace.html @@ -23,38 +23,38 @@

Public Methods

-[more] CullFace() +[more] CullFace()
-[more] CullFace(const CullFace& cf, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] CullFace(const CullFace& cf, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy
-[more] META_StateAttribute(CullFace, CULLFACE) +[more] META_StateAttribute(CullFace, CULLFACE)
-[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 setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const
-[more]inline void setMode(const Mode mode) +[more]inline void setMode(const Mode mode)
-[more]inline const Mode getMode() const +[more]inline const Mode getMode() const
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

Public Members

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

Protected Fields

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

Protected Methods

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

@@ -70,7 +70,7 @@
ovirtual const char* className() const
-ovirtual const Type getType() const +ovirtual const Type getType() const
obool operator < (const StateAttribute& rhs) const
@@ -101,9 +101,9 @@

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

@@ -113,7 +113,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance

@@ -146,64 +146,64 @@
- +
o CullFace()

- -

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

- -

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

- +

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

- -

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

- +

oenum Mode

- +
o FRONT

- +

o BACK

- +

o FRONT_AND_BACK

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

- -

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

- +

ovirtual void apply(State& state) const

- +

ovirtual ~CullFace()

- -

oMode _mode + +
oMode _mode


This class has no child classes.
diff --git a/doc/doc++/osg/Depth.html b/doc/doc++/osg/Depth.html index f0f33451c..9c8fcf461 100644 --- a/doc/doc++/osg/Depth.html +++ b/doc/doc++/osg/Depth.html @@ -23,54 +23,54 @@

Public Methods

-[more] Depth() +[more] Depth()
-[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(Depth, DEPTH) +[more] META_StateAttribute(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 setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const
-[more]inline void setFunction(const Function func) +[more]inline void setFunction(const Function func)
-[more]inline const Function getFunction() const +[more]inline const Function getFunction() const
-[more]inline void setWriteMask(const bool mask) +[more]inline void setWriteMask(const bool mask)
-[more]inline const bool getWriteMask() const +[more]inline const bool getWriteMask() const
-[more]inline void setRange(const double zNear, const double zFar) +[more]inline void setRange(const double zNear, const double zFar)
-[more]inline const double getZNear() const +[more]inline const double getZNear() const
-[more]inline const double getZFar() const +[more]inline const double getZFar() const
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

Public Members

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

Protected Fields

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

Protected Methods

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

@@ -86,7 +86,7 @@
ovirtual const char* className() const
-ovirtual const Type getType() const +ovirtual const Type getType() const
obool operator < (const StateAttribute& rhs) const
@@ -117,9 +117,9 @@

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

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

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance

@@ -162,115 +162,115 @@
- +
o Depth()

- -

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

- -

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

- +

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

- -

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

- +

oenum Function

- +
o NEVER

- +

o LESS

- +

o EQUAL

- +

o LEQUAL

- +

o GREATER

- +

o NOTEQUAL

- +

o GEQUAL

- +

o ALWAYS

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

- -

oinline const Function getFunction() const + +
oinline const Function getFunction() const

- +

oinline void setWriteMask(const bool mask)

- +

oinline const bool getWriteMask() const

- +

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

- +

oinline const double getZNear() const

- +

oinline const double getZFar() const

- +

ovirtual void apply(State& state) const

- +

ovirtual ~Depth()

- -

oFunction _func + +
oFunction _func

- +

obool _depthWriteMask

- +

odouble _zNear

- +

odouble _zFar

diff --git a/doc/doc++/osg/DisplaySettings.html b/doc/doc++/osg/DisplaySettings.html index 6d93f7478..64b0839f5 100644 --- a/doc/doc++/osg/DisplaySettings.html +++ b/doc/doc++/osg/DisplaySettings.html @@ -23,138 +23,138 @@

Public Methods

-[more]static DisplaySettings* instance() +[more]static DisplaySettings* instance()
Maintain a DisplaySettings singleton for objects to querry at runtime
-[more] DisplaySettings() +[more] DisplaySettings()
-[more] DisplaySettings(std::vector<std::string>& commandLine) +[more] DisplaySettings(std::vector<std::string>& commandLine)
-[more] DisplaySettings(const DisplaySettings& vs) +[more] DisplaySettings(const DisplaySettings& vs)
-[more]virtual ~DisplaySettings() +[more]virtual ~DisplaySettings()
-[more]DisplaySettings& operator = (const DisplaySettings& vs) +[more]DisplaySettings& operator = (const DisplaySettings& vs)
-[more]void merge(const DisplaySettings& vs) +[more]void merge(const DisplaySettings& vs)
-[more]void setDefaults() +[more]void setDefaults()
-[more]void readEnvironmentalVariables() +[more]void readEnvironmentalVariables()
-[more]void readCommandLine(std::vector<std::string>& commandLine) +[more]void readCommandLine(std::vector<std::string>& commandLine)
read the command line string list, removing any matched control sequences
-[more]void setStereo(const bool on) +[more]void setStereo(const bool on)
-[more]const bool getStereo() const +[more]const bool getStereo() const
-[more]void setStereoMode(const StereoMode mode) +[more]void setStereoMode(const StereoMode mode)
-[more]const StereoMode getStereoMode() const +[more]const StereoMode getStereoMode() const
-[more]void setEyeSeperation(const float eyeSeperation) +[more]void setEyeSeperation(const float eyeSeperation)
-[more]const float getEyeSeperation() const +[more]const float getEyeSeperation() const
-[more]void setScreenDistance(const float distance) +[more]void setScreenDistance(const float distance)
-[more]const float getScreenDistance() const +[more]const float getScreenDistance() const
-[more]void setSplitStereoHorizontalEyeMapping(SplitStereoHorizontalEyeMapping m) +[more]void setSplitStereoHorizontalEyeMapping(SplitStereoHorizontalEyeMapping m)
-[more]SplitStereoHorizontalEyeMapping getSplitStereoHorizontalEyeMapping() const +[more]SplitStereoHorizontalEyeMapping getSplitStereoHorizontalEyeMapping() const
-[more]void setSplitStereoHorizontalSeperation(const int s) +[more]void setSplitStereoHorizontalSeperation(const int s)
-[more]const int getSplitStereoHorizontalSeperation() const +[more]const int getSplitStereoHorizontalSeperation() const
-[more]void setSplitStereoVerticalEyeMapping(SplitStereoVerticalEyeMapping m) +[more]void setSplitStereoVerticalEyeMapping(SplitStereoVerticalEyeMapping m)
-[more]SplitStereoVerticalEyeMapping getSplitStereoVerticalEyeMapping() const +[more]SplitStereoVerticalEyeMapping getSplitStereoVerticalEyeMapping() const
-[more]void setSplitStereoVerticalSeperation(const int s) +[more]void setSplitStereoVerticalSeperation(const int s)
-[more]const int getSplitStereoVerticalSeperation() const +[more]const int getSplitStereoVerticalSeperation() const
-[more]void setScreenHeight(const float height) +[more]void setScreenHeight(const float height)
-[more]const float getScreenHeight() const +[more]const float getScreenHeight() const
-[more]void setDoubleBuffer(const bool flag) +[more]void setDoubleBuffer(const bool flag)
-[more]const bool getDoubleBuffer() const +[more]const bool getDoubleBuffer() const
-[more]void setRGB(const bool flag) +[more]void setRGB(const bool flag)
-[more]const bool getRGB() const +[more]const bool getRGB() const
-[more]void setDepthBuffer(const bool flag) +[more]void setDepthBuffer(const bool flag)
-[more]const bool getDepthBuffer() const +[more]const bool getDepthBuffer() const
-[more]void setMinimumNumAlphaBits(const unsigned int bits) +[more]void setMinimumNumAlphaBits(const unsigned int bits)
-[more]const unsigned int getMinimumNumAlphaBits() const +[more]const unsigned int getMinimumNumAlphaBits() const
-[more]const bool getAlphaBuffer() const +[more]const bool getAlphaBuffer() const
-[more]void setMinimumNumStencilBits(const unsigned int bits) +[more]void setMinimumNumStencilBits(const unsigned int bits)
-[more]const unsigned int getMinimumNumStencilBits() const +[more]const unsigned int getMinimumNumStencilBits() const
-[more]const bool getStencilBuffer() const +[more]const bool getStencilBuffer() const
-[more]void setMaxNumberOfGraphicsContexts(const int num) +[more]void setMaxNumberOfGraphicsContexts(const int num)
-[more]const int getMaxNumberOfGraphicsContexts() const +[more]const int getMaxNumberOfGraphicsContexts() const

Public Members

-[more]enum StereoMode +[more]enum StereoMode
-[more]enum SplitStereoHorizontalEyeMapping +[more]enum SplitStereoHorizontalEyeMapping
-[more]enum SplitStereoVerticalEyeMapping +[more]enum SplitStereoVerticalEyeMapping

Protected Fields

-[more]bool _stereo +[more]bool _stereo
-[more]StereoMode _stereoMode +[more]StereoMode _stereoMode
-[more]float _eyeSeperation +[more]float _eyeSeperation
-[more]float _screenDistance +[more]float _screenDistance
-[more]float _screenHeight +[more]float _screenHeight
-[more]SplitStereoHorizontalEyeMapping _splitStereoHorizontalEyeMapping +[more]SplitStereoHorizontalEyeMapping _splitStereoHorizontalEyeMapping
-[more]int _splitStereoHorizontalSeperation +[more]int _splitStereoHorizontalSeperation
-[more]SplitStereoVerticalEyeMapping _splitStereoVerticalEyeMapping +[more]SplitStereoVerticalEyeMapping _splitStereoVerticalEyeMapping
-[more]int _splitStereoVerticalSeperation +[more]int _splitStereoVerticalSeperation
-[more]bool _doubleBuffer +[more]bool _doubleBuffer
-[more]bool _RGB +[more]bool _RGB
-[more]bool _depthBuffer +[more]bool _depthBuffer
-[more]unsigned int _minimumNumberAlphaBits +[more]unsigned int _minimumNumberAlphaBits
-[more]unsigned int _minimumNumberStencilBits +[more]unsigned int _minimumNumberStencilBits
-[more]int _maxNumOfGraphicsContexts +[more]int _maxNumOfGraphicsContexts

Protected Methods

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

@@ -186,287 +186,287 @@ have been set up, and the status of stereo viewing
- +
ostatic DisplaySettings* instance()
Maintain a DisplaySettings singleton for objects to querry at runtime

- +

o DisplaySettings()

- +

o DisplaySettings(std::vector<std::string>& commandLine)

- -

o DisplaySettings(const DisplaySettings& vs) + +
o DisplaySettings(const DisplaySettings& vs)

- +

ovirtual ~DisplaySettings()

- +

oDisplaySettings& operator = (const DisplaySettings& vs)

- +

ovoid merge(const DisplaySettings& vs)

- +

ovoid setDefaults()

- +

ovoid readEnvironmentalVariables()

- +

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

- +

ovoid setStereo(const bool on)

- +

oconst bool getStereo() const

- +

oenum StereoMode

- +
o QUAD_BUFFER

- +

o ANAGLYPHIC

- +

o HORIZONTAL_SPLIT

- +

o VERTICAL_SPLIT

- -
ovoid setStereoMode(const StereoMode mode) + +
ovoid setStereoMode(const StereoMode mode)

- -

oconst StereoMode getStereoMode() const + +
oconst StereoMode getStereoMode() const

- +

ovoid setEyeSeperation(const float eyeSeperation)

- +

oconst float getEyeSeperation() const

- -

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

- +

oconst float getScreenDistance() const

- +

oenum SplitStereoHorizontalEyeMapping

- +
o LEFT_EYE_LEFT_VIEWPORT

- +

o LEFT_EYE_RIGHT_VIEWPORT

- -
ovoid setSplitStereoHorizontalEyeMapping(SplitStereoHorizontalEyeMapping m) + +
ovoid setSplitStereoHorizontalEyeMapping(SplitStereoHorizontalEyeMapping m)

- -

oSplitStereoHorizontalEyeMapping getSplitStereoHorizontalEyeMapping() const + +
oSplitStereoHorizontalEyeMapping getSplitStereoHorizontalEyeMapping() const

- -

ovoid setSplitStereoHorizontalSeperation(const int s) + +
ovoid setSplitStereoHorizontalSeperation(const int s)

- +

oconst int getSplitStereoHorizontalSeperation() const

- +

oenum SplitStereoVerticalEyeMapping

- +
o LEFT_EYE_TOP_VIEWPORT

- +

o LEFT_EYE_BOTTOM_VIEWPORT

- -
ovoid setSplitStereoVerticalEyeMapping(SplitStereoVerticalEyeMapping m) + +
ovoid setSplitStereoVerticalEyeMapping(SplitStereoVerticalEyeMapping m)

- -

oSplitStereoVerticalEyeMapping getSplitStereoVerticalEyeMapping() const + +
oSplitStereoVerticalEyeMapping getSplitStereoVerticalEyeMapping() const

- -

ovoid setSplitStereoVerticalSeperation(const int s) + +
ovoid setSplitStereoVerticalSeperation(const int s)

- +

oconst int getSplitStereoVerticalSeperation() const

- -

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

- +

oconst float getScreenHeight() const

- +

ovoid setDoubleBuffer(const bool flag)

- +

oconst bool getDoubleBuffer() const

- +

ovoid setRGB(const bool flag)

- +

oconst bool getRGB() const

- +

ovoid setDepthBuffer(const bool flag)

- +

oconst bool getDepthBuffer() const

- +

ovoid setMinimumNumAlphaBits(const unsigned int bits)

- +

oconst unsigned int getMinimumNumAlphaBits() const

- +

oconst bool getAlphaBuffer() const

- +

ovoid setMinimumNumStencilBits(const unsigned int bits)

- +

oconst unsigned int getMinimumNumStencilBits() const

- +

oconst bool getStencilBuffer() const

- +

ovoid setMaxNumberOfGraphicsContexts(const int num)

- +

oconst int getMaxNumberOfGraphicsContexts() const

- +

ovoid copy(const DisplaySettings& vs)

- +

obool _stereo

- -

oStereoMode _stereoMode + +
oStereoMode _stereoMode

- +

ofloat _eyeSeperation

- +

ofloat _screenDistance

- +

ofloat _screenHeight

- -

oSplitStereoHorizontalEyeMapping _splitStereoHorizontalEyeMapping + +
oSplitStereoHorizontalEyeMapping _splitStereoHorizontalEyeMapping

- +

oint _splitStereoHorizontalSeperation

- -

oSplitStereoVerticalEyeMapping _splitStereoVerticalEyeMapping + +
oSplitStereoVerticalEyeMapping _splitStereoVerticalEyeMapping

- +

oint _splitStereoVerticalSeperation

- +

obool _doubleBuffer

- +

obool _RGB

- +

obool _depthBuffer

- +

ounsigned int _minimumNumberAlphaBits

- +

ounsigned int _minimumNumberStencilBits

- +

oint _maxNumOfGraphicsContexts

diff --git a/doc/doc++/osg/DrawPixels.html b/doc/doc++/osg/DrawPixels.html index 8a9ede7b3..1b9723d09 100644 --- a/doc/doc++/osg/DrawPixels.html +++ b/doc/doc++/osg/DrawPixels.html @@ -23,66 +23,66 @@

Public Methods

-[more] DrawPixels() +[more] DrawPixels()
-[more] DrawPixels(const DrawPixels& drawimage, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] DrawPixels(const DrawPixels& drawimage, 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* className() const +[more]virtual const char* className() const
-[more]void setPosition(const osg::Vec3& position) +[more]void setPosition(const osg::Vec3& position)
-[more]osg::Vec3& getPosition() +[more]osg::Vec3& getPosition()
-[more]const osg::Vec3& getPosition() const +[more]const osg::Vec3& getPosition() const
-[more]void setImage(osg::Image* image) +[more]void setImage(osg::Image* image)
-[more]osg::Image* getImage() +[more]osg::Image* getImage()
-[more]const osg::Image* getImage() const +[more]const osg::Image* getImage() const
-[more]void setUseCompleteImage() +[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]const bool getUseSubImage() const +[more]const bool getUseSubImage() const
-[more]virtual void drawImmediateMode(State& state) +[more]virtual void drawImmediateMode(State& state)

Protected Fields

-[more]Vec3 _position +[more]Vec3 _position
-[more]ref_ptr<Image> _image +[more]ref_ptr<Image> _image
-[more]bool _useSubImage +[more]bool _useSubImage
-[more]unsigned int _offsetX +[more]unsigned int _offsetX
-[more]unsigned int _offsetY +[more]unsigned int _offsetY
-[more]unsigned int _width +[more]unsigned int _width
-[more]unsigned int _height +[more]unsigned int _height

Protected Methods

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

@@ -90,9 +90,9 @@

Public Methods

-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
-oinline ParentList getParents() +oinline ParentList getParents()
oinline Node* getParent(const unsigned int i)
@@ -122,17 +122,17 @@
ovoid compile(State& state)
-ovoid setDrawCallback(DrawCallback* dc) +ovoid setDrawCallback(DrawCallback* dc)
-oDrawCallback* getDrawCallback() +oDrawCallback* getDrawCallback()
-oconst DrawCallback* getDrawCallback() const +oconst DrawCallback* getDrawCallback() const
-ovoid setCullCallback(CullCallback* cc) +ovoid setCullCallback(CullCallback* cc)
-oCullCallback* getCullCallback() +oCullCallback* getCullCallback()
-oconst CullCallback* getCullCallback() const +oconst CullCallback* getCullCallback() const
ostatic void deleteDisplayList(uint contextID, uint globj)
@@ -162,7 +162,7 @@ class AttributeFunctor

Protected Fields

-oParentList _parents +oParentList _parents
oref_ptr<StateSet> _dstate
@@ -174,9 +174,9 @@ class AttributeFunctor
omutable bool _bbox_computed
-oref_ptr<DrawCallback> _drawCallback +oref_ptr<DrawCallback> _drawCallback
-oref_ptr<CullCallback> _cullCallback +oref_ptr<CullCallback> _cullCallback

@@ -198,9 +198,9 @@ class AttributeFunctor

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

@@ -210,7 +210,7 @@ class AttributeFunctor

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance

@@ -242,112 +242,112 @@ images using glDrawPixels
- +
o DrawPixels()

- -

o DrawPixels(const DrawPixels& drawimage, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
o DrawPixels(const DrawPixels& drawimage, 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* className() const

- +

ovoid setPosition(const osg::Vec3& position)

- +

oosg::Vec3& getPosition()

- +

oconst osg::Vec3& getPosition() const

- +

ovoid setImage(osg::Image* image)

- +

oosg::Image* getImage()

- +

oconst osg::Image* getImage() const

- +

ovoid setUseCompleteImage()

- -

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

- +

oconst bool getUseSubImage() const

- +

ovirtual void drawImmediateMode(State& state)

- +

oDrawPixels& operator = (const DrawPixels&)

- +

ovirtual ~DrawPixels()

- +

ovirtual const bool computeBound() const

- +

oVec3 _position

- +

oref_ptr<Image> _image

- +

obool _useSubImage

- +

ounsigned int _offsetX

- +

ounsigned int _offsetY

- +

ounsigned int _width

- +

ounsigned int _height

diff --git a/doc/doc++/osg/Drawable.html b/doc/doc++/osg/Drawable.html index c054f0c92..5ad78560b 100644 --- a/doc/doc++/osg/Drawable.html +++ b/doc/doc++/osg/Drawable.html @@ -23,156 +23,156 @@

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* className() const +[more]virtual const char* className() const
-[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(const unsigned int i) +[more]inline Node* getParent(const unsigned int i)
Get a single parent of Drawable.
-[more]inline const Node* getParent(const unsigned int i) const +[more]inline const Node* getParent(const unsigned int i) const
Get a single const parent of Drawable.
-[more]inline const unsigned int getNumParents() const +[more]inline const 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]void setSupportsDisplayList(const bool flag) +[more]void setSupportsDisplayList(const bool flag)
Set the drawable to it can or cannot be used in conjunction with OpenGL display lists.
-[more]inline const bool getSupportsDisplayList() const +[more]inline const bool getSupportsDisplayList() const
Get whether display lists are supported for this drawable instance
-[more]void setUseDisplayList(const bool flag) +[more]void setUseDisplayList(const bool flag)
When set to true, force the draw method to use OpenGL Display List for rendering.
-[more]inline const bool getUseDisplayList() const +[more]inline const bool getUseDisplayList() const
Return whether OpenGL display lists are being used for rendering
-[more]void dirtyDisplayList() +[more]void dirtyDisplayList()
Force a recompile on next draw() of any OpenGL display list associated with this geoset
-[more]void dirtyBound() +[more]void dirtyBound()
Dirty the bounding box, forcing a computeBound() on the next call to getBound().
-[more]inline const BoundingBox& getBound() const +[more]inline const BoundingBox& getBound() const
get bounding box of geoset.
-[more]void compile(State& state) +[more]void compile(State& state)
Immediately compile this drawable into an OpenGL Display List.
-[more]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]void setCullCallback(CullCallback* cc) +[more]void setCullCallback(CullCallback* cc)
Set the CullCallback which allows users to attach customize the drawing of existing Drawable object
-[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]virtual void drawImmediateMode(State& state) = 0 +[more]virtual void drawImmediateMode(State& state) = 0
draw directly ignoring an OpenGL display list which could be attached.
-[more]static void deleteDisplayList(uint contextID, uint globj) +[more]static void deleteDisplayList(uint contextID, uint globj)
use deleteDisplayList instead of glDeleteList to allow OpenGL display list to cached until they can be deleted by the OpenGL context in which they were created, specified by contextID
-[more]static void flushDeletedDisplayLists(uint contextID) +[more]static void flushDeletedDisplayLists(uint contextID)
flush all the cached display list which need to be deleted in the OpenGL context related to contextID
-[more]virtual bool getStats(Statistics&) +[more]virtual bool getStats(Statistics&)
Collect Stistics count from Drawable
-[more]virtual AttributeBitMask suppportsAttributeOperation() const +[more]virtual AttributeBitMask suppportsAttributeOperation() const
return the attributes supported by applyAttrbuteOperation() as an AttributeBitMask
-[more]virtual AttributeBitMask applyAttributeOperation(AttributeFunctor&) +[more]virtual AttributeBitMask applyAttributeOperation(AttributeFunctor&)
return the attributes successully applied in applyAttributeUpdate
-[more]inline void draw(State& state) +[more]inline void draw(State& state)
draw OpenGL primitives.

Public Members

-[more]typedef 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 DrawCallback: public osg::Referenced +[more]struct DrawCallback: public osg::Referenced
Callback attached to an Drawable which allows the users to customize the drawing of an exist Drawable object.
-[more]struct CullCallback: public osg::Referenced +[more]struct CullCallback: public osg::Referenced
-[more]typedef uint AttributeBitMaskenum AttributeBitMaskValues +[more]typedef uint AttributeBitMaskenum AttributeBitMaskValues
class AttributeFunctor

Protected Fields

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

Protected Methods

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

Protected Members

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

@@ -184,9 +184,9 @@ class AttributeFunctor
ovirtual Object* clone(const CopyOp&) const
-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

@@ -196,7 +196,7 @@ class AttributeFunctor

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance

@@ -244,78 +244,78 @@ quads are in the display list).
- +
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* className() const

- +

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

- -

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

- +

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

- +

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

- +

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

- +

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

- +

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

- +

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

- +

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

- +

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

- +

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

- +

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

- +

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

- +
ovirtual void drawImmediateMode(State& state, 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

- +

ostruct CullCallback: public osg::Referenced

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

- -
ovoid setCullCallback(CullCallback* cc) + +
ovoid setCullCallback(CullCallback* cc)
Set the CullCallback which allows users to attach customize the drawing of existing Drawable object

- -

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

- -

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

- +

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

- +

ostatic void deleteDisplayList(uint contextID, uint globj)
use deleteDisplayList instead of glDeleteList to allow OpenGL display list to cached until they can be deleted @@ -441,128 +441,128 @@ by the OpenGL context in which they were created, specified by contextID

- +

ostatic void flushDeletedDisplayLists(uint contextID)
flush all the cached display list which need to be deleted in the OpenGL context related to contextID

- +

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

- +

otypedef uint AttributeBitMaskenum AttributeBitMaskValues

- +
o COORDS

- +

o NORMALS

- +

o COLORS

- +

o TEXTURE_COORDS

- +

o TEXTURE_COORDS_0

- +

o TEXTURE_COORDS_1

- +

o TEXTURE_COORDS_2

- +

o TEXTURE_COORDS_3

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

- +

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

- +

oDrawable& operator = (const Drawable&)

- +

ovirtual ~Drawable()

- +

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

- +

ovoid addParent(osg::Node* node)

- +

ovoid removeParent(osg::Node* node)

- -

oParentList _parents + +
oParentList _parents

- +

oref_ptr<StateSet> _dstate

- +

obool _supportsDisplayList

- +

obool _useDisplayList

- +

otypedef std::vector<uint> GLObjectList mutable GLObjectList _globjList

- +

omutable BoundingBox _bbox

- +

omutable bool _bbox_computed

- -

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

- -

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

- +

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

- +

oinline void draw(State& state)
draw OpenGL primitives. If the drawable has _useDisplayList set to true then use an OpenGL display @@ -578,7 +578,7 @@ manages the optional display list. DrawPixels
-
Friends:
struct osg::Drawable::DrawCallback
struct osg::Drawable::CullCallback
class Node
class Geode

Alphabetic index HTML hierarchy of classes or Java


+
Friends:
class Node
class Geode

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++. diff --git a/doc/doc++/osg/EarthSky.html b/doc/doc++/osg/EarthSky.html index fbbb7bfd7..06f3b2f6f 100644 --- a/doc/doc++/osg/EarthSky.html +++ b/doc/doc++/osg/EarthSky.html @@ -23,35 +23,35 @@

Public Methods

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

Protected Fields

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

Protected Methods

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

@@ -107,47 +107,47 @@ are rendered prior to standard opaque and transparent drawables.
- +
o EarthSky()

- -

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

- +

o META_Node(EarthSky)

- +

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

- +

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

- +

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

- +

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

- +

ovirtual ~EarthSky()

- +

obool _requiresClear

- +

oVec4 _clearColor

diff --git a/doc/doc++/osg/Fog.html b/doc/doc++/osg/Fog.html index b676004c0..2f3c4a3fa 100644 --- a/doc/doc++/osg/Fog.html +++ b/doc/doc++/osg/Fog.html @@ -23,62 +23,62 @@

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(Fog, FOG) +[more] META_StateAttribute(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 setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const
-[more]inline void setMode( const Mode mode ) +[more]inline void setMode( const Mode mode )
-[more]inline Mode getMode() const +[more]inline Mode getMode() const
-[more]inline void setDensity( const float density ) +[more]inline void setDensity( const float density )
-[more]inline const float getDensity() const +[more]inline const float getDensity() const
-[more]inline void setStart( const float start ) +[more]inline void setStart( const float start )
-[more]inline const float getStart() const +[more]inline const float getStart() const
-[more]inline void setEnd( const float end ) +[more]inline void setEnd( const float end )
-[more]inline const float getEnd() const +[more]inline const float getEnd() const
-[more]inline void setColor( const Vec4 &color ) +[more]inline void setColor( const Vec4 &color )
-[more]inline const Vec4& getColor() const +[more]inline const Vec4& getColor() const
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

Public Members

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

Protected Fields

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

Protected Methods

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

@@ -94,7 +94,7 @@
ovirtual const char* className() const
-ovirtual const Type getType() const +ovirtual const Type getType() const
obool operator < (const StateAttribute& rhs) const
@@ -125,9 +125,9 @@

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

@@ -137,7 +137,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance

@@ -170,111 +170,111 @@
- +
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(Fog, FOG) + +
o META_StateAttribute(Fog, FOG)

- +

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

- -

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

- +

oenum Mode

- +
o LINEAR

- +

o EXP

- +

o EXP2

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

- -

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

- +

oinline void setDensity( const float density )

- +

oinline const float getDensity() const

- -

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

- +

oinline const float getStart() const

- -

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

- +

oinline const float getEnd() const

- +

oinline void setColor( const Vec4 &color )

- +

oinline const Vec4& getColor() const

- +

ovirtual void apply(State& state) const

- +

ovirtual ~Fog()

- -

oMode _mode + +
oMode _mode

- +

ofloat _density

- +

ofloat _start

- +

ofloat _end

- +

oVec4 _color

diff --git a/doc/doc++/osg/FrameStamp.html b/doc/doc++/osg/FrameStamp.html index 9879cfaeb..b52508de7 100644 --- a/doc/doc++/osg/FrameStamp.html +++ b/doc/doc++/osg/FrameStamp.html @@ -23,50 +23,50 @@

Public Methods

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

Protected Fields

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

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

- -

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

- +

o ~FrameStamp()

- +

oFrameStamp& operator = (const FrameStamp& fs)

- +

ovoid setFrameNumber(int fnum)

- +

oint getFrameNumber() const

- +

ovoid setReferenceTime(double refTime)

- +

odouble getReferenceTime() const

- - -

ovoid setCalanderTime(const tm& calanderTime) + + +
ovoid setCalendarTime(const tm& calendarTime)

- - -

ovoid getCalanderTime(tm& calanderTime) const + + +
ovoid getCalendarTime(tm& calendarTime) const

- +

oint _frameNumber

- +

odouble _referenceTime

- +

oint tm_sec

- +

oint tm_min

- +

oint tm_hour

- +

oint tm_mday

- +

oint tm_mon

- +

oint tm_year

- +

oint tm_wday

- +

oint tm_yday

- +

oint tm_isdst

diff --git a/doc/doc++/osg/FrontFace.html b/doc/doc++/osg/FrontFace.html index df745a3ae..d1f4fe756 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(FrontFace, FRONTFACE) +[more] META_StateAttribute(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(const Mode mode) +[more]inline void setMode(const Mode mode)
-[more]inline const Mode getMode() const +[more]inline const Mode getMode() const
-[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

Public Members

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

Protected Fields

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

Protected Methods

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

@@ -68,7 +68,7 @@
ovirtual const char* className() const
-ovirtual const Type getType() const +ovirtual const Type getType() const
obool operator < (const StateAttribute& rhs) const
@@ -76,7 +76,7 @@
obool operator != (const StateAttribute& rhs) const
-ovirtual void setStateSetModes(StateSet&, const GLModeValue) const +ovirtual void setStateSetModes(StateSet&, const GLModeValue) const
ovirtual void compile(State&) const

@@ -101,9 +101,9 @@

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

@@ -113,7 +113,7 @@

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance

@@ -146,56 +146,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(FrontFace, FRONTFACE) + +
o META_StateAttribute(FrontFace, FRONTFACE)

- +

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

- +

oenum Mode

- +
o CLOCKWISE

- +

o COUNTER_CLOCKWISE

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

- -

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

- +

ovirtual void apply(State& state) const

- +

ovirtual ~FrontFace()

- -

oMode _mode + +
oMode _mode


This class has no child classes.
diff --git a/doc/doc++/osg/General.html b/doc/doc++/osg/General.html index ded01ff17..f68d9a7cf 100644 --- a/doc/doc++/osg/General.html +++ b/doc/doc++/osg/General.html @@ -31,8 +31,8 @@ o#define OSG_CAMERA
-o#define -OSG_CLIPPINGVOLUME
+o#define +OSG_CLIPNODE
o#define OSG_CLIPPLANE
@@ -43,12 +43,21 @@ o#define OSG_COLORMATRIX
+o#define +OSG_CONVEXPLANEROCCLUDER
+ +o#define +OSG_CONVEXPLANERPOLYGON
+ o#define OSG_COPYOP
o#define OSG_CULLFACE
+o#define +OSG_CullingSet
+ o#define OSG_DEPTH
@@ -82,6 +91,9 @@ o#define NULL((void *)
+o#define +OSG_FAST_BACK_STACK
+ o#define OSG_FOG
@@ -259,6 +271,9 @@ o#define OSG_OBJECT
+o#define +OSG_OCCLUDERNODE
+ o#define OSG_PLANE
@@ -271,6 +286,9 @@ o#define OSG_POLYGONOFFSET
+o#define +OSG_POLYTOPE
+ o#define OSG_POSITIONATTITIDETRANSFORM
@@ -289,6 +307,9 @@ o#define OSG_SHADEMODEL
+o#define +OSG_SHADOWOCCLUDERVOLUME
+ o#define OSG_STATE
@@ -394,6 +415,9 @@ o#define OSG_TIMER
+opragma +optimize("", off)
+ opragmaoptimize("", on) (x)(".byte 0x0f, 0x31" : "=A" (x))
diff --git a/doc/doc++/osg/GeoSet.html b/doc/doc++/osg/GeoSet.html index fe31363ef..b3cf763d0 100644 --- a/doc/doc++/osg/GeoSet.html +++ b/doc/doc++/osg/GeoSet.html @@ -23,310 +23,310 @@

Public Methods

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

Public Members

-[more]enum PrimitiveType +[more]enum PrimitiveType
-[more]enum BindingType +[more]enum BindingType
-[more]enum InterleaveArrayType +[more]enum InterleaveArrayType
-[more]struct IndexPointer +[more]struct IndexPointer
-[more]struct AttributeDeleteFunctor: public osg::Referenced +[more]struct AttributeDeleteFunctor: public osg::Referenced
function object which is used to handling the clean up of attribute arrays associated with GeoSet's.

Protected Fields

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

Protected Methods

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

@@ -334,9 +334,9 @@

Public Methods

-oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
-oinline ParentList getParents() +oinline ParentList getParents()
oinline Node* getParent(const unsigned int i)
@@ -366,17 +366,17 @@
ovoid compile(State& state)
-ovoid setDrawCallback(DrawCallback* dc) +ovoid setDrawCallback(DrawCallback* dc)
-oDrawCallback* getDrawCallback() +oDrawCallback* getDrawCallback()
-oconst DrawCallback* getDrawCallback() const +oconst DrawCallback* getDrawCallback() const
-ovoid setCullCallback(CullCallback* cc) +ovoid setCullCallback(CullCallback* cc)
-oCullCallback* getCullCallback() +oCullCallback* getCullCallback()
-oconst CullCallback* getCullCallback() const +oconst CullCallback* getCullCallback() const
ostatic void deleteDisplayList(uint contextID, uint globj)
@@ -400,7 +400,7 @@ class AttributeFunctor

Protected Fields

-oParentList _parents +oParentList _parents
oref_ptr<StateSet> _dstate
@@ -412,9 +412,9 @@ class AttributeFunctor
omutable bool _bbox_computed
-oref_ptr<DrawCallback> _drawCallback +oref_ptr<DrawCallback> _drawCallback
-oref_ptr<CullCallback> _cullCallback +oref_ptr<CullCallback> _cullCallback

@@ -436,9 +436,9 @@ class AttributeFunctor

Public Methods

-oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
-oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

@@ -448,7 +448,7 @@ class AttributeFunctor

Protected Fields

-oDataVariance _dataVariance +oDataVariance _dataVariance

@@ -484,576 +484,576 @@ be shared for optimal memory usage and graphics performance.
- +
oenum PrimitiveType

- +
o NO_TYPE

- +

o POINTS

- +

o LINES

- +

o LINE_STRIP

- +

o FLAT_LINE_STRIP

- +

o LINE_LOOP

- +

o TRIANGLES

- +

o TRIANGLE_STRIP

- +

o FLAT_TRIANGLE_STRIP

- +

o TRIANGLE_FAN

- +

o FLAT_TRIANGLE_FAN

- +

o QUADS

- +

o QUAD_STRIP

- +

o POLYGON

- +
oenum BindingType

- +
o BIND_OFF

- +

o BIND_OVERALL

- +

o BIND_PERPRIM

- +

o BIND_PERVERTEX

- +

o BIND_DEFAULT

- +
oenum InterleaveArrayType

- +
o IA_OFF

- +

o IA_V2F

- +

o IA_V3F

- +

o IA_C4UB_V2F

- +

o IA_C4UB_V3F

- +

o IA_C3F_V3F

- +

o IA_N3F_V3F

- +

o IA_C4F_N3F_V3F

- +

o IA_T2F_V3F

- +

o IA_T4F_V4F

- +

o IA_T2F_C4UB_V3F

- +

o IA_T2F_C3F_V3F

- +

o IA_T2F_N3F_V3F

- +

o IA_T2F_C4F_N3F_V3F

- +

o IA_T4F_C4F_N3F_V4F

- +
ostruct IndexPointer

- +
omutable uint _size

- +

obool _is_ushort

- +

ounion

- +
oushort* _ushort

- +

ouint* _uint

- +
o IndexPointer()

- -

oinline const bool operator == (const IndexPointer& ip) const + +
oinline const bool operator == (const IndexPointer& ip) const

- +

oinline const bool valid() const

- +

oinline const bool null() const

- +

oinline void setToNull()

- -

oinline void set(uint size, ushort* data) + +
oinline void set(uint size, ushort* data)

- -

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

- +

oinline const uint maxIndex() const

- +

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

- +
o GeoSet()

- -

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

- +

ovirtual Object* cloneType() const

- +

ovirtual Object* clone(const CopyOp& copyop) const

- +

ovirtual bool isSameKindAs(const Object* obj) const

- +

ovirtual const char* className() const

- +

oinline void setNumPrims( const int n )

- +

oinline const int getNumPrims() const

- -

ovoid setPrimType( const PrimitiveType type ) + +
ovoid setPrimType( const PrimitiveType type )

- -

oinline const PrimitiveType getPrimType() const + +
oinline const PrimitiveType getPrimType() const

- +

oinline void setPrimLengths( int* lens )

- +

oinline int* getPrimLengths()

- +

oinline const int* getPrimLengths() const

- +

ovoid computeNumVerts() const

- +

oinline const int getNumCoords() const
get the number of coords required by the defined primitives.

- +

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

- +

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

- +

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

- -

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

- -

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

- +

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

- +

ovoid setCoords( Vec3* cp, ushort* ci )
set the coords (ie the geometry) and ushort indices of the geoset. To reduce memory footprint and bandwidth for small datasets it is recommended the ushort indices are used instead of unit indices.

- +

ovoid setCoords( Vec3* cp, uint* ci )
set the coords (ie the geometry) and uint indices of the geoset. Unless your data set exceeds 65536 indices prefer ushort indices over uint indices, only use this unit indices version if necessary.

- -

ovoid setCoords( Vec3* cp, IndexPointer& ip ) + +
ovoid setCoords( Vec3* cp, IndexPointer& ip )
set the coords (ie the geometry) and indices of the geoset

- +

oinline const int getNumNormals() const
get the number of normals required by the defined primitives and normals binding

- +

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

- +

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

- +

oinline int getNumNormalIndices() const
get the number of normal indices required by the defined primitives and normals binding

- -

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

- -

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

- +

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

- +

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

- +

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

- -

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

- -

ovoid setNormalBinding( const BindingType binding ) + +
ovoid setNormalBinding( const BindingType binding )
set the normals binding to the vertices/primitives/overall

- -

oinline const BindingType getNormalBinding() const + +
oinline const BindingType getNormalBinding() const

- +

oinline const int getNumColors() const
get the number of colors required by the defined primitives and color binding

- +

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

- +

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

- +

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

- -

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

- -

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

- +

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

- +

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

- +

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

- -

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

- -

ovoid setColorBinding( const BindingType binding ) + +
ovoid setColorBinding( const BindingType binding )
set the color binding to the vertices/primitives/overall

- -

oinline BindingType getColorBinding() const + +
oinline BindingType getColorBinding() const

- +

oinline const int getNumTextureCoords() const
get the number of texture coords required by the defined primitives and textures binding

- +

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

- +

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

- +

oinline const int getNumTextureIndices() const
get the number of texture coord indices required by the defined primitives and texture binding

- -

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

- -

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

- +

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

- +

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

- +

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

- -

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

- -

ovoid setTextureBinding( const BindingType binding ) + +
ovoid setTextureBinding( const BindingType binding )
set the texture coord binding to the vertices/primitives/overall

- -

oinline const BindingType getTextureBinding() const + +
oinline const BindingType getTextureBinding() const

- +

oinline const int getNumInterleavedCoords() const
get the number of texture coords required by the defined primitives and textures binding

- +

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

- +

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

- +

oinline const int getNumInterleavedIndices() const
get the number of texture coord indices required by the defined primitives and texture binding

- -

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

- -

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

- -

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

- -

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

- -

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

- -

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

- -

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

- +

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

- +

oconst bool check() const

- +

ostruct AttributeDeleteFunctor: public osg::Referenced
function object which is used to handling the clean up of attribute arrays associated with GeoSet's. A default is provided which assumes that all @@ -1063,174 +1063,174 @@ a specify your own memory deletion operation.

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

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

- -

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

- -

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

- +

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

- +

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

- +

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

- +

oGeoSet& operator = (const GeoSet&)

- +

ovirtual ~GeoSet()

- +

ovirtual const bool computeBound() const

- -

oref_ptr<AttributeDeleteFunctor> _adf + +
oref_ptr<AttributeDeleteFunctor> _adf

- +

oint _numprims

- -

oPrimitiveType _primtype + +
oPrimitiveType _primtype

- +

oint _needprimlen

- +

ounsigned int _oglprimtype

- +

oint* _primLengths

- +

omutable unsigned char _primlength

- +

ounsigned char _flat_shaded_skip

- +

omutable int _numcoords

- +

oVec3* _coords

- -

oIndexPointer _cindex + +
oIndexPointer _cindex

- -

oBindingType _normal_binding + +
oBindingType _normal_binding

- +

omutable int _numnormals

- +

oVec3* _normals

- -

oIndexPointer _nindex + +
oIndexPointer _nindex

- -

oBindingType _color_binding + +
oBindingType _color_binding

- +

omutable int _numcolors

- +

oVec4* _colors

- -

oIndexPointer _colindex + +
oIndexPointer _colindex

- -

oBindingType _texture_binding + +
oBindingType _texture_binding

- +

omutable int _numtcoords

- +

oVec2* _tcoords

- -

oIndexPointer _tindex + +
oIndexPointer _tindex

- +

ovoid* _iarray

- -

oIndexPointer _iaindex + +
oIndexPointer _iaindex

- -

oInterleaveArrayType _iaformat + +
oInterleaveArrayType _iaformat

- +

ounsigned int _ogliaformat

- +

oint _fast_path

- +

ovoid set_fast_path( void )

- +

ovoid draw_fast_path( void )

- +

ovoid draw_alternate_path( void )

diff --git a/doc/doc++/osg/Geode.html b/doc/doc++/osg/Geode.html index 9a36715ba..b482ea4aa 100644 --- a/doc/doc++/osg/Geode.html +++ b/doc/doc++/osg/Geode.html @@ -23,54 +23,54 @@

Public Methods

-[more]typedef std::vector< ref_ptr<Drawable> > DrawableList Geode() +[more]typedef std::vector< ref_ptr<Drawable> > DrawableList 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(Geode) +[more] META_Node(Geode)
-[more]virtual const bool addDrawable( Drawable* drawable ) +[more]virtual const bool addDrawable( Drawable* drawable )
Add Drawable to Geode.
-[more]virtual const bool removeDrawable( Drawable* drawable ) +[more]virtual const bool removeDrawable( Drawable* drawable )
Remove Drawable from Geode.
-[more]virtual const bool replaceDrawable( Drawable* origDraw, Drawable* newDraw ) +[more]virtual const bool replaceDrawable( Drawable* origDraw, Drawable* newDraw )
Replace specified Drawable with another Drawable.
-[more]inline const int getNumDrawables() const +[more]inline const int getNumDrawables() const
return the number of geoset's
-[more]inline Drawable* getDrawable( const int i ) +[more]inline Drawable* getDrawable( const int i )
return geoset at position i
-[more]inline const Drawable* getDrawable( const int i ) const +[more]inline const Drawable* getDrawable( const int i ) const
return geoset at position i
-[more]inline const bool containsDrawable(const Drawable* gset) const +[more]inline const bool containsDrawable(const Drawable* gset) const
return true if geoset is contained within Geode
-[more]inline DrawableList::iterator findDrawable(const Drawable* gset) +[more]inline DrawableList::iterator findDrawable(const Drawable* gset)
return the iterator position for specified Drawable.
-[more]inline DrawableList::const_iterator findDrawable(const Drawable* gset) const +[more]inline DrawableList::const_iterator findDrawable(const Drawable* gset) const
return the const_iterator position for specified Drawable.
-[more]void compileDrawables(State& state) +[more]void compileDrawables(State& state)
compile OpenGL Display List for each geoset

Protected Fields

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

Protected Methods

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

@@ -82,20 +82,20 @@
- +
otypedef std::vector< ref_ptr<Drawable> > DrawableList 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(Geode)

- +

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

- +

ovirtual const bool removeDrawable( Drawable* drawable )
Remove Drawable from Geode. If gset is contained in Geode then remove it from the geoset @@ -114,7 +114,7 @@ return true for success. If gset is not found then return false and do not change the reference count of gset.

- +

ovirtual const bool replaceDrawable( Drawable* origDraw, Drawable* newDraw )
Replace specified Drawable with another Drawable. Decrement the reference count origGSet and increments the @@ -125,52 +125,52 @@ add newGset. If newGset is NULL then return false and do not remove origGset.

- +

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

- +

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

- +

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

- +

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

- +

oinline DrawableList::iterator findDrawable(const Drawable* gset)
return the iterator position for specified Drawable. return _geoset.end() if gset not is contained in Geode.

- +

oinline DrawableList::const_iterator findDrawable(const Drawable* gset) const
return the const_iterator position for specified Drawable. return _geoset.end() if gset not is contained in Geode.

- +

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

- +

ovirtual ~Geode()

- +

ovirtual const bool computeBound() const

- +

oDrawableList _drawables


diff --git a/doc/doc++/osg/Group.html b/doc/doc++/osg/Group.html index 4e8f905b4..d23ab023b 100644 --- a/doc/doc++/osg/Group.html +++ b/doc/doc++/osg/Group.html @@ -11,11 +11,11 @@

Inheritance:

- - - - - + + + + +
@@ -23,53 +23,53 @@

Public Methods

-[more]typedef std::vector<ref_ptr<Node> > ChildList Group() +[more]typedef std::vector<ref_ptr<Node> > ChildList 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(Group) +[more] META_Node(Group)
-[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 removeChild( Node* child )
Remove Node from Group.
-[more]virtual bool replaceChild( Node* origChild, Node* newChild ) +[more]virtual bool replaceChild( Node* origChild, Node* newChild )
Replace specified Node with another Node.
-[more]inline const unsigned int getNumChildren() const +[more]inline const unsigned int getNumChildren() const
return the number of chilren nodes
-[more]inline Node* getChild( const unsigned int i ) +[more]inline Node* getChild( const unsigned int i )
return child node at position i
-[more]inline const Node* getChild( const unsigned int i ) const +[more]inline const Node* getChild( const 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 ChildList::iterator findNode( const Node* node ) +[more]inline ChildList::iterator findNode( const Node* node )
return the iterator position for specified Node.
-[more]inline ChildList::const_iterator findNode( const Node* node ) const +[more]inline ChildList::const_iterator findNode( const Node* node ) const
return the const_iterator position for specified Node.

Protected Fields

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

Protected Methods

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

@@ -83,24 +83,24 @@ with memory management handled automatically via osg::Referenced.
- +
otypedef std::vector<ref_ptr<Node> > ChildList Group()

- -

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

- +

o META_Node(Group)

- +

ovirtual void traverse(NodeVisitor& nv)

- +

ovirtual bool addChild( Node* child )
Add Node to Group. If node is not NULL and is not contained in Group then increment its @@ -109,7 +109,7 @@ sphere to force it to recompute on next getBound() and return true for success. Otherwise return false. Scene nodes can't be added as child nodes.

- +

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

- +

ovirtual bool replaceChild( Node* origChild, Node* newChild )
Replace specified Node with another Node. Decrement the reference count origNode and increments the @@ -130,47 +130,47 @@ add newNode. If newNode is NULL then return false and do not remove origNode. Also returns false if newChild is a Scene node.

- +

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

- +

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

- +

oinline const Node* getChild( const 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 ChildList::iterator findNode( const Node* node )
return the iterator position for specified Node. return _children.end() if node is not contained in Group.

- +

oinline ChildList::const_iterator findNode( const Node* node ) const
return the const_iterator position for specified Node. return _children.end() if node is not contained in Group.

- +

ovirtual ~Group()

- +

ovirtual const bool computeBound() const

- +

oChildList _children


@@ -178,8 +178,11 @@ return _children.end() if node is not contained in Group.
Transform
Switch
Projection
+OccluderNode
+LightSource
LOD
EarthSky
+ClipNode

Alphabetic index HTML hierarchy of classes or Java


diff --git a/doc/doc++/osg/HIER.html b/doc/doc++/osg/HIER.html index f18ddea5c..0ff2f13fa 100644 --- a/doc/doc++/osg/HIER.html +++ b/doc/doc++/osg/HIER.html @@ -16,7 +16,7 @@
  • osg::BoundingBox
  • osg::BoundingSphere -
  • osg::ClippingVolume +
  • osg::ConvexPlanerPolygon
  • osg::CopyOp
  • osg::Geode

    Alphabetic index



    diff --git a/doc/doc++/osg/HIERjava.html b/doc/doc++/osg/HIERjava.html index 57e68bb6d..78d62eb0d 100644 --- a/doc/doc++/osg/HIERjava.html +++ b/doc/doc++/osg/HIERjava.html @@ -30,7 +30,7 @@
  • - + @@ -57,18 +57,11 @@ - - - - - - - - - - - - + + + + + @@ -79,17 +72,31 @@ + + + + + + + - - - - - + + + + + + + + + + + + @@ -121,6 +128,13 @@ + + + + + + + diff --git a/doc/doc++/osg/Image.html b/doc/doc++/osg/Image.html index 1c3418560..44ae0f483 100644 --- a/doc/doc++/osg/Image.html +++ b/doc/doc++/osg/Image.html @@ -23,134 +23,140 @@

    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* className() const +[more]virtual const char* className() const
    -[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 createImage(int s, int t, int r, GLenum format, GLenum type, int packing=1) +[more]void createImage(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, int packing=1) +[more]void setImage(int s, int t, int r, GLint internalTextureformat, GLenum format, GLenum type, unsigned char* data, 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 scaleImage(const int s, const int t, const int r) +[more]void scaleImage(const int s, const int t, const int r)
    Scale image to specified size.
    -[more]inline const int s() const +[more]inline const int s() const
    Width of image
    -[more]inline const int t() const +[more]inline const int t() const
    Height of image
    -[more]inline const int r() const +[more]inline const int r() const
    Depth of image
    -[more]void setInternalTextureFormat(GLint internalFormat) +[more]void setInternalTextureFormat(GLint internalFormat)
    -[more]inline const GLint getInternalTextureFormat() const +[more]inline const GLint getInternalTextureFormat() const
    -[more]void setPixelFormat(const GLenum format) +[more]void setPixelFormat(const GLenum format)
    -[more]inline const GLenum getPixelFormat() const +[more]inline const GLenum getPixelFormat() const
    -[more]inline const GLenum getDataType() const +[more]inline const GLenum getDataType() const
    -[more]inline const unsigned int getPacking() const +[more]inline const unsigned int getPacking() const
    -[more]inline const unsigned int getPixelSizeInBits() const +[more]inline const unsigned int getPixelSizeInBits() const
    return the numbers of bits required for each pixel
    -[more]inline const unsigned int getRowSizeInBytes() const +[more]inline const unsigned int getRowSizeInBytes() const
    return the numbers of bytes each row of pixels occupies once it has been packed
    -[more]inline const unsigned int getImageSizeInBytes() const +[more]inline const unsigned int getImageSizeInBytes() const
    return the numbers of bytes each image (_s*_t) of pixels occupies
    -[more]inline const unsigned int getTotalSizeInBytes() const +[more]inline const unsigned int getTotalSizeInBytes() const
    return the numbers of bytes the whole row/image/volume of pixels occupies
    -[more]inline unsigned char* data() +[more]inline unsigned char* data()
    raw image data
    -[more]inline const unsigned char* data() const +[more]inline const unsigned char* data() const
    raw const image data
    -[more]unsigned char* data(int column, int row=0, int image=0) +[more]unsigned char* data(int column, int row=0, int image=0)
    -[more]void ensureValidSizeForTexturing() +[more]void flipHorizontal(int image=0) +
    Flip the image horizontally +
    +[more]void flipVertical(int image=0) +
    Flip the image vertically +
    +[more]void ensureValidSizeForTexturing()
    Ensure image dimensions are a power of two.
    -[more]inline void dirty() +[more]inline void dirty()
    Dirty the image, which increments the modified flag, to force osg::Texture to reload the image
    -[more]inline void setModifiedTag(const unsigned int value) +[more]inline void setModifiedTag(const unsigned int value)
    Set the modified tag value, only used by osg::Texture when using texture subloading.
    -[more]inline const unsigned int getModifiedTag() const +[more]inline const unsigned int getModifiedTag() const
    Get modified tag value, only used by osg::Texture when using texture subloading.
    -[more]static const bool isPackedType(GLenum type) +[more]static const bool isPackedType(GLenum type)
    -[more]static const unsigned int computeNumComponents(GLenum format) +[more]static const unsigned int computeNumComponents(GLenum format)
    -[more]static const unsigned int computePixelSizeInBits(GLenum format, GLenum type) +[more]static const unsigned int computePixelSizeInBits(GLenum format, GLenum type)
    -[more]static const unsigned int computeRowWidthInBytes(int width, GLenum format, GLenum type, int packing) +[more]static const unsigned int computeRowWidthInBytes(int width, GLenum format, GLenum type, int packing)
    -[more]typedef std::vector< unsigned int >inline MipmapDataType bool isMipmap() const +[more]typedef std::vector< unsigned int >inline MipmapDataType bool isMipmap() const
    -[more]unsigned int getNumMipmaps() const +[more]unsigned int getNumMipmaps() 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

    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]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&)

    @@ -158,9 +164,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

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

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -201,45 +207,45 @@
    - +
    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* className() const

    - +

    ovoid setFileName(const std::string& fileName)

    - +

    oinline const std::string& getFileName() const

    - -

    ovoid createImage(int s, int t, int r, GLenum format, GLenum type, int packing=1) + +
    ovoid createImage(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, int packing=1) + +
    ovoid setImage(int s, int t, int r, GLint internalTextureformat, GLenum format, GLenum type, unsigned char* data, 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, @@ -247,92 +253,102 @@ 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. if pixelFormat or dataType

    - -

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

    - +

    oinline const int s() const
    Width of image

    - +

    oinline const int t() const
    Height of image

    - +

    oinline const int r() const
    Depth of image

    - +

    ovoid setInternalTextureFormat(GLint internalFormat)

    - +

    oinline const GLint getInternalTextureFormat() const

    - +

    ovoid setPixelFormat(const GLenum format)

    - +

    oinline const GLenum getPixelFormat() const

    - +

    oinline const GLenum getDataType() const

    - +

    oinline const unsigned int getPacking() const

    - +

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

    - +

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

    - +

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

    - +

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

    - +

    oinline unsigned char* data()
    raw image data

    - +

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

    - +

    ounsigned char* data(int column, int row=0, int image=0)

    + + +

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

    + + +

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

    - +

    ovoid ensureValidSizeForTexturing()
    Ensure image dimensions are a power of two. Mip Mapped texture require the image dimensions to be @@ -340,102 +356,102 @@ 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(const unsigned int value)
    Set the modified tag value, only used by osg::Texture when using texture subloading.

    - +

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

    - +

    ostatic const bool isPackedType(GLenum type)

    - +

    ostatic const unsigned int computeNumComponents(GLenum format)

    - +

    ostatic const unsigned int computePixelSizeInBits(GLenum format, GLenum type)

    - -

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

    - +

    otypedef std::vector< unsigned int >inline MipmapDataType bool isMipmap() const

    - +

    ounsigned int getNumMipmaps() const

    - +

    oinline void setMipmapData(const MipmapDataType& mipmapDataVector)

    - +

    oinline unsigned char* getMipmapData(unsigned int mipmapNumber) const

    - +

    ovirtual ~Image()

    - +

    oImage& operator = (const Image&)

    - +

    ostd::string _fileName

    - +

    oint _s

    - +

    oint _t

    - +

    oint _r

    - +

    oGLint _internalTextureFormat

    - +

    oGLenum _pixelFormat

    - +

    oGLenum _dataType

    - +

    ounsigned int _packing

    - +

    ounsigned char* _data

    - +

    ounsigned int _modifiedTag

    - +

    oMipmapDataType _mipmapData

    diff --git a/doc/doc++/osg/Impostor.html b/doc/doc++/osg/Impostor.html index 2cf06add3..59c250f1b 100644 --- a/doc/doc++/osg/Impostor.html +++ b/doc/doc++/osg/Impostor.html @@ -23,47 +23,47 @@

    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(Impostor) +[more] META_Node(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 const float getImpostorThreshold() const +[more]inline const float getImpostorThreshold() const
    -[more]inline const float getImpostorThreshold2() const +[more]inline const float getImpostorThreshold2() const
    -[more]ImpostorSprite* findBestImpostorSprite(const osg::Vec3& currLocalEyePoint) +[more]ImpostorSprite* findBestImpostorSprite(const osg::Vec3& currLocalEyePoint)
    Find the ImposterSprite which fits the current eye point best
    -[more]void addImpostorSprite(ImpostorSprite* is) +[more]void addImpostorSprite(ImpostorSprite* is)
    Add an ImpostorSprite to the Impostor
    -[more]inline ImpostorSpriteList& getImpostorSpriteList() +[more]inline ImpostorSpriteList& getImpostorSpriteList()
    Get the list of ImpostorSprites attached to this Impostor
    -[more]inline const ImpostorSpriteList& getImpostorSpriteList() const +[more]inline const ImpostorSpriteList& getImpostorSpriteList() const
    Get a const list of ImpostorSprites attached to this const Impostor

    Protected Fields

    -[more]ImpostorSpriteList _impostorSpriteList +[more]ImpostorSpriteList _impostorSpriteList
    -[more]float _impostorThreshold +[more]float _impostorThreshold

    Protected Methods

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

    @@ -79,17 +79,19 @@
    oinline const unsigned int getNumRanges() const
    -oinline void setCenter(const Vec3 &center) +oinline void setCenter(const Vec3 &center)
    oinline const Vec3& getCenter() const
    -ovoid setEvaluateLODCallback(EvaluateLODCallback* cbc) +ovoid setEvaluateLODCallback(EvaluateLODCallback* cbc)
    -oEvaluateLODCallback* getEvaluateLODCallback() +oEvaluateLODCallback* getEvaluateLODCallback()
    -oconst EvaluateLODCallback* getEvaluateLODCallback() const +oconst EvaluateLODCallback* getEvaluateLODCallback() const
    oinline const int evaluate(const Vec3& eye_local, const float bias=1.0f) const +
    +ovirtual const int evaluateLODChild(const Vec3& eye_local, const float bias) const

    @@ -101,16 +103,11 @@

    Protected Fields

    oRangeList _rangeList2
    -oref_ptr<EvaluateLODCallback> _evaluateLODCallback +oref_ptr<EvaluateLODCallback> _evaluateLODCallback
    oVec3 _center

    -

    -

    Protected Methods

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

    -

    Protected Members

    otypedef std::vector<float> RangeList RangeList _rangeList @@ -190,72 +187,72 @@ 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(Impostor)

    - -

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

    - +

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

    - +

    oinline const float getImpostorThreshold() const

    - +

    oinline const float getImpostorThreshold2() const

    - +

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

    - +

    ovoid addImpostorSprite(ImpostorSprite* is)
    Add an ImpostorSprite to the Impostor

    - +

    oinline ImpostorSpriteList& getImpostorSpriteList()
    Get the list of ImpostorSprites attached to this Impostor

    - +

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

    - +

    ovirtual ~Impostor()

    - +

    ovirtual const bool computeBound() const

    - +

    oImpostorSpriteList _impostorSpriteList

    - +

    ofloat _impostorThreshold

    diff --git a/doc/doc++/osg/ImpostorSprite.html b/doc/doc++/osg/ImpostorSprite.html index 02fafd7c1..bc48b6b0f 100644 --- a/doc/doc++/osg/ImpostorSprite.html +++ b/doc/doc++/osg/ImpostorSprite.html @@ -23,112 +23,112 @@

    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* 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(const int frameNumber) +[more]inline void setLastFrameUsed(const int frameNumber)
    Set the frame number for when the ImpostorSprite was last used in rendering
    -[more]inline int getLastFrameUsed() const +[more]inline int getLastFrameUsed() const
    Get the frame number for when the ImpostorSprite was last used in rendering
    -[more]inline Vec3* getCoords() +[more]inline Vec3* getCoords()
    Get the coordinates of the corners of the quad.
    -[more]inline const Vec3* getCoords() const +[more]inline const Vec3* getCoords() const
    Get the const coordinates of the corners of the quad
    -[more]inline Vec2* getTexCoords() +[more]inline Vec2* getTexCoords()
    Get the texture coordinates of the corners of the quad.
    -[more]inline const Vec2* getTexCoords() const +[more]inline const Vec2* getTexCoords() const
    Get the const texture coordinates of the corners of the quad
    -[more]inline Vec3* getControlCoords() +[more]inline Vec3* getControlCoords()
    Get the control coordinates of the corners of the quad.
    -[more]inline const Vec3* getControlCoords() const +[more]inline const Vec3* getControlCoords() const
    Get the const control coordinates of the corners of the quad
    -[more]const float calcPixelError(const Matrix& MVPW) const +[more]const 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(Texture* tex, int s, int t) +[more]void setTexture(Texture* tex, int s, int t)
    -[more]Texture* getTexture() +[more]Texture* getTexture()
    -[more]const Texture* getTexture() const +[more]const Texture* getTexture() const
    -[more]const int s() const +[more]const int s() const
    -[more]const int t() const +[more]const int t() const
    -[more]virtual void drawImmediateMode(State& state) +[more]virtual void drawImmediateMode(State& state)
    draw ImpostorSprite directly.
    -[more]bool getStats(Statistics &stat) +[more]bool getStats(Statistics &stat)

    Protected Fields

    -[more]Impostor* _parent +[more]Impostor* _parent
    -[more]ImpostorSpriteManager* _ism +[more]ImpostorSpriteManager* _ism
    -[more]ImpostorSprite* _previous +[more]ImpostorSprite* _previous
    -[more]ImpostorSprite* _next +[more]ImpostorSprite* _next
    -[more]int _lastFrameUsed +[more]int _lastFrameUsed
    -[more]Vec3 _storedLocalEyePoint +[more]Vec3 _storedLocalEyePoint
    -[more]Vec3 _coords[4] +[more]Vec3 _coords[4]
    -[more]Vec2 _texcoords[4] +[more]Vec2 _texcoords[4]
    -[more]Vec3 _controlcoords[4] +[more]Vec3 _controlcoords[4]
    -[more]Texture* _texture +[more]Texture* _texture
    -[more]int _s +[more]int _s
    -[more]int _t +[more]int _t

    Protected Methods

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

    @@ -136,9 +136,9 @@

    Public Methods

    -oinline const ParentList& getParents() const +oinline const ParentList& getParents() const
    -oinline ParentList getParents() +oinline ParentList getParents()
    oinline const unsigned int getNumParents() const
    @@ -164,17 +164,17 @@
    ovoid compile(State& state)
    -ovoid setDrawCallback(DrawCallback* dc) +ovoid setDrawCallback(DrawCallback* dc)
    -oDrawCallback* getDrawCallback() +oDrawCallback* getDrawCallback()
    -oconst DrawCallback* getDrawCallback() const +oconst DrawCallback* getDrawCallback() const
    -ovoid setCullCallback(CullCallback* cc) +ovoid setCullCallback(CullCallback* cc)
    -oCullCallback* getCullCallback() +oCullCallback* getCullCallback()
    -oconst CullCallback* getCullCallback() const +oconst CullCallback* getCullCallback() const
    ostatic void deleteDisplayList(uint contextID, uint globj)
    @@ -202,7 +202,7 @@ class AttributeFunctor

    Protected Fields

    -oParentList _parents +oParentList _parents
    oref_ptr<StateSet> _dstate
    @@ -214,9 +214,9 @@ class AttributeFunctor
    omutable bool _bbox_computed
    -oref_ptr<DrawCallback> _drawCallback +oref_ptr<DrawCallback> _drawCallback
    -oref_ptr<CullCallback> _cullCallback +oref_ptr<CullCallback> _cullCallback

    @@ -238,9 +238,9 @@ class AttributeFunctor

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -250,7 +250,7 @@ class AttributeFunctor

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -285,89 +285,89 @@ necessary to deal with it directly.
    - +
    o ImpostorSprite()

    - +

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

    - +

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

    - +

    ovirtual bool isSameKindAs(const Object* obj) const

    - +

    ovirtual const char* className() const

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - -

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

    - +

    oTexture* getTexture()

    - +

    oconst Texture* getTexture() const

    - +

    oconst int s() const

    - +

    oconst int t() const

    - +

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

    - +

    obool getStats(Statistics &stat)

    - -

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

    - +

    oImpostorSprite& operator = (const ImpostorSprite&)

    - +

    ovirtual ~ImpostorSprite()

    - +

    ovirtual const bool computeBound() const

    - +

    oImpostor* _parent

    - +

    oImpostorSpriteManager* _ism

    - +

    oImpostorSprite* _previous

    - +

    oImpostorSprite* _next

    - +

    oint _lastFrameUsed

    - +

    oVec3 _storedLocalEyePoint

    - +

    oVec3 _coords[4]

    - +

    oVec2 _texcoords[4]

    - +

    oVec3 _controlcoords[4]

    - +

    oTexture* _texture

    - +

    oint _s

    - +

    oint _t

    diff --git a/doc/doc++/osg/ImpostorSpriteManager.html b/doc/doc++/osg/ImpostorSpriteManager.html index c20bb58d2..036053a32 100644 --- a/doc/doc++/osg/ImpostorSpriteManager.html +++ b/doc/doc++/osg/ImpostorSpriteManager.html @@ -23,35 +23,35 @@

    Public Methods

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

    Protected Fields

    -[more]ref_ptr<TexEnv> _texenv +[more]ref_ptr<TexEnv> _texenv
    -[more]ref_ptr<AlphaFunc> _alphafunc +[more]ref_ptr<AlphaFunc> _alphafunc
    -[more]ImpostorSprite* _first +[more]ImpostorSprite* _first
    -[more]ImpostorSprite* _last +[more]ImpostorSprite* _last

    Protected Methods

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

    @@ -84,51 +84,51 @@
    - +
    o ImpostorSpriteManager()

    - +

    oconst bool empty() const

    - +

    oImpostorSprite* first()

    - +

    oImpostorSprite* last()

    - +

    ovoid push_back(ImpostorSprite* is)

    - +

    ovoid remove(ImpostorSprite* is)

    - -

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

    - +

    o ~ImpostorSpriteManager()

    - +

    oref_ptr<TexEnv> _texenv

    - +

    oref_ptr<AlphaFunc> _alphafunc

    - +

    oImpostorSprite* _first

    - +

    oImpostorSprite* _last

    diff --git a/doc/doc++/osg/LOD.html b/doc/doc++/osg/LOD.html index 089f454b2..501613cb8 100644 --- a/doc/doc++/osg/LOD.html +++ b/doc/doc++/osg/LOD.html @@ -23,68 +23,68 @@

    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(LOD) +[more] META_Node(LOD)
    -[more]virtual void traverse(NodeVisitor& nv) +[more]virtual void traverse(NodeVisitor& nv)
    -[more]void setRange(const unsigned int index, const float range) +[more]void setRange(const unsigned int index, const float range)
    Sets the value of range list element index to range which is a floating point distance specified in world coordinates.
    -[more]inline const float getRange(const unsigned int index) const +[more]inline const float getRange(const unsigned int index) const
    returns the range for specified index
    -[more]inline const unsigned int getNumRanges() const +[more]inline const unsigned int getNumRanges() const
    returns the number of ranges currently set
    -[more]inline void setCenter(const Vec3 &center) +[more]inline void setCenter(const Vec3 &center)
    Sets the object-space point which defines the center of the osg::LOD.
    -[more]inline const Vec3& getCenter() const +[more]inline const Vec3& getCenter() const
    return the LOD center point.
    -[more]void setEvaluateLODCallback(EvaluateLODCallback* cbc) +[more]void setEvaluateLODCallback(EvaluateLODCallback* cbc)
    Set the EvaluateLODCallback which allows users to attach customize computation of the the selection of LOD children
    -[more]EvaluateLODCallback* getEvaluateLODCallback() +[more]EvaluateLODCallback* getEvaluateLODCallback()
    Get the non const ComputeBillboardCallback
    -[more]const EvaluateLODCallback* getEvaluateLODCallback() const +[more]const EvaluateLODCallback* getEvaluateLODCallback() const
    Get the const ComputeBillboardCallback
    -[more]inline const int evaluate(const Vec3& eye_local, const float bias=1.0f) const +[more]inline const int evaluate(const Vec3& eye_local, const float bias=1.0f) const
    return the child to traverse. +
    +[more]virtual const int evaluateLODChild(const Vec3& eye_local, const float bias) const

    Public Members

    -[more]struct EvaluateLODCallback: public osg::Referenced +[more]struct EvaluateLODCallback: public osg::Referenced
    Callback attached to an LOD which allows the users to customize the selection of LOD children

    Protected Fields

    -[more]RangeList _rangeList2 +[more]RangeList _rangeList2
    -[more]ref_ptr<EvaluateLODCallback> _evaluateLODCallback +[more]ref_ptr<EvaluateLODCallback> _evaluateLODCallback
    -[more]Vec3 _center +[more]Vec3 _center

    Protected Methods

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

    Protected Members

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

    @@ -142,24 +142,24 @@ 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(LOD)

    - +

    ovirtual void traverse(NodeVisitor& nv)

    - +

    ovoid setRange(const unsigned int index, const float range)
    Sets the value of range list element index to range which is a floating point distance specified in world coordinates. @@ -167,82 +167,82 @@ Range list automatically expands to accommodate values beyond the current getNumRanges().

    - +

    oinline const float getRange(const unsigned int index) const
    returns the range for specified index

    - +

    oinline const unsigned int getNumRanges() const
    returns the number of ranges currently set

    - -

    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.

    - +

    ostruct EvaluateLODCallback: public osg::Referenced
    Callback attached to an LOD which allows the users to customize the selection of LOD children

    - -
    ovirtual const int evaluateLODChild(const osg::LOD* lod, const Vec3& eye_local, const float bias) const + +
    ovirtual const int evaluateLODChild(const osg::LOD* lod, const Vec3& eye_local, const float bias) const = 0
    Compute the child to select

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

    - -

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

    - -

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

    - +

    oinline const int evaluate(const Vec3& eye_local, const float bias=1.0f) const
    return the child to traverse. Selected by the distance between the eye point in local coordinates and the LOD center, multiplied by the bias.

    - - -

    ovirtual ~LOD() -

    - +

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

    + + +

    ovirtual ~LOD() +

    - +

    otypedef std::vector<float> RangeList RangeList _rangeList

    - +

    oRangeList _rangeList2

    - -

    oref_ptr<EvaluateLODCallback> _evaluateLODCallback + +
    oref_ptr<EvaluateLODCallback> _evaluateLODCallback

    - +

    oVec3 _center


    @@ -250,7 +250,7 @@ coordinates and the LOD center, multiplied by the bias.
    Impostor
    -
    Friends:
    struct osg::LOD::EvaluateLODCallback

    Alphabetic index HTML hierarchy of classes or Java


    +

    Alphabetic index HTML hierarchy of classes or Java



    This page was generated with the help of DOC++. diff --git a/doc/doc++/osg/Light.html b/doc/doc++/osg/Light.html index 56d17e1bd..7e7846c17 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(Light, (Type)(LIGHT_0+_lightnum)) +[more] META_StateAttribute(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 setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const
    -[more]void setLightNum(const int num) +[more]void setLightNum(const int num)
    Set which OpenGL light to operate on
    -[more]const int getLightNum() const +[more]const int getLightNum() const
    Get which OpenGL light this osg::Light operates on
    -[more]inline void setAmbient( const Vec4& ambient ) +[more]inline void setAmbient( const Vec4& ambient )
    Set the ambient component of the light.
    -[more]inline const Vec4& getAmbient() const +[more]inline const Vec4& getAmbient() const
    Get the ambient component of the light.
    -[more]inline void setDiffuse( const Vec4& diffuse ) +[more]inline void setDiffuse( const Vec4& diffuse )
    Set the diffuse component of the light.
    -[more]inline const Vec4& getDiffuse() const +[more]inline const Vec4& getDiffuse() const
    Get the diffuse component of the light.
    -[more]inline void setSpecular( const Vec4& specular ) +[more]inline void setSpecular( const Vec4& specular )
    Set the specular component of the light.
    -[more]inline const Vec4& getSpecular() const +[more]inline const Vec4& getSpecular() const
    Get the specular component of the light.
    -[more]inline void setPosition( const Vec4& position ) +[more]inline void setPosition( const Vec4& position )
    Set the position of the light.
    -[more]inline const Vec4& getPosition() const +[more]inline const Vec4& getPosition() const
    Get the position of the light.
    -[more]inline void setDirection( const Vec3& direction ) +[more]inline void setDirection( const Vec3& direction )
    Set the direction of the light.
    -[more]inline const Vec3& getDirection() const +[more]inline const Vec3& getDirection() const
    Get the direction of the light.
    -[more]inline void setConstantAttenuation( const float constant_attenuation ) +[more]inline void setConstantAttenuation( const float constant_attenuation )
    Set the constant attenuation of the light.
    -[more]inline const float getConstantAttenuation() const +[more]inline const float getConstantAttenuation() const
    Get the constant attenuation of the light.
    -[more]inline void setLinearAttenuation( const float linear_attenuation ) +[more]inline void setLinearAttenuation( const float linear_attenuation )
    Set the linear attenuation of the light.
    -[more]inline const float getLinearAttenuation() const +[more]inline const float getLinearAttenuation() const
    Get the linear attenuation of the light.
    -[more]inline void setQuadraticAttenuation( const float quadratic_attenuation ) +[more]inline void setQuadraticAttenuation( const float quadratic_attenuation )
    Set the quadratic attenuation of the light.
    -[more]inline const float getQuadraticAttenuation() const +[more]inline const float getQuadraticAttenuation() const
    Get the quadratic attenuation of the light.
    -[more]inline void setSpotExponent( const float spot_exponent ) +[more]inline void setSpotExponent( const float spot_exponent )
    Set the spot exponent of the light.
    -[more]inline const float getSpotExponent() const +[more]inline const float getSpotExponent() const
    Get the spot exponent of the light.
    -[more]inline void setSpotCutoff( const float spot_cutoff ) +[more]inline void setSpotCutoff( const float spot_cutoff )
    Set the spot cutoff of the light.
    -[more]inline const float getSpotCutoff() const +[more]inline const float getSpotCutoff() const
    Get the spot cutoff of the light.
    -[more]void captureLightState() +[more]void captureLightState()
    Capture the lighting settings of the current OpenGL state and store them in this object
    -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const
    Apply the light's state to the OpenGL state machine.

    Protected Fields

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

    Protected Methods

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

    @@ -154,7 +154,7 @@
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -185,9 +185,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -197,7 +197,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -230,200 +230,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(Light, (Type)(LIGHT_0+_lightnum)) + +
    o META_StateAttribute(Light, (Type)(LIGHT_0+_lightnum))

    - +

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

    - -

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

    ovirtual ~Light()

    - +

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

    - +

    oint _lightnum

    - +

    oVec4 _ambient

    - +

    oVec4 _diffuse

    - +

    oVec4 _specular

    - +

    oVec4 _position

    - +

    oVec3 _direction

    - +

    ofloat _constant_attenuation

    - +

    ofloat _linear_attenuation

    - +

    ofloat _quadratic_attenuation

    - +

    ofloat _spot_exponent

    - +

    ofloat _spot_cutoff

    diff --git a/doc/doc++/osg/LightModel.html b/doc/doc++/osg/LightModel.html index f1e80cf18..250ab34fb 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(LightModel, LIGHTMODEL) +[more] META_StateAttribute(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(const ColorControl cc) +[more]void setColorControl(const ColorControl cc)
    -[more]inline const ColorControl getColorControl() const +[more]inline const ColorControl getColorControl() const
    -[more]void setLocalViewer(const bool localViewer) +[more]void setLocalViewer(const bool localViewer)
    -[more]inline const bool getLocalViewer() const +[more]inline const bool getLocalViewer() const
    -[more]void setTwoSided(const bool twoSided) +[more]void setTwoSided(const bool twoSided)
    -[more]inline const bool getTwoSided() const +[more]inline const 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()

    @@ -85,7 +85,7 @@
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -93,7 +93,7 @@
    obool operator != (const StateAttribute& rhs) const
    -ovirtual void setStateSetModes(StateSet&, const GLModeValue) const +ovirtual void setStateSetModes(StateSet&, const GLModeValue) const
    ovirtual void compile(State&) const

    @@ -118,9 +118,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -130,7 +130,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -162,91 +162,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(LightModel, LIGHTMODEL) + +
    o META_StateAttribute(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 SEPERATE_SPECULAR_COLOR

    - +

    o SINGLE_COLOR

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

    - -

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

    - +

    ovoid setLocalViewer(const bool localViewer)

    - +

    oinline const bool getLocalViewer() const

    - +

    ovoid setTwoSided(const bool twoSided)

    - +

    oinline const 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 78c702e81..48f9f356d 100644 --- a/doc/doc++/osg/LightSource.html +++ b/doc/doc++/osg/LightSource.html @@ -11,11 +11,11 @@

    Inheritance:

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

    Public Methods

    -[more] LightSource() +[more] LightSource()
    -[more] LightSource(const LightSource& es, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] LightSource(const LightSource& ls, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    -[more] META_Node(LightSource) +[more] META_Node(LightSource)
    -[more]inline void setLight(Light* light) +[more]void setLight(Light* light)
    Set the attached light
    -[more]inline Light* getLight() +[more]inline Light* getLight()
    Get the attached light
    -[more]inline const Light* getLight() const +[more]inline const Light* getLight() const
    Get the const attached light +
    +[more]void setStateSetModes(StateSet&, const StateAttribute::GLModeValue) const +
    Set the GLModes on StateSet associated with the LightSource +
    +[more]void setLocalStateSetModes(const StateAttribute::GLModeValue=StateAttribute::ON) +
    Set up the local StateSet

    Protected Fields

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

    Protected Methods

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

    + +
    +

    Inherited from Group:

    +
    +

    +

    Public Methods

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

    + +

    +

    Protected Fields

    +oChildList _children

    @@ -60,42 +99,56 @@
    - +
    o LightSource()

    - -

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

    - +

    o META_Node(LightSource)

    - -

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

    - +

    oinline Light* getLight()
    Get the attached light

    - +

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

    + + +

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

    + + +

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

    - +

    ovirtual ~LightSource()

    - +

    ovirtual const bool computeBound() const

    + + +

    oStateAttribute::GLModeValue _value +

    - +

    oref_ptr<Light> _light

    diff --git a/doc/doc++/osg/LineSegment.html b/doc/doc++/osg/LineSegment.html index 48c9968f0..2dfe2d117 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 const bool valid() const +[more]inline const bool valid() const
    -[more]const bool intersect(const BoundingBox& bb) const +[more]const bool intersect(const BoundingBox& bb) const
    return true if segment intersects BoundingBox
    -[more]const bool intersect(const BoundingBox& bb, float& r1, float& r2) const +[more]const bool intersect(const BoundingBox& bb, float& r1, float& r2) const
    return true if segment intersects BoundingBox and return the intersection ratio's
    -[more]const bool intersect(const BoundingSphere& bs) const +[more]const bool intersect(const BoundingSphere& bs) const
    return true if segment intersects BoundingSphere
    -[more]const bool intersect(const BoundingSphere& bs, float& r1, float& r2) const +[more]const bool intersect(const BoundingSphere& bs, float& r1, float& r2) const
    return true if segment intersects BoundingSphere and return the intersection ratio's
    -[more]const bool intersect(const Vec3& v1, const Vec3& v2, const Vec3& v3, float& r) +[more]const bool intersect(const Vec3& v1, const Vec3& v2, const Vec3& v3, float& r)
    return true if segment intersects triangle and set ratio long segment.
    -[more]inline void mult(const LineSegment& seg, const Matrix& m) +[more]inline void mult(const LineSegment& seg, const Matrix& m)
    post multiply a segment by matrix
    -[more]inline void mult(const Matrix& m, const LineSegment& seg) +[more]inline void mult(const Matrix& m, const LineSegment& seg)
    pre multiply a segment by matrix

    Protected Fields

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

    Protected Methods

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

    @@ -107,94 +107,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 const bool valid() const

    - +

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

    - +

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

    - +

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

    - +

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

    - -

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

    - +

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

    - +

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

    - +

    ovirtual ~LineSegment()

    - -

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

    - +

    oVec3 _s

    - +

    oVec3 _e

    diff --git a/doc/doc++/osg/LineStipple.html b/doc/doc++/osg/LineStipple.html index 02ed9b8aa..b49615e91 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(LineStipple, LINESTIPPLE) +[more] META_StateAttribute(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 setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const
    -[more]void setFactor(const int factor) +[more]void setFactor(const int factor)
    -[more]inline const int getFactor() const +[more]inline const int getFactor() const
    -[more]void setPattern(const unsigned short pattern) +[more]void setPattern(const unsigned short pattern)
    -[more]inline const unsigned short getPattern() const +[more]inline const unsigned short getPattern() const
    -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

    Protected Fields

    -[more]int _factor +[more]int _factor
    -[more]unsigned short _pattern +[more]unsigned short _pattern

    Protected Methods

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

    @@ -70,7 +70,7 @@
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -101,9 +101,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -113,7 +113,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -145,57 +145,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(LineStipple, LINESTIPPLE) + +
    o META_StateAttribute(LineStipple, LINESTIPPLE)

    - +

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

    - -

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

    - +

    ovoid setFactor(const int factor)

    - +

    oinline const int getFactor() const

    - +

    ovoid setPattern(const unsigned short pattern)

    - +

    oinline const unsigned short getPattern() const

    - +

    ovirtual void apply(State& state) const

    - +

    ovirtual ~LineStipple()

    - +

    oint _factor

    - +

    ounsigned short _pattern

    diff --git a/doc/doc++/osg/LineWidth.html b/doc/doc++/osg/LineWidth.html index 8bf4372d6..690c61f3d 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(LineWidth, LINEWIDTH) +[more] META_StateAttribute(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(const float width) +[more]void setWidth(const float width)
    -[more]inline const float getWidth() const +[more]inline const float getWidth() const
    -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

    Protected Fields

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

    Protected Methods

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

    @@ -63,7 +63,7 @@
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -71,7 +71,7 @@
    obool operator != (const StateAttribute& rhs) const
    -ovirtual void setStateSetModes(StateSet&, const GLModeValue) const +ovirtual void setStateSetModes(StateSet&, const GLModeValue) const
    ovirtual void compile(State&) const

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

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -108,7 +108,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -141,41 +141,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(LineWidth, LINEWIDTH) + +
    o META_StateAttribute(LineWidth, LINEWIDTH)

    - +

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

    - -

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

    - +

    oinline const float getWidth() const

    - +

    ovirtual void apply(State& state) const

    - +

    ovirtual ~LineWidth()

    - +

    ofloat _width

    diff --git a/doc/doc++/osg/META_Object.html b/doc/doc++/osg/META_Object.html index 36a7096bc..5a8760eb8 100644 --- a/doc/doc++/osg/META_Object.html +++ b/doc/doc++/osg/META_Object.html @@ -7,7 +7,7 @@ -

    #define osg::META_Object

    (T)

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

    #define osg::META_Object

    (T)

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

    diff --git a/doc/doc++/osg/Material.html b/doc/doc++/osg/Material.html index 1d2ab599e..087dc4f8a 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(Material, MATERIAL) +[more] META_StateAttribute(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 setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const
    -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const
    -[more]inline void setColorMode(const ColorMode mode) +[more]inline void setColorMode(const ColorMode mode)
    -[more]inline const ColorMode getColorMode() const +[more]inline const ColorMode getColorMode() const
    -[more]void setAmbient( const Face face, const Vec4& ambient ) +[more]void setAmbient( const Face face, const Vec4& ambient )
    -[more]const Vec4& getAmbient(const Face face) const +[more]const Vec4& getAmbient(const Face face) const
    -[more]inline const bool getAmbientFrontAndBack() const +[more]inline const bool getAmbientFrontAndBack() const
    -[more]void setDiffuse( const Face face, const Vec4& diffuse ) +[more]void setDiffuse( const Face face, const Vec4& diffuse )
    -[more]const Vec4& getDiffuse(const Face face) const +[more]const Vec4& getDiffuse(const Face face) const
    -[more]inline const bool getDiffuseFrontAndBack() const +[more]inline const bool getDiffuseFrontAndBack() const
    -[more]void setSpecular( const Face face, const Vec4& specular ) +[more]void setSpecular( const Face face, const Vec4& specular )
    Set specular value of specified face(s) of the material, valid specular[03] range is 00 to 10
    -[more]const Vec4& getSpecular(const Face face) const +[more]const Vec4& getSpecular(const Face face) const
    Get the specular value for specified face
    -[more]inline const bool getSpecularFrontAndBack() const +[more]inline const bool getSpecularFrontAndBack() const
    Get the whether specular values are equal for front and back faces
    -[more]void setEmission( const Face face, const Vec4& emission ) +[more]void setEmission( const Face face, const Vec4& emission )
    Set emission value of specified face(s) of the material, valid emmison[03] range is 00 to 10
    -[more]const Vec4& getEmission(const Face face) const +[more]const Vec4& getEmission(const Face face) const
    Get the emmsion value for specified face
    -[more]inline const bool getEmissionFrontAndBack() const +[more]inline const bool getEmissionFrontAndBack() const
    Get the whether emission values are equal for front and back faces
    -[more]void setShininess( const Face face, float shininess ) +[more]void setShininess( const Face face, float shininess )
    Set shininess of specified face(s) of the material, valid shininess range is 00 to 10
    -[more]const float getShininess(const Face face) const +[more]const float getShininess(const Face face) const
    Get the shininess value for specified face
    -[more]inline const bool getShininessFrontAndBack() const +[more]inline const bool getShininessFrontAndBack() const
    Get the whether shininess values are equal for front and back faces
    -[more]void setTransparency(const Face face, float trans) +[more]void setTransparency(const Face face, float trans)
    Set the alpha value of ambient,diffuse,specular and emission colors, of specified face, to 1-transparency.
    -[more]void setAlpha(const Face face, float alpha) +[more]void setAlpha(const Face face, float alpha)
    Set the alpha value of ambient,diffuse,specular and emission colors.

    Public Members

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

    Protected Fields

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

    Protected Methods

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

    @@ -147,7 +147,7 @@
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -178,9 +178,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -190,7 +190,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -223,236 +223,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(Material, MATERIAL) + +
    o META_StateAttribute(Material, MATERIAL)

    - +

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

    - -

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

    - +

    ovirtual void apply(State& state) const

    - +

    oenum Face

    - +
    o FRONT

    - +

    o BACK

    - +

    o FRONT_AND_BACK

    - +
    oenum ColorMode

    - +
    o AMBIENT

    - +

    o DIFFUSE

    - +

    o SPECULAR

    - +

    o EMISSION

    - +

    o AMBIENT_AND_DIFFUSE

    - +

    o OFF

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

    - -

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

    - -

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

    - -

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

    - +

    oinline const bool getAmbientFrontAndBack() const

    - -

    ovoid setDiffuse( const Face face, const Vec4& diffuse ) + +
    ovoid setDiffuse( const Face face, const Vec4& diffuse )

    - -

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

    - +

    oinline const bool getDiffuseFrontAndBack() const

    - -

    ovoid setSpecular( const Face face, const Vec4& specular ) + +
    ovoid setSpecular( const Face face, const Vec4& specular )
    Set specular value of specified face(s) of the material, valid specular[03] range is 00 to 10

    - -

    oconst Vec4& getSpecular(const Face face) const + +
    oconst Vec4& getSpecular(const Face face) const
    Get the specular value for specified face

    - +

    oinline const bool getSpecularFrontAndBack() const
    Get the whether specular values are equal for front and back faces

    - -

    ovoid setEmission( const Face face, const Vec4& emission ) + +
    ovoid setEmission( const Face face, const Vec4& emission )
    Set emission value of specified face(s) of the material, valid emmison[03] range is 00 to 10

    - -

    oconst Vec4& getEmission(const Face face) const + +
    oconst Vec4& getEmission(const Face face) const
    Get the emmsion value for specified face

    - +

    oinline const bool getEmissionFrontAndBack() const
    Get the whether emission values are equal for front and back faces

    - -

    ovoid setShininess( const Face face, float shininess ) + +
    ovoid setShininess( const Face face, float shininess )
    Set shininess of specified face(s) of the material, valid shininess range is 00 to 10

    - -

    oconst float getShininess(const Face face) const + +
    oconst float getShininess(const Face face) const
    Get the shininess value for specified face

    - +

    oinline const bool getShininessFrontAndBack() const
    Get the whether shininess values are equal for front and back faces

    - -

    ovoid setTransparency(const Face face, float trans) + +
    ovoid setTransparency(const Face face, float trans)
    Set the alpha value of ambient,diffuse,specular and emission colors, of specified face, to 1-transparency. Valid transparency range is 0.0 to 1.0.

    - -

    ovoid setAlpha(const Face face, float alpha) + +
    ovoid setAlpha(const Face face, float alpha)
    Set the alpha value of ambient,diffuse,specular and emission colors. Valid transparency range is 0.0 to 1.0.

    - +

    ovirtual ~Material()

    - -

    oColorMode _colorMode + +
    oColorMode _colorMode

    - +

    obool _ambientFrontAndBack

    - +

    oVec4 _ambientFront

    - +

    oVec4 _ambientBack

    - +

    obool _diffuseFrontAndBack

    - +

    oVec4 _diffuseFront

    - +

    oVec4 _diffuseBack

    - +

    obool _specularFrontAndBack

    - +

    oVec4 _specularFront

    - +

    oVec4 _specularBack

    - +

    obool _emissionFrontAndBack

    - +

    oVec4 _emissionFront

    - +

    oVec4 _emissionBack

    - +

    obool _shininessFrontAndBack

    - +

    ofloat _shininessFront

    - +

    ofloat _shininessBack

    diff --git a/doc/doc++/osg/Matrix.html b/doc/doc++/osg/Matrix.html index f5438419d..c324b06f6 100644 --- a/doc/doc++/osg/Matrix.html +++ b/doc/doc++/osg/Matrix.html @@ -22,199 +22,199 @@

    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]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* className() const +[more]virtual const char* className() const
    -[more]virtual ~Matrix() +[more]virtual ~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 const bool valid() const +[more]inline const bool valid() const
    -[more]inline const bool isNaN() const +[more]inline const 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() +[more]float* ptr()
    -[more]const float* ptr() const +[more]const 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 heading, float pitch, float roll) +[more]void makeRotate( float heading, float pitch, float roll)
    make a rotation Matrix from euler angles.
    -[more]void makeOrtho(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar) +[more]void makeOrtho(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)
    Set to a orthographic projection.
    -[more]inline void makeOrtho2D(const double left, const double right, const double bottom, const double top) +[more]inline void makeOrtho2D(const double left, const double right, const double bottom, const double top)
    Set to a 2D orthographic projection.
    -[more]void makeFrustum(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar) +[more]void makeFrustum(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)
    Set to a perspective projection.
    -[more]void makePerspective(const double fovy, const double aspectRatio, const double zNear, const double zFar) +[more]void makePerspective(const double fovy, const double aspectRatio, const double zNear, const double zFar)
    Set to a symmetrical perspective projection, See gluPerspective for further details.
    -[more]void makeLookAt(const Vec3& eye, const Vec3& center, const Vec3& up) +[more]void makeLookAt(const Vec3& eye, const Vec3& center, const Vec3& up)
    Set to the position and orientation as per a camera, using the same convention as gluLookAt.
    -[more]bool invert( const Matrix& ) +[more]bool invert( const Matrix& )
    -[more]inline static Matrix identity( void ) +[more]inline static Matrix identity( void )
    -[more]inline static Matrix scale( const Vec3& sv) +[more]inline static Matrix scale( const Vec3& sv)
    -[more]inline static Matrix scale( float sx, float sy, float sz) +[more]inline static Matrix scale( float sx, float sy, float sz)
    -[more]inline static Matrix translate( const Vec3& dv) +[more]inline static Matrix translate( const Vec3& dv)
    -[more]inline static Matrix translate( float x, float y, float z) +[more]inline static Matrix translate( float x, float y, float z)
    -[more]inline static Matrix rotate( const Vec3& from, const Vec3& to) +[more]inline static Matrix rotate( const Vec3& from, const Vec3& to)
    -[more]inline static Matrix rotate( float angle, float x, float y, float z) +[more]inline static Matrix rotate( float angle, float x, float y, float z)
    -[more]inline static Matrix rotate( float angle, const Vec3& axis) +[more]inline static Matrix rotate( float angle, const Vec3& axis)
    -[more]inline static Matrix rotate( float heading, float pitch, float roll) +[more]inline static Matrix rotate( float heading, float pitch, float roll)
    construct rotation matrix from euler angles, for conventions see makeRotate()
    -[more]inline static Matrix rotate( const Quat& quat) +[more]inline static Matrix rotate( const Quat& quat)
    -[more]inline static Matrix inverse( const Matrix& matrix) +[more]inline static Matrix inverse( const Matrix& matrix)
    -[more]inline static Matrix ortho(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar) +[more]inline static Matrix ortho(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)
    Create a orthographic projection.
    -[more]inline static Matrix ortho2D(const double left, const double right, const double bottom, const double top) +[more]inline static Matrix ortho2D(const double left, const double right, const double bottom, const double top)
    Create a 2D orthographic projection.
    -[more]inline static Matrix frustum(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar) +[more]inline static Matrix frustum(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)
    Create a perspective projection.
    -[more]inline static Matrix perspective(const double fovy, const double aspectRatio, const double zNear, const double zFar) +[more]inline static Matrix perspective(const double fovy, const double aspectRatio, const double zNear, const 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 heading, float pitch, float roll) +[more]inline Matrix rotate(float heading, float pitch, float roll)
    -[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(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar) +[more]inline Matrix ortho(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)
    -[more]inline Matrix ortho2D(const double left, const double right, const double bottom, const double top) +[more]inline Matrix ortho2D(const double left, const double right, const double bottom, const double top)
    -[more]inline Matrix frustum(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar) +[more]inline Matrix frustum(const double left, const double right, const double bottom, const double top, const double zNear, const double zFar)
    -[more]inline Matrix perspective(const double fovy, const double aspectRatio, const double zNear, const double zFar) +[more]inline Matrix perspective(const double fovy, const double aspectRatio, const double zNear, const 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

    @@ -222,9 +222,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -234,7 +234,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -264,135 +264,135 @@
    - +
    o Matrix()

    - -

    o Matrix( const Matrix& other) + +
    o Matrix( const Matrix& other)

    - +

    oexplicit Matrix( float const* const def )

    - +

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

    - +

    ovirtual Object* cloneType() const

    - +

    ovirtual Object* clone(const CopyOp&) const

    - +

    ovirtual bool isSameKindAs(const Object* obj) const

    - +

    ovirtual const char* className() const

    - +

    ovirtual ~Matrix()

    - +

    oint compare(const Matrix& m) const

    - +

    obool operator < (const Matrix& m) const

    - +

    obool operator == (const Matrix& m) const

    - +

    obool operator != (const Matrix& m) const

    - +

    oinline float& operator()(int row, int col)

    - +

    oinline float operator()(int row, int col) const

    - +

    oinline const bool valid() const

    - +

    oinline const bool isNaN() const

    - +

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

    - +

    oconst float* 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 heading, float pitch, float roll)
    make a rotation Matrix from euler angles. assume Z up, Y north, X east and euler convention @@ -402,246 +402,246 @@ then applies a positive roation about X for pitch, and finally a negative rotation about the Z axis.

    - +

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

    - +

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

    - +

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

    - -

    ovoid makePerspective(const double fovy, const double aspectRatio, const double zNear, const double zFar) + +
    ovoid makePerspective(const double fovy, const double aspectRatio, const double zNear, const 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) + +
    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.

    - +

    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 heading, float pitch, float roll)
    construct rotation matrix from euler angles, for conventions see makeRotate()

    - +

    oinline static Matrix rotate( const Quat& quat)

    - +

    oinline static Matrix inverse( const Matrix& matrix)

    - +

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

    - +

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

    - +

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

    - -

    oinline static Matrix perspective(const double fovy, const double aspectRatio, const double zNear, const double zFar) + +
    oinline static Matrix perspective(const double fovy, const double aspectRatio, const double zNear, const 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

    - +

    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 heading, float pitch, float roll)

    - +

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

    - +

    oinline Matrix inverse( const Matrix& matrix)

    - +

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

    - +

    oinline Matrix ortho2D(const double left, const double right, const double bottom, const double top)

    - +

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

    - -

    oinline Matrix perspective(const double fovy, const double aspectRatio, const double zNear, const double zFar) + +
    oinline Matrix perspective(const double fovy, const double aspectRatio, const double zNear, const 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/NodeAcceptOp.html b/doc/doc++/osg/NodeAcceptOp.html index 965299e9a..5fef234c5 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 8d83c8fa1..002cd9a40 100644 --- a/doc/doc++/osg/NodeCallback.html +++ b/doc/doc++/osg/NodeCallback.html @@ -22,28 +22,28 @@

    Public Fields

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

    Public Methods

    -[more] NodeCallback() +[more] NodeCallback()
    -[more]virtual ~NodeCallback() +[more]virtual ~NodeCallback()
    -[more]virtual void operator()(Node* node, NodeVisitor* nv) +[more]virtual void operator()(Node* node, NodeVisitor* nv)
    Callback method call by the NodeVisitor when visiting a node
    -[more]void traverse(Node* node, NodeVisitor* nv) +[more]void traverse(Node* node, NodeVisitor* nv)
    Call any nested callbacks and then traverse the scene graph.
    -[more]void setNestedCallback(NodeCallback* nc) +[more]void setNestedCallback(NodeCallback* nc)
    -[more]NodeCallback* getNestedCallback() +[more]NodeCallback* getNestedCallback()
    -[more]inline void addNestedCallback(NodeCallback* nc) +[more]inline void addNestedCallback(NodeCallback* nc)
    -[more]inline void removeNestedCallback(NodeCallback* nc) +[more]inline void removeNestedCallback(NodeCallback* nc)

    @@ -75,41 +75,41 @@
    - +
    o NodeCallback()

    - +

    ovirtual ~NodeCallback()

    - +

    ovirtual void operator()(Node* node, NodeVisitor* nv)
    Callback method call by the NodeVisitor when visiting a node

    - +

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

    - +

    ovoid setNestedCallback(NodeCallback* nc)

    - +

    oNodeCallback* getNestedCallback()

    - +

    oinline void addNestedCallback(NodeCallback* nc)

    - +

    oinline void removeNestedCallback(NodeCallback* nc)

    - +

    oref_ptr<NodeCallback> _nestedCallback

    diff --git a/doc/doc++/osg/NodeVisitor.html b/doc/doc++/osg/NodeVisitor.html index d0421a00c..d30e44faa 100644 --- a/doc/doc++/osg/NodeVisitor.html +++ b/doc/doc++/osg/NodeVisitor.html @@ -23,116 +23,120 @@

    Public Methods

    -[more] NodeVisitor(TraversalMode tm=TRAVERSE_NONE) +[more] NodeVisitor(TraversalMode tm=TRAVERSE_NONE)
    -[more]virtual ~NodeVisitor() +[more]virtual ~NodeVisitor()
    -[more]virtual void reset() +[more]virtual void reset()
    Method to call to reset visitor.
    -[more]inline void setTraversalNumber(const int fn) +[more]inline void setTraversalNumber(const int fn)
    Set the traversal number.
    -[more]inline const int getTraversalNumber() const +[more]inline const int getTraversalNumber() const
    Get the traversal number.
    -[more]inline void setFrameStamp(FrameStamp* fs) +[more]inline void setFrameStamp(FrameStamp* fs)
    Set the FrameStamp that this traversal is assoicated with
    -[more]inline const FrameStamp* getFrameStamp() const +[more]inline const FrameStamp* getFrameStamp() const
    Get the FrameStamp that this traversal is assoicated with
    -[more]inline void setTraversalMask(const Node::NodeMask mask) +[more]inline void setTraversalMask(const Node::NodeMask mask)
    Set the TraversalMask of this NodeVisitor.
    -[more]inline const Node::NodeMask getTraversalMask() const +[more]inline const Node::NodeMask getTraversalMask() const
    Get the TraversalMask
    -[more]inline void setNodeMaskOverride(const Node::NodeMask mask) +[more]inline void setNodeMaskOverride(const Node::NodeMask mask)
    Set the NodeMaskOverride mask.
    -[more]inline const Node::NodeMask getNodeMaskOverride() const +[more]inline const Node::NodeMask getNodeMaskOverride() const
    Get the NodeMaskOverride mask
    -[more]inline const bool validNodeMask(const osg::Node& node) const +[more]inline const bool validNodeMask(const osg::Node& node) const
    Method to called by Node and its subclass' Node::accept() method, if the result is true to be used to cull operations of nodes and their subgraphs.
    -[more]void setTraversalMode(const TraversalMode mode) +[more]void setTraversalMode(const TraversalMode mode)
    Set the traversal mode for Node::traverse() to use when deciding which children of a node to traverse.
    -[more]inline const TraversalMode getTraversalMode() const +[more]inline const TraversalMode getTraversalMode() const
    Get the traversal mode
    -[more]void setTraversalVisitor(NodeVisitor* nv) +[more]void setTraversalVisitor(NodeVisitor* nv)
    Set a visitor to handle traversal.
    -[more]inline NodeVisitor* getTraversalVisitor() +[more]inline NodeVisitor* getTraversalVisitor()
    Get the traversal visitor, returns NULL if none is attached
    -[more]inline void traverse(Node& node) +[more]inline void traverse(Node& node)
    Method for handling traversal of a nodes.
    -[more]inline void pushOntoNodePath(Node* node) +[more]inline void pushOntoNodePath(Node* node)
    Method called by osg::Node::accept() method before a call the NodeVisitor::apply().
    -[more]inline void popFromNodePath() +[more]inline void popFromNodePath()
    Method callby osg::Node::accept() method after a call the NodeVisitor::apply().
    -[more]NodePath& getNodePath() +[more]NodePath& getNodePath()
    Get the non const NodePath from the top most node applied down to the current Node being visited
    -[more]const NodePath& getNodePath() const +[more]const NodePath& getNodePath() const
    Get the const NodePath from the top most node applied down to the current Node being visited
    -[more]const bool getLocalToWorldMatrix(Matrix& matrix, Node* node) +[more]const bool getLocalToWorldMatrix(Matrix& matrix, Node* node)
    Get the Local To World Matrix from the NodePath for specified Transform::Mode, and u
    -[more]const bool getWorldToLocalMatrix(Matrix& matrix, Node* node) +[more]const bool getWorldToLocalMatrix(Matrix& matrix, Node* node)
    Get the World To Local Matrix from the NodePath for specified Transform::Mode
    -[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(LightSource& node) +[more]virtual void apply(LightSource& node)
    -[more]virtual void apply(Group& node) +[more]virtual void apply(ClipNode& node)
    -[more]virtual void apply(Projection& node) +[more]virtual void apply(Group& node)
    -[more]virtual void apply(Transform& node) +[more]virtual void apply(Projection& node)
    -[more]virtual void apply(Switch& node) +[more]virtual void apply(Transform& node)
    -[more]virtual void apply(LOD& node) +[more]virtual void apply(Switch& node)
    -[more]virtual void apply(Impostor& node) +[more]virtual void apply(LOD& node)
    -[more]virtual void apply(EarthSky& node) +[more]virtual void apply(Impostor& node) +
    +[more]virtual void apply(EarthSky& node) +
    +[more]virtual void apply(OccluderNode& node)

    Public Members

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

    Protected Fields

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

    @@ -178,41 +182,41 @@ not be called.
    - +
    oenum TraversalMode

    - +
    o TRAVERSE_NONE

    - +

    o TRAVERSE_PARENTS

    - +

    o TRAVERSE_ALL_CHILDREN

    - +

    o TRAVERSE_ACTIVE_CHILDREN

    - +

    o TRAVERSE_VISITOR

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

    - +

    ovirtual ~NodeVisitor()

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - +

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

    - -

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

    - -

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

    - +

    ovoid setTraversalVisitor(NodeVisitor* nv)
    Set a visitor to handle traversal. Overrides the traverse mode setting it to TRAVERSAL_VISITOR.

    - +

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

    - +

    oinline void traverse(Node& node)
    Method for handling traversal of a nodes. If you intend to use the visitor for actively traversing @@ -315,7 +319,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, @@ -326,7 +330,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(). @@ -334,97 +338,105 @@ Note, the user does not typically call pushNodeOnPath() as it will be called automatically by the Node::accept() method.

    - +

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

    - +

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

    - +

    oconst bool getLocalToWorldMatrix(Matrix& matrix, Node* node)
    Get the Local To World Matrix from the NodePath for specified Transform::Mode, and u

    - +

    oconst bool getWorldToLocalMatrix(Matrix& matrix, Node* node)
    Get the World To Local Matrix from the NodePath for specified Transform::Mode

    - +

    ovirtual void apply(Node& node)

    - +

    ovirtual void apply(Geode& node)

    - +

    ovirtual void apply(Billboard& node)

    - +

    ovirtual void apply(LightSource& node)

    - + +

    ovirtual void apply(ClipNode& node) +

    + +

    ovirtual void apply(Group& node)

    - +

    ovirtual void apply(Projection& node)

    - +

    ovirtual void apply(Transform& node)

    - +

    ovirtual void apply(Switch& node)

    - +

    ovirtual void apply(LOD& node)

    - +

    ovirtual void apply(Impostor& node)

    - +

    ovirtual void apply(EarthSky& node)

    + + +

    ovirtual void apply(OccluderNode& node) +

    - +

    oint _traversalNumber

    - +

    oref_ptr<FrameStamp> _frameStamp

    - +

    oref_ptr<NodeVisitor> _traversalVisitor

    - -

    oTraversalMode _traversalMode + +
    oTraversalMode _traversalMode

    - +

    oNode::NodeMask _traversalMask

    - +

    oNode::NodeMask _nodeMaskOverride

    - +

    oNodePath _nodePath

    diff --git a/doc/doc++/osg/NotifySeverity.html b/doc/doc++/osg/NotifySeverity.html index 1bce6499a..ce44f897d 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 98458e179..15a16d216 100644 --- a/doc/doc++/osg/Object.html +++ b/doc/doc++/osg/Object.html @@ -23,43 +23,43 @@

    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* className() const = 0 +[more]virtual const char* className() const = 0
    return the name of the object's class type.
    -[more]inline void setDataVariance(const DataVariance dv) +[more]inline void setDataVariance(const DataVariance dv)
    Set the data variance of this object.
    -[more]inline const DataVariance getDataVariance() const +[more]inline const DataVariance getDataVariance() const
    Get the data variance of this object

    Public Members

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

    Protected Fields

    -[more]DataVariance _dataVariance +[more]DataVariance _dataVariance

    Protected Methods

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

    @@ -95,7 +95,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 @@ -103,62 +103,62 @@ 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* 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(const DataVariance dv) + +
    oinline void setDataVariance(const 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 const DataVariance getDataVariance() const + +
    oinline const DataVariance getDataVariance() const
    Get the data variance of this object

    - +

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

    - -

    oDataVariance _dataVariance + +
    oDataVariance _dataVariance


    Direct child classes: diff --git a/doc/doc++/osg/Plane.html b/doc/doc++/osg/Plane.html index a9ccd8a7e..13e3f9886 100644 --- a/doc/doc++/osg/Plane.html +++ b/doc/doc++/osg/Plane.html @@ -13,70 +13,70 @@

    Public Methods

    -[more]inline Plane() +[more]inline Plane()
    -[more]inline Plane(const Plane& pl) +[more]inline Plane(const Plane& pl)
    -[more]inline Plane(const float a, const float b, const float c, const float d) +[more]inline Plane(const float a, const float b, const float c, const float d)
    -[more]inline Plane(const Vec4& vec) +[more]inline Plane(const Vec4& vec)
    -[more]inline Plane(const Vec3& norm, const float d) +[more]inline Plane(const Vec3& norm, const float d)
    -[more]inline Plane(const Vec3& v1, const Vec3& v2, const Vec3& v3) +[more]inline Plane(const Vec3& v1, const Vec3& v2, const Vec3& v3)
    -[more]inline Plane& operator = (const Plane& pl) +[more]inline Plane& operator = (const Plane& pl)
    -[more]inline void set(const Plane& pl) +[more]inline void set(const Plane& pl)
    -[more]inline void set(const float a, const float b, const float c, const float d) +[more]inline void set(const float a, const float b, const float c, const float d)
    -[more]inline void set(const Vec4& vec) +[more]inline void set(const Vec4& vec)
    -[more]inline void set(const Vec3& norm, const float d) +[more]inline void set(const Vec3& norm, const float d)
    -[more]inline void set(const Vec3& v1, const Vec3& v2, const Vec3& v3) +[more]inline void set(const Vec3& v1, const Vec3& v2, const Vec3& v3)
    -[more]inline void makeUnitLength() +[more]inline void makeUnitLength()
    -[more]inline void calculateUpperLowerBBCorners() +[more]inline void calculateUpperLowerBBCorners()
    calculate the upper and lower bounding box corners to be used in the intersect(BoundingBox&) method for speeding calculations
    -[more]inline const bool valid() const +[more]inline const bool valid() const
    -[more]inline Vec4& asVec4() +[more]inline Vec4& asVec4()
    -[more]inline const Vec4& asVec4() const +[more]inline const Vec4& asVec4() const
    -[more]inline float& operator [] (const int i) +[more]inline float& operator [] (const int i)
    -[more]inline float operator [] (const int i) const +[more]inline float operator [] (const int i) const
    -[more]inline osg::Vec3 getNormal() +[more]inline osg::Vec3 getNormal()
    -[more]inline const float distance(const osg::Vec3& v) const +[more]inline const float distance(const osg::Vec3& v) const
    calculate the distance between a point and the plane
    -[more]inline const int intersect(const BoundingSphere& bs) const +[more]inline const int intersect(const BoundingSphere& bs) const
    intersection test between plane and bounding sphere.
    -[more]inline const int intersect(const BoundingBox& bb) const +[more]inline const int intersect(const BoundingBox& bb) const
    intersection test between plane and bounding sphere.
    -[more]inline void transform(const osg::Matrix& matrix) +[more]inline void transform(const osg::Matrix& matrix)
    Transform the plane by matrix.
    -[more]inline void transformProvidingInverse(const osg::Matrix& matrix) +[more]inline void transformProvidingInverse(const osg::Matrix& matrix)
    Transform the plane by provide a pre inverted matrix.

    Protected Fields

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

    @@ -88,94 +88,94 @@
    - +
    oinline Plane()

    - -

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

    - +

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

    - +

    oinline Plane(const Vec4& vec)

    - +

    oinline Plane(const Vec3& norm, const float d)

    - +

    oinline Plane(const Vec3& v1, const Vec3& v2, const Vec3& v3)

    - +

    oinline Plane& operator = (const Plane& pl)

    - +

    oinline void set(const Plane& pl)

    - +

    oinline void set(const float a, const float b, const float c, const float d)

    - +

    oinline void set(const Vec4& vec)

    - +

    oinline void set(const Vec3& norm, const float d)

    - +

    oinline void set(const Vec3& v1, const Vec3& v2, const Vec3& v3)

    - +

    oinline void makeUnitLength()

    - +

    oinline void calculateUpperLowerBBCorners()
    calculate the upper and lower bounding box corners to be used in the intersect(BoundingBox&) method for speeding calculations

    - +

    oinline const bool valid() const

    - +

    oinline Vec4& asVec4()

    - +

    oinline const Vec4& asVec4() const

    - +

    oinline float& operator [] (const int i)

    - +

    oinline float operator [] (const int i) const

    - +

    oinline osg::Vec3 getNormal()

    - +

    oinline const float distance(const osg::Vec3& v) const
    calculate the distance between a point and the plane

    - +

    oinline const int intersect(const BoundingSphere& bs) const
    intersection test between plane and bounding sphere. return 1 if the bs is completely above plane, @@ -183,7 +183,7 @@ return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane.

    - +

    oinline const int intersect(const BoundingBox& bb) const
    intersection test between plane and bounding sphere. return 1 if the bs is completely above plane, @@ -191,7 +191,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 @@ -201,21 +201,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 85bfaa651..72f03526e 100644 --- a/doc/doc++/osg/Point.html +++ b/doc/doc++/osg/Point.html @@ -23,47 +23,47 @@

    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(Point, POINT) +[more] META_StateAttribute(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 setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const
    -[more]void setSize(const float size) +[more]void setSize(const float size)
    -[more]inline const float getSize() const +[more]inline const float getSize() const
    -[more]void setFadeThresholdSize(const float fadeThresholdSize) +[more]void setFadeThresholdSize(const float fadeThresholdSize)
    -[more]inline const float getFadeThresholdSize() const +[more]inline const float getFadeThresholdSize() const
    -[more]void setDistanceAttenuation(const Vec3& distanceAttenuation) +[more]void setDistanceAttenuation(const Vec3& distanceAttenuation)
    -[more]inline const Vec3& getDistanceAttenuation() const +[more]inline const Vec3& getDistanceAttenuation() const
    -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const
    -[more]static void init_GL_EXT() +[more]static void init_GL_EXT()

    Protected Fields

    -[more]float _size +[more]float _size
    -[more]float _fadeThresholdSize +[more]float _fadeThresholdSize
    -[more]Vec3 _distanceAttenuation +[more]Vec3 _distanceAttenuation

    Protected Methods

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

    @@ -79,7 +79,7 @@
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -110,9 +110,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -122,7 +122,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -155,73 +155,73 @@
    - +
    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(Point, POINT) + +
    o META_StateAttribute(Point, POINT)

    - +

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

    - -

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

    - -

    ovoid setSize(const float size) + +
    ovoid setSize(const float size)

    - +

    oinline const float getSize() const

    - +

    ovoid setFadeThresholdSize(const float fadeThresholdSize)

    - +

    oinline const float getFadeThresholdSize() const

    - +

    ovoid setDistanceAttenuation(const Vec3& distanceAttenuation)

    - +

    oinline const Vec3& getDistanceAttenuation() const

    - +

    ovirtual void apply(State& state) const

    - +

    ostatic void init_GL_EXT()

    - +

    ovirtual ~Point()

    - +

    ofloat _size

    - +

    ofloat _fadeThresholdSize

    - +

    oVec3 _distanceAttenuation

    diff --git a/doc/doc++/osg/PolygonMode.html b/doc/doc++/osg/PolygonMode.html index 2f3732473..5253a2244 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(PolygonMode, POLYGONMODE) +[more] META_StateAttribute(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(const Face face, const Mode mode) +[more]void setMode(const Face face, const Mode mode)
    -[more]const Mode getMode(const Face face) const +[more]const Mode getMode(const Face face) const
    -[more]inline const bool getFrontAndBack() const +[more]inline const bool getFrontAndBack() const
    -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

    Public Members

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

    Protected Fields

    -[more]bool _frontAndBack +[more]bool _frontAndBack
    -[more]Mode _modeFront +[more]Mode _modeFront
    -[more]Mode _modeBack +[more]Mode _modeBack

    Protected Methods

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

    @@ -76,7 +76,7 @@
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -84,7 +84,7 @@
    obool operator != (const StateAttribute& rhs) const
    -ovirtual void setStateSetModes(StateSet&, const GLModeValue) const +ovirtual void setStateSetModes(StateSet&, const GLModeValue) const
    ovirtual void compile(State&) const

    @@ -109,9 +109,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -121,7 +121,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -154,90 +154,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(PolygonMode, POLYGONMODE) + +
    o META_StateAttribute(PolygonMode, POLYGONMODE)

    - +

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

    - +

    oenum Face

    - +
    o FRONT

    - +

    o BACK

    - +

    o FRONT_AND_BACK

    - +
    oenum Mode

    - +
    o POINT

    - +

    o LINE

    - +

    o FILL

    - -
    ovoid setMode(const Face face, const Mode mode) + +
    ovoid setMode(const Face face, const Mode mode)

    - -

    oconst Mode getMode(const Face face) const + +
    oconst Mode getMode(const Face face) const

    - +

    oinline const bool getFrontAndBack() const

    - +

    ovirtual void apply(State& state) const

    - +

    ovirtual ~PolygonMode()

    - +

    obool _frontAndBack

    - -

    oMode _modeFront + +
    oMode _modeFront

    - -

    oMode _modeBack + +
    oMode _modeBack


    This class has no child classes.
    diff --git a/doc/doc++/osg/PolygonOffset.html b/doc/doc++/osg/PolygonOffset.html index 6f37cd94f..27b35678e 100644 --- a/doc/doc++/osg/PolygonOffset.html +++ b/doc/doc++/osg/PolygonOffset.html @@ -23,39 +23,39 @@

    Public Methods

    -[more] PolygonOffset() +[more] PolygonOffset()
    -[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(PolygonOffset, POLYGONOFFSET) +[more] META_StateAttribute(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 setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const
    -[more]inline void setFactor(const float factor) +[more]inline void setFactor(const float factor)
    -[more]inline const float getFactor() const +[more]inline const float getFactor() const
    -[more]inline void setUnits(const float units) +[more]inline void setUnits(const float units)
    -[more]inline const float getUnits() const +[more]inline const float getUnits() const
    -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

    Protected Fields

    -[more]float _factor +[more]float _factor
    -[more]float _units +[more]float _units

    Protected Methods

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

    @@ -71,7 +71,7 @@
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -102,9 +102,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

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

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -147,57 +147,57 @@
    - +
    o PolygonOffset()

    - -

    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(PolygonOffset, POLYGONOFFSET) + +
    o META_StateAttribute(PolygonOffset, POLYGONOFFSET)

    - +

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

    - -

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

    - +

    oinline void setFactor(const float factor)

    - +

    oinline const float getFactor() const

    - +

    oinline void setUnits(const float units)

    - +

    oinline const float getUnits() const

    - +

    ovirtual void apply(State& state) const

    - +

    ovirtual ~PolygonOffset()

    - +

    ofloat _factor

    - +

    ofloat _units

    diff --git a/doc/doc++/osg/PositionAttitudeTransform.html b/doc/doc++/osg/PositionAttitudeTransform.html index 3a183d713..9ba7e419a 100644 --- a/doc/doc++/osg/PositionAttitudeTransform.html +++ b/doc/doc++/osg/PositionAttitudeTransform.html @@ -23,33 +23,30 @@

    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(PositionAttitudeTransform) +[more] META_Node(PositionAttitudeTransform)
    -[more]void setPosition(const Vec3& pos) +[more]void setPosition(const Vec3& pos)
    -[more]const Vec3& getPosition() const +[more]const Vec3& getPosition() const
    -[more]void setAttitude(const Quat& quat) +[more]void setAttitude(const Quat& quat)
    -[more]const Quat& getAttitude() const +[more]const Quat& getAttitude() const +
    +[more]virtual const bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const +
    +[more]virtual const bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const

    Protected Fields

    -[more]Vec3 _position +[more]Vec3 _position
    -[more]Quat _attitude -

    - -

    -

    Protected Methods

    -[more]virtual const bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const -
    -[more]virtual const bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const +[more]Quat _attitude

    @@ -57,15 +54,15 @@

    Public Methods

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

    Protected Fields

    -oref_ptr<ComputeTransformCallback> _computeTransformCallback +oref_ptr<ComputeTransformCallback> _computeTransformCallback
    -oReferenceFrame _referenceFrame +oReferenceFrame _referenceFrame
    oref_ptr<Matrix> _matrix
    @@ -148,47 +145,47 @@ 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(PositionAttitudeTransform)

    - +

    ovoid setPosition(const Vec3& pos)

    - +

    oconst Vec3& getPosition() const

    - +

    ovoid setAttitude(const Quat& quat)

    - +

    oconst Quat& getAttitude() const

    - +

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

    - +

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

    - +

    oVec3 _position

    - +

    oQuat _attitude

    diff --git a/doc/doc++/osg/Projection.html b/doc/doc++/osg/Projection.html index 2fce9a886..c4fd663e5 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(Projection) +[more] META_Node(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]ref_ptr<Matrix> _matrix +[more]ref_ptr<Matrix> _matrix

    Protected Methods

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

    @@ -100,48 +100,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(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()

    - +

    oref_ptr<Matrix> _matrix

    diff --git a/doc/doc++/osg/Quat.html b/doc/doc++/osg/Quat.html index e8bc96eb8..471e13c0a 100644 --- a/doc/doc++/osg/Quat.html +++ b/doc/doc++/osg/Quat.html @@ -13,104 +13,104 @@

    Public Fields

    -[more]Vec4 _fv +[more]Vec4 _fv

    Public Methods

    -[more] Quat() +[more] Quat()
    -[more] Quat( float x, float y, float z, float w ) +[more] Quat( float x, float y, float z, float w )
    -[more] Quat( const Vec4& v ) +[more] Quat( const Vec4& v )
    -[more]inline Vec4& asVec4() +[more]inline Vec4& asVec4()
    -[more]inline const Vec4& asVec4() const +[more]inline const Vec4& asVec4() const
    -[more]inline const Vec3 asVec3() const +[more]inline const Vec3 asVec3() const
    -[more]inline void set(const float x, const float y, const float z, const float w) +[more]inline void set(const float x, const float y, const float z, const float w)
    -[more]inline void set(const osg::Vec4& v) +[more]inline void set(const osg::Vec4& v)
    -[more]inline const Quat operator * (const float rhs) const +[more]inline const Quat operator * (const float rhs) const
    Multiply by scalar
    -[more]inline Quat& operator *= (const float rhs) +[more]inline Quat& operator *= (const float rhs)
    Unary multiply by scalar
    -[more]inline const Quat operator*(const Quat& rhs) const +[more]inline const Quat operator*(const Quat& rhs) const
    Binary multiply
    -[more]inline Quat& operator*=(const Quat& rhs) +[more]inline Quat& operator*=(const Quat& rhs)
    Unary multiply
    -[more]inline const Quat operator / (const float& rhs) const +[more]inline const Quat operator / (const float& rhs) const
    Divide by scalar
    -[more]inline Quat& operator /= (const float& rhs) +[more]inline Quat& operator /= (const float& rhs)
    Unary divide by scalar
    -[more]inline const Quat operator/(const Quat& denom) const +[more]inline const Quat operator/(const Quat& denom) const
    Binary divide
    -[more]inline Quat& operator/=(const Quat& denom) +[more]inline Quat& operator/=(const Quat& denom)
    Unary divide
    -[more]inline const Quat operator + (const Quat& rhs) const +[more]inline const Quat operator + (const Quat& rhs) const
    Binary addition
    -[more]inline Quat& operator += (const Quat& rhs) +[more]inline Quat& operator += (const Quat& rhs)
    Unary addition
    -[more]inline const Quat operator - (const Quat& rhs) const +[more]inline const Quat operator - (const Quat& rhs) const
    Binary subtraction
    -[more]inline Quat& operator -= (const Quat& rhs) +[more]inline Quat& operator -= (const Quat& rhs)
    Unary subtraction
    -[more]inline const Quat operator - () const +[more]inline const Quat operator - () const
    Negation operator - returns the negative of the quaternion.
    -[more]const float length() const +[more]const float length() const
    Length of the quaternion = sqrt( vec .
    -[more]const float length2() const +[more]const float length2() const
    Length of the quaternion = vec .
    -[more]inline const Quat conj() const +[more]inline const Quat conj() const
    Conjugate
    -[more]inline const Quat inverse() const +[more]inline const Quat inverse() const
    Multiplicative inverse method: q^(-1) = q^*/(qq^*)
    -[more]void makeRotate( const float angle, const float x, const float y, const float z ) +[more]void makeRotate( const float angle, const float x, const float y, const float z )
    -[more]void makeRotate( const float angle, const Vec3& vec ) +[more]void makeRotate( const float angle, const Vec3& vec )
    -[more]void makeRotate( const Vec3& vec1, const Vec3& vec2 ) +[more]void makeRotate( const Vec3& vec1, const Vec3& vec2 )
    Make a rotation Quat which will rotate vec1 to vec2.
    -[more]void makeRotate( float heading, float pitch, float roll) +[more]void makeRotate( float heading, float pitch, float roll)
    make a rotation Quat from euler angles.
    -[more]void getRotate( float& angle, float& x, float& y, float& z ) const +[more]void getRotate( float& angle, float& x, float& y, float& z ) const
    Return the angle and vector components represented by the quaternion
    -[more]void getRotate( float& angle, Vec3& vec ) const +[more]void getRotate( float& angle, Vec3& vec ) const
    Return the angle and vector represented by the quaternion
    -[more]void slerp( const float t, const Quat& from, const Quat& to) +[more]void slerp( const float t, const Quat& from, const Quat& to)
    Spherical Linear Interpolation.
    -[more]void set( const 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

    @@ -123,137 +123,137 @@
    - +
    oVec4 _fv

    - +

    o Quat()

    - -

    o Quat( float x, float y, float z, float w ) + +
    o Quat( float x, float y, float z, float w )

    - +

    o Quat( const Vec4& v )

    - +

    oinline Vec4& asVec4()

    - +

    oinline const Vec4& asVec4() const

    - +

    oinline const Vec3 asVec3() const

    - -

    oinline void set(const float x, const float y, const float z, const float w) + +
    oinline void set(const float x, const float y, const float z, const float w)

    - +

    oinline void set(const osg::Vec4& v)

    - +

    oinline const Quat operator * (const float rhs) const
    Multiply by scalar

    - +

    oinline Quat& operator *= (const float rhs)
    Unary multiply by scalar

    - +

    oinline const Quat operator*(const Quat& rhs) const
    Binary multiply

    - +

    oinline Quat& operator*=(const Quat& rhs)
    Unary multiply

    - +

    oinline const Quat operator / (const float& rhs) const
    Divide by scalar

    - +

    oinline Quat& operator /= (const float& rhs)
    Unary divide by scalar

    - +

    oinline const Quat operator/(const Quat& denom) const
    Binary divide

    - +

    oinline Quat& operator/=(const Quat& denom)
    Unary divide

    - +

    oinline const Quat operator + (const Quat& rhs) const
    Binary addition

    - +

    oinline Quat& operator += (const Quat& rhs)
    Unary addition

    - +

    oinline const Quat operator - (const Quat& rhs) const
    Binary subtraction

    - +

    oinline Quat& operator -= (const Quat& rhs)
    Unary subtraction

    - +

    oinline const Quat operator - () const
    Negation operator - returns the negative of the quaternion. Basically just calls operator - () on the Vec4

    - +

    oconst float length() const
    Length of the quaternion = sqrt( vec . vec )

    - +

    oconst float length2() const
    Length of the quaternion = vec . vec

    - +

    oinline const Quat conj() const
    Conjugate

    - +

    oinline const Quat inverse() const
    Multiplicative inverse method: q^(-1) = q^*/(qq^*)

    - -

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

    - +

    ovoid makeRotate( const float angle, const Vec3& vec )

    - +

    ovoid makeRotate( const Vec3& vec1, const Vec3& vec2 )
    Make a rotation Quat which will rotate vec1 to vec2. Generally take adot product to get the angle between these @@ -262,7 +262,7 @@ Watch out for the two special cases of when the vectors are co-incident or opposite in direction.

    - +

    ovoid makeRotate( float heading, float pitch, float roll)
    make a rotation Quat from euler angles. assume Z up, Y north, X east and euler convention @@ -272,33 +272,33 @@ then applies a positive roation about X for pitch, and finally a negative rotation about the Z axis.

    - -

    ovoid getRotate( float& angle, float& x, float& y, float& z ) const + +
    ovoid getRotate( float& angle, float& x, float& y, float& z ) const
    Return the angle and vector components represented by the quaternion

    - +

    ovoid getRotate( float& angle, Vec3& vec ) const
    Return the angle and vector represented by the quaternion

    - -

    ovoid slerp( const float t, const Quat& from, const Quat& to) + +
    ovoid slerp( const float t, const Quat& from, const Quat& to)
    Spherical Linear Interpolation. As t goes from 0 to 1, the Quat object goes from "from" to "to".

    - +

    ovoid set( const 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/Referenced.html b/doc/doc++/osg/Referenced.html index abb6c15fe..13fd20ca6 100644 --- a/doc/doc++/osg/Referenced.html +++ b/doc/doc++/osg/Referenced.html @@ -11,11 +11,11 @@

    Inheritance:

    - - - - - + + + + +
    @@ -23,33 +23,33 @@

    Public Methods

    -[more] Referenced() +[more] Referenced()
    -[more] Referenced(const Referenced&) +[more] Referenced(const Referenced&)
    -[more]inline Referenced& operator = (Referenced&) +[more]inline Referenced& operator = (Referenced&)
    -[more]inline void ref() const +[more]inline void ref() const
    increment the reference count by one, indicating that this object has another pointer which is referencing it
    -[more]inline void unref() const +[more]inline void unref() const
    decrement the reference count by one, indicating that a pointer to this object is referencing it.
    -[more]inline 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 const int referenceCount() const +[more]inline const int referenceCount() const
    return the number pointers currently referencing this object.

    Protected Fields

    -[more]mutable int _refCount +[more]mutable int _refCount

    Protected Methods

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

    @@ -61,25 +61,25 @@
    - +
    o Referenced()

    - -

    o Referenced(const Referenced&) + +
    o Referenced(const Referenced&)

    - +

    oinline Referenced& operator = (Referenced&)

    - +

    oinline void ref() const
    increment the reference count by one, indicating that this object has another pointer which is referencing it

    - +

    oinline void unref() const
    decrement the reference count by one, indicating that a pointer to this object is referencing it. If the @@ -87,7 +87,7 @@ reference count goes to zero, it is assumed that this object is no longer referenced and is automatically deleted.

    - +

    oinline void unref_nodelete() const
    decrement the reference count by one, indicating that a pointer to this object is referencing it. However, do @@ -97,16 +97,16 @@ be resonsible for, one should prefer unref() over unref_nodelete() as the later can lead to memory leaks.

    - +

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

    - +

    ovirtual ~Referenced()

    - +

    omutable int _refCount


    @@ -120,6 +120,8 @@ as the later can lead to memory leaks. ImpostorSpriteManager
    FrameStamp
    DisplaySettings
    +CullingSet
    +ConvexPlanerOccluder
    Camera
    diff --git a/doc/doc++/osg/ShadeModel.html b/doc/doc++/osg/ShadeModel.html index a6c072a2d..d9a1f8725 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(ShadeModel, SHADEMODEL) +[more] META_StateAttribute(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(const Mode mode) +[more]inline void setMode(const Mode mode)
    -[more]inline const Mode getMode() const +[more]inline const Mode getMode() const
    -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

    Public Members

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

    Protected Fields

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

    Protected Methods

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

    @@ -68,7 +68,7 @@
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -76,7 +76,7 @@
    obool operator != (const StateAttribute& rhs) const
    -ovirtual void setStateSetModes(StateSet&, const GLModeValue) const +ovirtual void setStateSetModes(StateSet&, const GLModeValue) const
    ovirtual void compile(State&) const

    @@ -101,9 +101,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -113,7 +113,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -146,56 +146,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(ShadeModel, SHADEMODEL) + +
    o META_StateAttribute(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(const Mode mode) + +
    oinline void setMode(const Mode mode)

    - -

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

    - +

    ovirtual void apply(State& state) const

    - +

    ovirtual ~ShadeModel()

    - -

    oMode _mode + +
    oMode _mode


    This class has no child classes.
    diff --git a/doc/doc++/osg/State.html b/doc/doc++/osg/State.html index 5d9e26933..dd6dca3bf 100644 --- a/doc/doc++/osg/State.html +++ b/doc/doc++/osg/State.html @@ -23,72 +23,78 @@

    Public Methods

    -[more] State() +[more] State()
    -[more]virtual ~State() +[more]virtual ~State()
    -[more]void pushStateSet(const StateSet* dstate) +[more]void pushStateSet(const StateSet* dstate)
    push stateset onto state stack
    -[more]void popStateSet() +[more]void popStateSet()
    pop drawstate off state stack
    -[more]void captureCurrentState(StateSet& stateset) const +[more]void captureCurrentState(StateSet& stateset) const
    copy the modes and attributes which captures the current state
    -[more]void reset() +[more]void reset()
    reset the state object to an empty stack
    -[more]inline const bool applyMode(const StateAttribute::GLMode mode, const bool enabled) -
    apply an OpenGL mode if required. +[more]inline void applyProjectionMatrix(const osg::Matrix* matrix)
    -[more]inline const bool applyAttribute(const StateAttribute* attribute) -
    apply an attribute if required. +[more]const osg::Matrix& getProjectionMatrix() const
    -[more]inline void applyProjectionMatrix(const osg::Matrix* matrix) +[more]inline void applyModelViewMatrix(const osg::Matrix* matrix)
    -[more]const osg::Matrix& getProjectionMatrix() const +[more]const osg::Matrix& getModelViewMatrix() const
    -[more]inline void applyModelViewMatrix(const osg::Matrix* matrix) +[more]Polytope getViewFrustum() const
    -[more]const osg::Matrix& getModelViewMatrix() const +[more]void apply(const StateSet* dstate) +
    Apply stateset
    -[more]ClippingVolume getClippingVolume() const +[more]void apply() +
    Apply the state
    -[more]void apply(const StateSet* dstate) -
    apply stateset +[more]inline const bool applyMode(const StateAttribute::GLMode mode, const bool enabled) +
    Apply an OpenGL mode if required.
    -[more]void apply() -
    apply the state +[more]inline const bool applyAttribute(const StateAttribute* attribute) +
    Apply an attribute if required.
    -[more]void haveAppliedMode(const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value) -
    mode has been set externally, update state to reflect this setting +[more]void haveAppliedMode(const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value) +
    Mode has been set externally, update state to reflect this setting
    -[more]void haveAppliedMode(const 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 haveAppliedMode(const 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) -
    attribute has been applied externally, update state to reflect this setting +[more]void haveAppliedAttribute(const StateAttribute* attribute) +
    Attribute has been applied externally, update state to reflect this setting
    -[more]void haveAppliedAttribute(const 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]void haveAppliedAttribute(const 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]inline void setContextID(unsigned int contextID) +[more]const bool getLastAppliedMode(const StateAttribute::GLMode mode) const +
    Get whether the current specified mode is enabled (true) or disabled (false) +
    +[more]const StateAttribute* getLastAppliedAttribute(const StateAttribute::Type type) const +
    Get the current specified attribute, return NULL is one has not yet been applied +
    +[more]inline void setContextID(unsigned int contextID)
    Set the current OpenGL context uniqueID.
    -[more]inline const unsigned int getContextID() const +[more]inline const unsigned int getContextID() const
    Get the current OpenGL context unique ID
    -[more]inline void setFrameStamp(FrameStamp* fs) +[more]inline void setFrameStamp(FrameStamp* fs)
    Set the frame stamp for the current frame
    -[more]inline const FrameStamp* getFrameStamp() const +[more]inline const FrameStamp* getFrameStamp() const
    Set the frame stamp for the current frame
    -[more]inline void 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

    @@ -123,93 +129,93 @@ Lazy state updating is used to minimize state changes.
    - +
    o State()

    - +

    ovirtual ~State()

    - +

    ovoid pushStateSet(const StateSet* dstate)
    push stateset onto state stack

    - +

    ovoid popStateSet()
    pop drawstate off state stack

    - +

    ovoid captureCurrentState(StateSet& stateset) const
    copy the modes and attributes which captures the current state

    - +

    ovoid reset()
    reset the state object to an empty stack

    - - -

    oinline const bool applyMode(const StateAttribute::GLMode mode, const bool enabled) -
    apply an OpenGL mode if required. -

    - - -

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

    - +

    oinline void applyProjectionMatrix(const osg::Matrix* matrix)

    - +

    oconst osg::Matrix& getProjectionMatrix() const

    - +

    oinline void applyModelViewMatrix(const osg::Matrix* matrix)

    - +

    oconst osg::Matrix& getModelViewMatrix() const

    - - -

    oClippingVolume getClippingVolume() const + + +
    oPolytope getViewFrustum() const

    - +

    ovoid apply(const StateSet* dstate) -
    apply stateset +
    Apply stateset

    - +

    ovoid apply() -
    apply the state +
    Apply the state +

    + + +

    oinline const bool applyMode(const StateAttribute::GLMode mode, const bool enabled) +
    Apply an OpenGL mode if required. +

    + + +

    oinline const bool applyAttribute(const StateAttribute* attribute) +
    Apply an attribute if required.

    - +

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

    - +

    ovoid haveAppliedMode(const StateAttribute::GLMode mode) -
    mode has been set externally, therefore dirty the associated mode in osg::State +
    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 +
    Attribute has been applied externally, update state to reflect this setting

    - +

    ovoid haveAppliedAttribute(const StateAttribute::Type type) -
    attribute has been applied externally, +
    Attribute has been applied externally, and therefore this attribute type has been dirtied and will need to be re-appplied on next osg::Stateapply(). note, if you have an osg::StateAttribute which you have applied externally @@ -217,8 +223,18 @@ then use the have_applied(attribute) method as this will the osg::State to track the current state more accuratly and enable lazy state updating such that only changed state will be applied.

    + + +

    oconst bool getLastAppliedMode(const StateAttribute::GLMode mode) const +
    Get whether the current specified mode is enabled (true) or disabled (false) +

    + + +

    oconst StateAttribute* getLastAppliedAttribute(const StateAttribute::Type type) const +
    Get the current specified attribute, return NULL is one has not yet been applied +

    - +

    oinline void setContextID(unsigned int contextID)
    Set the current OpenGL context uniqueID. Note, it is the application developers responsibility to @@ -228,74 +244,74 @@ help manage OpenGL display list and texture binds appropriate for each context.

    - +

    oinline const unsigned int getContextID() const
    Get the current OpenGL context unique ID

    - +

    oinline void setFrameStamp(FrameStamp* fs)
    Set the frame stamp for the current frame

    - +

    oinline const FrameStamp* getFrameStamp() const
    Set the frame stamp for the current frame

    - +

    oinline void setDisplaySettings(DisplaySettings* vs)
    Set the DisplaySettings. Note, nothing is applied, the visual settings are just used used in the State object to pass the current visual settings to Drawables during rendering.

    - +

    oinline const DisplaySettings* getDisplaySettings() const
    Get the DisplaySettings

    - +
    o ModeStack()

    - +

    obool changed

    - +

    obool last_applied_value

    - +

    obool global_default_value

    - +

    oValueVec valueVec

    - +
    o AttributeStack()

    - +

    obool changed
    apply an attribute if required, passing in attribute and appropriate attribute stack

    - +

    oconst StateAttribute* last_applied_attribute

    - +

    oref_ptr<StateAttribute> global_default_attribute

    - +

    oAttributeVec attributeVec

    diff --git a/doc/doc++/osg/StateAttribute.html b/doc/doc++/osg/StateAttribute.html index ff8051525..1e08c274b 100644 --- a/doc/doc++/osg/StateAttribute.html +++ b/doc/doc++/osg/StateAttribute.html @@ -23,67 +23,67 @@

    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* className() const +[more]virtual const char* className() const
    return the name of the attribute's class type
    -[more]virtual const Type getType() const = 0 +[more]virtual const Type getType() const = 0
    return the Type identifier of the attribute's class type
    -[more]virtual int compare(const StateAttribute& sa) const = 0 +[more]virtual int compare(const StateAttribute& sa) const = 0
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
    -[more]bool operator < (const StateAttribute& rhs) const +[more]bool operator < (const StateAttribute& rhs) const
    -[more]bool operator == (const StateAttribute& rhs) const +[more]bool operator == (const StateAttribute& rhs) const
    -[more]bool operator != (const StateAttribute& rhs) const +[more]bool operator != (const StateAttribute& rhs) const
    -[more]virtual void setStateSetModes(StateSet&, const GLModeValue) const +[more]virtual void setStateSetModes(StateSet&, const GLModeValue) const
    -[more]virtual void apply(State&) const = 0 +[more]virtual void apply(State&) const = 0
    apply the OpenGL state attributes.
    -[more]virtual void compile(State&) const +[more]virtual void compile(State&) const
    default to nothing to compile - all state is applied immediately.

    Public Members

    -[more]typedef GLenum GLMode +[more]typedef GLenum GLMode
    GLMode is the value used in glEnable/glDisable(mode)
    -[more]typedef unsigned int GLModeValue +[more]typedef unsigned int GLModeValue
    GLModeValue is used to specified whether an mode is enabled (ON) or disabled (OFF).
    -[more]typedef unsigned int OverrideValue +[more]typedef unsigned int OverrideValue
    Override is used to specified the override behavior of StateAttributes from from parent to children.
    -[more]enum Values +[more]enum Values
    list values which can be used in to set either GLModeValues or OverrideValues.
    -[more]typedef unsigned int Type +[more]typedef unsigned int Type
    Type identifier to differentiate between different state types.
    -[more]enum Types +[more]enum Types
    Values of StateAttribute::Type used to aid identification of different StateAttribute subclasses.

    Protected Methods

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

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

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -103,7 +103,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -136,26 +136,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 @@ -167,43 +167,43 @@ StateSet::setAttributeAndModes(..).

    - +
    o OFF
    means that associated GLMode and Override is disabled

    - +

    o ON
    means that associated GLMode is enabled and Override is disabled

    - +

    o OVERRIDE
    Overriding of GLMode's or StateAttributes is enabled

    - +

    o OVERRIDE_OFF
    Equivilant to OFF | OVERRIDE

    - +

    o OVERRIDE_ON
    Equivilant to ON | OVERRIDE

    - +

    o INHERIT
    means that GLMode or StateAttribute should in inherited from above

    - +
    otypedef unsigned int Type
    Type identifier to differentiate between different state types.

    - +

    oenum Types
    Values of StateAttribute::Type used to aid identification of different StateAttribute subclasses. Each subclass defines @@ -216,240 +216,240 @@ that types value.

    - +
    o TEXTURE

    - +

    o TEXTURE_0

    - +

    o TEXTURE_1

    - +

    o TEXTURE_2

    - +

    o TEXTURE_3

    - +

    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 SHADEMODEL

    - +

    o TEXENV

    - +

    o TEXGEN

    - +

    o TEXMAT

    - +

    o LIGHTMODEL

    - +

    o TRANSPARENCY

    - +

    o STENCIL

    - +

    o COLORMASK

    - +

    o DEPTH

    - +

    o VIEWPORT

    - +

    o CLIPPLANE

    - +

    o CLIPPLANE_0

    - +

    o CLIPPLANE_1

    - +

    o CLIPPLANE_2

    - +

    o CLIPPLANE_3

    - +

    o CLIPPLANE_4

    - +

    o CLIPPLANE_5

    - +

    o COLORMATRIX

    - +
    o StateAttribute()

    - -

    o StateAttribute(const StateAttribute& sa, const CopyOp& copyop=CopyOp::SHALLOW_COPY) + +
    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* className() const
    return the name of the attribute's class type

    - -

    ovirtual const Type getType() const = 0 + +
    ovirtual const Type getType() const = 0
    return the Type identifier of the attribute's class type

    - +

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

    - +

    obool operator < (const StateAttribute& rhs) const

    - +

    obool operator == (const StateAttribute& rhs) const

    - +

    obool operator != (const StateAttribute& rhs) const

    - -

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

    - +

    ovirtual void apply(State&) const = 0
    apply the OpenGL state attributes. The global state for the current OpenGL context is passed @@ -457,12 +457,12 @@ in to allow the StateAttribute to obtain details on the the current context and state.

    - +

    ovirtual void compile(State&) const
    default to nothing to compile - all state is applied immediately.

    - +

    ovirtual ~StateAttribute()


    diff --git a/doc/doc++/osg/StateSet.html b/doc/doc++/osg/StateSet.html index 5d32e0bae..ac506b9d5 100644 --- a/doc/doc++/osg/StateSet.html +++ b/doc/doc++/osg/StateSet.html @@ -23,139 +23,139 @@

    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* 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(const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value) +[more]void setMode(const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value)
    set this StateSet to contain specified GLMode and value
    -[more]void setModeToInherit(const StateAttribute::GLMode mode) +[more]void setModeToInherit(const StateAttribute::GLMode mode)
    set this StateSet to inherit specified GLMode type from parents.
    -[more]const StateAttribute::GLModeValue getMode(const StateAttribute::GLMode mode) const +[more]const StateAttribute::GLModeValue getMode(const StateAttribute::GLMode mode) const
    get specified GLModeValue for specified GLMode.
    -[more]inline ModeList& getModeList() +[more]inline ModeList& getModeList()
    return the list of all GLModes contained in this StateSet
    -[more]inline const ModeList& getModeList() const +[more]inline const ModeList& getModeList() const
    return the const list of all GLModes contained in this const StateSet
    -[more]void setAttribute(StateAttribute* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF) +[more]void setAttribute(StateAttribute* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF)
    set this StateSet to contain specified attribute and override flag
    -[more]void setAttributeAndModes(StateAttribute* attribute, const StateAttribute::GLModeValue value=StateAttribute::ON) +[more]void setAttributeAndModes(StateAttribute* attribute, const StateAttribute::GLModeValue value=StateAttribute::ON)
    set this StateSet to contain specified attribute and set the associated GLMode's to specified value
    -[more]void setAttributeToInherit(const StateAttribute::Type type) +[more]void setAttributeToInherit(const StateAttribute::Type type)
    set this StateSet to inherit specified attribute type from parents.
    -[more]StateAttribute* getAttribute(const StateAttribute::Type type) +[more]StateAttribute* getAttribute(const StateAttribute::Type type)
    get specified StateAttribute for specified type.
    -[more]const StateAttribute* getAttribute(const StateAttribute::Type type) const +[more]const StateAttribute* getAttribute(const StateAttribute::Type type) const
    get specified const StateAttribute for specified type.
    -[more]const RefAttributePair* getAttributePair(const StateAttribute::Type type) const +[more]const RefAttributePair* getAttributePair(const StateAttribute::Type type) const
    get specified RefAttributePair for specified type.
    -[more]inline AttributeList& getAttributeList() +[more]inline AttributeList& getAttributeList()
    return the list of all StateAttributes contained in this StateSet
    -[more]inline const AttributeList& getAttributeList() const +[more]inline const AttributeList& getAttributeList() const
    return the const list of all StateAttributes contained in this const StateSet
    -[more]void setRenderingHint(const int hint) +[more]void setRenderingHint(const int hint)
    set the RenderingHint of the StateSet.
    -[more]inline const int getRenderingHint() const +[more]inline const int getRenderingHint() const
    get the RenderingHint of the StateSet
    -[more]void setRenderBinDetails(const int binNum, const std::string& binName, const RenderBinMode mode=USE_RENDERBIN_DETAILS) +[more]void setRenderBinDetails(const int binNum, const std::string& binName, const RenderBinMode mode=USE_RENDERBIN_DETAILS)
    set the render bin details
    -[more]void setRendingBinToInherit() +[more]void setRendingBinToInherit()
    set the render bin details to inherit
    -[more]inline const RenderBinMode getRenderBinMode() const +[more]inline const RenderBinMode getRenderBinMode() const
    get the render bin mode
    -[more]inline const bool useRenderBinDetails() const +[more]inline const bool useRenderBinDetails() const
    get whether the render bin details are set and should be used
    -[more]inline const int getBinNumber() const +[more]inline const int getBinNumber() const
    get the render bin number
    -[more]inline const std::string& getBinName() const +[more]inline const std::string& getBinName() const
    get the render bin name
    -[more]void compile(State& state) const +[more]void compile(State& state) const
    call compile on all StateAttributes contained within this StateSet

    Public Members

    -[more]typedef std::map<StateAttribute::GLMode,StateAttribute::GLModeValue> ModeList +[more]typedef std::map<StateAttribute::GLMode,StateAttribute::GLModeValue> ModeList
    a container to map GLModes to their respective GLModeValues
    -[more]typedef std::pair<ref_ptr<StateAttribute>,StateAttribute::OverrideValue> RefAttributePair +[more]typedef std::pair<ref_ptr<StateAttribute>,StateAttribute::OverrideValue> RefAttributePair
    simple pairing between an attribute and its override flag
    -[more]typedef std::map<StateAttribute::Type,RefAttributePair> AttributeList +[more]typedef std::map<StateAttribute::Type,RefAttributePair> AttributeList
    a container to map StateAttribyte::Types to their respective RefAttributePair
    -[more]enum RenderingHint +[more]enum RenderingHint
    -[more]enum RenderBinMode +[more]enum RenderBinMode

    Protected Fields

    -[more]ModeList _modeList +[more]ModeList _modeList
    -[more]AttributeList _attributeList +[more]AttributeList _attributeList
    -[more]int _renderingHint +[more]int _renderingHint
    -[more]RenderBinMode _binMode +[more]RenderBinMode _binMode
    -[more]int _binNum +[more]int _binNum
    -[more]std::string _binName +[more]std::string _binName

    Protected Methods

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

    @@ -163,9 +163,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -175,7 +175,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -211,170 +211,170 @@ 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* className() const

    - +

    oint compare(const StateSet& rhs, bool compareAttributeContents=false) const
    return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs

    - +

    obool operator < (const StateSet& rhs) const

    - +

    obool operator == (const StateSet& rhs) const

    - +

    obool operator != (const StateSet& rhs) const

    - +

    ovoid setGlobalDefaults()
    set all the modes to on or off so that it defines a complete state, typically used for a default global state

    - +

    ovoid setAllToInherit()
    set all the modes to inherit, typically used to signify nodes which inherit all of their modes for the global state

    - +

    ovoid merge(const StateSet& rhs)
    merge this stateset with stateset rhs, this overrides the rhs if OVERRIDE is specified, otherwise rhs takes precedence

    - +

    otypedef std::map<StateAttribute::GLMode,StateAttribute::GLModeValue> ModeList
    a container to map GLModes to their respective GLModeValues

    - +

    ovoid setMode(const StateAttribute::GLMode mode, const StateAttribute::GLModeValue value)
    set this StateSet to contain specified GLMode and value

    - +

    ovoid setModeToInherit(const StateAttribute::GLMode mode)
    set this StateSet to inherit specified GLMode type from parents. has the effect of deleting any GlMode of specified type from StateSet.

    - +

    oconst StateAttribute::GLModeValue getMode(const StateAttribute::GLMode mode) const
    get specified GLModeValue for specified GLMode. returns INHERIT if no GLModeValue is contained within StateSet.

    - -

    oinline ModeList& getModeList() + +
    oinline ModeList& getModeList()
    return the list of all GLModes contained in this StateSet

    - -

    oinline const ModeList& getModeList() const + +
    oinline const ModeList& getModeList() const
    return the const list of all GLModes contained in this const StateSet

    - +

    otypedef std::pair<ref_ptr<StateAttribute>,StateAttribute::OverrideValue> RefAttributePair
    simple pairing between an attribute and its override flag

    - -

    otypedef std::map<StateAttribute::Type,RefAttributePair> AttributeList + +
    otypedef std::map<StateAttribute::Type,RefAttributePair> AttributeList
    a container to map StateAttribyte::Types to their respective RefAttributePair

    - +

    ovoid setAttribute(StateAttribute* attribute, const StateAttribute::OverrideValue value=StateAttribute::OFF)
    set this StateSet to contain specified attribute and override flag

    - +

    ovoid setAttributeAndModes(StateAttribute* attribute, const StateAttribute::GLModeValue value=StateAttribute::ON)
    set this StateSet to contain specified attribute and set the associated GLMode's to specified value

    - +

    ovoid setAttributeToInherit(const StateAttribute::Type type)
    set this StateSet to inherit specified attribute type from parents. has the effect of deleting any state attributes of specified type from StateSet.

    - +

    oStateAttribute* getAttribute(const StateAttribute::Type type)
    get specified StateAttribute for specified type. returns NULL if no type is contained within StateSet.

    - +

    oconst StateAttribute* getAttribute(const StateAttribute::Type type) const
    get specified const StateAttribute for specified type. returns NULL if no type is contained within const StateSet.

    - -

    oconst RefAttributePair* getAttributePair(const StateAttribute::Type type) const + +
    oconst RefAttributePair* getAttributePair(const StateAttribute::Type type) const
    get specified RefAttributePair for specified type. returns NULL if no type is contained within StateSet.

    - -

    oinline AttributeList& getAttributeList() + +
    oinline AttributeList& getAttributeList()
    return the list of all StateAttributes contained in this StateSet

    - -

    oinline const AttributeList& getAttributeList() const + +
    oinline const AttributeList& getAttributeList() const
    return the const list of all StateAttributes contained in this const StateSet

    - +

    oenum RenderingHint

    - +
    o DEFAULT_BIN

    - +

    o OPAQUE_BIN

    - +

    o TRANSPARENT_BIN

    - +
    ovoid setRenderingHint(const int hint)
    set the RenderingHint of the StateSet. RenderingHint is used by osgUtil::Renderer to determine which @@ -383,97 +383,97 @@ objects OPAQUE_BIN would typical used, which TRANSPARENT_BIN should be used for objects which need to be depth sorted.

    - +

    oinline const int getRenderingHint() const
    get the RenderingHint of the StateSet

    - +

    oenum RenderBinMode

    - +
    o INHERIT_RENDERBIN_DETAILS

    - +

    o USE_RENDERBIN_DETAILS

    - +

    o OVERRIDE_RENDERBIN_DETAILS

    - +

    o ENCLOSE_RENDERBIN_DETAILS

    - -
    ovoid setRenderBinDetails(const int binNum, const std::string& binName, const RenderBinMode mode=USE_RENDERBIN_DETAILS) + +
    ovoid setRenderBinDetails(const int binNum, const std::string& binName, const RenderBinMode mode=USE_RENDERBIN_DETAILS)
    set the render bin details

    - +

    ovoid setRendingBinToInherit()
    set the render bin details to inherit

    - -

    oinline const RenderBinMode getRenderBinMode() const + +
    oinline const RenderBinMode getRenderBinMode() const
    get the render bin mode

    - +

    oinline const bool useRenderBinDetails() const
    get whether the render bin details are set and should be used

    - +

    oinline const int getBinNumber() const
    get the render bin number

    - +

    oinline const std::string& getBinName() const
    get the render bin name

    - +

    ovoid compile(State& state) const
    call compile on all StateAttributes contained within this StateSet

    - +

    ovirtual ~StateSet()

    - +

    oStateSet& operator = (const StateSet&)

    - -

    oModeList _modeList + +
    oModeList _modeList

    - -

    oAttributeList _attributeList + +
    oAttributeList _attributeList

    - +

    oint _renderingHint

    - -

    oRenderBinMode _binMode + +
    oRenderBinMode _binMode

    - +

    oint _binNum

    - +

    ostd::string _binName

    diff --git a/doc/doc++/osg/Statistics.html b/doc/doc++/osg/Statistics.html index 5b8228e55..4c00a7ee1 100644 --- a/doc/doc++/osg/Statistics.html +++ b/doc/doc++/osg/Statistics.html @@ -23,71 +23,71 @@

    Public Fields

    -[more]int numOpaque +[more]int numOpaque
    -[more]int nummat +[more]int nummat
    -[more]int nbins +[more]int nbins
    -[more]int nprims +[more]int nprims
    -[more]int nlights +[more]int nlights
    -[more]int depth +[more]int depth
    -[more]int _binNo +[more]int _binNo
    -[more]statsType stattype +[more]statsType stattype
    -[more]int nimpostor +[more]int nimpostor
    -[more]int numprimtypes[16] +[more]int numprimtypes[16]
    -[more]int primtypes[16] +[more]int primtypes[16]
    -[more]int primlens[16] +[more]int primlens[16]
    -[more]int primverts[16] +[more]int primverts[16]

    Public Methods

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

    Public Members

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

    @@ -145,223 +145,223 @@ each trifan or tristrip = (length-2) triangles and so on.
    - +
    o Statistics()

    - +

    oenum PrimitiveType

    - +
    o NO_TYPE

    - +

    o POINTS

    - +

    o LINES

    - +

    o LINE_STRIP

    - +

    o FLAT_LINE_STRIP

    - +

    o LINE_LOOP

    - +

    o TRIANGLES

    - +

    o TRIANGLE_STRIP

    - +

    o FLAT_TRIANGLE_STRIP

    - +

    o TRIANGLE_FAN

    - +

    o FLAT_TRIANGLE_FAN

    - +

    o QUADS

    - +

    o QUAD_STRIP

    - +

    o POLYGON

    - +

    o IMPOSTOR

    - +
    o ~Statistics()

    - +

    oenum statsType

    - +
    o STAT_NONE

    - +

    o STAT_FRAMERATE

    - +

    o STAT_GRAPHS

    - +

    o STAT_VIEWPARMS

    - +

    o STAT_PRIMS

    - +

    o STAT_PRIMSPERVIEW

    - +

    o STAT_PRIMSPERBIN

    - +

    o STAT_DC

    - +

    o STAT_RESTART

    - +
    ovoid reset()

    - -

    ovoid setType(statsType t) + +
    ovoid setType(statsType t)

    - -

    ovirtual bool apply(osg::Drawable::AttributeBitMask abm, osg::Vec3* begin, osg::Vec3* end) + +
    ovirtual bool apply(osg::Drawable::AttributeBitMask abm, osg::Vec3* begin, osg::Vec3* end)

    - +

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

    - +

    ovoid addOpaque()

    - +

    ovoid addMatrix()

    - +

    ovoid addLight(const int np)

    - +

    ovoid addNumPrims(const int np)

    - +

    ovoid addImpostor(const int np)

    - +

    oinline const int getBins()

    - +

    ovoid setDepth(const int d)

    - +

    ovoid addBins(const int np)

    - +

    ovoid setBinNo(const int n)

    - +

    oint numOpaque

    - +

    oint nummat

    - +

    oint nbins

    - +

    oint nprims

    - +

    oint nlights

    - +

    oint depth

    - +

    oint _binNo

    - -

    ostatsType stattype + +
    ostatsType stattype

    - +

    oint nimpostor

    - +

    oint numprimtypes[16]

    - +

    oint primtypes[16]

    - +

    oint primlens[16]

    - +

    oint primverts[16]

    diff --git a/doc/doc++/osg/Stencil.html b/doc/doc++/osg/Stencil.html index 45cced955..b1ce10346 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(Stencil, STENCIL) +[more] META_StateAttribute(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 setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const
    -[more]inline void setFunction(const Function func, int ref, uint mask) +[more]inline void setFunction(const Function func, int ref, uint mask)
    -[more]inline const Function getFunction() const +[more]inline const Function getFunction() const
    -[more]inline const int getFunctionRef() const +[more]inline const int getFunctionRef() const
    -[more]inline const uint getFunctionMask() const +[more]inline const uint getFunctionMask() const
    -[more]inline void setOperation(const Operation sfail, const Operation zfail, const Operation zpass) +[more]inline void setOperation(const Operation sfail, const Operation zfail, const Operation zpass)
    set the operations to apply when the various stencil and depth tests fail or pass.
    -[more]inline const Operation getStencilFailOperation() const +[more]inline const Operation getStencilFailOperation() const
    get the operation when the stencil test fails
    -[more]inline const Operation getStencilPassAndDepthFailOperation() const +[more]inline const Operation getStencilPassAndDepthFailOperation() const
    get the operation when the stencil test passes but the depth test fails
    -[more]inline const Operation getStencilPassAndDepthPassOperation() const +[more]inline const Operation getStencilPassAndDepthPassOperation() const
    get the operation when both the stencil test and the depth test pass
    -[more]inline void setWriteMask(uint mask) +[more]inline void setWriteMask(uint mask)
    -[more]inline const uint getWriteMask() const +[more]inline const uint getWriteMask() const
    -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

    Public Members

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

    Protected Fields

    -[more]Function _func +[more]Function _func
    -[more]int _funcRef +[more]int _funcRef
    -[more]uint _funcMask +[more]uint _funcMask
    -[more]Operation _sfail +[more]Operation _sfail
    -[more]Operation _zfail +[more]Operation _zfail
    -[more]Operation _zpass +[more]Operation _zpass
    -[more]uint _writeMask +[more]uint _writeMask

    Protected Methods

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

    @@ -104,7 +104,7 @@
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -135,9 +135,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -147,7 +147,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -180,114 +180,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(Stencil, STENCIL) + +
    o META_StateAttribute(Stencil, STENCIL)

    - +

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

    - -

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

    - +

    oenum Function

    - +
    o NEVER

    - +

    o LESS

    - +

    o EQUAL

    - +

    o LEQUAL

    - +

    o GREATER

    - +

    o NOTEQUAL

    - +

    o GEQUAL

    - +

    o ALWAYS

    - -
    oinline void setFunction(const Function func, int ref, uint mask) + +
    oinline void setFunction(const Function func, int ref, uint mask)

    - -

    oinline const Function getFunction() const + +
    oinline const Function getFunction() const

    - +

    oinline const int getFunctionRef() const

    - +

    oinline const uint getFunctionMask() const

    - +

    oenum Operation

    - +
    o KEEP

    - +

    o ZERO

    - +

    o REPLACE

    - +

    o INCR

    - +

    o DECR

    - +

    o INVERT

    - -
    oinline void setOperation(const Operation sfail, const Operation zfail, const Operation zpass) + +
    oinline void setOperation(const Operation sfail, const Operation zfail, const Operation zpass)
    set the operations to apply when the various stencil and depth tests fail or pass. First parameter is to control the operation when the stencil test fails. The second parameter is to control the @@ -297,62 +297,62 @@ and depth pass. Ordering of parameter is the same as if using glStencilOp(,,).

    - -

    oinline const Operation getStencilFailOperation() const + +
    oinline const Operation getStencilFailOperation() const
    get the operation when the stencil test fails

    - -

    oinline const Operation getStencilPassAndDepthFailOperation() const + +
    oinline const Operation getStencilPassAndDepthFailOperation() const
    get the operation when the stencil test passes but the depth test fails

    - -

    oinline const Operation getStencilPassAndDepthPassOperation() const + +
    oinline const Operation getStencilPassAndDepthPassOperation() const
    get the operation when both the stencil test and the depth test pass

    - +

    oinline void setWriteMask(uint mask)

    - +

    oinline const uint getWriteMask() const

    - +

    ovirtual void apply(State& state) const

    - +

    ovirtual ~Stencil()

    - -

    oFunction _func + +
    oFunction _func

    - +

    oint _funcRef

    - +

    ouint _funcMask

    - -

    oOperation _sfail + +
    oOperation _sfail

    - -

    oOperation _zfail + +
    oOperation _zfail

    - -

    oOperation _zpass + +
    oOperation _zpass

    - +

    ouint _writeMask

    diff --git a/doc/doc++/osg/Switch.html b/doc/doc++/osg/Switch.html index 2daeac3a5..1bbde60e8 100644 --- a/doc/doc++/osg/Switch.html +++ b/doc/doc++/osg/Switch.html @@ -23,37 +23,37 @@

    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(Switch) +[more] META_Node(Switch)
    -[more]virtual void traverse(NodeVisitor& nv) +[more]virtual void traverse(NodeVisitor& nv)
    -[more]inline void setValue(const int value) +[more]inline void setValue(const int value)
    Selects the active child Node or enables a special SwitchType mode.
    -[more]inline const int getValue() const +[more]inline const int getValue() const
    Returns the number of the active child Node or the SwitchType

    Public Members

    -[more]enum SwitchType +[more]enum SwitchType
    Special mode values for the Switch.

    Protected Fields

    -[more]int _value +[more]int _value
    The current Switch value.

    Protected Methods

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

    @@ -102,7 +102,7 @@ to represent the different states of a traffic light.
    - +
    oenum SwitchType
    Special mode values for the Switch. Use these if you want to @@ -110,55 +110,55 @@ turn on/off all child nodes.

    - +
    o ALL_CHILDREN_ON
    Turn on all children.

    - +

    o ALL_CHILDREN_OFF
    Turn off all children.

    - +
    o Switch()

    - -

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

    - +

    o META_Node(Switch)

    - +

    ovirtual void traverse(NodeVisitor& nv)

    - +

    oinline void setValue(const int value)
    Selects the active child Node or enables a special SwitchType mode.
    Parameters:
    value - the number of the active child -(first child == number 0) or SwitchType. Invalid values +(first child == number 0) or SwitchType. Invalid values will be ignored.

    - +

    oinline const int getValue() const
    Returns the number of the active child Node or the SwitchType

    - +

    ovirtual ~Switch()

    - +

    oint _value
    The current Switch value.

    diff --git a/doc/doc++/osg/TexEnv.html b/doc/doc++/osg/TexEnv.html index b405af2ab..617be425d 100644 --- a/doc/doc++/osg/TexEnv.html +++ b/doc/doc++/osg/TexEnv.html @@ -23,36 +23,36 @@

    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(TexEnv, TEXENV) +[more] META_StateAttribute(TexEnv, TEXENV)
    -[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( const Mode mode ) +[more]void setMode( const Mode mode )
    -[more]const Mode getMode() const +[more]const Mode getMode() const
    -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

    Public Members

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

    Protected Fields

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

    Protected Methods

    -[more]virtual ~TexEnv( void ) +[more]virtual ~TexEnv( void )

    @@ -68,7 +68,7 @@
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -76,7 +76,7 @@
    obool operator != (const StateAttribute& rhs) const
    -ovirtual void setStateSetModes(StateSet&, const GLModeValue) const +ovirtual void setStateSetModes(StateSet&, const GLModeValue) const
    ovirtual void compile(State&) const

    @@ -101,9 +101,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -113,7 +113,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -146,64 +146,64 @@
    - +
    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(TexEnv, TEXENV) + +
    o META_StateAttribute(TexEnv, TEXENV)

    - +

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

    - +

    oenum Mode

    - +
    o DECAL

    - +

    o MODULATE

    - +

    o BLEND

    - +

    o REPLACE

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

    - -

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

    - +

    ovirtual void apply(State& state) const

    - +

    ovirtual ~TexEnv( void )

    - -

    oMode _mode + +
    oMode _mode


    This class has no child classes.
    diff --git a/doc/doc++/osg/TexGen.html b/doc/doc++/osg/TexGen.html index 1378a5570..02e2c7598 100644 --- a/doc/doc++/osg/TexGen.html +++ b/doc/doc++/osg/TexGen.html @@ -23,53 +23,53 @@

    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(TexGen, TEXGEN) +[more] META_StateAttribute(TexGen, TEXGEN)
    -[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 setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const
    -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const
    -[more]inline void setMode( const Mode mode ) +[more]inline void setMode( const Mode mode )
    -[more]const Mode getMode() const +[more]const Mode getMode() const
    -[more]void setPlane(const Coord which, const Vec4& plane) +[more]void setPlane(const Coord which, const Vec4& plane)
    -[more]const Vec4& getPlane(const Coord which) const +[more]const Vec4& getPlane(const Coord which) const

    Public Members

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

    Protected Fields

    -[more]Mode _mode +[more]Mode _mode
    -[more]Vec4 _plane_s +[more]Vec4 _plane_s
    additional texgen coefficents for GL_OBJECT_PLANE or GL_EYE_PLANE,
    -[more]Vec4 _plane_t +[more]Vec4 _plane_t
    -[more]Vec4 _plane_r +[more]Vec4 _plane_r
    -[more]Vec4 _plane_q +[more]Vec4 _plane_q

    Protected Methods

    -[more]virtual ~TexGen( void ) +[more]virtual ~TexGen( void )

    @@ -85,7 +85,7 @@
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -116,9 +116,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -128,7 +128,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -161,118 +161,118 @@
    - +
    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(TexGen, TEXGEN) + +
    o META_StateAttribute(TexGen, TEXGEN)

    - +

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

    - -

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

    - +

    ovirtual void apply(State& state) const

    - +

    oenum Mode

    - +
    o OBJECT_LINEAR

    - +

    o EYE_LINEAR

    - +

    o SPHERE_MAP

    - +

    o NORMAL_MAP

    - +

    o REFLECTION_MAP

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

    - -

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

    - +

    oenum Coord

    - +
    o S

    - +

    o T

    - +

    o R

    - +

    o Q

    - -
    ovoid setPlane(const Coord which, const Vec4& plane) + +
    ovoid setPlane(const Coord which, const Vec4& plane)

    - -

    oconst Vec4& getPlane(const Coord which) const + +
    oconst Vec4& getPlane(const Coord which) const

    - +

    ovirtual ~TexGen( void )

    - -

    oMode _mode + +
    oMode _mode

    - +

    oVec4 _plane_s
    additional texgen coefficents for GL_OBJECT_PLANE or GL_EYE_PLANE,

    - +

    oVec4 _plane_t

    - +

    oVec4 _plane_r

    - +

    oVec4 _plane_q

    diff --git a/doc/doc++/osg/TexMat.html b/doc/doc++/osg/TexMat.html index aaaf1ccd9..d3fe542ef 100644 --- a/doc/doc++/osg/TexMat.html +++ b/doc/doc++/osg/TexMat.html @@ -23,37 +23,37 @@

    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(TexMat, TEXMAT) +[more] META_StateAttribute(TexMat, TEXMAT)
    -[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 )

    @@ -69,7 +69,7 @@
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -77,7 +77,7 @@
    obool operator != (const StateAttribute& rhs) const
    -ovirtual void setStateSetModes(StateSet&, const GLModeValue) const +ovirtual void setStateSetModes(StateSet&, const GLModeValue) const
    ovirtual void compile(State&) const

    @@ -102,9 +102,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

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

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -147,49 +147,49 @@
    - +
    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(TexMat, TEXMAT) + +
    o META_StateAttribute(TexMat, TEXMAT)

    - +

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

    - +

    oinline void setMatrix(const Matrix& matrix)
    Set the texture matrix

    - +

    oinline Matrix& getMatrix()
    Get the texture matrix

    - +

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

    - +

    ovirtual void apply(State& state) const
    apply as OpenGL texture matrix

    - +

    ovirtual ~TexMat( void )

    - +

    oMatrix _matrix

    diff --git a/doc/doc++/osg/Texture.html b/doc/doc++/osg/Texture.html index edeb0f417..250efab0b 100644 --- a/doc/doc++/osg/Texture.html +++ b/doc/doc++/osg/Texture.html @@ -23,189 +23,184 @@

    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] META_StateAttribute(Texture, (Type)(TEXTURE_0+_textureUnit)) +[more] META_StateAttribute(Texture, (Type)(TEXTURE_0+_textureUnit))
    -[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 setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const
    -[more]void setImage(Image* image) +[more]void setImage(Image* image)
    Set the texture image.
    -[more]Image* getImage() +[more]Image* getImage()
    Get the texture image.
    -[more]inline const Image* getImage() const +[more]inline const Image* getImage() const
    Get the const texture image.
    -[more]void copyTexImage2D(State& state, int x, int y, int width, int height ) +[more]void copyTexImage2D(State& state, int x, int y, int width, int height )
    Copy pixels into a 2D texture imageAs per glCopyTexImage2D.
    -[more]void copyTexSubImage2D(State& state, int xoffset, int yoffset, int x, int y, int width, int height ) +[more]void copyTexSubImage2D(State& state, int xoffset, int yoffset, int x, int y, int width, int height )
    Copy a two-dimensional texture subimage.
    -[more]inline void setTextureUnit(const unsigned int textureUnit) +[more]inline void setTextureUnit(const unsigned int textureUnit)
    Set the texture unit.
    -[more]inline const unsigned int getTextureUnit() const +[more]inline const unsigned int getTextureUnit() const
    get the texture unit
    -[more]void setWrap(const WrapParameter which, const WrapMode wrap) +[more]void setWrap(const WrapParameter which, const WrapMode wrap)
    Set the texture wrap mode
    -[more]const WrapMode getWrap(const WrapParameter which) const +[more]const WrapMode getWrap(const WrapParameter which) const
    Get the texture wrap mode
    -[more]void setBorderColor(const Vec4& color) +[more]void setBorderColor(const Vec4& color)
    Sets the border color for this texture.
    -[more]const Vec4& borderColor(void) const +[more]const Vec4& borderColor(void) const
    -[more]void setFilter(const FilterParameter which, const FilterMode filter) +[more]void setFilter(const FilterParameter which, const FilterMode filter)
    Set the texture filter mode
    -[more]const FilterMode getFilter(const FilterParameter which) const +[more]const FilterMode getFilter(const FilterParameter which) const
    Get the texture filter mode
    -[more]inline void setInternalFormatMode(const InternalFormatMode mode) +[more]inline void setInternalFormatMode(const InternalFormatMode mode)
    Set the internal format mode.
    -[more]inline const InternalFormatMode getInternalFormatMode() const +[more]inline const InternalFormatMode getInternalFormatMode() const
    Get the internal format mode
    -[more]inline void setInternalFormatValue(const int internalFormat) +[more]inline void setInternalFormatValue(const int internalFormat)
    Set the internal format to use when creating OpenGL textures.
    -[more]inline const int getInternalFormatValue() const +[more]inline const int getInternalFormatValue() const
    Get the internal format to use when creating OpenGL textures
    -[more]inline const uint getTextureObject(const uint contextID) const +[more]inline const uint getTextureObject(const uint contextID) const
    return the OpenGL texture object for specified context
    -[more]inline const uint getTextureObjectSize() const -
    return the memory size of texture object. -
    -[more]inline void setSubloadMode(const SubloadMode mode) +[more]inline void setSubloadMode(const SubloadMode mode)
    Set the texture subload mode.
    -[more]inline const SubloadMode getSubloadMode() const +[more]inline const SubloadMode getSubloadMode() const
    Get the texture subload mode.
    -[more]inline void setSubloadOffset(const int x, const int y) +[more]inline void setSubloadOffset(const int x, const int y)
    Set the texture subload offsets.
    -[more]inline void getSubloadOffset(int& x, int& y) const +[more]inline void getSubloadOffset(int& x, int& y) const
    Get the texture subload offsets.
    -[more]inline void setSubloadSize(const int width, const int height) +[more]inline void setSubloadSize(const int width, const int height)
    Set the texture subload width.
    -[more]inline void getSubloadSize(int& width, int& height) const +[more]inline void getSubloadSize(int& width, int& height) const
    Get the texture subload width.
    -[more]inline GLuint& getHandle(const uint contextID) const +[more]inline GLuint& getHandle(const uint contextID) const
    Get the handle to the texture object for the current context
    -[more]inline uint& getModifiedTag(const uint contextID) const +[more]inline uint& getModifiedTag(const uint contextID) const
    -[more]void dirtyTextureObject() +[more]void dirtyTextureObject()
    Force a recompile on next apply() of associated OpenGL texture objects
    -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const
    On first apply (unless already compiled), create the minmapped texture and bind it, subsequent apply will simple bind to texture
    -[more]virtual void compile(State& state) const +[more]virtual void compile(State& state) const
    Compile the texture mip maps.
    -[more]static void deleteTextureObject(uint contextID, GLuint handle) +[more]static void deleteTextureObject(uint contextID, GLuint handle)
    use deleteTextureObject instead of glDeleteTextures to allow OpenGL texture objects to cached until they can be deleted by the OpenGL context in which they were created, specified by contextID
    -[more]static void flushDeletedTextureObjects(uint contextID) +[more]static void flushDeletedTextureObjects(uint contextID)
    flush all the cached display list which need to be deleted in the OpenGL context related to contextID

    Public Members

    -[more]enum WrapParameter +[more]enum WrapParameter
    -[more]enum WrapMode +[more]enum WrapMode
    -[more]enum FilterParameter +[more]enum FilterParameter
    -[more]enum FilterMode +[more]enum FilterMode
    -[more]enum InternalFormatMode +[more]enum InternalFormatMode
    -[more]enum SubloadMode +[more]enum SubloadMode

    Protected Fields

    -[more]mutable uint _textureObjectSize +[more]mutable ref_ptr<Image> _image
    -[more]mutable ref_ptr<Image> _image +[more]GLenum _target
    -[more]GLenum _target +[more]unsigned int _textureUnit
    -[more]unsigned int _textureUnit +[more]WrapMode _wrap_s
    -[more]WrapMode _wrap_s +[more]WrapMode _wrap_t
    -[more]WrapMode _wrap_t +[more]WrapMode _wrap_r
    -[more]WrapMode _wrap_r +[more]FilterMode _min_filter
    -[more]FilterMode _min_filter +[more]FilterMode _mag_filter
    -[more]FilterMode _mag_filter +[more]mutable bool _texParamtersDirty
    -[more]mutable bool _texParamtersDirty +[more]InternalFormatMode _internalFormatMode
    -[more]InternalFormatMode _internalFormatMode +[more]int _internalFormatValue
    -[more]int _internalFormatValue +[more]Vec4 _borderColor
    -[more]Vec4 _borderColor +[more]mutable GLsizei _textureWidth
    -[more]mutable GLsizei _textureWidth +[more]mutable GLsizei _textureHeight
    -[more]mutable GLsizei _textureHeight +[more]SubloadMode _subloadMode
    -[more]SubloadMode _subloadMode +[more]GLint _subloadOffsX
    -[more]GLint _subloadOffsX +[more]GLint _subloadOffsY
    -[more]GLint _subloadOffsY +[more]GLsizei _subloadWidth
    -[more]GLsizei _subloadWidth -
    -[more]GLsizei _subloadHeight +[more]GLsizei _subloadHeight

    Protected Methods

    -[more]virtual ~Texture() +[more]virtual ~Texture()
    -[more]void applyTexParameters(GLenum target, State& state) const +[more]void applyTexParameters(GLenum target, State& state) const
    Method which does setting of texture paramters.
    -[more]virtual void applyTexImage(GLenum target, Image* image, State& state) const +[more]virtual void applyTexImage(GLenum target, Image* image, State& state) const
    Method which does the creation of the texture itself, and does not set or use texture binding.

    Protected Members

    -[more]typedef std::vector<GLuint> TextureNameList mutable TextureNameList _handleList +[more]typedef std::vector<GLuint> TextureNameList mutable TextureNameList _handleList
    -[more]typedef std::vector<uint> ImageModifiedTag mutable ImageModifiedTag _modifiedTag +[more]typedef std::vector<uint> ImageModifiedTag mutable ImageModifiedTag _modifiedTag
    -[more]typedef std::map<uint,std::set<uint> >static DeletedTextureObjectCache DeletedTextureObjectCache s_deletedTextureObjectCache +[more]typedef std::map<uint,std::set<uint> >static DeletedTextureObjectCache DeletedTextureObjectCache s_deletedTextureObjectCache

    @@ -221,7 +216,7 @@
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -250,9 +245,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -262,7 +257,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -295,53 +290,53 @@
    - +
    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

    - -

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

    - +

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

    - -

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

    - +

    ovoid setImage(Image* image)
    Set the texture image.

    - +

    oImage* getImage()
    Get the texture image.

    - +

    oinline const Image* getImage() const
    Get the const texture image.

    - -

    ovoid copyTexImage2D(State& state, int x, int y, int width, int height ) + +
    ovoid copyTexImage2D(State& state, int x, int y, int width, int height )
    Copy pixels into a 2D texture imageAs per glCopyTexImage2D. Creates an OpenGL texture object from the current OpenGL background framebuffer contents at pos \a x, \a y with width \a width and height \a height. \a width and \a height must be a power of two.

    - -

    ovoid copyTexSubImage2D(State& state, int xoffset, int yoffset, int x, int y, int width, int height ) + +
    ovoid copyTexSubImage2D(State& state, int xoffset, int yoffset, int x, int y, int width, int height )
    Copy a two-dimensional texture subimage. As per glCopyTexSubImage2D. Updates portion of an existing OpenGL texture object from the current OpenGL background framebuffer contents at pos \a x, \a y with width \a width and @@ -349,7 +344,7 @@ height \a height. \a width and \a height must be a power of two, and writing into the texture with offset \a xoffset and \a yoffset.

    - +

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

    - +

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

    - +

    oenum WrapParameter

    - +
    o WRAP_S

    - +

    o WRAP_T

    - +

    o WRAP_R

    - +
    oenum WrapMode

    - +
    o CLAMP

    - +

    o CLAMP_TO_EDGE

    - +

    o CLAMP_TO_BORDER

    - +

    o REPEAT

    - +

    o MIRROR

    - -
    ovoid setWrap(const WrapParameter which, const WrapMode wrap) + +
    ovoid setWrap(const WrapParameter which, const WrapMode wrap)
    Set the texture wrap mode

    - -

    oconst WrapMode getWrap(const WrapParameter which) const + +
    oconst WrapMode getWrap(const WrapParameter which) const
    Get the texture wrap mode

    - +

    ovoid setBorderColor(const Vec4& color)
    Sets the border color for this texture. Makes difference only if wrap mode is CLAMP_TO_BORDER

    - +

    oconst Vec4& borderColor(void) 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

    - +

    o ANISOTROPIC

    - -
    ovoid setFilter(const FilterParameter which, const FilterMode filter) + +
    ovoid setFilter(const FilterParameter which, const FilterMode filter)
    Set the texture filter mode

    - -

    oconst FilterMode getFilter(const FilterParameter which) const + +
    oconst FilterMode getFilter(const FilterParameter which) const
    Get the texture filter mode

    - +

    oenum InternalFormatMode

    - +
    o USE_IMAGE_DATA_FORMAT

    - +

    o USE_USER_DEFINED_FORMAT

    - +

    o USE_ARB_COMPRESSION

    - +

    o USE_S3TC_DXT1_COMPRESSION

    - +

    o USE_S3TC_DXT3_COMPRESSION

    - +

    o USE_S3TC_DXT5_COMPRESSION

    - -
    oinline void setInternalFormatMode(const InternalFormatMode mode) + +
    oinline void setInternalFormatMode(const InternalFormatMode mode)
    Set the internal format mode. Note, If the mode is set USE_IMAGE_DATA_FORMAT, USE_ARB_COMPRESSION, USE_S3TC_COMPRESSION the internalFormat is automatically selected, and will overwrite the previous _internalFormatValue.

    - -

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

    - +

    oinline void setInternalFormatValue(const int internalFormat)
    Set the internal format to use when creating OpenGL textures. Also sets the internalFormatMode to USE_USER_DEFINED_FORMAT.

    - +

    oinline const int getInternalFormatValue() const
    Get the internal format to use when creating OpenGL textures

    - +

    oinline const uint getTextureObject(const uint contextID) const
    return the OpenGL texture object for specified context

    - - -

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

    - +

    oenum SubloadMode

    - +
    o OFF

    - +

    o AUTO

    - +

    o IF_DIRTY

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

    - -

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

    - -

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

    - -

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

    - -

    oinline void setSubloadSize(const int width, const int height) + +
    oinline void setSubloadSize(const int width, const int height)
    Set the texture subload width. If width or height are zero then the repsective size value is calculated from the source image sizes.

    - -

    oinline void getSubloadSize(int& width, int& height) const + +
    oinline void getSubloadSize(int& width, int& height) const
    Get the texture subload width.

    - +

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

    - +

    oinline uint& getModifiedTag(const uint contextID) const

    - +

    ovoid dirtyTextureObject()
    Force a recompile on next apply() of associated OpenGL texture objects

    - +

    ovirtual void apply(State& state) const
    On first apply (unless already compiled), create the minmapped texture and bind it, subsequent apply will simple bind to texture

    - +

    ovirtual void compile(State& state) const
    Compile the texture mip maps. Implemented by simply calling apply().

    - +

    ostatic void deleteTextureObject(uint contextID, GLuint handle)
    use deleteTextureObject instead of glDeleteTextures to allow OpenGL texture objects to cached until they can be deleted @@ -633,116 +620,112 @@ by the OpenGL context in which they were created, specified by contextID

    - +

    ostatic void flushDeletedTextureObjects(uint contextID)
    flush all the cached display list which need to be deleted in the OpenGL context related to contextID

    - +

    ovirtual ~Texture()

    - +

    ovoid applyTexParameters(GLenum target, State& state) const
    Method which does setting of texture paramters.

    - +

    ovirtual void applyTexImage(GLenum target, Image* image, State& state) const
    Method which does the creation of the texture itself, and does not set or use texture binding.

    - +

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

    - +

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

    - - -

    omutable uint _textureObjectSize -

    - +

    omutable ref_ptr<Image> _image

    - +

    oGLenum _target

    - +

    ounsigned int _textureUnit

    - -

    oWrapMode _wrap_s + +
    oWrapMode _wrap_s

    - -

    oWrapMode _wrap_t + +
    oWrapMode _wrap_t

    - -

    oWrapMode _wrap_r + +
    oWrapMode _wrap_r

    - -

    oFilterMode _min_filter + +
    oFilterMode _min_filter

    - -

    oFilterMode _mag_filter + +
    oFilterMode _mag_filter

    - +

    omutable bool _texParamtersDirty

    - -

    oInternalFormatMode _internalFormatMode + +
    oInternalFormatMode _internalFormatMode

    - +

    oint _internalFormatValue

    - +

    oVec4 _borderColor

    - +

    omutable GLsizei _textureWidth

    - +

    omutable GLsizei _textureHeight

    - -

    oSubloadMode _subloadMode + +
    oSubloadMode _subloadMode

    - +

    oGLint _subloadOffsX

    - +

    oGLint _subloadOffsY

    - +

    oGLsizei _subloadWidth

    - +

    oGLsizei _subloadHeight

    - +

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


    diff --git a/doc/doc++/osg/TextureCubeMap.html b/doc/doc++/osg/TextureCubeMap.html index 6713466ac..9c1a14d47 100644 --- a/doc/doc++/osg/TextureCubeMap.html +++ b/doc/doc++/osg/TextureCubeMap.html @@ -23,50 +23,50 @@

    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(TextureCubeMap, (Type)(TEXTURE_0+_textureUnit)) +[more] META_StateAttribute(TextureCubeMap, (Type)(TEXTURE_0+_textureUnit))
    -[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]void setImage(const Face, Image* image) +[more]void setImage(const Face, Image* image)
    Set the texture image for specified face.
    -[more]Image* getImage(const Face) +[more]Image* getImage(const Face)
    Get the texture image for specified face.
    -[more]const Image* getImage(const Face) const +[more]const Image* getImage(const Face) const
    Get the const texture image for specified face.
    -[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

    Public Members

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

    Protected Fields

    -[more]mutable ref_ptr<Image> _images[6] +[more]mutable ref_ptr<Image> _images[6]

    Protected Methods

    -[more]virtual ~TextureCubeMap() +[more]virtual ~TextureCubeMap()
    -[more]bool imagesValid() const +[more]bool imagesValid() const
    -[more]void setImage(Image*) +[more]void setImage(Image*)
    -[more]Image* getImage() +[more]Image* getImage()
    -[more]const Image* getImage() const +[more]const Image* getImage() const

    @@ -74,31 +74,31 @@

    Public Methods

    -ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) const +ovirtual void setStateSetModes(StateSet& ds, const GLModeValue value) const
    -ovoid copyTexImage2D(State& state, int x, int y, int width, int height ) +ovoid copyTexImage2D(State& state, int x, int y, int width, int height )
    -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 )
    oinline void setTextureUnit(const unsigned int textureUnit)
    oinline const unsigned int getTextureUnit() const
    -ovoid setWrap(const WrapParameter which, const WrapMode wrap) +ovoid setWrap(const WrapParameter which, const WrapMode wrap)
    -oconst WrapMode getWrap(const WrapParameter which) const +oconst WrapMode getWrap(const WrapParameter which) const
    ovoid setBorderColor(const Vec4& color)
    oconst Vec4& borderColor(void) const
    -ovoid setFilter(const FilterParameter which, const FilterMode filter) +ovoid setFilter(const FilterParameter which, const FilterMode filter)
    -oconst FilterMode getFilter(const FilterParameter which) const +oconst FilterMode getFilter(const FilterParameter which) const
    -oinline void setInternalFormatMode(const InternalFormatMode mode) +oinline void setInternalFormatMode(const InternalFormatMode mode)
    -oinline const InternalFormatMode getInternalFormatMode() const +oinline const InternalFormatMode getInternalFormatMode() const
    oinline void setInternalFormatValue(const int internalFormat)
    @@ -106,19 +106,17 @@
    oinline const uint getTextureObject(const uint contextID) const
    -oinline const uint getTextureObjectSize() const +oinline void setSubloadMode(const SubloadMode mode)
    -oinline void setSubloadMode(const SubloadMode mode) +oinline const SubloadMode getSubloadMode() const
    -oinline const SubloadMode getSubloadMode() const +oinline void setSubloadOffset(const int x, const int y)
    -oinline void setSubloadOffset(const int x, const int y) +oinline void getSubloadOffset(int& x, int& y) const
    -oinline void getSubloadOffset(int& x, int& y) const +oinline void setSubloadSize(const int width, const int height)
    -oinline void setSubloadSize(const int width, const int height) -
    -oinline void getSubloadSize(int& width, int& height) const +oinline void getSubloadSize(int& width, int& height) const
    oinline GLuint& getHandle(const uint contextID) const
    @@ -150,27 +148,25 @@

    Protected Fields

    -omutable uint _textureObjectSize -
    omutable ref_ptr<Image> _image
    oGLenum _target
    ounsigned int _textureUnit
    -oWrapMode _wrap_s +oWrapMode _wrap_s
    -oWrapMode _wrap_t +oWrapMode _wrap_t
    -oWrapMode _wrap_r +oWrapMode _wrap_r
    -oFilterMode _min_filter +oFilterMode _min_filter
    -oFilterMode _mag_filter +oFilterMode _mag_filter
    omutable bool _texParamtersDirty
    -oInternalFormatMode _internalFormatMode +oInternalFormatMode _internalFormatMode
    oint _internalFormatValue
    @@ -180,7 +176,7 @@
    omutable GLsizei _textureHeight
    -oSubloadMode _subloadMode +oSubloadMode _subloadMode
    oGLint _subloadOffsX
    @@ -220,7 +216,7 @@
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -249,9 +245,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -261,7 +257,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -294,96 +290,96 @@
    - +
    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(TextureCubeMap, (Type)(TEXTURE_0+_textureUnit)) + +
    o META_StateAttribute(TextureCubeMap, (Type)(TEXTURE_0+_textureUnit))

    - +

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

    - +

    oenum Face

    - +
    o POSITIVE_X

    - +

    o NEGATIVE_X

    - +

    o POSITIVE_Y

    - +

    o NEGATIVE_Y

    - +

    o POSITIVE_Z

    - +

    o NEGATIVE_Z

    - -
    ovoid setImage(const Face, Image* image) + +
    ovoid setImage(const Face, Image* image)
    Set the texture image for specified face.

    - -

    oImage* getImage(const Face) + +
    oImage* getImage(const Face)
    Get the texture image for specified face.

    - -

    oconst Image* getImage(const Face) const + +
    oconst Image* getImage(const Face) const
    Get the const texture image for specified face.

    - +

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

    - +

    obool imagesValid() const

    - +

    ovoid setImage(Image*)

    - +

    oImage* getImage()

    - +

    oconst Image* getImage() const

    - +

    omutable ref_ptr<Image> _images[6]

    diff --git a/doc/doc++/osg/Timer.html b/doc/doc++/osg/Timer.html index facaca43b..edccb0367 100644 --- a/doc/doc++/osg/Timer.html +++ b/doc/doc++/osg/Timer.html @@ -13,21 +13,21 @@

    Public Methods

    -[more] Timer() +[more] Timer()
    -[more] ~Timer() +[more] ~Timer()
    -[more]inline double delta_s( Timer_t t1, Timer_t t2 ) const +[more]inline double delta_s( Timer_t t1, Timer_t t2 ) const
    -[more]inline double delta_m( Timer_t t1, Timer_t t2 ) const +[more]inline double delta_m( Timer_t t1, Timer_t t2 ) const
    -[more]inline double delta_u( Timer_t t1, Timer_t t2 ) const +[more]inline double delta_u( Timer_t t1, Timer_t t2 ) const
    -[more]inline double delta_n( Timer_t t1, Timer_t t2 ) const +[more]inline double delta_n( Timer_t t1, Timer_t t2 ) const
    -[more]inline Timer_t tick() const +[more]inline Timer_t tick() const
    -[more]inline Timer_t tick( void ) const +[more]inline Timer_t tick( void ) const

    @@ -39,35 +39,35 @@
    - +
    o Timer()

    - +

    o ~Timer()

    - +

    oinline double delta_s( Timer_t t1, Timer_t t2 ) const

    - +

    oinline double delta_m( Timer_t t1, Timer_t t2 ) const

    - +

    oinline double delta_u( Timer_t t1, Timer_t t2 ) const

    - +

    oinline double delta_n( Timer_t t1, Timer_t t2 ) const

    - +

    oinline Timer_t tick() const

    - +

    oinline Timer_t tick( void ) const

    diff --git a/doc/doc++/osg/Transform.html b/doc/doc++/osg/Transform.html index 33b5f66b1..13388243d 100644 --- a/doc/doc++/osg/Transform.html +++ b/doc/doc++/osg/Transform.html @@ -23,81 +23,81 @@

    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] Transform(const Matrix& matix) +[more] Transform(const Matrix& matix)
    -[more] META_Node(Transform) +[more] META_Node(Transform)
    -[more]void setReferenceFrame(ReferenceFrame rf) +[more]void setReferenceFrame(ReferenceFrame rf)
    Set the transform's ReferenceFrame, either to be realtive to its parent reference frame, or relative to an absolute coordinate frame.
    -[more]const ReferenceFrame getReferenceFrame() const +[more]const 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 alike
    -[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 const bool getLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const +[more]inline const bool getLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const
    Get the transformation matrix which moves from local coords to world coords.
    -[more]inline const bool getWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const +[more]inline const bool getWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const
    Get the transformation matrix which moves from world coords to local coords.
    -[more]void setMatrix(const Matrix& mat) +[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 +
    +[more]virtual const bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor*) const +
    +[more]virtual const bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor*) const

    Public Members

    -[more]enum ReferenceFrame +[more]enum ReferenceFrame
    -[more]struct ComputeTransformCallback: public osg::Referenced +[more]struct ComputeTransformCallback: public osg::Referenced
    Callback attached to an Transform to specifiy 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
    -[more]ref_ptr<Matrix> _matrix +[more]ref_ptr<Matrix> _matrix
    -[more]mutable ref_ptr<Matrix> _inverse +[more]mutable ref_ptr<Matrix> _inverse
    -[more]mutable bool _inverseDirty +[more]mutable bool _inverseDirty

    Protected Methods

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

    @@ -154,39 +154,39 @@ mode to on via 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 Transform(const Matrix& matix)

    - +

    o META_Node(Transform)

    - +

    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 realtive to its parent reference frame, or relative to an absolute coordinate frame. RELATIVE_TO_PARENTS is the default. Note, setting the RefrenceFrame to be RELATIVE_TO_ABSOLUTE will also set the CullingActive flag on the @@ -197,116 +197,116 @@ abolsoute Transforms at the top of the scene, for such things as headlight Light Head up displays.

    - -

    oconst ReferenceFrame getReferenceFrame() const + +
    oconst ReferenceFrame getReferenceFrame() const

    - +

    ostruct ComputeTransformCallback: public osg::Referenced
    Callback attached to an Transform to specifiy how to compute the modelview transformation for the transform below the Transform node

    - -
    ovirtual const bool computeLocalToWorldMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const = 0 + +
    ovirtual const bool computeLocalToWorldMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const = 0
    Get the transformation matrix which moves from local coords to world coords

    - -

    ovirtual const bool computeWorldToLocalMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const = 0 + +
    ovirtual const bool computeWorldToLocalMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const = 0
    Get the transformation matrix which moves from world coords to local coords

    - -
    ovoid setComputeTransformCallback(ComputeTransformCallback* ctc) + +
    ovoid setComputeTransformCallback(ComputeTransformCallback* ctc)
    Set the ComputerTransfromCallback which allows users to attach custom computation of the local transformation as seen by cull traversers and alike

    - -

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

    - -

    oconst ComputeTransformCallback* getComputeTransformCallback() const + +
    oconst ComputeTransformCallback* getComputeTransformCallback() const
    Get the const ComputerTransfromCallback

    - +

    oinline const bool getLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const
    Get the transformation matrix which moves from local coords to world coords. Return true if Matrix passed in has been modified and

    - +

    oinline const bool getWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const
    Get the transformation matrix which moves from world coords to local coords. Return true if Matrix passed in has been modified and

    - +

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

    - +

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

    - +

    ovoid preMult(const Matrix& mat)
    preMult transform

    - +

    ovoid postMult(const Matrix& mat)
    postMult transform

    + + +

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

    + + +

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

    - +

    ovirtual ~Transform()

    - +

    ovirtual const bool computeBound() const
    Override's Group's computeBound. There is no need to override in subclasses from osg::Transform since this computeBound() uses the underlying matrix (calling computeMatrix if required.)

    - - -

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

    - - -

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

    - +

    oinline void computeInverse() const

    - -

    oref_ptr<ComputeTransformCallback> _computeTransformCallback + +
    oref_ptr<ComputeTransformCallback> _computeTransformCallback

    - -

    oReferenceFrame _referenceFrame + +
    oReferenceFrame _referenceFrame

    - +

    oref_ptr<Matrix> _matrix

    - +

    omutable ref_ptr<Matrix> _inverse

    - +

    omutable bool _inverseDirty


    @@ -314,7 +314,7 @@ the underlying matrix (calling computeMatrix if required.)
    PositionAttitudeTransform
    -
    Friends:
    struct osg::Transform::ComputeTransformCallback

    Alphabetic index HTML hierarchy of classes or Java


    +

    Alphabetic index HTML hierarchy of classes or Java



    This page was generated with the help of DOC++. diff --git a/doc/doc++/osg/Transparency.html b/doc/doc++/osg/Transparency.html index 4e352a771..15ad39987 100644 --- a/doc/doc++/osg/Transparency.html +++ b/doc/doc++/osg/Transparency.html @@ -23,46 +23,46 @@

    Public Methods

    -[more] Transparency() +[more] Transparency()
    -[more] Transparency(const Transparency& trans, const CopyOp& copyop=CopyOp::SHALLOW_COPY) +[more] Transparency(const Transparency& trans, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
    Copy constructor using CopyOp to manage deep vs shallow copy
    -[more] META_StateAttribute(Transparency, TRANSPARENCY) +[more] META_StateAttribute(Transparency, TRANSPARENCY)
    -[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 setStateSetModes(StateSet& ds, const GLModeValue value) const +[more]virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const
    -[more]inline void setFunction( const int source, const int destination ) +[more]inline void setFunction( const int source, const int destination )
    -[more]void setSource(const int source) +[more]void setSource(const int source)
    -[more]inline const int getSource() const +[more]inline const int getSource() const
    -[more]void setDestination(const int destination) +[more]void setDestination(const int destination)
    -[more]inline const int getDestination() const +[more]inline const int getDestination() const
    -[more]virtual void apply(State& state) const +[more]virtual void apply(State& state) const

    Public Members

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

    Protected Fields

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

    Protected Methods

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

    @@ -78,7 +78,7 @@
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -109,9 +109,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -121,7 +121,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -154,111 +154,111 @@
    - +
    o Transparency()

    - -

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

    - -

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

    - +

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

    - -

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

    - +

    oenum TransparencyMode

    - +
    o DST_ALPHA

    - +

    o DST_COLOR

    - +

    o ONE

    - +

    o ONE_MINUS_DST_ALPHA

    - +

    o ONE_MINUS_DST_COLOR

    - +

    o ONE_MINUS_SRC_ALPHA

    - +

    o ONE_MINUS_SRC_COLOR

    - +

    o SRC_ALPHA

    - +

    o SRC_ALPHA_SATURATE

    - +

    o SRC_COLOR

    - +

    o ZERO

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

    - +

    ovoid setSource(const int source)

    - +

    oinline const int getSource() const

    - +

    ovoid setDestination(const int destination)

    - +

    oinline const int getDestination() const

    - +

    ovirtual void apply(State& state) const

    - +

    ovirtual ~Transparency()

    - +

    oint _source_factor

    - +

    oint _destination_factor

    diff --git a/doc/doc++/osg/Vec2.html b/doc/doc++/osg/Vec2.html index aff80f68a..b26fb94f4 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 const bool operator == (const Vec2& v) const +[more]inline const bool operator == (const Vec2& v) const
    -[more]inline const bool operator != (const Vec2& v) const +[more]inline const bool operator != (const Vec2& v) const
    -[more]inline const bool operator < (const Vec2& v) const +[more]inline const bool operator < (const Vec2& v) const
    -[more]inline float* ptr() +[more]inline float* ptr()
    -[more]inline const float* ptr() const +[more]inline const float* ptr() const
    -[more]inline void set( float x, float y ) +[more]inline void set( float x, float y )
    -[more]inline float& operator [] (int i) +[more]inline float& operator [] (int i)
    -[more]inline const float operator [] (int i) const +[more]inline const float operator [] (int i) const
    -[more]inline float& x() +[more]inline float& x()
    -[more]inline float& y() +[more]inline float& y()
    -[more]inline const float x() const +[more]inline const float x() const
    -[more]inline const float y() const +[more]inline const float y() const
    -[more]inline const bool valid() const +[more]inline const bool valid() const
    -[more]inline const bool isNaN() const +[more]inline const bool isNaN() const
    -[more]inline const float operator * (const Vec2& rhs) const +[more]inline const float operator * (const Vec2& rhs) const
    dot product
    -[more]inline const Vec2 operator * (const float& rhs) const +[more]inline const Vec2 operator * (const float& rhs) const
    multiply by scalar
    -[more]inline Vec2& operator *= (const float& rhs) +[more]inline Vec2& operator *= (const float& rhs)
    unary multiply by scalar
    -[more]inline const Vec2 operator / (const float& rhs) const +[more]inline const Vec2 operator / (const float& rhs) const
    divide by scalar
    -[more]inline Vec2& operator /= (const float& rhs) +[more]inline Vec2& operator /= (const float& rhs)
    unary divide by scalar
    -[more]inline const Vec2 operator + (const Vec2& rhs) const +[more]inline const Vec2 operator + (const Vec2& rhs) const
    binary vector add
    -[more]inline Vec2& operator += (const Vec2& rhs) +[more]inline Vec2& operator += (const Vec2& rhs)
    unary vector add.
    -[more]inline const Vec2 operator - (const Vec2& rhs) const +[more]inline const Vec2 operator - (const Vec2& rhs) const
    binary vector subtract
    -[more]inline Vec2& operator -= (const Vec2& rhs) +[more]inline Vec2& operator -= (const Vec2& rhs)
    unary vector subtract
    -[more]inline const Vec2 operator - () const +[more]inline const Vec2 operator - () const
    negation operator.
    -[more]inline const float length() const +[more]inline const float length() const
    Length of the vector = sqrt( vec .
    -[more]inline const float length2( void ) const +[more]inline const float length2( void ) const
    Length squared of the vector = vec .
    -[more]inline const float normalize() +[more]inline const float normalize()
    normalize the vector so that it has length unity returns the previous length of the vector

    @@ -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 const bool operator == (const Vec2& v) const

    - +

    oinline const bool operator != (const Vec2& v) const

    - +

    oinline const bool operator < (const Vec2& v) const

    - +

    oinline float* ptr()

    - +

    oinline const float* ptr() const

    - -

    oinline void set( float x, float y ) + +
    oinline void set( float x, float y )

    - +

    oinline float& operator [] (int i)

    - +

    oinline const float operator [] (int i) const

    - +

    oinline float& x()

    - +

    oinline float& y()

    - +

    oinline const float x() const

    - +

    oinline const float y() const

    - +

    oinline const bool valid() const

    - +

    oinline const bool isNaN() const

    - +

    oinline const float operator * (const Vec2& rhs) const
    dot product

    - +

    oinline const Vec2 operator * (const float& rhs) const
    multiply by scalar

    - +

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

    - +

    oinline const Vec2 operator / (const float& rhs) const
    divide by scalar

    - +

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

    - +

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

    - +

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

    - +

    oinline const Vec2 operator - (const Vec2& rhs) const
    binary vector subtract

    - +

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

    - +

    oinline const Vec2 operator - () const
    negation operator. Returns the negative of the Vec2

    - +

    oinline const float length() const
    Length of the vector = sqrt( vec . vec )

    - +

    oinline const float length2( void ) const
    Length squared of the vector = vec . vec

    - +

    oinline const float normalize()
    normalize the vector so that it has length unity returns the previous length of the vector diff --git a/doc/doc++/osg/Vec3.html b/doc/doc++/osg/Vec3.html index 078dc564e..2c4f03f74 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 const bool operator == (const Vec3& v) const +[more]inline const bool operator == (const Vec3& v) const
    -[more]inline const bool operator != (const Vec3& v) const +[more]inline const bool operator != (const Vec3& v) const
    -[more]inline const bool operator < (const Vec3& v) const +[more]inline const bool operator < (const Vec3& v) const
    -[more]inline float* ptr() +[more]inline float* ptr()
    -[more]inline const float* ptr() const +[more]inline const float* ptr() const
    -[more]inline void set( float x, float y, float z) +[more]inline void set( float x, float y, float z)
    -[more]inline float& operator [] (int i) +[more]inline float& operator [] (int i)
    -[more]inline const float operator [] (int i) const +[more]inline const float operator [] (int i) const
    -[more]inline float& x() +[more]inline float& x()
    -[more]inline float& y() +[more]inline float& y()
    -[more]inline float& z() +[more]inline float& z()
    -[more]inline const float x() const +[more]inline const float x() const
    -[more]inline const float y() const +[more]inline const float y() const
    -[more]inline const float z() const +[more]inline const float z() const
    -[more]inline const bool valid() const +[more]inline const bool valid() const
    -[more]inline const bool isNaN() const +[more]inline const bool isNaN() const
    -[more]inline float operator * (const Vec3& rhs) const +[more]inline float operator * (const Vec3& rhs) const
    dot product
    -[more]inline const Vec3 operator ^ (const Vec3& rhs) const +[more]inline const Vec3 operator ^ (const Vec3& rhs) const
    cross product
    -[more]inline const Vec3 operator * (const float& rhs) const +[more]inline const Vec3 operator * (const float& rhs) const
    multiply by scalar
    -[more]inline Vec3& operator *= (const float& rhs) +[more]inline Vec3& operator *= (const float& rhs)
    unary multiply by scalar
    -[more]inline const Vec3 operator / (const float& rhs) const +[more]inline const Vec3 operator / (const float& rhs) const
    divide by scalar
    -[more]inline Vec3& operator /= (const float& rhs) +[more]inline Vec3& operator /= (const float& rhs)
    unary divide by scalar
    -[more]inline const Vec3 operator + (const Vec3& rhs) const +[more]inline const Vec3 operator + (const Vec3& rhs) const
    binary vector add
    -[more]inline Vec3& operator += (const Vec3& rhs) +[more]inline Vec3& operator += (const Vec3& rhs)
    unary vector add.
    -[more]inline const Vec3 operator - (const Vec3& rhs) const +[more]inline const Vec3 operator - (const Vec3& rhs) const
    binary vector subtract
    -[more]inline Vec3& operator -= (const Vec3& rhs) +[more]inline Vec3& operator -= (const Vec3& rhs)
    unary vector subtract
    -[more]inline const Vec3 operator - () const +[more]inline const Vec3 operator - () const
    negation operator.
    -[more]inline const float length() const +[more]inline const float length() const
    Length of the vector = sqrt( vec .
    -[more]inline const float length2() const +[more]inline const float length2() const
    Length squared of the vector = vec .
    -[more]inline const float normalize() +[more]inline const float normalize()
    normalize the vector so that it has length unity returns the previous length of the vector

    @@ -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 const bool operator == (const Vec3& v) const

    - +

    oinline const bool operator != (const Vec3& v) const

    - +

    oinline const bool operator < (const Vec3& v) const

    - +

    oinline float* ptr()

    - +

    oinline const float* ptr() const

    - -

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

    - +

    oinline float& operator [] (int i)

    - +

    oinline const float operator [] (int i) const

    - +

    oinline float& x()

    - +

    oinline float& y()

    - +

    oinline float& z()

    - +

    oinline const float x() const

    - +

    oinline const float y() const

    - +

    oinline const float z() const

    - +

    oinline const bool valid() const

    - +

    oinline const bool isNaN() const

    - +

    oinline float operator * (const Vec3& rhs) const
    dot product

    - +

    oinline const Vec3 operator ^ (const Vec3& rhs) const
    cross product

    - +

    oinline const Vec3 operator * (const float& rhs) const
    multiply by scalar

    - +

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

    - +

    oinline const Vec3 operator / (const float& rhs) const
    divide by scalar

    - +

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

    - +

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

    - +

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

    - +

    oinline const Vec3 operator - (const Vec3& rhs) const
    binary vector subtract

    - +

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

    - +

    oinline const Vec3 operator - () const
    negation operator. Returns the negative of the Vec3

    - +

    oinline const float length() const
    Length of the vector = sqrt( vec . vec )

    - +

    oinline const float length2() const
    Length squared of the vector = vec . vec

    - +

    oinline const float normalize()
    normalize the vector so that it has length unity returns the previous length of the vector diff --git a/doc/doc++/osg/Vec4.html b/doc/doc++/osg/Vec4.html index f7f171f58..62316563d 100644 --- a/doc/doc++/osg/Vec4.html +++ b/doc/doc++/osg/Vec4.html @@ -13,88 +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]inline const bool operator == (const Vec4& v) const +[more] Vec4(const Vec3& v3, float w)
    -[more]inline const bool operator != (const Vec4& v) const +[more]inline const bool operator == (const Vec4& v) const
    -[more]inline const bool operator < (const Vec4& v) const +[more]inline const bool operator != (const Vec4& v) const
    -[more]inline float* ptr() +[more]inline const bool operator < (const Vec4& v) const
    -[more]inline const float* ptr() const +[more]inline float* ptr()
    -[more]inline void set( float x, float y, float z, float w) +[more]inline const float* ptr() const
    -[more]inline float& operator [] (const int i) +[more]inline void set( float x, float y, float z, float w)
    -[more]inline float operator [] (const int i) const +[more]inline float& operator [] (const int i)
    -[more]inline float& x() +[more]inline float operator [] (const int i) const
    -[more]inline float& y() +[more]inline float& x()
    -[more]inline float& z() +[more]inline float& y()
    -[more]inline float& w() +[more]inline float& z()
    -[more]inline float x() const +[more]inline float& w()
    -[more]inline float y() const +[more]inline float x() const
    -[more]inline float z() const +[more]inline float y() const
    -[more]inline float w() const +[more]inline float z() const
    -[more]inline const bool valid() const +[more]inline float w() const
    -[more]inline const bool isNaN() const +[more]inline unsigned long asABGR() const
    -[more]inline float operator * (const Vec4& rhs) const +[more]inline const unsigned long asRGBA() const +
    +[more]inline const bool valid() const +
    +[more]inline const bool isNaN() const +
    +[more]inline float operator * (const Vec4& rhs) const
    dot product
    -[more]inline Vec4 operator * (const float& rhs) const +[more]inline Vec4 operator * (const float& rhs) const
    multiply by scalar
    -[more]inline Vec4& operator *= (const float& rhs) +[more]inline Vec4& operator *= (const float& rhs)
    unary multiply by scalar
    -[more]inline Vec4 operator / (const float& rhs) const +[more]inline Vec4 operator / (const float& rhs) const
    divide by scalar
    -[more]inline Vec4& operator /= (const float& rhs) +[more]inline Vec4& operator /= (const float& rhs)
    unary divide by scalar
    -[more]inline Vec4 operator + (const Vec4& rhs) const +[more]inline Vec4 operator + (const Vec4& rhs) const
    binary vector add
    -[more]inline Vec4& operator += (const Vec4& rhs) +[more]inline Vec4& operator += (const Vec4& rhs)
    unary vector add.
    -[more]inline Vec4 operator - (const Vec4& rhs) const +[more]inline Vec4 operator - (const Vec4& rhs) const
    binary vector subtract
    -[more]inline Vec4& operator -= (const Vec4& rhs) +[more]inline Vec4& operator -= (const Vec4& rhs)
    unary vector subtract
    -[more]inline const Vec4 operator - () const +[more]inline const Vec4 operator - () const
    negation operator.
    -[more]inline const float length() const +[more]inline const float length() const
    Length of the vector = sqrt( vec .
    -[more]inline const float length2() const +[more]inline const float length2() const
    Length squared of the vector = vec .
    -[more]inline const float normalize() +[more]inline const float normalize()
    normalize the vector so that it has length unity returns the previous length of the vector

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

    - +

    ofloat _v[4]

    - +

    oinline const bool operator == (const Vec4& v) const

    - +

    oinline const bool operator != (const Vec4& v) const

    - +

    oinline const bool operator < (const Vec4& v) const

    - +

    oinline float* ptr()

    - +

    oinline const float* ptr() const

    - -

    oinline void set( float x, float y, float z, float w) + +
    oinline void set( float x, float y, float z, float w)

    - +

    oinline float& operator [] (const int i)

    - +

    oinline float operator [] (const int i) const

    - +

    oinline float& x()

    - +

    oinline float& y()

    - +

    oinline float& z()

    - +

    oinline float& w()

    - +

    oinline float x() const

    - +

    oinline float y() const

    - +

    oinline float z() const

    - +

    oinline float w() const

    + + +

    oinline unsigned long asABGR() const +

    + + +

    oinline const unsigned long asRGBA() const +

    - +

    oinline const bool valid() const

    - +

    oinline const bool isNaN() const

    - +

    oinline float operator * (const Vec4& rhs) const
    dot product

    - +

    oinline Vec4 operator * (const float& rhs) const
    multiply by scalar

    - +

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

    - +

    oinline Vec4 operator / (const float& rhs) const
    divide by scalar

    - +

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

    - +

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

    - +

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

    - +

    oinline Vec4 operator - (const Vec4& rhs) const
    binary vector subtract

    - +

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

    - +

    oinline const Vec4 operator - () const
    negation operator. Returns the negative of the Vec4

    - +

    oinline const float length() const
    Length of the vector = sqrt( vec . vec )

    - +

    oinline const float length2() const
    Length squared of the vector = vec . vec

    - +

    oinline const float normalize()
    normalize the vector so that it has length unity returns the previous length of the vector diff --git a/doc/doc++/osg/Viewport.html b/doc/doc++/osg/Viewport.html index 9f803da21..1f70a278c 100644 --- a/doc/doc++/osg/Viewport.html +++ b/doc/doc++/osg/Viewport.html @@ -23,53 +23,53 @@

    Public Methods

    -[more] Viewport() +[more] Viewport()
    -[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(Viewport, VIEWPORT) +[more] META_StateAttribute(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(const int x, const int y, const int width, const int height) +[more]inline void setViewport(const int x, const int y, const int width, const int height)
    -[more]void getViewport(int& x, int& y, int& width, int& height) +[more]void getViewport(int& x, int& y, int& width, int& height) const
    -[more]inline const int x() const +[more]inline const int x() const
    -[more]inline const int y() const +[more]inline const int y() const
    -[more]inline const int width() const +[more]inline const int width() const
    -[more]inline const int height() const +[more]inline const int height() const
    -[more]inline const bool valid() const +[more]inline const bool valid() const
    -[more]inline const float aspectRatio() const +[more]inline const float aspectRatio() const
    Return the aspcetRatio of the viewport, which is equal to width/height.
    -[more]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()

    @@ -85,7 +85,7 @@
    ovirtual const char* className() const
    -ovirtual const Type getType() const +ovirtual const Type getType() const
    obool operator < (const StateAttribute& rhs) const
    @@ -93,7 +93,7 @@
    obool operator != (const StateAttribute& rhs) const
    -ovirtual void setStateSetModes(StateSet&, const GLModeValue) const +ovirtual void setStateSetModes(StateSet&, const GLModeValue) const
    ovirtual void compile(State&) const

    @@ -118,9 +118,9 @@

    Public Methods

    -oinline void setDataVariance(const DataVariance dv) +oinline void setDataVariance(const DataVariance dv)
    -oinline const DataVariance getDataVariance() const +oinline const DataVariance getDataVariance() const

    @@ -130,7 +130,7 @@

    Protected Fields

    -oDataVariance _dataVariance +oDataVariance _dataVariance

    @@ -163,88 +163,88 @@
    - +
    o Viewport()

    - -

    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(Viewport, VIEWPORT) + +
    o META_StateAttribute(Viewport, VIEWPORT)

    - +

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

    - -

    oinline void setViewport(const int x, const int y, const int width, const int height) + +
    oinline void setViewport(const int x, const int y, const int width, const int height)

    - -

    ovoid getViewport(int& x, int& y, int& width, int& height) + +
    ovoid getViewport(int& x, int& y, int& width, int& height) const

    - +

    oinline const int x() const

    - +

    oinline const int y() const

    - +

    oinline const int width() const

    - +

    oinline const int height() const

    - +

    oinline const bool valid() const

    - +

    oinline const float aspectRatio() const
    Return the aspcetRatio of the viewport, which is equal to width/height. If height is zero, the potental division by zero is avoid by simply returning 1.0f.

    - +

    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, where the MVPW matrix is ModelViewMatrix * ProjectionMatrix * WindowMatrix, the later supplied by viewport::computeWindowMatrix(), the ModelView and Projection Matrix can either be sourced from the -curre osg::State object, via osgUtil::SceneView or CullVisitor. +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/clampArray3BetweenRange.html b/doc/doc++/osg/clampArray3BetweenRange.html index 0d5e54508..396d4df8c 100644 --- a/doc/doc++/osg/clampArray3BetweenRange.html +++ b/doc/doc++/osg/clampArray3BetweenRange.html @@ -7,7 +7,7 @@ -

    template<class A, class T>inline void osg::clampArray3BetweenRange

    (A& value,
      const T minValue,
      const T maxValue,
      const char* valueName)

    if array4 elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
    +

    template<class A, class T>inline void osg::clampArray3BetweenRange

    (A& value,
      const T minValue,
      const T maxValue,
      const char* valueName)

    if array4 elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.

    diff --git a/doc/doc++/osg/clampArray3GEQUAL.html b/doc/doc++/osg/clampArray3GEQUAL.html index e7ce221b1..f140cb3f3 100644 --- a/doc/doc++/osg/clampArray3GEQUAL.html +++ b/doc/doc++/osg/clampArray3GEQUAL.html @@ -7,7 +7,7 @@ -

    template<class A, class T>inline void osg::clampArray3GEQUAL

    (A& value,
      const T minValue,
      const char* valueName)

    if array4 elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    +

    template<class A, class T>inline void osg::clampArray3GEQUAL

    (A& value,
      const T minValue,
      const char* valueName)

    if array4 elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

    diff --git a/doc/doc++/osg/clampArray3LEQUAL.html b/doc/doc++/osg/clampArray3LEQUAL.html index b439e213a..9002ba6d2 100644 --- a/doc/doc++/osg/clampArray3LEQUAL.html +++ b/doc/doc++/osg/clampArray3LEQUAL.html @@ -7,7 +7,7 @@ -

    template<class A, class T>inline void osg::clampArray3LEQUAL

    (A& value,
      const T maxValue,
      const char* valueName)

    if array4 elements are is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    +

    template<class A, class T>inline void osg::clampArray3LEQUAL

    (A& value,
      const T maxValue,
      const char* valueName)

    if array4 elements are is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

    diff --git a/doc/doc++/osg/clampArray4BetweenRange.html b/doc/doc++/osg/clampArray4BetweenRange.html index df8cb7546..7f7f5dde8 100644 --- a/doc/doc++/osg/clampArray4BetweenRange.html +++ b/doc/doc++/osg/clampArray4BetweenRange.html @@ -7,7 +7,7 @@ -

    template<class A, class T>inline void osg::clampArray4BetweenRange

    (A& value,
      const T minValue,
      const T maxValue,
      const char* valueName)

    if array4 elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
    +

    template<class A, class T>inline void osg::clampArray4BetweenRange

    (A& value,
      const T minValue,
      const T maxValue,
      const char* valueName)

    if array4 elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.

    diff --git a/doc/doc++/osg/clampArray4GEQUAL.html b/doc/doc++/osg/clampArray4GEQUAL.html index 58900e112..acf824dda 100644 --- a/doc/doc++/osg/clampArray4GEQUAL.html +++ b/doc/doc++/osg/clampArray4GEQUAL.html @@ -7,7 +7,7 @@ -

    template<class A, class T>inline void osg::clampArray4GEQUAL

    (A& value,
      const T minValue,
      const char* valueName)

    if array4 elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    +

    template<class A, class T>inline void osg::clampArray4GEQUAL

    (A& value,
      const T minValue,
      const char* valueName)

    if array4 elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

    diff --git a/doc/doc++/osg/clampArray4LEQUAL.html b/doc/doc++/osg/clampArray4LEQUAL.html index 07f2b81b3..8384cd3f3 100644 --- a/doc/doc++/osg/clampArray4LEQUAL.html +++ b/doc/doc++/osg/clampArray4LEQUAL.html @@ -7,7 +7,7 @@ -

    template<class A, class T>inline void osg::clampArray4LEQUAL

    (A& value,
      const unsigned int first,
      const unsigned int last,
      const T maxValue,
      const char* valueName)

    if array4 elements are is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    +

    template<class A, class T>inline void osg::clampArray4LEQUAL

    (A& value,
      const unsigned int first,
      const unsigned int last,
      const T maxValue,
      const char* valueName)

    if array4 elements are is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

    diff --git a/doc/doc++/osg/clampArrayElementBetweenRange.html b/doc/doc++/osg/clampArrayElementBetweenRange.html index 1baa04598..14f7494ed 100644 --- a/doc/doc++/osg/clampArrayElementBetweenRange.html +++ b/doc/doc++/osg/clampArrayElementBetweenRange.html @@ -7,7 +7,7 @@ -

    template<class A, class T>inline void osg::clampArrayElementBetweenRange

    (A& value,
      const unsigned int i,
      const T minValue,
      const T maxValue,
      const char* valueName)

    if array element value[i] is between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
    +

    template<class A, class T>inline void osg::clampArrayElementBetweenRange

    (A& value,
      const unsigned int i,
      const T minValue,
      const T maxValue,
      const char* valueName)

    if array element value[i] is between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.

    diff --git a/doc/doc++/osg/clampArrayElementGEQUAL.html b/doc/doc++/osg/clampArrayElementGEQUAL.html index 117f2e8b2..42be04203 100644 --- a/doc/doc++/osg/clampArrayElementGEQUAL.html +++ b/doc/doc++/osg/clampArrayElementGEQUAL.html @@ -7,7 +7,7 @@ -

    template<class A, class T>inline void osg::clampArrayElementGEQUAL

    (A& value,
      const unsigned int i,
      const T minValue,
      const char* valueName)

    if array element value[i] is greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    +

    template<class A, class T>inline void osg::clampArrayElementGEQUAL

    (A& value,
      const unsigned int i,
      const T minValue,
      const char* valueName)

    if array element value[i] is greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

    diff --git a/doc/doc++/osg/clampArrayElementLEQUAL.html b/doc/doc++/osg/clampArrayElementLEQUAL.html index fc656a458..2ea26527b 100644 --- a/doc/doc++/osg/clampArrayElementLEQUAL.html +++ b/doc/doc++/osg/clampArrayElementLEQUAL.html @@ -7,7 +7,7 @@ -

    template<class A, class T>inline void osg::clampArrayElementLEQUAL

    (A& value,
      const unsigned int i,
      const T maxValue,
      const char* valueName)

    if array element value[i] is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    +

    template<class A, class T>inline void osg::clampArrayElementLEQUAL

    (A& value,
      const unsigned int i,
      const T maxValue,
      const char* valueName)

    if array element value[i] is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

    diff --git a/doc/doc++/osg/clampArrayElementsBetweenRange.html b/doc/doc++/osg/clampArrayElementsBetweenRange.html index eba47e08e..1fba656c8 100644 --- a/doc/doc++/osg/clampArrayElementsBetweenRange.html +++ b/doc/doc++/osg/clampArrayElementsBetweenRange.html @@ -7,7 +7,7 @@ -

    template<class A, class T>inline void osg::clampArrayElementsBetweenRange

    (A& value,
      const unsigned int first,
      const unsigned int last,
      const T minValue,
      const T maxValue,
      const char* valueName)

    if array elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
    +

    template<class A, class T>inline void osg::clampArrayElementsBetweenRange

    (A& value,
      const unsigned int first,
      const unsigned int last,
      const T minValue,
      const T maxValue,
      const char* valueName)

    if array elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.

    diff --git a/doc/doc++/osg/clampArrayElementsGEQUAL.html b/doc/doc++/osg/clampArrayElementsGEQUAL.html index 615937a90..3e24b2201 100644 --- a/doc/doc++/osg/clampArrayElementsGEQUAL.html +++ b/doc/doc++/osg/clampArrayElementsGEQUAL.html @@ -7,7 +7,7 @@ -

    template<class A, class T>inline void osg::clampArrayElementsGEQUAL

    (A& value,
      const unsigned int first,
      const unsigned int last,
      const T minValue,
      const char* valueName)

    if array elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    +

    template<class A, class T>inline void osg::clampArrayElementsGEQUAL

    (A& value,
      const unsigned int first,
      const unsigned int last,
      const T minValue,
      const char* valueName)

    if array elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

    diff --git a/doc/doc++/osg/clampArrayElementsLEQUAL.html b/doc/doc++/osg/clampArrayElementsLEQUAL.html index af2933f7d..c6161a21e 100644 --- a/doc/doc++/osg/clampArrayElementsLEQUAL.html +++ b/doc/doc++/osg/clampArrayElementsLEQUAL.html @@ -7,7 +7,7 @@ -

    template<class A, class T>inline void osg::clampArrayElementsLEQUAL

    (A& value,
      const unsigned int first,
      const unsigned int last,
      const T maxValue,
      const char* valueName)

    if array elements are less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    +

    template<class A, class T>inline void osg::clampArrayElementsLEQUAL

    (A& value,
      const unsigned int first,
      const unsigned int last,
      const T maxValue,
      const char* valueName)

    if array elements are less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

    diff --git a/doc/doc++/osg/clampBetweenRange.html b/doc/doc++/osg/clampBetweenRange.html index 53aec5a5b..358d6baab 100644 --- a/doc/doc++/osg/clampBetweenRange.html +++ b/doc/doc++/osg/clampBetweenRange.html @@ -7,7 +7,7 @@ -

    template<class T>inline void osg::clampBetweenRange

    (T& value,
      const T minValue,
      const T maxValue,
      const char* valueName)

    if value is between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
    +

    template<class T>inline void osg::clampBetweenRange

    (T& value,
      const T minValue,
      const T maxValue,
      const char* valueName)

    if value is between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.

    diff --git a/doc/doc++/osg/clampGEQUAL.html b/doc/doc++/osg/clampGEQUAL.html index ca886bae2..54011a575 100644 --- a/doc/doc++/osg/clampGEQUAL.html +++ b/doc/doc++/osg/clampGEQUAL.html @@ -7,7 +7,7 @@ -

    template<class T>inline void osg::clampGEQUAL

    (T& value,
      const T minValue,
      const char* valueName)

    if value is greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    +

    template<class T>inline void osg::clampGEQUAL

    (T& value,
      const T minValue,
      const char* valueName)

    if value is greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

    diff --git a/doc/doc++/osg/clampLEQUAL.html b/doc/doc++/osg/clampLEQUAL.html index a72c6f643..1d9650426 100644 --- a/doc/doc++/osg/clampLEQUAL.html +++ b/doc/doc++/osg/clampLEQUAL.html @@ -7,7 +7,7 @@ -

    template<class T>inline void osg::clampLEQUAL

    (T& value,
      const T maxValue,
      const char* valueName)

    if value is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    +

    template<class T>inline void osg::clampLEQUAL

    (T& value,
      const T maxValue,
      const char* valueName)

    if value is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped

    diff --git a/doc/doc++/osg/createGeodeForImage.2.html b/doc/doc++/osg/createGeodeForImage.2.html index f8b0b9af6..7beaec89d 100644 --- a/doc/doc++/osg/createGeodeForImage.2.html +++ b/doc/doc++/osg/createGeodeForImage.2.html @@ -7,7 +7,7 @@ -

    SG_EXPORT extern Geode* osg::createGeodeForImage

    (Image* image,
      const float s,
      const float t)

    Convenience function to be used by images loaders to generate a valid geode to return for readNode().
    +

    SG_EXPORT extern Geode* osg::createGeodeForImage

    (Image* image,
      const float s,
      const float t)

    Convenience function to be used by images loaders to generate a valid geode to return for readNode().

    diff --git a/doc/doc++/osg/for_each_triangle.html b/doc/doc++/osg/for_each_triangle.html index 86a17b405..eeae5317c 100644 --- a/doc/doc++/osg/for_each_triangle.html +++ b/doc/doc++/osg/for_each_triangle.html @@ -7,7 +7,7 @@ -

    template<class T> void osg::for_each_triangle

    (GeoSet& gset,
      T& op)

    Template function for iterating through a GeoSet operating on triangles with templated functor.
    +

    template<class T> void osg::for_each_triangle

    (GeoSet& gset,
      T& op)

    Template function for iterating through a GeoSet operating on triangles with templated functor.

    diff --git a/doc/doc++/osg/index.html b/doc/doc++/osg/index.html index 7f26372b2..fb4471af5 100644 --- a/doc/doc++/osg/index.html +++ b/doc/doc++/osg/index.html @@ -35,6 +35,7 @@
  • m_validateAddress
  • m_validateAllAllocUnits
  • m_validateAllocUnit +
  • optimize
  • osgGetLibraryName osgGetLibraryName() returns the library name in human friendly form
  • osgGetVersion osgGetVersion() returns the library version number.
  • osgNew @@ -94,18 +95,22 @@
  • OSG_BOUNDINGSPHERE
  • OSG_BOUNDSCHECKING
  • OSG_CAMERA -
  • OSG_CLIPPINGVOLUME +
  • OSG_CLIPNODE
  • OSG_CLIPPLANE
  • OSG_COLORMASK
  • OSG_COLORMATRIX +
  • OSG_CONVEXPLANEROCCLUDER +
  • OSG_CONVEXPLANERPOLYGON
  • OSG_COPYOP
  • OSG_CULLFACE +
  • OSG_CullingSet
  • OSG_DEPTH
  • OSG_DRAWABLE
  • OSG_DRAWPIXELS
  • OSG_DisplaySettings
  • OSG_EARTHSKY
  • OSG_EXPORT +
  • OSG_FAST_BACK_STACK
  • OSG_FOG
  • OSG_FRAMESTAMP
  • OSG_FRONTFACE @@ -129,16 +134,19 @@
  • OSG_NODEVISITOR
  • OSG_NOTIFY
  • OSG_OBJECT +
  • OSG_OCCLUDERNODE
  • OSG_PLANE
  • OSG_POINT
  • OSG_POLYGONMODE
  • OSG_POLYGONOFFSET +
  • OSG_POLYTOPE
  • OSG_POSITIONATTITIDETRANSFORM
  • OSG_PROJECTION
  • OSG_QUAT
  • OSG_REFERENCED
  • OSG_REF_PTR
  • OSG_SHADEMODEL +
  • OSG_SHADOWOCCLUDERVOLUME
  • OSG_STATE
  • OSG_STATEATTRIBUTE
  • OSG_STATESET diff --git a/doc/doc++/osg/osg.html b/doc/doc++/osg/osg.html index dd7a6313c..98741d6d5 100644 --- a/doc/doc++/osg/osg.html +++ b/doc/doc++/osg/osg.html @@ -26,56 +26,56 @@ class SG_EXPORT BoundingBox class SG_EXPORT BoundingSphere
    General purpose bounding sphere class for enclosing nodes/objects/vertices.
    -template<class T>inline void clampGEQUAL(T& value, const T minValue, const char* valueName) +template<class T>inline void clampGEQUAL(T& value, const T minValue, const char* valueName)
    if value is greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    -template<class T>inline void clampLEQUAL(T& value, const T maxValue, const char* valueName) +template<class T>inline void clampLEQUAL(T& value, const T maxValue, const char* valueName)
    if value is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    -template<class T>inline void clampBetweenRange(T& value, const T minValue, const T maxValue, const char* valueName) +template<class T>inline void clampBetweenRange(T& value, const T minValue, const T maxValue, const char* valueName)
    if value is between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
    -template<class A, class T>inline void clampArrayElementGEQUAL(A& value, const unsigned int i, const T minValue, const char* valueName) +template<class A, class T>inline void clampArrayElementGEQUAL(A& value, const unsigned int i, const T minValue, const char* valueName)
    if array element value[i] is greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    -template<class A, class T>inline void clampArrayElementLEQUAL(A& value, const unsigned int i, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArrayElementLEQUAL(A& value, const unsigned int i, const T maxValue, const char* valueName)
    if array element value[i] is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    -template<class A, class T>inline void clampArrayElementBetweenRange(A& value, const unsigned int i, const T minValue, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArrayElementBetweenRange(A& value, const unsigned int i, const T minValue, const T maxValue, const char* valueName)
    if array element value[i] is between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
    -template<class A, class T>inline void clampArrayElementsGEQUAL(A& value, const unsigned int first, const unsigned int last, const T minValue, const char* valueName) +template<class A, class T>inline void clampArrayElementsGEQUAL(A& value, const unsigned int first, const unsigned int last, const T minValue, const char* valueName)
    if array elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    -template<class A, class T>inline void clampArrayElementsLEQUAL(A& value, const unsigned int first, const unsigned int last, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArrayElementsLEQUAL(A& value, const unsigned int first, const unsigned int last, const T maxValue, const char* valueName)
    if array elements are less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    -template<class A, class T>inline void clampArrayElementsBetweenRange(A& value, const unsigned int first, const unsigned int last, const T minValue, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArrayElementsBetweenRange(A& value, const unsigned int first, const unsigned int last, const T minValue, const T maxValue, const char* valueName)
    if array elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
    -template<class A, class T>inline void clampArray3GEQUAL(A& value, const T minValue, const char* valueName) +template<class A, class T>inline void clampArray3GEQUAL(A& value, const T minValue, const char* valueName)
    if array4 elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    -template<class A, class T>inline void clampArray3LEQUAL(A& value, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArray3LEQUAL(A& value, const T maxValue, const char* valueName)
    if array4 elements are is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    -template<class A, class T>inline void clampArray3BetweenRange(A& value, const T minValue, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArray3BetweenRange(A& value, const T minValue, const T maxValue, const char* valueName)
    if array4 elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
    -template<class A, class T>inline void clampArray4GEQUAL(A& value, const T minValue, const char* valueName) +template<class A, class T>inline void clampArray4GEQUAL(A& value, const T minValue, const char* valueName)
    if array4 elements are greater than or equal to minValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    -template<class A, class T>inline void clampArray4LEQUAL(A& value, const unsigned int first, const unsigned int last, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArray4LEQUAL(A& value, const unsigned int first, const unsigned int last, const T maxValue, const char* valueName)
    if array4 elements are is less than or equal to maxValue do nothing - legal value, otherwise clamp value to specified maximum value and return warning with valueName specifying which variable was clamped
    -template<class A, class T>inline void clampArray4BetweenRange(A& value, const T minValue, const T maxValue, const char* valueName) +template<class A, class T>inline void clampArray4BetweenRange(A& value, const T minValue, const T maxValue, const char* valueName)
    if array4 elements are between or equal to minValue and maxValue do nothing - legal value, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped.
    class SG_EXPORT Camera: public osg::Referenced
    Camera class for encapsulating the view position and orientation and projection (lens) used.
    -class SG_EXPORT ClippingVolume -
    A ClippingVolume class for representing convex clipping volumes made up. +class SG_EXPORT ClipNode: public Group +
    Leaf Node for defining the position of ClipPlanes in the scene
    class SG_EXPORT ClipPlane: public StateAttribute
    ClipPlane state class which encapsulates OpenGL glClipPlane() functionality @@ -86,19 +86,28 @@ class SG_EXPORT ColorMask: public ColorMatrix: public StateAttribute
    Texture Matrix state class for encapsulating OpenGL texture matrix functionality
    +class SG_EXPORT ConvexPlanerOccluder: public Referenced +
    A class for representing convex clipping volumes made up. +
    +class SG_EXPORT ConvexPlanerPolygon +
    A class for representing convex clipping volumes made up. +
    class SG_EXPORT CopyOp
    Copy Op(erator) used to control the whether shallow or deep copy is used during copy construction and clone operation
    class SG_EXPORT CullFace: public StateAttribute
    Class to globally enable/disable OpenGL's polygon culling mode=
    +class SG_EXPORT CullingSet: public Referenced +
    A CullingSet class which contains a frustum and a list of occluder. +
    class SG_EXPORT Depth: public StateAttribute
    Encapsulate OpenGL glDepthFunc/Mask/Range functions
    class SG_EXPORT DisplaySettings: public osg::Referenced
    DisplaySettings class for encapsulating what visuals are required and have been set up, and the status of stereo viewing
    -[more]#define USE_SEPERATE_COMPILE_AND_EXECUTE +[more]#define USE_SEPERATE_COMPILE_AND_EXECUTE
    class SG_EXPORT Drawable: public Object
    Pure virtual base class for drawable Geometry. @@ -109,6 +118,9 @@ class SG_EXPORT DrawPixels: public EarthSky: public Group
    EarthSky is a Group node which controls the clearing of the color and depth buffers at the start of each frame.
    +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. +
    class SG_EXPORT Fog: public StateAttribute
    Fog - encapsulates OpenGL fog state.
    @@ -124,7 +136,7 @@ class SG_EXPORT Geode: public Node class SG_EXPORT GeoSet: public Drawable
    Encapsulates OpenGL drawing primitives, geometry and optional binding of normal, color and texture coordinates.
    -template<class T> void for_each_triangle(GeoSet& gset, T& op) +template<class T> void for_each_triangle(GeoSet& gset, T& op)
    Template function for iterating through a GeoSet operating on triangles with templated functor.
    SG_EXPORT extern const bool isGLExtensionSupported(const char* extension) @@ -142,7 +154,7 @@ class SG_EXPORT Image: public Geode* createGeodeForImage(Image* image)
    Convenience function to be used by images loaders to generate a valid geode to return for readNode().
    -SG_EXPORT extern Geode* createGeodeForImage(Image* image, const float s, const float t) +SG_EXPORT extern Geode* createGeodeForImage(Image* image, const float s, const float t)
    Convenience function to be used by images loaders to generate a valid geode to return for readNode().
    class SG_EXPORT Impostor: public LOD @@ -159,7 +171,7 @@ class SG_EXPORT Light: public LightModel: public StateAttribute
    -class SG_EXPORT LightSource: public Node +class SG_EXPORT LightSource: public Group
    Leaf Node for defining a light in the scene
    class SG_EXPORT LineSegment: public Referenced @@ -178,11 +190,11 @@ class SG_EXPORT Material: public class SG_EXPORT Matrix: public Object
    -[more]inline Vec3 operator* (const Vec3& v, const Matrix& m ) +[more]inline Vec3 operator* (const Vec3& v, const Matrix& m )
    -[more]inline Vec4 operator* (const Vec4& v, const Matrix& m ) +[more]inline Vec4 operator* (const Vec4& v, const Matrix& m )
    -[more]inline std::ostream& operator<< (std::ostream& os, const Matrix& m ) +[more]inline std::ostream& operator<< (std::ostream& os, const Matrix& m )
    class SG_EXPORT NodeCallback: public Referenced
    @@ -216,18 +228,21 @@ SG_EXPORT extern bool initNotifyLevel( inline std::ostream& notify(const NotifySeverity severity)
    notify messaging function for providing fatal through to verbose debugging messages.
    -[more]inline std::ostream& notify(void) +[more]inline std::ostream& notify(void)
    -#define META_Object(T) +#define META_Object(T)
    META_Object macro define the standard clone, isSameKindAs and className methods.
    class SG_EXPORT Object: public Referenced
    Base class/standard interface for objects which require IO support, cloning and reference counting.
    +class SG_EXPORT OccluderNode: public Group +
    OccluderNode is a Group node which allows OccluderNodeing between children. +
    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 @@ -238,6 +253,9 @@ class SG_EXPORT PolygonMode: public < class SG_EXPORT PolygonOffset: public StateAttribute
    PolygonOffset - encapsulates the OpenGL glPolygonOffset state
    +class SG_EXPORT Polytope +
    A Polytope class for representing convex clipping volumes made up. +
    class SG_EXPORT PositionAttitudeTransform: public Transform
    PositionAttitideTransform - is Transfrom the set the coordinates transform up via a Vec3 position and Quat attitude
    @@ -247,17 +265,20 @@ 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
    -template<class T> class ref_ptr +template<class T> class ref_ptr
    Smart pointer for handling referenced counted objects
    class SG_EXPORT ShadeModel: public StateAttribute
    Class which encapsulates glShadeModel()
    +class SG_EXPORT ShadowOccluderVolume +
    ShadowOccluderVolume is a helper class for implementating shadow occlusion culling. +
    #define OSG_GL_DEBUG(message)
    macro for use with osg::StateAttrbiute::apply methods for detected and reporting OpenGL error messages
    @@ -291,9 +312,9 @@ class SG_EXPORT Switch: public TexEnv: public StateAttribute
    TexEnv - encapsulates the OpenGL glTexEnv (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 @@ -322,11 +343,17 @@ class Vec2 class Vec3
    General purpose float triple for use as vertices, vectors and normals.
    -[more]inline std::ostream& operator << (std::ostream& output, const Vec3& vec) +[more]inline std::ostream& operator << (std::ostream& output, const Vec3& vec)
    class Vec4
    General purpose float quad, uses include representation of colour coordinates.
    +inline float operator * (const Vec3& lhs, const Vec4& rhs) +
    Compute the dot product of a (Vec3,10) and a Vec4 +
    +inline float operator * (const Vec4& lhs, const Vec3& rhs) +
    Compute the dot product of a Vec4 and a (Vec3,10) +
    class SG_EXPORT Viewport: public StateAttribute
    Encapsulte OpenGL glViewport
  • @@ -338,43 +365,43 @@ class SG_EXPORT Viewport: public - +
    o#define USE_SEPERATE_COMPILE_AND_EXECUTE

    - +

    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_NORMAL_MAP_ARB

    - +

    o#define GL_REFLECTION_MAP_ARB

    - +

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

    Alphabetic index HTML hierarchy of classes or Java


    diff --git a/doc/doc++/osg/ref_ptr.html b/doc/doc++/osg/ref_ptr.html index 4c0e49e4e..7cd679ee2 100644 --- a/doc/doc++/osg/ref_ptr.html +++ b/doc/doc++/osg/ref_ptr.html @@ -7,53 +7,53 @@ -

    template<class T> class osg::ref_ptr

    Smart pointer for handling referenced counted objects
    +

    template<class T> class osg::ref_ptr

    Smart pointer for handling referenced counted objects

    Public Methods

    -[more] ref_ptr() +[more] ref_ptr()
    -[more] ref_ptr(T* t) +[more] ref_ptr(T* t)
    -[more] ref_ptr(const ref_ptr& rp) +[more] ref_ptr(const ref_ptr& rp)
    -[more] ~ref_ptr() +[more] ~ref_ptr()
    -[more]inline ref_ptr& operator = (const ref_ptr& rp) +[more]inline ref_ptr& operator = (const ref_ptr& rp)
    -[more]inline ref_ptr& operator = (T* ptr) +[more]inline ref_ptr& operator = (T* ptr)
    -[more]inline const bool operator == (const ref_ptr& rp) const +[more]inline const bool operator == (const ref_ptr& rp) const
    -[more]inline const bool operator == (const T* ptr) const +[more]inline const bool operator == (const T* ptr) const
    -[more]inline const bool operator != (const ref_ptr& rp) const +[more]inline const bool operator != (const ref_ptr& rp) const
    -[more]inline const bool operator != (const T* ptr) const +[more]inline const bool operator != (const T* ptr) const
    -[more]inline const bool operator < (const ref_ptr& rp) const +[more]inline const bool operator < (const ref_ptr& rp) const
    -[more]inline const bool operator > (const ref_ptr& rp) const +[more]inline const bool operator > (const ref_ptr& rp) const
    -[more]inline const bool operator > (const T* ptr) const +[more]inline const bool operator > (const T* ptr) const
    -[more]inline T& operator*() +[more]inline T& operator*()
    -[more]inline const T& operator*() const +[more]inline const T& operator*() const
    -[more]inline T* operator->() +[more]inline T* operator->()
    -[more]inline const T* operator->() const +[more]inline const T* operator->() const
    -[more]inline const bool operator!() const +[more]inline const bool operator!() const
    -[more]inline const bool valid() const +[more]inline const bool valid() const
    -[more]inline T* get() +[more]inline T* get()
    -[more]inline const T* get() const +[more]inline const T* get() const

    @@ -65,88 +65,88 @@
    - +
    o ref_ptr()

    - -

    o ref_ptr(T* t) + +
    o ref_ptr(T* t)

    - -

    o ref_ptr(const ref_ptr& rp) + +
    o ref_ptr(const ref_ptr& rp)

    - +

    o ~ref_ptr()

    - +

    oinline ref_ptr& operator = (const ref_ptr& rp)

    - -

    oinline ref_ptr& operator = (T* ptr) + +
    oinline ref_ptr& operator = (T* ptr)

    - +

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

    - -

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

    - +

    oinline const bool operator != (const ref_ptr& rp) const

    - -

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

    - +

    oinline const bool operator < (const ref_ptr& rp) const

    - +

    oinline const bool operator > (const ref_ptr& rp) const

    - -

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

    - -

    oinline T& operator*() + +
    oinline T& operator*()

    - -

    oinline const T& operator*() const + +
    oinline const T& operator*() const

    - -

    oinline T* operator->() + +
    oinline T* operator->()

    - -

    oinline const T* operator->() const + +
    oinline const T* operator->() const

    - +

    oinline const bool operator!() const

    - +

    oinline const bool valid() const

    - -

    oinline T* get() + +
    oinline T* get()

    - -

    oinline const T* get() const + +
    oinline const T* get() const


    This class has no child classes.
    diff --git a/doc/doc++/osg/tag_au.html b/doc/doc++/osg/tag_au.html index 6cd82eb32..884f0e46a 100644 --- a/doc/doc++/osg/tag_au.html +++ b/doc/doc++/osg/tag_au.html @@ -11,31 +11,31 @@

    -[more]size_t actualSize +[more]size_t actualSize
    -[more]size_t reportedSize +[more]size_t reportedSize
    -[more]void* actualAddress +[more]void* actualAddress
    -[more]void* reportedAddress +[more]void* reportedAddress
    -[more]char sourceFile[40] +[more]char sourceFile[40]
    -[more]char sourceFunc[40] +[more]char sourceFunc[40]
    -[more]unsigned int sourceLine +[more]unsigned int sourceLine
    -[more]unsigned int allocationType +[more]unsigned int allocationType
    -[more]bool breakOnDealloc +[more]bool breakOnDealloc
    -[more]bool breakOnRealloc +[more]bool breakOnRealloc
    -[more]unsigned int allocationNumber +[more]unsigned int allocationNumber
    -[more]struct tag_au *next +[more]struct tag_au *next
    -[more]struct tag_au *prev +[more]struct tag_au *prev

    @@ -45,55 +45,55 @@
    - +
    osize_t actualSize

    - +

    osize_t reportedSize

    - +

    ovoid* actualAddress

    - +

    ovoid* reportedAddress

    - +

    ochar sourceFile[40]

    - +

    ochar sourceFunc[40]

    - +

    ounsigned int sourceLine

    - +

    ounsigned int allocationType

    - +

    obool breakOnDealloc

    - +

    obool breakOnRealloc

    - +

    ounsigned int allocationNumber

    - +

    ostruct tag_au *next

    - +

    ostruct tag_au *prev

    Alphabetic index HTML hierarchy of classes or Java


    diff --git a/doc/doc++/osgText/Text.html b/doc/doc++/osgText/Text.html index afb65db9e..85ee11830 100644 --- a/doc/doc++/osgText/Text.html +++ b/doc/doc++/osgText/Text.html @@ -42,37 +42,43 @@
    [more]const osg::Vec3& getPosition() const
    -[more]void setDrawMode(int mode) +[more]void setColor(const osg::Vec4& color)
    -[more]int getDrawMode() const +[more]osg::Vec4& getColor()
    -[more]void setBoundingBox(int mode) +[more]const osg::Vec4& getColor() const
    -[more]int getBoundingBox() const +[more]void setDrawMode(int mode)
    -[more]void setAlignment(int alignment) +[more]int getDrawMode() const
    -[more]int getAlignment() const +[more]void setBoundingBox(int mode)
    -[more]void setFont(Font* font) +[more]int getBoundingBox() const
    -[more]Font* getFont() +[more]void setAlignment(int alignment)
    -[more]const Font* getFont() const +[more]int getAlignment() const
    -[more]void setText(const char* text) +[more]void setFont(Font* font)
    -[more]void setText(const std::string& text) +[more]Font* getFont()
    -[more]const std::string& getText() const +[more]const Font* getFont() const
    -[more]virtual void drawImmediateMode(osg::State& state) +[more]void setText(const char* text)
    -[more]virtual void drawBoundingBox(void) +[more]void setText(const std::string& text)
    -[more]virtual void drawAlignment(void) +[more]const std::string& getText() const
    -[more]const osg::Vec3& getAlignmentPos() const +[more]virtual void drawImmediateMode(osg::State& state) +
    +[more]virtual void drawBoundingBox(void) +
    +[more]virtual void drawAlignment(void) +
    +[more]const osg::Vec3& getAlignmentPos() const

    @@ -86,45 +92,47 @@

    Protected Fields

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

    Protected Methods

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

    Protected Members

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

    @@ -252,163 +260,179 @@
    oconst osg::Vec3& getPosition() const

    - + +

    ovoid setColor(const osg::Vec4& color) +

    + + +

    oosg::Vec4& getColor() +

    + + +

    oconst osg::Vec4& getColor() const +

    + +

    ovoid setDrawMode(int mode)

    - +

    oint getDrawMode() const

    - +

    ovoid setBoundingBox(int mode)

    - +

    oint getBoundingBox() const

    - +

    ovoid setAlignment(int alignment)

    - +

    oint getAlignment() const

    - +

    ovoid setFont(Font* font)

    - +

    oFont* getFont()

    - +

    oconst Font* getFont() const

    - +

    ovoid setText(const char* text)

    - +

    ovoid setText(const std::string& text)

    - +

    oconst std::string& getText() const

    - +

    ovirtual void drawImmediateMode(osg::State& state)

    - +

    ovirtual void drawBoundingBox(void)

    - +

    ovirtual void drawAlignment(void)

    - +

    oconst osg::Vec3& getAlignmentPos() const

    - +

    oenum FontType

    - +
    o UNDEF

    - +

    o BITMAP

    - +

    o PIXMAP

    - +

    o OUTLINE

    - +

    o POLYGON

    - +

    o TEXTURE

    - +
    ovirtual ~Text()

    - +

    ovirtual void setDefaults(void)

    - +

    ovirtual const bool computeBound(void) const

    - +

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

    - +

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

    - +

    obool initAlignment(void)

    - +

    oosg::ref_ptr<Font> _font

    - +

    obool _init

    - +

    obool _initAlignment

    - +

    ostd::string _text

    - +

    oint _fontType

    - +

    oint _alignment

    - +

    oint _drawMode

    - +

    oint _boundingBoxType

    - +

    oosg::Vec3 _pos

    - +

    oosg::Vec3 _alignmentPos +

    + + +

    oosg::Vec4 _color


    This class has no child classes.
    diff --git a/doc/doc++/osgUtil/CullVisitor.html b/doc/doc++/osgUtil/CullVisitor.html index 6d1898fe0..b5c4c76bc 100644 --- a/doc/doc++/osgUtil/CullVisitor.html +++ b/doc/doc++/osgUtil/CullVisitor.html @@ -39,223 +39,251 @@
    [more]virtual void apply(osg::LightSource& node)
    -[more]virtual void apply(osg::Group& node) +[more]virtual void apply(osg::ClipNode& node)
    -[more]virtual void apply(osg::Transform& node) +[more]virtual void apply(osg::Group& node)
    -[more]virtual void apply(osg::Projection& node) +[more]virtual void apply(osg::Transform& node)
    -[more]virtual void apply(osg::Switch& node) +[more]virtual void apply(osg::Projection& node)
    -[more]virtual void apply(osg::LOD& node) +[more]virtual void apply(osg::Switch& node)
    -[more]virtual void apply(osg::EarthSky& node) +[more]virtual void apply(osg::LOD& node)
    -[more]virtual void apply(osg::Impostor& node) +[more]virtual void apply(osg::EarthSky& node)
    -[more]void setEarthSky(const osg::EarthSky* earthSky) +[more]virtual void apply(osg::OccluderNode& node)
    -[more]const osg::EarthSky* getEarthSky() const +[more]virtual void apply(osg::Impostor& node)
    -[more]void setLODBias(const float bias) +[more]void setEarthSky(const osg::EarthSky* earthSky)
    -[more]const float getLODBias() const +[more]const osg::EarthSky* getEarthSky() const
    -[more]void setImpostorsActive(const bool active) +[more]void setLODBias(const float bias) +
    +[more]const float getLODBias() const +
    +[more]void setImpostorsActive(const bool active)
    Switch the creation of Impostors on or off.
    -[more]const bool getImpostorsActive() const +[more]const bool getImpostorsActive() const
    Get whether impostors are active or not.
    -[more]void setImpostorPixelErrorThreshold(const float numPixels) +[more]void setImpostorPixelErrorThreshold(const float numPixels)
    Set the impostor error threshold.
    -[more]const float getImpostorPixelErrorThreshold() const +[more]const float getImpostorPixelErrorThreshold() const
    Get the impostor error threshold
    -[more]void setDepthSortImpostorSprites(const bool doDepthSort) +[more]void setDepthSortImpostorSprites(const bool doDepthSort)
    Set whether ImpsotorSprite's should be placed in a depth sorted bin for rendering
    -[more]const bool setDepthSortImpostorSprites() const +[more]const bool setDepthSortImpostorSprites() const
    Get whether ImpsotorSprite's are depth sorted bin for rendering
    -[more]void setNumberOfFrameToKeepImpostorSprites(const int numFrames) +[more]void setNumberOfFrameToKeepImpostorSprites(const int numFrames)
    Set the number of frames that an ImpsotorSprite's is kept whilst not being beyond, before being recycled
    -[more]const int getNumberOfFrameToKeepImpostorSprites() const +[more]const int getNumberOfFrameToKeepImpostorSprites() const
    Get the number of frames that an ImpsotorSprite's is kept whilst not being beyond, before being recycled
    -[more]void setTransparencySortMode(TransparencySortMode tsm) +[more]void setComputeNearFarMode(ComputeNearFarMode cnfm)
    -[more]void setCullingMode(CullingMode mode) +[more]ComputeNearFarMode getComputeNearFarMode() const +
    +[more]void setTransparencySortMode(TransparencySortMode tsm) +
    +[more]void setCullingMode(CullingMode mode)
    Sets the current CullingMode
    -[more]CullingMode getCullingMode() const +[more]CullingMode getCullingMode() const
    Returns the current CullingMode
    -[more]void pushViewport(osg::Viewport* viewport) +[more]void setSmallFeatureCullingPixelSize(float s)
    -[more]void popViewport() +[more]float getSmallFeatureCullingPixelSize() const
    -[more]void pushProjectionMatrix(osg::Matrix* matrix) +[more]void pushViewport(osg::Viewport* viewport)
    -[more]void popProjectionMatrix() +[more]void popViewport()
    -[more]void pushModelViewMatrix(osg::Matrix* matrix) +[more]void pushProjectionMatrix(osg::Matrix* matrix)
    -[more]void popModelViewMatrix() +[more]void popProjectionMatrix()
    -[more]inline void pushStateSet(const osg::StateSet* ss) +[more]void pushModelViewMatrix(osg::Matrix* matrix) +
    +[more]void popModelViewMatrix() +
    +[more]inline void pushStateSet(const osg::StateSet* ss)
    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.
    -[more]void setRenderGraph(RenderGraph* rg) +[more]inline void setRenderGraph(RenderGraph* rg)
    -[more]RenderGraph* getRenderGraph() +[more]inline RenderGraph* getRootRenderGraph()
    -[more]void setRenderStage(RenderStage* rg) +[more]inline RenderGraph* getCurrentRenderGraph()
    -[more]RenderStage* getRenderStage() +[more]inline void setRenderStage(RenderStage* rg)
    -[more]const float getCalculatedNearPlane() const +[more]inline RenderStage* getRenderStage()
    -[more]const float getCalculatedFarPlane() const +[more]inline RenderBin* getCurrentRenderBin()
    -[more]inline const osg::Vec3& getEyeLocal() const +[more]inline const osg::Vec3& getEyeLocal() const +
    +[more]inline const float getCalculatedNearPlane() const +
    +[more]inline const float getCalculatedFarPlane() const +
    +[more]inline float pixelSize(const osg::Vec3& v, float const radius) +
    +[more]inline bool isCulled(const osg::Node& node) +
    +[more]inline const bool isCulled(const osg::BoundingBox& bb) +
    +[more]inline void pushCurrentMask() +
    +[more]inline void popCurrentMask() +
    +[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::Vec3& pos) +
    +[more]inline osg::Viewport* getViewport() +
    +[more]inline osg::Matrix& getModelViewMatrix() +
    +[more]inline osg::Matrix& getProjectionMatrix() +
    +[more]inline const osg::Matrix getWindowMatrix() +
    +[more]inline const osg::Matrix& getMVPW() +
    +[more]inline void addDrawable(osg::Drawable* drawable, osg::Matrix* matrix) +
    Add a drawable to current render graph +
    +[more]inline void addDrawableAndDepth(osg::Drawable* drawable, osg::Matrix* matrix, const float depth) +
    Add a drawable and depth to current render graphAdd a drawable and depth to current render graph +
    +[more]inline void addPositionedAttribute(osg::Matrix* 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 matrix +
    +[more]inline osg::Matrix* createOrReuseMatrix(const osg::Matrix& value) +
    +[more]inline RenderLeaf* createOrReuseRenderLeaf(osg::Drawable* drawable, osg::Matrix* projection, osg::Matrix* matrix, float depth)

    Public Members

    [more]enum
    -[more]enum TransparencySortMode +[more]enum ComputeNearFarMode +
    +[more]enum TransparencySortMode

    Protected Fields

    -[more]MatrixStack _PW_Stack +[more]MatrixStack _PW_Stack
    -[more]ClippingVolumeStack _projectionClippingVolumeStack +[more]MatrixStack _modelviewStack
    -[more]MatrixStack _modelviewStack +[more]MatrixStack _MVPW_Stack
    -[more]MatrixStack _MVPW_Stack +[more]CullingMode _cullingMode
    -[more]ClippingVolumeStack _modelviewClippingVolumeStack +[more]CullingStack _projectionCullingStack
    -[more]unsigned int _bbCornerNear +[more]CullingStack _modelviewCullingStack
    -[more]unsigned int _bbCornerFar +[more]unsigned int _bbCornerNear
    -[more]osg::Matrix _identity +[more]unsigned int _bbCornerFar
    -[more]osg::ref_ptr<RenderGraph> _rootRenderGraph +[more]osg::Matrix _identity
    -[more]RenderGraph* _currentRenderGraph +[more]osg::ref_ptr<RenderGraph> _rootRenderGraph
    -[more]osg::ref_ptr<RenderStage> _rootRenderStage +[more]RenderGraph* _currentRenderGraph
    -[more]RenderBin* _currentRenderBin +[more]osg::ref_ptr<RenderStage> _rootRenderStage
    -[more]float _LODBias +[more]RenderBin* _currentRenderBin
    -[more]ComputeNearFarMode _computeNearFar +[more]float _LODBias
    -[more]float _computed_znear +[more]float _smallFeatureCullingPixelSize
    -[more]float _computed_zfar +[more]ComputeNearFarMode _computeNearFar
    -[more]osg::ref_ptr<const osg::EarthSky> _earthSky +[more]float _computed_znear
    -[more]TransparencySortMode _tsm +[more]float _computed_zfar
    -[more]bool _impostorActive +[more]osg::ref_ptr<const osg::EarthSky> _earthSky
    -[more]bool _depthSortImpostorSprites +[more]TransparencySortMode _tsm
    -[more]float _impostorPixelErrorThreshold +[more]bool _impostorActive
    -[more]int _numFramesToKeepImpostorSprites +[more]bool _depthSortImpostorSprites
    -[more]unsigned int _currentReuseMatrixIndex +[more]float _impostorPixelErrorThreshold
    -[more]unsigned int _currentReuseRenderLeafIndex +[more]int _numFramesToKeepImpostorSprites
    -[more]osg::ref_ptr<osg::ImpostorSpriteManager> _impostorSpriteManager +[more]unsigned int _currentReuseMatrixIndex +
    +[more]unsigned int _currentReuseRenderLeafIndex +
    +[more]osg::ref_ptr<osg::ImpostorSpriteManager> _impostorSpriteManager

    Protected Methods

    -[more] CullVisitor(const CullVisitor&) +[more] CullVisitor(const CullVisitor&)
    prevent unwanted copy construction
    -[more]CullVisitor& operator = (const CullVisitor&) +[more]CullVisitor& operator = (const CullVisitor&)
    prevent 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]inline const osg::Vec3 getUpLocal() const +[more]inline const osg::Vec3 getUpLocal() const
    -[more]inline const osg::Vec3 getLookVectorLocal() const +[more]inline const osg::Vec3 getLookVectorLocal() const
    -[more]inline bool isCulled(const osg::BoundingSphere& sp, CullingMode& mode) const -
    -[more]inline const bool isCulled(const osg::BoundingBox& bb, CullingMode mode) const -
    -[more]void updateCalculatedNearFar(const osg::Matrix& matrix, const osg::Drawable& drawable) -
    -[more]void updateCalculatedNearFar(const osg::Vec3& pos) -
    -[more]inline void addDrawable(osg::Drawable* drawable, osg::Matrix* matrix) -
    Add a drawable to current render graph -
    -[more]inline void addDrawableAndDepth(osg::Drawable* drawable, osg::Matrix* matrix, const float depth) -
    Add a drawable and depth to current render graph -
    -[more]inline void addLight(osg::Light* light, osg::Matrix* matrix) -
    Add a light to current render graph -
    -[more]osg::ImpostorSprite* createImpostorSprite(osg::Impostor& node) +[more]osg::ImpostorSprite* createImpostorSprite(osg::Impostor& node)
    create an impostor sprite by setting up a pre-rendering stage to generate the impostor texture.
    -[more]osg::Viewport* getViewport() +[more]void pushCullingSet()
    -[more]osg::Matrix& getModelViewMatrix() -
    -[more]osg::Matrix& getProjectionMatrix() -
    -[more]const osg::Matrix getWindowMatrix() -
    -[more]const osg::Matrix& getMVPW() -
    -[more]void pushClippingVolume() -
    -[more]void popClippingVolume() -
    -[more]inline osg::Matrix* createOrReuseMatrix(const osg::Matrix value) -
    -[more]inline RenderLeaf* createOrReuseRenderLeaf(osg::Drawable* drawable, osg::Matrix* projection, osg::Matrix* matrix, float depth=0.0f) +[more]void popCullingSet()

    Protected Members

    -[more]typedef std::vector<osg::ref_ptr<osg::Matrix> > MatrixStack MatrixStack _projectionStack +[more]typedef osg::fast_back_stack< osg::ref_ptr<osg::Matrix> > MatrixStack MatrixStack _projectionStack
    -[more]typedef std::vector<osg::ref_ptr<osg::Viewport> > ViewportStack ViewportStack _viewportStack +[more]typedef osg::fast_back_stack<osg::ref_ptr<osg::Viewport> > ViewportStack ViewportStack _viewportStack
    -[more]typedef std::vector<osg::Vec3> EyePointStack EyePointStack _eyePointStack +[more]typedef osg::fast_back_stack<osg::Vec3> EyePointStack EyePointStack _eyePointStack
    -[more]typedef std::vector<CullingMode> CullingModeStack CullingModeStack _cullingModeStack +[more]typedef osg::fast_back_stack<osg::ref_ptr<osg::CullingSet> > CullingStack CullingStack _clipspaceCullingStack
    -[more]enum ComputeNearFarMode +[more]typedef std::vector< osg::ref_ptr<osg::Matrix> > MatrixList MatrixList _reuseMatrixList
    -[more]typedef std::vector< osg::ref_ptr<osg::Matrix> > MatrixList MatrixList _reuseMatrixList -
    -[more]typedef std::vector< osg::ref_ptr<RenderLeaf> > RenderLeafList RenderLeafList _reuseRenderLeafList +[more]typedef std::vector< osg::ref_ptr<RenderLeaf> > RenderLeafList RenderLeafList _reuseRenderLeafList

    @@ -352,50 +380,58 @@ from the eye to the one nearest the eye.

    -

    ovirtual void apply(osg::Group& node) +
    ovirtual void apply(osg::ClipNode& node)

    -

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

    -

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

    -

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

    -

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

    -

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

    +

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

    + + +

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

    + +

    ovirtual void apply(osg::Impostor& node)

    - +

    ovoid setEarthSky(const osg::EarthSky* earthSky)

    - +

    oconst osg::EarthSky* getEarthSky() const

    - +

    ovoid setLODBias(const float bias)

    - +

    oconst float getLODBias() const

    - +

    ovoid setImpostorsActive(const bool active)
    Switch the creation of Impostors on or off. Setting active to false forces the CullVisitor to use the Impostor @@ -404,97 +440,131 @@ CullVisitor to create the appropriate pre-rendering stages which render to the ImpostorSprite's texture.

    - +

    oconst bool getImpostorsActive() const
    Get whether impostors are active or not.

    - +

    ovoid setImpostorPixelErrorThreshold(const float numPixels)
    Set the impostor error threshold. Used in calculation of whether impostors remain valid.

    - +

    oconst float getImpostorPixelErrorThreshold() const
    Get the impostor error threshold

    - +

    ovoid setDepthSortImpostorSprites(const bool doDepthSort)
    Set whether ImpsotorSprite's should be placed in a depth sorted bin for rendering

    - +

    oconst bool setDepthSortImpostorSprites() const
    Get whether ImpsotorSprite's are depth sorted bin for rendering

    - +

    ovoid setNumberOfFrameToKeepImpostorSprites(const int numFrames)
    Set the number of frames that an ImpsotorSprite's is kept whilst not being beyond, before being recycled

    - +

    oconst int getNumberOfFrameToKeepImpostorSprites() const
    Get 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) +

    + + +

    oComputeNearFarMode getComputeNearFarMode() const +

    - +

    oenum TransparencySortMode

    - +
    o LOOK_VECTOR_DISTANCE

    - +

    o OBJECT_EYE_POINT_DISTANCE

    - -
    ovoid setTransparencySortMode(TransparencySortMode tsm) + +
    ovoid setTransparencySortMode(TransparencySortMode tsm)

    - +

    ovoid setCullingMode(CullingMode mode)
    Sets the current CullingMode

    - +

    oCullingMode getCullingMode() const
    Returns the current CullingMode

    + + +

    ovoid setSmallFeatureCullingPixelSize(float s) +

    + + +

    ofloat getSmallFeatureCullingPixelSize() const +

    - +

    ovoid pushViewport(osg::Viewport* viewport)

    - +

    ovoid popViewport()

    - +

    ovoid pushProjectionMatrix(osg::Matrix* matrix)

    - +

    ovoid popProjectionMatrix()

    - +

    ovoid pushModelViewMatrix(osg::Matrix* matrix)

    - +

    ovoid popModelViewMatrix()

    - +

    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 @@ -504,280 +574,294 @@ 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 state group.

    - -

    ovoid setRenderGraph(RenderGraph* rg) + +
    oinline void setRenderGraph(RenderGraph* rg)

    - - -

    oRenderGraph* getRenderGraph() + + +
    oinline RenderGraph* getRootRenderGraph() +

    + + +

    oinline RenderGraph* getCurrentRenderGraph()

    - -

    ovoid setRenderStage(RenderStage* rg) + +
    oinline void setRenderStage(RenderStage* rg)

    - -

    oRenderStage* getRenderStage() + +
    oinline RenderStage* getRenderStage()

    - - -

    oconst float getCalculatedNearPlane() const -

    - - -

    oconst float getCalculatedFarPlane() const + + +
    oinline RenderBin* getCurrentRenderBin()

    - +

    oinline const osg::Vec3& getEyeLocal() const

    + + +

    oinline const float getCalculatedNearPlane() const +

    + + +

    oinline const float getCalculatedFarPlane() const +

    + + +

    oinline float pixelSize(const osg::Vec3& v, float const radius) +

    + + +

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

    + + +

    oinline const bool isCulled(const osg::BoundingBox& bb) +

    + + +

    oinline void pushCurrentMask() +

    + + +

    oinline void popCurrentMask() +

    + + +

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

    - -

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

    - +

    oCullVisitor& operator = (const CullVisitor&)
    prevent unwanted copy operator

    - +

    oinline void handle_cull_callbacks_and_traverse(osg::Node& node)

    - +

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

    - +

    oinline const osg::Vec3 getUpLocal() const

    - +

    oinline const osg::Vec3 getLookVectorLocal() const

    - - -

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

    - - -

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

    - - -

    ovoid updateCalculatedNearFar(const osg::Matrix& matrix, const osg::Drawable& drawable) -

    - - -

    ovoid updateCalculatedNearFar(const osg::Vec3& pos) -

    - - -

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

    - - -

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

    - - -

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

    - +

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

    - - -

    oosg::Viewport* getViewport() + + +
    ovoid pushCullingSet()

    - - -

    oosg::Matrix& getModelViewMatrix() -

    - - -

    oosg::Matrix& getProjectionMatrix() -

    - - -

    oconst osg::Matrix getWindowMatrix() -

    - - -

    oconst osg::Matrix& getMVPW() -

    - - -

    ovoid pushClippingVolume() -

    - - -

    ovoid popClippingVolume() + + +
    ovoid popCullingSet()

    - -

    otypedef std::vector<osg::ref_ptr<osg::Matrix> > MatrixStack MatrixStack _projectionStack + +
    otypedef osg::fast_back_stack< osg::ref_ptr<osg::Matrix> > MatrixStack MatrixStack _projectionStack

    - +

    oMatrixStack _PW_Stack

    - - -

    oClippingVolumeStack _projectionClippingVolumeStack -

    - +

    oMatrixStack _modelviewStack

    - +

    oMatrixStack _MVPW_Stack

    - - -

    oClippingVolumeStack _modelviewClippingVolumeStack -

    - -

    otypedef std::vector<osg::ref_ptr<osg::Viewport> > ViewportStack ViewportStack _viewportStack + +
    otypedef osg::fast_back_stack<osg::ref_ptr<osg::Viewport> > ViewportStack ViewportStack _viewportStack

    - -

    otypedef std::vector<osg::Vec3> EyePointStack EyePointStack _eyePointStack + +
    otypedef osg::fast_back_stack<osg::Vec3> EyePointStack EyePointStack _eyePointStack

    - - -

    otypedef std::vector<CullingMode> CullingModeStack CullingModeStack _cullingModeStack + + +
    oCullingMode _cullingMode +

    + + +

    otypedef osg::fast_back_stack<osg::ref_ptr<osg::CullingSet> > CullingStack CullingStack _clipspaceCullingStack +

    + + +

    oCullingStack _projectionCullingStack +

    + + +

    oCullingStack _modelviewCullingStack

    - +

    ounsigned int _bbCornerNear

    - +

    ounsigned int _bbCornerFar

    - +

    oosg::Matrix _identity

    - +

    oosg::ref_ptr<RenderGraph> _rootRenderGraph

    - +

    oRenderGraph* _currentRenderGraph

    - +

    oosg::ref_ptr<RenderStage> _rootRenderStage

    - +

    oRenderBin* _currentRenderBin

    - +

    ofloat _LODBias

    - - -

    oenum ComputeNearFarMode -

    - - - -
    o DO_NOT_COMPUTE_NEAR_FAR + + +
    ofloat _smallFeatureCullingPixelSize

    - - -

    o COMPUTE_NEAR_FAR_USING_BOUNDING_VOLUMES -

    - - -

    o COMPUTE_NEAR_FAR_USING_PRIMITIVES -

    - - -
    oComputeNearFarMode _computeNearFar + +
    oComputeNearFarMode _computeNearFar

    - +

    ofloat _computed_znear

    - +

    ofloat _computed_zfar

    - +

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

    - -

    oTransparencySortMode _tsm + +
    oTransparencySortMode _tsm

    - +

    obool _impostorActive

    - +

    obool _depthSortImpostorSprites

    - +

    ofloat _impostorPixelErrorThreshold

    - +

    oint _numFramesToKeepImpostorSprites

    - +

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

    - +

    ounsigned int _currentReuseMatrixIndex

    - - -

    oinline osg::Matrix* createOrReuseMatrix(const osg::Matrix value) -

    - +

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

    - +

    ounsigned int _currentReuseRenderLeafIndex

    - - -

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

    - +

    oosg::ref_ptr<osg::ImpostorSpriteManager> _impostorSpriteManager +

    + + +

    oinline osg::Viewport* getViewport() +

    + + +

    oinline osg::Matrix& getModelViewMatrix() +

    + + +

    oinline osg::Matrix& getProjectionMatrix() +

    + + +

    oinline const osg::Matrix getWindowMatrix() +

    + + +

    oinline const osg::Matrix& getMVPW() +

    + + +

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

    + + +

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

    + + +

    oinline void addPositionedAttribute(osg::Matrix* 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 matrix +

    + + +

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

    + + +

    oinline RenderLeaf* createOrReuseRenderLeaf(osg::Drawable* drawable, osg::Matrix* projection, osg::Matrix* matrix, float depth)


    This class has no child classes.
    diff --git a/doc/doc++/osgUtil/DepthSortedBin.html b/doc/doc++/osgUtil/DepthSortedBin.html index 99a4e75db..5cd0e080b 100644 --- a/doc/doc++/osgUtil/DepthSortedBin.html +++ b/doc/doc++/osgUtil/DepthSortedBin.html @@ -51,8 +51,6 @@

    Protected Fields

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

    @@ -74,6 +72,8 @@ oRenderBinList _bins
    oRenderGraphList _renderGraphList +
    +oRenderLeafList _renderLeafList

    @@ -172,10 +172,6 @@
    oDrawOrder _drawOrder -

    - - -

    oRenderLeafList _renderLeafList


    This class has no child classes.
    diff --git a/doc/doc++/osgUtil/IntersectVisitor.html b/doc/doc++/osgUtil/IntersectVisitor.html index 74c04b7e6..6feeb57a0 100644 --- a/doc/doc++/osgUtil/IntersectVisitor.html +++ b/doc/doc++/osgUtil/IntersectVisitor.html @@ -7,7 +7,7 @@ -

    class OSGUTIL_EXPORT osgUtil::IntersectVisitor

    Basic visitor for ray based collisions of a scene.
    +

    class OSGUTIL_EXPORT osgUtil::IntersectVisitor

    Basic visitor for ray based collisions of a scene

    Inheritance:

    @@ -99,9 +99,7 @@ class IntersectState: public osg::Refe

    Documentation

    -
    Basic visitor for ray based collisions of a scene. -Note, still in development, current version has not -practical functionality!
    +
    Basic visitor for ray based collisions of a scene
    diff --git a/doc/doc++/osgUtil/RenderBin.html b/doc/doc++/osgUtil/RenderBin.html index fb1deb179..fe3c17925 100644 --- a/doc/doc++/osgUtil/RenderBin.html +++ b/doc/doc++/osgUtil/RenderBin.html @@ -32,6 +32,8 @@ [more]RenderBinList _bins
    [more]RenderGraphList _renderGraphList +
    +[more]RenderLeafList _renderLeafList

    @@ -76,12 +78,12 @@

    Public Members

    -[more]typedef std::map< std::string, osg::ref_ptr<RenderBin> >static RenderBinPrototypeList RenderBinPrototypeList s_renderBinPrototypeList +[more]typedef std::map< std::string, osg::ref_ptr<RenderBin> >static RenderBinPrototypeList RenderBinPrototypeList s_renderBinPrototypeList

    Protected Methods

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

    @@ -186,12 +188,16 @@ RenderBin base class
    oRenderGraphList _renderGraphList

    - + +

    oRenderLeafList _renderLeafList +

    + +

    otypedef std::map< std::string, osg::ref_ptr<RenderBin> >static RenderBinPrototypeList RenderBinPrototypeList s_renderBinPrototypeList

    - +

    ovirtual ~RenderBin()


    diff --git a/doc/doc++/osgUtil/RenderGraph.html b/doc/doc++/osgUtil/RenderGraph.html index 707920cc2..3ce930eb0 100644 --- a/doc/doc++/osgUtil/RenderGraph.html +++ b/doc/doc++/osgUtil/RenderGraph.html @@ -22,52 +22,66 @@

    Public Fields

    -[more]osg::ref_ptr<const osg::StateSet> _stateset +[more]osg::ref_ptr<const osg::StateSet> _stateset
    -[more]int _depth +[more]int _depth
    -[more]ChildList _children +[more]ChildList _children
    -[more]LeafList _leaves +[more]LeafList _leaves +
    +[more]mutable float _averageDistance +
    +[more]osg::ref_ptr<osg::Referenced> _userData

    Public Methods

    -[more] RenderGraph() +[more] RenderGraph()
    -[more] RenderGraph(RenderGraph* parent, const osg::StateSet* stateset) +[more] RenderGraph(RenderGraph* parent, const osg::StateSet* stateset)
    -[more] ~RenderGraph() +[more] ~RenderGraph()
    -[more]RenderGraph* cloneType() const +[more]RenderGraph* cloneType() const
    -[more]inline const bool empty() const +[more]void setUserData(osg::Referenced* obj) +
    +[more]osg::Referenced* getUserData() +
    +[more]const osg::Referenced* getUserData() const +
    +[more]inline const bool empty() const
    return true if all of drawables, lights and children are empty
    -[more]inline const bool leaves_empty() const +[more]inline const bool leaves_empty() const
    -[more]void reset() +[more]inline const float getAverageDistance() const +
    +[more]inline void sortFrontToBack() +
    +[more]void reset()
    reset the internal contents of a RenderGraph, including deleting all children
    -[more]void clean() +[more]void clean()
    recursively clean the RenderGraph of all its drawables, lights and depths.
    -[more]void prune() +[more]void prune()
    recursively prune the RenderGraph of empty children
    -[more]inline RenderGraph* find_or_insert(const osg::StateSet* stateset) +[more]inline RenderGraph* find_or_insert(const osg::StateSet* stateset)
    -[more]inline void addLeaf(RenderLeaf* leaf) +[more]inline void addLeaf(RenderLeaf* leaf)
    add a render leaf
    -[more]static inline void moveRenderGraph(osg::State& state, RenderGraph* sg_curr, RenderGraph* sg_new) +[more]static inline void moveRenderGraph(osg::State& state, RenderGraph* sg_curr, RenderGraph* sg_new)
    -[more]inline static void moveToRootRenderGraph(osg::State& state, RenderGraph* sg_curr) +[more]inline static void moveToRootRenderGraph(osg::State& state, RenderGraph* sg_curr)

    Public Members

    -[more]typedef std::vector< osg::ref_ptr<RenderLeaf> > LeafList RenderGraph* _parent +[more]typedef std::vector< osg::ref_ptr<RenderLeaf> > LeafList RenderGraph* _parent

    @@ -78,81 +92,109 @@
    - +
    otypedef std::vector< osg::ref_ptr<RenderLeaf> > LeafList RenderGraph* _parent

    - +

    oosg::ref_ptr<const osg::StateSet> _stateset

    - +

    oint _depth

    - +

    oChildList _children

    - +

    oLeafList _leaves

    + + +

    omutable float _averageDistance +

    + + +

    oosg::ref_ptr<osg::Referenced> _userData +

    - +

    o RenderGraph()

    - -

    o RenderGraph(RenderGraph* parent, const osg::StateSet* stateset) + +
    o RenderGraph(RenderGraph* parent, const osg::StateSet* stateset)

    - +

    o ~RenderGraph()

    - +

    oRenderGraph* cloneType() const

    + + +

    ovoid setUserData(osg::Referenced* obj) +

    + + +

    oosg::Referenced* getUserData() +

    + + +

    oconst osg::Referenced* getUserData() const +

    - +

    oinline const bool empty() const
    return true if all of drawables, lights and children are empty

    - +

    oinline const bool leaves_empty() const

    + + +

    oinline const float getAverageDistance() const +

    + + +

    oinline void sortFrontToBack() +

    - +

    ovoid reset()
    reset the internal contents of a RenderGraph, including deleting all children

    - +

    ovoid clean()
    recursively clean the RenderGraph of all its drawables, lights and depths. Leaves children intact, and ready to be populated again.

    - +

    ovoid prune()
    recursively prune the RenderGraph of empty children

    - +

    oinline RenderGraph* find_or_insert(const osg::StateSet* stateset)

    - +

    oinline void addLeaf(RenderLeaf* leaf)
    add a render leaf

    - +

    ostatic inline void moveRenderGraph(osg::State& state, RenderGraph* sg_curr, RenderGraph* sg_new)

    - +

    oinline static void moveToRootRenderGraph(osg::State& state, RenderGraph* sg_curr)

    diff --git a/doc/doc++/osgUtil/RenderLeaf.html b/doc/doc++/osgUtil/RenderLeaf.html index 64cc31497..4331fd055 100644 --- a/doc/doc++/osgUtil/RenderLeaf.html +++ b/doc/doc++/osgUtil/RenderLeaf.html @@ -23,26 +23,26 @@

    Public Fields

    -[more]RenderGraph* _parent +[more]RenderGraph* _parent
    -[more]osg::Drawable* _drawable +[more]osg::Drawable* _drawable
    -[more]osg::ref_ptr<osg::Matrix> _projection +[more]osg::ref_ptr<osg::Matrix> _projection
    -[more]osg::ref_ptr<osg::Matrix> _modelview +[more]osg::ref_ptr<osg::Matrix> _modelview
    -[more]float _depth +[more]float _depth

    Public Methods

    -[more]inline RenderLeaf(osg::Drawable* drawable, osg::Matrix* projection, osg::Matrix* modelview, float depth=0.0f) +[more]inline RenderLeaf(osg::Drawable* drawable, osg::Matrix* projection, osg::Matrix* modelview, float depth=0.0f)
    -[more]inline void set(osg::Drawable* drawable, osg::Matrix* projection, osg::Matrix* modelview, float depth=0.0f) +[more]inline void set(osg::Drawable* drawable, osg::Matrix* projection, osg::Matrix* modelview, float depth=0.0f)
    -[more]inline void reset() +[more]inline void reset()
    -[more]virtual void render(osg::State& state, RenderLeaf* previous) +[more]virtual void render(osg::State& state, RenderLeaf* previous)

    @@ -54,39 +54,39 @@
    - +
    oinline RenderLeaf(osg::Drawable* drawable, osg::Matrix* projection, osg::Matrix* modelview, float depth=0.0f)

    - +

    oinline void set(osg::Drawable* drawable, osg::Matrix* projection, osg::Matrix* modelview, float depth=0.0f)

    - +

    oinline void reset()

    - +

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

    - +

    oRenderGraph* _parent

    - +

    oosg::Drawable* _drawable

    - +

    oosg::ref_ptr<osg::Matrix> _projection

    - +

    oosg::ref_ptr<osg::Matrix> _modelview

    - +

    ofloat _depth

    diff --git a/doc/doc++/osgUtil/RenderStage.html b/doc/doc++/osgUtil/RenderStage.html index 611ebb148..1cb4e87cb 100644 --- a/doc/doc++/osgUtil/RenderStage.html +++ b/doc/doc++/osgUtil/RenderStage.html @@ -23,106 +23,106 @@

    Public Fields

    -[more]DependencyList _dependencyList +[more]DependencyList _dependencyList
    -[more]osg::ref_ptr<osg::Viewport> _viewport +[more]osg::ref_ptr<osg::Viewport> _viewport
    -[more]GLbitfield _clearMask +[more]GLbitfield _clearMask
    -[more]osg::ref_ptr<osg::ColorMask> _colorMask +[more]osg::ref_ptr<osg::ColorMask> _colorMask
    -[more]osg::Vec4 _clearColor +[more]osg::Vec4 _clearColor
    -[more]osg::Vec4 _clearAccum +[more]osg::Vec4 _clearAccum
    -[more]double _clearDepth +[more]double _clearDepth
    -[more]int _clearStencil +[more]int _clearStencil
    -[more]mutable osg::ref_ptr<RenderStageLighting> _renderStageLighting +[more]mutable osg::ref_ptr<RenderStageLighting> _renderStageLighting

    Public Methods

    -[more] RenderStage() +[more] RenderStage()
    -[more]virtual osg::Object* 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 void reset() +[more]virtual void reset()
    -[more]void setViewport(osg::Viewport* viewport) +[more]void setViewport(osg::Viewport* viewport)
    Set the viewport
    -[more]const osg::Viewport* getViewport() const +[more]const osg::Viewport* getViewport() const
    Get the const viewport.
    -[more]osg::Viewport* getViewport() +[more]osg::Viewport* getViewport()
    Get the viewport.
    -[more]void setClearMask(const GLbitfield mask) +[more]void setClearMask(const GLbitfield mask)
    Set the clear mask used in glClear().
    -[more]const GLbitfield getClearMask() const +[more]const GLbitfield getClearMask() const
    Get the clear mask
    -[more]void setColorMask(osg::ColorMask* cm) +[more]void setColorMask(osg::ColorMask* cm)
    -[more]osg::ColorMask* getColorMask() +[more]osg::ColorMask* getColorMask()
    -[more]const osg::ColorMask* getColorMask() const +[more]const osg::ColorMask* getColorMask() const
    -[more]void setClearColor(const osg::Vec4& color) +[more]void setClearColor(const osg::Vec4& color)
    Set the clear color used in glClearColor().
    -[more]const osg::Vec4& getClearColor() const +[more]const osg::Vec4& getClearColor() const
    Get the clear color
    -[more]void setClearAccum(const osg::Vec4& color) +[more]void setClearAccum(const osg::Vec4& color)
    Set the clear accum used in glClearAccum().
    -[more]const osg::Vec4& getClearAccum() const +[more]const osg::Vec4& getClearAccum() const
    Get the clear accum
    -[more]void setClearDepth(const double depth) +[more]void setClearDepth(const double depth)
    Set the clear depth used in glClearDepth().
    -[more]const double getClearDepth() const +[more]const double getClearDepth() const
    Get the clear depth
    -[more]void setClearStencil(const int stencil) +[more]void setClearStencil(const int stencil)
    Set the clear stencil value used in glClearStencil().
    -[more]const int getClearStencil() const +[more]const int getClearStencil() const
    Get the clear color
    -[more]void setRenderStageLighting(RenderStageLighting* rsl) +[more]void setRenderStageLighting(RenderStageLighting* rsl)
    -[more]RenderStageLighting* getRenderStageLighting() const +[more]RenderStageLighting* getRenderStageLighting() const
    -[more]virtual void addLight(osg::Light* light, osg::Matrix* matrix) +[more]virtual void addPositionedAttribute(osg::Matrix* matrix, const osg::StateAttribute* attr)
    -[more]virtual void draw(osg::State& state, RenderLeaf*& previous) +[more]virtual void draw(osg::State& state, RenderLeaf*& previous)
    -[more]void addToDependencyList(RenderStage* rs) +[more]void addToDependencyList(RenderStage* rs)
    -[more]bool getStats(osg::Statistics* primStats) +[more]bool getStats(osg::Statistics* primStats)
    extract stats for current draw list.

    Public Members

    -[more]typedef std::vector< osg::ref_ptr<RenderStage> > DependencyList bool _stageDrawnThisFrame +[more]typedef std::vector< osg::ref_ptr<RenderStage> > DependencyList bool _stageDrawnThisFrame

    Protected Methods

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

    @@ -139,6 +139,8 @@ oRenderBinList _bins
    oRenderGraphList _renderGraphList +
    +oRenderLeafList _renderLeafList

    @@ -185,178 +187,178 @@ like multistage pixel shading or impostors.
    - +
    o RenderStage()

    - +

    ovirtual osg::Object* cloneType() const

    - +

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

    - +

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

    - +

    ovirtual const char* className() const

    - +

    ovirtual void reset()

    - +

    ovoid setViewport(osg::Viewport* viewport)
    Set the viewport

    - +

    oconst osg::Viewport* getViewport() const
    Get the const viewport.

    - +

    oosg::Viewport* getViewport()
    Get the viewport.

    - +

    ovoid setClearMask(const GLbitfield mask)
    Set the clear mask used in glClear(). Defaults to GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT.

    - +

    oconst GLbitfield getClearMask() const
    Get the clear mask

    - +

    ovoid setColorMask(osg::ColorMask* cm)

    - +

    oosg::ColorMask* getColorMask()

    - +

    oconst osg::ColorMask* getColorMask() const

    - +

    ovoid setClearColor(const osg::Vec4& color)
    Set the clear color used in glClearColor(). glClearColor is only called if mask & GL_COLOR_BUFFER_BIT is true

    - +

    oconst osg::Vec4& getClearColor() const
    Get the clear color

    - +

    ovoid setClearAccum(const osg::Vec4& color)
    Set the clear accum used in glClearAccum(). glClearAcumm is only called if mask & GL_ACCUM_BUFFER_BIT is true

    - +

    oconst osg::Vec4& getClearAccum() const
    Get the clear accum

    - +

    ovoid setClearDepth(const double depth)
    Set the clear depth used in glClearDepth(). Defaults to 1.0 glClearDepth is only called if mask & GL_DEPTH_BUFFER_BIT is true

    - +

    oconst double getClearDepth() const
    Get the clear depth

    - +

    ovoid setClearStencil(const int stencil)
    Set the clear stencil value used in glClearStencil(). Defaults to 1.0 glClearStencil is only called if mask & GL_STENCIL_BUFFER_BIT is true

    - +

    oconst int getClearStencil() const
    Get the clear color

    - +

    ovoid setRenderStageLighting(RenderStageLighting* rsl)

    - +

    oRenderStageLighting* getRenderStageLighting() const

    - - -

    ovirtual void addLight(osg::Light* light, osg::Matrix* matrix) + + +
    ovirtual void addPositionedAttribute(osg::Matrix* matrix, const osg::StateAttribute* attr)

    - +

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

    - +

    ovoid addToDependencyList(RenderStage* rs)

    - +

    obool getStats(osg::Statistics* primStats)
    extract stats for current draw list.

    - +

    otypedef std::vector< osg::ref_ptr<RenderStage> > DependencyList bool _stageDrawnThisFrame

    - +

    oDependencyList _dependencyList

    - +

    oosg::ref_ptr<osg::Viewport> _viewport

    - +

    oGLbitfield _clearMask

    - +

    oosg::ref_ptr<osg::ColorMask> _colorMask

    - +

    oosg::Vec4 _clearColor

    - +

    oosg::Vec4 _clearAccum

    - +

    odouble _clearDepth

    - +

    oint _clearStencil

    - +

    omutable osg::ref_ptr<RenderStageLighting> _renderStageLighting

    - +

    ovirtual ~RenderStage()


    diff --git a/doc/doc++/osgUtil/RenderStageLighting.html b/doc/doc++/osgUtil/RenderStageLighting.html index 0a7652c4c..93d9f7e74 100644 --- a/doc/doc++/osgUtil/RenderStageLighting.html +++ b/doc/doc++/osgUtil/RenderStageLighting.html @@ -23,31 +23,31 @@

    Public Fields

    -[more]LightList _lightList +[more]AttrMatrixList _attrList

    Public Methods

    -[more] RenderStageLighting() +[more] RenderStageLighting()
    -[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 void reset() +[more]virtual void reset()
    -[more]typedef std::vector< LightMatrixPair >virtual LightList void addLight(osg::Light* light, osg::Matrix* matrix) +[more]typedef std::vector< AttrMatrixPair >virtual AttrMatrixList void addPositionedAttribute(osg::Matrix* matrix, const osg::StateAttribute* attr)
    -[more]virtual void draw(osg::State& state, RenderLeaf*& previous) +[more]virtual void draw(osg::State& state, RenderLeaf*& previous)

    Protected Methods

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

    @@ -60,43 +60,43 @@ RenderBin base class
    - +
    o RenderStageLighting()

    - +

    ovirtual osg::Object* cloneType() const

    - +

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

    - +

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

    - +

    ovirtual const char* className() const

    - +

    ovirtual void reset()

    - - -

    otypedef std::vector< LightMatrixPair >virtual LightList void addLight(osg::Light* light, osg::Matrix* matrix) + + +
    otypedef std::vector< AttrMatrixPair >virtual AttrMatrixList void addPositionedAttribute(osg::Matrix* matrix, const osg::StateAttribute* attr)

    - +

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

    - - -

    oLightList _lightList + + +
    oAttrMatrixList _attrList

    - +

    ovirtual ~RenderStageLighting()

    diff --git a/doc/doc++/osgUtil/RenderToTextureStage.html b/doc/doc++/osgUtil/RenderToTextureStage.html index 00abcb11d..e1ed05f8b 100644 --- a/doc/doc++/osgUtil/RenderToTextureStage.html +++ b/doc/doc++/osgUtil/RenderToTextureStage.html @@ -23,33 +23,33 @@

    Public Methods

    -[more] RenderToTextureStage() +[more] RenderToTextureStage()
    -[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 void reset() +[more]virtual void reset()
    -[more]void setTexture(osg::Texture* texture) +[more]void setTexture(osg::Texture* texture)
    -[more]osg::Texture* getTexture() +[more]osg::Texture* getTexture()
    -[more]virtual void draw(osg::State& state, RenderLeaf*& previous) +[more]virtual void draw(osg::State& state, RenderLeaf*& previous)

    Protected Fields

    -[more]osg::ref_ptr<osg::Texture> _texture +[more]osg::ref_ptr<osg::Texture> _texture

    Protected Methods

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

    @@ -114,7 +114,7 @@
    oRenderStageLighting* getRenderStageLighting() const
    -ovirtual void addLight(osg::Light* light, osg::Matrix* matrix) +ovirtual void addPositionedAttribute(osg::Matrix* matrix, const osg::StateAttribute* attr)
    ovoid addToDependencyList(RenderStage* rs)
    @@ -140,6 +140,8 @@ oRenderBinList _bins
    oRenderGraphList _renderGraphList +
    +oRenderLeafList _renderLeafList

    @@ -180,47 +182,47 @@ RenderBin base class
    - +
    o RenderToTextureStage()

    - +

    ovirtual osg::Object* cloneType() const

    - +

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

    - +

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

    - +

    ovirtual const char* className() const

    - +

    ovirtual void reset()

    - +

    ovoid setTexture(osg::Texture* texture)

    - +

    oosg::Texture* getTexture()

    - +

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

    - +

    ovirtual ~RenderToTextureStage()

    - +

    oosg::ref_ptr<osg::Texture> _texture

    diff --git a/doc/doc++/osgUtil/SceneView.html b/doc/doc++/osgUtil/SceneView.html index 3e3ca0908..9b76ef543 100644 --- a/doc/doc++/osgUtil/SceneView.html +++ b/doc/doc++/osgUtil/SceneView.html @@ -23,266 +23,266 @@

    Public Methods

    -[more] SceneView(osg::DisplaySettings* ds=NULL) +[more] SceneView(osg::DisplaySettings* ds=NULL)
    Construct a default scene view
    -[more]void setDefaults() +[more]void setDefaults()
    Set scene view to use default global state, light, camera and render visitor
    -[more]void setSceneData(osg::Node* node) +[more]void setSceneData(osg::Node* node)
    Set the data which to view.
    -[more]osg::Node* getSceneData() +[more]osg::Node* getSceneData()
    Get the scene data which to view.
    -[more]const osg::Node* getSceneData() const +[more]const osg::Node* getSceneData() const
    Get the const scene data which to view.
    -[more]void setViewport(osg::Viewport* viewport) +[more]void setViewport(osg::Viewport* viewport)
    Set the viewport of the scene view to use specfied osg::Viewport.
    -[more]void setViewport(int x, int y, int width, int height) +[more]void setViewport(int x, int y, int width, int height)
    Set the viewport of the scene view to specified dimensions.
    -[more]const osg::Viewport* getViewport() const +[more]const osg::Viewport* getViewport() const
    Get the const viewport.
    -[more]osg::Viewport* getViewport() +[more]osg::Viewport* getViewport()
    Get the viewport.
    -[more]void getViewport(int& x, int& y, int& width, int& height) +[more]void getViewport(int& x, int& y, int& width, int& height)
    Get the viewport of the scene view.
    -[more]inline void setDisplaySettings(osg::DisplaySettings* vs) +[more]inline void setDisplaySettings(osg::DisplaySettings* vs)
    Set the DisplaySettings.
    -[more]inline const osg::DisplaySettings* getDisplaySettings() const +[more]inline const osg::DisplaySettings* getDisplaySettings() const
    Get the const DisplaySettings
    -[more]inline osg::DisplaySettings* getDisplaySettings() +[more]inline osg::DisplaySettings* getDisplaySettings()
    Get the DisplaySettings
    -[more]void setBackgroundColor(const osg::Vec4& color) +[more]void setBackgroundColor(const osg::Vec4& color)
    Set the background color used in glClearColor().
    -[more]const osg::Vec4& getBackgroundColor() const +[more]const osg::Vec4& getBackgroundColor() const
    Get the background color
    -[more]void setGlobalStateSet(osg::StateSet* state) +[more]void setGlobalStateSet(osg::StateSet* state)
    -[more]osg::StateSet* getGlobalStateSet() +[more]osg::StateSet* getGlobalStateSet()
    -[more]const osg::StateSet* getGlobalStateSet() const +[more]const osg::StateSet* getGlobalStateSet() const
    -[more]void setLightingMode(LightingMode mode) +[more]void setLightingMode(LightingMode mode)
    -[more]LightingMode getLightingMode() const +[more]LightingMode getLightingMode() const
    -[more]void setLight(osg::Light* light) +[more]void setLight(osg::Light* light)
    -[more]osg::Light* getLight() +[more]osg::Light* getLight()
    -[more]const osg::Light* getLight() const +[more]const osg::Light* getLight() const
    -[more]void setState(osg::State* state) +[more]void setState(osg::State* state)
    -[more]osg::State* getState() +[more]osg::State* getState()
    -[more]const osg::State* getState() const +[more]const osg::State* getState() const
    -[more]void setCamera(osg::Camera* camera) +[more]void setCamera(osg::Camera* camera)
    set an osg::Camera for the scene view to use for setting projection and modelview matrices internaly.
    -[more]osg::Camera* getCamera() +[more]osg::Camera* getCamera()
    -[more]const osg::Camera* getCamera() const +[more]const osg::Camera* getCamera() const
    -[more]void setProjectionMatrix(osg::Matrix* matrix) +[more]void setProjectionMatrix(osg::Matrix* matrix)
    set a projection matrix.
    -[more]osg::Matrix* getProjectionMatrix() +[more]osg::Matrix* getProjectionMatrix()
    -[more]const osg::Matrix* getProjectionMatrix() const +[more]const osg::Matrix* getProjectionMatrix() const
    -[more]void setModelViewMatrix(osg::Matrix* matrix) +[more]void setModelViewMatrix(osg::Matrix* matrix)
    set a modelview matrix.
    -[more]osg::Matrix* getModelViewMatrix() +[more]osg::Matrix* getModelViewMatrix()
    -[more]const osg::Matrix* getModelViewMatrix() const +[more]const osg::Matrix* getModelViewMatrix() const
    -[more]void setInitVisitor(osg::NodeVisitor* av) +[more]void setInitVisitor(osg::NodeVisitor* av)
    -[more]osg::NodeVisitor* getInitVisitor() +[more]osg::NodeVisitor* getInitVisitor()
    -[more]const osg::NodeVisitor* getInitVisitor() const +[more]const osg::NodeVisitor* getInitVisitor() const
    -[more]void setAppVisitor(osg::NodeVisitor* av) +[more]void setAppVisitor(osg::NodeVisitor* av)
    -[more]osg::NodeVisitor* getAppVisitor() +[more]osg::NodeVisitor* getAppVisitor()
    -[more]const osg::NodeVisitor* getAppVisitor() const +[more]const osg::NodeVisitor* getAppVisitor() const
    -[more]void setCullVisitor(osgUtil::CullVisitor* cv) +[more]void setCullVisitor(osgUtil::CullVisitor* cv)
    -[more]osgUtil::CullVisitor* getCullVisitor() +[more]osgUtil::CullVisitor* getCullVisitor()
    -[more]const osgUtil::CullVisitor* getCullVisitor() const +[more]const osgUtil::CullVisitor* getCullVisitor() const
    -[more]void setRenderGraph(osgUtil::RenderGraph* rg) +[more]void setRenderGraph(osgUtil::RenderGraph* rg)
    -[more]osgUtil::RenderGraph* getRenderGraph() +[more]osgUtil::RenderGraph* getRenderGraph()
    -[more]const osgUtil::RenderGraph* getRenderGraph() const +[more]const osgUtil::RenderGraph* getRenderGraph() const
    -[more]void setRenderStage(osgUtil::RenderStage* rs) +[more]void setRenderStage(osgUtil::RenderStage* rs)
    -[more]osgUtil::RenderStage* getRenderStage() +[more]osgUtil::RenderStage* getRenderStage()
    -[more]const osgUtil::RenderStage* getRenderStage() const +[more]const osgUtil::RenderStage* getRenderStage() const
    -[more]void setLODBias(float bias) +[more]void setLODBias(float bias)
    -[more]float getLODBias() const +[more]float getLODBias() const
    -[more]void setCullMask(const osg::Node::NodeMask nm) +[more]void setCullMask(const osg::Node::NodeMask nm)
    -[more]const osg::Node::NodeMask getCullMask() const +[more]const osg::Node::NodeMask getCullMask() const
    -[more]void setCullMaskLeft(const osg::Node::NodeMask nm) +[more]void setCullMaskLeft(const osg::Node::NodeMask nm)
    -[more]const osg::Node::NodeMask getCullMaskLeft() const +[more]const osg::Node::NodeMask getCullMaskLeft() const
    -[more]void setCullMaskRight(const osg::Node::NodeMask nm) +[more]void setCullMaskRight(const osg::Node::NodeMask nm)
    -[more]const osg::Node::NodeMask getCullMaskRight() const +[more]const osg::Node::NodeMask getCullMaskRight() const
    -[more]void setCalcNearFar(bool calc) +[more]void setCalcNearFar(bool calc)
    Set to true if you want SceneView to automatically calculate values for the near/far clipping planes, each frame, set false to use camera's internal near and far planes.
    -[more]bool getCalcNearFar() const +[more]bool getCalcNearFar() const
    return true if SceneView automatically calculates near and far clipping planes for each frame
    -[more]void setPrioritizeTextures(bool pt) +[more]void setPrioritizeTextures(bool pt)
    set whether the draw method should call renderer->prioritizeTexture
    -[more]bool getPrioritizeTextures() const +[more]bool getPrioritizeTextures() const
    get whether the draw method should call renderer->prioritizeTexture
    -[more]bool projectWindowIntoObject(const osg::Vec3& window, osg::Vec3& object) const +[more]bool projectWindowIntoObject(const osg::Vec3& window, osg::Vec3& object) const
    Calculate, via glUnProject, the object coordinates of a window point.
    -[more]bool projectWindowXYIntoObject(int x, int y, osg::Vec3& near_point, osg::Vec3& far_point) const +[more]bool projectWindowXYIntoObject(int x, int y, osg::Vec3& near_point, osg::Vec3& far_point) const
    Calculate, via glUnProject, the object coordinates of a window x,y when projected onto the near and far planes.
    -[more]bool projectObjectIntoWindow(const osg::Vec3& object, osg::Vec3& window) const +[more]bool projectObjectIntoWindow(const osg::Vec3& object, osg::Vec3& window) const
    Calculate, via glProject, the object coordinates of a window.
    -[more]inline void setFrameStamp(osg::FrameStamp* fs) +[more]inline void setFrameStamp(osg::FrameStamp* fs)
    Set the frame stamp for the current frame
    -[more]inline const osg::FrameStamp* getFrameStamp() const +[more]inline const osg::FrameStamp* getFrameStamp() const
    Set the frame stamp for the current frame
    -[more]virtual void init() +[more]virtual void init()
    Do init traversal of attached scene graph using Init NodeVisitor.
    -[more]virtual void app() +[more]virtual void app()
    Do app traversal of attached scene graph using App NodeVisitor
    -[more]virtual void cull() +[more]virtual void cull()
    Do cull traversal of attached scene graph using Cull NodeVisitor
    -[more]virtual void draw() +[more]virtual void draw()
    Do draw traversal of draw bins generated by cull traversal

    Public Members

    -[more]enum LightingMode +[more]enum LightingMode

    Protected Fields

    -[more]osg::ref_ptr<osg::Node> _sceneData +[more]osg::ref_ptr<osg::Node> _sceneData
    -[more]osg::ref_ptr<osg::StateSet> _globalState +[more]osg::ref_ptr<osg::StateSet> _globalState
    -[more]osg::ref_ptr<osg::Light> _light +[more]osg::ref_ptr<osg::Light> _light
    -[more]osg::ref_ptr<osg::Camera> _camera +[more]osg::ref_ptr<osg::Camera> _camera
    -[more]osg::ref_ptr<osg::Matrix> _projectionMatrix +[more]osg::ref_ptr<osg::Matrix> _projectionMatrix
    -[more]osg::ref_ptr<osg::Matrix> _modelviewMatrix +[more]osg::ref_ptr<osg::Matrix> _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> _appVisitor +[more]osg::ref_ptr<osg::NodeVisitor> _appVisitor
    -[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]bool _need_compile +[more]bool _need_compile
    -[more]bool _calc_nearfar +[more]bool _calc_nearfar
    -[more]osg::Vec4 _backgroundColor +[more]osg::Vec4 _backgroundColor
    -[more]double _near_plane +[more]double _near_plane
    -[more]double _far_plane +[more]double _far_plane
    -[more]float _lodBias +[more]float _lodBias
    -[more]osg::ref_ptr<osg::Viewport> _viewport +[more]osg::ref_ptr<osg::Viewport> _viewport
    -[more]LightingMode _lightingMode +[more]LightingMode _lightingMode
    -[more]bool _prioritizeTextures +[more]bool _prioritizeTextures

    Protected Methods

    -[more]virtual ~SceneView() +[more]virtual ~SceneView()
    -[more]virtual void cullStage(osg::Matrix* projection, osg::Matrix* modelview, osgUtil::CullVisitor* cullVisitor, osgUtil::RenderGraph* rendergraph, osgUtil::RenderStage* renderStage) +[more]virtual void cullStage(osg::Matrix* projection, osg::Matrix* modelview, osgUtil::CullVisitor* cullVisitor, osgUtil::RenderGraph* rendergraph, osgUtil::RenderStage* renderStage)
    Do cull traversal of attached scene graph using Cull NodeVisitor
    -[more]virtual void drawStage(osgUtil::RenderStage* renderStage) +[more]virtual void drawStage(osgUtil::RenderStage* renderStage)
    -[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)

    @@ -297,149 +297,149 @@ methods for setting up the view and rendering it.
    - +
    o SceneView(osg::DisplaySettings* ds=NULL)
    Construct a default scene view

    - +

    ovoid setDefaults()
    Set scene view to use default global state, light, camera and render visitor

    - +

    ovoid setSceneData(osg::Node* node)
    Set the data which to view. The data will typically be an osg::Scene but can be any osg::Node type.

    - +

    oosg::Node* getSceneData()
    Get the scene data which to view. The data will typically be an osg::Scene but can be any osg::Node type.

    - +

    oconst osg::Node* getSceneData() const
    Get the const scene data which to view. The data will typically be an osg::Scene but can be any osg::Node type.

    - +

    ovoid setViewport(osg::Viewport* viewport)
    Set the viewport of the scene view to use specfied osg::Viewport.

    - +

    ovoid setViewport(int x, int y, int width, int height)
    Set the viewport of the scene view to specified dimensions.

    - +

    oconst osg::Viewport* getViewport() const
    Get the const viewport.

    - +

    oosg::Viewport* getViewport()
    Get the viewport.

    - +

    ovoid getViewport(int& x, int& y, int& width, int& height)
    Get the viewport of the scene view.

    - +

    oinline void setDisplaySettings(osg::DisplaySettings* vs)
    Set the DisplaySettings.

    - +

    oinline const osg::DisplaySettings* getDisplaySettings() const
    Get the const DisplaySettings

    - +

    oinline osg::DisplaySettings* getDisplaySettings()
    Get the DisplaySettings

    - +

    ovoid setBackgroundColor(const osg::Vec4& color)
    Set the background color used in glClearColor(). Defaults to an off blue color.

    - +

    oconst osg::Vec4& getBackgroundColor() const
    Get the background color

    - +

    ovoid setGlobalStateSet(osg::StateSet* state)

    - +

    oosg::StateSet* getGlobalStateSet()

    - +

    oconst osg::StateSet* getGlobalStateSet() const

    - +

    oenum LightingMode

    - +
    o HEADLIGHT

    - +

    o SKY_LIGHT

    - +

    o NO_SCENEVIEW_LIGHT

    - -
    ovoid setLightingMode(LightingMode mode) + +
    ovoid setLightingMode(LightingMode mode)

    - -

    oLightingMode getLightingMode() const + +
    oLightingMode getLightingMode() const

    - +

    ovoid setLight(osg::Light* light)

    - +

    oosg::Light* getLight()

    - +

    oconst osg::Light* getLight() const

    - +

    ovoid setState(osg::State* state)

    - +

    oosg::State* getState()

    - +

    oconst osg::State* getState() const

    - +

    ovoid setCamera(osg::Camera* camera)
    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 @@ -448,156 +448,156 @@ Also, the model matrix from the camera will be overriden by a modelview matrix w via setModelViewMatrix(..), see below.

    - +

    oosg::Camera* getCamera()

    - +

    oconst osg::Camera* getCamera() const

    - +

    ovoid setProjectionMatrix(osg::Matrix* matrix)
    set a projection matrix. Note, this will override a camera's projection matrix if it is not NULL.

    - +

    oosg::Matrix* getProjectionMatrix()

    - +

    oconst osg::Matrix* getProjectionMatrix() const

    - +

    ovoid setModelViewMatrix(osg::Matrix* matrix)
    set a modelview matrix. Note, this will override a camera's modelview matrix if it is not NULL.

    - +

    oosg::Matrix* getModelViewMatrix()

    - +

    oconst osg::Matrix* getModelViewMatrix() const

    - +

    ovoid setInitVisitor(osg::NodeVisitor* av)

    - +

    oosg::NodeVisitor* getInitVisitor()

    - +

    oconst osg::NodeVisitor* getInitVisitor() const

    - +

    ovoid setAppVisitor(osg::NodeVisitor* av)

    - +

    oosg::NodeVisitor* getAppVisitor()

    - +

    oconst osg::NodeVisitor* getAppVisitor() const

    - +

    ovoid setCullVisitor(osgUtil::CullVisitor* cv)

    - +

    oosgUtil::CullVisitor* getCullVisitor()

    - +

    oconst osgUtil::CullVisitor* getCullVisitor() const

    - +

    ovoid setRenderGraph(osgUtil::RenderGraph* rg)

    - +

    oosgUtil::RenderGraph* getRenderGraph()

    - +

    oconst osgUtil::RenderGraph* getRenderGraph() const

    - +

    ovoid setRenderStage(osgUtil::RenderStage* rs)

    - +

    oosgUtil::RenderStage* getRenderStage()

    - +

    oconst osgUtil::RenderStage* getRenderStage() const

    - +

    ovoid setLODBias(float bias)

    - +

    ofloat getLODBias() const

    - +

    ovoid setCullMask(const osg::Node::NodeMask nm)

    - +

    oconst osg::Node::NodeMask getCullMask() const

    - +

    ovoid setCullMaskLeft(const osg::Node::NodeMask nm)

    - +

    oconst osg::Node::NodeMask getCullMaskLeft() const

    - +

    ovoid setCullMaskRight(const osg::Node::NodeMask nm)

    - +

    oconst osg::Node::NodeMask getCullMaskRight() const

    - +

    ovoid setCalcNearFar(bool calc)
    Set to true if you want SceneView to automatically calculate values for the near/far clipping planes, each frame, set false to use camera's internal near and far planes. Default value is true.

    - +

    obool getCalcNearFar() const
    return true if SceneView automatically calculates near and far clipping planes for each frame

    - +

    ovoid setPrioritizeTextures(bool pt)
    set whether the draw method should call renderer->prioritizeTexture

    - +

    obool getPrioritizeTextures() const
    get whether the draw method should call renderer->prioritizeTexture

    - +

    obool projectWindowIntoObject(const osg::Vec3& window, osg::Vec3& object) const
    Calculate, via glUnProject, the object coordinates of a window point. Note, current implementation requires that SceneView::draw() has been previously called @@ -606,7 +606,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. @@ -616,7 +616,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 @@ -627,17 +627,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 @@ -648,171 +648,171 @@ elsewhere. Also init() should only ever be called within a valid graphics context.

    - +

    ovirtual void app()
    Do app traversal of attached scene graph using App NodeVisitor

    - +

    ovirtual void cull()
    Do cull traversal of attached scene graph using Cull NodeVisitor

    - +

    ovirtual void draw()
    Do draw traversal of draw bins generated by cull traversal

    - +

    ovirtual ~SceneView()

    - +

    ovirtual void cullStage(osg::Matrix* projection, osg::Matrix* modelview, osgUtil::CullVisitor* cullVisitor, osgUtil::RenderGraph* rendergraph, osgUtil::RenderStage* renderStage)
    Do cull traversal of attached scene graph using Cull NodeVisitor

    - +

    ovirtual void drawStage(osgUtil::RenderStage* renderStage)

    - +

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

    - +

    oosg::ref_ptr<osg::Light> _light

    - +

    oosg::ref_ptr<osg::Camera> _camera

    - +

    oosg::ref_ptr<osg::Matrix> _projectionMatrix

    - +

    oosg::ref_ptr<osg::Matrix> _modelviewMatrix

    - +

    oosg::ref_ptr<osg::DisplaySettings> _displaySettings

    - +

    oosg::ref_ptr<osg::State> _state

    - +

    obool _initCalled

    - +

    oosg::ref_ptr<osg::NodeVisitor> _initVisitor

    - +

    oosg::ref_ptr<osg::NodeVisitor> _appVisitor

    - +

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

    - +

    obool _need_compile

    - +

    obool _calc_nearfar

    - +

    oosg::Vec4 _backgroundColor

    - +

    odouble _near_plane

    - +

    odouble _far_plane

    - +

    ofloat _lodBias

    - +

    oosg::ref_ptr<osg::Viewport> _viewport

    - -

    oLightingMode _lightingMode + +
    oLightingMode _lightingMode

    - +

    obool _prioritizeTextures

    diff --git a/doc/doc++/osgUtil/SceneViewManipulator.html b/doc/doc++/osgUtil/SceneViewManipulator.html index f90e4d96d..c9a91e0c5 100644 --- a/doc/doc++/osgUtil/SceneViewManipulator.html +++ b/doc/doc++/osgUtil/SceneViewManipulator.html @@ -22,48 +22,48 @@

    Public Methods

    -[more] SceneViewManipulator() +[more] SceneViewManipulator()
    -[more]virtual ~SceneViewManipulator() +[more]virtual ~SceneViewManipulator()
    -[more]virtual void setSceneView(SceneView*) +[more]virtual void setSceneView(SceneView*)
    attach a scene view to the manipulator.
    -[more]virtual SceneView* getSceneView() +[more]virtual SceneView* getSceneView()
    get the attached a scene view
    -[more]virtual const SceneView* getSceneView() const +[more]virtual const SceneView* getSceneView() const
    get the attached a const scene view
    -[more]virtual void setCameraManipulator(CameraManipulator* cm) +[more]virtual void setCameraManipulator(CameraManipulator* cm)
    Set the camera manipulator on the object
    -[more]virtual CameraManipulator* getCameraManipulator() +[more]virtual CameraManipulator* getCameraManipulator()
    Get the camera manipulator on the object
    -[more]virtual const CameraManipulator* getCameraManipulator() const +[more]virtual const CameraManipulator* getCameraManipulator() const
    Get the const camera manipulator on the object
    -[more]virtual void setStateSetManipulator(StateSetManipulator* cm) +[more]virtual void setStateSetManipulator(StateSetManipulator* cm)
    Set the geostate manipulator on the object
    -[more]virtual StateSetManipulator* getStateSetManipulator() +[more]virtual StateSetManipulator* getStateSetManipulator()
    Get the geostate manipulator on the object
    -[more]virtual const StateSetManipulator* getStateSetManipulator() const +[more]virtual const StateSetManipulator* getStateSetManipulator() const
    Get the geostate manipulator on the object
    -[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) +[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us)
    Handle events, return true if handled, false otherwise

    Protected Fields

    -[more]osg::ref_ptr<SceneView> _sv +[more]osg::ref_ptr<SceneView> _sv
    -[more]osg::ref_ptr<CameraManipulator> _cm +[more]osg::ref_ptr<CameraManipulator> _cm
    -[more]osg::ref_ptr<StateSetManipulator> _gm +[more]osg::ref_ptr<StateSetManipulator> _gm

    @@ -77,73 +77,73 @@
    - +
    o SceneViewManipulator()

    - +

    ovirtual ~SceneViewManipulator()

    - +

    ovirtual void setSceneView(SceneView*)
    attach a scene view to the manipulator.

    - +

    ovirtual SceneView* getSceneView()
    get the attached a scene view

    - +

    ovirtual const SceneView* getSceneView() const
    get the attached a const scene view

    - +

    ovirtual void setCameraManipulator(CameraManipulator* cm)
    Set the camera manipulator on the object

    - +

    ovirtual CameraManipulator* getCameraManipulator()
    Get the camera manipulator on the object

    - +

    ovirtual const CameraManipulator* getCameraManipulator() const
    Get the const camera manipulator on the object

    - +

    ovirtual void setStateSetManipulator(StateSetManipulator* cm)
    Set the geostate manipulator on the object

    - +

    ovirtual StateSetManipulator* getStateSetManipulator()
    Get the geostate manipulator on the object

    - +

    ovirtual const StateSetManipulator* getStateSetManipulator() const
    Get the geostate manipulator on the object

    - +

    ovirtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us)
    Handle events, return true if handled, false otherwise

    - +

    oosg::ref_ptr<SceneView> _sv

    - +

    oosg::ref_ptr<CameraManipulator> _cm

    - +

    oosg::ref_ptr<StateSetManipulator> _gm

    diff --git a/doc/doc++/osgUtil/SmoothingVisitor.html b/doc/doc++/osgUtil/SmoothingVisitor.html index 2ed639385..f3580f8e0 100644 --- a/doc/doc++/osgUtil/SmoothingVisitor.html +++ b/doc/doc++/osgUtil/SmoothingVisitor.html @@ -23,13 +23,13 @@

    Public Methods

    -[more] SmoothingVisitor() +[more] SmoothingVisitor()
    default to traversing all children
    -[more]static void smooth(osg::GeoSet& geoset) +[more]static void smooth(osg::GeoSet& geoset)
    smooth geoset by creating per vertex normals
    -[more]virtual void apply(osg::Geode& geode) +[more]virtual void apply(osg::Geode& geode)
    apply smoothing method to all geode geosets

    @@ -43,17 +43,17 @@ osg::GeoSet's which contains surface primitives
    - +
    o SmoothingVisitor()
    default to traversing all children

    - +

    ostatic void smooth(osg::GeoSet& geoset)
    smooth geoset by creating per vertex normals

    - +

    ovirtual void apply(osg::Geode& geode)
    apply smoothing method to all geode geosets

    diff --git a/doc/doc++/osgUtil/StateSetManipulator.html b/doc/doc++/osgUtil/StateSetManipulator.html index 4f6588c60..c1c47bc21 100644 --- a/doc/doc++/osgUtil/StateSetManipulator.html +++ b/doc/doc++/osgUtil/StateSetManipulator.html @@ -22,32 +22,32 @@

    Public Methods

    -[more] StateSetManipulator() +[more] StateSetManipulator()
    -[more]virtual ~StateSetManipulator() +[more]virtual ~StateSetManipulator()
    -[more]virtual void setStateSet(osg::StateSet*) +[more]virtual void setStateSet(osg::StateSet*)
    attach a geostate to the manipulator to be used for specifying view
    -[more]virtual osg::StateSet* getStateSet() +[more]virtual osg::StateSet* getStateSet()
    get the attached a geostate
    -[more]virtual const osg::StateSet* getStateSet() const +[more]virtual const osg::StateSet* getStateSet() const
    get the attached a geostate
    -[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) +[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us)
    Handle events, return true if handled, false otherwise

    Protected Fields

    -[more]osg::ref_ptr<osg::StateSet> _drawState +[more]osg::ref_ptr<osg::StateSet> _drawState
    -[more]bool _backface +[more]bool _backface
    -[more]bool _lighting +[more]bool _lighting
    -[more]bool _texture +[more]bool _texture

    @@ -61,47 +61,47 @@
    - +
    o StateSetManipulator()

    - +

    ovirtual ~StateSetManipulator()

    - +

    ovirtual void setStateSet(osg::StateSet*)
    attach a geostate to the manipulator to be used for specifying view

    - +

    ovirtual osg::StateSet* getStateSet()
    get the attached a geostate

    - +

    ovirtual const osg::StateSet* getStateSet() const
    get the attached a geostate

    - +

    ovirtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us)
    Handle events, return true if handled, false otherwise

    - +

    oosg::ref_ptr<osg::StateSet> _drawState

    - +

    obool _backface

    - +

    obool _lighting

    - +

    obool _texture

    diff --git a/doc/doc++/osgUtil/Tesselator.html b/doc/doc++/osgUtil/Tesselator.html index bced6dd25..0750c4ecb 100644 --- a/doc/doc++/osgUtil/Tesselator.html +++ b/doc/doc++/osgUtil/Tesselator.html @@ -13,51 +13,51 @@

    Public Fields

    -[more]int _errorCode +[more]int _errorCode

    Public Methods

    -[more] Tesselator() +[more] Tesselator()
    -[more] ~Tesselator() +[more] ~Tesselator()
    -[more]void tesselate(osg::Vec3* coords, int numIndices, int* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE) +[more]void tesselate(osg::Vec3* coords, int numIndices, int* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE)
    -[more]void tesselate(osg::Vec3* coords, int numIndices, osg::ushort* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE) +[more]void tesselate(osg::Vec3* coords, int numIndices, osg::ushort* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE)
    -[more]void tesselate(osg::Vec3* coords, int numIndices, osg::uint* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE) +[more]void tesselate(osg::Vec3* coords, int numIndices, osg::uint* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE)
    -[more]typedef std::vector<osg::uint> IndexVec const IndexVec& getResult() const +[more]typedef std::vector<osg::uint> IndexVec const IndexVec& getResult() const
    -[more]void beginPrimitive(int primitiveType) +[more]void beginPrimitive(int primitiveType)
    -[more]void endPrimitive() +[more]void endPrimitive()

    Public Members

    -[more]enum InputBoundaryDirection +[more]enum InputBoundaryDirection
    -[more]struct VertexIndexSet +[more]struct VertexIndexSet

    Protected Fields

    -[more]CoordVec _coordVec +[more]CoordVec _coordVec
    -[more]IndexVec _tesselated_indices +[more]IndexVec _tesselated_indices
    -[more]int _currentPrimtiveType +[more]int _currentPrimtiveType
    -[more]IndexVec _acummulated_indices +[more]IndexVec _acummulated_indices

    Protected Methods

    -[more]typedef std::vector<VertexIndexSet> CoordVec void init() +[more]typedef std::vector<VertexIndexSet> CoordVec void init()
    -[more]void do_it() +[more]void do_it()

    @@ -72,125 +72,125 @@ a small set of code for doing this job better.
    - +
    o Tesselator()

    - +

    o ~Tesselator()

    - +

    oenum InputBoundaryDirection

    - +
    o CLOCK_WISE

    - +

    o COUNTER_CLOCK_WISE

    - -
    ovoid tesselate(osg::Vec3* coords, int numIndices, int* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE) + +
    ovoid tesselate(osg::Vec3* coords, int numIndices, int* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE)

    - -

    ovoid tesselate(osg::Vec3* coords, int numIndices, osg::ushort* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE) + +
    ovoid tesselate(osg::Vec3* coords, int numIndices, osg::ushort* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE)

    - -

    ovoid tesselate(osg::Vec3* coords, int numIndices, osg::uint* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE) + +
    ovoid tesselate(osg::Vec3* coords, int numIndices, osg::uint* indices, InputBoundaryDirection ibd=COUNTER_CLOCK_WISE)

    - +

    otypedef std::vector<osg::uint> IndexVec const IndexVec& getResult() const

    - +

    ovoid beginPrimitive(int primitiveType)

    - +

    ovoid endPrimitive()

    - +

    oint _errorCode

    - +

    ostruct VertexIndexSet

    - +
    o VertexIndexSet()

    - +

    o VertexIndexSet(Tesselator* tess, const osg::Vec3& vec, osg::uint index)

    - -

    o VertexIndexSet(const VertexIndexSet& vip) + +
    o VertexIndexSet(const VertexIndexSet& vip)

    - -

    oVertexIndexSet& operator = (const VertexIndexSet& vip) + +
    oVertexIndexSet& operator = (const VertexIndexSet& vip)

    - +

    ovoid set(Tesselator* tess, const osg::Vec3& vec, osg::uint index)

    - +

    ovoid accumulate()

    - +

    odouble _vertex[3]

    - +

    oTesselator* _Tesselator

    - +

    oosg::uint _index

    - -
    otypedef std::vector<VertexIndexSet> CoordVec void init() + +
    otypedef std::vector<VertexIndexSet> CoordVec void init()

    - +

    ovoid do_it()

    - +

    oCoordVec _coordVec

    - +

    oIndexVec _tesselated_indices

    - +

    oint _currentPrimtiveType

    - +

    oIndexVec _acummulated_indices


    This class has no child classes.
    -
    Friends:
    struct VertexIndexSet

    Alphabetic index HTML hierarchy of classes or Java


    +
    Friends:
    struct VertexIndexSet

    Alphabetic index HTML hierarchy of classes or Java



    This page was generated with the help of DOC++. diff --git a/doc/doc++/osgUtil/TrackballManipulator.html b/doc/doc++/osgUtil/TrackballManipulator.html index 26a786fae..3d33ffbb5 100644 --- a/doc/doc++/osgUtil/TrackballManipulator.html +++ b/doc/doc++/osgUtil/TrackballManipulator.html @@ -22,23 +22,23 @@

    Public Methods

    -[more] TrackballManipulator() +[more] TrackballManipulator()
    -[more]virtual ~TrackballManipulator() +[more]virtual ~TrackballManipulator()
    -[more]virtual void setNode(osg::Node*) +[more]virtual void setNode(osg::Node*)
    Attach a node to the manipulator.
    -[more]virtual const osg::Node* getNode() const +[more]virtual const osg::Node* getNode() const
    Return node if attached
    -[more]virtual void home(const GUIEventAdapter& ea, GUIActionAdapter& us) +[more]virtual void home(const GUIEventAdapter& ea, GUIActionAdapter& us)
    Move the camera to the default position.
    -[more]virtual void init(const GUIEventAdapter& ea, GUIActionAdapter& us) +[more]virtual void init(const GUIEventAdapter& ea, GUIActionAdapter& us)
    Start/restart the manipulator
    -[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us) +[more]virtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us)
    handle events, return true if handled, false otherwise

    @@ -80,15 +80,15 @@
    - +
    o TrackballManipulator()

    - +

    ovirtual ~TrackballManipulator()

    - +

    ovirtual void setNode(osg::Node*)
    Attach a node to the manipulator. Automatically detaches previously attached node. @@ -96,23 +96,23 @@ setNode(NULL) detaches previously nodes. Is ignored by manipulators which do not require a reference model.

    - +

    ovirtual const osg::Node* getNode() const
    Return node if attached

    - +

    ovirtual void home(const GUIEventAdapter& ea, GUIActionAdapter& us)
    Move the camera to the default position. May be ignored by manipulators if home functionality is not appropriate.

    - +

    ovirtual void init(const GUIEventAdapter& ea, GUIActionAdapter& us)
    Start/restart the manipulator

    - +

    ovirtual bool handle(const GUIEventAdapter& ea, GUIActionAdapter& us)
    handle events, return true if handled, false otherwise

    diff --git a/doc/doc++/osgUtil/TransformCallback.html b/doc/doc++/osgUtil/TransformCallback.html index e191bb50b..12773fc46 100644 --- a/doc/doc++/osgUtil/TransformCallback.html +++ b/doc/doc++/osgUtil/TransformCallback.html @@ -22,22 +22,22 @@

    Public Methods

    -[more] TransformCallback(const osg::Vec3& pivot, const osg::Vec3& axis, float angularVelocity) +[more] TransformCallback(const osg::Vec3& pivot, const osg::Vec3& axis, float angularVelocity)
    -[more]virtual void operator() (osg::Node* node, osg::NodeVisitor* nv) +[more]virtual void operator() (osg::Node* node, osg::NodeVisitor* nv)

    Protected Fields

    -[more]float _angular_velocity +[more]float _angular_velocity
    -[more]osg::Vec3 _pivot +[more]osg::Vec3 _pivot
    -[more]osg::Vec3 _axis +[more]osg::Vec3 _axis
    -[more]int _previousTraversalNumber +[more]int _previousTraversalNumber
    -[more]double _previousTime +[more]double _previousTime

    @@ -48,31 +48,31 @@
    - +
    o TransformCallback(const osg::Vec3& pivot, const osg::Vec3& axis, float angularVelocity)

    - +

    ovirtual void operator() (osg::Node* node, osg::NodeVisitor* nv)

    - +

    ofloat _angular_velocity

    - +

    oosg::Vec3 _pivot

    - +

    oosg::Vec3 _axis

    - +

    oint _previousTraversalNumber

    - +

    odouble _previousTime

    diff --git a/doc/doc++/osgUtil/TriStripVisitor.html b/doc/doc++/osgUtil/TriStripVisitor.html index 04dbbb039..41b882e60 100644 --- a/doc/doc++/osgUtil/TriStripVisitor.html +++ b/doc/doc++/osgUtil/TriStripVisitor.html @@ -23,13 +23,13 @@

    Public Methods

    -[more] TriStripVisitor() +[more] TriStripVisitor()
    default to traversing all children
    -[more]static void stripify(osg::GeoSet& gset) +[more]static void stripify(osg::GeoSet& gset)
    convert mesh primitives in geoset into Tri Strips using NvTriStrip.
    -[more]virtual void apply(osg::Geode& geode) +[more]virtual void apply(osg::Geode& geode)
    apply stripify method to all geode geosets

    @@ -43,19 +43,19 @@ The current implemention is based up NVidia's NvTriStrip.
    - +
    o TriStripVisitor()
    default to traversing all children

    - +

    ostatic void stripify(osg::GeoSet& gset)
    convert mesh primitives in geoset into Tri Strips using NvTriStrip. Converts all primitive types except points and lines, linestrips which it leaves unchanged.

    - +

    ovirtual void apply(osg::Geode& geode)
    apply stripify method to all geode geosets

    diff --git a/doc/doc++/osgUtil/osgUtil.html b/doc/doc++/osgUtil/osgUtil.html index 41f2b538b..1cd4d4a5c 100644 --- a/doc/doc++/osgUtil/osgUtil.html +++ b/doc/doc++/osgUtil/osgUtil.html @@ -45,7 +45,7 @@ class OSGUTIL_EXPORT InsertImpostorsVi class OSGUTIL_EXPORT Hit
    class OSGUTIL_EXPORT IntersectVisitor: public osg::NodeVisitor -
    Basic visitor for ray based collisions of a scene. +
    Basic visitor for ray based collisions of a scene
    class OSGUTIL_EXPORT Optimizer
    Insert impostor nodes into scene graph. @@ -56,6 +56,8 @@ class OSGUTIL_EXPORT RenderBin: public osg: template<class T> class RegisterRenderBinProxy
    Proxy class for automatic registration of renderbins with the RenderBin prototypelist
    +struct LeafDepthSortFunctor +
    class OSGUTIL_EXPORT RenderGraph: public osg::Referenced
    class OSGUTIL_EXPORT RenderLeaf: public osg::Referenced