37 #ifndef VTK_CELL_DISTANCE_SELECTOR_H
38 #define VTK_CELL_DISTANCE_SELECTOR_H
40 #include "vtkFiltersSelectionModule.h"
41 #include <vtkSelectionAlgorithm.h>
42 #include <vtkSmartPointer.h>
46 class vtkAlgorithmOutput;
56 virtual void PrintSelf(ostream& os, vtkIndent indent);
74 { this->SetInputConnection( INPUT_MESH, in ); }
80 { this->SetInputData( INPUT_MESH, obj ); }
87 { this->SetInputConnection( INPUT_SELECTION, in ); }
93 { this->SetInputData( INPUT_SELECTION, obj ); }
99 vtkSetMacro(Distance,
int);
100 vtkGetMacro(Distance,
int);
106 vtkSetMacro(IncludeSeed,
int);
107 vtkGetMacro(IncludeSeed,
int);
108 vtkBooleanMacro(IncludeSeed,
int);
114 vtkSetMacro(AddIntermediate,
int);
115 vtkGetMacro(AddIntermediate,
int);
116 vtkBooleanMacro(AddIntermediate,
int);
123 void AddSelectionNode(vtkSelection* output, vtkSmartPointer<vtkDataArray> outIndices,
int partNumber,
int d);
125 virtual int FillInputPortInformation(
int port, vtkInformation *info);
126 virtual int RequestData(vtkInformation*,vtkInformationVector**,vtkInformationVector*);
void SetInputSelection(vtkSelection *obj)
select neighbor cells up to a distance
void SetInputSelectionConnection(vtkAlgorithmOutput *in)
void SetInputMeshConnection(vtkAlgorithmOutput *in)
void SetInputMesh(vtkDataObject *obj)