|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   37 #ifndef vtkConstrainedPointHandleRepresentation_h 
   38 #define vtkConstrainedPointHandleRepresentation_h 
   41 #include "vtkInteractionWidgetsModule.h"  
   90   void SetActiveCursorShape(
vtkPolyData* activeShape);
 
  102   vtkGetMacro(ProjectionNormal, 
int);
 
  128   vtkGetObjectMacro(ObliquePlane, 
vtkPlane);
 
  139   void SetProjectionPosition(
double position);
 
  140   vtkGetMacro(ProjectionPosition, 
double);
 
  152   void AddBoundingPlane(
vtkPlane* plane);
 
  153   void RemoveBoundingPlane(
vtkPlane* plane);
 
  154   void RemoveAllBoundingPlanes();
 
  157   void SetBoundingPlanes(
vtkPlanes* planes);
 
  173   void SetPosition(
double x, 
double y, 
double z);
 
  174   void SetPosition(
double xyz[3]);
 
  175   double* GetPosition();
 
  176   void GetPosition(
double xyz[3]);
 
  259   double LastPickPosition[3];
 
  260   double LastEventPosition[2];
 
  263   void Translate(
const double* eventPos) 
override;
 
  264   void Scale(
const double* eventPos);
 
  271   void CreateDefaultProperties();
 
  282   int GetIntersectionPosition(
const double eventPos[2], 
double worldPos[3], 
double tolerance = 0.0,
 
  286   void GetProjectionNormal(
double normal[3]);
 
  290   void GetProjectionOrigin(
double origin[3]);
 
  294   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
virtual void Translate(const double *p1, const double *p2)
Translates world position by vector p1p2 projected on the constraint axis if any.
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