41 #ifndef vtkImplicitPlaneRepresentation_h
42 #define vtkImplicitPlaneRepresentation_h
44 #include "vtkInteractionWidgetsModule.h"
112 vtkGetMacro(NormalToXAxis,
int);
115 vtkGetMacro(NormalToYAxis,
int);
118 vtkGetMacro(NormalToZAxis,
int);
129 vtkGetMacro(LockNormalToCamera,
int);
139 vtkGetMacro(Tubing,
int);
151 vtkGetMacro(DrawPlane,
int);
161 vtkGetMacro(OutlineTranslation,
int);
171 vtkGetMacro(OutsideBounds,
int);
182 vtkSetVector6Macro(WidgetBounds,
double);
183 vtkGetVector6Macro(WidgetBounds,
double);
195 vtkGetMacro(ConstrainToWidgetBounds,
int);
204 vtkGetMacro(ScaleEnabled,
int);
289 vtkSetClampMacro(BumpDistance,
double,0.000001,1);
290 vtkGetMacro(BumpDistance,
double);
356 vtkSetClampMacro(InteractionState,
int,Outside,Scaling);
365 vtkGetMacro(RepresentationState,
int);
375 double LastEventPosition[3];
400 double WidgetBounds[6];
453 void Rotate(
double X,
double Y,
double *p1,
double *p2,
double *vpn);
457 void Push(
double *p1,
double *p2);
458 void Scale(
double *p1,
double *p2,
double X,
double Y);
represents an object (geometry & properties) in a rendered scene
implicit function for a bounding box
ray-cast cell picker for all kinds of Prop3Ds
Cut vtkDataSet with user-specified implicit function.
extract boundary, non-manifold, and/or sharp edges from polygonal data
topologically and geometrically regular array of data
a class defining the representation for a vtkImplicitPlaneWidget2
vtkPolyDataMapper * SphereMapper
void CreateDefaultProperties()
vtkPolyDataAlgorithm * GetPolyDataAlgorithm()
Satisfies superclass API.
void Rotate(double X, double Y, double *p1, double *p2, double *vpn)
vtkLineSource * LineSource
vtkProperty * SelectedNormalProperty
vtkPolyDataMapper * LineMapper2
void SetEdgeColor(vtkLookupTable *)
Set color to the edge.
virtual void ReleaseGraphicsResources(vtkWindow *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
void SetDrawPlane(int plane)
Enable/disable the drawing of the plane.
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
vtkProperty * EdgesProperty
void GetPolyData(vtkPolyData *pd)
Grab the polydata that defines the plane.
vtkPolyDataMapper * CutMapper
void Scale(double *p1, double *p2, double X, double Y)
vtkPolyDataMapper * LineMapper
void HighlightPlane(int highlight)
vtkLineSource * LineSource2
vtkPolyDataMapper * ConeMapper
virtual void GetActors(vtkPropCollection *pc)
For some exporters and other other operations we must be able to collect all the actors or volumes.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void WidgetInteraction(double newEventPos[2])
void SetNormalToZAxis(int)
virtual void EndWidgetInteraction(double newEventPos[2])
vtkOutlineFilter * Outline
void SetOrigin(double x[3])
void HighlightNormal(int highlight)
vtkTubeFilter * EdgesTuber
vtkPolyDataMapper * OutlineMapper
void UpdatePlacement(void)
Satisfies the superclass API.
virtual int ComputeInteractionState(int X, int Y, int modify=0)
Methods to interface with the vtkSliderWidget.
void GetPlane(vtkPlane *plane)
Get the implicit function for the plane by copying the origin and normal of the cut plane into the pr...
vtkPolyDataMapper * ConeMapper2
vtkProperty * SelectedPlaneProperty
virtual void SetLockNormalToCamera(int)
If enabled, and a vtkCamera is available through the renderer, then LockNormalToCamera will cause the...
void Push(double *p1, double *p2)
vtkImplicitPlaneRepresentation()
vtkConeSource * ConeSource
vtkProperty * PlaneProperty
vtkProperty * OutlineProperty
virtual void BuildRepresentation()
virtual void StartWidgetInteraction(double eventPos[2])
void SetNormalToXAxis(int)
Force the plane widget to be aligned with one of the x-y-z axes.
vtkPolyDataMapper * EdgesMapper
void PushPlane(double distance)
Push the plane the distance specified along the normal.
virtual void RegisterPickers()
Register internal Pickers in the Picking Manager.
void GetNormal(double xyz[3])
virtual double * GetBounds()
Methods supporting the rendering process.
void SetEdgeColor(double x[3])
void SetOrigin(double x, double y, double z)
Get the origin of the plane.
static vtkImplicitPlaneRepresentation * New()
Instantiate the class.
void BumpPlane(int dir, double factor)
Translate the plane in the direction of the normal by the specified BumpDistance.
vtkProperty * SelectedOutlineProperty
virtual void PlaceWidget(double bounds[6])
void TranslateOrigin(double *p1, double *p2)
void SetEdgeColor(double, double, double)
int ConstrainToWidgetBounds
virtual int HasTranslucentPolygonalGeometry()
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
void GetOrigin(double xyz[3])
void SetNormal(double x[3])
virtual void SetRepresentationState(int)
Sets the visual appearance of the representation based on the state it is in.
~vtkImplicitPlaneRepresentation()
void SetNormal(double x, double y, double z)
Get the normal to the plane.
vtkProperty * NormalProperty
void TranslatePlane(double *p1, double *p2)
void SetNormalToYAxis(int)
void TranslateOutline(double *p1, double *p2)
void HighlightOutline(int highlight)
void SetPlane(vtkPlane *plane)
Alternative way to define the cutting plane.
vtkConeSource * ConeSource2
virtual int RenderOpaqueGeometry(vtkViewport *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
a simple class to control print indentation
create a line defined by two end points
map scalar values into colors via a lookup table
create wireframe outline for arbitrary data set
perform various plane computations
Superclass for algorithms that produce only polydata as output.
map vtkPolyData to graphics primitives
concrete dataset represents vertices, lines, polygons, and triangle strips
represent surface properties of a geometric object
create a polygonal sphere centered at the origin
filter that generates tubes around lines
abstract specification for Viewports
window superclass for vtkRenderWindow
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.