31 #ifndef vtkOrientedGlyphContourRepresentation_h
32 #define vtkOrientedGlyphContourRepresentation_h
34 #include "vtkInteractionWidgetsModule.h"
76 void SetActiveCursorShape(
vtkPolyData *activeShape);
141 vtkGetMacro( AlwaysOnTop,
int );
149 void SetLineColor(
double r,
double g,
double b);
186 void CreateSelectedNodesRepresentation();
193 double LastPickPosition[3];
194 double LastEventPosition[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];
void PrintSelf(ostream &os, vtkIndent indent)
Standard VTK methods.
represents an object (geometry & properties) in a rendered scene
virtual void WidgetInteraction(double e[2])=0
These are methods that satisfy vtkWidgetRepresentation's API.
abstract specification for Viewports
represent surface properties of a geometric object
Default representation for the contour widget.
virtual vtkPolyData * GetContourRepresentationAsPolyData()=0
Get the points in this contour as a vtkPolyData.
vtkPoints * SelectedNodesPoints
vtkGlyph3D * ActiveGlypher
abstract specification for renderers
concrete dataset represents vertices, lines, polygons, and triangle strips
represent the vtkContourWidget
virtual int RenderOpaqueGeometry(vtkViewport *viewport)=0
Methods required by vtkProp superclass.
virtual void StartWidgetInteraction(double e[2])=0
These are methods that satisfy vtkWidgetRepresentation's API.
vtkProperty * ActiveProperty
window superclass for vtkRenderWindow
vtkPolyData * CursorShape
vtkPolyData * ActiveFocalData
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *viewport)=0
Methods required by vtkProp superclass.
vtkPolyData * SelectedNodesCursorShape
a simple class to control print indentation
virtual int RenderOverlay(vtkViewport *viewport)=0
Methods required by vtkProp superclass.
vtkPolyDataMapper * SelectedNodesMapper
virtual void BuildLines()=0
vtkPolyDataMapper * ActiveMapper
copy oriented and scaled glyph geometry to every input point
vtkPolyDataMapper * LinesMapper
vtkProperty * LinesProperty
virtual void SetShowSelectedNodes(int)
A flag to indicate whether to show the Selected nodes Default is to set it to false.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkGlyph3D * SelectedNodesGlypher
map vtkPolyData to graphics primitives
virtual int HasTranslucentPolygonalGeometry()=0
Methods required by vtkProp superclass.
vtkPoints * ActiveFocalPoint
virtual int ComputeInteractionState(int X, int Y, int modified=0)=0
These are methods that satisfy vtkWidgetRepresentation's API.
virtual void BuildRepresentation()=0
These are methods that satisfy vtkWidgetRepresentation's API.
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...
vtkPolyData * SelectedNodesData
virtual void ReleaseGraphicsResources(vtkWindow *w)=0
Methods required by vtkProp superclass.
vtkPolyDataMapper * Mapper
represent and manipulate 3D points
vtkActor * SelectedNodesActor
vtkPolyData * ActiveCursorShape