VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkLinearSelector Class Reference

select cells intersecting a line (possibly broken) More...

#include <vtkLinearSelector.h>

Inheritance diagram for vtkLinearSelector:
Inheritance graph
[legend]
Collaboration diagram for vtkLinearSelector:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkSelectionAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkLinearSelectorNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetStartPoint (double, double, double)
virtual void SetStartPoint (double[3])
virtual doubleGetStartPoint ()
virtual void GetStartPoint (double data[3])
virtual void SetEndPoint (double, double, double)
virtual void SetEndPoint (double[3])
virtual doubleGetEndPoint ()
virtual void GetEndPoint (double data[3])
virtual void SetPoints (vtkPoints *)
virtual vtkPointsGetPoints ()
virtual void SetTolerance (double)
virtual double GetTolerance ()
virtual void SetIncludeVertices (bool)
virtual bool GetIncludeVertices ()
virtual void IncludeVerticesOn ()
virtual void IncludeVerticesOff ()
virtual void SetVertexEliminationTolerance (double)
virtual double GetVertexEliminationTolerance ()

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkLinearSelectorSafeDownCast (vtkObjectBase *o)
static vtkLinearSelectorNew ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkLinearSelector ()
virtual ~vtkLinearSelector ()
virtual int FillInputPortInformation (int port, vtkInformation *info)
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void SeekIntersectingCells (vtkDataSet *input, vtkIdTypeArray *outIndices)

Detailed Description

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.

Thanks:
This class has been initially developed in the frame of CEA's Love visualization software development
CEA/DIF - Commissariat a l'Energie Atomique, Centre DAM Ile-De-France
BP12, F-91297 Arpajon, France.
Modified and integrated into VTK, Kitware SAS 2012 This class was implemented by Thierry Carrard, Charles Pignerol, and Philippe Pebay.
Tests:
vtkLinearSelector (Tests)

Definition at line 45 of file vtkLinearSelector.h.


Member Typedef Documentation

Reimplemented from vtkSelectionAlgorithm.

Definition at line 48 of file vtkLinearSelector.h.


Constructor & Destructor Documentation

virtual vtkLinearSelector::~vtkLinearSelector ( ) [protected, virtual]

Member Function Documentation

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.

Reimplemented from vtkSelectionAlgorithm.

virtual vtkObjectBase* vtkLinearSelector::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkSelectionAlgorithm.

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.

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

Set/Get relative tolerance for vertex elimination

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


The documentation for this class was generated from the following file: