61#ifndef vtkPolygonalSurfacePointPlacer_h
62#define vtkPolygonalSurfacePointPlacer_h
64#include "vtkInteractionWidgetsModule.h"
69class vtkPolygonalSurfacePointPlacerInternals;
116 vtkRenderer* ren,
double displayPos[2],
double worldPos[3],
double worldOrient[9])
override;
125 double worldPos[3],
double worldOrient[9])
override;
170 vtkSetMacro(DistanceOffset,
double);
171 vtkGetMacro(DistanceOffset,
double);
ray-cast cell picker for all kinds of Prop3Ds
a simple class to control print indentation
maintain a list of polygonal data objects
Base class to place points given constraints on polygonal data.
concrete dataset represents vertices, lines, polygons, and triangle strips
Place points on the surface of polygonal data.
~vtkPolygonalSurfacePointPlacer() override
vtkCellPicker * CellPicker
vtkPolygonalSurfacePointPlacerNode Node
Internally used by the interpolator.
static vtkPolygonalSurfacePointPlacer * New()
Instantiate this class.
int UpdateNodeWorldPosition(double worldPos[3], vtkIdType nodePointId) override
Give the node a chance to update its auxiliary point id.
void AddProp(vtkProp *) override
int ValidateDisplayPosition(vtkRenderer *, double displayPos[2]) override
Given a display position, check the validity of this position.
int ComputeWorldPosition(vtkRenderer *ren, double displayPos[2], double refWorldPos[3], double worldPos[3], double worldOrient[9]) override
Given a renderer, a display position, and a reference world position, compute the new world position ...
int ValidateWorldPosition(double worldPos[3]) override
Given a world position check the validity of this position according to the constraints of the placer...
void RemoveAllProps() override
vtkTypeBool SnapToClosestPoint
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.
Node * GetNodeAtWorldPosition(double worldPos[3])
Internally used by the interpolator.
vtkPolygonalSurfacePointPlacerInternals * Internals
int ValidateWorldPosition(double worldPos[3], double worldOrient[9]) override
Given a world position and a world orientation, validate it according to the constraints of the place...
int ComputeWorldPosition(vtkRenderer *ren, double displayPos[2], double worldPos[3], double worldOrient[9]) override
Given a renderer and a display position in pixel coordinates, compute the world position and orientat...
void RemoveViewProp(vtkProp *prop) override
vtkPolyDataCollection * Polys
vtkPolygonalSurfacePointPlacer()
abstract superclass for all actors, volumes and annotations
abstract specification for renderers
double ParametricCoords[3]
double SurfaceWorldPosition[3]