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.
bool manipPlaced_
rootNode of global Scenegraph structure
BoundingBoxNode * boundingBoxNode_
Bounding box node for the object.
virtual bool visible()
return if object is visible
ACG::SceneGraph::MaterialNode MaterialNode
Materialnode.
MaterialNode * materialNode_
Scenegraph Material Node for the object.
ACG::SceneGraph::StencilRefNode StencilRefNode
Stencil reference Node.
SeparatorNode * rootNode_
rootNode of global Scenegraph structure
PickTarget
What target to use for picking.
QtTranslationManipulatorNode * manipulatorNode_
Manipulator used for this Object.
SeparatorNode * separatorNode_
Separator at top of Scenegraph structure used for this Object.
ACG::SceneGraph::BoundingBoxNode BoundingBoxNode
Bounding box Node.
virtual void update(UpdateType _type=UPDATE_ALL)
This function is called to update the object.
ACG::SceneGraph::QtTranslationManipulatorNode QtTranslationManipulatorNode
ManipulatorNode.
std::vector< std::pair< BaseNode *, QString > > additionalNodes_
const UpdateType UPDATE_ALL(UpdateTypeSet(1))
Identifier for all updates.
StencilRefNode * stencilRefNode_
Stencil reference node for the object.
virtual void setName(QString _name)
path to the file from which the object is loaded ( defaults to "." )
ACG::SceneGraph::BaseNode BaseNode
Base Node.