 |
VTK
9.1.0
|
Go to the documentation of this file.
27 #ifndef vtkPointCloudRepresentation_h
28 #define vtkPointCloudRepresentation_h
30 #include "vtkInteractionWidgetsModule.h"
45 struct vtkPointCloudPicker;
49 friend struct vtkPointCloudPicker;
100 x[0] = this->PointCoordinates[0];
101 x[1] = this->PointCoordinates[1];
102 x[2] = this->PointCoordinates[2];
111 vtkSetMacro(Highlighting,
bool);
112 vtkGetMacro(Highlighting,
bool);
113 vtkBooleanMacro(Highlighting,
bool);
136 vtkSetClampMacro(InteractionState,
int, Outside, Selecting);
144 void BuildRepresentation()
override {}
182 HARDWARE_PICKING = 0,
185 vtkSetClampMacro(PickingMode,
int, HARDWARE_PICKING, SOFTWARE_PICKING);
186 vtkGetMacro(PickingMode,
int);
202 vtkSetMacro(HardwarePickingTolerance,
unsigned int);
203 vtkGetMacro(HardwarePickingTolerance,
unsigned int);
215 vtkSetClampMacro(SoftwarePickingTolerance,
double, 0.0, 100.0);
216 vtkGetMacro(SoftwarePickingTolerance,
double);
235 double PointCoordinates[3];
map vtkPolyData to graphics primitives
create 2D glyphs represented by vtkPolyData
draw vtkPolyData onto the image plane
void SetPickingModeToHardware()
Because point clouds can be very large, alternative point picking approaches can be used to select po...
void GetActors2D(vtkPropCollection *pc) override
These methods are necessary to make this representation behave as a vtkProp (i.e.,...
double * GetBounds() override
Some methods required to satisfy the vtkWidgetRepresentation API.
void SetPickingModeToSoftware()
Because point clouds can be very large, alternative point picking approaches can be used to select po...
int RenderOverlay(vtkViewport *) override
These methods are necessary to make this representation behave as a vtkProp (i.e.,...
void GetPointCoordinates(double x[3])
Retrieve the point coordinates of the selected point.
select a point by shooting a ray into a graphics window
int ComputeInteractionState(int X, int Y, int modify=0) override
Some methods required to satisfy the vtkWidgetRepresentation API.
superclass for 3D geometric pickers (uses ray cast)
vtkPointCloudRepresentation()
~vtkPointCloudRepresentation() override
vtkIdType GetPointId()
Retrieve the point id from the selected point.
window superclass for vtkRenderWindow
vtkPolyDataMapper * OutlineMapper
vtkPointCloudPicker * PointCloudPicker
#define VTK_SIZEHINT(...)
vtkProperty2D * SelectionProperty
const double * GetPointCoordinates()
Retrieve the point coordinates of the selected point.
unsigned int HardwarePickingTolerance
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
represent the vtkPointCloudWidget
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems
double SoftwarePickingTolerance
int RenderTranslucentPolygonalGeometry(vtkViewport *viewport) override
These methods are necessary to make this representation behave as a vtkProp (i.e.,...
vtkActor2D * SelectionActor
void RegisterPickers() override
Register internal Pickers in the Picking Manager.
vtkPolyDataMapper * PointCloudMapper
abstract specification for Viewports
_Picking_Mode
Because point clouds can be very large, alternative point picking approaches can be used to select po...
represent surface properties of a 2D image
a actor that draws 2D data
vtkPicker * OutlinePicker
void PrintSelf(ostream &os, vtkIndent indent) override
Standard VTK class methods for obtaining type information and printing.
vtkPolyDataMapper2D * SelectionMapper
int RenderOpaqueGeometry(vtkViewport *viewport) override
These methods are necessary to make this representation behave as a vtkProp (i.e.,...
concrete class for storing a set of points
void PlacePointCloud(vtkActor *a)
Specify and place either an actor (vtkActor) or a point set (vtkPointSet) that represents the point c...
vtkActor * PointCloudActor
concrete dataset represents vertices, lines, polygons, and triangle strips
create wireframe outline for an arbitrary data set or composite dataset
vtkGlyphSource2D * SelectionShape
void PlacePointCloud(vtkPointSet *ps)
Specify and place either an actor (vtkActor) or a point set (vtkPointSet) that represents the point c...
vtkTypeBool HasTranslucentPolygonalGeometry() override
These methods are necessary to make this representation behave as a vtkProp (i.e.,...
vtkCoordinate * SelectionCoordinate
void CreateDefaultProperties()
vtkOutlineFilter * OutlineFilter
void ReleaseGraphicsResources(vtkWindow *) override
These methods are necessary to make this representation behave as a vtkProp (i.e.,...
static vtkPointCloudRepresentation * New()
Instantiate this class.