Choreonoid
1.5
|
#include <SceneDrawables.h>
Public Member Functions | |
SgShape () | |
virtual SgObject * | clone (SgCloneMap &cloneMap) const |
virtual int | numChildObjects () const |
virtual SgObject * | childObject (int index) |
virtual void | accept (SceneVisitor &visitor) |
virtual const BoundingBox & | boundingBox () const |
SgMesh * | mesh () |
const SgMesh * | mesh () const |
SgMesh * | setMesh (SgMesh *mesh) |
SgMesh * | getOrCreateMesh () |
SgMaterial * | material () |
const SgMaterial * | material () const |
SgMaterial * | setMaterial (SgMaterial *material) |
SgMaterial * | getOrCreateMaterial () |
SgTexture * | texture () |
const SgTexture * | texture () const |
SgTexture * | setTexture (SgTexture *texture) |
SgTexture * | getOrCreateTexture () |
![]() | |
SgNode () | |
SgNode (const SgNode &org) | |
~SgNode () | |
SgNode * | cloneNode (SgCloneMap &cloneMap) const |
virtual bool | isGroup () 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 () |
Protected Member Functions | |
SgShape (const SgShape &org, SgCloneMap &cloneMap) | |
![]() | |
SgObject () | |
SgObject (const SgObject &org) | |
virtual void | onUpdated (SgUpdate &update) |
![]() | |
Referenced () | |
Referenced (const Referenced &org) | |
int | refCount () const |
Additional Inherited Members | |
![]() | |
typedef std::set< SgObject * > | ParentContainer |
typedef ParentContainer::iterator | parentIter |
typedef ParentContainer::const_iterator | const_parentIter |
SgShape::SgShape | ( | ) |
|
protected |
|
virtual |
Reimplemented from cnoid::SgNode.
|
virtual |
Reimplemented from cnoid::SgNode.
|
virtual |
Reimplemented from cnoid::SgObject.
|
virtual |
Reimplemented from cnoid::SgNode.
SgMaterial * SgShape::getOrCreateMaterial | ( | ) |
SgMesh * SgShape::getOrCreateMesh | ( | ) |
SgTexture * SgShape::getOrCreateTexture | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
virtual |
Reimplemented from cnoid::SgObject.
SgMaterial * SgShape::setMaterial | ( | SgMaterial * | material | ) |
|
inline |
|
inline |