31 #ifndef vtkFinitePlaneRepresentation_h
32 #define vtkFinitePlaneRepresentation_h
34 #include "vtkInteractionWidgetsModule.h"
80 vtkGetObjectMacro(SelectedHandleProperty,
vtkProperty);
90 vtkGetObjectMacro(SelectedPlaneProperty,
vtkProperty);
99 vtkGetMacro(Tubing,
bool);
110 void SetDrawPlane(
bool plane);
111 vtkGetMacro(DrawPlane,
bool);
120 void SetHandles(
bool handles);
121 virtual void HandlesOn();
122 virtual void HandlesOff();
131 int ComputeInteractionState(
int X,
int Y,
int modify=0) VTK_OVERRIDE;
132 void StartWidgetInteraction(
double e[2]) VTK_OVERRIDE;
133 void WidgetInteraction(
double e[2]) VTK_OVERRIDE;
134 double *GetBounds() VTK_OVERRIDE;
141 void ReleaseGraphicsResources(
vtkWindow*) VTK_OVERRIDE;
142 int RenderOpaqueGeometry(
vtkViewport*) VTK_OVERRIDE;
143 int RenderTranslucentPolygonalGeometry(
vtkViewport*) VTK_OVERRIDE;
144 int HasTranslucentPolygonalGeometry() VTK_OVERRIDE;
147 vtkSetClampMacro(InteractionState,
int, Outside, Pushing);
153 void SetOrigin(
double x,
double y,
double z);
154 void SetOrigin(
double x[3]);
155 vtkGetVector3Macro(Origin,
double);
162 void SetNormal(
double x,
double y,
double z);
163 void SetNormal(
double x[3]);
164 vtkGetVector3Macro(
Normal,
double);
171 void SetV1(
double x,
double y);
172 void SetV1(
double x[2]);
173 vtkGetVector2Macro(V1,
double);
180 void SetV2(
double x,
double y);
181 void SetV2(
double x[2]);
182 vtkGetVector2Macro(V2,
double);
190 virtual
void SetRepresentationState(
int);
191 vtkGetMacro(RepresentationState,
int);
199 vtkGetObjectMacro(SelectedNormalProperty, vtkProperty);
203 void TranslateOrigin(
double *p1,
double *p2);
204 void MovePoint1(
double *p1,
double *p2);
205 void MovePoint2(
double *p1,
double *p2);
206 void Push(
double *p1,
double *p2);
207 void Rotate(
int X,
int Y,
double *p1,
double *p2,
double *vpn);
224 virtual
void CreateDefaultProperties();
227 virtual
void SizeHandles();
230 void RegisterPickers() VTK_OVERRIDE;
232 void SetHighlightNormal(
int highlight);
233 void SetHighlightPlane(
int highlight);
234 void SetHighlightHandle(
vtkProp *prop);
236 double LastEventPosition[3];
239 int RepresentationState;
251 double PreviousNormal[3];
abstract superclass for all actors, volumes and annotations
represents an object (geometry & properties) in a rendered scene
abstract specification for Viewports
represent surface properties of a geometric object
concrete dataset represents vertices, lines, polygons, and triangle strips
window superclass for vtkRenderWindow
create a polygonal sphere centered at the origin
filter that generates tubes around lines
a simple class to control print indentation
extract boundary, non-manifold, and/or sharp edges from polygonal data
represent the vtkFinitePlaneWidget.
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...
implicit function for a bounding box