33 #ifndef VTK_LINEAR_SELECTOR_H
34 #define VTK_LINEAR_SELECTOR_H
36 #include "vtkFiltersSelectionModule.h"
37 #include <vtkSelectionAlgorithm.h>
39 class vtkAlgorithmOutput;
49 void PrintSelf(ostream& os, vtkIndent indent);
55 vtkSetVector3Macro(StartPoint,
double);
56 vtkGetVectorMacro(StartPoint,
double,3);
61 vtkSetVector3Macro(EndPoint,
double);
62 vtkGetVectorMacro(EndPoint,
double,3);
67 virtual void SetPoints(vtkPoints*);
68 vtkGetObjectMacro(Points,vtkPoints);
73 vtkSetMacro(Tolerance,
double);
74 vtkGetMacro(Tolerance,
double);
79 vtkSetMacro(IncludeVertices,
bool);
80 vtkGetMacro(IncludeVertices,
bool);
81 vtkBooleanMacro(IncludeVertices,
bool);
86 vtkSetClampMacro(VertexEliminationTolerance,
double,0.,.1 );
87 vtkGetMacro(VertexEliminationTolerance,
double);
94 virtual int FillInputPortInformation(
int port, vtkInformation *info);
96 virtual int RequestData(vtkInformation *request,
97 vtkInformationVector **inputVector,
98 vtkInformationVector *outputVector);
102 void SeekIntersectingCells(vtkDataSet* input, vtkIdTypeArray* outIndices);
111 double StartPoint[3];
123 bool IncludeVertices;
127 double VertexEliminationTolerance;
132 #endif // VTK_LINEAR_SELECTOR_H
select cells intersecting a line (possibly broken)