|
ParaView
|
converts one selection type to another More...
#include <vtkSelectionConverter.h>


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) |
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 42 of file vtkSelectionConverter.h.
| vtkSelectionConverter::vtkSelectionConverter | ( | ) | [protected] |
| vtkSelectionConverter::~vtkSelectionConverter | ( | ) | [protected] |
| static vtkSelectionConverter* vtkSelectionConverter::New | ( | ) | [static] |
Reimplemented from vtkObject.
| virtual const char* vtkSelectionConverter::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkObject.
| static int vtkSelectionConverter::IsTypeOf | ( | const char * | type | ) | [static] |
Reimplemented from vtkObject.
| static vtkSelectionConverter* vtkSelectionConverter::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkObject.
| void vtkSelectionConverter::PrintSelf | ( | ostream & | os, |
| vtkIndent | indent | ||
| ) | [virtual] |
Reimplemented from vtkObject.
| 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.
| void vtkSelectionConverter::Convert | ( | vtkSelectionNode * | input, |
| vtkSelection * | output, | ||
| int | global_ids | ||
| ) | [protected] |
| vtkDataSet* vtkSelectionConverter::LocateDataSet | ( | vtkCompositeDataIterator * | iter, |
| unsigned int | index | ||
| ) | [protected] |
1.7.5.1