40 #include "vtkRenderingCoreModule.h"
43 VTK_ABI_NAMESPACE_BEGIN
65 vtkSetMacro(Tolerance,
double);
66 vtkGetMacro(Tolerance,
double);
74 vtkGetVectorMacro(MapperPosition,
double, 3);
128 vtkPoints* GetPickedPositions() {
return this->PickedPositions; }
136 int Pick(
double selectionX,
double selectionY,
double selectionZ,
vtkRenderer* renderer)
override;
145 return this->
Pick(selectionPt[0], selectionPt[1], selectionPt[2], ren);
162 VTK_FUTURE_CONST
double p1World[3], VTK_FUTURE_CONST
double p2World[3],
vtkRenderer* ren);
168 int Pick3DRay(VTK_FUTURE_CONST
double selectionPt[3], VTK_FUTURE_CONST
double orient[4],
176 virtual int Pick3DInternal(
177 vtkRenderer* ren, VTK_FUTURE_CONST
double p1World[4], VTK_FUTURE_CONST
double p2World[4]);
180 VTK_FUTURE_CONST
double mapperPos[3]);
181 void MarkPickedData(
vtkAssemblyPath* path,
double tMin, VTK_FUTURE_CONST
double mapperPos[3],
183 virtual double IntersectWithLine(
const double p1[3],
const double p2[3],
double tol,
186 static bool CalculateRay(
187 const double p1[3],
const double p2[3],
double ray[3],
double& rayFactor);
190 double MapperPosition[3];
205 void operator=(
const vtkPicker&) =
delete;
208 VTK_ABI_NAMESPACE_END
abstract class to specify dataset behavior
vtkPoints * PickedPositions
abstract specification for renderers
represents an 3D object for placement in a rendered scene
vtkActorCollection * Actors
virtual int Pick3DRay(VTK_FUTURE_CONST double[3], VTK_FUTURE_CONST double[4], vtkRenderer *)
Perform pick operation with selection point and orientation provided.
superclass for 3D geometric pickers (uses ray cast)
void Initialize() override
vtkProp3DCollection * GetProp3Ds()
Return a collection of all the prop 3D's that were intersected by the pick ray.
abstract superclass for composite (multi-block or AMR) datasets
a list of nodes that form an assembly path
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.
std::map< std::string, DataArray > DataSet
key: variable name, value: DataArray
vtkProp3DCollection * Prop3Ds
abstract class specifies interface to map 3D data
int Pick(VTK_FUTURE_CONST double selectionPt[3], vtkRenderer *ren)
Perform pick operation with selection point provided.
an ordered list of 3D props
vtkCompositeDataSet * CompositeDataSet
virtual int Pick3DPoint(VTK_FUTURE_CONST double[3], vtkRenderer *)
Perform pick operation with selection point provided.
an ordered list of actors
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.
vtkAbstractMapper3D * Mapper
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
#define VTK_DEPRECATED_IN_9_7_0(reason)
represent and manipulate 3D points