Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

mitkICTriangleMesh Class Reference

mitkICTriangleMesh - a concrete class for in-core triangle meshes More...

#include <mitkICTriangleMesh.h>

Inherits mitkTriangleMesh.

Inheritance diagram for mitkICTriangleMesh:

Inheritance graph
[legend]
Collaboration diagram for mitkICTriangleMesh:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void PrintSelf (ostream &os)
 mitkICTriangleMesh ()
virtual int GetDataObjectType () const
virtual void Initialize ()
virtual unsigned long long GetActualMemorySize () const
virtual void ShallowCopy (mitkDataObject *src)
virtual void DeepCopy (mitkDataObject *src)
virtual void SetVertexNumber (size_type number)
virtual void SetFaceNumber (size_type number)
virtual float * GetVertexData ()
virtual index_type * GetFaceData ()
virtual void ReverseNormals ()
virtual bool TestClockwise ()

Detailed Description

mitkICTriangleMesh - a concrete class for in-core triangle meshes

mitkICTriangleMesh is a concrete implementation of triangle mesh, for representation of a in-core 3D object (can be loaded to the main memory entirely). It is made up of triangle faces.

See also:
mitkOoCTriangleMesh for out-of-core implementation of triangle mesh


Constructor & Destructor Documentation

mitkICTriangleMesh::mitkICTriangleMesh  ) 
 

Default constructor of this class.


Member Function Documentation

virtual void mitkICTriangleMesh::DeepCopy mitkDataObject src  )  [virtual]
 

Deep copy.

Parameters:
src pointer to the source mitkDataObject

Reimplemented from mitkTriangleMesh.

virtual unsigned long long mitkICTriangleMesh::GetActualMemorySize  )  const [virtual]
 

Get the actual size of the data in bytes.

Returns:
Return the actual size of the data in bytes.

Implements mitkDataObject.

virtual int mitkICTriangleMesh::GetDataObjectType  )  const [inline, virtual]
 

Return what type of data object this is.

Returns:
Return the type of this data object.

Reimplemented from mitkTriangleMesh.

virtual index_type* mitkICTriangleMesh::GetFaceData  )  [inline, virtual]
 

Get data pointer of this face data.

Returns:
Return a unsigned int pointer to the face data (indices to vertices).

Implements mitkMesh.

virtual float* mitkICTriangleMesh::GetVertexData  )  [inline, virtual]
 

Get data pointer of this vertex data.

Returns:
Return a float pointer to the vertex data.

Implements mitkMesh.

virtual void mitkICTriangleMesh::Initialize  )  [virtual]
 

Make the output data ready for new data to be inserted.

Reimplemented from mitkTriangleMesh.

virtual void mitkICTriangleMesh::PrintSelf ostream &  os  )  [virtual]
 

Print the necessary information about this object for the debugging purpose.

Parameters:
os The specified ostream to output information.

Reimplemented from mitkTriangleMesh.

virtual void mitkICTriangleMesh::ReverseNormals  )  [virtual]
 

Reverse normals.

Reimplemented from mitkMesh.

virtual void mitkICTriangleMesh::SetFaceNumber size_type  number  )  [virtual]
 

Set the mesh's faces' number and allocate memory.

Parameters:
number the number of faces

Implements mitkMesh.

virtual void mitkICTriangleMesh::SetVertexNumber size_type  number  )  [virtual]
 

Set the mesh's vertices' number and allocate memory.

Parameters:
number the number of vertices

Implements mitkMesh.

virtual void mitkICTriangleMesh::ShallowCopy mitkDataObject src  )  [virtual]
 

Shallowcopy.

Parameters:
src pointer to the source mitkDataObject

Reimplemented from mitkTriangleMesh.

virtual bool mitkICTriangleMesh::TestClockwise  )  [virtual]
 

Test the orientation of front-facing triangles.

Returns:
Return true if the orientation of front-facing triangles is clockwise, otherwise return false.

Implements mitkMesh.


The documentation for this class was generated from the following file:
Generated on Tue Feb 25 15:03:11 2014 for MITK (Medical Imaging ToolKit) by  doxygen 1.4.3