34 #ifndef vtkFinitePlaneRepresentation_h
35 #define vtkFinitePlaneRepresentation_h
38 #include "vtkInteractionWidgetsModule.h"
84 vtkGetObjectMacro(SelectedHandleProperty,
vtkProperty);
94 vtkGetObjectMacro(SelectedPlaneProperty,
vtkProperty);
102 vtkSetMacro(Tubing,
bool);
103 vtkGetMacro(Tubing,
bool);
104 vtkBooleanMacro(Tubing,
bool);
114 void SetDrawPlane(
bool plane);
115 vtkGetMacro(DrawPlane,
bool);
116 vtkBooleanMacro(DrawPlane,
bool);
124 void SetHandles(
bool handles);
125 virtual void HandlesOn();
126 virtual void HandlesOff();
151 vtkSetClampMacro(InteractionState,
int, Outside, Pushing);
157 void SetOrigin(
double x,
double y,
double z);
158 void SetOrigin(
double x[3]);
159 vtkGetVector3Macro(Origin,
double);
166 void SetNormal(
double x,
double y,
double z);
167 void SetNormal(
double n[3]);
168 vtkGetVector3Macro(
Normal,
double);
175 void SetV1(
double x,
double y);
176 void SetV1(
double x[2]);
177 vtkGetVector2Macro(V1,
double);
184 void SetV2(
double x,
double y);
185 void SetV2(
double x[2]);
186 vtkGetVector2Macro(V2,
double);
194 virtual void SetRepresentationState(
int);
195 vtkGetMacro(RepresentationState,
int);
203 vtkGetObjectMacro(SelectedNormalProperty,
vtkProperty);
207 void TranslateOrigin(
double* p1,
double* p2);
208 void MovePoint1(
double* p1,
double* p2);
209 void MovePoint2(
double* p1,
double* p2);
210 void Push(
double* p1,
double* p2);
211 void Rotate(
int X,
int Y,
double* p1,
double* p2,
double* vpn);
223 #if !defined(VTK_LEGACY_REMOVE)
237 virtual void CreateDefaultProperties();
240 virtual void SizeHandles();
242 void SetHighlightNormal(
int highlight);
243 void SetHighlightPlane(
int highlight);
244 void SetHighlightHandle(
vtkProp* prop);
246 double LastEventPosition[3];
261 double PreviousNormal[3];
vtkPolyDataMapper * ConeMapper
vtkProperty * OriginHandleProperty
abstract superclass for all actors, volumes and annotations
vtkTubeFilter * EdgesTuber
vtkPolyDataMapper * LineMapper2
vtkLineSource * LineSource2
represents an object (geometry & properties) in a rendered scene
vtkLineSource * LineSource
vtkSphereSource * V1Geometry
vtkPolyDataMapper * V2Mapper
vtkPolyDataMapper * LineMapper
abstract specification for Viewports
represent surface properties of a geometric object
vtkPolyDataMapper * V1Mapper
vtkPolyDataMapper * OriginMapper
vtkSphereSource * OriginGeometry
#define VTK_DEPRECATED_IN_9_2_0(reason)
vtkPolyData * PlanePolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkProperty * SelectedNormalProperty
vtkSphereSource * V2Geometry
window superclass for vtkRenderWindow
create a polygonal sphere centered at the origin
vtkConeSource * ConeSource
filter that generates tubes around lines
vtkProperty * NormalProperty
a simple class to control print indentation
extract interior, boundary, non-manifold, and/or sharp edges from polygonal data
vtkProperty * SelectedHandleProperty
vtkProperty * V2HandleProperty
represent the vtkFinitePlaneWidget.
vtkPolyDataMapper * ConeMapper2
vtkPolyDataMapper * EdgesMapper
create a line defined by two end points
map vtkPolyData to graphics primitives
ray-cast cell picker for all kinds of Prop3Ds
vtkCellPicker * HandlePicker
vtkProperty * PlaneProperty
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
vtkTransform * TransformRotation
implicit function for a bounding box
vtkProperty * V1HandleProperty
vtkPolyDataMapper * PlaneMapper
vtkConeSource * ConeSource2
vtkProperty * SelectedPlaneProperty