MeVisLab Toolbox Reference
|
Helper class to have a common base class for all derived wrapper. More...
#include <mlITKMLBaseWrapper.h>
Public Member Functions | |
ITKWrapperBase () | |
Private on purpose to avoid instantiations. | |
void | setITKPointer (itk::LightObject::Pointer obj) |
template<class T > | |
T::Pointer | getITKPointer () |
![]() | |
Base () | |
Constructor. | |
virtual | ~Base () |
Destructor. | |
virtual Base * | deepCopy () const |
Creates a deep copy of the given object. | |
bool | isOfAllowedType (const std::vector< const RuntimeType * > &types) const |
Checks whether this object's type is equal to or derived from one of the types given in the argument. | |
virtual bool | isRefCountedBase () const |
Returns whether the instance is derived from RefCountedBase. | |
virtual std::string | detailString () const |
Returns a string describing this object. | |
virtual bool | implementsPersistence (PersistenceInterface) const |
Override this method to declare which persistence interfaces are implemented by your derived class. | |
virtual std::string | persistentState () const |
Returns a string describing the object's internal state. | |
virtual void | setPersistentState (const std::string &state) |
Restores the object's internal state from a string that had been previously generated using persistentState(). | |
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 |
Writes the objects state to the data stream object. | |
virtual void | readFrom (AbstractPersistenceInputStream *, int) |
Reads the objects state from the data stream object. | |
Protected Member Functions | |
ML_ABSTRACT_CLASS_HEADER (ITKWrapperBase) | |
Register this class abstractly. | |
Additional Inherited Members | |
![]() | |
enum | PersistenceInterface { PersistenceByString , PersistenceByTreeNode , PersistenceByStream } |
This enum describes the different persistence interfaces available. More... | |
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.
|
inline |
Private on purpose to avoid instantiations.
Definition at line 33 of file mlITKMLBaseWrapper.h.
Definition at line 41 of file mlITKMLBaseWrapper.h.
References T.
|
protected |
Register this class abstractly.
|
inline |
Definition at line 35 of file mlITKMLBaseWrapper.h.
References mlrange_cast().