27 #ifndef vtkSelectionSerializer_h 28 #define vtkSelectionSerializer_h 30 #include "vtkObject.h" 31 #include "vtkPVVTKExtensionsRenderingModule.h" 33 class vtkInformationIntegerKey;
36 class vtkSelectionNode;
43 void PrintSelf(ostream& os, vtkIndent indent);
50 static void PrintXML(
int printData, vtkSelection* selection);
51 static void PrintXML(ostream& os, vtkIndent indent,
int printData, vtkSelection* selection);
62 static void Parse(
const char* xml, vtkSelection* root);
63 static void Parse(
const char* xml,
unsigned int length, vtkSelection* root);
70 static vtkInformationIntegerKey* ORIGINAL_SOURCE_ID();
80 static
void WriteSelectionData(ostream& os, vtkIndent indent, vtkSelectionNode* selection);
82 static
void ParseNode(
vtkPVXMLElement* nodeXML, vtkSelectionNode* node);
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
Serialize/deserialize vtkSelection to/from xml.