Go to the documentation of this file.
31 #ifndef vtkOrientedGlyphContourRepresentation_h
32 #define vtkOrientedGlyphContourRepresentation_h
34 #include "vtkInteractionWidgetsModule.h"
141 vtkGetMacro( AlwaysOnTop,
int );
193 double LastPickPosition[3];
194 double LastEventPosition[2];
214 double InteractionOffset[2];
map vtkPolyData to graphics primitives
represent and manipulate 3D points
vtkProperty * ActiveProperty
static vtkOrientedGlyphContourRepresentation * New()
Instantiate this class.
vtkPoints * ActiveFocalPoint
virtual vtkPolyData * GetContourRepresentationAsPolyData()
Get the points in this contour as a vtkPolyData.
void SetLineColor(double r, double g, double b)
Convenience method to set the line color.
vtkPolyData * SelectedNodesData
virtual void SetShowSelectedNodes(int)
A flag to indicate whether to show the Selected nodes Default is to set it to false.
vtkProperty * LinesProperty
virtual void SetRenderer(vtkRenderer *ren)
Subclasses of vtkOrientedGlyphContourRepresentation must implement these methods.
vtkPolyData * GetCursorShape()
void CreateDefaultProperties()
represent the vtkContourWidget
vtkPolyData * ActiveFocalData
virtual int ComputeInteractionState(int X, int Y, int modified=0)
virtual void BuildLines()
virtual int HasTranslucentPolygonalGeometry()
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkPolyDataMapper * SelectedNodesMapper
void CreateSelectedNodesRepresentation()
virtual double * GetBounds()
Return the bounds of the representation.
window superclass for vtkRenderWindow
virtual int RenderOverlay(vtkViewport *viewport)
vtkPolyData * SelectedNodesCursorShape
virtual void WidgetInteraction(double eventPos[2])
void SetActiveCursorShape(vtkPolyData *activeShape)
Specify the shape of the cursor (handle) when it is active.
vtkPolyDataMapper * Mapper
vtkPolyDataMapper * LinesMapper
void ComputeCentroid(double *ioCentroid)
represents an object (geometry & properties) in a rendered scene
virtual void ReleaseGraphicsResources(vtkWindow *)
Methods required by vtkProp superclass.
a simple class to control print indentation
void Translate(double eventPos[2])
vtkPolyData * ActiveCursorShape
virtual void StartWidgetInteraction(double eventPos[2])
Default representation for the contour widget.
abstract specification for Viewports
copy oriented and scaled glyph geometry to every input point
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
virtual int RenderOpaqueGeometry(vtkViewport *viewport)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkPoints * SelectedNodesPoints
void ShiftContour(double eventPos[2])
vtkPolyDataMapper * ActiveMapper
vtkPolyData * GetActiveCursorShape()
vtkGlyph3D * ActiveGlypher
abstract specification for renderers
~vtkOrientedGlyphContourRepresentation()
concrete dataset represents vertices, lines, polygons, and triangle strips
void SetCursorShape(vtkPolyData *cursorShape)
Specify the cursor shape.
vtkActor * SelectedNodesActor
void ScaleContour(double eventPos[2])
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *viewport)
vtkOrientedGlyphContourRepresentation()
represent surface properties of a geometric object
vtkGlyph3D * SelectedNodesGlypher
virtual void BuildRepresentation()
These are methods that satisfy vtkWidgetRepresentation's API.
virtual void GetActors(vtkPropCollection *)
Methods to make this class behave as a vtkProp.
void Scale(double eventPos[2])
vtkPolyData * CursorShape