|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   88 #ifndef vtkBrokenLineWidget_h 
   89 #define vtkBrokenLineWidget_h 
   92 #include "vtkInteractionWidgetsModule.h"  
  106 #define VTK_PROJECTION_YZ 0 
  107 #define VTK_PROJECTION_XZ 1 
  108 #define VTK_PROJECTION_XY 2 
  109 #define VTK_PROJECTION_OBLIQUE 3 
  130     double xmin, 
double xmax, 
double ymin, 
double ymax, 
double zmin, 
double zmax)
 override 
  132     this->Superclass::PlaceWidget(xmin, xmax, ymin, ymax, zmin, zmax);
 
  157   vtkGetMacro(ProjectionNormal, 
int);
 
  171   void SetProjectionPosition(
double position);
 
  172   vtkGetMacro(ProjectionPosition, 
double);
 
  191   virtual void SetSelectedHandleProperty(
vtkProperty*);
 
  192   vtkGetObjectMacro(SelectedHandleProperty, 
vtkProperty);
 
  202   virtual void SetSelectedLineProperty(
vtkProperty*);
 
  203   vtkGetObjectMacro(SelectedLineProperty, 
vtkProperty);
 
  210   virtual void SetNumberOfHandles(
int npts);
 
  211   vtkGetMacro(NumberOfHandles, 
int);
 
  219   void SetHandlePosition(
int handle, 
double x, 
double y, 
double z);
 
  220   void SetHandlePosition(
int handle, 
double xyz[3]);
 
  221   void GetHandlePosition(
int handle, 
double xyz[3]);
 
  222   double* GetHandlePosition(
int handle);
 
  228   double GetSummedLength();
 
  241   vtkSetClampMacro(ProcessEvents, 
vtkTypeBool, 0, 1);
 
  251   vtkSetClampMacro(HandleSizeFactor, 
double, 0., 100.);
 
  252   vtkGetMacro(HandleSizeFactor, 
double);
 
  273   static void ProcessEventsHandler(
 
  274     vtkObject* 
object, 
unsigned long event, 
void* clientdata, 
void* calldata);
 
  277   void OnLeftButtonDown();
 
  278   void OnLeftButtonUp();
 
  279   void OnMiddleButtonDown();
 
  280   void OnMiddleButtonUp();
 
  281   void OnRightButtonDown();
 
  282   void OnRightButtonUp();
 
  292   void ProjectPointsToPlane();
 
  293   void ProjectPointsToOrthoPlane();
 
  294   void ProjectPointsToObliquePlane();
 
  300   void HighlightLine(
int highlight);
 
  302   void BuildRepresentation();
 
  308   int HighlightHandle(
vtkProp* prop); 
 
  310   void InsertHandleOnLine(
double* pos);
 
  311   void EraseHandle(
const int&);
 
  323   void MovePoint(
double* p1, 
double* p2);
 
  324   void Scale(
double* p1, 
double* p2, 
int X, 
int Y);
 
  325   void Translate(
double* p1, 
double* p2);
 
  326   void Spin(
double* p1, 
double* p2, 
double* vpn);
 
  337   void CreateDefaultProperties();
 
  341   void CalculateCentroid();
 
  
map vtkPolyData to graphics primitives
represent and manipulate 3D points
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
create a polygonal sphere centered at the origin
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