class SG_EXPORT osg::Sequence: public Group

Sequence - Switch node which allows iterators between children.

Inheritance:


Public Methods

[more] Sequence()
[more]virtual Object* clone() const
[more]virtual bool isSameKindAs(Object* obj)
[more]virtual const char* className() const
[more]virtual void accept(NodeVisitor& nv)

Protected Methods

[more]virtual ~Sequence()


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 )
oint getNumChildren( void )
oNode* getChild( int i )
obool containsNode( Node* node )
oChildList::iterator findNode( Node* node )

Public

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

Protected Fields

oChildList _children

Protected Methods

ovirtual bool readLocalData(Input& fr)
ovirtual bool writeLocalData(Output& fw)
obool computeBound( void )


Inherited from Node:

Public Methods

oNode* cloneNode() const
ovirtual void ascend(NodeVisitor& nv)
ovoid setName( const std::string& name )
ovoid setName( const char* name )
oconst std::string& getName( void )
oconst ParentList& getParents() const
oGroup* getParent(int i) const
oint getNumParents() const
ovoid setUserData(void* data, MemoryAdapter* ma=0L)
ovoid* getUserData() const
oMemoryAdapter* getMemoryAdapter() const
ovoid setNodeMask(NodeMask nm)
oNodeMask getNodeMask()
oconst DescriptionList& getDescriptions() const
oDescriptionList& getDescriptions()
oconst std::string& getDescription(int i) const
ostd::string& getDescription(int i)
oint getNumDescriptions() const
ovoid addDescription(const std::string& desc)
oconst BoundingSphere& getBound()
ovoid dirtyBound()

Public

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

Protected Fields

oBoundingSphere _bsphere
obool _bsphere_computed
ostd::string _name
oParentList _parents
ofriend Group
ovoid* _userData
oref_ptr<MemoryAdapter> _memoryAdapter
oNodeMask _nodeMask
oDescriptionList _descriptions


Inherited from Object:

Public Methods

ovirtual Object* readClone(Input& fr)
ovirtual bool write(Output& fw)


Inherited from Referenced:

Public Methods

oReferenced& operator = (Referenced&)
ovoid ref()
ovoid unref()
oint referenceCount()

Protected Fields

oint _refCount


Documentation

Sequence - Switch node which allows iterators between children.

Note: has not been implemented yet!

o Sequence()

ovirtual Object* clone() const

ovirtual bool isSameKindAs(Object* obj)

ovirtual const char* className() const

ovirtual void accept(NodeVisitor& nv)

ovirtual ~Sequence()


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.