29#include <Inventor/SbRotation.h>
30#include <Inventor/manips/SoTransformManip.h>
31#include <Inventor/nodekits/SoBaseKit.h>
32#include <Inventor/nodes/SoSeparator.h>
33#include <Inventor/nodes/SoSwitch.h>
34#include <Inventor/nodes/SoTransform.h>
50 SO_KIT_CATALOG_ENTRY_HEADER(root);
51 SO_KIT_CATALOG_ENTRY_HEADER(transform);
52 SO_KIT_CATALOG_ENTRY_HEADER(transformManip);
53 SO_KIT_CATALOG_ENTRY_HEADER(modelswitch);
54 SO_KIT_CATALOG_ENTRY_HEADER(visual);
55 SO_KIT_CATALOG_ENTRY_HEADER(collision);
69 std::string collection,
70 SoSeparator* geometry,
71 SoSeparator* collision);
166 static bool isInitialized;
168 std::string collection;
169 std::string objectId;
173 void addManipulator(SoTransformManip* manip);
175 void applyManipulator();
177 bool hasManipulator();
179 void trackThisTransformation(SoTransform* transformation);
180 void untrackTransformations();
182 SbVec3f lastTranslation;
183 SbRotation lastRotation;
186 SbRotation getHistoryRotation();
187 SbVec3f getHistoryTranslation();
189 SoTransformManip* manipNode;
190 SoTransform* transformNode;
191 SoSwitch* switchNode;
void setTranslation(SbVec3f translation)
Sets the Translation of the SceneObject.
std::string getObjectId() const
Returns the ObjectId of the SceneObject.
SbVec3f getTranslation()
Returns the Translation of the SceneObject.
std::string getClassId() const
Returns the ClassId of the SceneObject.
std::string getCollection() const
Returns the Collection of the SceneObject.
SceneObject(std::string objectId, std::string classId, std::string collection, SoSeparator *geometry, SoSeparator *collision)
std::map< std::string, std::string > getAllAttributes()
Returns all Attributes of the SceneObject as Map.
void showCollisionMesh(bool show)
Decides, whether CollisionMesh is beeing shown.
void setObjectId(std::string &objectId)
Sets the ObjectId of the SceneObject.
void setRotation(SbRotation rotation)
Sets the Rotation of the SceneObject.
bool isMutable()
Returns if you are allowed to change this object.
void setClassId(std::string &classId)
Sets the ClassId of the SceneObject.
static void initClass()
Initializes Class.
SbRotation getRotation()
Returns the Rotation of the SceneObject.
friend class SceneManipulatorManager
void setCollection(std::string &collection)
Sets the Collection of the SceneObject.