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

#include <itkMetaMeshConverter.h>

+ Inheritance diagram for itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >:
+ Collaboration diagram for itk::MetaMeshConverter< NDimensions, 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, NDimensions, TMeshTraits >
 
using MetaObjectType = typename Superclass::MetaObjectType
 
using Pointer = SmartPointer< Self >
 
using Self = MetaMeshConverter
 
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
 
MetaObjectTypeSpatialObjectToMetaObject (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 MetaObjectTypeSpatialObjectToMetaObject (const SpatialObjectType *spatialObject)=0
 
virtual bool WriteMeta (const SpatialObjectType *spatialObject, const char *name)
 
virtual void SetWriteImagesInSeparateFile (bool _arg)
 
virtual bool GetWriteImagesInSeparateFile () const
 
virtual void WriteImagesInSeparateFileOn ()
 
virtual void WriteImagesInSeparateFileOff ()
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
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)
 
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
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

MetaObjectTypeCreateMetaObject () override
 
 MetaMeshConverter ()=default
 
 ~MetaMeshConverter () override=default
 
- Protected Member Functions inherited from itk::MetaConverterBase< NDimensions >
 MetaConverterBase ()=default
 
 ~MetaConverterBase () override=default
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
 ~Object () override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
- 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
 

Detailed Description

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

converts between MetaObject<->SpatialObject.

See also
MetaConverterBase

Definition at line 37 of file itkMetaMeshConverter.h.

Member Typedef Documentation

◆ ConstPointer

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

Definition at line 46 of file itkMetaMeshConverter.h.

◆ MeshMetaObjectType

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

Definition at line 63 of file itkMetaMeshConverter.h.

◆ MeshSpatialObjectConstPointer

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

Definition at line 62 of file itkMetaMeshConverter.h.

◆ MeshSpatialObjectPointer

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

Definition at line 61 of file itkMetaMeshConverter.h.

◆ MeshSpatialObjectType

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

Definition at line 60 of file itkMetaMeshConverter.h.

◆ MeshType

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

Specific class types for conversion

Definition at line 59 of file itkMetaMeshConverter.h.

◆ MetaObjectType

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

Definition at line 56 of file itkMetaMeshConverter.h.

◆ Pointer

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

Definition at line 45 of file itkMetaMeshConverter.h.

◆ Self

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

Standard class type aliases

Definition at line 43 of file itkMetaMeshConverter.h.

◆ SpatialObjectPointer

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

Definition at line 55 of file itkMetaMeshConverter.h.

◆ SpatialObjectType

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

Definition at line 54 of file itkMetaMeshConverter.h.

◆ Superclass

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

Definition at line 44 of file itkMetaMeshConverter.h.

Constructor & Destructor Documentation

◆ MetaMeshConverter()

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

◆ ~MetaMeshConverter()

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

Member Function Documentation

◆ CreateAnother()

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits<PixelType, NDimensions, NDimensions>>
virtual::itk::LightObject::Pointer itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >::CreateAnother ( ) const
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.

◆ CreateMetaObject()

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

Create the specific MetaObject for this class

Implements itk::MetaConverterBase< NDimensions >.

◆ GetNameOfClass()

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits<PixelType, NDimensions, NDimensions>>
virtual const char* itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::MetaConverterBase< NDimensions >.

◆ MetaObjectToSpatialObject()

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

Convert the MetaObject to Spatial Object

◆ New()

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

Method for creation through the object factory.

◆ SpatialObjectToMetaObject()

template<unsigned int NDimensions = 3, typename PixelType = unsigned char, typename TMeshTraits = DefaultStaticMeshTraits<PixelType, NDimensions, NDimensions>>
MetaObjectType* itk::MetaMeshConverter< NDimensions, PixelType, TMeshTraits >::SpatialObjectToMetaObject ( const SpatialObjectType spatialObject)
override

Convert the SpatialObject to MetaObject


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