30 #ifndef vtkHardwarePicker_h
31 #define vtkHardwarePicker_h
35 #include "vtkRenderingCoreModule.h"
40 VTK_ABI_NAMESPACE_BEGIN
60 vtkSetMacro(SnapToMeshPoint,
bool);
61 vtkGetMacro(SnapToMeshPoint,
bool);
62 vtkBooleanMacro(SnapToMeshPoint,
bool);
70 vtkSetMacro(PixelTolerance,
int);
71 vtkGetMacro(PixelTolerance,
int);
163 vtkGetMacro(SubId,
int);
174 vtkGetMacro(CellGridCellTypeId,
vtkIdType);
189 vtkGetMacro(CellGridSourceSpecId,
vtkIdType);
216 vtkGetVector3Macro(PCoords,
double);
233 vtkGetVectorMacro(PickNormal,
double, 3);
242 vtkGetMacro(NormalFlipped,
bool);
253 int Pick(
double selectionX,
double selectionY,
double selectionZ,
vtkRenderer* renderer)
override;
271 void FixNormalSign();
282 void ComputeIntersectionFromDataSet(
vtkDataSet* ds);
290 double NearRayPoint[3];
291 double FarRayPoint[3];
309 double PickNormal[3];
317 VTK_ABI_NAMESPACE_END
abstract superclass for all actors, volumes and annotations
vtkIdType CellGridCellTypeId
abstract class to specify dataset behavior
vtkAbstractMapper3D * Mapper
vtkCompositeDataSet * CompositeDataSet
abstract specification for renderers
data object that represents a "selection" in VTK.
vtkIdType CellGridSourceSpecId
void Initialize() override
vtkDataObject * DataObject
abstract class to specify cell behavior
abstract superclass for composite (multi-block or AMR) datasets
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
abstract class specifies interface to map 3D data
pick a point or snap to point of an actor/prop using graphics hardware
abstract API for pickers that can pick an instance of vtkProp
vtkSmartPointer< vtkSelection > HardwareSelection
virtual int Pick(double selectionX, double selectionY, double selectionZ, vtkRenderer *renderer)=0
Perform pick operation with selection point provided.
vtkIdType CellGridTupleId
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
general representation of visualization data
vtkNew< vtkPropCollection > PickableProps