75 #ifndef vtkBoxWidget_h
76 #define vtkBoxWidget_h
78 #include "vtkInteractionWidgetsModule.h"
108 void PlaceWidget(
double bounds[6]) VTK_OVERRIDE;
109 void PlaceWidget() VTK_OVERRIDE
110 {this->Superclass::PlaceWidget();}
111 void PlaceWidget(
double xmin,
double xmax,
double ymin,
double ymax,
112 double zmin,
double zmax) VTK_OVERRIDE
113 {this->Superclass::PlaceWidget(xmin,xmax,ymin,ymax,zmin,zmax);}
133 vtkGetMacro(InsideOut,
int);
173 vtkGetObjectMacro(SelectedHandleProperty,
vtkProperty);
192 vtkGetObjectMacro(SelectedFaceProperty,
vtkProperty);
202 vtkGetObjectMacro(SelectedOutlineProperty,
vtkProperty);
210 void SetOutlineFaceWires(
int);
211 vtkGetMacro(OutlineFaceWires,
int);
222 void SetOutlineCursorWires(
int);
223 vtkGetMacro(OutlineCursorWires,
int);
234 vtkGetMacro(TranslationEnabled,
int);
237 vtkGetMacro(ScalingEnabled,
int);
240 vtkGetMacro(RotationEnabled,
int);
265 virtual void OnMouseMove();
266 virtual void OnLeftButtonDown();
267 virtual void OnLeftButtonUp();
268 virtual void OnMiddleButtonDown();
269 virtual void OnMiddleButtonUp();
270 virtual void OnRightButtonDown();
271 virtual void OnRightButtonUp();
289 virtual void PositionHandles();
290 int HighlightHandle(
vtkProp *prop);
291 void HighlightFace(
int cellId);
292 void HighlightOutline(
int highlight);
293 void ComputeNormals();
308 void RegisterPickers() VTK_OVERRIDE;
311 virtual
void Translate(
double *p1,
double *p2);
312 virtual
void Scale(
double *p1,
double *p2,
int X,
int Y);
313 virtual
void Rotate(
int X,
int Y,
double *p1,
double *p2,
double *vpn);
314 void MovePlusXFace(
double *p1,
double *p2);
315 void MoveMinusXFace(
double *p1,
double *p2);
316 void MovePlusYFace(
double *p1,
double *p2);
317 void MoveMinusYFace(
double *p1,
double *p2);
318 void MovePlusZFace(
double *p1,
double *p2);
319 void MoveMinusZFace(
double *p1,
double *p2);
323 void MoveFace(
double *p1,
double *p2,
double *
dir,
324 double *x1,
double *x2,
double *x3,
double *x4,
328 void GetDirection(const
double Nx[3],const
double Ny[3],
329 const
double Nz[3],
double dir[3]);
342 void CreateDefaultProperties();
346 int OutlineFaceWires;
347 int OutlineCursorWires;
348 void GenerateOutline();
351 int TranslationEnabled;
357 void operator=(const
vtkBoxWidget&) VTK_DELETE_FUNCTION;
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.
implicit function for convex set of planes
concrete dataset represents vertices, lines, polygons, and triangle strips
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.
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