SceneObject Class Reference

#include <MemoryX/gui-plugins/SceneEditor/scene3D/SceneObject.h>

+ Inheritance diagram for SceneObject:

Public Member Functions

std::map< std::string, std::string > getAllAttributes ()
 Returns all Attributes of the SceneObject as Map.
 
std::string getClassId () const
 Returns the ClassId of the SceneObject.
 
std::string getCollection () const
 Returns the Collection of the SceneObject.
 
std::string getObjectId () const
 Returns the ObjectId of the SceneObject.
 
SbRotation getRotation ()
 Returns the Rotation of the SceneObject.
 
SbVec3f getTranslation ()
 Returns the Translation of the SceneObject.
 
bool isMutable ()
 Returns if you are allowed to change this object.
 
 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.
 
void setCollection (std::string &collection)
 Sets the Collection of the SceneObject.
 
void setObjectId (std::string &objectId)
 Sets the ObjectId of the SceneObject.
 
void setRotation (SbRotation rotation)
 Sets the Rotation of the SceneObject.
 
void setTranslation (SbVec3f translation)
 Sets the Translation of the SceneObject.
 
void showCollisionMesh (bool show)
 Decides, whether CollisionMesh is beeing shown.
 

Static Public Member Functions

static void initClass ()
 Initializes Class.
 

Friends

class SceneManipulatorManager
 

Constructor & Destructor Documentation

◆ SceneObject()

SceneObject ( std::string objectId,
std::string classId,
std::string collection,
SoSeparator * geometry,
SoSeparator * collision )
Parameters
objectId
classId
collection
geometry
collision

Member Function Documentation

◆ getAllAttributes()

std::map< std::string, std::string > getAllAttributes ( )

Returns all Attributes of the SceneObject as Map.

Returns
std::map<std::string, std::string> All Attributes as Map

◆ getClassId()

std::string getClassId ( ) const

Returns the ClassId of the SceneObject.

Returns
std::string ClassId of the SceneObject

◆ getCollection()

std::string getCollection ( ) const

Returns the Collection of the SceneObject.

Returns
std::string Collection of the SceneObject

◆ getObjectId()

std::string getObjectId ( ) const

Returns the ObjectId of the SceneObject.

Returns
std::string ObjectId of the SceneObject

◆ getRotation()

SbRotation getRotation ( )

Returns the Rotation of the SceneObject.

Returns
SbRotation Rotation of SceneObject

◆ getTranslation()

SbVec3f getTranslation ( )

Returns the Translation of the SceneObject.

Returns
SbVec3f Translation of SceneObject

◆ initClass()

void initClass ( )
static

Initializes Class.

◆ isMutable()

bool isMutable ( )

Returns if you are allowed to change this object.

Returns
true, if you are allowed; false otherwise

◆ setClassId()

void setClassId ( std::string & classId)

Sets the ClassId of the SceneObject.

Parameters
classIdClassId of the SceneObject

◆ setCollection()

void setCollection ( std::string & collection)

Sets the Collection of the SceneObject.

Parameters
collectionCollection of the SceneObject

◆ setObjectId()

void setObjectId ( std::string & objectId)

Sets the ObjectId of the SceneObject.

Parameters
objectIdObjectId of the SceneObject

◆ setRotation()

void setRotation ( SbRotation rotation)

Sets the Rotation of the SceneObject.

Parameters
rotationRotation of SceneObject

◆ setTranslation()

void setTranslation ( SbVec3f translation)

Sets the Translation of the SceneObject.

Parameters
translationTranslation of SceneObject

◆ showCollisionMesh()

void showCollisionMesh ( bool show)

Decides, whether CollisionMesh is beeing shown.

Parameters
showShow Collision Mesh

Friends And Related Symbol Documentation

◆ SceneManipulatorManager

friend class SceneManipulatorManager
friend

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