30 #ifndef vtkPointCloudRepresentation_h
31 #define vtkPointCloudRepresentation_h
34 #include "vtkInteractionWidgetsModule.h"
49 struct vtkPointCloudPicker;
53 friend struct vtkPointCloudPicker;
86 vtkGetObjectMacro(PointCloudActor,
vtkActor);
104 x[0] = this->PointCoordinates[0];
105 x[1] = this->PointCoordinates[1];
106 x[2] = this->PointCoordinates[2];
115 vtkSetMacro(Highlighting,
bool);
116 vtkGetMacro(Highlighting,
bool);
117 vtkBooleanMacro(Highlighting,
bool);
130 #if !defined(VTK_LEGACY_REMOVE)
144 vtkSetClampMacro(InteractionState,
int, Outside, Selecting);
152 void BuildRepresentation()
override {}
191 HARDWARE_PICKING = 0,
194 #if !defined(VTK_LEGACY_REMOVE)
198 vtkSetClampMacro(PickingMode,
int, HARDWARE_PICKING, SOFTWARE_PICKING);
199 vtkGetMacro(PickingMode,
int);
215 vtkSetMacro(HardwarePickingTolerance,
unsigned int);
216 vtkGetMacro(HardwarePickingTolerance,
unsigned int);
228 vtkSetClampMacro(SoftwarePickingTolerance,
double, 0.0, 100.0);
229 vtkGetMacro(SoftwarePickingTolerance,
double);
248 double PointCoordinates[3];
270 void CreateDefaultProperties();
PickingModeType
Because point clouds can be very large, alternative point picking approaches can be used to select po...
void SetPickingModeToHardware()
Because point clouds can be very large, alternative point picking approaches can be used to select po...
void GetPointCoordinates(double x[3])
Retrieve the point coordinates of the selected point.
represents an object (geometry & properties) in a rendered scene
vtkActor2D * SelectionActor
abstract specification for Viewports
#define VTK_DEPRECATED_IN_9_2_0(reason)
a actor that draws 2D data
vtkPicker * OutlinePicker
vtkPolyDataMapper2D * SelectionMapper
concrete class for storing a set of points
vtkActor * PointCloudActor
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkGlyphSource2D * SelectionShape
superclass for 3D geometric pickers (uses ray cast)
vtkCoordinate * SelectionCoordinate
window superclass for vtkRenderWindow
const double * GetPointCoordinates()
Retrieve the point coordinates of the selected point.
create wireframe outline for an arbitrary data set or composite dataset
vtkOutlineFilter * OutlineFilter
vtkPolyDataMapper * OutlineMapper
vtkPointCloudPicker * PointCloudPicker
double SoftwarePickingTolerance
a simple class to control print indentation
represent the vtkPointCloudWidget
vtkPolyDataMapper * PointCloudMapper
unsigned int HardwarePickingTolerance
#define VTK_SIZEHINT(...)
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems ...
vtkIdType GetPointId()
Retrieve the point id from the selected point.
select a point by shooting a ray into a graphics window
map vtkPolyData to graphics primitives
represent surface properties of a 2D image
create 2D glyphs represented by vtkPolyData
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
draw vtkPolyData onto the image plane
vtkProperty2D * SelectionProperty
void SetPickingModeToSoftware()
Because point clouds can be very large, alternative point picking approaches can be used to select po...