ParaView
|
converts one selection type to another More...
#include <vtkSelectionConverter.h>
Inherits vtkObject.
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | Convert (vtkSelection *input, vtkSelection *output, int global_ids) |
Convert input selection and store it in output. More... | |
Static Public Member Functions | |
static vtkSelectionConverter * | New () |
static int | IsTypeOf (const char *type) |
static vtkSelectionConverter * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkSelectionConverter () | |
~vtkSelectionConverter () | |
void | Convert (vtkSelectionNode *input, vtkSelection *output, int global_ids) |
vtkDataSet * | LocateDataSet (vtkCompositeDataIterator *iter, unsigned int index) |
converts one selection type to another
vtkSelectionConverter can be used to convert from one selection type to another. Currently, it only supports conversion from a 'surface' geometry selection to a 'volume' selection. It does this by looking for a pedigree array called vtkOriginalCellIds that says what 3D cell produced each selected 2D surface cell. The input selection must have SOURCE_ID() and ORIGINAL_SOURCE_ID() properties set. The SOURCE_ID() corresponds to the geometry filter whereas the ORIGINAL_SOURCE_ID() corresponds to the input of the geometry filter. The output selection will have SOURCE_ID() corresponding to the input of the geometry filter (what was ORIGINAL_SOURCE_ID()).
Definition at line 44 of file vtkSelectionConverter.h.
typedef vtkObject vtkSelectionConverter::Superclass |
Definition at line 48 of file vtkSelectionConverter.h.
|
protected |
|
protected |
|
static |
|
virtual |
|
static |
|
virtual |
|
static |
void vtkSelectionConverter::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
void vtkSelectionConverter::Convert | ( | vtkSelection * | input, |
vtkSelection * | output, | ||
int | global_ids | ||
) |
Convert input selection and store it in output.
Currently, the input selection must be a geometry selection and the output is a volume selection. If global_ids
is set, then the selection is converted to global ids selection.
|
protected |
|
protected |