ITK  6.0.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
itk::MetaMeshConverter< VDimension, PixelType, TMeshTraits > Class Template Reference

#include <itkMetaMeshConverter.h>

Detailed Description

template<unsigned int VDimension = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits<PixelType, VDimension, VDimension>>
class itk::MetaMeshConverter< VDimension, PixelType, TMeshTraits >

converts between MetaObject<->SpatialObject.

See also
MetaConverterBase

Definition at line 37 of file itkMetaMeshConverter.h.

+ Inheritance diagram for itk::MetaMeshConverter< VDimension, PixelType, TMeshTraits >:
+ Collaboration diagram for itk::MetaMeshConverter< VDimension, PixelType, TMeshTraits >:

Public Types

using ConstPointer = SmartPointer< const Self >
 
using MeshMetaObjectType = MetaMesh
 
using MeshSpatialObjectConstPointer = typename MeshSpatialObjectType::ConstPointer
 
using MeshSpatialObjectPointer = typename MeshSpatialObjectType::Pointer
 
using MeshSpatialObjectType = MeshSpatialObject< MeshType >
 
using MeshType = itk::Mesh< PixelType, VDimension, TMeshTraits >
 
using Pointer = SmartPointer< Self >
 
using Self = MetaMeshConverter
 
using SpatialObjectPointer = typename SpatialObjectType::Pointer
 
using Superclass = MetaConverterBase< VDimension >
 
- Public Types inherited from itk::MetaConverterBase< 3 >
using ConstPointer = SmartPointer< const Self >
 
using MetaObjectType = MetaObject
 
using Pointer = SmartPointer< Self >
 
using Self = MetaConverterBase
 
using SpatialObjectConstPointer = typename SpatialObjectType::ConstPointer
 
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

const char * GetNameOfClass () const override
 
SpatialObjectPointer MetaObjectToSpatialObject (const MetaObjectType *mo) override
 
MetaObjectTypeSpatialObjectToMetaObject (const SpatialObjectType *so) override
 
- Public Member Functions inherited from itk::MetaConverterBase< 3 >
virtual unsigned int GetMetaIOVersion () const
 
const char * GetNameOfClass () const override
 
virtual SpatialObjectPointer MetaObjectToSpatialObject (const MetaObjectType *mo)=0
 
void MetaObjectToSpatialObjectBase (const MetaObjectType *mo, SpatialObjectPointer spatialObject)
 
virtual SpatialObjectPointer ReadMeta (const char *name)
 
virtual void SetMetaIOVersion (unsigned int _arg)
 
virtual MetaObjectTypeSpatialObjectToMetaObject (const SpatialObjectType *spatialObject)=0
 
void SpatialObjectToMetaObjectBase (SpatialObjectConstPointer spatialObject, MetaObjectType *mo)
 
virtual bool WriteMeta (const SpatialObjectType *spatialObject, const char *name)
 
virtual void SetWriteImagesInSeparateFile (bool _arg)
 
virtual bool GetWriteImagesInSeparateFile () const
 
virtual void WriteImagesInSeparateFileOn ()
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *cmd) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
LightObject::Pointer CreateAnother () const override
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
const char * GetNameOfClass () const override
 
virtual const TimeStampGetTimeStamp () 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) const
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
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
Pointer Clone () const
 
virtual Pointer CreateAnother () const
 
virtual void Delete ()
 
virtual const char * GetNameOfClass () const
 
virtual int GetReferenceCount () const
 
void Print (std::ostream &os, Indent indent=0) const
 
virtual void Register () const
 
virtual void SetReferenceCount (int)
 
virtual void UnRegister () const noexcept
 

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 val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

MetaObjectTypeCreateMetaObject () override
 
 MetaMeshConverter ()=default
 
 ~MetaMeshConverter () override=default
 
- Protected Member Functions inherited from itk::MetaConverterBase< 3 >
virtual MetaObjectTypeCreateMetaObject ()=0
 
 MetaConverterBase ()=default
 
 ~MetaConverterBase () override=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 &timeStamp)
 
 ~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 PrintSelf (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 {}
 

Member Typedef Documentation

◆ ConstPointer

template<unsigned int VDimension = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits<PixelType, VDimension, VDimension>>
using itk::MetaMeshConverter< VDimension, PixelType, TMeshTraits >::ConstPointer = SmartPointer<const Self>

Definition at line 46 of file itkMetaMeshConverter.h.

◆ MeshMetaObjectType

template<unsigned int VDimension = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits<PixelType, VDimension, VDimension>>
using itk::MetaMeshConverter< VDimension, PixelType, TMeshTraits >::MeshMetaObjectType = MetaMesh

Definition at line 63 of file itkMetaMeshConverter.h.

◆ MeshSpatialObjectConstPointer

template<unsigned int VDimension = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits<PixelType, VDimension, VDimension>>
using itk::MetaMeshConverter< VDimension, PixelType, TMeshTraits >::MeshSpatialObjectConstPointer = typename MeshSpatialObjectType::ConstPointer

Definition at line 62 of file itkMetaMeshConverter.h.

◆ MeshSpatialObjectPointer

template<unsigned int VDimension = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits<PixelType, VDimension, VDimension>>
using itk::MetaMeshConverter< VDimension, PixelType, TMeshTraits >::MeshSpatialObjectPointer = typename MeshSpatialObjectType::Pointer

Definition at line 61 of file itkMetaMeshConverter.h.

◆ MeshSpatialObjectType

template<unsigned int VDimension = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits<PixelType, VDimension, VDimension>>
using itk::MetaMeshConverter< VDimension, PixelType, TMeshTraits >::MeshSpatialObjectType = MeshSpatialObject<MeshType>

Definition at line 60 of file itkMetaMeshConverter.h.

◆ MeshType

template<unsigned int VDimension = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits<PixelType, VDimension, VDimension>>
using itk::MetaMeshConverter< VDimension, PixelType, TMeshTraits >::MeshType = itk::Mesh<PixelType, VDimension, TMeshTraits>

Specific class types for conversion

Definition at line 59 of file itkMetaMeshConverter.h.

◆ Pointer

template<unsigned int VDimension = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits<PixelType, VDimension, VDimension>>
using itk::MetaMeshConverter< VDimension, PixelType, TMeshTraits >::Pointer = SmartPointer<Self>

Definition at line 45 of file itkMetaMeshConverter.h.

◆ Self

template<unsigned int VDimension = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits<PixelType, VDimension, VDimension>>
using itk::MetaMeshConverter< VDimension, PixelType, TMeshTraits >::Self = MetaMeshConverter

Standard class type aliases

Definition at line 43 of file itkMetaMeshConverter.h.

◆ SpatialObjectPointer

template<unsigned int VDimension = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits<PixelType, VDimension, VDimension>>
using itk::MetaMeshConverter< VDimension, PixelType, TMeshTraits >::SpatialObjectPointer = typename SpatialObjectType::Pointer

Definition at line 55 of file itkMetaMeshConverter.h.

◆ Superclass

template<unsigned int VDimension = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits<PixelType, VDimension, VDimension>>
using itk::MetaMeshConverter< VDimension, PixelType, TMeshTraits >::Superclass = MetaConverterBase<VDimension>

Definition at line 44 of file itkMetaMeshConverter.h.

Constructor & Destructor Documentation

◆ MetaMeshConverter()

template<unsigned int VDimension = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits<PixelType, VDimension, VDimension>>
itk::MetaMeshConverter< VDimension, PixelType, TMeshTraits >::MetaMeshConverter ( )
protecteddefault

◆ ~MetaMeshConverter()

template<unsigned int VDimension = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits<PixelType, VDimension, VDimension>>
itk::MetaMeshConverter< VDimension, PixelType, TMeshTraits >::~MetaMeshConverter ( )
overrideprotecteddefault

Member Function Documentation

◆ CreateMetaObject()

template<unsigned int VDimension = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits<PixelType, VDimension, VDimension>>
MetaObjectType * itk::MetaMeshConverter< VDimension, PixelType, TMeshTraits >::CreateMetaObject ( )
overrideprotectedvirtual

Create the specific MetaObject for this class

Implements itk::MetaConverterBase< 3 >.

◆ GetNameOfClass()

template<unsigned int VDimension = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits<PixelType, VDimension, VDimension>>
const char * itk::MetaMeshConverter< VDimension, PixelType, TMeshTraits >::GetNameOfClass ( ) const
overridevirtual
See also
LightObject::GetNameOfClass()

Reimplemented from itk::Object.

◆ MetaObjectToSpatialObject()

template<unsigned int VDimension = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits<PixelType, VDimension, VDimension>>
SpatialObjectPointer itk::MetaMeshConverter< VDimension, PixelType, TMeshTraits >::MetaObjectToSpatialObject ( const MetaObjectType mo)
overridevirtual

Convert the MetaObject to Spatial Object

Implements itk::MetaConverterBase< 3 >.

◆ New()

template<unsigned int VDimension = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits<PixelType, VDimension, VDimension>>
static Pointer itk::MetaMeshConverter< VDimension, PixelType, TMeshTraits >::New ( )
static

Method for creation through the object factory.

◆ SpatialObjectToMetaObject()

template<unsigned int VDimension = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits<PixelType, VDimension, VDimension>>
MetaObjectType * itk::MetaMeshConverter< VDimension, PixelType, TMeshTraits >::SpatialObjectToMetaObject ( const SpatialObjectType so)
overridevirtual

Convert the SpatialObject to MetaObject

Implements itk::MetaConverterBase< 3 >.


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