#include <SceneGraph.h>
|
enum | Attribute {
Node = 1 << 0,
GroupNode = 1 << 1,
TransformNode = 1 << 2,
Composite = 1 << 3,
Geometry = 1 << 4,
Appearance = 1 << 5,
NodeDecoration = 1 << 6,
Marker = 1 << 7,
Operable = 1 << 8,
MaxAttributeBit = 9,
GroupAttribute = GroupNode,
NodeDecorationGroup = NodeDecoration,
MarkerAttribute = Marker
} |
|
typedef std::set< SgObject * > | ParentContainer |
|
typedef ParentContainer::iterator | parentIter |
|
typedef ParentContainer::const_iterator | const_parentIter |
|
◆ const_parentIter
◆ ParentContainer
◆ parentIter
◆ Attribute
Enumerator |
---|
Node | |
GroupNode | |
TransformNode | |
Composite | |
Geometry | |
Appearance | |
NodeDecoration | |
Marker | |
Operable | |
MaxAttributeBit | |
GroupAttribute | |
NodeDecorationGroup | |
MarkerAttribute | |
◆ SgObject() [1/2]
◆ SgObject() [2/2]
SgObject::SgObject |
( |
const SgObject & |
org | ) |
|
|
protected |
◆ absoluteUri()
const std::string & SgObject::absoluteUri |
( |
| ) |
const |
◆ addParent()
◆ attributes()
int cnoid::SgObject::attributes |
( |
| ) |
const |
|
inline |
◆ checkNonNodeCloning()
bool SgObject::checkNonNodeCloning |
( |
const CloneMap & |
cloneMap | ) |
|
|
static |
◆ childObject()
SgObject * SgObject::childObject |
( |
int |
index | ) |
|
|
virtual |
◆ clearUri()
void cnoid::SgObject::clearUri |
( |
| ) |
|
|
inline |
◆ clone() [1/2]
SgObject* cnoid::SgObject::clone |
( |
| ) |
const |
|
inline |
◆ clone() [2/2]
◆ doClone()
Implements cnoid::ClonableReferenced.
Reimplemented in cnoid::SgViewportOverlay, cnoid::SgOverlay, cnoid::SgLineSet, cnoid::SgPointSet, cnoid::SgUnpickableGroup, cnoid::SgSwitchableGroup, cnoid::SgShape, cnoid::SgSwitch, cnoid::SgPolygonMesh, cnoid::SgFixedPixelSizeGroup, cnoid::SgAffineTransform, cnoid::SgMesh, cnoid::SgScaleTransform, cnoid::SgPosTransform, cnoid::SgInvariantGroup, cnoid::SgGroup, cnoid::SgNode, cnoid::SgLightweightRenderingGroup, cnoid::SgOutline, cnoid::SgTexture, cnoid::SgBoundingBox, cnoid::SgTextureTransform, cnoid::SgSpotLight, cnoid::SgOrthographicCamera, cnoid::SgImage, cnoid::SgFog, cnoid::SgPointLight, cnoid::SgPerspectiveCamera, cnoid::SgTransparentGroup, cnoid::SgDirectionalLight, cnoid::SgMaterial, cnoid::SgPolygonDrawStyle, cnoid::SgLight, cnoid::InteractiveCameraTransform, cnoid::SgVectorArray< T, Alloc >, cnoid::SgVectorArray< Vector3f >, and cnoid::SgVectorArray< Vector2f, Eigen::aligned_allocator< Vector2f > >.
◆ hasAbsoluteUri()
bool cnoid::SgObject::hasAbsoluteUri |
( |
| ) |
const |
|
inline |
◆ hasAttribute()
bool cnoid::SgObject::hasAttribute |
( |
int |
attr | ) |
const |
|
inline |
◆ hasAttributes()
bool cnoid::SgObject::hasAttributes |
( |
int |
attrs | ) |
const |
|
inline |
◆ hasParents()
bool cnoid::SgObject::hasParents |
( |
| ) |
const |
|
inline |
◆ hasUri()
bool cnoid::SgObject::hasUri |
( |
| ) |
const |
|
inline |
◆ hasUriFragment()
bool cnoid::SgObject::hasUriFragment |
( |
| ) |
const |
|
inline |
◆ hasValidBoundingBoxCache()
bool cnoid::SgObject::hasValidBoundingBoxCache |
( |
| ) |
const |
|
inline |
◆ invalidateBoundingBox()
void cnoid::SgObject::invalidateBoundingBox |
( |
| ) |
|
|
inline |
◆ isGroupNode()
bool cnoid::SgObject::isGroupNode |
( |
| ) |
const |
|
inline |
◆ isNode()
bool cnoid::SgObject::isNode |
( |
| ) |
const |
|
inline |
◆ isTransformNode()
bool cnoid::SgObject::isTransformNode |
( |
| ) |
const |
|
inline |
◆ name()
const std::string& cnoid::SgObject::name |
( |
| ) |
const |
|
inline |
◆ notifyUpdate() [1/2]
◆ notifyUpdate() [2/2]
void cnoid::SgObject::notifyUpdate |
( |
SgUpdate & |
update | ) |
|
|
inline |
◆ notifyUpperNodesOfUpdate() [1/2]
void SgObject::notifyUpperNodesOfUpdate |
( |
SgUpdate & |
update | ) |
|
|
protected |
◆ notifyUpperNodesOfUpdate() [2/2]
void SgObject::notifyUpperNodesOfUpdate |
( |
SgUpdate & |
update, |
|
|
bool |
doInvalidateBoundingBox |
|
) |
| |
|
protected |
◆ numChildObjects()
int SgObject::numChildObjects |
( |
| ) |
const |
|
virtual |
◆ numParents()
int cnoid::SgObject::numParents |
( |
| ) |
const |
|
inline |
◆ parentBegin()
◆ parentEnd()
◆ removeParent()
void SgObject::removeParent |
( |
SgObject * |
parent | ) |
|
◆ setAttribute()
void cnoid::SgObject::setAttribute |
( |
int |
attr | ) |
|
|
inline |
◆ setAttributes()
void cnoid::SgObject::setAttributes |
( |
int |
attrs | ) |
|
|
inline |
◆ setBoundingBoxCacheReady()
void cnoid::SgObject::setBoundingBoxCacheReady |
( |
| ) |
const |
|
inline |
◆ setName()
void cnoid::SgObject::setName |
( |
const std::string & |
name | ) |
|
|
inline |
◆ setNonNodeCloning()
void SgObject::setNonNodeCloning |
( |
CloneMap & |
cloneMap, |
|
|
bool |
on |
|
) |
| |
|
static |
◆ setUri()
void SgObject::setUri |
( |
const std::string & |
uri, |
|
|
const std::string & |
absoluteUri |
|
) |
| |
◆ setUriByFilePathAndBaseDirectory()
void SgObject::setUriByFilePathAndBaseDirectory |
( |
const std::string & |
filePath, |
|
|
const std::string & |
baseDirectory |
|
) |
| |
◆ setUriByFilePathAndCurrentDirectory()
void SgObject::setUriByFilePathAndCurrentDirectory |
( |
const std::string & |
filePath | ) |
|
◆ setUriFragment()
void SgObject::setUriFragment |
( |
const std::string & |
fragment | ) |
|
◆ sigGraphConnection()
SignalProxy<void(bool on)> cnoid::SgObject::sigGraphConnection |
( |
| ) |
|
|
inline |
This signal is emitted when the object is first attached to an upper node or the object is detached from all the upper node.
◆ sigUpdated()
◆ toGroupNode()
SgGroup * cnoid::SgObject::toGroupNode |
( |
| ) |
|
|
inline |
◆ toNode()
SgNode * cnoid::SgObject::toNode |
( |
| ) |
|
|
inline |
◆ toTransformNode()
◆ uri()
const std::string & SgObject::uri |
( |
| ) |
const |
◆ uriFragment()
const std::string & SgObject::uriFragment |
( |
| ) |
const |
The documentation for this class was generated from the following files: