Go to the documentation of this file.
39 #ifndef vtkBoxRepresentation_h
40 #define vtkBoxRepresentation_h
42 #include "vtkInteractionWidgetsModule.h"
96 vtkGetMacro(InsideOut,
int);
136 vtkGetObjectMacro(SelectedHandleProperty,
vtkProperty);
146 vtkGetObjectMacro(SelectedFaceProperty,
vtkProperty);
156 vtkGetObjectMacro(SelectedOutlineProperty,
vtkProperty);
164 void SetOutlineFaceWires(
int);
165 vtkGetMacro(OutlineFaceWires,
int);
176 void SetOutlineCursorWires(
int);
177 vtkGetMacro(OutlineCursorWires,
int);
187 virtual void HandlesOn();
188 virtual void HandlesOff();
214 enum {Outside=0,MoveF0,MoveF1,MoveF2,MoveF3,MoveF4,MoveF5,
Translating,Rotating,Scaling};
225 void SetInteractionState(
int state);
232 double LastEventPosition[3];
250 virtual void PositionHandles();
251 int HighlightHandle(
vtkProp *prop);
252 void HighlightFace(
int cellId);
253 void HighlightOutline(
int highlight);
254 virtual void ComputeNormals();
255 virtual void SizeHandles();
286 virtual void CreateDefaultProperties();
292 void GenerateOutline();
295 virtual void Translate(
double *p1,
double *p2);
296 virtual void Scale(
double *p1,
double *p2,
int X,
int Y);
297 virtual void Rotate(
int X,
int Y,
double *p1,
double *p2,
double *vpn);
298 void MovePlusXFace(
double *p1,
double *p2);
299 void MoveMinusXFace(
double *p1,
double *p2);
300 void MovePlusYFace(
double *p1,
double *p2);
301 void MoveMinusYFace(
double *p1,
double *p2);
302 void MovePlusZFace(
double *p1,
double *p2);
303 void MoveMinusZFace(
double *p1,
double *p2);
312 void MoveFace(
double *p1,
double *p2,
double *
dir,
313 double *x1,
double *x2,
double *x3,
double *x4,
317 void GetDirection(
const double Nx[3],
const double Ny[3],
318 const double Nz[3],
double dir[3]);
map vtkPolyData to graphics primitives
represent and manipulate 3D points
vtkDoubleArray * PlaneNormals
vtkProperty * SelectedOutlineProperty
a class defining the representation for the vtkBoxWidget2
represent the position of a point in 3D space
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkPolyDataMapper * OutlineMapper
vtkPolyData * OutlinePolyData
vtkCellPicker * HexPicker
implicit function for convex set of planes
vtkPolyDataMapper ** HandleMapper
window superclass for vtkRenderWindow
vtkPolyDataMapper * HexMapper
vtkPolyData * HexFacePolyData
vtkPolyDataMapper * HexFaceMapper
create a polygonal sphere centered at the origin
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
represent and manipulate 4x4 transformation matrices
create a line defined by two end points
void OutlineFaceWiresOn()
abstract specification for Viewports
vtkPolyData * HexPolyData
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
abstract superclass for all actors, volumes and annotations
vtkProperty * FaceProperty
implicit function for a bounding box
void OutlineCursorWiresOff()
vtkProperty * SelectedFaceProperty
vtkSphereSource ** HandleGeometry
concrete dataset represents vertices, lines, polygons, and triangle strips
void OutlineCursorWiresOn()
dynamic, self-adjusting array of double
represent surface properties of a geometric object
vtkCellPicker * LastPicker
void OutlineFaceWiresOff()
ray-cast cell picker for all kinds of Prop3Ds
vtkProperty * HandleProperty
vtkProperty * OutlineProperty
vtkProperty * SelectedHandleProperty
vtkCellPicker * HandlePicker
Superclass for algorithms that produce only polydata as output.