![]() |
gVirtualXRay
2.0.10
VirtualX-RayImagingLibraryonGPU
|
BoneMesh is a class to handle a polygon mesh for Bone, with thin bumps stored using a 3D texture. More...
#include <BoneMesh.h>
Public Member Functions | |
BoneMesh (unsigned int texture_3D_size=32) | |
Default Constructor. More... | |
virtual | ~BoneMesh () |
Destructor. More... | |
virtual bool | isSoftTissue () const |
return true if the mesh represent a soft tissue More... | |
virtual void | updateVBO (int aTypeOfVBO, int aTypeOfPrimitive) |
Update the VBO. More... | |
virtual void | defineDisplayShaderInput (int shader_id) |
Link the attributes to their id in the shader. More... | |
virtual void | initialize () |
virtual bool | isTransparent () const |
return true if the mesh has to be displayed with transparency More... | |
virtual void | splitFaces () |
Split each face into four faces. More... | |
void | splitFaces (bool aPrintDebugInfoFlag=false) |
Split each face into four faces. More... | |
virtual void | copyFrom (const InternalOrganMesh &aPolygonMesh) |
virtual void | copyFrom (const AnatomicalMesh &aPolygonMesh) |
virtual void | copyFrom (const PolygonMesh &aPolygonMesh) |
Copy. More... | |
virtual const std::string & | getLabel () const |
Accessor on the label that determines the type of the mesh. More... | |
void | reset () |
Reset the data. More... | |
void | setDisplayFlag (bool display) |
Set if the mesh is displayed or not. More... | |
bool | getDisplayFlag () const |
Accessor on the display flag of the polygon mesh. More... | |
void | display () |
Display the triangular mesh using OpenGL. More... | |
void | displayWireFrame () |
Display the triangular mesh in wireframe using OpenGL. More... | |
void | displayFaceNormal (RATIONAL_NUMBER aNormalSize=0.5 *cm) |
Display the face normal vectors. More... | |
void | displayVertexNormal (RATIONAL_NUMBER aNormalSize=0.5 *cm) |
Display the vertex normal vectors. More... | |
void | setFilename (const char *aFilename) |
Set the name of the file that contains the polygon mesh. More... | |
void | setFilename (const std::string &aFilename) |
Set the name of the file that contains the polygon mesh. More... | |
void | setFileName (const char *aFilename) |
Set the name of the file that contains the polygon mesh. More... | |
void | setFileName (const std::string &aFilename) |
Set the name of the file that contains the polygon mesh. More... | |
const std::string & | getFilename () const |
Accessor on the name of the file that contains the polygon mesh. More... | |
const RATIONAL_NUMBER & | getUnitOfLength () const |
Accessor on the unit of length of the mesh. More... | |
void | loadSTLFile (bool aMoveToCentreFlag, bool anAutoComputeNormalFlag, bool aPrintDebugInfoFlag, bool aCreateVBOFlag, RATIONAL_NUMBER aScale, int aBufferUsageHing) |
Set the name of the file that contains the polygon mesh. More... | |
void | writeSTLFile () |
Write the STL file. More... | |
void | moveToCentre () |
Move the polygon to the centre. More... | |
void | moveToCenter () |
Move the polygon to the center. More... | |
void | computeNormalVectors () |
Compute the normal vectors using the cross product method. More... | |
bool | useVBO (int aBufferUsageHing, int aTypeOfPrimitive) |
Use a vertex buffer object if possible. More... | |
void | setHU (short HU) |
void | setHounsfieldUnit (short HU) |
void | setHounsfieldValue (short HU) |
void | setElement (unsigned short Z) |
void | setElement (const std::string &aName) |
void | setMixture (const Mixture &aMixture) |
void | setMixture (const std::map< int, double > &aMixture) |
void | setMixture (const std::map< std::string, double > &aMixture) |
void | setMixture (const std::string &aName) |
void | setCompound (const std::string &aName) |
void | setMassAttenuationCoefficient (double aCoefficient) |
void | setLinearAttenuationCoefficient (double aCoefficient) |
void | setDensity (double aDensity) |
double | getDensity () |
const std::string & | getMaterialLabel () const |
std::string | getCompound () const |
Accessor on the compound description of the polygon mesh. More... | |
std::vector< int > | getMixtureElementSet () const |
Accessor on the element Z number set of the mixture of the polygon mesh. More... | |
std::vector< double > | getMixtureWeightSet () const |
Accessor on the element weight set of the mixture of the polygon mesh. More... | |
const PhotonCrossSection & | getPhotonCrossSection () const |
const VEC3 & | getLocalMinCorner () const |
Accessor on the bounding box lower corner. More... | |
const VEC3 & | getLocalMaxCorner () const |
Accessor on the bounding box upper corner. More... | |
void | applyTranslation (const VEC3 &aTranslationVector) |
void | applyScaling (RATIONAL_NUMBER x, RATIONAL_NUMBER y, RATIONAL_NUMBER z) |
void | applyRotation (const VEC3 &aRotationAxis, RATIONAL_NUMBER aRotationAngleInDegrees) |
void | applyTransform (const MATRIX4 &aTransformationMatrix) |
unsigned int | getFaceNumber () const |
Accessor on the number of faces. More... | |
unsigned int | getTriangleNumber () const |
Accessor on the number of triangles. More... | |
unsigned int | getFaceNormalNumber () const |
Accessor on the number of face normal vectors. More... | |
unsigned int | getVertexNormalNumber () const |
Accessor on the number of vertex normal vectors. More... | |
unsigned int | getVertexNumber () const |
Accessor on the number of vertices. More... | |
unsigned int | getIndexNumber () const |
Accessor on the number of indices. More... | |
void | mergeVertices (bool aPrintDebugInfoFlag=false) |
VEC3 | getVertex (unsigned int anIndex) const |
Accessor on a given vertex. More... | |
void | setVertex (unsigned int anIndex, const VEC3 &aVertex) |
Change the value of a given vertex. More... | |
void | setFaceNormal (unsigned int anIndex, const VEC3 &aNormalVector) |
void | setVertexNormal (unsigned int anIndex, const VEC3 &aNormalVector) |
int | getIndex (unsigned int anIndex) const |
Accessor on a given index. More... | |
void | setIndex (unsigned int anIndex, unsigned int aValue) |
Set the value of a given index. More... | |
VEC3 | getFaceNormal (unsigned int anIndex) const |
Accessor on a given face normal. More... | |
VEC3 | getVertexNormal (unsigned int anIndex) const |
Accessor on a given vertex normal. More... | |
void | setExternalData (int aTypeOfPrimitive, const void *aVertexArray, unsigned int aNumberOfVertices, int aVertexDataType, const void *anIndexArray, unsigned int aNumberOfIndices, int anIndexDataType, bool aCreateVBOFlag, int aTypeOfVBO) |
void | setExternalData (int aTypeOfPrimitive, const std::vector< float > *aVertexArray, bool aCreateVBOFlag, int aTypeOfVBO) |
void | setExternalData (int aTypeOfPrimitive, const std::vector< double > *aVertexArray, bool aCreateVBOFlag, int aTypeOfVBO) |
void | setExternalData (int aTypeOfPrimitive, const std::vector< float > *aVertexArray, const std::vector< unsigned int > *anIndexArray, bool aCreateVBOFlag, int aTypeOfVBO) |
void | setExternalData (int aTypeOfPrimitive, const std::vector< double > *aVertexArray, const std::vector< unsigned int > *anIndexArray, bool aCreateVBOFlag, int aTypeOfVBO) |
void | setExternalData (int aTypeOfPrimitive, const std::vector< float > *aVertexArray, const std::vector< unsigned short > *anIndexArray, bool aCreateVBOFlag, int aTypeOfVBO) |
void | setExternalData (int aTypeOfPrimitive, const std::vector< double > *aVertexArray, const std::vector< unsigned short > *anIndexArray, bool aCreateVBOFlag, int aTypeOfVBO) |
void | setExternalData (int aTypeOfPrimitive, const std::vector< float > *aVertexArray, const std::vector< unsigned char > *anIndexArray, bool aCreateVBOFlag, int aTypeOfVBO) |
void | setExternalData (int aTypeOfPrimitive, const std::vector< double > *aVertexArray, const std::vector< unsigned char > *anIndexArray, bool aCreateVBOFlag, int aTypeOfVBO) |
void | setVBOData (const void *aVertexArray, unsigned int aNumberOfVertices, unsigned int aVertexVBO, unsigned int aNormalVBO, unsigned int aTextureVBO, unsigned int anIndexVBO, unsigned int aNumberOfIndices, int anIndexDataType, const void *aIndexArray=NULL, const void *aNormalArray=NULL) |
void | setInternalData (int aTypeOfPrimitive, const void *aVertexArray, unsigned int aNumberOfVertices, int aVertexDataType, const void *anIndexArray, unsigned int aNumberOfIndices, int anIndexDataType, bool aCreateVBOFlag, int aTypeOfVBO) |
void | setInternalData (int aTypeOfPrimitive, const std::vector< float > *aVertexArray, const std::vector< float > *aNormalArray, bool aCreateVBOFlag, int aTypeOfVBO) |
void | setInternalData (int aTypeOfPrimitive, const std::vector< float > *aVertexArray, bool aCreateVBOFlag, int aTypeOfVBO) |
void | setInternalData (int aTypeOfPrimitive, const std::vector< double > *aVertexArray, const std::vector< double > *aNormalArray, bool aCreateVBOFlag, int aTypeOfVBO) |
void | setInternalData (int aTypeOfPrimitive, const std::vector< double > *aVertexArray, bool aCreateVBOFlag, int aTypeOfVBO) |
void | setInternalData (int aTypeOfPrimitive, const std::vector< float > *aVertexArray, const std::vector< unsigned int > *anIndexArray, bool aCreateVBOFlag, int aTypeOfVBO) |
void | setInternalData (int aTypeOfPrimitive, const std::vector< float > *aVertexArray, const std::vector< float > *aNormalArray, const std::vector< unsigned int > *anIndexArray, bool aCreateVBOFlag, int aTypeOfVBO) |
void | setInternalData (int aTypeOfPrimitive, const std::vector< double > *aVertexArray, const std::vector< unsigned int > *anIndexArray, bool aCreateVBOFlag, int aTypeOfVBO) |
void | setInternalData (int aTypeOfPrimitive, const std::vector< double > *aVertexArray, const std::vector< float > *aNormalArray, const std::vector< unsigned int > *anIndexArray, bool aCreateVBOFlag, int aTypeOfVBO) |
void | setInternalData (int aTypeOfPrimitive, const std::vector< float > *aVertexArray, const std::vector< unsigned short > *anIndexArray, bool aCreateVBOFlag, int aTypeOfVBO) |
void | setInternalData (int aTypeOfPrimitive, const std::vector< float > *aVertexArray, const std::vector< float > *aNormalArray, const std::vector< unsigned short > *anIndexArray, bool aCreateVBOFlag, int aTypeOfVBO) |
void | setInternalData (int aTypeOfPrimitive, const std::vector< double > *aVertexArray, const std::vector< unsigned short > *anIndexArray, bool aCreateVBOFlag, int aTypeOfVBO) |
void | setInternalData (int aTypeOfPrimitive, const std::vector< double > *aVertexArray, const std::vector< float > *aNormalArray, const std::vector< unsigned short > *anIndexArray, bool aCreateVBOFlag, int aTypeOfVBO) |
void | setInternalData (int aTypeOfPrimitive, const std::vector< float > *aVertexArray, const std::vector< unsigned char > *anIndexArray, bool aCreateVBOFlag, int aTypeOfVBO) |
void | setInternalData (int aTypeOfPrimitive, const std::vector< float > *aVertexArray, const std::vector< float > *aNormalArray, const std::vector< unsigned char > *anIndexArray, bool aCreateVBOFlag, int aTypeOfVBO) |
void | setInternalData (int aTypeOfPrimitive, const std::vector< double > *aVertexArray, const std::vector< unsigned char > *anIndexArray, bool aCreateVBOFlag, int aTypeOfVBO) |
void | setInternalData (int aTypeOfPrimitive, const std::vector< double > *aVertexArray, const std::vector< float > *aNormalArray, const std::vector< unsigned char > *anIndexArray, bool aCreateVBOFlag, int aTypeOfVBO) |
void | setInternalData (int aTypeOfPrimitive, const std::vector< double > *aVertexArray, const std::vector< double > *aNormalArray, const std::vector< unsigned char > *anIndexArray, bool aCreateVBOFlag, int aTypeOfVBO) |
void | setInternalData (int aTypeOfPrimitive, const std::vector< double > *aVertexArray, const std::vector< double > *aNormalArray, const std::vector< unsigned short > *anIndexArray, bool aCreateVBOFlag, int aTypeOfVBO) |
void | setInternalData (int aTypeOfPrimitive, const std::vector< double > *aVertexArray, const std::vector< double > *aNormalArray, const std::vector< unsigned int > *anIndexArray, bool aCreateVBOFlag, int aTypeOfVBO) |
void | applyScale (const RATIONAL_NUMBER &aScale) |
void | applyScale (const RATIONAL_NUMBER &aScaleX, const RATIONAL_NUMBER &aScaleY, const RATIONAL_NUMBER &aScaleZ) |
void | invertNormalVectors () |
Inverse the normal vectors. More... | |
virtual void | updateVBOs (unsigned int aVertexVBO, unsigned int aNormalVBO, unsigned int aTextureVBO, unsigned int anIndexVBO) |
Update the VBOs with VBO already created. More... | |
const Material & | getMaterial () const |
Accessor on the material of the polygon mesh. More... | |
Material & | getMaterial () |
Accessor on the material of the polygon mesh. More... | |
virtual PolygonMesh | operator+ (const PolygonMesh &aPolygonMesh) const |
operator+. More... | |
virtual PolygonMesh | operator+ (const VEC3 &aTranslationVector) const |
operator+. More... | |
virtual PolygonMesh | operator- (const PolygonMesh &aPolygonMesh) const |
operator-. More... | |
virtual PolygonMesh | operator- (const VEC3 &aTranslationVector) const |
operator-. More... | |
virtual PolygonMesh & | operator+= (const PolygonMesh &aPolygonMesh) |
operator+=. More... | |
virtual PolygonMesh & | operator+= (const VEC3 &aTranslationVector) |
operator+=. More... | |
virtual PolygonMesh & | operator-= (const PolygonMesh &aPolygonMesh) |
operator-=. More... | |
virtual PolygonMesh & | operator-= (const VEC3 &aTranslationVector) |
operator-=. More... | |
std::map< RATIONAL_NUMBER, VEC3 > | rayIntersect (const VEC3 &aRayOrigin, const VEC3 &aRayDirection, const MATRIX4 &aTransformationMatrix) const |
void | getTriangleVertices (VEC3 &v0, VEC3 &v1, VEC3 &v2, unsigned int anIndex) const |
bool | hasNormalVectorsInverted () const |
Check if the normal vectors have been inverted. More... | |
Protected Types | |
enum | ToCreate { TO_CREATE_BUMP_MAP, TO_CREATE_COLOUR_TEXTURE } |
To know if a bump map or a colour texture has to be created. More... | |
Protected Member Functions | |
virtual void | generateTextures () |
generates the textures More... | |
virtual void | defineBumpMapShaderInput (int shader_id) |
Link the attributes to their id in the shader bump map generation. More... | |
virtual void | defineColourTextureShaderInput (int shader_id) |
virtual void | generate2DTexture (Shader const &shader, unsigned int &frame_buffer, ToCreate to_create) |
generates a 2D texture More... | |
virtual void | generate3DTexture (Shader const &shader, unsigned int &frame_buffer, unsigned int &texture, ToCreate to_create) |
generates a 3D texture More... | |
virtual void | initialize2DBuffer (unsigned int &aTexture, unsigned int &aFrameBuffer) |
initialize a 2D frame buffer and bind a texture to it More... | |
virtual void | initialize3DBuffer (unsigned int &aTexture, unsigned int &aFrameBuffer, bool has_colours) |
initialize a 3D frame buffer and bind a texture to its layer 0 More... | |
virtual void | load2DBumpShader () |
Load the shader to create the 2D bump map. More... | |
virtual void | load3DBumpShader () |
Load the shader to create the 3D bump map. More... | |
virtual void | initialize2DTextureCoordinates () |
virtual void | initialize3DTextureCoordinates () |
Initialise 3D texture coordinates. More... | |
virtual void | shareNormalVectors () |
Compute a normal vector per vertex for a smoother display. More... | |
virtual void | deleteIndices () |
delete the indices and calculate new normal vectors More... | |
virtual void | initGradientTab () |
initialize gradient tab for gnoise More... | |
virtual void | initPermutation () |
initialize permutation tab for all noises More... | |
void | computeBoundingBox () |
Update the bounding box. More... | |
void | normaliseNormals () |
Normalise the normal vectors. More... | |
void | destroyVertexData () |
Release the memory held by the vertex data if needed. More... | |
void | destroyIndexData () |
Release the memory held by the index data if needed. More... | |
void | removeIndex (bool aPrintDebugInfoFlag=false) |
Remove the index. More... | |
void | copyVertexSet (const void *apVertexSet) |
Copy a vertex set. More... | |
void | copyIndexSet (const void *apIndexSet) |
Copy an index set. More... | |
void | loadASCIISTLFile (bool aMoveToCentreFlag, bool anAutoComputeNormalFlag, bool aPrintDebugInfoFlag, bool aCreateVBOFlag, RATIONAL_NUMBER aScale, int aBufferUsageHing) |
Set the name of the file that contains the polygon mesh. More... | |
void | loadBinarySTLFile (bool aMoveToCentreFlag, bool anAutoComputeNormalFlag, bool aPrintDebugInfoFlag, bool aCreateVBOFlag, RATIONAL_NUMBER aScale, int aBufferUsageHing) |
Set the name of the file that contains the polygon mesh. More... | |
void | loadSTLDataFromBinaryStream (const char *apInputData, bool aMoveToCentreFlag, bool anAutoComputeNormalFlag, bool aPrintDebugInfoFlag, bool aCreateVBOFlag, RATIONAL_NUMBER aScale, int aBufferUsageHing) |
Set the name of the file that contains the polygon mesh. More... | |
Protected Attributes | |
std::vector< VEC3 > | m_gradient_tab |
std::vector< int > | m_permutation |
std::vector< VEC2 > | m_texture_coordinates_2d |
std::vector< VEC3 > | m_texture_coordinates_3d |
std::vector< VEC2 > | m_margin_direction |
unsigned int | m_bump_map_texture |
unsigned int | m_bump_map_frame_buffer |
Shader | m_bump_map_shader |
int | m_has_tendon |
int | m_is_lung |
int | m_has_thin_bumps |
int | m_use_3D_bump_map |
unsigned int | m_texture_size_2d |
unsigned int | m_texture_size_3d |
bool | m_need_initialize |
bool | m_generation_texture_coord_are_set |
bool | m_optimize_texture_coordinates |
int | m_use_texture |
1 if the mesh use texturing; default value is 0 More... | |
int | m_use_bump_map |
1 if the mesh use bump mapping; default value is 0 More... | |
std::string | m_label |
A label to determine the type of the mesh. More... | |
std::string | m_filename |
Name of the file that contains the polygon mesh. More... | |
RATIONAL_NUMBER | m_file_scale |
Unit of length of the file that contains the polygon mesh (if negative, then unknown) More... | |
std::auto_ptr< VBO > | m_p_vbo |
Vertex buffer object. More... | |
std::auto_ptr< PolygonMesh > | m_p_face_normal_vbo |
std::auto_ptr< PolygonMesh > | m_p_vertex_normal_vbo |
PhotonCrossSection | m_photon_cross_section |
Material properties, with respect to X-ray. More... | |
VEC3 | m_local_min_corner |
Lower corner of the bounding box. More... | |
VEC3 | m_local_max_corner |
Upper corner of the bounding box. More... | |
std::vector< RATIONAL_NUMBER > | m_p_vertex_normal_set |
Array containing the normal vectors (one per triangle) More... | |
void * | m_p_vertex_set |
Array containing the vertices. More... | |
void * | m_p_index_set |
Array containing the index. More... | |
unsigned int | m_number_of_indices |
Number of indices. More... | |
unsigned int | m_number_of_vertices |
Number of vertices. More... | |
int | m_index_data_type |
int | m_vertex_data_type |
int | m_polygon_type |
Polygon type; valid values are GL_TRIANGLES. More... | |
bool | m_external_data_flag |
bool | m_display_flag |
Material | m_material |
Material of the object. More... | |
bool | m_has_inverted_normal_vectors |
A flag set to true if the normal vectors are inverted. More... | |
BoneMesh is a class to handle a polygon mesh for Bone, with thin bumps stored using a 3D texture.
Definition at line 77 of file BoneMesh.h.
|
protectedinherited |
To know if a bump map or a colour texture has to be created.
Enumerator | |
---|---|
TO_CREATE_BUMP_MAP | |
TO_CREATE_COLOUR_TEXTURE |
Definition at line 151 of file InternalOrganMesh.h.
gVirtualXRay::BoneMesh::BoneMesh | ( | unsigned int | texture_3D_size = 32 | ) |
Default Constructor.
|
virtual |
Destructor.
|
inlineinherited |
Rotate the polygon mesh given a rotation axis and angle, and update the VBO if needed.
aRotationAxis | the rotation axis |
aRotationAngleInDegrees | the rotation angle in degrees |
Definition at line 586 of file PolygonMesh.inl.
|
inlineinherited |
Apply a scaling factor to the vertex data. Note that the bounding box will be automatically updated.
aScale | scaling factor |
Definition at line 475 of file PolygonMesh.inl.
|
inherited |
Apply a scaling factor to the vertex data. Note that the bounding box will be automatically updated.
aScaleX | scaling factor alng the x-axis |
aScaleY | scaling factor alng the y-axis |
aScaleZ | scaling factor alng the z-axis |
|
inlineinherited |
Scale the polygon mesh given scaling factors, and update the VBO if needed.
x | the scaling factor along the X-axis |
y | the scaling factor along the Y-axis |
z | the scaling factor along the Z-axis |
Definition at line 516 of file PolygonMesh.inl.
|
inlineinherited |
Transform the polygon mesh given a transformation matrix and update the VBO if needed.
aTransformationMatrix | the transformation matrix |
Definition at line 636 of file PolygonMesh.inl.
|
inlineinherited |
Translate the polygon mesh given a translation vector, and update the VBO if needed.
aTranslationVector | the translation vector |
Definition at line 483 of file PolygonMesh.inl.
|
inlineprotectedinherited |
Update the bounding box.
Definition at line 439 of file PolygonMesh.inl.
|
inherited |
Compute the normal vectors using the cross product method.
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
Copy.
aPolygonMesh | the polygon mesh to copy |
|
protectedinherited |
Copy an index set.
|
protectedinherited |
Copy a vertex set.
|
protectedvirtual |
Link the attributes to their id in the shader bump map generation.
Reimplemented from gVirtualXRay::InternalOrganMesh.
|
protectedvirtual |
Link the attributes to their id in the shader for colour texture generation
Implements gVirtualXRay::InternalOrganMesh.
|
virtual |
Link the attributes to their id in the shader.
Reimplemented from gVirtualXRay::InternalOrganMesh.
|
protectedvirtualinherited |
delete the indices and calculate new normal vectors
|
protectedinherited |
Release the memory held by the index data if needed.
|
protectedinherited |
Release the memory held by the vertex data if needed.
|
inherited |
Display the triangular mesh using OpenGL.
|
inherited |
Display the face normal vectors.
aNormalSize | the size of the vectors (default value is 0.5 cm) |
|
inherited |
Display the vertex normal vectors.
aNormalSize | the size of the vectors (default value is 0.5 cm) |
|
inherited |
Display the triangular mesh in wireframe using OpenGL.
|
protectedvirtualinherited |
generates a 2D texture
|
protectedvirtualinherited |
generates a 3D texture
|
protectedvirtual |
generates the textures
Implements gVirtualXRay::InternalOrganMesh.
|
inlineinherited |
Accessor on the compound description of the polygon mesh.
Definition at line 290 of file PolygonMesh.inl.
|
inlineinherited |
Definition at line 274 of file PolygonMesh.inl.
|
inlineinherited |
Accessor on the display flag of the polygon mesh.
Definition at line 99 of file PolygonMesh.inl.
|
inlineinherited |
Accessor on a given face normal.
anIndex | the index of the normal to access |
Definition at line 377 of file PolygonMesh.inl.
|
inlineinherited |
Accessor on the number of face normal vectors.
Definition at line 340 of file PolygonMesh.inl.
|
inherited |
Accessor on the number of faces.
|
inlineinherited |
Accessor on the name of the file that contains the polygon mesh.
Definition at line 143 of file PolygonMesh.inl.
|
inherited |
Accessor on a given index.
anIndex | the index of the index to access |
|
inlineinherited |
Accessor on the number of indices.
Definition at line 369 of file PolygonMesh.inl.
|
virtualinherited |
Accessor on the label that determines the type of the mesh.
|
inlineinherited |
Accessor on the bounding box upper corner.
Definition at line 331 of file PolygonMesh.inl.
|
inlineinherited |
Accessor on the bounding box lower corner.
Definition at line 322 of file PolygonMesh.inl.
|
inlineinherited |
Accessor on the material of the polygon mesh.
Definition at line 762 of file PolygonMesh.inl.
|
inlineinherited |
Accessor on the material of the polygon mesh.
Definition at line 770 of file PolygonMesh.inl.
|
inlineinherited |
Definition at line 282 of file PolygonMesh.inl.
|
inlineinherited |
Accessor on the element Z number set of the mixture of the polygon mesh.
Definition at line 298 of file PolygonMesh.inl.
|
inlineinherited |
Accessor on the element weight set of the mixture of the polygon mesh.
Definition at line 306 of file PolygonMesh.inl.
|
inlineinherited |
Definition at line 267 of file PolygonMesh.inl.
|
inherited |
Accessor on the number of triangles.
|
inherited |
|
inlineinherited |
Accessor on the unit of length of the mesh.
Definition at line 152 of file PolygonMesh.inl.
|
inherited |
Accessor on a given vertex.
anIndex | the index of the vertex to access |
|
inlineinherited |
Accessor on a given vertex normal.
anIndex | the index of the normal to access |
Definition at line 424 of file PolygonMesh.inl.
|
inlineinherited |
Accessor on the number of vertex normal vectors.
Definition at line 351 of file PolygonMesh.inl.
|
inlineinherited |
Accessor on the number of vertices.
Definition at line 361 of file PolygonMesh.inl.
|
inlineinherited |
Check if the normal vectors have been inverted.
Definition at line 314 of file PolygonMesh.inl.
|
protectedvirtualinherited |
initialize gradient tab for gnoise
|
virtual |
Merge the vertices for optimization and a smoother display and create the bump map
Implements gVirtualXRay::InternalOrganMesh.
|
protectedvirtualinherited |
initialize a 2D frame buffer and bind a texture to it
|
protectedvirtualinherited |
Initialise optimised texture coordinates by sharing an hypothenuse in the texture for two adjacent polygons.
|
protectedvirtualinherited |
initialize a 3D frame buffer and bind a texture to its layer 0
|
protectedvirtualinherited |
Initialise 3D texture coordinates.
|
protectedvirtualinherited |
initialize permutation tab for all noises
|
inlineinherited |
Inverse the normal vectors.
Definition at line 694 of file PolygonMesh.inl.
|
virtual |
return true if the mesh represent a soft tissue
Implements gVirtualXRay::InternalOrganMesh.
|
virtualinherited |
return true if the mesh has to be displayed with transparency
Implements gVirtualXRay::AnatomicalMesh.
|
protectedvirtualinherited |
Load the shader to create the 2D bump map.
|
protectedvirtualinherited |
Load the shader to create the 3D bump map.
|
protectedinherited |
Set the name of the file that contains the polygon mesh.
aMoveToCentreFlag | a flag to move the polygon to the center or not |
anAutoComputeNormalFlag | a flag to compute normals or not |
aPrintDebugInfoFlag | a flag to display additional debug information in the console or not |
aCreateVBOFlag | a flag to use a vertex buffer object or not |
aScale | the unit in which data is stored in the file (e.g. mm, cm, m) |
aBufferUsageHing | the buffer usage hint; valid values are: GL_STATIC_DRAW, GL_DYNAMIC_DRAW and GL_STREAM_DRAW |
|
protectedinherited |
Set the name of the file that contains the polygon mesh.
aMoveToCentreFlag | a flag to move the polygon to the center or not |
anAutoComputeNormalFlag | a flag to compute normals or not |
aPrintDebugInfoFlag | a flag to display additional debug information in the console or not |
aCreateVBOFlag | a flag to use a vertex buffer object or not |
aScale | the unit in which data is stored in the file (e.g. mm, cm, m) |
aBufferUsageHing | the buffer usage hint; valid values are: GL_STATIC_DRAW, GL_DYNAMIC_DRAW and GL_STREAM_DRAW |
|
protectedinherited |
Set the name of the file that contains the polygon mesh.
apInputData | the input data to load |
aMoveToCentreFlag | a flag to move the polygon to the centre or not |
anAutoComputeNormalFlag | a flag to compute normals or nor |
aPrintDebugInfoFlag | a flag to display additional debug information in the console or not |
aCreateVBOFlag | a flag to use a vertex buffer object or not |
aScale | the unit in which data is stored in the file (e.g. mm, cm, m) |
aBufferUsageHing | the buffer usage hint; valid values are: GL_STATIC_DRAW, GL_DYNAMIC_DRAW and GL_STREAM_DRAW |
|
inherited |
Set the name of the file that contains the polygon mesh.
aMoveToCentreFlag | a flag to move the polygon to the center or not |
anAutoComputeNormalFlag | a flag to compute normals or not |
aPrintDebugInfoFlag | a flag to display additional debug information in the console or not |
aCreateVBOFlag | a flag to use a vertex buffer object or not |
aScale | the unit in which data is stored in the file (e.g. mm, cm, m) |
aBufferUsageHing | the buffer usage hint; valid values are: GL_STATIC_DRAW, GL_DYNAMIC_DRAW and GL_STREAM_DRAW |
|
inherited |
Merge the vertices of the mesh if the data is managed by the class instance, and if no index has been build.
|
inlineinherited |
Move the polygon to the center.
Definition at line 160 of file PolygonMesh.inl.
|
inlineinherited |
Move the polygon to the centre.
Definition at line 683 of file PolygonMesh.inl.
|
protectedinherited |
Normalise the normal vectors.
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
inherited |
|
protectedinherited |
Remove the index.
|
inherited |
Reset the data.
|
inlineinherited |
Definition at line 243 of file PolygonMesh.inl.
|
inlineinherited |
Definition at line 261 of file PolygonMesh.inl.
|
inlineinherited |
Set if the mesh is displayed or not.
display | true or false |
Definition at line 91 of file PolygonMesh.inl.
|
inlineinherited |
Definition at line 207 of file PolygonMesh.inl.
|
inlineinherited |
Definition at line 213 of file PolygonMesh.inl.
|
inherited |
Set the polygon mesh using external data. The class instance will not manage the memory.
aTypeOfPrimitive | type of primitive; valid values are GL_TRIANGLES |
aVertexArray | array containing the vertex data |
aNumberOfVertices | number of vertices |
aVertexDataType | data type of the vertex data; valid values are GL_FLOAT, GL_DOUBLE and GL_NONE |
anIndexArray | array containing the index data |
aNumberOfIndices | number of indices |
anIndexDataType | data type of the index data; valid values are GL_UNSIGNED_INT, GL_UNSIGNED_SHORT, GL_UNSIGNED_BYTE and GL_NONE |
aCreateVBOFlag | flag set to true to create a VBO, set to false to not set a VBO |
aTypeOfVBO | VBO usage hint to set; valid values are GL_STATIC_DRAW, GL_DYNAMIC_DRAW and GL_STREAM_DRAW |
|
inherited |
Set the polygon mesh using external data. The class instance will not manage the memory.
|
inherited |
Set the polygon mesh using external data. The class instance will not manage the memory.
|
inherited |
Set the polygon mesh using external data. The class instance will not manage the memory.
aTypeOfPrimitive | type of primitive; valid values are GL_TRIANGLES |
aVertexArray | array containing the vertex data |
anIndexArray | array containing the index data |
aCreateVBOFlag | flag set to true to create a VBO, set to false to not set a VBO |
aTypeOfVBO | VBO usage hint to set; valid values are GL_STATIC_DRAW, GL_DYNAMIC_DRAW and GL_STREAM_DRAW |
|
inherited |
Set the polygon mesh using external data. The class instance will not manage the memory.
aTypeOfPrimitive | type of primitive; valid values are GL_TRIANGLES |
aVertexArray | array containing the vertex data |
anIndexArray | array containing the index data |
aCreateVBOFlag | flag set to true to create a VBO, set to false to not set a VBO |
aTypeOfVBO | VBO usage hint to set; valid values are GL_STATIC_DRAW, GL_DYNAMIC_DRAW and GL_STREAM_DRAW |
|
inherited |
Set the polygon mesh using external data. The class instance will not manage the memory.
aTypeOfPrimitive | type of primitive; valid values are GL_TRIANGLES |
aVertexArray | array containing the vertex data |
anIndexArray | array containing the index data |
aCreateVBOFlag | flag set to true to create a VBO, set to false to not set a VBO |
aTypeOfVBO | VBO usage hint to set; valid values are GL_STATIC_DRAW, GL_DYNAMIC_DRAW and GL_STREAM_DRAW |
|
inherited |
Set the polygon mesh using external data. The class instance will not manage the memory.
aTypeOfPrimitive | type of primitive; valid values are GL_TRIANGLES |
aVertexArray | array containing the vertex data |
anIndexArray | array containing the index data |
aCreateVBOFlag | flag set to true to create a VBO, set to false to not set a VBO |
aTypeOfVBO | VBO usage hint to set; valid values are GL_STATIC_DRAW, GL_DYNAMIC_DRAW and GL_STREAM_DRAW |
|
inherited |
Set the polygon mesh using external data. The class instance will not manage the memory.
aTypeOfPrimitive | type of primitive; valid values are GL_TRIANGLES |
aVertexArray | array containing the vertex data |
anIndexArray | array containing the index data |
aCreateVBOFlag | flag set to true to create a VBO, set to false to not set a VBO |
aTypeOfVBO | VBO usage hint to set; valid values are GL_STATIC_DRAW, GL_DYNAMIC_DRAW and GL_STREAM_DRAW |
|
inherited |
Set the polygon mesh using external data. The class instance will not manage the memory.
aTypeOfPrimitive | type of primitive; valid values are GL_TRIANGLES |
aVertexArray | array containing the vertex data |
anIndexArray | array containing the index data |
aCreateVBOFlag | flag set to true to create a VBO, set to false to not set a VBO |
aTypeOfVBO | VBO usage hint to set; valid values are GL_STATIC_DRAW, GL_DYNAMIC_DRAW and GL_STREAM_DRAW |
|
inlineinherited |
Definition at line 552 of file PolygonMesh.inl.
|
inlineinherited |
Set the name of the file that contains the polygon mesh.
aFilename | the file name |
Definition at line 107 of file PolygonMesh.inl.
|
inlineinherited |
Set the name of the file that contains the polygon mesh.
aFilename | the file name |
Definition at line 116 of file PolygonMesh.inl.
|
inlineinherited |
Set the name of the file that contains the polygon mesh.
aFilename | the file name |
Definition at line 125 of file PolygonMesh.inl.
|
inlineinherited |
Set the name of the file that contains the polygon mesh.
aFilename | the file name |
Definition at line 134 of file PolygonMesh.inl.
|
inlineinherited |
Definition at line 195 of file PolygonMesh.inl.
|
inlineinherited |
Definition at line 201 of file PolygonMesh.inl.
|
inlineinherited |
Definition at line 189 of file PolygonMesh.inl.
|
inherited |
Set the value of a given index.
anIndex | the index of the index to access |
aValue | the new value of the index |
|
inherited |
Set the polygon mesh using external data. The class instance will manage the memory.
aTypeOfPrimitive | type of primitive; valid values are GL_TRIANGLES |
aVertexArray | array containing the vertex data |
aNumberOfVertices | number of vertices |
aVertexDataType | data type of the vertex data; valid values are GL_FLOAT, GL_DOUBLE and GL_NONE |
anIndexArray | array containing the index data |
aNumberOfIndices | number of indices |
anIndexDataType | data type of the index data; valid values are GL_UNSIGNED_INT, GL_UNSIGNED_SHORT, GL_UNSIGNED_BYTE and GL_NONE |
aCreateVBOFlag | flag set to true to create a VBO, set to false to not set a VBO |
aTypeOfVBO | VBO usage hint to set; valid values are GL_STATIC_DRAW, GL_DYNAMIC_DRAW and GL_STREAM_DRAW |
|
inherited |
Set the polygon mesh using external data. The class instance will manage the memory.
aTypeOfPrimitive | type of primitive; valid values are GL_TRIANGLES |
aVertexArray | array containing the vertex data |
aNormalArray | array containing the normal data |
aCreateVBOFlag | flag set to true to create a VBO, set to false to not set a VBO |
aTypeOfVBO | VBO usage hint to set; valid values are GL_STATIC_DRAW, GL_DYNAMIC_DRAW and GL_STREAM_DRAW |
|
inherited |
Set the polygon mesh using external data. The class instance will manage the memory.
|
inherited |
Set the polygon mesh using external data. The class instance will manage the memory.
aTypeOfPrimitive | type of primitive; valid values are GL_TRIANGLES |
aVertexArray | array containing the vertex data |
aNormalArray | array containing the normal data |
aCreateVBOFlag | flag set to true to create a VBO, set to false to not set a VBO |
aTypeOfVBO | VBO usage hint to set; valid values are GL_STATIC_DRAW, GL_DYNAMIC_DRAW and GL_STREAM_DRAW |
|
inherited |
Set the polygon mesh using external data. The class instance will manage the memory.
|
inherited |
Set the polygon mesh using external data. The class instance will manage the memory.
aTypeOfPrimitive | type of primitive; valid values are GL_TRIANGLES |
aVertexArray | array containing the vertex data |
anIndexArray | array containing the index data |
aCreateVBOFlag | flag set to true to create a VBO, set to false to not set a VBO |
aTypeOfVBO | VBO usage hint to set; valid values are GL_STATIC_DRAW, GL_DYNAMIC_DRAW and GL_STREAM_DRAW |
|
inherited |
|
inherited |
Set the polygon mesh using external data. The class instance will manage the memory.
aTypeOfPrimitive | type of primitive; valid values are GL_TRIANGLES |
aVertexArray | array containing the vertex data |
anIndexArray | array containing the index data |
aCreateVBOFlag | flag set to true to create a VBO, set to false to not set a VBO |
aTypeOfVBO | VBO usage hint to set; valid values are GL_STATIC_DRAW, GL_DYNAMIC_DRAW and GL_STREAM_DRAW |
|
inherited |
Set the polygon mesh using external data. The class instance will manage the memory.
aTypeOfPrimitive | type of primitive; valid values are GL_TRIANGLES |
aVertexArray | array containing the vertex data |
aNormalArray | array containing the normal data |
anIndexArray | array containing the index data |
aCreateVBOFlag | flag set to true to create a VBO, set to false to not set a VBO |
aTypeOfVBO | VBO usage hint to set; valid values are GL_STATIC_DRAW, GL_DYNAMIC_DRAW and GL_STREAM_DRAW |
|
inherited |
Set the polygon mesh using external data. The class instance will manage the memory.
aTypeOfPrimitive | type of primitive; valid values are GL_TRIANGLES |
aVertexArray | array containing the vertex data |
anIndexArray | array containing the index data |
aCreateVBOFlag | flag set to true to create a VBO, set to false to not set a VBO |
aTypeOfVBO | VBO usage hint to set; valid values are GL_STATIC_DRAW, GL_DYNAMIC_DRAW and GL_STREAM_DRAW |
|
inherited |
Set the polygon mesh using external data. The class instance will manage the memory.
aTypeOfPrimitive | type of primitive; valid values are GL_TRIANGLES |
aVertexArray | array containing the vertex data |
aNormalArray | array containing the normal data |
anIndexArray | array containing the index data |
aCreateVBOFlag | flag set to true to create a VBO, set to false to not set a VBO |
aTypeOfVBO | VBO usage hint to set; valid values are GL_STATIC_DRAW, GL_DYNAMIC_DRAW and GL_STREAM_DRAW |
|
inherited |
Set the polygon mesh using external data. The class instance will manage the memory.
aTypeOfPrimitive | type of primitive; valid values are GL_TRIANGLES |
aVertexArray | array containing the vertex data |
anIndexArray | array containing the index data |
aCreateVBOFlag | flag set to true to create a VBO, set to false to not set a VBO |
aTypeOfVBO | VBO usage hint to set; valid values are GL_STATIC_DRAW, GL_DYNAMIC_DRAW and GL_STREAM_DRAW |
|
inherited |
Set the polygon mesh using external data. The class instance will manage the memory.
aTypeOfPrimitive | type of primitive; valid values are GL_TRIANGLES |
aVertexArray | array containing the vertex data |
aNormalArray | array containing the normal data |
anIndexArray | array containing the index data |
aCreateVBOFlag | flag set to true to create a VBO, set to false to not set a VBO |
aTypeOfVBO | VBO usage hint to set; valid values are GL_STATIC_DRAW, GL_DYNAMIC_DRAW and GL_STREAM_DRAW |
|
inherited |
Set the polygon mesh using external data. The class instance will manage the memory.
aTypeOfPrimitive | type of primitive; valid values are GL_TRIANGLES |
aVertexArray | array containing the vertex data |
anIndexArray | array containing the index data |
aCreateVBOFlag | flag set to true to create a VBO, set to false to not set a VBO |
aTypeOfVBO | VBO usage hint to set; valid values are GL_STATIC_DRAW, GL_DYNAMIC_DRAW and GL_STREAM_DRAW |
|
inherited |
Set the polygon mesh using external data. The class instance will manage the memory.
aTypeOfPrimitive | type of primitive; valid values are GL_TRIANGLES |
aVertexArray | array containing the vertex data |
aNormalArray | array containing the normal data |
anIndexArray | array containing the index data |
aCreateVBOFlag | flag set to true to create a VBO, set to false to not set a VBO |
aTypeOfVBO | VBO usage hint to set; valid values are GL_STATIC_DRAW, GL_DYNAMIC_DRAW and GL_STREAM_DRAW |
|
inherited |
Set the polygon mesh using external data. The class instance will manage the memory.
aTypeOfPrimitive | type of primitive; valid values are GL_TRIANGLES |
aVertexArray | array containing the vertex data |
anIndexArray | array containing the index data |
aCreateVBOFlag | flag set to true to create a VBO, set to false to not set a VBO |
aTypeOfVBO | VBO usage hint to set; valid values are GL_STATIC_DRAW, GL_DYNAMIC_DRAW and GL_STREAM_DRAW |
|
inherited |
Set the polygon mesh using external data. The class instance will manage the memory.
aTypeOfPrimitive | type of primitive; valid values are GL_TRIANGLES |
aVertexArray | array containing the vertex data |
aNormalArray | array containing the normal data |
anIndexArray | array containing the index data |
aCreateVBOFlag | flag set to true to create a VBO, set to false to not set a VBO |
aTypeOfVBO | VBO usage hint to set; valid values are GL_STATIC_DRAW, GL_DYNAMIC_DRAW and GL_STREAM_DRAW |
|
inherited |
Set the polygon mesh using external data. The class instance will manage the memory.
aTypeOfPrimitive | type of primitive; valid values are GL_TRIANGLES |
aVertexArray | array containing the vertex data |
aNormalArray | array containing the normal data |
anIndexArray | array containing the index data |
aCreateVBOFlag | flag set to true to create a VBO, set to false to not set a VBO |
aTypeOfVBO | VBO usage hint to set; valid values are GL_STATIC_DRAW, GL_DYNAMIC_DRAW and GL_STREAM_DRAW |
|
inherited |
Set the polygon mesh using external data. The class instance will manage the memory.
aTypeOfPrimitive | type of primitive; valid values are GL_TRIANGLES |
aVertexArray | array containing the vertex data |
aNormalArray | array containing the normal data |
anIndexArray | array containing the index data |
aCreateVBOFlag | flag set to true to create a VBO, set to false to not set a VBO |
aTypeOfVBO | VBO usage hint to set; valid values are GL_STATIC_DRAW, GL_DYNAMIC_DRAW and GL_STREAM_DRAW |
|
inherited |
Set the polygon mesh using external data. The class instance will manage the memory.
aTypeOfPrimitive | type of primitive; valid values are GL_TRIANGLES |
aVertexArray | array containing the vertex data |
aNormalArray | array containing the normal data |
anIndexArray | array containing the index data |
aCreateVBOFlag | flag set to true to create a VBO, set to false to not set a VBO |
aTypeOfVBO | VBO usage hint to set; valid values are GL_STATIC_DRAW, GL_DYNAMIC_DRAW and GL_STREAM_DRAW |
|
inlineinherited |
Definition at line 255 of file PolygonMesh.inl.
|
inlineinherited |
Definition at line 249 of file PolygonMesh.inl.
|
inlineinherited |
Definition at line 219 of file PolygonMesh.inl.
|
inlineinherited |
Definition at line 225 of file PolygonMesh.inl.
|
inlineinherited |
Definition at line 231 of file PolygonMesh.inl.
|
inlineinherited |
Definition at line 237 of file PolygonMesh.inl.
|
inherited |
Set the polygon mesh using external data. The class instance will manage the memory.
aVertexArray | array containing the vertex data |
aNumberOfVertices | number of vertices |
aVertexVBO | identificator of vbo for vertices |
aNormalVBO | identificator of vbo for normals |
aTextureVBO | identificator of vbo for texture coords |
anIndexVBO | array containing the index data |
aNumberOfIndices | number of indices |
anIndexDataType | data type of the index data; valid values are GL_UNSIGNED_INT, GL_UNSIGNED_SHORT, GL_UNSIGNED_BYTE and GL_NONE |
aIndexArray | array containing the index data |
aNormalArray | array containing the normal data |
|
inherited |
Change the value of a given vertex.
anIndex | the index of the vertex to access |
aVertex | the new value of the vertex |
|
inlineinherited |
Definition at line 570 of file PolygonMesh.inl.
|
protectedvirtualinherited |
Compute a normal vector per vertex for a smoother display.
|
virtualinherited |
Split each face into four faces.
|
inherited |
Split each face into four faces.
|
virtual |
Update the VBO.
aTypeOfVBO | VBO usage hint to set; valid values are GL_STATIC_DRAW, GL_DYNAMIC_DRAW and GL_STREAM_DRAW |
aTypeOfPrimitive | type of primitive; valid values are GL_TRIANGLES |
Reimplemented from gVirtualXRay::PolygonMesh.
|
virtualinherited |
Update the VBOs with VBO already created.
aVertexVBO | identificator of vbo for vertices |
aNormalVBO | identificator of vbo for normals |
aTextureVBO | identificator of vbo for texture coords |
anIndexVBO | array containing the index data |
|
inlineinherited |
Use a vertex buffer object if possible.
aBufferUsageHing | the buffer usage hint; valid values are: GL_STATIC_DRAW, GL_DYNAMIC_DRAW and GL_STREAM_DRAW |
aTypeOfPrimitive | type of primitive; valid values are GL_TRIANGLES |
Definition at line 168 of file PolygonMesh.inl.
|
inherited |
Write the STL file.
|
protectedinherited |
Definition at line 308 of file InternalOrganMesh.h.
|
protectedinherited |
Definition at line 312 of file InternalOrganMesh.h.
|
protectedinherited |
Definition at line 305 of file InternalOrganMesh.h.
|
protectedinherited |
A flag set to true if you want to display in the Xray image
Definition at line 1626 of file PolygonMesh.h.
|
protectedinherited |
A flag set to true if the memory is managed outside of this class instance; set to false if the memory is managed by this class instance
Definition at line 1621 of file PolygonMesh.h.
|
protectedinherited |
Unit of length of the file that contains the polygon mesh (if negative, then unknown)
Definition at line 1553 of file PolygonMesh.h.
|
protectedinherited |
Name of the file that contains the polygon mesh.
Definition at line 1549 of file PolygonMesh.h.
|
protectedinherited |
Definition at line 346 of file InternalOrganMesh.h.
|
protectedinherited |
Definition at line 285 of file InternalOrganMesh.h.
|
protectedinherited |
A flag set to true if the normal vectors are inverted.
Definition at line 1634 of file PolygonMesh.h.
|
protectedinherited |
Definition at line 317 of file InternalOrganMesh.h.
|
protectedinherited |
Definition at line 327 of file InternalOrganMesh.h.
|
protectedinherited |
Data type of the index data; valid values are GL_UNSIGNED_INT, GL_UNSIGNED_SHORT, GL_UNSIGNED_BYTE and GL_NONE
Definition at line 1606 of file PolygonMesh.h.
|
protectedinherited |
Definition at line 322 of file InternalOrganMesh.h.
|
protectedinherited |
A label to determine the type of the mesh.
Definition at line 153 of file AnatomicalMesh.h.
|
protectedinherited |
Upper corner of the bounding box.
Definition at line 1577 of file PolygonMesh.h.
|
protectedinherited |
Lower corner of the bounding box.
Definition at line 1573 of file PolygonMesh.h.
|
protectedinherited |
Definition at line 301 of file InternalOrganMesh.h.
|
protectedinherited |
Material of the object.
Definition at line 1630 of file PolygonMesh.h.
|
protectedinherited |
Definition at line 342 of file InternalOrganMesh.h.
|
protectedinherited |
Number of indices.
Definition at line 1597 of file PolygonMesh.h.
|
protectedinherited |
Number of vertices.
Definition at line 1601 of file PolygonMesh.h.
|
protectedinherited |
Definition at line 350 of file InternalOrganMesh.h.
|
protectedinherited |
Definition at line 1559 of file PolygonMesh.h.
|
protectedinherited |
Array containing the index.
Definition at line 1593 of file PolygonMesh.h.
|
protectedinherited |
Vertex buffer object.
Definition at line 1558 of file PolygonMesh.h.
|
protectedinherited |
Array containing the normal vectors (one per triangle)
Array containing the normal vectors (one per vertex)
Definition at line 1585 of file PolygonMesh.h.
|
protectedinherited |
Definition at line 1560 of file PolygonMesh.h.
|
protectedinherited |
Array containing the vertices.
Definition at line 1589 of file PolygonMesh.h.
|
protectedinherited |
Definition at line 289 of file InternalOrganMesh.h.
|
protectedinherited |
Material properties, with respect to X-ray.
Definition at line 1569 of file PolygonMesh.h.
|
protectedinherited |
Polygon type; valid values are GL_TRIANGLES.
Definition at line 1615 of file PolygonMesh.h.
|
protectedinherited |
Definition at line 293 of file InternalOrganMesh.h.
|
protectedinherited |
Definition at line 297 of file InternalOrganMesh.h.
|
protectedinherited |
Definition at line 334 of file InternalOrganMesh.h.
|
protectedinherited |
Definition at line 338 of file InternalOrganMesh.h.
|
protectedinherited |
Definition at line 330 of file InternalOrganMesh.h.
|
protectedinherited |
1 if the mesh use bump mapping; default value is 0
Definition at line 150 of file AnatomicalMesh.h.
|
protectedinherited |
1 if the mesh use texturing; default value is 0
Definition at line 147 of file AnatomicalMesh.h.
|
protectedinherited |
Data type of the vertex data; valid values are GL_FLOAT, GL_DOUBLE and GL_NONE
Definition at line 1611 of file PolygonMesh.h.