Slicer
4.11
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <sstream>
#include <vtksys/SystemTools.hxx>
Go to the source code of this file.
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... | |
#define | vtkMRMLPrintBeginMacro(os, indent) |
#define | vtkMRMLPrintBooleanMacro(propertyName) printOutputStream << printOutputIndent << #propertyName ": " << (this->Get##propertyName() ? "true" : "false") << "\n"; |
Macro for printing bool node property value. More... | |
#define | vtkMRMLPrintEndMacro() } |
This macro must be placed after the last value printing macro. More... | |
#define | vtkMRMLPrintEnumMacro(propertyName) printOutputStream << printOutputIndent << #propertyName ": " << (Get##propertyName##AsString(Get##propertyName())) << "\n"; |
Macro for printing enum node property value. More... | |
#define | vtkMRMLPrintFloatMacro(propertyName) printOutputStream << printOutputIndent << #propertyName ": " << this->Get##propertyName() << "\n"; |
Macro for printing floating-point (float or double) node property value. More... | |
#define | vtkMRMLPrintIntMacro(propertyName) printOutputStream << printOutputIndent << #propertyName ": " << this->Get##propertyName() << "\n"; |
Macro for printing int node property value. More... | |
#define | vtkMRMLPrintMatrix4x4Macro(propertyName) |
#define | vtkMRMLPrintObjectMacro(propertyName) |
#define | vtkMRMLPrintStdFloatVectorMacro(propertyName, vectorType) |
Macro for printing an iterable container (float or double) node property value. More... | |
#define | vtkMRMLPrintStdIntVectorMacro(propertyName, vectorType) |
Macro for printing an iterable container (int) node property value. More... | |
#define | vtkMRMLPrintStdStringMacro(propertyName) printOutputStream << printOutputIndent << #propertyName ": " << this->Get##propertyName() << "\n"; |
Macro for printing std::string node property value. More... | |
#define | vtkMRMLPrintStdStringVectorMacro(propertyName, vectorType) |
Macro for printing iterable container (of std::string) node property value. More... | |
#define | vtkMRMLPrintStringMacro(propertyName) printOutputStream << printOutputIndent << #propertyName ": " << (this->Get##propertyName() != nullptr ? this->Get##propertyName() : "(none)") << "\n"; |
Macro for printing char* node property value. More... | |
#define | vtkMRMLPrintVectorMacro(propertyName, vectorType, vectorSize) |
Macro for printing floating-point (float or double) vector node property value. More... | |
#define | vtkMRMLReadXMLBeginMacro(atts) |
#define | vtkMRMLReadXMLBooleanMacro(xmlAttributeName, propertyName) |
Macro for reading bool node property from XML. More... | |
#define | vtkMRMLReadXMLEndMacro() }}; |
This macro must be placed after the last value reading macro. More... | |
#define | vtkMRMLReadXMLEnumMacro(xmlAttributeName, propertyName) |
#define | vtkMRMLReadXMLFloatMacro(xmlAttributeName, propertyName) |
Macro for reading floating-point (float or double) node property from XML. More... | |
#define | vtkMRMLReadXMLIntMacro(xmlAttributeName, propertyName) |
Macro for reading int node property from XML. More... | |
#define | vtkMRMLReadXMLOwnedMatrix4x4Macro(xmlAttributeName, propertyName) |
#define | vtkMRMLReadXMLStdFloatVectorMacro(xmlAttributeName, propertyName, vectorType) |
Macro for reading an iterable container (float or double) node property from XML. More... | |
#define | vtkMRMLReadXMLStdIntVectorMacro(xmlAttributeName, propertyName, vectorType) |
Macro for reading an iterable container (int) node property from XML. More... | |
#define | vtkMRMLReadXMLStdStringMacro(xmlAttributeName, propertyName) |
#define | vtkMRMLReadXMLStdStringVectorMacro(xmlAttributeName, propertyName, vectorType) |
Macro for reading an iterable container (of std::string) node property from XML. More... | |
#define | vtkMRMLReadXMLStringMacro(xmlAttributeName, propertyName) |
#define | vtkMRMLReadXMLVectorMacro(xmlAttributeName, propertyName, vectorType, vectorSize) |
Macro for reading floating-point (float or double) vector node property from XML. More... | |
#define | vtkMRMLWriteXMLBeginMacro(of) |
#define | vtkMRMLWriteXMLBooleanMacro(xmlAttributeName, propertyName) xmlWriteOutputStream << " " #xmlAttributeName "=\"" << (Get##propertyName() ? "true" : "false") << "\""; |
Macro for writing bool node property to XML. More... | |
#define | vtkMRMLWriteXMLEndMacro() } |
This macro must be placed after the last value writing macro. More... | |
#define | vtkMRMLWriteXMLEnumMacro(xmlAttributeName, propertyName) |
#define | vtkMRMLWriteXMLFloatMacro(xmlAttributeName, propertyName) xmlWriteOutputStream << " " #xmlAttributeName "=\"" << Get##propertyName() << "\""; |
Macro for writing floating-point (double or float) node property to XML. More... | |
#define | vtkMRMLWriteXMLIntMacro(xmlAttributeName, propertyName) xmlWriteOutputStream << " " #xmlAttributeName "=\"" << Get##propertyName() << "\""; |
Macro for writing int node property to XML. More... | |
#define | vtkMRMLWriteXMLMatrix4x4Macro(xmlAttributeName, propertyName) |
Macro for writing vtkMatrix4x4 to XML. More... | |
#define | vtkMRMLWriteXMLStdFloatVectorMacro(xmlAttributeName, propertyName, vectorType) |
Macro for writing std::vector (float or double) node property to XML. More... | |
#define | vtkMRMLWriteXMLStdIntVectorMacro(xmlAttributeName, propertyName, vectorType) |
Macro for writing std::vector (int) node property to XML. More... | |
#define | vtkMRMLWriteXMLStdStringMacro(xmlAttributeName, propertyName) xmlWriteOutputStream << " " #xmlAttributeName "=\"" << vtkMRMLNode::XMLAttributeEncodeString(Get##propertyName().c_str()) << "\""; \ |
Macro for writing std::string node property to XML. More... | |
#define | vtkMRMLWriteXMLStdStringVectorMacro(xmlAttributeName, propertyName, vectorType) |
Macro for writing std::vector (of std::string) node property to XML. More... | |
#define | vtkMRMLWriteXMLStringMacro(xmlAttributeName, propertyName) |
#define | vtkMRMLWriteXMLVectorMacro(xmlAttributeName, propertyName, vectorType, vectorSize) |
Macro for writing vector (of numbers) node property to XML. More... | |