Go to the documentation of this file.
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);
represent and manipulate 3D points
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
int Pick(double x0, double y0, double vtkNotUsed(z0), vtkRenderer *renderer=nullptr) override
Perform pick operation in volume behind the given screen coordinate.
vtkExtractSelectedFrustum * FrustumExtractor
implicit function for convex set of planes
vtkProp3DCollection * Prop3Ds
vtkProp3DCollection * GetProp3Ds()
Return a collection of all the prop 3D's that were intersected by the pick ray.
Picks props behind a selection rectangle on a viewport.
a simple class to control print indentation
void Initialize() override
abstract API for pickers that can pick an instance of vtkProp
abstract class to specify dataset behavior
abstract superclass for all actors, volumes and annotations
abstract class specifies interface to map 3D data
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkAbstractMapper3D * Mapper
abstract specification for renderers
virtual int Pick(double selectionX, double selectionY, double selectionZ, vtkRenderer *renderer)=0
Perform pick operation with selection point provided.
an ordered list of 3D props