22 #ifndef vtkFinitePlaneRepresentation_h
23 #define vtkFinitePlaneRepresentation_h
25 #include "vtkInteractionWidgetsModule.h"
30 VTK_ABI_NAMESPACE_BEGIN
75 vtkGetObjectMacro(SelectedHandleProperty,
vtkProperty);
85 vtkGetObjectMacro(SelectedPlaneProperty,
vtkProperty);
93 vtkSetMacro(Tubing,
bool);
94 vtkGetMacro(Tubing,
bool);
95 vtkBooleanMacro(Tubing,
bool);
103 vtkSetMacro(RectangularShape,
bool);
104 vtkGetMacro(RectangularShape,
bool);
105 vtkBooleanMacro(RectangularShape,
bool);
115 void SetDrawPlane(
bool plane);
116 vtkGetMacro(DrawPlane,
bool);
117 vtkBooleanMacro(DrawPlane,
bool);
125 void SetHandles(
bool handles);
126 virtual void HandlesOn();
127 virtual void HandlesOff();
152 vtkSetClampMacro(InteractionState,
int, Outside, Pushing);
158 void SetOrigin(
double x,
double y,
double z);
159 void SetOrigin(
double x[3]);
160 vtkGetVector3Macro(Origin,
double);
167 void SetNormal(
double x,
double y,
double z);
168 void SetNormal(
double n[3]);
169 vtkGetVector3Macro(
Normal,
double);
176 void SetV1(
double x,
double y);
177 void SetV1(
double x[2]);
178 vtkGetVector2Macro(V1,
double);
185 void SetV2(
double x,
double y);
186 void SetV2(
double x[2]);
187 vtkGetVector2Macro(V2,
double);
195 virtual void SetRepresentationState(
int);
196 vtkGetMacro(RepresentationState,
int);
204 vtkGetObjectMacro(SelectedNormalProperty,
vtkProperty);
208 void TranslateOrigin(
double* p1,
double* p2);
209 void MovePoint1(
double* p1,
double* p2);
210 void MovePoint2(
double* p1,
double* p2);
211 void Push(
double* p1,
double* p2);
212 void Rotate(
int X,
int Y,
double* p1,
double* p2,
double* vpn);
234 virtual void CreateDefaultProperties();
237 virtual void SizeHandles();
239 void SetHighlightNormal(
int highlight);
240 void SetHighlightPlane(
int highlight);
241 void SetHighlightHandle(
vtkProp* prop);
243 double LastEventPosition[3];
258 double PreviousNormal[3];
306 bool RectangularShape =
false;
307 bool DrawPlane =
true;
335 VTK_ABI_NAMESPACE_END
vtkNew< vtkLineSource > LineSource
abstract superclass for all actors, volumes and annotations
vtkNew< vtkActor > V1Actor
vtkNew< vtkConeSource > ConeSource
vtkNew< vtkLineSource > LineSource2
represents an object (geometry & properties) in a rendered scene
vtkNew< vtkProperty > SelectedNormalProperty
vtkNew< vtkPolyDataMapper > ConeMapper
abstract specification for Viewports
represent surface properties of a geometric object
vtkNew< vtkPolyDataMapper > ConeMapper2
vtkNew< vtkPolyDataMapper > LineMapper2
vtkNew< vtkFeatureEdges > Edges
vtkNew< vtkTransform > Transform
vtkNew< vtkActor > ConeActor
vtkNew< vtkTransform > TransformRotation
vtkNew< vtkPolyDataMapper > V1Mapper
vtkNew< vtkSphereSource > V1Geometry
vtkNew< vtkActor > PlaneActor
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkNew< vtkSphereSource > OriginGeometry
window superclass for vtkRenderWindow
vtkNew< vtkPolyDataMapper > LineMapper
vtkNew< vtkCellPicker > HandlePicker
create a polygonal sphere centered at the origin
vtkNew< vtkPolyDataMapper > V2Mapper
vtkNew< vtkProperty > PlaneProperty
vtkNew< vtkConeSource > ConeSource2
vtkNew< vtkPolyDataMapper > EdgesMapper
filter that generates tubes around lines
a simple class to control print indentation
vtkNew< vtkActor > ConeActor2
extract interior, boundary, non-manifold, and/or sharp edges from polygonal data
vtkNew< vtkPolyDataMapper > OriginMapper
represent the vtkFinitePlaneWidget.
vtkNew< vtkProperty > SelectedHandleProperty
vtkNew< vtkActor > EdgesActor
vtkNew< vtkActor > V2Actor
vtkNew< vtkProperty > SelectedPlaneProperty
vtkNew< vtkSphereSource > V2Geometry
vtkNew< vtkActor > LineActor2
vtkNew< vtkPolyDataMapper > PlaneMapper
create a line defined by two end points
map vtkPolyData to graphics primitives
vtkNew< vtkTubeFilter > EdgesTuber
ray-cast cell picker for all kinds of Prop3Ds
vtkNew< vtkPolyData > PlanePolyData
vtkNew< vtkProperty > V1HandleProperty
vtkNew< vtkProperty > OriginHandleProperty
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
vtkNew< vtkBox > BoundingBox
implicit function for a bounding box
vtkNew< vtkProperty > V2HandleProperty
vtkNew< vtkActor > OriginActor
vtkNew< vtkProperty > NormalProperty
vtkNew< vtkActor > LineActor