ParaView
Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkSelectionSerializer Class Reference

Serialize/deserialize vtkSelection to/from xml. More...

#include <vtkSelectionSerializer.h>

Inheritance diagram for vtkSelectionSerializer:
Inheritance graph
[legend]
Collaboration diagram for vtkSelectionSerializer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)

Static Public Member Functions

static vtkSelectionSerializerNew ()
static int IsTypeOf (const char *type)
static vtkSelectionSerializerSafeDownCast (vtkObject *o)
static void Parse (const char *xml, vtkSelection *root)
static vtkInformationIntegerKeyORIGINAL_SOURCE_ID ()
static void PrintXML (int printData, vtkSelection *selection)
static void PrintXML (ostream &os, vtkIndent indent, int printData, vtkSelection *selection)

Protected Member Functions

 vtkSelectionSerializer ()
 ~vtkSelectionSerializer ()

Detailed Description

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 36 of file vtkSelectionSerializer.h.


Constructor & Destructor Documentation

vtkSelectionSerializer::vtkSelectionSerializer ( ) [protected]
vtkSelectionSerializer::~vtkSelectionSerializer ( ) [protected]

Member Function Documentation

static vtkSelectionSerializer* vtkSelectionSerializer::New ( ) [static]

Reimplemented from vtkObject.

virtual const char* vtkSelectionSerializer::GetClassName ( ) [virtual]

Reimplemented from vtkObject.

static int vtkSelectionSerializer::IsTypeOf ( const char *  type) [static]

Reimplemented from vtkObject.

virtual int vtkSelectionSerializer::IsA ( const char *  type) [virtual]

Reimplemented from vtkObject.

static vtkSelectionSerializer* vtkSelectionSerializer::SafeDownCast ( vtkObject o) [static]

Reimplemented from vtkObject.

void vtkSelectionSerializer::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkObject.

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.

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.

static void vtkSelectionSerializer::Parse ( const char *  xml,
vtkSelection root 
) [static]

Parse an xml string to create a new selection tree. Currently, this supports only a subset of properties: CONTENT_TYPE, SOURCE_ID, PROP_ID, PROCESS_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: