41 #ifndef vtkImplicitPlaneRepresentation_h 42 #define vtkImplicitPlaneRepresentation_h 44 #include "vtkInteractionWidgetsModule.h" 87 void SetOrigin(
double x,
double y,
double z);
88 void SetOrigin(
double x[3]);
90 void GetOrigin(
double xyz[3]);
97 void SetNormal(
double x,
double y,
double z);
98 void SetNormal(
double x[3]);
99 void SetNormalToCamera();
101 void GetNormal(
double xyz[3]);
112 void SetNormalToXAxis(
int);
113 vtkGetMacro(NormalToXAxis,
int);
115 void SetNormalToYAxis(
int);
116 vtkGetMacro(NormalToYAxis,
int);
118 void SetNormalToZAxis(
int);
119 vtkGetMacro(NormalToZAxis,
int);
129 virtual void SetLockNormalToCamera(
int);
130 vtkGetMacro(LockNormalToCamera,
int);
140 vtkGetMacro(Tubing,
int);
151 void SetDrawPlane(
int plane);
152 vtkGetMacro(DrawPlane,
int);
160 void SetDrawOutline(
int plane);
161 vtkGetMacro(DrawOutline,
int);
171 vtkGetMacro(OutlineTranslation,
int);
181 vtkGetMacro(OutsideBounds,
int);
192 vtkSetVector6Macro(WidgetBounds,
double);
193 vtkGetVector6Macro(WidgetBounds,
double);
205 vtkGetMacro(ConstrainToWidgetBounds,
int);
214 vtkGetMacro(ScaleEnabled,
int);
250 void UpdatePlacement(
void);
257 vtkGetObjectMacro(SelectedNormalProperty,
vtkProperty);
266 vtkGetObjectMacro(SelectedPlaneProperty,
vtkProperty);
274 vtkGetObjectMacro(SelectedOutlineProperty,
vtkProperty);
289 void SetEdgeColor(
double,
double,
double);
290 void SetEdgeColor(
double x[3]);
299 vtkSetClampMacro(BumpDistance,
double,0.000001,1);
300 vtkGetMacro(BumpDistance,
double);
311 void BumpPlane(
int dir,
double factor);
319 void PushPlane(
double distance);
334 unsigned long event,
void *calldata)
override;
338 unsigned long event,
void *calldata)
override;
342 unsigned long event,
void *calldata,
int modify = 0)
override;
346 unsigned long event,
void *calldata)
override;
383 vtkSetClampMacro(InteractionState,
int,Outside,Scaling);
391 virtual void SetRepresentationState(
int);
392 vtkGetMacro(RepresentationState,
int);
398 return this->Plane; }
405 virtual void SetCropPlaneToBoundingBox(
bool);
406 vtkGetMacro(CropPlaneToBoundingBox,
bool);
418 double LastEventPosition[3];
419 double LastEventOrientation[4];
420 double StartEventOrientation[4];
441 void HighlightOutline(
int highlight);
445 double WidgetBounds[6];
455 void HighlightPlane(
int highlight);
468 void HighlightNormal(
int highlight);
500 void Rotate(
double X,
double Y,
double *p1,
double *p2,
double *vpn);
501 void Rotate3D(
double *p1,
double *p2);
502 void TranslatePlane(
double *p1,
double *p2);
503 void TranslateOutline(
double *p1,
double *p2);
504 void TranslateOrigin(
double *p1,
double *p2);
505 void UpdatePose(
double *p1,
double *d1,
double *p2,
double *d2);
506 void Push(
double *p1,
double *p2);
507 void Scale(
double *p1,
double *p2,
double X,
double Y);
519 void CreateDefaultProperties();
521 void GeneratePlane();
bool CropPlaneToBoundingBox
Cut vtkDataSet with user-specified implicit function.
vtkProperty * EdgesProperty
represents an object (geometry & properties) in a rendered scene
vtkPolyDataMapper * LineMapper
vtkPolyDataMapper * EdgesMapper
vtkConeSource * ConeSource
abstract specification for Viewports
represent surface properties of a geometric object
vtkProperty * SelectedPlaneProperty
vtkOutlineFilter * Outline
vtkProperty * SelectedNormalProperty
vtkLineSource * LineSource2
map scalar values into colors via a lookup table
vtkPolyDataMapper * ConeMapper
vtkProperty * NormalProperty
concrete dataset represents vertices, lines, polygons, and triangle strips
int ConstrainToWidgetBounds
vtkPlaneSource * PlaneSource
window superclass for vtkRenderWindow
platform-independent render window interaction including picking and frame rate control.
create wireframe outline for arbitrary data set
create a polygonal sphere centered at the origin
Superclass for algorithms that produce only polydata as output.
filter that generates tubes around lines
vtkProperty * PlaneProperty
a simple class to control print indentation
a class defining the representation for a vtkImplicitPlaneWidget2
extract boundary, non-manifold, and/or sharp edges from polygonal data
topologically and geometrically regular array of data
vtkPolyDataMapper * SphereMapper
perform various plane computations
vtkPolyDataMapper * OutlineMapper
create an array of quadrilaterals located in a plane
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkLineSource * LineSource
vtkProperty * SelectedOutlineProperty
vtkConeSource * ConeSource2
create a line defined by two end points
map vtkPolyData to graphics primitives
vtkTubeFilter * EdgesTuber
vtkPlane * GetUnderlyingPlane()
ray-cast cell picker for all kinds of Prop3Ds
vtkPolyDataMapper * LineMapper2
vtkPolyDataMapper * ConeMapper2
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.
vtkProperty * OutlineProperty
implicit function for a bounding box
vtkPolyDataMapper * CutMapper