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.
|
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...
|
|
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.
◆ Superclass
◆ vtkPVRayCastPickingHelper()
vtkPVRayCastPickingHelper::vtkPVRayCastPickingHelper |
( |
| ) |
|
|
protected |
◆ ~vtkPVRayCastPickingHelper()
vtkPVRayCastPickingHelper::~vtkPVRayCastPickingHelper |
( |
| ) |
|
|
protected |
◆ New()
◆ 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()
◆ 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.
◆ Intersection
double vtkPVRayCastPickingHelper::Intersection[3] |
|
protected |
◆ PointA
double vtkPVRayCastPickingHelper::PointA[3] |
|
protected |
◆ PointB
double vtkPVRayCastPickingHelper::PointB[3] |
|
protected |
◆ SnapOnMeshPoint
bool vtkPVRayCastPickingHelper::SnapOnMeshPoint |
|
protected |
◆ Input
vtkAlgorithm* vtkPVRayCastPickingHelper::Input |
|
protected |
◆ Selection
vtkAlgorithm* vtkPVRayCastPickingHelper::Selection |
|
protected |
The documentation for this class was generated from the following file: