IGSTK
|
This class reads 3D Tube in the metaIO format. More...
#include <igstkTubeReader.h>
Public Types | |
typedef SpatialObjectType::ConstPointer | SpatialObjectTypeConstPointer |
typedef igstk::TubeObject | TubeType |
typedef itk::TubeSpatialObject< 3 > | TubeSpatialObjectType |
![]() | |
typedef ::itk::DefaultDynamicMeshTraits < unsigned char, TDimension, TDimension > | MeshTraitsType |
typedef ::itk::SpatialObjectReader < TDimension, unsigned char, MeshTraitsType > | SpatialObjectReaderType |
typedef ::itk::SpatialObject < TDimension > | SpatialObjectType |
typedef ::itk::GroupSpatialObject < TDimension > | GroupSpatialObjectType |
typedef std::string | FileNameType |
Type for representing the string of the filename. More... | |
![]() | |
typedef Object | Self |
General Typedefs. More... | |
typedef ::itk::Object | Superclass |
typedef ::itk::SmartPointer< Self > | Pointer |
typedef ::itk::SmartPointer < const Self > | ConstPointer |
typedef igstk::Logger | LoggerType |
Public Member Functions | |
igstkEventMacro (TubeReaderEvent, ObjectReaderEvent) igstkEventMacro(TubeReadingErrorEvent | |
Event type. More... | |
ObjectReadingErrorEvent | igstkLoadedObjectEventMacro (TubeModifiedEvent, TubeReaderEvent, TubeType) |
Declare the TubeReaderToTubeSpatialObject class to be a friend in order to give it access to the private method GetITKTubeSpatialObject(). More... | |
![]() | |
void | RequestSetFileName (const FileNameType &filename) |
Method to pass the directory name containing the spatial object data. More... | |
void | RequestReadObject () |
This method request Object read. More... | |
void | RequestGetOutput () |
This method will invoke a event from derived reader class, such as: MeshModifiedEvent for igstkMeshReader TubeModifiedEvent for igstkTubeReader. More... | |
igstkEventMacro (ObjectReaderEvent, IGSTKEvent) | |
igstkEventMacro (ObjectReadingErrorEvent, IGSTKErrorEvent) | |
igstkEventMacro (ObjectReadingSuccessEvent, ObjectReaderEvent) | |
igstkEventMacro (ObjectInvalidRequestErrorEvent, ObjectReadingErrorEvent) | |
![]() | |
virtual const char * | GetNameOfClass () const |
void | SetLogger (LoggerType *logger) |
Connect the Logger for this class. More... | |
void | RemoveObserver (unsigned long tag) const |
Public Attributes | |
igstkStandardClassTraitsMacro(TubeReader, SpatialObjectReader < 3 >) public typedef Superclass::GroupSpatialObjectType | GroupSpatialObjectType |
Macro with standard traits declarations. More... | |
![]() | |
igstkStandardTemplatedClassTraitsMacro(SpatialObjectReader, Object) public typedef unsigned char | PixelType |
Macro with standard traits declarations. More... | |
Protected Member Functions | |
TubeReader () | |
Constructor and Destructor. More... | |
~TubeReader () | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const |
Print the object information in a stream. More... | |
void | AttemptReadObjectProcessing () |
This method request Object read. More... | |
void | ReportObjectProcessing () |
This method will invoke the TubeModifiedEvent. More... | |
void | ConnectTube () |
Connect the ITK TubeSpatialObject to the output TubeSpatialObject. More... | |
![]() | |
SpatialObjectReader (void) | |
virtual | ~SpatialObjectReader (void) |
void | PrintSelf (std::ostream &os,::itk::Indent indent) const |
Print the object information in a stream. More... | |
![]() | |
LoggerType * | GetLogger () const |
Object (void) | |
Constructor is protected in order to enforce the use of the New() operator. More... | |
virtual | ~Object (void) |
void | RegisterObservedObject (const ::igstk::Object *object, unsigned long tag) |
Register observed objects in an internal array so that they can be disconnected upon destruction. More... | |
void | RemoveFromObservedObjects () |
Remove observers that this object may have connected to other objects. More... | |
Additional Inherited Members | |
![]() | |
static Pointer | New (void) |
![]() | |
SpatialObjectReaderType::Pointer | m_SpatialObjectReader |
std::string | m_FileNameToBeSet |
std::string | m_FileName |
This class reads 3D Tube in the metaIO format.
Tubular structures are quite common in human anatomy. This class is intended to read groups of tubular structrures from files in metaIO format. Typical these structures are the result of a segmentation method applied on pre-operative images.
Definition at line 77 of file igstkTubeReader.h.
typedef SpatialObjectType::ConstPointer igstk::TubeReader::SpatialObjectTypeConstPointer |
Definition at line 90 of file igstkTubeReader.h.
Definition at line 91 of file igstkTubeReader.h.
typedef itk::TubeSpatialObject<3> igstk::TubeReader::TubeSpatialObjectType |
Definition at line 92 of file igstkTubeReader.h.
|
protected |
Constructor and Destructor.
|
protected |
igstk::TubeReader::igstkEventMacro | ( | TubeReaderEvent | , |
ObjectReaderEvent | |||
) |
Event type.
ObjectReadingErrorEvent igstk::TubeReader::igstkLoadedObjectEventMacro | ( | TubeModifiedEvent | , |
TubeReaderEvent | , | ||
TubeType | |||
) |
Declare the TubeReaderToTubeSpatialObject class to be a friend in order to give it access to the private method GetITKTubeSpatialObject().
|
protectedvirtual |
Print the object information in a stream.
Reimplemented from igstk::Object.
|
protectedvirtual |
This method request Object read.
This method is intended to be invoked ONLY by the State Machine of the superclass.
Reimplemented from igstk::SpatialObjectReader< 3 >.
|
protectedvirtual |
This method will invoke the TubeModifiedEvent.
Reimplemented from igstk::SpatialObjectReader< 3 >.
|
protected |
Connect the ITK TubeSpatialObject to the output TubeSpatialObject.
igstkStandardClassTraitsMacro ( TubeReader, SpatialObjectReader<3> ) public typedef Superclass::GroupSpatialObjectType igstk::TubeReader::GroupSpatialObjectType |