diff --git a/doc/doc++/osg/AlphaFunc.html b/doc/doc++/osg/AlphaFunc.html
index 7e183602d..bc5e36537 100644
--- a/doc/doc++/osg/AlphaFunc.html
+++ b/doc/doc++/osg/AlphaFunc.html
@@ -25,37 +25,40 @@
Public Methods
AlphaFunc()
-
META_StateAttribute(AlphaFunc, ALPHAFUNC)
+
AlphaFunc(const AlphaFunc& af, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
+Copy constructor using CopyOp to manage deep vs shallow copy
-
virtual int compare(const StateAttribute& sa) const
+
META_StateAttribute(AlphaFunc, ALPHAFUNC)
+
+
virtual int compare(const StateAttribute& sa) const
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-
virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const
+
virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const
-
inline void setFunction(const ComparisonFunction func, const float ref)
+
inline void setFunction(const ComparisonFunction func, const float ref)
-
inline const ComparisonFunction getFunction() const
+
inline const ComparisonFunction getFunction() const
-
inline const float getReferenceValue() const
+
inline const float getReferenceValue() const
-
virtual void apply(State& state) const
+
virtual void apply(State& state) const
Public Members
-
-
enum ComparisonFunction
+
enum ComparisonFunction
Protected Fields
-
-
ComparisonFunction _comparisonFunc
+
ComparisonFunction _comparisonFunc
-
-
float _referenceValue
+
float _referenceValue
Protected Methods
-
-
virtual ~AlphaFunc()
+
virtual ~AlphaFunc()
@@ -63,13 +66,15 @@
Public Methods
-
-
virtual Object* clone() const
+
virtual Object* cloneType() const
+-
+
virtual Object* clone(const CopyOp&) const
-
virtual bool isSameKindAs(const Object* obj) const
-
virtual const char* className() const
-
-
virtual const Type getType() const
+
virtual const Type getType() const
-
bool operator < (const StateAttribute& rhs) const
-
@@ -129,83 +134,88 @@
AlphaFunc()
-
+
-
META_StateAttribute(AlphaFunc, ALPHAFUNC)
+
AlphaFunc(const AlphaFunc& af, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
+- Copy constructor using CopyOp to manage deep vs shallow copy
+
+
+
+
META_StateAttribute(AlphaFunc, ALPHAFUNC)
-
+
virtual int compare(const StateAttribute& sa) const
- return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs
-
-
virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const
+
+
virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const
-
+
enum ComparisonFunction
-
+
NEVER
-
+
LESS
-
+
EQUAL
-
+
LEQUAL
-
+
GREATER
-
+
NOTEQUAL
-
+
GEQUAL
-
+
ALWAYS
-
-
inline void setFunction(const ComparisonFunction func, const float ref)
+
+
inline void setFunction(const ComparisonFunction func, const float ref)
-
-
inline const ComparisonFunction getFunction() const
+
+
inline const ComparisonFunction getFunction() const
-
+
inline const float getReferenceValue() const
-
+
virtual void apply(State& state) const
-
+
virtual ~AlphaFunc()
-
-
ComparisonFunction _comparisonFunc
+
+
ComparisonFunction _comparisonFunc
-
+
float _referenceValue
diff --git a/doc/doc++/osg/AttributeFunctor.html b/doc/doc++/osg/AttributeFunctor.html
index b0752ed2f..33373f836 100644
--- a/doc/doc++/osg/AttributeFunctor.html
+++ b/doc/doc++/osg/AttributeFunctor.html
@@ -9,27 +9,37 @@
+Inheritance:
+
+
+
Public Methods
-
-
AttributeFunctor(AttributeBitMask abm)
+
AttributeFunctor(AttributeBitMask abm)
-
-
virtual ~AttributeFunctor()
+
virtual ~AttributeFunctor()
-
-
void setAttributeBitMask(AttributeBitMask abm)
+
void setAttributeBitMask(AttributeBitMask abm)
-
-
AttributeBitMask getAttributeBitMask() const
+
AttributeBitMask getAttributeBitMask() const
-
-
virtual bool apply(AttributeBitMask, Vec2*, Vec2*)
+
virtual bool apply(AttributeBitMask, Vec2*, Vec2*)
-
-
virtual bool apply(AttributeBitMask, Vec3*, Vec3*)
+
virtual bool apply(AttributeBitMask, Vec3*, Vec3*)
-
-
virtual bool apply(AttributeBitMask, Vec4*, Vec4*)
+
virtual bool apply(AttributeBitMask, Vec4*, Vec4*)
Protected Fields
-
-
AttributeBitMask _abm
+
AttributeBitMask _abm
@@ -40,39 +50,41 @@
-
+
AttributeFunctor(AttributeBitMask abm)
-
+
virtual ~AttributeFunctor()
-
+
void setAttributeBitMask(AttributeBitMask abm)
-
+
AttributeBitMask getAttributeBitMask() const
-
+
virtual bool apply(AttributeBitMask, Vec2*, Vec2*)
-
+
virtual bool apply(AttributeBitMask, Vec3*, Vec3*)
-
+
virtual bool apply(AttributeBitMask, Vec4*, Vec4*)
-
+
AttributeBitMask _abm
-
-
- This class has no child classes.
+
+- Direct child classes:
+
- Statistics
+
Alphabetic index HTML hierarchy of classes or Java
diff --git a/doc/doc++/osg/Billboard.html b/doc/doc++/osg/Billboard.html
index edcee50b4..e05275df6 100644
--- a/doc/doc++/osg/Billboard.html
+++ b/doc/doc++/osg/Billboard.html
@@ -25,68 +25,94 @@
Public Methods
-
Billboard()
-
-
META_Node(Billboard)
+
Billboard(const Billboard&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
+ - Copy constructor using CopyOp to manage deep vs shallow copy
-
-
inline void setAxis(const Vec3& axis)
- - Set the axis about which all the billboard's drawable rotate.
+
META_Node(Billboard)
-
-
inline const Vec3& getAxis() const
- - Get the axis about which all the billboard's drawable rotate.
-
-
-
inline void setMode(const Mode mode)
+
void setMode(const Mode mode)
- Set the billboard rotation mode.
-
-
inline const Mode getMode() const
+
inline const Mode getMode() const
- Get the billboard rotation mode.
-
-
inline void setPos(int i, const Vec3& pos)
+
void setAxis(const Vec3& axis)
+ - Set the axis about which all the billboard's drawable rotate.
+
-
+
inline const Vec3& getAxis() const
+ - Get the axis about which all the billboard's drawable rotate.
+
-
+
inline void setPos(int i, const Vec3& pos)
- Set the position of specified drawable.
-
-
inline const Vec3& getPos(int i) const
+
inline const Vec3& getPos(int i) const
- Get the position of specified drawable.
-
-
inline PositionList& getPositionList()
+
inline PositionList& getPositionList()
- Get the PositionList from the billboard
-
-
inline const PositionList& getPositionList() const
+
inline const PositionList& getPositionList() const
- Get a const PositionList from the billboard
-
-
virtual const bool addDrawable( Drawable* gset )
+
virtual const bool addDrawable( Drawable* gset )
- Add Drawable to Billboard with default position(0,0,0); If gset not NULL and is not contained in Billboard then increment its reference count, and dirty the bounding box to cause it to recompute on next getBound() and return true for success.
-
-
virtual const bool addDrawable(Drawable* gset, const Vec3& pos)
+
virtual const bool addDrawable(Drawable* gset, const Vec3& pos)
- Add Drawable to Geode at position pos.
-
-
virtual const bool removeDrawable( Drawable* gset )
+
virtual const bool removeDrawable( Drawable* gset )
- Remove Drawable and associated position from Billboard.
-
-
void calcRotation(const Vec3& eye_local, const Vec3& pos_local, Matrix& mat) const
+
void setComputeBillboardCallback(ComputeBillboardCallback* ctc)
+ - Set the ComputeBillboardCallback which allows users to attach custom computation of the local transformation as seen by cull traversers and alike
-
-
void calcTransform(const Vec3& eye_local, const Vec3& pos_local, Matrix& mat) const
+
ComputeBillboardCallback* getComputeBillboardCallback()
+ - Get the non const ComputeBillboardCallback
+
-
+
const ComputeBillboardCallback* getComputeBillboardCallback() const
+ - Get the const ComputeBillboardCallback
+
-
+
inline const bool getMatrix(Matrix& matrix, const Vec3& eye_local, const Vec3& up_local, const Vec3& pos_local) const
Public Members
-
enum Mode
-
-
typedef std::vector<Vec3> PositionList
+
typedef std::vector<Vec3> PositionList
- PositionList represents a list of pivot points for each drawable
+
-
+
struct ComputeBillboardCallback: public osg::Referenced
+ - Callback attached to an Billboard which allows the users to customize the billboard orientation calculation during cull traversal
Protected Fields
-
-
Mode _mode
+
Mode _mode
-
-
Vec3 _axis
+
Vec3 _axis
-
-
PositionList _positionList
+
PositionList _positionList
+-
+
ref_ptr<ComputeBillboardCallback> _computeBillboardCallback
+-
+
int _cachedMode
Protected Methods
-
-
virtual ~Billboard()
+
virtual ~Billboard()
-
-
virtual const bool computeBound() const
+
virtual const bool computeBound() const
+-
+
virtual const bool computeMatrix(Matrix& matrix, const Vec3& eye_local, const Vec3& up_local, const Vec3& pos_local) const
+-
+
void setCachedMode()
+
+
+
+Protected Members
-
+
enum AxisAligned
@@ -121,7 +147,9 @@
Public Methods
-
-
virtual Object* clone() const
+
virtual Object* cloneType() const
+-
+
virtual Object* clone(const CopyOp& copyop) const
-
virtual bool isSameKindAs(const Object* obj) const
-
@@ -139,7 +167,9 @@
-
inline const std::string& getName() const
-
-
inline const ParentList& getParents() const
+
inline const ParentList& getParents() const
+-
+
inline ParentList getParents()
-
inline Group* getParent(const int i)
-
@@ -171,9 +201,9 @@
-
inline const NodeMask getNodeMask() const
-
-
inline const DescriptionList& getDescriptions() const
+
inline const DescriptionList& getDescriptions() const
-
-
inline DescriptionList& getDescriptions()
+
inline DescriptionList& getDescriptions()
-
inline const std::string& getDescription(const int i) const
-
@@ -209,7 +239,7 @@
-
std::string _name
-
-
ParentList _parents
+
ParentList _parents
-
ref_ptr<NodeCallback> _appCallback
-
@@ -223,13 +253,17 @@
-
NodeMask _nodeMask
-
-
DescriptionList _descriptions
+
DescriptionList _descriptions
-
ref_ptr<StateSet> _dstate
Protected Methods
-
+
void addParent(osg::Group* node)
+-
+
void removeParent(osg::Group* node)
+-
void setNumChildrenRequiringAppTraversal(const int num)
-
void setNumChildrenWithCullingDisabled(const int num)
@@ -271,74 +305,79 @@ the eye point. Typical uses are for trees, or particle explosions.
enum Mode
-
-
-
AXIAL_ROT
-
-
+
POINT_ROT_EYE
-
+
POINT_ROT_WORLD
+
+
+
+
AXIAL_ROT
Billboard()
-
+
+
Billboard(const Billboard&, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
+- Copy constructor using CopyOp to manage deep vs shallow copy
+
+
+
META_Node(Billboard)
-
-
-
inline void setAxis(const Vec3& axis)
-- Set the axis about which all the billboard's drawable rotate.
-
-
-
-
inline const Vec3& getAxis() const
-- Get the axis about which all the billboard's drawable rotate.
-
-
-
inline void setMode(const Mode mode)
+
+
void setMode(const Mode mode)
- Set the billboard rotation mode.
-
+
inline const Mode getMode() const
- Get the billboard rotation mode.
-
+
+
+
void setAxis(const Vec3& axis)
+- Set the axis about which all the billboard's drawable rotate.
+
+
+
inline const Vec3& getAxis() const
+- Get the axis about which all the billboard's drawable rotate.
+
+
+
inline void setPos(int i, const Vec3& pos)
- Set the position of specified drawable.
-
+
inline const Vec3& getPos(int i) const
- Get the position of specified drawable.
-
+
typedef std::vector<Vec3> PositionList
- PositionList represents a list of pivot points for each drawable
-
-
inline PositionList& getPositionList()
+
+
inline PositionList& getPositionList()
- Get the PositionList from the billboard
-
-
inline const PositionList& getPositionList() const
+
+
inline const PositionList& getPositionList() const
- Get a const PositionList from the billboard
-
+
virtual const bool addDrawable( Drawable* gset )
- Add Drawable to Billboard with default position(0,0,0);
If gset not NULL and is not contained in Billboard then increment its
@@ -346,7 +385,7 @@ reference count, and dirty the bounding box to cause it to recompute on
next getBound() and return true for success. Otherwise return false.
-
+
virtual const bool addDrawable(Drawable* gset, const Vec3& pos)
- Add Drawable to Geode at position pos.
If gset not NULL and is not contained in Billboard then increment its
@@ -354,7 +393,7 @@ reference count, and dirty the bounding box to cause it to recompute on
next getBound() and return true for success. Otherwise return false.
-
+
virtual const bool removeDrawable( Drawable* gset )
- Remove Drawable and associated position from Billboard.
If gset is contained in Billboard then remove it from the geoset
@@ -363,38 +402,96 @@ bounding box to cause it to recompute on next getBound() and
return true for success. If gset is not found then return false
and do not the reference count of gset is left unchanged.
-
-
-
void calcRotation(const Vec3& eye_local, const Vec3& pos_local, Matrix& mat) const
-
-
+
-
void calcTransform(const Vec3& eye_local, const Vec3& pos_local, Matrix& mat) const
+
struct ComputeBillboardCallback: public osg::Referenced
+- Callback attached to an Billboard which allows the users to customize the billboard orientation calculation during cull traversal
+
+
+
+
+
virtual const bool computeMatrix(const Matrix& matrix, const Billboard* billboard, const Vec3& eye_local, const Vec3& up_local, const Vec3& pos_local) const
+- Get the transformation matrix which moves from local coords to world coords
+
+
+
+
+
void setComputeBillboardCallback(ComputeBillboardCallback* ctc)
+- Set the ComputeBillboardCallback which allows users to attach custom computation of the local transformation as
+seen by cull traversers and alike
+
+
+
+
ComputeBillboardCallback* getComputeBillboardCallback()
+- Get the non const ComputeBillboardCallback
+
+
+
+
const ComputeBillboardCallback* getComputeBillboardCallback() const
+- Get the const ComputeBillboardCallback
+
+
+
+
inline const bool getMatrix(Matrix& matrix, const Vec3& eye_local, const Vec3& up_local, const Vec3& pos_local) const
-
+
virtual ~Billboard()
-
+
virtual const bool computeBound() const
+
+
+
virtual const bool computeMatrix(Matrix& matrix, const Vec3& eye_local, const Vec3& up_local, const Vec3& pos_local) const
+
+
+
+
enum AxisAligned
+
+
+
+
+
AXIAL_ROT_X_AXIS
+
+
+
+
AXIAL_ROT_Y_AXIS
+
+
+
+
AXIAL_ROT_Z_AXIS
+
+
-
+
Mode _mode
-
+
Vec3 _axis
-
-
PositionList _positionList
+
+
PositionList _positionList
+
+
+
+
ref_ptr<ComputeBillboardCallback> _computeBillboardCallback
+
+
+
+
int _cachedMode
+
+
+
+
void setCachedMode()
- This class has no child classes.
-
Alphabetic index HTML hierarchy of classes or Java
+- Friends:
- struct osg::Billboard::ComputeBillboardCallback
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.