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