73 #ifndef vtkLineWidget_h 
   74 #define vtkLineWidget_h 
   76 #include "vtkInteractionWidgetsModule.h"  
  111     {this->Superclass::PlaceWidget();}
 
  112   void PlaceWidget(
double xmin, 
double xmax, 
double ymin, 
double ymax,
 
  113                    double zmin, 
double zmax)
 
  114     {this->Superclass::PlaceWidget(xmin,xmax,ymin,ymax,zmin,zmax);}
 
  121     { this->LineSource->SetResolution(r); }
 
  123     { 
return this->LineSource->GetResolution(); }
 
  128   void SetPoint1(
double x, 
double y, 
double z);
 
  130     {this->SetPoint1(x[0], x[1], x[2]); }
 
  132     {
return this->LineSource->GetPoint1();}
 
  134     {this->LineSource->GetPoint1(xyz);}
 
  139   void SetPoint2(
double x, 
double y, 
double z);
 
  141     {this->SetPoint2(x[0], x[1], x[2]);}
 
  143     {
return this->LineSource->GetPoint2();}
 
  145     {this->LineSource->GetPoint2(xyz);}
 
  154   vtkSetClampMacro(Align, 
int, XAxis, None);
 
  155   vtkGetMacro(Align, 
int);
 
  170   vtkGetMacro(ClampToBounds,
int);
 
  190   vtkGetObjectMacro(SelectedHandleProperty,
vtkProperty);
 
  199   vtkGetObjectMacro(SelectedLineProperty,
vtkProperty);
 
  207   friend class vtkPWCallback;
 
  226   void OnLeftButtonDown();
 
  227   void OnLeftButtonUp();
 
  228   void OnMiddleButtonDown();
 
  229   void OnMiddleButtonUp();
 
  230   void OnRightButtonDown();
 
  231   void OnRightButtonUp();
 
  232   virtual void OnMouseMove();
 
  248   void HighlightLine(
int highlight);
 
  255   void BuildRepresentation();
 
  257   void HandlesOn(
double length);
 
  259   int HighlightHandle(
vtkProp *prop); 
 
  260   void HighlightHandles(
int highlight);
 
  266   double LastPosition[3];
 
  267   void  SetLinePosition(
double x[3]);
 
  273   void Scale(
double *p1, 
double *p2, 
int X, 
int Y);
 
  277   void  ClampPosition(
double x[3]);
 
  278   int   InBounds(
double x[3]);
 
  286   void CreateDefaultProperties();
 
  298   void EnablePointWidget();
 
  299   void DisablePointWidget();
 
  300   int ForwardEvent(
unsigned long event);
 
abstract superclass for all actors, volumes and annotations 
 
represents an object (geometry & properties) in a rendered scene 
 
abstract base class for most VTK objects 
 
represent surface properties of a geometric object 
 
static void ProcessEvents(vtkObject *object, unsigned long event, void *clientdata, void *calldata)
Handles the char widget activation event. 
 
virtual void SetEnabled(int)
Methods for turning the interactor observer on and off, and determining its state. 
 
concrete dataset represents vertices, lines, polygons, and triangle strips 
 
virtual void RegisterPickers()
Register internal Pickers in the Picking Manager. 
 
create a polygonal sphere centered at the origin 
 
a simple class to control print indentation 
 
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection. 
 
create a line defined by two end points 
 
map vtkPolyData to graphics primitives 
 
ray-cast cell picker for all kinds of Prop3Ds 
 
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection. 
 
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
 
represent and manipulate 3D points