Go to the documentation of this file.
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];
map vtkPolyData to graphics primitives
represent the vtkFinitePlaneWidget.
vtkPolyData * PlanePolyData
vtkCellPicker * HandlePicker
vtkPolyDataMapper * PlaneMapper
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkProperty * OriginHandleProperty
vtkProperty * SelectedPlaneProperty
vtkProperty * V1HandleProperty
window superclass for vtkRenderWindow
vtkTubeFilter * EdgesTuber
filter that generates tubes around lines
vtkPolyDataMapper * EdgesMapper
vtkPolyDataMapper * ConeMapper
vtkProperty * SelectedNormalProperty
vtkProperty * PlaneProperty
create a polygonal sphere centered at the origin
vtkTransform * TransformRotation
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
vtkLineSource * LineSource
vtkSphereSource * V1Geometry
extract boundary, non-manifold, and/or sharp edges from polygonal data
vtkLineSource * LineSource2
create a line defined by two end points
abstract specification for Viewports
vtkConeSource * ConeSource2
vtkProperty * SelectedHandleProperty
abstract superclass for all actors, volumes and annotations
vtkProperty * V2HandleProperty
implicit function for a bounding box
vtkProperty * NormalProperty
vtkSphereSource * OriginGeometry
vtkPolyDataMapper * V2Mapper
vtkPolyDataMapper * LineMapper2
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkPolyDataMapper * OriginMapper
represent surface properties of a geometric object
vtkConeSource * ConeSource
vtkSphereSource * V2Geometry
vtkPolyDataMapper * V1Mapper
ray-cast cell picker for all kinds of Prop3Ds
vtkPolyDataMapper * LineMapper
vtkPolyDataMapper * ConeMapper2