![]() |
Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
Macros | |
#define | vtkMRMLReadXMLBeginMacro(atts) |
#define | vtkMRMLReadXMLBooleanMacro(xmlAttributeName, propertyName) |
Macro for reading bool node property from XML. | |
#define | vtkMRMLReadXMLEndMacro() |
This macro must be placed after the last value reading macro. | |
#define | vtkMRMLReadXMLEnumMacro(xmlAttributeName, propertyName) |
#define | vtkMRMLReadXMLFloatMacro(xmlAttributeName, propertyName) |
Macro for reading floating-point (float or double) node property from XML. | |
#define | vtkMRMLReadXMLIntMacro(xmlAttributeName, propertyName) |
Macro for reading int node property from XML. | |
#define | vtkMRMLReadXMLOwnedMatrix4x4Macro(xmlAttributeName, propertyName) |
#define | vtkMRMLReadXMLStdFloatVectorMacro(xmlAttributeName, propertyName, vectorType) |
Macro for reading an iterable container (float or double) node property from XML. | |
#define | vtkMRMLReadXMLStdIntVectorMacro(xmlAttributeName, propertyName, vectorType) |
Macro for reading an iterable container (int) node property from XML. | |
#define | vtkMRMLReadXMLStdStringMacro(xmlAttributeName, propertyName) |
#define | vtkMRMLReadXMLStdStringVectorMacro(xmlAttributeName, propertyName, vectorType) |
Macro for reading an iterable container (of std::string) node property from XML. | |
#define | vtkMRMLReadXMLStringMacro(xmlAttributeName, propertyName) |
#define | vtkMRMLReadXMLVectorMacro(xmlAttributeName, propertyName, vectorType, vectorSize) |
Macro for reading floating-point (float or double) vector node property from XML. | |
They are To be used in ReadXMLAttributes(const char** atts) method. Arguments of value writing macros:
#define vtkMRMLReadXMLBeginMacro | ( | atts | ) |
This macro must be placed before the first value reading macro.
atts | is the C array of of attribute name/value pointer pairs |
Definition at line 170 of file vtkMRMLNodePropertyMacros.h.
#define vtkMRMLReadXMLBooleanMacro | ( | xmlAttributeName, | |
propertyName ) |
Macro for reading bool node property from XML.
Definition at line 189 of file vtkMRMLNodePropertyMacros.h.
#define vtkMRMLReadXMLEndMacro | ( | ) |
This macro must be placed after the last value reading macro.
Definition at line 185 of file vtkMRMLNodePropertyMacros.h.
#define vtkMRMLReadXMLEnumMacro | ( | xmlAttributeName, | |
propertyName ) |
Macro for reading enum node property from XML. Requires Get(propertyName)FromString method to convert from string to numeric value. XML decoding is not needed as attribute values are already decoded by the XML parser.
Definition at line 214 of file vtkMRMLNodePropertyMacros.h.
#define vtkMRMLReadXMLFloatMacro | ( | xmlAttributeName, | |
propertyName ) |
Macro for reading floating-point (float or double) node property from XML.
Definition at line 246 of file vtkMRMLNodePropertyMacros.h.
#define vtkMRMLReadXMLIntMacro | ( | xmlAttributeName, | |
propertyName ) |
Macro for reading int node property from XML.
Definition at line 229 of file vtkMRMLNodePropertyMacros.h.
#define vtkMRMLReadXMLOwnedMatrix4x4Macro | ( | xmlAttributeName, | |
propertyName ) |
Macro for reading a vtkMatrix4x4* node property from XML. "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 343 of file vtkMRMLNodePropertyMacros.h.
#define vtkMRMLReadXMLStdFloatVectorMacro | ( | xmlAttributeName, | |
propertyName, | |||
vectorType ) |
Macro for reading an iterable container (float or double) node property from XML.
Definition at line 279 of file vtkMRMLNodePropertyMacros.h.
#define vtkMRMLReadXMLStdIntVectorMacro | ( | xmlAttributeName, | |
propertyName, | |||
vectorType ) |
Macro for reading an iterable container (int) node property from XML.
Definition at line 302 of file vtkMRMLNodePropertyMacros.h.
#define vtkMRMLReadXMLStdStringMacro | ( | xmlAttributeName, | |
propertyName ) |
Macro for reading std::string node property from XML. XML decoding is not needed as attribute values are already decoded by the XML parser.
Definition at line 205 of file vtkMRMLNodePropertyMacros.h.
#define vtkMRMLReadXMLStdStringVectorMacro | ( | xmlAttributeName, | |
propertyName, | |||
vectorType ) |
Macro for reading an iterable container (of std::string) node property from XML.
Definition at line 325 of file vtkMRMLNodePropertyMacros.h.
#define vtkMRMLReadXMLStringMacro | ( | xmlAttributeName, | |
propertyName ) |
Macro for reading char* node property from XML. XML decoding is not needed as attribute values are already decoded by the XML parser.
Definition at line 197 of file vtkMRMLNodePropertyMacros.h.
#define vtkMRMLReadXMLVectorMacro | ( | xmlAttributeName, | |
propertyName, | |||
vectorType, | |||
vectorSize ) |
Macro for reading floating-point (float or double) vector node property from XML.
Definition at line 263 of file vtkMRMLNodePropertyMacros.h.