ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkMetaConverterBase.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef MetaObject | MetaObjectType |
typedef SmartPointer< Self > | Pointer |
typedef MetaConverterBase | Self |
typedef SpatialObjectType::Pointer | SpatialObjectPointer |
typedef SpatialObject< VDimension > | SpatialObjectType |
typedef Object | Superclass |
Public Member Functions | |
virtual const char * | GetNameOfClass () const |
bool | GetWriteImagesInSeparateFile () |
virtual SpatialObjectPointer | MetaObjectToSpatialObject (const MetaObjectType *mo)=0 |
virtual SpatialObjectPointer | ReadMeta (const char *name) |
void | SetWriteImagesInSeparateFile (bool writeImagesInSeparateFile) |
virtual MetaObjectType * | SpatialObjectToMetaObject (const SpatialObjectType *spatialObject)=0 |
virtual bool | WriteMeta (const SpatialObjectType *spatialObject, const char *name) |
bool | m_WriteImagesInSeparateFile |
virtual MetaObjectType * | CreateMetaObject ()=0 |
MetaConverterBase () |
Base class for MetaObject<->SpatialObject converters.
SpatialObject scenes are written and read using the MetaIO Library. This is managed by the MetaSceneConverter class, which converts MetaObject scenes to SpatialObject scenes and vice versa.
MetaScene walks the scene and uses the converter on each object in the scene.
Definition at line 41 of file itkMetaConverterBase.h.
typedef SmartPointer< const Self > itk::MetaConverterBase< VDimension >::ConstPointer |
Reimplemented from itk::Object.
Reimplemented in itk::MetaFEMObjectConverter< NDimensions >, itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >, itk::MetaImageConverter< NDimensions, unsigned char, ImageMaskSpatialObject< NDimensions > >, itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >, itk::MetaVesselTubeConverter< NDimensions >, itk::MetaImageMaskConverter< NDimensions >, itk::MetaContourConverter< NDimensions >, itk::MetaArrowConverter< NDimensions >, itk::MetaBlobConverter< NDimensions >, itk::MetaDTITubeConverter< NDimensions >, itk::MetaEllipseConverter< NDimensions >, itk::MetaGaussianConverter< NDimensions >, itk::MetaGroupConverter< NDimensions >, itk::MetaLandmarkConverter< NDimensions >, itk::MetaLineConverter< NDimensions >, itk::MetaSurfaceConverter< NDimensions >, and itk::MetaTubeConverter< NDimensions >.
Definition at line 48 of file itkMetaConverterBase.h.
typedef MetaObject itk::MetaConverterBase< VDimension >::MetaObjectType |
Reimplemented in itk::MetaFEMObjectConverter< NDimensions >, itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >, itk::MetaImageConverter< NDimensions, unsigned char, ImageMaskSpatialObject< NDimensions > >, itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >, itk::MetaVesselTubeConverter< NDimensions >, itk::MetaContourConverter< NDimensions >, itk::MetaArrowConverter< NDimensions >, itk::MetaBlobConverter< NDimensions >, itk::MetaDTITubeConverter< NDimensions >, itk::MetaEllipseConverter< NDimensions >, itk::MetaGaussianConverter< NDimensions >, itk::MetaGroupConverter< NDimensions >, itk::MetaLandmarkConverter< NDimensions >, itk::MetaLineConverter< NDimensions >, itk::MetaSurfaceConverter< NDimensions >, and itk::MetaTubeConverter< NDimensions >.
Definition at line 55 of file itkMetaConverterBase.h.
typedef SmartPointer< Self > itk::MetaConverterBase< VDimension >::Pointer |
Reimplemented from itk::Object.
Reimplemented in itk::MetaFEMObjectConverter< NDimensions >, itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >, itk::MetaImageConverter< NDimensions, unsigned char, ImageMaskSpatialObject< NDimensions > >, itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >, itk::MetaVesselTubeConverter< NDimensions >, itk::MetaImageMaskConverter< NDimensions >, itk::MetaContourConverter< NDimensions >, itk::MetaArrowConverter< NDimensions >, itk::MetaBlobConverter< NDimensions >, itk::MetaDTITubeConverter< NDimensions >, itk::MetaEllipseConverter< NDimensions >, itk::MetaGaussianConverter< NDimensions >, itk::MetaGroupConverter< NDimensions >, itk::MetaLandmarkConverter< NDimensions >, itk::MetaLineConverter< NDimensions >, itk::MetaSurfaceConverter< NDimensions >, and itk::MetaTubeConverter< NDimensions >.
Definition at line 47 of file itkMetaConverterBase.h.
typedef MetaConverterBase itk::MetaConverterBase< VDimension >::Self |
standard class typedefs
Reimplemented from itk::Object.
Reimplemented in itk::MetaFEMObjectConverter< NDimensions >, itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >, itk::MetaImageConverter< NDimensions, unsigned char, ImageMaskSpatialObject< NDimensions > >, itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >, itk::MetaVesselTubeConverter< NDimensions >, itk::MetaImageMaskConverter< NDimensions >, itk::MetaContourConverter< NDimensions >, itk::MetaArrowConverter< NDimensions >, itk::MetaBlobConverter< NDimensions >, itk::MetaDTITubeConverter< NDimensions >, itk::MetaEllipseConverter< NDimensions >, itk::MetaGaussianConverter< NDimensions >, itk::MetaGroupConverter< NDimensions >, itk::MetaLandmarkConverter< NDimensions >, itk::MetaLineConverter< NDimensions >, itk::MetaSurfaceConverter< NDimensions >, and itk::MetaTubeConverter< NDimensions >.
Definition at line 45 of file itkMetaConverterBase.h.
typedef SpatialObjectType::Pointer itk::MetaConverterBase< VDimension >::SpatialObjectPointer |
Reimplemented in itk::MetaFEMObjectConverter< NDimensions >, itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >, itk::MetaImageConverter< NDimensions, unsigned char, ImageMaskSpatialObject< NDimensions > >, itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >, itk::MetaVesselTubeConverter< NDimensions >, itk::MetaContourConverter< NDimensions >, itk::MetaArrowConverter< NDimensions >, itk::MetaBlobConverter< NDimensions >, itk::MetaDTITubeConverter< NDimensions >, itk::MetaEllipseConverter< NDimensions >, itk::MetaGaussianConverter< NDimensions >, itk::MetaGroupConverter< NDimensions >, itk::MetaLandmarkConverter< NDimensions >, itk::MetaLineConverter< NDimensions >, itk::MetaSurfaceConverter< NDimensions >, and itk::MetaTubeConverter< NDimensions >.
Definition at line 54 of file itkMetaConverterBase.h.
typedef SpatialObject<VDimension> itk::MetaConverterBase< VDimension >::SpatialObjectType |
Reimplemented in itk::MetaFEMObjectConverter< NDimensions >, itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >, itk::MetaImageConverter< NDimensions, unsigned char, ImageMaskSpatialObject< NDimensions > >, itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >, itk::MetaVesselTubeConverter< NDimensions >, itk::MetaContourConverter< NDimensions >, itk::MetaArrowConverter< NDimensions >, itk::MetaBlobConverter< NDimensions >, itk::MetaDTITubeConverter< NDimensions >, itk::MetaEllipseConverter< NDimensions >, itk::MetaGaussianConverter< NDimensions >, itk::MetaGroupConverter< NDimensions >, itk::MetaLandmarkConverter< NDimensions >, itk::MetaLineConverter< NDimensions >, itk::MetaSurfaceConverter< NDimensions >, and itk::MetaTubeConverter< NDimensions >.
Definition at line 51 of file itkMetaConverterBase.h.
typedef Object itk::MetaConverterBase< VDimension >::Superclass |
Reimplemented from itk::Object.
Reimplemented in itk::MetaFEMObjectConverter< NDimensions >, itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >, itk::MetaImageConverter< NDimensions, unsigned char, ImageMaskSpatialObject< NDimensions > >, itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >, itk::MetaVesselTubeConverter< NDimensions >, itk::MetaImageMaskConverter< NDimensions >, itk::MetaContourConverter< NDimensions >, itk::MetaArrowConverter< NDimensions >, itk::MetaBlobConverter< NDimensions >, itk::MetaDTITubeConverter< NDimensions >, itk::MetaEllipseConverter< NDimensions >, itk::MetaGaussianConverter< NDimensions >, itk::MetaGroupConverter< NDimensions >, itk::MetaLandmarkConverter< NDimensions >, itk::MetaLineConverter< NDimensions >, itk::MetaSurfaceConverter< NDimensions >, and itk::MetaTubeConverter< NDimensions >.
Definition at line 46 of file itkMetaConverterBase.h.
itk::MetaConverterBase< VDimension >::MetaConverterBase | ( | ) | [inline, protected] |
Creator for specific metaObject, defined in subclass
Definition at line 78 of file itkMetaConverterBase.h.
virtual MetaObjectType* itk::MetaConverterBase< VDimension >::CreateMetaObject | ( | ) | [protected, pure virtual] |
Creator for specific metaObject, defined in subclass
Implemented in itk::MetaFEMObjectConverter< NDimensions >, itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >, itk::MetaImageConverter< NDimensions, unsigned char, ImageMaskSpatialObject< NDimensions > >, itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >, itk::MetaVesselTubeConverter< NDimensions >, itk::MetaBlobConverter< NDimensions >, itk::MetaContourConverter< NDimensions >, itk::MetaArrowConverter< NDimensions >, itk::MetaDTITubeConverter< NDimensions >, itk::MetaEllipseConverter< NDimensions >, itk::MetaGaussianConverter< NDimensions >, itk::MetaGroupConverter< NDimensions >, itk::MetaLandmarkConverter< NDimensions >, itk::MetaLineConverter< NDimensions >, itk::MetaSurfaceConverter< NDimensions >, and itk::MetaTubeConverter< NDimensions >.
virtual const char* itk::MetaConverterBase< VDimension >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::Object.
Reimplemented in itk::MetaFEMObjectConverter< NDimensions >, itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >, itk::MetaImageConverter< NDimensions, unsigned char, ImageMaskSpatialObject< NDimensions > >, itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >, itk::MetaVesselTubeConverter< NDimensions >, itk::MetaImageMaskConverter< NDimensions >, itk::MetaContourConverter< NDimensions >, itk::MetaArrowConverter< NDimensions >, itk::MetaBlobConverter< NDimensions >, itk::MetaDTITubeConverter< NDimensions >, itk::MetaEllipseConverter< NDimensions >, itk::MetaGaussianConverter< NDimensions >, itk::MetaGroupConverter< NDimensions >, itk::MetaLandmarkConverter< NDimensions >, itk::MetaLineConverter< NDimensions >, itk::MetaSurfaceConverter< NDimensions >, and itk::MetaTubeConverter< NDimensions >.
bool itk::MetaConverterBase< VDimension >::GetWriteImagesInSeparateFile | ( | ) |
virtual SpatialObjectPointer itk::MetaConverterBase< VDimension >::MetaObjectToSpatialObject | ( | const MetaObjectType * | mo | ) | [pure virtual] |
Convert the MetaObject to Spatial Object
Implemented in itk::MetaImageConverter< NDimensions, unsigned char, ImageMaskSpatialObject< NDimensions > >.
virtual SpatialObjectPointer itk::MetaConverterBase< VDimension >::ReadMeta | ( | const char * | name | ) | [virtual] |
Read a MetaIO file, return a SpatialObject
void itk::MetaConverterBase< VDimension >::SetWriteImagesInSeparateFile | ( | bool | writeImagesInSeparateFile | ) |
Set/Get flag for writing images to separate files in metaImage instances
virtual MetaObjectType* itk::MetaConverterBase< VDimension >::SpatialObjectToMetaObject | ( | const SpatialObjectType * | spatialObject | ) | [pure virtual] |
Convert the SpatialObject to MetaObject
Implemented in itk::MetaImageConverter< NDimensions, unsigned char, ImageMaskSpatialObject< NDimensions > >.
virtual bool itk::MetaConverterBase< VDimension >::WriteMeta | ( | const SpatialObjectType * | spatialObject, |
const char * | name | ||
) | [virtual] |
Write a MetaIO file based on this SpatialObject
bool itk::MetaConverterBase< VDimension >::m_WriteImagesInSeparateFile [private] |
Creator for specific metaObject, defined in subclass
Definition at line 81 of file itkMetaConverterBase.h.