VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
vtkLinearSelector Class Reference

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

#include <vtkLinearSelector.h>

Inherits vtkSelectionAlgorithm.

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 double * GetStartPoint ()
 
virtual void GetStartPoint (double data[3])
 
virtual void SetEndPoint (double, double, double)
 
virtual void SetEndPoint (double[3])
 
virtual double * GetEndPoint ()
 
virtual void GetEndPoint (double data[3])
 
virtual void SetPoints (vtkPoints *)
 
virtual vtkPoints * GetPoints ()
 
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 vtkObjectBase * NewInstanceInternal () 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

typedef vtkSelectionAlgorithm vtkLinearSelector::Superclass

Definition at line 48 of file vtkLinearSelector.h.

Constructor & Destructor Documentation

vtkLinearSelector::vtkLinearSelector ( )
protected
virtual vtkLinearSelector::~vtkLinearSelector ( )
protectedvirtual

Member Function Documentation

static int vtkLinearSelector::IsTypeOf ( const char *  type)
static
virtual int vtkLinearSelector::IsA ( const char *  type)
virtual
static vtkLinearSelector* vtkLinearSelector::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkLinearSelector::NewInstanceInternal ( ) const
protectedvirtual
vtkLinearSelector* vtkLinearSelector::NewInstance ( ) const
void vtkLinearSelector::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
static vtkLinearSelector* vtkLinearSelector::New ( )
static
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 
)
protectedvirtual
virtual int vtkLinearSelector::RequestData ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protectedvirtual
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: