IGSTK
|
This class reads 3D Mesh in the metaIO format. More...
#include <igstkMeshReader.h>
Public Types | |
typedef SpatialObjectReader < 3, float > | SuperclassType |
Typedef for the superclass is needed because the StandardClassTraitsMacro would get confused with the commas in the template. | |
typedef SpatialObjectType::ConstPointer | SpatialObjectTypeConstPointer |
typedef igstk::MeshObject | MeshObjectType |
Public Member Functions | |
igstkEventMacro (MeshReaderEvent, ObjectReaderEvent) igstkEventMacro(MeshReadingErrorEvent | |
Event type. | |
Public Attributes | |
igstkStandardClassTraitsMacro(MeshReader, SuperclassType) public typedef Superclass::GroupSpatialObjectType | GroupSpatialObjectType |
Macro with standard traits declarations. | |
Protected Member Functions | |
MeshReader (void) | |
Declare the MeshReaderToMeshSpatialObject class to be a friend in order to give it access to the private method GetITKMesh(). | |
~MeshReader (void) | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const |
Print the object information in a stream. | |
void | AttemptReadObjectProcessing () |
This method tries to read the Object. | |
void | ReportObjectProcessing () |
This method will invoke the MeshModifiedEvent. | |
void | ConnectMesh () |
Connect the ITK mesh to the output MeshSpatialObject. |
This class reads 3D Mesh in the metaIO format.
The file describes a list of points corresponding to the nodes in the Mesh, and a list of links between the nodes. The output of this reader is of type MeshSpatialObject.
Mesh Reader State Machine Diagram
Definition at line 71 of file igstkMeshReader.h.
typedef SpatialObjectReader<3,float> igstk::MeshReader::SuperclassType |
Typedef for the superclass is needed because the StandardClassTraitsMacro would get confused with the commas in the template.
Definition at line 78 of file igstkMeshReader.h.
typedef SpatialObjectType::ConstPointer igstk::MeshReader::SpatialObjectTypeConstPointer |
Definition at line 88 of file igstkMeshReader.h.
Definition at line 89 of file igstkMeshReader.h.
igstk::MeshReader::MeshReader | ( | void | ) | [protected] |
Declare the MeshReaderToMeshSpatialObject class to be a friend in order to give it access to the private method GetITKMesh().
igstk::MeshReader::~MeshReader | ( | void | ) | [protected] |
igstk::MeshReader::igstkEventMacro | ( | MeshReaderEvent | , |
ObjectReaderEvent | |||
) |
Event type.
void igstk::MeshReader::PrintSelf | ( | std::ostream & | os, |
itk::Indent | indent | ||
) | const [protected, virtual] |
Print the object information in a stream.
Reimplemented from igstk::Object.
void igstk::MeshReader::AttemptReadObjectProcessing | ( | ) | [protected, virtual] |
This method tries to read the Object.
This method is invoked by the State Machine of the superclass.
Reimplemented from igstk::SpatialObjectReader< 3, float >.
void igstk::MeshReader::ReportObjectProcessing | ( | ) | [protected, virtual] |
This method will invoke the MeshModifiedEvent.
Reimplemented from igstk::SpatialObjectReader< 3, float >.
void igstk::MeshReader::ConnectMesh | ( | ) | [protected] |
Connect the ITK mesh to the output MeshSpatialObject.
igstkStandardClassTraitsMacro ( MeshReader, SuperclassType ) public typedef Superclass::GroupSpatialObjectType igstk::MeshReader::GroupSpatialObjectType |
Macro with standard traits declarations.
Typedefs
Reimplemented from igstk::SpatialObjectReader< 3, float >.
Definition at line 81 of file igstkMeshReader.h.