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:
[legend]Collaboration diagram for mitkMeshReader:
[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) |
mitkMesh * | GetOutput () |
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);
if (aReader->Run())
{
mitkMesh *aMesh = aReader->GetOutput();
Using aMesh
}
Member Function Documentation
|
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
1.4.3