#include <OSGParticles.h>
Inheritance diagram for osg::Particles:

Modes | |
| *enum osg::Particles::{ Points = 0, Lines, ViewDirQuads, ViewerQuads, Arrows, ViewerArrows, Rectangles, LastMode } | ModeE |
| enum osg::Particles::{ Any = 0, BackToFront, FrontToBack } | DrawOrderE |
Public Types | |
| typedef ParticlesPtr | Ptr |
Public Member Functions | |
Parents | |
| *MFNodePtr & | getParents (void) |
| const MFNodePtr & | getParents (void) const |
| MFNodePtr * | getMFParents (void) |
Volume | |
| *virtual void | invalidateVolume (void) |
Parents | |
| *MFNodePtr & | getParents (void) |
| const MFNodePtr & | getParents (void) const |
| MFNodePtr * | getMFParents (void) |
Volume | |
| *virtual void | invalidateVolume (void) |
Parents | |
| *MFNodePtr & | getParents (void) |
| const MFNodePtr & | getParents (void) const |
| MFNodePtr * | getMFParents (void) |
Volume | |
| *virtual void | invalidateVolume (void) |
Parents | |
| *MFNodePtr & | getParents (void) |
| const MFNodePtr & | getParents (void) const |
| MFNodePtr * | getMFParents (void) |
Volume | |
| *virtual void | invalidateVolume (void) |
Sync | |
| *virtual void | changed (BitVector whichField, UInt32 origin) |
| react to field changes | |
Output | |
| *virtual void | dump (UInt32 uiIndent=0, const BitVector bvFlags=0) const |
| output the instance for debug purposes | |
Draw | |
| *Action::ResultE | drawPrimitives (DrawActionBase *action) |
Field Set | |
| *void | setPositions (const GeoPositionsPtr &value) |
| Set the value of the Particles::_sfPositions field. | |
| void | setSecPositions (const GeoPositionsPtr &value) |
| Set the value of the Particles::_sfSecPositions field. | |
| void | setColors (const GeoColorsPtr &value) |
| Set the value of the Particles::_sfColors field. | |
| void | setNormals (const GeoNormalsPtr &value) |
| Set the value of the Particles::_sfNormals field. | |
| void | setMaterial (const MaterialPtr &value) |
| Set the value of the MaterialDrawable::_sfMaterial field. | |
FieldContainer Get | |
| *virtual FieldContainerType & | getType (void) |
| virtual const FieldContainerType & | getType (void) const |
| virtual UInt32 | getContainerSize (void) const |
Field Get | |
| *SFUInt32 * | getSFMode (void) |
| Get the Particles::_sfMode field. | |
| SFGeoPositionsPtr * | getSFPositions (void) |
| Get the Particles::_sfPositions field. | |
| MFVec3f * | getMFSizes (void) |
| Get the Particles::_mfSizes field. | |
| SFGeoPositionsPtr * | getSFSecPositions (void) |
| Get the Particles::_sfSecPositions field. | |
| SFGeoColorsPtr * | getSFColors (void) |
| Get the Particles::_sfColors field. | |
| SFGeoNormalsPtr * | getSFNormals (void) |
| Get the Particles::_sfNormals field. | |
| MFInt32 * | getMFIndices (void) |
| Get the Particles::_mfIndices field. | |
| MFReal32 * | getMFTextureZs (void) |
| Get the Particles::_mfTextureZs field. | |
| SFUInt32 * | getSFDrawOrder (void) |
| Get the Particles::_sfDrawOrder field. | |
| SFBool * | getSFDynamic (void) |
| Get the Particles::_sfDynamic field. | |
| SFParticleBSPTree * | getSFBsp (void) |
| Get the Particles::_sfBsp field. | |
| UInt32 & | getMode (void) |
| Get the value of the Particles::_sfMode field. | |
| const UInt32 & | getMode (void) const |
| Get the value of the Particles::_sfMode field. | |
| GeoPositionsPtr & | getPositions (void) |
| Get the value of the Particles::_sfPositions field. | |
| const GeoPositionsPtr & | getPositions (void) const |
| Get the value of the Particles::_sfPositions field. | |
| GeoPositionsPtr & | getSecPositions (void) |
| Get the value of the Particles::_sfSecPositions field. | |
| const GeoPositionsPtr & | getSecPositions (void) const |
| Get the value of the Particles::_sfSecPositions field. | |
| GeoColorsPtr & | getColors (void) |
| Get the value of the Particles::_sfColors field. | |
| const GeoColorsPtr & | getColors (void) const |
| Get the value of the Particles::_sfColors field. | |
| GeoNormalsPtr & | getNormals (void) |
| Get the value of the Particles::_sfNormals field. | |
| const GeoNormalsPtr & | getNormals (void) const |
| Get the value of the Particles::_sfNormals field. | |
| UInt32 & | getDrawOrder (void) |
| Get the value of the Particles::_sfDrawOrder field. | |
| const UInt32 & | getDrawOrder (void) const |
| Get the value of the Particles::_sfDrawOrder field. | |
| bool & | getDynamic (void) |
| Get the value of the Particles::_sfDynamic field. | |
| const bool & | getDynamic (void) const |
| Get the value of the Particles::_sfDynamic field. | |
| ParticleBSPTree & | getBsp (void) |
| Get the value of the Particles::_sfBsp field. | |
| const ParticleBSPTree & | getBsp (void) const |
| Get the value of the Particles::_sfBsp field. | |
| Vec3f & | getSizes (const UInt32 index) |
| Get the value of the index element the Particles::_mfSizes field. | |
| MFVec3f & | getSizes (void) |
| Get the Particles::_mfSizes field. | |
| const MFVec3f & | getSizes (void) const |
| Get the Particles::_mfSizes field. | |
| Int32 & | getIndices (const UInt32 index) |
| Get the value of the index element the Particles::_mfIndices field. | |
| MFInt32 & | getIndices (void) |
| Get the Particles::_mfIndices field. | |
| const MFInt32 & | getIndices (void) const |
| Get the Particles::_mfIndices field. | |
| Real32 & | getTextureZs (const UInt32 index) |
| Get the value of the index element the Particles::_mfTextureZs field. | |
| MFReal32 & | getTextureZs (void) |
| Get the Particles::_mfTextureZs field. | |
| const MFReal32 & | getTextureZs (void) const |
| Get the Particles::_mfTextureZs field. | |
Field Set | |
| *void | setMode (const UInt32 &value) |
| Set the value of the Particles::_sfMode field. | |
| void | setDrawOrder (const UInt32 &value) |
| Set the value of the Particles::_sfDrawOrder field. | |
| void | setDynamic (const bool &value) |
| Set the value of the Particles::_sfDynamic field. | |
| void | setBsp (const ParticleBSPTree &value) |
| Set the value of the Particles::_sfBsp field. | |
Binary Access | |
| *virtual UInt32 | getBinSize (const BitVector &whichField) |
| virtual void | copyToBin (BinaryDataHandler &pMem, const BitVector &whichField) |
| virtual void | copyFromBin (BinaryDataHandler &pMem, const BitVector &whichField) |
Copy | |
| *virtual FieldContainerPtr | shallowCopy (void) const |
action handler | |
| Action::ResultE | drawActionHandler (Action *action) |
| initialize the static features of the class, e.g. action callbacks | |
| Action::ResultE | renderActionHandler (Action *action) |
| initialize the static features of the class, e.g. action callbacks | |
Field Get | |
| *SFMaterialPtr * | getSFMaterial (void) |
| Get the MaterialDrawable::_sfMaterial field. | |
| MaterialPtr & | getMaterial (void) |
| Get the value of the MaterialDrawable::_sfMaterial field. | |
| const MaterialPtr & | getMaterial (void) const |
| Get the value of the MaterialDrawable::_sfMaterial field. | |
Parents | |
| *MFNodePtr & | getParents (void) |
| const MFNodePtr & | getParents (void) const |
| MFNodePtr * | getMFParents (void) |
Volume | |
| *virtual void | invalidateVolume (void) |
Static Public Member Functions | |
Class Get | |
| *static FieldContainerType & | getClassType (void) |
| access the type of the class | |
| static UInt32 | getClassTypeId (void) |
| access the numerical type of the class | |
Construction | |
| *static ParticlesPtr | create (void) |
| create a new instance of the class | |
| static ParticlesPtr | createEmpty (void) |
| create an empty new instance of the class, do not copy the prototype | |
Static Public Attributes | |
| static const osg::BitVector | ModeFieldMask |
| static const osg::BitVector | PositionsFieldMask |
| static const osg::BitVector | SizesFieldMask |
| static const osg::BitVector | SecPositionsFieldMask |
| static const osg::BitVector | ColorsFieldMask |
| static const osg::BitVector | NormalsFieldMask |
| static const osg::BitVector | IndicesFieldMask |
| static const osg::BitVector | TextureZsFieldMask |
| static const osg::BitVector | DrawOrderFieldMask |
| static const osg::BitVector | DynamicFieldMask |
| static const osg::BitVector | PumpFieldMask |
| static const osg::BitVector | BspFieldMask |
| static const osg::BitVector | MTInfluenceMask |
| static const osg::BitVector | MaterialFieldMask |
| static const BitVector | ParentsFieldMask = (1 << NodeCore::ParentsFieldId ) |
| static const BitVector | AttachmentsFieldMask |
| static const BitVector | NextFieldMask |
CoredNodePtr helper | |
| *static const bool | isNodeCore = true |
CoredNodePtr helper | |
| *static const bool | isNodeCore = true |
CoredNodePtr helper | |
| *static const bool | isNodeCore = true |
CoredNodePtr helper | |
| *static const bool | isNodeCore = true |
static stat elem | |
| *static StatElemDesc< StatIntElem > | statNTriangles |
| static StatElemDesc< StatIntElem > | statNLines |
| static StatElemDesc< StatIntElem > | statNPoints |
| static StatElemDesc< StatIntElem > | statNVertices |
| static StatElemDesc< StatIntElem > | statNPrimitives |
CoredNodePtr helper | |
| *static const bool | isNodeCore = true |
Protected Member Functions | |
Sync | |
| void | executeSyncImpl (NodeCore *pOther, const BitVector &whichField) |
MT Destruction | |
| *virtual void | onDestroy (void) |
Set / Get Parents | |
| *void | addParent (const NodePtr &parent) |
| void | subParent (const NodePtr &parent) |
Pointer | |
| *NodeCorePtr | getPtr (void) const |
Sync | |
| void | executeSyncImpl (NodeCore *pOther, const BitVector &whichField) |
MT Destruction | |
| *virtual void | onDestroy (void) |
Set / Get Parents | |
| *void | addParent (const NodePtr &parent) |
| void | subParent (const NodePtr &parent) |
Pointer | |
| *NodeCorePtr | getPtr (void) const |
Transformation | |
| *virtual void | accumulateMatrix (Matrix &result) |
Sync | |
| void | executeSyncImpl (NodeCore *pOther, const BitVector &whichField) |
MT Destruction | |
| *virtual void | onDestroy (void) |
Set / Get Parents | |
| *void | addParent (const NodePtr &parent) |
| void | subParent (const NodePtr &parent) |
Pointer | |
| *NodeCorePtr | getPtr (void) const |
Transformation | |
| *virtual void | accumulateMatrix (Matrix &result) |
Sync | |
| void | executeSyncImpl (NodeCore *pOther, const BitVector &whichField) |
Set / Get Parents | |
| *void | addParent (const NodePtr &parent) |
| void | subParent (const NodePtr &parent) |
Pointer | |
| *NodeCorePtr | getPtr (void) const |
Transformation | |
| *virtual void | accumulateMatrix (Matrix &result) |
Constructors | |
| * | Particles (void) |
| Particles (const Particles &source) | |
Destructors | |
| *virtual | ~Particles (void) |
NodeCore Specific | |
| *void | adjustVolume (Volume &volume) |
Particles Specific | |
| *Int32 * | calcIndex (DrawActionBase *action, UInt32 &len, Int32 *index=NULL) |
| ParticlesDrawer * | findDrawer (void) |
Sync | |
| *void | executeSyncImpl (ParticlesBase *pOther, const BitVector &whichField) |
| virtual void | executeSync (FieldContainer &other, const BitVector &whichField) |
Sync | |
| *void | executeSyncImpl (MaterialDrawableBase *pOther, const BitVector &whichField) |
Sync | |
| *void | executeSyncImpl (DrawableBase *pOther, const BitVector &whichField) |
Sync | |
| void | executeSyncImpl (NodeCore *pOther, const BitVector &whichField) |
MT Destruction | |
| *virtual void | onDestroy (void) |
Set / Get Parents | |
| *void | addParent (const NodePtr &parent) |
| void | subParent (const NodePtr &parent) |
Pointer | |
| *NodeCorePtr | getPtr (void) const |
Transformation | |
| *virtual void | accumulateMatrix (Matrix &result) |
Protected Attributes | |
Fields | |
| *MFNodePtr | _parents |
Fields | |
| *MFNodePtr | _parents |
Fields | |
| *MFNodePtr | _parents |
Fields | |
| *MFNodePtr | _parents |
Fields | |
| *SFUInt32 | _sfMode |
| SFGeoPositionsPtr | _sfPositions |
| MFVec3f | _mfSizes |
| SFGeoPositionsPtr | _sfSecPositions |
| SFGeoColorsPtr | _sfColors |
| SFGeoNormalsPtr | _sfNormals |
| MFInt32 | _mfIndices |
| MFReal32 | _mfTextureZs |
| SFUInt32 | _sfDrawOrder |
| SFBool | _sfDynamic |
| SFParticleBSPTree | _sfBsp |
Fields | |
| *SFMaterialPtr | _sfMaterial |
Fields | |
| *MFNodePtr | _parents |
Private Types | |
| typedef ParticlesBase | Inherited |
Private Member Functions | |
| void | operator= (const Particles &source) |
Static Private Member Functions | |
| static void | initMethod (void) |
| initialize the static features of the class, e.g. action callbacks | |
Friends | |
| class | FieldContainer |
| class | ParticlesBase |
Definition at line 56 of file OSGParticles.h.
|
|
Reimplemented from osg::ParticlesBase. Definition at line 60 of file OSGParticles.h. |
|
|
Reimplemented from osg::MaterialDrawableBase. Definition at line 101 of file OSGParticlesBase.h. |
|
|
Reimplemented from osg::ParticlesBase. Definition at line 69 of file OSGParticles.h. 00069 { Points=0, Lines, ViewDirQuads, ViewerQuads, Arrows, 00070 ViewerArrows, Rectangles, LastMode }
|
|
|
Definition at line 73 of file OSGParticles.h. 00073 { Any=0, BackToFront, FrontToBack } DrawOrderE;
|
|
|
Definition at line 100 of file OSGParticles.cpp. 00100 : 00101 Inherited() 00102 { 00103 }
|
|
|
Definition at line 105 of file OSGParticles.cpp. 00105 : 00106 Inherited(source) 00107 { 00108 }
|
|
|
||||||||||||
|
||||||||||||
|
Reimplemented from osg::MaterialDrawable. Definition at line 327 of file OSGParticles.cpp. References SLOG. 00329 { 00330 SLOG << "Dump Particles NI" << std::endl; 00331 }
|
|