31 #ifndef vtkOrientedGlyphContourRepresentation_h 32 #define vtkOrientedGlyphContourRepresentation_h 34 #include "vtkInteractionWidgetsModule.h" 76 void SetActiveCursorShape(
vtkPolyData *activeShape);
111 void StartWidgetInteraction(
double eventPos[2]) VTK_OVERRIDE;
112 void WidgetInteraction(
double eventPos[2]) VTK_OVERRIDE;
113 int ComputeInteractionState(
int X,
int Y,
int modified=0) VTK_OVERRIDE;
121 void ReleaseGraphicsResources(
vtkWindow *) VTK_OVERRIDE;
122 int RenderOverlay(
vtkViewport *viewport) VTK_OVERRIDE;
123 int RenderOpaqueGeometry(
vtkViewport *viewport) VTK_OVERRIDE;
124 int RenderTranslucentPolygonalGeometry(
vtkViewport *viewport) VTK_OVERRIDE;
125 int HasTranslucentPolygonalGeometry() VTK_OVERRIDE;
131 vtkPolyData * GetContourRepresentationAsPolyData() VTK_OVERRIDE;
141 vtkGetMacro( AlwaysOnTop,
int );
149 void SetLineColor(
double r,
double g,
double b);
155 void SetShowSelectedNodes(
int) VTK_OVERRIDE;
160 double *GetBounds() VTK_OVERRIDE;
164 ~vtkOrientedGlyphContourRepresentation() VTK_OVERRIDE;
186 void CreateSelectedNodesRepresentation();
193 double LastPickPosition[3];
194 double LastEventPosition[2];
197 void Translate(
double eventPos[2]);
198 void Scale(
double eventPos[2]);
199 void ShiftContour(
double eventPos[2]);
200 void ScaleContour(
double eventPos[2]);
202 void ComputeCentroid(
double* ioCentroid);
209 void CreateDefaultProperties();
214 double InteractionOffset[2];
218 void BuildLines() VTK_OVERRIDE;
221 vtkOrientedGlyphContourRepresentation(const vtkOrientedGlyphContourRepresentation&) VTK_DELETE_FUNCTION;
222 void operator=(const vtkOrientedGlyphContourRepresentation&) VTK_DELETE_FUNCTION;
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