MeVisLab Toolbox Reference
ml::ITKWrapperBase Class Reference

#include <mlITKMLBaseWrapper.h>

Inheritance diagram for ml::ITKWrapperBase:
ml::Base

Public Member Functions

 ITKWrapperBase ()
 Private on purpose to avoid instantiations.
void setITKPointer (itk::LightObject::Pointer obj)
template<class T>
T::Pointer getITKPointer ()
Public Member Functions inherited from ml::Base
 Base ()
 Constructor.
virtual ~Base ()
 Destructor.
virtual BasedeepCopy () const
bool isOfAllowedType (const std::vector< const RuntimeType * > &types) const
virtual bool isRefCountedBase () const
 Returns whether the instance is derived from RefCountedBase.
virtual std::string detailString () const
virtual bool implementsPersistence (PersistenceInterface) const
virtual std::string persistentState () const
 Returns a string describing the object's internal state.
virtual void setPersistentState (const std::string &state)
virtual void addStateToTree (TreeNode *) const
 Attaches the object state as children of the given parent node.
virtual void readStateFromTree (TreeNode *)
 Reads the object state from the children of the given parent node.
virtual void writeTo (AbstractPersistenceOutputStream *) const
virtual void readFrom (AbstractPersistenceInputStream *, int)

Protected Member Functions

 ML_ABSTRACT_CLASS_HEADER (ITKWrapperBase)
 Register this class abstractly.

Additional Inherited Members

Public Types inherited from ml::Base
enum  PersistenceInterface { PersistenceByString , PersistenceByTreeNode , PersistenceByStream }
 This enum describes the different persistence interfaces available. More...

Detailed Description

Helper class to have a common base class for all derived wrapper. It is use to distinguish wrappers from other non wrapper base objects.

Definition at line 29 of file mlITKMLBaseWrapper.h.

Constructor & Destructor Documentation

◆ ITKWrapperBase()

ml::ITKWrapperBase::ITKWrapperBase ( )
inline

Private on purpose to avoid instantiations.

Definition at line 33 of file mlITKMLBaseWrapper.h.

Referenced by ML_ABSTRACT_CLASS_HEADER().

Member Function Documentation

◆ getITKPointer()

template<class T>
T::Pointer ml::ITKWrapperBase::getITKPointer ( )
inline

Definition at line 41 of file mlITKMLBaseWrapper.h.

References T.

◆ ML_ABSTRACT_CLASS_HEADER()

ml::ITKWrapperBase::ML_ABSTRACT_CLASS_HEADER ( ITKWrapperBase )
protected

Register this class abstractly.

References ITKWrapperBase().

◆ setITKPointer()

void ml::ITKWrapperBase::setITKPointer ( itk::LightObject::Pointer obj)
inline

Definition at line 35 of file mlITKMLBaseWrapper.h.


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