30 #ifndef __vtkOrientedGlyphContourRepresentation_h
31 #define __vtkOrientedGlyphContourRepresentation_h
33 #include "vtkInteractionWidgetsModule.h"
38 class vtkPolyDataMapper;
52 void PrintSelf(ostream& os, vtkIndent indent);
67 void SetActiveCursorShape(
vtkPolyData *activeShape);
74 vtkGetObjectMacro(Property,vtkProperty);
80 vtkGetObjectMacro(ActiveProperty,vtkProperty);
85 vtkGetObjectMacro(LinesProperty,vtkProperty);
101 virtual void GetActors(vtkPropCollection *);
117 vtkSetMacro( AlwaysOnTop,
int );
118 vtkGetMacro( AlwaysOnTop,
int );
119 vtkBooleanMacro( AlwaysOnTop,
int );
124 void SetLineColor(
double r,
double g,
double b);
157 void CreateSelectedNodesRepresentation();
164 double LastPickPosition[3];
165 double LastEventPosition[2];
169 void Scale(
double eventPos[2]);
170 void ShiftContour(
double eventPos[2]);
171 void ScaleContour(
double eventPos[2]);
173 void ComputeCentroid(
double* ioCentroid);
180 void CreateDefaultProperties();
185 double InteractionOffset[2];
void PrintSelf(ostream &os, vtkIndent indent)
virtual void WidgetInteraction(double e[2])=0
Default representation for the contour widget.
virtual vtkPolyData * GetContourRepresentationAsPolyData()=0
vtkPoints * SelectedNodesPoints
vtkGlyph3D * ActiveGlypher
concrete dataset represents vertices, lines, polygons, and triangle strips
represent the vtkContourWidget
virtual int RenderOpaqueGeometry(vtkViewport *viewport)=0
virtual void StartWidgetInteraction(double e[2])=0
vtkProperty * ActiveProperty
vtkPolyData * CursorShape
vtkPolyData * ActiveFocalData
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *viewport)=0
vtkPolyData * SelectedNodesCursorShape
virtual int RenderOverlay(vtkViewport *viewport)=0
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)
vtkGlyph3D * SelectedNodesGlypher
virtual int HasTranslucentPolygonalGeometry()=0
vtkPoints * ActiveFocalPoint
virtual int ComputeInteractionState(int X, int Y, int modified=0)=0
virtual void BuildRepresentation()=0
vtkPolyData * SelectedNodesData
virtual void ReleaseGraphicsResources(vtkWindow *w)=0
vtkPolyDataMapper * Mapper
vtkActor * SelectedNodesActor
vtkPolyData * ActiveCursorShape