VTK
|
select neighbor cells up to a distance More...
#include <vtkCellDistanceSelector.h>
Inherits vtkSelectionAlgorithm.
Public Types | |
typedef vtkSelectionAlgorithm | Superclass |
enum | InputPorts { INPUT_MESH = 0, INPUT_SELECTION = 1 } |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkCellDistanceSelector * | NewInstance () const |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetInputMeshConnection (vtkAlgorithmOutput *in) |
void | SetInputMesh (vtkDataObject *obj) |
void | SetInputSelectionConnection (vtkAlgorithmOutput *in) |
void | SetInputSelection (vtkSelection *obj) |
virtual void | SetDistance (int) |
virtual int | GetDistance () |
virtual void | SetIncludeSeed (int) |
virtual int | GetIncludeSeed () |
virtual void | IncludeSeedOn () |
virtual void | IncludeSeedOff () |
virtual void | SetAddIntermediate (int) |
virtual int | GetAddIntermediate () |
virtual void | AddIntermediateOn () |
virtual void | AddIntermediateOff () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkCellDistanceSelector * | SafeDownCast (vtkObjectBase *o) |
static vtkCellDistanceSelector * | New () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkCellDistanceSelector () | |
virtual | ~vtkCellDistanceSelector () |
void | AddSelectionNode (vtkSelection *output, vtkSmartPointer< vtkDataArray > outIndices, int partNumber, int d) |
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
int | Distance |
int | IncludeSeed |
int | AddIntermediate |
select neighbor cells up to a distance
Grows a selection, selecting neighbor cells, up to a user defined topological distance
This filter grows an input selection by iteratively selecting neighbor cells (a neighbor cell is a cell that shares a vertex/edge/face), up to a given topological distance to the selected neighborhood (number of times we add neighbor cells). This filter takes a vtkSelection and a vtkCompositeDataSet as inputs. It outputs a vtkSelection identifying all the selected cells.
Definition at line 52 of file vtkCellDistanceSelector.h.
typedef vtkSelectionAlgorithm vtkCellDistanceSelector::Superclass |
Definition at line 55 of file vtkCellDistanceSelector.h.
enumeration values to specify input port types
Enumerator | |
---|---|
INPUT_MESH |
Port 0 is for input mesh. |
INPUT_SELECTION |
Port 1 is for input selection. |
Definition at line 63 of file vtkCellDistanceSelector.h.
|
protected |
|
protectedvirtual |
|
static |
|
virtual |
|
static |
|
protectedvirtual |
vtkCellDistanceSelector* vtkCellDistanceSelector::NewInstance | ( | ) | const |
|
virtual |
|
static |
|
inline |
A convenience method to set the data object input connection to the producer output
Definition at line 73 of file vtkCellDistanceSelector.h.
|
inline |
A convenience method to set the input data object
Definition at line 79 of file vtkCellDistanceSelector.h.
|
inline |
A convenience method to set the selection input connection to the producer output
Definition at line 86 of file vtkCellDistanceSelector.h.
|
inline |
A convenience method to set the input selection
Definition at line 92 of file vtkCellDistanceSelector.h.
|
virtual |
Tells how far (in term of topological distance) away from seed cells to expand the selection
|
virtual |
Tells how far (in term of topological distance) away from seed cells to expand the selection
|
virtual |
If set, seed cells passed with SetSeedCells will be included in the final selection
|
virtual |
If set, seed cells passed with SetSeedCells will be included in the final selection
|
virtual |
If set, seed cells passed with SetSeedCells will be included in the final selection
|
virtual |
If set, seed cells passed with SetSeedCells will be included in the final selection
|
virtual |
If set, intermediate cells (between seed cells and the selection boundary) will be included in the final selection
|
virtual |
If set, intermediate cells (between seed cells and the selection boundary) will be included in the final selection
|
virtual |
If set, intermediate cells (between seed cells and the selection boundary) will be included in the final selection
|
virtual |
If set, intermediate cells (between seed cells and the selection boundary) will be included in the final selection
|
protected |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
Tological radius from seed cells to be used to select cells Default: 1
Definition at line 130 of file vtkCellDistanceSelector.h.
|
protected |
Decide whether seed cells are included in selection Default: 1
Definition at line 133 of file vtkCellDistanceSelector.h.
|
protected |
Decide whether at distance between 1 and Distance-1 are included in selection Default: 1
Definition at line 137 of file vtkCellDistanceSelector.h.