44 #ifndef vtkAreaPicker_h
45 #define vtkAreaPicker_h
47 #include "vtkRenderingCoreModule.h"
69 void SetPickCoords(
double x0,
double y0,
double x1,
double y1);
86 virtual int AreaPick(
double x0,
double y0,
double x1,
double y1,
vtkRenderer *renderer = NULL);
93 int Pick(
double x0,
double y0,
double vtkNotUsed(z0),
vtkRenderer *renderer = NULL) VTK_OVERRIDE
94 {
return this->AreaPick(x0, y0, x0+1.0, y0+1.0, renderer); }
116 {
return this->Prop3Ds; }
131 vtkGetObjectMacro(ClipPoints,
vtkPoints);
138 void Initialize() VTK_OVERRIDE;
139 void DefineFrustum(
double x0,
double y0,
double x1,
double y1,
vtkRenderer *);
140 virtual
int PickProps(vtkRenderer *renderer);
143 int ABoxFrustumIsect(
double bounds[],
double &mindist);
149 vtkAbstractMapper3D *Mapper;
abstract superclass for all actors, volumes and annotations
vtkProp3DCollection * GetProp3Ds()
Return a collection of all the prop 3D's that were intersected by the pick ray.
abstract class to specify dataset behavior
implicit function for convex set of planes
abstract specification for renderers
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int Pick(double x0, double y0, double vtkNotUsed(z0), vtkRenderer *renderer=NULL) override
Perform pick operation in volume behind the given screen coordinate.
abstract class specifies interface to map 3D data
an ordered list of 3D props
abstract API for pickers that can pick an instance of vtkProp
virtual int Pick(double selectionX, double selectionY, double selectionZ, vtkRenderer *renderer)=0
Perform pick operation with selection point provided.
Picks props behind a selection rectangle on a viewport.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
represent and manipulate 3D points