18 #ifndef vtkPointCloudRepresentation_h
19 #define vtkPointCloudRepresentation_h
21 #include "vtkInteractionWidgetsModule.h"
25 VTK_ABI_NAMESPACE_BEGIN
38 struct vtkPointCloudPicker;
43 friend struct vtkPointCloudPicker;
76 vtkGetObjectMacro(PointCloudActor,
vtkActor);
94 x[0] = this->PointCoordinates[0];
95 x[1] = this->PointCoordinates[1];
96 x[2] = this->PointCoordinates[2];
105 vtkSetMacro(Highlighting,
bool);
106 vtkGetMacro(Highlighting,
bool);
107 vtkBooleanMacro(Highlighting,
bool);
130 vtkSetClampMacro(InteractionState,
int, Outside, Selecting);
138 void BuildRepresentation()
override {}
177 HARDWARE_PICKING = 0,
180 vtkSetClampMacro(PickingMode,
int, HARDWARE_PICKING, SOFTWARE_PICKING);
181 vtkGetMacro(PickingMode,
int);
197 vtkSetMacro(HardwarePickingTolerance,
unsigned int);
198 vtkGetMacro(HardwarePickingTolerance,
unsigned int);
210 vtkSetClampMacro(SoftwarePickingTolerance,
double, 0.0, 100.0);
211 vtkGetMacro(SoftwarePickingTolerance,
double);
230 double PointCoordinates[3];
252 void CreateDefaultProperties();
259 VTK_ABI_NAMESPACE_END
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
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...