Go to the documentation of this file.
47 #ifndef vtkAreaPicker_h
48 #define vtkAreaPicker_h
50 #include "vtkRenderingCoreModule.h"
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; }
represent and manipulate 3D points
void SetRenderer(vtkRenderer *)
Set the default renderer to pick on.
int ABoxFrustumIsect(double bounds[], double &mindist)
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
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkProp3DCollection * GetProp3Ds()
Return a collection of all the prop 3D's that were intersected by the pick ray.
virtual int AreaPick(double x0, double y0, double x1, double y1, vtkRenderer *renderer=nullptr)
Perform pick operation in volume behind the given screen coordinates.
void Initialize() override
virtual int PickProps(vtkRenderer *renderer)
Picks props behind a selection rectangle on a viewport.
void SetPickCoords(double x0, double y0, double x1, double y1)
Set the default screen rectangle to pick in.
a simple class to control print indentation
abstract API for pickers that can pick an instance of vtkProp
~vtkAreaPicker() override
abstract class to specify dataset behavior
abstract superclass for all actors, volumes and annotations
abstract class specifies interface to map 3D data
vtkAbstractMapper3D * Mapper
static vtkAreaPicker * New()
abstract specification for renderers
virtual int Pick()
Perform an AreaPick within the default screen rectangle and renderer.
void DefineFrustum(double x0, double y0, double x1, double y1, vtkRenderer *)
int TypeDecipher(vtkProp *, vtkAbstractMapper3D **)
an ordered list of 3D props