#include <SceneGraph.h>
|
| SgGroup () |
|
| SgGroup (const SgGroup &org) |
| shallow copy More...
|
|
| SgGroup (const SgGroup &org, SgCloneMap &cloneMap) |
| deep copy More...
|
|
| ~SgGroup () |
|
virtual SgObject * | clone (SgCloneMap &cloneMap) const |
|
virtual int | numChildObjects () const |
|
virtual SgObject * | childObject (int index) |
|
virtual void | accept (SceneVisitor &visitor) |
|
virtual void | onUpdated (SgUpdate &update) |
|
virtual const BoundingBox & | boundingBox () const |
|
virtual bool | isGroup () const |
|
void | invalidateBoundingBox () |
|
iterator | begin () |
|
iterator | end () |
|
reverse_iterator | rbegin () |
|
reverse_iterator | rend () |
|
const_iterator | begin () const |
|
const_iterator | end () const |
|
const_reverse_iterator | rbegin () const |
|
const_reverse_iterator | rend () const |
|
iterator | erase (iterator pos) |
|
bool | contains (SgNode *node) const |
|
bool | empty () const |
|
int | numChildren () const |
|
SgNode * | child (int index) |
|
template<class NodeType > |
NodeType * | getChild (int index) |
| This throws an exeption when the index is invalid or the type is not matched. More...
|
|
void | clearChildren (bool doNotify=false) |
|
void | addChild (SgNode *node, bool doNotify=false) |
|
bool | addChildOnce (SgNode *node, bool doNotify=false) |
|
void | insertChild (SgNode *node, int index=0, bool doNotify=false) |
|
bool | removeChild (SgNode *node, bool doNotify=false) |
|
void | removeChildAt (int index, bool doNotify=false) |
|
void | copyChildrenTo (SgGroup *group, bool doNotify=false) |
|
void | moveChildrenTo (SgGroup *group, bool doNotify=false) |
|
template<class NodeType > |
NodeType * | findNodeOfType () |
|
| SgNode () |
|
| SgNode (const SgNode &org) |
|
| ~SgNode () |
|
SgNode * | cloneNode (SgCloneMap &cloneMap) const |
|
const std::string & | name () const |
|
void | setName (const std::string &name) |
|
SignalProxy< void(const SgUpdate &update)> | sigUpdated () |
|
void | notifyUpdate (SgUpdate &update) |
|
void | notifyUpdate (int action=SgUpdate::MODIFIED) |
|
void | addParent (SgObject *parent, bool doNotify=false) |
|
void | removeParent (SgObject *parent) |
|
int | numParents () const |
|
bool | hasParents () const |
|
const_parentIter | parentBegin () const |
|
const_parentIter | parentEnd () const |
|
SignalProxy< void(bool on)> | sigGraphConnection () |
|
virtual | ~Referenced () |
|
void | addRef () |
|
void | releaseRef () |
|
◆ const_iterator
◆ const_reverse_iterator
◆ iterator
◆ reverse_iterator
◆ SgGroup() [1/3]
◆ SgGroup() [2/3]
SgGroup::SgGroup |
( |
const SgGroup & |
org | ) |
|
◆ SgGroup() [3/3]
◆ ~SgGroup()
◆ accept()
◆ addChild()
void SgGroup::addChild |
( |
SgNode * |
node, |
|
|
bool |
doNotify = false |
|
) |
| |
◆ addChildOnce()
bool SgGroup::addChildOnce |
( |
SgNode * |
node, |
|
|
bool |
doNotify = false |
|
) |
| |
◆ begin() [1/2]
◆ begin() [2/2]
◆ boundingBox()
◆ child()
SgNode* cnoid::SgGroup::child |
( |
int |
index | ) |
|
|
inline |
◆ childObject()
SgObject * SgGroup::childObject |
( |
int |
index | ) |
|
|
virtual |
◆ clearChildren()
void SgGroup::clearChildren |
( |
bool |
doNotify = false | ) |
|
◆ clone()
Reimplemented from cnoid::SgNode.
Reimplemented in cnoid::SgOverlay, cnoid::SgUnpickableGroup, cnoid::SgSwitch, cnoid::SgScaleTransform, cnoid::SgPosTransform, cnoid::SgInvariantGroup, cnoid::SgCustomGLNode, cnoid::PositionDragger, cnoid::TranslationDragger, cnoid::RotationDragger, and cnoid::InteractiveCameraTransform.
◆ contains()
bool SgGroup::contains |
( |
SgNode * |
node | ) |
const |
◆ copyChildrenTo()
void SgGroup::copyChildrenTo |
( |
SgGroup * |
group, |
|
|
bool |
doNotify = false |
|
) |
| |
◆ empty()
bool cnoid::SgGroup::empty |
( |
| ) |
const |
|
inline |
◆ end() [1/2]
◆ end() [2/2]
◆ erase()
◆ findNodeOfType()
template<class NodeType >
NodeType* cnoid::SgGroup::findNodeOfType |
( |
| ) |
|
|
inline |
◆ getChild()
template<class NodeType >
NodeType* cnoid::SgGroup::getChild |
( |
int |
index | ) |
|
|
inline |
This throws an exeption when the index is invalid or the type is not matched.
◆ insertChild()
void SgGroup::insertChild |
( |
SgNode * |
node, |
|
|
int |
index = 0 , |
|
|
bool |
doNotify = false |
|
) |
| |
◆ invalidateBoundingBox()
void cnoid::SgGroup::invalidateBoundingBox |
( |
| ) |
|
|
inline |
◆ isGroup()
bool SgGroup::isGroup |
( |
| ) |
const |
|
virtual |
◆ moveChildrenTo()
void SgGroup::moveChildrenTo |
( |
SgGroup * |
group, |
|
|
bool |
doNotify = false |
|
) |
| |
◆ numChildObjects()
int SgGroup::numChildObjects |
( |
| ) |
const |
|
virtual |
◆ numChildren()
int cnoid::SgGroup::numChildren |
( |
| ) |
const |
|
inline |
◆ onUpdated()
void SgGroup::onUpdated |
( |
SgUpdate & |
update | ) |
|
|
virtual |
◆ rbegin() [1/2]
◆ rbegin() [2/2]
◆ removeChild()
bool SgGroup::removeChild |
( |
SgNode * |
node, |
|
|
bool |
doNotify = false |
|
) |
| |
◆ removeChildAt()
void SgGroup::removeChildAt |
( |
int |
index, |
|
|
bool |
doNotify = false |
|
) |
| |
◆ rend() [1/2]
◆ rend() [2/2]
◆ bboxCache
◆ isBboxCacheValid
bool cnoid::SgGroup::isBboxCacheValid |
|
mutableprotected |
The documentation for this class was generated from the following files: