Go to the documentation of this file.
38 #ifndef vtkBoxRepresentation_h
39 #define vtkBoxRepresentation_h
181 enum {Outside=0,MoveF0,MoveF1,MoveF2,MoveF3,MoveF4,MoveF5,
Translating,Rotating,Scaling};
198 double LastEventPosition[3];
262 virtual void Scale(
double *p1,
double *p2,
int X,
int Y);
263 virtual void Rotate(
int X,
int Y,
double *p1,
double *p2,
double *vpn);
279 double *x1,
double *x2,
double *x3,
double *x4,
284 const double Nz[3],
double dir[3]);
map vtkPolyData to graphics primitives
represent and manipulate 3D points
virtual int RenderOpaqueGeometry(vtkViewport *)
void PrintSelf(ostream &os, vtkIndent indent)
virtual void HandlesOff()
virtual void BuildRepresentation()
#define vtkGetObjectMacro(name, type)
virtual void Rotate(int X, int Y, double *p1, double *p2, double *vpn)
vtkDoubleArray * PlaneNormals
void GetDirection(const double Nx[3], const double Ny[3], const double Nz[3], double dir[3])
virtual void RegisterPickers()
virtual void Translate(double *p1, double *p2)
vtkProperty * SelectedOutlineProperty
a class defining the representation for the vtkBoxWidget2
void MoveFace(double *p1, double *p2, double *dir, double *x1, double *x2, double *x3, double *x4, double *x5)
represent the position of a point in 3D space
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
void HighlightFace(int cellId)
vtkPolyDataMapper * OutlineMapper
void GetPolyData(vtkPolyData *pd)
#define vtkTypeMacro(thisClass, superclass)
vtkPolyData * OutlinePolyData
vtkCellPicker * HexPicker
implicit function for convex set of planes
virtual void ReleaseGraphicsResources(vtkWindow *)
void MovePlusZFace(double *p1, double *p2)
virtual void WidgetInteraction(double e[2])
vtkPolyDataMapper ** HandleMapper
window superclass for vtkRenderWindow
virtual void StartWidgetInteraction(double e[2])
void MoveMinusYFace(double *p1, double *p2)
vtkPolyDataMapper * HexMapper
vtkPolyData * HexFacePolyData
vtkPolyDataMapper * HexFaceMapper
create a polygonal sphere centered at the origin
void MoveMinusXFace(double *p1, double *p2)
virtual void Scale(double *p1, double *p2, int X, int Y)
void HighlightOutline(int highlight)
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
represent and manipulate 4x4 transformation matrices
virtual void GetTransform(vtkTransform *t)
#define vtkGetMacro(name, type)
create a line defined by two end points
void OutlineFaceWiresOn()
virtual void PlaceWidget(double bounds[6])
abstract specification for Viewports
virtual double * GetBounds()
virtual void CreateDefaultProperties()
virtual int HasTranslucentPolygonalGeometry()
vtkPolyData * HexPolyData
vtkBooleanMacro(IgnoreDriverBugs, bool)
virtual void ComputeNormals()
virtual int ComputeInteractionState(int X, int Y, int modify=0)
void MovePlusYFace(double *p1, double *p2)
vtkSetMacro(IgnoreDriverBugs, bool)
static vtkBoxRepresentation * New()
abstract superclass for all actors, volumes and annotations
int HighlightHandle(vtkProp *prop)
vtkProperty * FaceProperty
implicit function for a bounding box
virtual void SizeHandles()
void OutlineCursorWiresOff()
vtkProperty * SelectedFaceProperty
vtkSphereSource ** HandleGeometry
void GetPlanes(vtkPlanes *planes)
concrete dataset represents vertices, lines, polygons, and triangle strips
void OutlineCursorWiresOn()
void SetOutlineCursorWires(int)
virtual void PositionHandles()
void SetInteractionState(int state)
dynamic, self-adjusting array of double
represent surface properties of a geometric object
vtkCellPicker * LastPicker
virtual void SetTransform(vtkTransform *t)
void OutlineFaceWiresOff()
ray-cast cell picker for all kinds of Prop3Ds
vtkProperty * HandleProperty
vtkProperty * OutlineProperty
void MovePlusXFace(double *p1, double *p2)
void SetOutlineFaceWires(int)
vtkProperty * SelectedHandleProperty
vtkCellPicker * HandlePicker
void MoveMinusZFace(double *p1, double *p2)
Superclass for algorithms that produce only polydata as output.