Choreonoid  1.5
Public Member Functions | List of all members
cnoid::SgNode Class Reference

#include <SceneGraph.h>

Inheritance diagram for cnoid::SgNode:
cnoid::SgObject cnoid::Referenced cnoid::SgGroup cnoid::SgPlot cnoid::SgPreprocessed cnoid::SgShape cnoid::BoundingBoxMarker cnoid::SceneWidgetRoot cnoid::SgCustomGLNode cnoid::SgInvariantGroup cnoid::SgOutlineGroup cnoid::SgOverlay cnoid::SgSwitch cnoid::SgTransform cnoid::SgUnpickableGroup cnoid::SgLineSet cnoid::SgPointSet cnoid::SgCamera cnoid::SgFog cnoid::SgLight

Public Member Functions

 SgNode ()
 
 SgNode (const SgNode &org)
 
 ~SgNode ()
 
virtual SgObjectclone (SgCloneMap &cloneMap) const
 
virtual void accept (SceneVisitor &visitor)
 
virtual const BoundingBoxboundingBox () const
 
SgNodecloneNode (SgCloneMap &cloneMap) const
 
virtual bool isGroup () const
 
- Public Member Functions inherited from cnoid::SgObject
const std::string & name () const
 
void setName (const std::string &name)
 
virtual int numChildObjects () const
 
virtual SgObjectchildObject (int index)
 
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 ()
 
- Public Member Functions inherited from cnoid::Referenced
virtual ~Referenced ()
 
void addRef ()
 
void releaseRef ()
 

Additional Inherited Members

- Public Types inherited from cnoid::SgObject
typedef std::set< SgObject * > ParentContainer
 
typedef ParentContainer::iterator parentIter
 
typedef ParentContainer::const_iterator const_parentIter
 
- Protected Member Functions inherited from cnoid::SgObject
 SgObject ()
 
 SgObject (const SgObject &org)
 
virtual void onUpdated (SgUpdate &update)
 
- Protected Member Functions inherited from cnoid::Referenced
 Referenced ()
 
 Referenced (const Referenced &org)
 
int refCount () const
 

Constructor & Destructor Documentation

◆ SgNode() [1/2]

SgNode::SgNode ( )

◆ SgNode() [2/2]

SgNode::SgNode ( const SgNode org)

◆ ~SgNode()

SgNode::~SgNode ( )

Member Function Documentation

◆ accept()

void SgNode::accept ( SceneVisitor visitor)
virtual

◆ boundingBox()

const BoundingBox & SgNode::boundingBox ( ) const
virtual

◆ clone()

SgObject * SgNode::clone ( SgCloneMap cloneMap) const
virtual

◆ cloneNode()

SgNode* cnoid::SgNode::cloneNode ( SgCloneMap cloneMap) const
inline

◆ isGroup()

bool SgNode::isGroup ( ) const
virtual

Reimplemented in cnoid::SgGroup.


The documentation for this class was generated from the following files: