This class implements the base class for all scene objects providing access to all elements of a scene.
More...
|
| Scene (const std::string &filename) |
| Creates a new scene object. More...
|
|
const std::string & | filename () const |
| Returns the filename of this scene. More...
|
|
virtual DescriptionType | descriptionType () const =0 |
| Returns the scene description type of this node. More...
|
|
NodeId | id () const |
| Returns the unique node id of this node. More...
|
|
const std::string & | name () const |
| Returns the name of this node. More...
|
|
const std::string & | type () const |
| Returns the type of this node. More...
|
|
const Field & | field (const std::string &fieldName) const |
| Returns the field base of a specified (standard) field. More...
|
|
Field & | field (const std::string &fieldName) |
| Returns the field base of a specified (standard) field. More...
|
|
virtual const Field & | anyField (const std::string &fieldName) const |
| Returns the field base of a specified standard or dynamic field. More...
|
|
virtual Field & | anyField (const std::string &fieldName) |
| Returns the field base of a specified standard or dynamic field. More...
|
|
template<typename T > |
const T & | field (const std::string &fieldName) const |
| Returns a specified (standard) field. More...
|
|
template<typename T > |
T & | field (const std::string &fieldName) |
| Returns a specified (standard) field. More...
|
|
template<typename T > |
const T & | anyField (const std::string &fieldName) const |
| Returns a specified standard or dynamic field. More...
|
|
template<typename T > |
T & | anyField (const std::string &fieldName) |
| Returns a specified standard or dynamic field. More...
|
|
FieldAccessType | fieldAccessType (const std::string &fieldName) const |
| Returns the access type of a specified field. More...
|
|
virtual void | setName (const std::string &name) |
| Sets the name of this node. More...
|
|
bool | hasField (const std::string &fieldName) const |
| Returns whether this node has a special (standard) field. More...
|
|
virtual bool | hasAnyField (const std::string &fieldName) const |
| Returns whether this node has a special standard or dynamic field. More...
|
|
virtual std::string | originalFieldName (const std::string &fieldName) const |
| Tries to translate an alias field name to the original field name. More...
|
|
Field::Type | fieldType (const std::string &fieldName) const |
| Returns the type of a special field. More...
|
|
unsigned int | fieldDimension (const std::string &fieldName) const |
| Return the dimension of a special field. More...
|
|
virtual bool | isDynamic () const |
| Returns whether this node can hold dynamic generated field. More...
|
|
This class implements the base class for all scene objects providing access to all elements of a scene.
A new scene object can be created by the scene description Manager object.