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;
128 const StatusAttrib&
status()
const {
return statusAttrib_; }
129 StatusAttrib&
status() {
return statusAttrib_; }
131 const ColorAttrib&
colors()
const {
return colorAttrib_; }
132 ColorAttrib&
colors() {
return colorAttrib_; }
134 const NormalAttrib&
normals()
const {
return normalAttrib_; }
135 NormalAttrib&
normals() {
return normalAttrib_; }
137 const TexCoordAttrib&
texcoords()
const {
return texcoordAttrib_; }
167 void updateSelection();
170 void updateGeometry();
176 void updateTexture();
179 void updateTopology();
233 bool picked(
unsigned int _node_idx);
virtual QString getObjectinfo()
Get all Info for the Object as a string.
const UpdateType UPDATE_ALL(UpdateTypeSet(1))
Identifier for all updates.
virtual void update(UpdateType _type=UPDATE_ALL)
This function is called to update the object.
ACG::SceneGraph::VolumeMeshNodeT< MeshT > * meshNode_
Scenegraph Mesh Node.
virtual BaseNode * primaryNode()
NormalAttrib & normals()
return a pointer to the mesh
const TexCoordAttrib & texcoords() const
return a pointer to the mesh
NormalAttrib normalAttrib_
return a pointer to the mesh
TexCoordAttrib texcoordAttrib_
return a pointer to the mesh
StatusAttrib statusAttrib_
return a pointer to the mesh
const StatusAttrib & status() const
return a pointer to the mesh
virtual bool pickingEnabled()
OpenVolumeMesh::TexCoordAttrib< ACG::Vec2f > TexCoordAttrib
return a pointer to the mesh
OpenVolumeMesh::StatusAttrib StatusAttrib
return a pointer to the mesh
StatusAttrib & status()
return a pointer to the mesh
TexCoordAttrib & texcoords()
return a pointer to the mesh
ACG::SceneGraph::ShaderNode * shaderNode_
Scenegraph Shader Node.
virtual void setName(QString _name)
path to the file from which the object is loaded ( defaults to "." )
ColorAttrib colorAttrib_
return a pointer to the mesh
const NormalAttrib & normals() const
return a pointer to the mesh
ColorAttrib & colors()
return a pointer to the mesh
OpenVolumeMesh::ColorAttrib< ACG::Vec4f > ColorAttrib
return a pointer to the mesh
OpenVolumeMesh::NormalAttrib< MeshT > NormalAttrib
return a pointer to the mesh
virtual void enablePicking(bool _enable)
ptr::shared_ptr< MeshT > mesh_
return a pointer to the mesh
const ColorAttrib & colors() const
return a pointer to the mesh
virtual BaseObject * copy()
Returns a full copy of the object.
virtual bool picked(uint _node_idx)
detect if the node has been picked
ACG::SceneGraph::TextureNode * textureNode_
Scenegraph Texture Node.
virtual ACG::SceneGraph::ShaderNode * shaderNode()