ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkPVRayCastPickingHelper Class Reference

helper class that used selection and ray casting to find the intersection point between the user picking point and the concreate cell underneath. More...

#include <vtkPVRayCastPickingHelper.h>

Inherits vtkObject.

Public Types

typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
void SetInput (vtkAlgorithm *)
 Set input on which the selection apply. More...
 
void SetSelection (vtkAlgorithm *)
 Set the selection that extract the cell that intersect the ray. More...
 
void ComputeIntersection ()
 Compute the intersection. More...
 
virtual double * GetIntersection ()
 
virtual void GetIntersection (double &, double &, double &)
 
virtual void GetIntersection (double [3])
 
virtual void SetPointA (double, double, double)
 Set the point 1 that compose the ray. More...
 
virtual void SetPointA (double [3])
 Set the point 1 that compose the ray. More...
 
virtual double * GetPointA ()
 Set the point 1 that compose the ray. More...
 
virtual void GetPointA (double &, double &, double &)
 Set the point 1 that compose the ray. More...
 
virtual void GetPointA (double [3])
 Set the point 1 that compose the ray. More...
 
virtual void SetPointB (double, double, double)
 Set the point 2 that compose the ray. More...
 
virtual void SetPointB (double [3])
 Set the point 2 that compose the ray. More...
 
virtual double * GetPointB ()
 Set the point 2 that compose the ray. More...
 
virtual void GetPointB (double &, double &, double &)
 Set the point 2 that compose the ray. More...
 
virtual void GetPointB (double [3])
 Set the point 2 that compose the ray. More...
 
virtual void SetSnapOnMeshPoint (bool)
 Set the flag to use directly selected points on mesh as intersection. More...
 
virtual bool GetSnapOnMeshPoint ()
 Set the flag to use directly selected points on mesh as intersection. More...
 

Static Public Member Functions

static vtkPVRayCastPickingHelperNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPVRayCastPickingHelperSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkPVRayCastPickingHelper ()
 
 ~vtkPVRayCastPickingHelper ()
 
void ComputeIntersectionFromDataSet (vtkDataSet *ds)
 Compute the intersection using provided dataset. More...
 

Protected Attributes

double Intersection [3]
 
double PointA [3]
 
double PointB [3]
 
bool SnapOnMeshPoint
 
vtkAlgorithm * Input
 
vtkAlgorithm * Selection
 

Detailed Description

helper class that used selection and ray casting to find the intersection point between the user picking point and the concreate cell underneath.

Definition at line 30 of file vtkPVRayCastPickingHelper.h.

Member Typedef Documentation

◆ Superclass

Definition at line 34 of file vtkPVRayCastPickingHelper.h.

Constructor & Destructor Documentation

◆ vtkPVRayCastPickingHelper()

vtkPVRayCastPickingHelper::vtkPVRayCastPickingHelper ( )
protected

◆ ~vtkPVRayCastPickingHelper()

vtkPVRayCastPickingHelper::~vtkPVRayCastPickingHelper ( )
protected

Member Function Documentation

◆ New()

static vtkPVRayCastPickingHelper* vtkPVRayCastPickingHelper::New ( )
static

◆ GetClassName()

virtual const char* vtkPVRayCastPickingHelper::GetClassName ( )
virtual

◆ IsTypeOf()

static int vtkPVRayCastPickingHelper::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkPVRayCastPickingHelper::IsA ( const char *  type)
virtual

◆ SafeDownCast()

static vtkPVRayCastPickingHelper* vtkPVRayCastPickingHelper::SafeDownCast ( vtkObject *  o)
static

◆ PrintSelf()

void vtkPVRayCastPickingHelper::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

◆ SetInput()

void vtkPVRayCastPickingHelper::SetInput ( vtkAlgorithm *  )

Set input on which the selection apply.

◆ SetSelection()

void vtkPVRayCastPickingHelper::SetSelection ( vtkAlgorithm *  )

Set the selection that extract the cell that intersect the ray.

◆ SetPointA() [1/2]

