Go to the documentation of this file.
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];
map vtkPolyData to graphics primitives
void StartWidgetInteraction(double e[2]) override=0
represent and manipulate 3D points
vtkProperty * ActiveProperty
vtkPoints * ActiveFocalPoint
void ReleaseGraphicsResources(vtkWindow *w) override=0
Methods required by vtkProp superclass.
virtual vtkPolyData * GetContourRepresentationAsPolyData()=0
Get the points in this contour as a vtkPolyData.
vtkPolyData * SelectedNodesData
int RenderOverlay(vtkViewport *viewport) override=0
vtkProperty * LinesProperty
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
represent the vtkContourWidget
vtkPolyData * ActiveFocalData
vtkPolyDataMapper * SelectedNodesMapper
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
window superclass for vtkRenderWindow
vtkPolyData * SelectedNodesCursorShape
vtkPolyDataMapper * Mapper
vtkPolyDataMapper * LinesMapper
vtkTypeBool HasTranslucentPolygonalGeometry() override=0
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
represents an object (geometry & properties) in a rendered scene
void WidgetInteraction(double e[2]) override=0
a simple class to control print indentation
vtkPolyData * ActiveCursorShape
Default representation for the contour widget.
abstract specification for Viewports
virtual void BuildLines()=0
copy oriented and scaled glyph geometry to every input point
vtkPoints * SelectedNodesPoints
vtkPolyDataMapper * ActiveMapper
vtkGlyph3D * ActiveGlypher
abstract specification for renderers
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkActor * SelectedNodesActor
int ComputeInteractionState(int X, int Y, int modified=0) override=0
represent surface properties of a geometric object
int RenderOpaqueGeometry(vtkViewport *viewport) override=0
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
vtkGlyph3D * SelectedNodesGlypher
int RenderTranslucentPolygonalGeometry(vtkViewport *viewport) override=0
virtual void SetShowSelectedNodes(vtkTypeBool)
A flag to indicate whether to show the Selected nodes Default is to set it to false.
vtkPolyData * CursorShape
void BuildRepresentation() override=0
These are methods that satisfy vtkWidgetRepresentation's API.