Go to the documentation of this file.
37 #ifndef vtkConstrainedPointHandleRepresentation_h
38 #define vtkConstrainedPointHandleRepresentation_h
40 #include "vtkInteractionWidgetsModule.h"
87 void SetActiveCursorShape(
vtkPolyData *activeShape);
97 vtkSetClampMacro(ProjectionNormal,
int,
100 vtkGetMacro(ProjectionNormal,
int);
118 vtkGetObjectMacro(ObliquePlane,
vtkPlane);
129 void SetProjectionPosition(
double position);
130 vtkGetMacro(ProjectionPosition,
double);
142 void AddBoundingPlane(
vtkPlane *plane);
143 void RemoveBoundingPlane(
vtkPlane *plane);
144 void RemoveAllBoundingPlanes();
147 void SetBoundingPlanes(
vtkPlanes *planes);
163 void SetPosition(
double x,
double y,
double z);
164 void SetPosition(
double xyz[3]);
165 double* GetPosition();
166 void GetPosition(
double xyz[3]);
243 double LastPickPosition[3];
244 double LastEventPosition[2];
247 void Translate(
double eventPos[2]);
248 void Scale(
double eventPos[2]);
256 void CreateDefaultProperties();
267 int GetIntersectionPosition(
double eventPos[2],
269 double tolerance = 0.0,
273 void GetProjectionNormal(
double normal[3] );
277 void GetProjectionOrigin(
double origin[3] );
283 double InteractionOffset[2];
map vtkPolyData to graphics primitives
represent and manipulate 3D points
point representation constrained to a 2D plane
perform various plane computations
vtkProperty * SelectedProperty
void SetProjectionNormalToXAxis()
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
double ProjectionPosition
abstract class for representing widget handles
vtkPolyDataMapper * Mapper
vtkPolyData * CursorShape
vtkPolyData * ActiveCursorShape
implicit function for convex set of planes
window superclass for vtkRenderWindow
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetProjectionNormalToOblique()
vtkProperty * ActiveProperty
void SetProjectionNormalToZAxis()
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
virtual int CheckConstraint(vtkRenderer *renderer, double pos[2])
Method has to be overridden in the subclasses which has constraints on placing the handle (Ex.
vtkPlaneCollection * BoundingPlanes
void SetProjectionNormalToYAxis()
abstract specification for Viewports
copy oriented and scaled glyph geometry to every input point
abstract superclass for all actors, volumes and annotations
abstract specification for renderers
virtual void SetDisplayPosition(double pos[3])
Handles usually have their coordinates set in display coordinates (generally by an associated widget)...
concrete dataset represents vertices, lines, polygons, and triangle strips
void SetRenderer(vtkRenderer *ren) override
Subclasses of vtkWidgetRepresentation must implement these methods.
void ShallowCopy(vtkProp *prop) override
Methods to make this class properly act like a vtkWidgetRepresentation.
represent surface properties of a geometric object
maintain a list of planes