virtual void vtkPVRayCastPickingHelper::SetPointA ( double  ,
double  ,
double   
)
virtual

Set the point 1 that compose the ray.

◆ SetPointA() [2/2]

virtual void vtkPVRayCastPickingHelper::SetPointA ( double  [3])
virtual

Set the point 1 that compose the ray.

◆ GetPointA() [1/3]

virtual double* vtkPVRayCastPickingHelper::GetPointA ( )
virtual

Set the point 1 that compose the ray.

◆ GetPointA() [2/3]

virtual void vtkPVRayCastPickingHelper::GetPointA ( double &  ,
double &  ,
double &   
)
virtual

Set the point 1 that compose the ray.

◆ GetPointA() [3/3]

virtual void vtkPVRayCastPickingHelper::GetPointA ( double  [3])
virtual

Set the point 1 that compose the ray.

◆ SetPointB() [1/2]

virtual void vtkPVRayCastPickingHelper::SetPointB ( double  ,
double  ,
double   
)
virtual

Set the point 2 that compose the ray.

◆ SetPointB() [2/2]

virtual void vtkPVRayCastPickingHelper::SetPointB ( double  [3])
virtual

Set the point 2 that compose the ray.

◆ GetPointB() [1/3]

virtual double* vtkPVRayCastPickingHelper::GetPointB ( )
virtual

Set the point 2 that compose the ray.

◆ GetPointB() [2/3]

virtual void vtkPVRayCastPickingHelper::GetPointB ( double &  ,
double &  ,
double &   
)
virtual

Set the point 2 that compose the ray.

◆ GetPointB() [3/3]

virtual void vtkPVRayCastPickingHelper::GetPointB ( double  [3])
virtual

Set the point 2 that compose the ray.

◆ SetSnapOnMeshPoint()

virtual void vtkPVRayCastPickingHelper::SetSnapOnMeshPoint ( bool  )
virtual

Set the flag to use directly selected points on mesh as intersection.

◆ GetSnapOnMeshPoint()

virtual bool vtkPVRayCastPickingHelper::GetSnapOnMeshPoint ( )
virtual

Set the flag to use directly selected points on mesh as intersection.

◆ ComputeIntersection()

void vtkPVRayCastPickingHelper::ComputeIntersection ( )

Compute the intersection.

◆ GetIntersection() [1/3]

virtual double* vtkPVRayCastPickingHelper::GetIntersection ( )
virtual

◆ GetIntersection() [2/3]

virtual void vtkPVRayCastPickingHelper::GetIntersection ( double &  ,
double &  ,
double &   
)
virtual

◆ GetIntersection() [3/3]

virtual void vtkPVRayCastPickingHelper::GetIntersection ( double  [3])
virtual

◆ ComputeIntersectionFromDataSet()

void vtkPVRayCastPickingHelper::ComputeIntersectionFromDataSet ( vtkDataSet *  ds)
protected

Compute the intersection using provided dataset.

Member Data Documentation

◆ Intersection

double vtkPVRayCastPickingHelper::Intersection[3]
protected

Definition at line 89 of file vtkPVRayCastPickingHelper.h.

◆ PointA

double vtkPVRayCastPickingHelper::PointA[3]
protected

Definition at line 90 of file vtkPVRayCastPickingHelper.h.

◆ PointB

double vtkPVRayCastPickingHelper::PointB[3]
protected

Definition at line 91 of file vtkPVRayCastPickingHelper.h.

◆ SnapOnMeshPoint

bool vtkPVRayCastPickingHelper::SnapOnMeshPoint
protected

Definition at line 92 of file vtkPVRayCastPickingHelper.h.

◆ Input

vtkAlgorithm* vtkPVRayCastPickingHelper::Input
protected

Definition at line 93 of file vtkPVRayCastPickingHelper.h.

◆ Selection

vtkAlgorithm* vtkPVRayCastPickingHelper::Selection
protected

Definition at line 94 of file vtkPVRayCastPickingHelper.h.


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