47 #ifndef vtkAreaPicker_h 48 #define vtkAreaPicker_h 50 #include "vtkRenderingCoreModule.h" 72 void SetPickCoords(
double x0,
double y0,
double x1,
double y1);
89 virtual int AreaPick(
double x0,
double y0,
double x1,
double y1,
vtkRenderer *renderer =
nullptr);
96 int Pick(
double x0,
double y0,
double vtkNotUsed(z0),
vtkRenderer *renderer =
nullptr)
override 97 {
return this->AreaPick(x0, y0, x0+1.0, y0+1.0, renderer); }
119 {
return this->Prop3Ds; }
134 vtkGetObjectMacro(ClipPoints,
vtkPoints);
142 void DefineFrustum(
double x0,
double y0,
double x1,
double y1,
vtkRenderer *);
146 int ABoxFrustumIsect(
double bounds[],
double &mindist);
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.
vtkAbstractMapper3D * Mapper
abstract class to specify dataset behavior
vtkProp3DCollection * Prop3Ds
implicit function for convex set of planes
abstract specification for renderers
void Initialize() override
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=nullptr) override
Perform pick operation in volume behind the given screen coordinate.
abstract class specifies interface to map 3D data
vtkExtractSelectedFrustum * FrustumExtractor
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