66 #ifndef BASEOBJECTDATA_HH
67 #define BASEOBJECTDATA_HH
76 #include <ACG/Scenegraph/MaterialNode.hh>
77 #include <ACG/Scenegraph/SeparatorNode.hh>
78 #include <ACG/Scenegraph/ShaderNode.hh>
79 #include <ACG/Scenegraph/BaseNode.hh>
80 #include <ACG/Scenegraph/BoundingBoxNode.hh>
81 #include <ACG/Scenegraph/StencilRefNode.hh>
82 #include <ACG/QtScenegraph/QtTranslationManipulatorNode.hh>
128 void initializeScenegraphNodes();
146 virtual void setName(QString _name );
164 virtual void visible(
bool _visible);
176 virtual bool hasNode(
BaseNode* _node);
207 void manipPlaced(
bool _placed );
251 virtual bool picked( uint _node_idx );
257 virtual void enablePicking(
bool _enable );
263 virtual bool pickingEnabled();
283 const unsigned int _targetIdx );
329 template<
typename NodeT >
330 bool addAdditionalNode(NodeT* _node , QString _pluginName, QString _nodeName ,
int _id = 0);
342 bool hasAdditionalNode(QString _pluginName, QString _nodeName ,
int _id = 0);
354 template<
typename NodeT >
355 bool getAdditionalNode(NodeT*& _node , QString _pluginName, QString _nodeName ,
int _id = 0 );
369 template<
typename NodeT >
370 bool removeAdditionalNode(NodeT*& _node, QString _pluginName, QString _nodeName ,
int _id = 0 );
384 #if defined(INCLUDE_TEMPLATES) && !defined(BASEOBJECTDATA_C)
385 #define BASEOBJECT_TEMPLATES
386 #include "BaseObjectDataT.cc"
390 #endif // BASEOBJECTDATA_HH defined
ACG::SceneGraph::SeparatorNode SeparatorNode
Seperator Node.
StencilRefNode * stencilRefNode_
Stencil reference node for the object.
PickTarget
What target to use for picking.
virtual void update(UpdateType _type=UPDATE_ALL)
This function is called to update the object.
const UpdateType UPDATE_ALL(UpdateTypeSet(1))
Identifier for all updates.
ACG::SceneGraph::BoundingBoxNode BoundingBoxNode
Bounding box Node.
virtual bool visible()
return if object is visible
SeparatorNode * separatorNode_
Separator at top of Scenegraph structure used for this Object.
ACG::SceneGraph::StencilRefNode StencilRefNode
Stencil reference Node.
std::vector< std::pair< BaseNode *, QString > > additionalNodes_
bool manipPlaced_
rootNode of global Scenegraph structure
ACG::SceneGraph::QtTranslationManipulatorNode QtTranslationManipulatorNode
ManipulatorNode.
ACG::SceneGraph::BaseNode BaseNode
Base Node.
QtTranslationManipulatorNode * manipulatorNode_
Manipulator used for this Object.
MaterialNode * materialNode_
Scenegraph Material Node for the object.
BoundingBoxNode * boundingBoxNode_
Bounding box node for the object.
virtual void setName(QString _name)
path to the file from which the object is loaded ( defaults to "." )
ACG::SceneGraph::MaterialNode MaterialNode
Materialnode.
SeparatorNode * rootNode_
rootNode of global Scenegraph structure