VTK
|
select cells intersecting a line (possibly broken) More...
#include <vtkLinearSelector.h>
select cells intersecting a line (possibly broken)
This filter takes a vtkCompositeDataSet as input and a line segment as parameter. It outputs a vtkSelection identifying all the cells intersecting the given line segment.
Definition at line 45 of file vtkLinearSelector.h.
Reimplemented from vtkSelectionAlgorithm.
Definition at line 48 of file vtkLinearSelector.h.
vtkLinearSelector::vtkLinearSelector | ( | ) | [protected] |
virtual vtkLinearSelector::~vtkLinearSelector | ( | ) | [protected, virtual] |
static int vtkLinearSelector::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkSelectionAlgorithm.
virtual int vtkLinearSelector::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkSelectionAlgorithm.
static vtkLinearSelector* vtkLinearSelector::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkSelectionAlgorithm.
virtual vtkObjectBase* vtkLinearSelector::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkSelectionAlgorithm.
vtkLinearSelector* vtkLinearSelector::NewInstance | ( | ) | const |
Reimplemented from vtkSelectionAlgorithm.
void vtkLinearSelector::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkSelectionAlgorithm.
static vtkLinearSelector* vtkLinearSelector::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkSelectionAlgorithm.
virtual void vtkLinearSelector::SetStartPoint | ( | double | , |
double | , | ||
double | |||
) | [virtual] |
Set/Get starting point of intersecting segment
virtual void vtkLinearSelector::SetStartPoint | ( | double | [3] | ) | [virtual] |
Set/Get starting point of intersecting segment
virtual double* vtkLinearSelector::GetStartPoint | ( | ) | [virtual] |
Set/Get starting point of intersecting segment
virtual void vtkLinearSelector::GetStartPoint | ( | double | data[3] | ) | [virtual] |
Set/Get starting point of intersecting segment
virtual void vtkLinearSelector::SetEndPoint | ( | double | , |
double | , | ||
double | |||
) | [virtual] |
Set/Get end point of intersecting segment
virtual void vtkLinearSelector::SetEndPoint | ( | double | [3] | ) | [virtual] |
Set/Get end point of intersecting segment
virtual double* vtkLinearSelector::GetEndPoint | ( | ) | [virtual] |
Set/Get end point of intersecting segment
virtual void vtkLinearSelector::GetEndPoint | ( | double | data[3] | ) | [virtual] |
Set/Get end point of intersecting segment
virtual void vtkLinearSelector::SetPoints | ( | vtkPoints * | ) | [virtual] |
Set/Get the list of points defining the intersecting broken line
virtual vtkPoints* vtkLinearSelector::GetPoints | ( | ) | [virtual] |
Set/Get the list of points defining the intersecting broken line
virtual void vtkLinearSelector::SetTolerance | ( | double | ) | [virtual] |
Set/Get tolerance to be used by intersection algorithm
virtual double vtkLinearSelector::GetTolerance | ( | ) | [virtual] |
Set/Get tolerance to be used by intersection algorithm
virtual void vtkLinearSelector::SetIncludeVertices | ( | bool | ) | [virtual] |
Set/Get whether lines vertice are included in selection
virtual bool vtkLinearSelector::GetIncludeVertices | ( | ) | [virtual] |
Set/Get whether lines vertice are included in selection
virtual void vtkLinearSelector::IncludeVerticesOn | ( | ) | [virtual] |
Set/Get whether lines vertice are included in selection
virtual void vtkLinearSelector::IncludeVerticesOff | ( | ) | [virtual] |
Set/Get whether lines vertice are included in selection
virtual void vtkLinearSelector::SetVertexEliminationTolerance | ( | double | ) | [virtual] |
Set/Get relative tolerance for vertex elimination
virtual double vtkLinearSelector::GetVertexEliminationTolerance | ( | ) | [virtual] |
Set/Get relative tolerance for vertex elimination
virtual int vtkLinearSelector::FillInputPortInformation | ( | int | port, |
vtkInformation * | info | ||
) | [protected, virtual] |
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.
Reimplemented from vtkSelectionAlgorithm.
virtual int vtkLinearSelector::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkSelectionAlgorithm.
void vtkLinearSelector::SeekIntersectingCells | ( | vtkDataSet * | input, |
vtkIdTypeArray * | outIndices | ||
) | [protected] |
The main routine that iterates over cells and looks for those that intersect at least one of the segments of interest