35 #ifndef __AnatomicalMesh_h 36 #define __AnatomicalMesh_h 61 #ifndef __PolygonMesh_h 141 virtual const std::string&
getLabel()
const;
160 #endif // __AnatomicalMesh_h virtual const std::string & getLabel() const
Accessor on the label that determines the type of the mesh.
int m_use_texture
1 if the mesh use texturing; default value is 0
virtual void copyFrom(const AnatomicalMesh &aPolygonMesh)
virtual bool isTransparent() const =0
return true if the mesh has to be displayed with transparency
Template class to handle a 4x4 matrixs.
PolygonMesh is a class to handle polygon (triangles) meshes.
AnatomicalMesh is a class to handle a polygon mesh for tissue.
virtual void defineDisplayShaderInput(int shader_id)
Link the attributes to their id in the shader.
virtual AnatomicalMesh & operator=(const PolygonMesh &aPolygonMesh)
Copy operator.
std::string m_label
A label to determine the type of the mesh.
AnatomicalMesh()
Default Constructor.
virtual void initialize()=0
initialize the needful depending on the organ
virtual ~AnatomicalMesh()
Destructor.
virtual bool isSoftTissue() const =0
return true if the mesh represent a soft tissue
int m_use_bump_map
1 if the mesh use bump mapping; default value is 0
Class to handle polygon (triangles) meshes.