47 #include "vtkRenderingCoreModule.h" 71 vtkSetMacro(Tolerance,
double);
72 vtkGetMacro(Tolerance,
double);
80 vtkGetVectorMacro(MapperPosition,
double, 3);
120 {
return this->Prop3Ds; }
135 {
return this->PickedPositions; }
143 int Pick(
double selectionX,
double selectionY,
double selectionZ,
152 {
return this->
Pick(selectionPt[0], selectionPt[1], selectionPt[2], ren); }
173 virtual int Pick3DInternal(
vtkRenderer *ren,
double p1World[4],
double p2World[4]);
176 double tMin,
double mapperPos[3]);
180 virtual double IntersectWithLine(
const double p1[3],
const double p2[3],
double tol,
184 static bool CalculateRay(
const double p1[3],
const double p2[3],
185 double ray[3],
double &rayFactor);
188 double MapperPosition[3];
203 void operator=(
const vtkPicker&) =
delete;
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 Pick3DPoint(double[3], vtkRenderer *)
Perform pick operation with selection point provided.
superclass for 3D geometric pickers (uses ray cast)
void Initialize() override
int Pick(double selectionPt[3], vtkRenderer *ren)
Perform pick operation with selection point provided.
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
vtkPoints * GetPickedPositions()
Return a list of the points the actors returned by GetProp3Ds were intersected at.
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.
vtkProp3DCollection * Prop3Ds
abstract class specifies interface to map 3D data
an ordered list of 3D props
vtkCompositeDataSet * CompositeDataSet
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.
virtual int Pick3DRay(double[3], double[4], vtkRenderer *)
Perform pick operation with selection point and orientation provided.
vtkAbstractMapper3D * Mapper
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
represent and manipulate 3D points