Slicer
4.11
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
Macros | |
#define | vtkMRMLCopyBeginMacro(sourceNode) |
#define | vtkMRMLCopyBooleanMacro(propertyName) this->Set##propertyName(this->SafeDownCast(copySourceNode)->Get##propertyName()); |
Macro for copying bool node property value. More... | |
#define | vtkMRMLCopyEndMacro() |
This macro must be placed after the last value copying macro. More... | |
#define | vtkMRMLCopyEnumMacro(propertyName) this->Set##propertyName(this->SafeDownCast(copySourceNode)->Get##propertyName()); |
Macro for copying enum node property value. More... | |
#define | vtkMRMLCopyFloatMacro(propertyName) this->Set##propertyName(this->SafeDownCast(copySourceNode)->Get##propertyName()); |
Macro for copying floating-point (float or double) node property value. More... | |
#define | vtkMRMLCopyIntMacro(propertyName) this->Set##propertyName(this->SafeDownCast(copySourceNode)->Get##propertyName()); |
Macro for copying int node property value. More... | |
#define | vtkMRMLCopyOwnedMatrix4x4Macro(propertyName) this->Get##propertyName()->DeepCopy(this->SafeDownCast(copySourceNode)->Get##propertyName()); |
#define | vtkMRMLCopyStdFloatVectorMacro(propertyName) this->Set##propertyName(this->SafeDownCast(copySourceNode)->Get##propertyName()); |
Macro for copying an iterable container (float or double) vector node property value. More... | |
#define | vtkMRMLCopyStdIntVectorMacro(propertyName) this->Set##propertyName(this->SafeDownCast(copySourceNode)->Get##propertyName()); |
Macro for copying an iterable container (int) vector node property value. More... | |
#define | vtkMRMLCopyStdStringMacro(propertyName) this->Set##propertyName(this->SafeDownCast(copySourceNode)->Get##propertyName()); |
Macro for copying std::string node property value. More... | |
#define | vtkMRMLCopyStdStringVectorMacro(propertyName) this->Set##propertyName(this->SafeDownCast(copySourceNode)->Get##propertyName()); |
Macro for copying an iterable container (of std::string) vector node property value. More... | |
#define | vtkMRMLCopyStringMacro(propertyName) this->Set##propertyName(this->SafeDownCast(copySourceNode)->Get##propertyName()); |
Macro for copying char* node property value. More... | |
#define | vtkMRMLCopyVectorMacro(propertyName, vectorType, vectorSize) |
Macro for copying floating-point (float or double) vector node property value. More... | |
They are To be used in Copy(vtkMRMLNode *anode) method. Arguments of value copying macros:
#define vtkMRMLCopyBeginMacro | ( | sourceNode | ) |
This macro must be placed before the first value copying macro.
sourceNode | pointer to the node where property values will be copied from |
Definition at line 396 of file vtkMRMLNodePropertyMacros.h.
#define vtkMRMLCopyBooleanMacro | ( | propertyName | ) | this->Set##propertyName(this->SafeDownCast(copySourceNode)->Get##propertyName()); |
Macro for copying bool node property value.
Definition at line 412 of file vtkMRMLNodePropertyMacros.h.
#define vtkMRMLCopyEndMacro | ( | ) |
This macro must be placed after the last value copying macro.
Definition at line 403 of file vtkMRMLNodePropertyMacros.h.
#define vtkMRMLCopyEnumMacro | ( | propertyName | ) | this->Set##propertyName(this->SafeDownCast(copySourceNode)->Get##propertyName()); |
Macro for copying enum node property value.
Definition at line 428 of file vtkMRMLNodePropertyMacros.h.
#define vtkMRMLCopyFloatMacro | ( | propertyName | ) | this->Set##propertyName(this->SafeDownCast(copySourceNode)->Get##propertyName()); |
Macro for copying floating-point (float or double) node property value.
Definition at line 432 of file vtkMRMLNodePropertyMacros.h.
#define vtkMRMLCopyIntMacro | ( | propertyName | ) | this->Set##propertyName(this->SafeDownCast(copySourceNode)->Get##propertyName()); |
Macro for copying int node property value.
Definition at line 424 of file vtkMRMLNodePropertyMacros.h.
#define vtkMRMLCopyOwnedMatrix4x4Macro | ( | propertyName | ) | this->Get##propertyName()->DeepCopy(this->SafeDownCast(copySourceNode)->Get##propertyName()); |
Macro for copying a vtkMatrix4x4* property value. "Owned" means that the node owns the matrix, the object is always valid and cannot be replaced from outside (there is no public Set...() method for the matrix).
Definition at line 466 of file vtkMRMLNodePropertyMacros.h.
#define vtkMRMLCopyStdFloatVectorMacro | ( | propertyName | ) | this->Set##propertyName(this->SafeDownCast(copySourceNode)->Get##propertyName()); |
Macro for copying an iterable container (float or double) vector node property value.
Definition at line 452 of file vtkMRMLNodePropertyMacros.h.
#define vtkMRMLCopyStdIntVectorMacro | ( | propertyName | ) | this->Set##propertyName(this->SafeDownCast(copySourceNode)->Get##propertyName()); |
Macro for copying an iterable container (int) vector node property value.
Definition at line 456 of file vtkMRMLNodePropertyMacros.h.
#define vtkMRMLCopyStdStringMacro | ( | propertyName | ) | this->Set##propertyName(this->SafeDownCast(copySourceNode)->Get##propertyName()); |
Macro for copying std::string node property value.
Definition at line 420 of file vtkMRMLNodePropertyMacros.h.
#define vtkMRMLCopyStdStringVectorMacro | ( | propertyName | ) | this->Set##propertyName(this->SafeDownCast(copySourceNode)->Get##propertyName()); |
Macro for copying an iterable container (of std::string) vector node property value.
Definition at line 460 of file vtkMRMLNodePropertyMacros.h.
#define vtkMRMLCopyStringMacro | ( | propertyName | ) | this->Set##propertyName(this->SafeDownCast(copySourceNode)->Get##propertyName()); |
Macro for copying char* node property value.
Definition at line 416 of file vtkMRMLNodePropertyMacros.h.
#define vtkMRMLCopyVectorMacro | ( | propertyName, | |
vectorType, | |||
vectorSize | |||
) |
Macro for copying floating-point (float or double) vector node property value.
Definition at line 436 of file vtkMRMLNodePropertyMacros.h.