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

mitkMeshReader Class Reference

mitkMeshReader - an abstract class represents a mesh reader to read mesh files More...

#include <mitkMeshReader.h>

Inherits mitkReader.

Inherited by mitkPLYReader, and mitkSTLReader.

Inheritance diagram for mitkMeshReader:

Inheritance graph
[legend]
Collaboration diagram for mitkMeshReader:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void PrintSelf (ostream &os)
void SetOoCSupport (char const *diskPath=mitkOoCGlobalSettings::DiskCachePath, unsigned int bufBlockNum=mitkOoCGlobalSettings::BufferedSliceNumber, bool supportOoC=true)
mitkMeshGetOutput ()

Detailed Description

mitkMeshReader - an abstract class represents a mesh reader to read mesh files

mitkMeshReader is an abstract class represents a mesh reader to read mesh files. To use a concrete mesh reader, the code snippet is:

    mitkSomeMeshReader *aReader = new mitkSomeMeshReader; 
    aReader->AddFileName(filename); //Only require one file name 
    if (aReader->Run())
    {
        mitkMesh *aMesh = aReader->GetOutput(); 
        Using aMesh 
    }


Member Function Documentation

mitkMesh* mitkMeshReader::GetOutput  ) 
 

Get the output mesh the reader has read.

Returns:
the output volume.

virtual void mitkMeshReader::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 mitkReader.

Reimplemented in mitkPLYReader, and mitkSTLReader.

void mitkMeshReader::SetOoCSupport char const *  diskPath = mitkOoCGlobalSettings::DiskCachePath,
unsigned int  bufBlockNum = mitkOoCGlobalSettings::BufferedSliceNumber,
bool  supportOoC = true
 

Let the reader support out-of-core mesh data.

Parameters:
diskPath the path in the disk to cache the mesh data
bufSliceNum the number of slices to cache in the main memory
supportOoC whether to turn on out-of-core support
Note:
The parameter diskPath must be specified (not NULL) if you really want to turn on out-of-core support, if not, the value of supportOoC will be ignored even if it is set to true.


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