31 #ifndef vtkOrientedGlyphContourRepresentation_h 32 #define vtkOrientedGlyphContourRepresentation_h 34 #include "vtkInteractionWidgetsModule.h" 76 void SetActiveCursorShape(
vtkPolyData *activeShape);
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];
int RenderOverlay(vtkViewport *viewport) override=0
Methods required by vtkProp superclass.
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.
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
void ReleaseGraphicsResources(vtkWindow *w) override=0
Methods required by vtkProp superclass.
void WidgetInteraction(double e[2]) override=0
These are methods that satisfy vtkWidgetRepresentation's API.
represent the vtkContourWidget
vtkProperty * ActiveProperty
window superclass for vtkRenderWindow
vtkPolyData * CursorShape
vtkPolyData * ActiveFocalData
void PrintSelf(ostream &os, vtkIndent indent) override
Standard VTK methods.
vtkPolyData * SelectedNodesCursorShape
a simple class to control print indentation
vtkPolyDataMapper * SelectedNodesMapper
virtual void BuildLines()=0
vtkPolyDataMapper * ActiveMapper
copy oriented and scaled glyph geometry to every input point
vtkPolyDataMapper * LinesMapper
vtkProperty * LinesProperty
vtkTypeBool HasTranslucentPolygonalGeometry() override=0
Methods required by vtkProp superclass.
vtkGlyph3D * SelectedNodesGlypher
map vtkPolyData to graphics primitives
void StartWidgetInteraction(double e[2]) override=0
These are methods that satisfy vtkWidgetRepresentation's API.
int RenderTranslucentPolygonalGeometry(vtkViewport *viewport) override=0
Methods required by vtkProp superclass.
vtkPoints * ActiveFocalPoint
virtual void SetShowSelectedNodes(vtkTypeBool)
A flag to indicate whether to show the Selected nodes Default is to set it to false.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
vtkPolyData * SelectedNodesData
vtkPolyDataMapper * Mapper
represent and manipulate 3D points
int ComputeInteractionState(int X, int Y, int modified=0) override=0
These are methods that satisfy vtkWidgetRepresentation's API.
vtkActor * SelectedNodesActor
int RenderOpaqueGeometry(vtkViewport *viewport) override=0
Methods required by vtkProp superclass.
vtkPolyData * ActiveCursorShape