Slicer
5.3
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. 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... | |
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 174 of file vtkMRMLNodePropertyMacros.h.
#define vtkMRMLReadXMLBooleanMacro | ( | xmlAttributeName, | |
propertyName | |||
) |
Macro for reading bool node property from XML.
Definition at line 193 of file vtkMRMLNodePropertyMacros.h.
#define vtkMRMLReadXMLEndMacro | ( | ) | }}; |
This macro must be placed after the last value reading macro.
Definition at line 189 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 218 of file vtkMRMLNodePropertyMacros.h.
#define vtkMRMLReadXMLFloatMacro | ( | xmlAttributeName, | |
propertyName | |||
) |
Macro for reading floating-point (float or double) node property from XML.
Definition at line 250 of file vtkMRMLNodePropertyMacros.h.
#define vtkMRMLReadXMLIntMacro | ( | xmlAttributeName, | |
propertyName | |||
) |
Macro for reading int node property from XML.
Definition at line 233 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 347 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 283 of file vtkMRMLNodePropertyMacros.h.
#define vtkMRMLReadXMLStdIntVectorMacro | ( | xmlAttributeName, | |
propertyName, | |||
vectorType | |||
) |
Macro for reading an iterable container (int) node property from XML.
Definition at line 306 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 209 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 329 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 201 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 267 of file vtkMRMLNodePropertyMacros.h.