ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkMetaImageConverter.h>
converts between MetaObject<->SpatialObject.
Definition at line 39 of file itkMetaImageConverter.h.
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | ImageMetaObjectType = MetaImage |
using | ImageSpatialObjectConstPointer = typename ImageSpatialObjectType::ConstPointer |
using | ImageSpatialObjectPointer = typename ImageSpatialObjectType::Pointer |
using | ImageSpatialObjectType = TSpatialObjectType |
using | ImageType = Image< TPixel, NDimensions > |
using | MetaObjectType = typename Superclass::MetaObjectType |
using | Pointer = SmartPointer< Self > |
using | Self = MetaImageConverter |
using | SpatialObjectPointer = typename SpatialObjectType::Pointer |
using | SpatialObjectType = typename Superclass::SpatialObjectType |
using | Superclass = MetaConverterBase< NDimensions > |
Public Types inherited from itk::MetaConverterBase< NDimensions > | |
using | ConstPointer = SmartPointer< const Self > |
using | MetaObjectType = MetaObject |
using | Pointer = SmartPointer< Self > |
using | Self = MetaConverterBase |
using | SpatialObjectPointer = typename SpatialObjectType::Pointer |
using | SpatialObjectType = SpatialObject< VDimension > |
using | Superclass = Object |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
virtual const char * | GetNameOfClass () const |
SpatialObjectPointer | MetaObjectToSpatialObject (const MetaObjectType *mo) override |
MetaObjectType * | SpatialObjectToMetaObject (const SpatialObjectType *spatialObject) override |
Public Member Functions inherited from itk::MetaConverterBase< NDimensions > | |
virtual SpatialObjectPointer | MetaObjectToSpatialObject (const MetaObjectType *mo)=0 |
virtual SpatialObjectPointer | ReadMeta (const char *name) |
virtual MetaObjectType * | SpatialObjectToMetaObject (const SpatialObjectType *spatialObject)=0 |
virtual bool | WriteMeta (const SpatialObjectType *spatialObject, const char *name) |
virtual void | SetWriteImagesInSeparateFile (bool _arg) |
virtual bool | GetWriteImagesInSeparateFile () const |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetReferenceCount (int) override |
void | UnRegister () const noexceptoverride |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
Public Member Functions inherited from itk::LightObject | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Protected Member Functions | |
ImageType::Pointer | AllocateImage (const ImageMetaObjectType *image) |
MetaImageConverter ()=default | |
~MetaImageConverter () override=default | |
MetaObjectType * | CreateMetaObject () override |
virtual const char * | GetMetaObjectSubType () |
Protected Member Functions inherited from itk::MetaConverterBase< NDimensions > | |
MetaConverterBase () | |
~MetaConverterBase ()=default | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual void | SetTimeStamp (const TimeStamp &time) |
~Object () override | |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Additional Inherited Members | |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount |
using itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::ConstPointer = SmartPointer< const Self > |
Definition at line 49 of file itkMetaImageConverter.h.
using itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::ImageMetaObjectType = MetaImage |
Definition at line 65 of file itkMetaImageConverter.h.
using itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::ImageSpatialObjectConstPointer = typename ImageSpatialObjectType::ConstPointer |
Definition at line 64 of file itkMetaImageConverter.h.
using itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::ImageSpatialObjectPointer = typename ImageSpatialObjectType::Pointer |
Definition at line 63 of file itkMetaImageConverter.h.
using itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::ImageSpatialObjectType = TSpatialObjectType |
Specific class types for conversion
Definition at line 62 of file itkMetaImageConverter.h.
using itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::ImageType = Image<TPixel,NDimensions> |
Definition at line 66 of file itkMetaImageConverter.h.
using itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::MetaObjectType = typename Superclass::MetaObjectType |
Definition at line 59 of file itkMetaImageConverter.h.
using itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::Pointer = SmartPointer< Self > |
Definition at line 48 of file itkMetaImageConverter.h.
using itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::Self = MetaImageConverter |
Standard class type aliases
Definition at line 46 of file itkMetaImageConverter.h.
using itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::SpatialObjectPointer = typename SpatialObjectType::Pointer |
Definition at line 58 of file itkMetaImageConverter.h.
using itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::SpatialObjectType = typename Superclass::SpatialObjectType |
Definition at line 57 of file itkMetaImageConverter.h.
using itk::MetaImageConverter< NDimensions, TPixel, TSpatialObjectType >::Superclass = MetaConverterBase< NDimensions > |
Definition at line 47 of file itkMetaImageConverter.h.
|
protecteddefault |
|
overrideprotecteddefault |
|
protected |
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
overrideprotectedvirtual |
Create the specific MetaObject for this class
Implements itk::MetaConverterBase< NDimensions >.
|
protectedvirtual |
Create the specific MetaObject for this class
Reimplemented in itk::MetaImageMaskConverter< NDimensions >.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::MetaConverterBase< NDimensions >.
Reimplemented in itk::MetaImageMaskConverter< NDimensions >.
|
override |
Convert the MetaObject to Spatial Object
|
static |
Method for creation through the object factory.
|
override |
Convert the SpatialObject to MetaObject