|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
#include <itkObject.h>#include <mitkConfig.h>#include <mitkExceptionMacro.h>#include <mitkGetClassHierarchy.h>#include <mitkLog.h>Go to the source code of this file.
Macros | |
| #define | mitkClassMacro(className, SuperClassName) |
| #define | mitkClassMacroItkParent(className, SuperClassName) |
| #define | mitkClassMacroNoParent(className) |
| #define | mitkNewMacro1Param(classname, type) |
| #define | mitkNewMacro2Param(classname, typea, typeb) |
| #define | mitkNewMacro3Param(classname, typea, typeb, typec) |
| #define | mitkNewMacro4Param(classname, typea, typeb, typec, typed) |
| #define | mitkNewMacro5Param(classname, typea, typeb, typec, typed, typee) |
| #define | mitkNewMacro6Param(classname, typea, typeb, typec, typed, typee, typef) |
| #define | mitkGetObjectMacroConst(name, type) |
| #define | mitkCloneMacro(classname) |
| #define | mitkOverrideSetStringMacro(name) |
| #define | mitkOverrideGetStringMacro(name) |
| #define | mitkOverrideSetConstObjectMacro(name, type) |
| #define | mitkOverrideGetConstObjectMacro(name, type) |
| #define | MITK_EXPORT |
| #define | MITK_IMPORT |
| #define | MITK_LOCAL |
Typedefs | |
| typedef unsigned int | MapperSlotId |
| #define MITK_EXPORT |
Mark templates as exported to generate public RTTI symbols which are needed for GCC and Clang to support e.g. dynamic_cast between DSOs.
Definition at line 222 of file mitkCommon.h.
| #define MITK_IMPORT |
Definition at line 223 of file mitkCommon.h.
| #define MITK_LOCAL |
Definition at line 224 of file mitkCommon.h.
| #define mitkClassMacro | ( | className, | |
| SuperClassName | |||
| ) |
From ITK 4.7 version, the TypeMacro overrides (by using the explicit attribute) the GetNameOfClass hence the SuperClass must provide one.
If not, use the mitkClassMacroNoParent version
Definition at line 30 of file mitkCommon.h.
| #define mitkClassMacroItkParent | ( | className, | |
| SuperClassName | |||
| ) |
Definition at line 39 of file mitkCommon.h.
| #define mitkClassMacroNoParent | ( | className | ) |
At version 4.7 provides two type macros, the normal one expects the Superclass to provide the GetNameOfClass explicitly, the NoParent deos not expect anything.
Definition at line 51 of file mitkCommon.h.
| #define mitkCloneMacro | ( | classname | ) |
Creates a Clone() method for "Classname". Returns a smartPtr of a clone of the calling object
Definition at line 148 of file mitkCommon.h.
| #define mitkGetObjectMacroConst | ( | name, | |
| type | |||
| ) |
Get a smart const pointer to an object. Creates the member Get"name"() (e.g., GetPoints()).
Definition at line 139 of file mitkCommon.h.
| #define mitkNewMacro1Param | ( | classname, | |
| type | |||
| ) |
Macro for Constructors with one parameter for classes derived from itk::Lightobject
Definition at line 62 of file mitkCommon.h.
| #define mitkNewMacro2Param | ( | classname, | |
| typea, | |||
| typeb | |||
| ) |
Macro for Constructors with two parameters for classes derived from itk::Lightobject
Definition at line 75 of file mitkCommon.h.
| #define mitkNewMacro3Param | ( | classname, | |
| typea, | |||
| typeb, | |||
| typec | |||
| ) |
Macro for Constructors with three parameters for classes derived from itk::Lightobject
Definition at line 88 of file mitkCommon.h.
| #define mitkNewMacro4Param | ( | classname, | |
| typea, | |||
| typeb, | |||
| typec, | |||
| typed | |||
| ) |
Macro for Constructors with four parameters for classes derived from itk::Lightobject
Definition at line 101 of file mitkCommon.h.
| #define mitkNewMacro5Param | ( | classname, | |
| typea, | |||
| typeb, | |||
| typec, | |||
| typed, | |||
| typee | |||
| ) |
Macro for Constructors with five parameters for classes derived from itk::Lightobject
Definition at line 114 of file mitkCommon.h.
| #define mitkNewMacro6Param | ( | classname, | |
| typea, | |||
| typeb, | |||
| typec, | |||
| typed, | |||
| typee, | |||
| typef | |||
| ) |
Macro for Constructors with six parameters for classes derived from itk::Lightobject
Definition at line 127 of file mitkCommon.h.
| #define mitkOverrideGetConstObjectMacro | ( | name, | |
| type | |||
| ) |
Definition at line 205 of file mitkCommon.h.
| #define mitkOverrideGetStringMacro | ( | name | ) |
Definition at line 189 of file mitkCommon.h.
| #define mitkOverrideSetConstObjectMacro | ( | name, | |
| type | |||
| ) |
Definition at line 193 of file mitkCommon.h.
| #define mitkOverrideSetStringMacro | ( | name | ) |
Override-aware counterparts of the ITK property macros.
Use these in subclasses that implement a string / const-object property whose signature is already declared as a virtual method by a base class (e.g. a pure virtual GetFileName() = 0). ITK's own itkSet/GetStringMacro and itkSet/GetConstObjectMacro expand to virtual methods without an explicit override keyword, which Apple Clang flags under -Winconsistent-missing-override. Rather than suppress the warning at every call site, these macros reimplement the ITK expansions so the override keyword is part of the method declaration.
Definition at line 169 of file mitkCommon.h.
| typedef unsigned int MapperSlotId |
Definition at line 23 of file mitkCommon.h.