34 #ifndef vtkFinitePlaneRepresentation_h 35 #define vtkFinitePlaneRepresentation_h 37 #include "vtkInteractionWidgetsModule.h" 83 vtkGetObjectMacro(SelectedHandleProperty,
vtkProperty);
93 vtkGetObjectMacro(SelectedPlaneProperty,
vtkProperty);
101 vtkSetMacro(Tubing,
bool);
102 vtkGetMacro(Tubing,
bool);
103 vtkBooleanMacro(Tubing,
bool);
113 void SetDrawPlane(
bool plane);
114 vtkGetMacro(DrawPlane,
bool);
115 vtkBooleanMacro(DrawPlane,
bool);
123 void SetHandles(
bool handles);
124 virtual void HandlesOn();
125 virtual void HandlesOff();
150 vtkSetClampMacro(InteractionState,
int, Outside, Pushing);
156 void SetOrigin(
double x,
double y,
double z);
157 void SetOrigin(
double x[3]);
158 vtkGetVector3Macro(Origin,
double);
165 void SetNormal(
double x,
double y,
double z);
166 void SetNormal(
double x[3]);
167 vtkGetVector3Macro(
Normal,
double);
174 void SetV1(
double x,
double y);
175 void SetV1(
double x[2]);
176 vtkGetVector2Macro(V1,
double);
183 void SetV2(
double x,
double y);
184 void SetV2(
double x[2]);
185 vtkGetVector2Macro(V2,
double);
193 virtual void SetRepresentationState(
int);
194 vtkGetMacro(RepresentationState,
int);
202 vtkGetObjectMacro(SelectedNormalProperty,
vtkProperty);
206 void TranslateOrigin(
double *p1,
double *p2);
207 void MovePoint1(
double *p1,
double *p2);
208 void MovePoint2(
double *p1,
double *p2);
209 void Push(
double *p1,
double *p2);
210 void Rotate(
int X,
int Y,
double *p1,
double *p2,
double *vpn);
232 virtual void CreateDefaultProperties();
235 virtual void SizeHandles();
237 void SetHighlightNormal(
int highlight);
238 void SetHighlightPlane(
int highlight);
239 void SetHighlightHandle(
vtkProp *prop);
241 double LastEventPosition[3];
256 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
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 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