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