IGSTK
Public Types | Public Member Functions | Public Attributes | Protected Member Functions
igstk::MeshReader Class Reference

This class reads 3D Mesh in the metaIO format. More...

#include <igstkMeshReader.h>

Inheritance diagram for igstk::MeshReader:
Inheritance graph
[legend]
Collaboration diagram for igstk::MeshReader:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

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.

igstkMeshReader.png
Mesh Reader State Machine Diagram
See also:
MeshObject

Definition at line 70 of file igstkMeshReader.h.


Member Typedef Documentation

Typedef for the superclass is needed because the StandardClassTraitsMacro would get confused with the commas in the template.

Definition at line 77 of file igstkMeshReader.h.

typedef SpatialObjectType::ConstPointer igstk::MeshReader::SpatialObjectTypeConstPointer

Definition at line 87 of file igstkMeshReader.h.

Definition at line 88 of file igstkMeshReader.h.


Constructor & Destructor Documentation

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]

Member Function Documentation

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.


Member Data Documentation

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 80 of file igstkMeshReader.h.


The documentation for this class was generated from the following file: