28 #ifndef vtkOrientedGlyphContourRepresentation_h 29 #define vtkOrientedGlyphContourRepresentation_h 31 #include "vtkInteractionWidgetsModule.h" 73 void SetActiveCursorShape(
vtkPolyData *activeShape);
108 void StartWidgetInteraction(
double eventPos[2]) VTK_OVERRIDE;
109 void WidgetInteraction(
double eventPos[2]) VTK_OVERRIDE;
110 int ComputeInteractionState(
int X,
int Y,
int modified=0) VTK_OVERRIDE;
118 void ReleaseGraphicsResources(
vtkWindow *) VTK_OVERRIDE;
119 int RenderOverlay(
vtkViewport *viewport) VTK_OVERRIDE;
120 int RenderOpaqueGeometry(
vtkViewport *viewport) VTK_OVERRIDE;
121 int RenderTranslucentPolygonalGeometry(
vtkViewport *viewport) VTK_OVERRIDE;
122 int HasTranslucentPolygonalGeometry() VTK_OVERRIDE;
128 vtkPolyData * GetContourRepresentationAsPolyData() VTK_OVERRIDE;
138 vtkGetMacro( AlwaysOnTop,
int );
146 void SetLineColor(
double r,
double g,
double b);
152 void SetShowSelectedNodes(
int) VTK_OVERRIDE;
157 double *GetBounds() VTK_OVERRIDE;
183 void CreateSelectedNodesRepresentation();
190 double LastPickPosition[3];
191 double LastEventPosition[2];
194 void Translate(
double eventPos[2]);
195 void Scale(
double eventPos[2]);
196 void ShiftContour(
double eventPos[2]);
197 void ScaleContour(
double eventPos[2]);
199 void ComputeCentroid(
double* ioCentroid);
206 void CreateDefaultProperties();
211 double InteractionOffset[2];
215 void BuildLines() VTK_OVERRIDE;
represents an object (geometry & properties) in a rendered scene
abstract specification for Viewports
represent surface properties of a geometric object
void BuildRepresentation() override=0
These are methods that satisfy vtkWidgetRepresentation's API.
Default representation for the contour widget.
abstract specification for renderers
concrete dataset represents vertices, lines, polygons, and triangle strips
represent the vtkContourWidget
window superclass for vtkRenderWindow
void PrintSelf(ostream &os, vtkIndent indent) override
Standard VTK methods.
a simple class to control print indentation
copy oriented and scaled glyph geometry to every input point
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
map vtkPolyData to graphics primitives
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...
represent and manipulate 3D points