28#ifndef vtkConstrainedPointHandleRepresentation_h 
   29#define vtkConstrainedPointHandleRepresentation_h 
   32#include "vtkInteractionWidgetsModule.h"  
   34VTK_ABI_NAMESPACE_BEGIN
 
   94  vtkGetMacro(ProjectionNormal, 
int);
 
  132  vtkGetMacro(ProjectionPosition, 
double);
 
  251  double LastPickPosition[3];
 
  252  double LastEventPosition[2];
 
  286  double InteractionOffset[2];
 
represents an object (geometry & properties) in a rendered scene
 
point representation constrained to a 2D plane
 
void Translate(const double *eventPos) override
Translates world position by vector v projected on the constraint axis if any.
 
vtkPolyData * CursorShape
 
void ShallowCopy(vtkProp *prop) override
Methods to make this class behave as a vtkProp.
 
vtkProperty * ActiveProperty
 
vtkPolyData * GetCursorShape()
Specify the cursor shape.
 
void StartWidgetInteraction(double eventPos[2]) override
Subclasses of vtkConstrainedPointHandleRepresentation must implement these methods.
 
void RemoveAllBoundingPlanes()
A collection of plane equations used to bound the position of the point.
 
void SetProjectionNormalToYAxis()
 
void Scale(const double *eventPos)
 
int ComputeInteractionState(int X, int Y, int modify) override
Subclasses of vtkConstrainedPointHandleRepresentation must implement these methods.
 
void Highlight(int highlight) override
 
void CreateDefaultProperties()
 
double * GetPosition()
Set/Get the position of the point in display coordinates.
 
void SetDisplayPosition(double pos[3]) override
Method overridden from Superclass.
 
vtkPolyData * GetActiveCursorShape()
Specify the shape of the cursor (handle) when it is active.
 
vtkTypeBool HasTranslucentPolygonalGeometry() override
Methods to make this class behave as a vtkProp.
 
void WidgetInteraction(double eventPos[2]) override
Subclasses of vtkConstrainedPointHandleRepresentation must implement these methods.
 
~vtkConstrainedPointHandleRepresentation() override
 
void AddBoundingPlane(vtkPlane *plane)
A collection of plane equations used to bound the position of the point.
 
void GetActors(vtkPropCollection *) override
Methods to make this class behave as a vtkProp.
 
int CheckConstraint(vtkRenderer *renderer, double pos[2]) override
Overridden from the base class.
 
vtkProperty * SelectedProperty
 
int RenderOpaqueGeometry(vtkViewport *viewport) override
Methods to make this class behave as a vtkProp.
 
void GetPosition(double xyz[3])
Set/Get the position of the point in display coordinates.
 
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.
 
vtkPlaneCollection * BoundingPlanes
 
int RenderTranslucentPolygonalGeometry(vtkViewport *viewport) override
Methods to make this class behave as a vtkProp.
 
void SetProjectionPosition(double position)
The position of the bounding plane from the origin along the normal.
 
void SetPosition(double xyz[3])
Set/Get the position of the point in display coordinates.
 
void SetRenderer(vtkRenderer *ren) override
Subclasses of vtkConstrainedPointHandleRepresentation must implement these methods.
 
vtkPolyDataMapper * Mapper
 
double ProjectionPosition
 
void SetProjectionNormalToOblique()
 
void SetPosition(double x, double y, double z)
Set/Get the position of the point in display coordinates.
 
void SetActiveCursorShape(vtkPolyData *activeShape)
Specify the shape of the cursor (handle) when it is active.
 
static vtkConstrainedPointHandleRepresentation * New()
Instantiate this class.
 
void BuildRepresentation() override
Subclasses of vtkConstrainedPointHandleRepresentation must implement these methods.
 
void SetCursorShape(vtkPolyData *cursorShape)
Specify the cursor shape.
 
void SetProjectionNormalToXAxis()
 
void SetBoundingPlanes(vtkPlanes *planes)
A collection of plane equations used to bound the position of the point.
 
virtual void SetBoundingPlanes(vtkPlaneCollection *)
A collection of plane equations used to bound the position of the point.
 
void RemoveBoundingPlane(vtkPlane *plane)
A collection of plane equations used to bound the position of the point.
 
void GetProjectionOrigin(double origin[3])
 
void ReleaseGraphicsResources(vtkWindow *) override
Methods to make this class behave as a vtkProp.
 
vtkConstrainedPointHandleRepresentation()
 
int GetIntersectionPosition(const double eventPos[2], double worldPos[3], double tolerance=0.0, vtkRenderer *renderer=nullptr)
 
void GetProjectionNormal(double normal[3])
 
vtkPolyData * ActiveCursorShape
 
int RenderOverlay(vtkViewport *viewport) override
Methods to make this class behave as a vtkProp.
 
void SetObliquePlane(vtkPlane *)
If the ProjectionNormal is set to Oblique, then this is the oblique plane used to constrain the handl...
 
void SetProjectionNormalToZAxis()
 
copy oriented and scaled glyph geometry to every input point
 
abstract class for representing widget handles
 
virtual void Translate(const double *p1, const double *p2)
Translates world position by vector p1p2 projected on the constraint axis if any.
 
a simple class to control print indentation
 
maintain a list of planes
 
perform various plane computations
 
implicit function for convex set of planes
 
represent and manipulate 3D points
 
map vtkPolyData to graphics primitives
 
concrete dataset represents vertices, lines, polygons, and triangle strips
 
abstract superclass for all actors, volumes and annotations
 
represent surface properties of a geometric object
 
abstract specification for renderers
 
abstract specification for Viewports
 
window superclass for vtkRenderWindow