45#include <ACG/Utils/SmartPointer.hh>
47#include <ACG/Math/VectorT.hh>
48#include <ACG/Scenegraph/SeparatorNode.hh>
49#include <ACG/Scenegraph/StatusNodesT.hh>
50#include <ACG/Scenegraph/ShaderNode.hh>
51#include <ACG/Scenegraph/TextureNode.hh>
54#include <ObjectTypes/VolumeMeshObject/VolumeMeshNode.hh>
56#include <OpenVolumeMesh/Attribs/StatusAttrib.hh>
57#include <OpenVolumeMesh/Attribs/ColorAttrib.hh>
58#include <OpenVolumeMesh/Attribs/NormalAttrib.hh>
59#include <OpenVolumeMesh/Attribs/TexCoordAttrib.hh>
116 const MeshT* mesh()
const;
121 void recreateAttributes();
172 void updateSelection();
175 void updateGeometry();
181 void updateTexture();
184 void updateTopology();
238 bool picked(
unsigned int _node_idx);
virtual void enablePicking(bool _enable)
virtual bool pickingEnabled()
virtual void setName(QString _name) override
path to the file from which the object is loaded ( defaults to "." )
virtual void update(UpdateType _type=UPDATE_ALL) override
This function is called to update the object.
virtual void cleanup() override
virtual ACG::SceneGraph::ShaderNode * shaderNode()
virtual BaseNode * primaryNode()
virtual bool picked(uint _node_idx)
detect if the node has been picked
virtual QString getObjectinfo()
Get all Info for the Object as a string.
virtual BaseObject * copy()
Returns a full copy of the object.
NormalAttrib normalAttrib_
return a pointer to the mesh
ACG::SceneGraph::TextureNode * textureNode_
Scenegraph Texture Node.
NormalAttrib & normals()
return a pointer to the mesh
TexCoordAttrib & texcoords()
return a pointer to the mesh
OpenVolumeMesh::NormalAttrib< MeshT > NormalAttrib
return a pointer to the mesh
ColorAttrib & colors()
return a pointer to the mesh
StatusAttrib & status()
return a pointer to the mesh
ColorAttrib colorAttrib_
return a pointer to the mesh
OpenVolumeMesh::ColorAttrib< ACG::Vec4f > ColorAttrib
return a pointer to the mesh
const TexCoordAttrib & texcoords() const
return a pointer to the mesh
ptr::shared_ptr< MeshT > mesh_
return a pointer to the mesh
const StatusAttrib & status() const
return a pointer to the mesh
OpenVolumeMesh::StatusAttrib StatusAttrib
return a pointer to the mesh
TexCoordAttrib texcoordAttrib_
return a pointer to the mesh
const NormalAttrib & normals() const
return a pointer to the mesh
const ColorAttrib & colors() const
return a pointer to the mesh
StatusAttrib statusAttrib_
return a pointer to the mesh
OpenVolumeMesh::TexCoordAttrib< ACG::Vec2f > TexCoordAttrib
return a pointer to the mesh
ACG::SceneGraph::ShaderNode * shaderNode_
Scenegraph Shader Node.
ACG::SceneGraph::VolumeMeshNodeT< MeshT > * meshNode_
Scenegraph Mesh Node.
const UpdateType UPDATE_ALL(UpdateTypeSet(1))
Identifier for all updates.