60 #ifndef INTERNALORGANMESH_H 89 BoneMesh(
unsigned int texture_3D_size = 32);
111 virtual void updateVBO(
int aTypeOfVBO,
int aTypeOfPrimitive);
156 #endif // __BoneMesh_h virtual void initialize()
BoneMesh is a class to handle a polygon mesh for Bone, with thin bumps stored using a 3D texture...
InternalOrganMesh is a class to handle a polygon mesh for an internal organ. Internal organs use bump...
virtual bool isSoftTissue() const
return true if the mesh represent a soft tissue
Class to handle a polygon mesh for an internal organ.
virtual void defineBumpMapShaderInput(int shader_id)
Link the attributes to their id in the shader bump map generation.
virtual void defineColourTextureShaderInput(int shader_id)
virtual ~BoneMesh()
Destructor.
BoneMesh(unsigned int texture_3D_size=32)
Default Constructor.
virtual void generateTextures()
generates the textures
virtual void updateVBO(int aTypeOfVBO, int aTypeOfPrimitive)
Update the VBO.
virtual void defineDisplayShaderInput(int shader_id)
Link the attributes to their id in the shader.