17 #ifndef __igstkTubeReader_h
18 #define __igstkTubeReader_h
23 #include "itkSpatialObjectReader.h"
24 #include "itkObject.h"
25 #include "itkEventObject.h"
28 #include "itkTubeSpatialObject.h"
49 template <
class TReader,
class TTubeSpatialObject >
52 TTubeSpatialObject * tubeSpatialObject )
54 tubeSpatialObject->SetTubeSpatialObject(
55 reader->GetITKTubeSpatialObject());
111 void PrintSelf( std::ostream& os, itk::Indent indent ) const;
125 TubeReader(const
Self&);
126 void operator=(const Self&);
138 #endif // __igstkTubeReader_h
void ReportObjectProcessing()
This method will invoke the TubeModifiedEvent.
#define igstkFriendClassMacro(type)
Create a Macro for friend class.
igstkLoadedObjectEventMacro(SpatialObjectModifiedEvent, IGSTKEvent, SpatialObject)
Event to be invoked when the state of the SpatialObject changes.
void ConnectTube()
Connect the ITK TubeSpatialObject to the output TubeSpatialObject.
This class reads spatial object data stored in files.
itk::TubeSpatialObject< 3 > TubeSpatialObjectType
Base class for all the IGSTK classes.
#define igstkStandardClassTraitsMacro(classname, superclassname)
Convenience macro for traits of a non-templated class.
static void ConnectTube(TReader *reader, TTubeSpatialObject *tubeSpatialObject)
void PrintSelf(std::ostream &os, itk::Indent indent) const
Print the object information in a stream.
defines standard system-wide macros, constants, and other common parameters in the IGSTK Library...
This class represents a Tube object.
::itk::SmartPointer< Self > Pointer
Superclass::SpatialObjectType SpatialObjectType
Macro with standard traits declarations.
This class is intended to make the connection between the TubeReader and its output, the TubeSpatialObject.
This class reads 3D Tube in the metaIO format.
SpatialObjectType::ConstPointer SpatialObjectTypeConstPointer
igstkEventMacro(ObjectReaderEvent, IGSTKEvent)
Superclass::GroupSpatialObjectType GroupSpatialObjectType
igstk::TubeObject TubeType
void AttemptReadObjectProcessing()
This method request Object read.