34 #ifndef vtkLinearSelector_h
35 #define vtkLinearSelector_h
37 #include "vtkFiltersSelectionModule.h"
58 vtkSetVector3Macro(StartPoint,
double);
59 vtkGetVectorMacro(StartPoint,
double,3);
66 vtkSetVector3Macro(EndPoint,
double);
67 vtkGetVectorMacro(EndPoint,
double,3);
83 vtkGetMacro(Tolerance,
double);
91 vtkGetMacro(IncludeVertices,
bool);
99 vtkSetClampMacro(VertexEliminationTolerance,
double,0.,.1 );
100 vtkGetMacro(VertexEliminationTolerance,
double);
128 double StartPoint[3];
147 bool IncludeVertices;
154 double VertexEliminationTolerance;
Proxy object to connect input/output ports.
abstract class to specify dataset behavior
dynamic, self-adjusting array of double
dynamic, self-adjusting array of vtkIdType
a simple class to control print indentation
select cells intersecting a line (possibly broken)
void SeekIntersectingCells(vtkDataSet *input, vtkIdTypeArray *outIndices)
The main routine that iterates over cells and looks for those that intersect at least one of the segm...
virtual ~vtkLinearSelector()
virtual void SetPoints(vtkPoints *)
Set/Get the list of points defining the intersecting broken line.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
static vtkLinearSelector * New()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
represent and manipulate 3D points
Superclass for algorithms that produce only Selection as output.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.