|
#include <MemoryX/gui-plugins/SceneEditor/scene3D/SceneObject.h>
Public Member Functions | |
std::map< std::string, std::string > | getAllAttributes () |
Returns all Attributes of the SceneObject as Map. More... | |
std::string | getClassId () const |
Returns the ClassId of the SceneObject. More... | |
std::string | getCollection () const |
Returns the Collection of the SceneObject. More... | |
std::string | getObjectId () const |
Returns the ObjectId of the SceneObject. More... | |
SbRotation | getRotation () |
Returns the Rotation of the SceneObject. More... | |
SbVec3f | getTranslation () |
Returns the Translation of the SceneObject. More... | |
bool | isMutable () |
Returns if you are allowed to change this object. More... | |
SceneObject (std::string objectId, std::string classId, std::string collection, SoSeparator *geometry, SoSeparator *collision) | |
void | setClassId (std::string &classId) |
Sets the ClassId of the SceneObject. More... | |
void | setCollection (std::string &collection) |
Sets the Collection of the SceneObject. More... | |
void | setObjectId (std::string &objectId) |
Sets the ObjectId of the SceneObject. More... | |
void | setRotation (SbRotation rotation) |
Sets the Rotation of the SceneObject. More... | |
void | setTranslation (SbVec3f translation) |
Sets the Translation of the SceneObject. More... | |
void | showCollisionMesh (bool show) |
Decides, whether CollisionMesh is beeing shown. More... | |
Static Public Member Functions | |
static void | initClass () |
Initializes Class. More... | |
Friends | |
class | SceneManipulatorManager |
Definition at line 43 of file SceneObject.h.
SceneObject | ( | std::string | objectId, |
std::string | classId, | ||
std::string | collection, | ||
SoSeparator * | geometry, | ||
SoSeparator * | collision | ||
) |
objectId | |
classId | |
collection | |
geometry | |
collision |
Definition at line 38 of file SceneObject.cpp.
std::map< std::string, std::string > getAllAttributes | ( | ) |
Returns all Attributes of the SceneObject as Map.
Definition at line 219 of file SceneObject.cpp.
std::string getClassId | ( | ) | const |
Returns the ClassId of the SceneObject.
Definition at line 199 of file SceneObject.cpp.
std::string getCollection | ( | ) | const |
Returns the Collection of the SceneObject.
Definition at line 209 of file SceneObject.cpp.
std::string getObjectId | ( | ) | const |
Returns the ObjectId of the SceneObject.
Definition at line 189 of file SceneObject.cpp.
SbRotation getRotation | ( | ) |
Returns the Rotation of the SceneObject.
Definition at line 133 of file SceneObject.cpp.
SbVec3f getTranslation | ( | ) |
Returns the Translation of the SceneObject.
Definition at line 104 of file SceneObject.cpp.
|
static |
Initializes Class.
Definition at line 31 of file SceneObject.cpp.
bool isMutable | ( | ) |
Returns if you are allowed to change this object.
Definition at line 288 of file SceneObject.cpp.
void setClassId | ( | std::string & | classId | ) |
Sets the ClassId of the SceneObject.
classId | ClassId of the SceneObject |
Definition at line 204 of file SceneObject.cpp.
void setCollection | ( | std::string & | collection | ) |
Sets the Collection of the SceneObject.
collection | Collection of the SceneObject |
Definition at line 214 of file SceneObject.cpp.
void setObjectId | ( | std::string & | objectId | ) |
Sets the ObjectId of the SceneObject.
objectId | ObjectId of the SceneObject |
Definition at line 194 of file SceneObject.cpp.
void setRotation | ( | SbRotation | rotation | ) |
Sets the Rotation of the SceneObject.
rotation | Rotation of SceneObject |
Definition at line 152 of file SceneObject.cpp.
void setTranslation | ( | SbVec3f | translation | ) |
Sets the Translation of the SceneObject.
translation | Translation of SceneObject |
Definition at line 122 of file SceneObject.cpp.
void showCollisionMesh | ( | bool | show | ) |
Decides, whether CollisionMesh is beeing shown.
show | Show Collision Mesh |
Definition at line 163 of file SceneObject.cpp.
|
friend |
Definition at line 46 of file SceneObject.h.