67#ifndef vtkOrientedGlyphContourRepresentation_h
68#define vtkOrientedGlyphContourRepresentation_h
71#include "vtkInteractionWidgetsModule.h"
230 double LastPickPosition[3];
231 double LastEventPosition[2];
250 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
void ReleaseGraphicsResources(vtkWindow *) override
Methods to make this class behave as a vtkProp.
int ComputeInteractionState(int X, int Y, int modified=0) override
Subclasses of vtkOrientedGlyphContourRepresentation must implement these methods.
vtkPoints * SelectedNodesPoints
~vtkOrientedGlyphContourRepresentation() override
vtkOrientedGlyphContourRepresentation()
void BuildRepresentation() override
Subclasses of vtkOrientedGlyphContourRepresentation must implement these methods.
void ShiftContour(double eventPos[2])
vtkPolyData * GetActiveCursorShape()
Specify the shape of the cursor (handle) when it is active.
vtkPolyDataMapper * LinesMapper
vtkGlyph3D * SelectedNodesGlypher
vtkTypeBool HasTranslucentPolygonalGeometry() override
Methods to make this class behave as a vtkProp.
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
void SetRenderer(vtkRenderer *ren) override
Subclasses of vtkOrientedGlyphContourRepresentation must implement these methods.
int RenderOverlay(vtkViewport *viewport) override
Methods to make this class behave as a vtkProp.
vtkPolyData * ActiveFocalData
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.
vtkPolyData * GetContourRepresentationAsPolyData() override
Get the points in this contour as a vtkPolyData.
void SetShowSelectedNodes(vtkTypeBool) override
A flag to indicate whether to show the Selected nodes Default is to set it to false.
static vtkOrientedGlyphContourRepresentation * New()
Instantiate this class.
void BuildLines() override
void WidgetInteraction(double eventPos[2]) override
Subclasses of vtkOrientedGlyphContourRepresentation must implement these methods.
int RenderTranslucentPolygonalGeometry(vtkViewport *viewport) override
Methods to make this class behave as a vtkProp.
void ComputeCentroid(double *ioCentroid)
vtkPoints * ActiveFocalPoint
void Scale(double eventPos[2])
void Translate(double eventPos[2])
vtkPolyDataMapper * ActiveMapper
vtkPolyDataMapper * Mapper
vtkActor * SelectedNodesActor
void SetCursorShape(vtkPolyData *cursorShape)
Specify the cursor shape.
vtkPolyData * CursorShape
vtkPolyData * GetCursorShape()
Specify the cursor shape.
vtkPolyData * ActiveCursorShape
vtkPolyData * SelectedNodesData
void GetActors(vtkPropCollection *) override
Methods to make this class behave as a vtkProp.
vtkProperty * ActiveProperty
void StartWidgetInteraction(double eventPos[2]) override
Subclasses of vtkOrientedGlyphContourRepresentation must implement these methods.
void SetLineColor(double r, double g, double b)
Convenience method to set the line color.
double * GetBounds() override
Return the bounds of the representation.
vtkPolyData * SelectedNodesCursorShape
int RenderOpaqueGeometry(vtkViewport *viewport) override
Methods to make this class behave as a vtkProp.
void CreateDefaultProperties()
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