|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   84 #ifndef vtkPlaneWidget_h 
   85 #define vtkPlaneWidget_h 
   87 #include "vtkInteractionWidgetsModule.h"  
  104 #define VTK_PLANE_OFF 0 
  105 #define VTK_PLANE_OUTLINE 1 
  106 #define VTK_PLANE_WIREFRAME 2 
  107 #define VTK_PLANE_SURFACE 3 
  128     double xmin, 
double xmax, 
double ymin, 
double ymax, 
double zmin, 
double zmax)
 override 
  138   void SetResolution(
int r);
 
  146   void SetOrigin(
double x, 
double y, 
double z);
 
  147   void SetOrigin(
double x[3]);
 
  149   void GetOrigin(
double xyz[3]);
 
  156   void SetPoint1(
double x, 
double y, 
double z);
 
  157   void SetPoint1(
double x[3]);
 
  159   void GetPoint1(
double xyz[3]);
 
  166   void SetPoint2(
double x, 
double y, 
double z);
 
  167   void SetPoint2(
double x[3]);
 
  169   void GetPoint2(
double xyz[3]);
 
  176   void SetCenter(
double x, 
double y, 
double z);
 
  177   void SetCenter(
double x[3]);
 
  179   void GetCenter(
double xyz[3]);
 
  186   void SetNormal(
double x, 
double y, 
double z);
 
  187   void SetNormal(
double x[3]);
 
  189   void GetNormal(
double xyz[3]);
 
  202   vtkGetMacro(Representation, 
int);
 
  267   vtkGetObjectMacro(SelectedHandleProperty, 
vtkProperty);
 
  277   vtkGetObjectMacro(SelectedPlaneProperty, 
vtkProperty);
 
  300     vtkObject* 
object, 
unsigned long event, 
void* clientdata, 
void* calldata);
 
  303   void OnLeftButtonDown();
 
  304   void OnLeftButtonUp();
 
  305   void OnMiddleButtonDown();
 
  306   void OnMiddleButtonUp();
 
  307   void OnRightButtonDown();
 
  308   void OnRightButtonUp();
 
  319   void SelectRepresentation();
 
  326   void HighlightPlane(
int highlight);
 
  332   void PositionHandles();
 
  333   void HandlesOn(
double length);
 
  335   int HighlightHandle(
vtkProp* prop); 
 
  342   void HighlightNormal(
int highlight);
 
  368   void MoveOrigin(
double* p1, 
double* p2);
 
  369   void MovePoint1(
double* p1, 
double* p2);
 
  370   void MovePoint2(
double* p1, 
double* p2);
 
  371   void MovePoint3(
double* p1, 
double* p2);
 
  372   void Rotate(
int X, 
int Y, 
double* p1, 
double* p2, 
double* vpn);
 
  373   void Spin(
double* p1, 
double* p2);
 
  374   void Scale(
double* p1, 
double* p2, 
int X, 
int Y);
 
  375   void Translate(
double* p1, 
double* p2);
 
  376   void Push(
double* p1, 
double* p2);
 
  390   void CreateDefaultProperties();
 
  392   void GeneratePlane();
 
  
map vtkPolyData to graphics primitives
represent and manipulate 3D points
perform various plane computations
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
create an array of quadrilaterals located in a plane
abstract base class for most VTK objects
#define VTK_SIZEHINT(...)
create a polygonal sphere centered at the origin
static void ProcessEvents(vtkObject *object, unsigned long event, void *clientdata, void *calldata)
Handles the char widget activation event.
represents an object (geometry & properties) in a rendered scene
virtual void SetEnabled(int)
Methods for turning the interactor observer on and off, and determining its state.
a simple class to control print indentation
create a line defined by two end points
virtual void RegisterPickers()
Register internal Pickers in the Picking Manager.
abstract superclass for all actors, volumes and annotations
concrete dataset represents vertices, lines, polygons, and triangle strips
represent surface properties of a geometric object
ray-cast cell picker for all kinds of Prop3Ds
Superclass for algorithms that produce only polydata as output.