Serialize/deserialize vtkSelection to/from xml.
More...
#include <vtkSelectionSerializer.h>
Inherits vtkObject.
|
static vtkSelectionSerializer * | New () |
|
static int | IsTypeOf (const char *type) |
|
static vtkSelectionSerializer * | SafeDownCast (vtkObject *o) |
|
static vtkInformationIntegerKey * | ORIGINAL_SOURCE_ID () |
| ID of the dataset or algorithm that the selection belongs to. More...
|
|
|
static void | PrintXML (int printData, vtkSelection *selection) |
| Serialize the selection tree to a stream as xml. More...
|
|
static void | PrintXML (ostream &os, vtkIndent indent, int printData, vtkSelection *selection) |
| Serialize the selection tree to a stream as xml. More...
|
|
|
static void | Parse (const char *xml, vtkSelection *root) |
| Parse an xml string to create a new selection tree. More...
|
|
static void | Parse (const char *xml, unsigned int length, vtkSelection *root) |
| Parse an xml string to create a new selection tree. More...
|
|
Serialize/deserialize vtkSelection to/from xml.
vtkSelectionSerializer is a helper class that can serialize/deserialize vtkSelection to/from xml. Currently, it supports only a subset of properties: CONTENT_TYPE, SOURCE_ID, PROP_ID, PROCESS_ID, ORIGINAL_SOURCE_ID
- See also
- vtkSelection
Definition at line 38 of file vtkSelectionSerializer.h.
§ Superclass
§ vtkSelectionSerializer()
vtkSelectionSerializer::vtkSelectionSerializer |
( |
| ) |
|
|
protected |
§ ~vtkSelectionSerializer()
vtkSelectionSerializer::~vtkSelectionSerializer |
( |
| ) |
|
|
protected |
§ New()
§ GetClassName()
virtual const char* vtkSelectionSerializer::GetClassName |
( |
| ) |
|
|
virtual |
§ IsTypeOf()
static int vtkSelectionSerializer::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
§ IsA()
virtual int vtkSelectionSerializer::IsA |
( |
const char * |
type | ) |
|
|
virtual |
§ SafeDownCast()
§ PrintSelf()
void vtkSelectionSerializer::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
§ PrintXML() [1/2]
static void vtkSelectionSerializer::PrintXML |
( |
int |
printData, |
|
|
vtkSelection * |
selection |
|
) |
| |
|
static |
Serialize the selection tree to a stream as xml.
For now, only keys of type vtkInformationIntegerKey are supported.
§ PrintXML() [2/2]
static void vtkSelectionSerializer::PrintXML |
( |
ostream & |
os, |
|
|
vtkIndent |
indent, |
|
|
int |
printData, |
|
|
vtkSelection * |
selection |
|
) |
| |
|
static |
Serialize the selection tree to a stream as xml.
For now, only keys of type vtkInformationIntegerKey are supported.
§ Parse() [1/2]
static void vtkSelectionSerializer::Parse |
( |
const char * |
xml, |
|
|
vtkSelection * |
root |
|
) |
| |
|
static |
Parse an xml string to create a new selection tree.
The string is 0 terminated for the first version of this function, or we specify the length of the string for the second version. Currently, this supports only a subset of properties: CONTENT_TYPE, SOURCE_ID, PROP_ID, PROCESS_ID
§ Parse() [2/2]
static void vtkSelectionSerializer::Parse |
( |
const char * |
xml, |
|
|
unsigned int |
length, |
|
|
vtkSelection * |
root |
|
) |
| |
|
static |
Parse an xml string to create a new selection tree.
The string is 0 terminated for the first version of this function, or we specify the length of the string for the second version. Currently, this supports only a subset of properties: CONTENT_TYPE, SOURCE_ID, PROP_ID, PROCESS_ID
§ ORIGINAL_SOURCE_ID()
static vtkInformationIntegerKey* vtkSelectionSerializer::ORIGINAL_SOURCE_ID |
( |
| ) |
|
|
static |
ID of the dataset or algorithm that the selection belongs to.
What ID means is application specific.
The documentation for this class was generated from the following file: