Go to the documentation of this file.
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);
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.
void showCollisionMesh(bool show)
Decides, whether CollisionMesh is beeing shown.
SbRotation getRotation()
Returns the Rotation 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.
std::string getCollection() const
Returns the Collection of the SceneObject.
void setClassId(std::string &classId)
Sets the ClassId of the SceneObject.
SbVec3f getTranslation()
Returns the Translation of the SceneObject.
bool isMutable()
Returns if you are allowed to change this object.
std::string getClassId() const
Returns the ClassId of the SceneObject.
void setRotation(SbRotation rotation)
Sets the Rotation of the SceneObject.
auto transform(const Container< InputT, Alloc > &in, OutputT(*func)(InputT const &)) -> Container< OutputT, typename std::allocator_traits< Alloc >::template rebind_alloc< OutputT >>
Convenience function (with less typing) to transform a container of type InputT into the same contain...
std::map< std::string, std::string > getAllAttributes()
Returns all Attributes of the SceneObject as Map.
static void initClass()
Initializes Class.
std::string getObjectId() const
Returns the ObjectId of the SceneObject.