113#ifndef vtkAreaPicker_h
114#define vtkAreaPicker_h
117#include "vtkRenderingCoreModule.h"
162 int Pick(
double x0,
double y0,
double vtkNotUsed(z0),
vtkRenderer* renderer =
nullptr)
override
164 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.
static vtkAreaPicker * New()
int ABoxFrustumIsect(double bounds[], double &mindist)
void SetRenderer(vtkRenderer *)
Set the default renderer to pick on.
vtkProp3DCollection * GetProp3Ds()
Return a collection of all the prop 3D's that were intersected by the pick ray.
vtkAbstractMapper3D * Mapper
virtual int Pick()
Perform an AreaPick within the default screen rectangle and renderer.
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)
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