31 #ifndef vtkOrientedGlyphFocalPlaneContourRepresentation_h
32 #define vtkOrientedGlyphFocalPlaneContourRepresentation_h
34 #include "vtkInteractionWidgetsModule.h"
79 void SetActiveCursorShape(
vtkPolyData *activeShape);
114 void StartWidgetInteraction(
double eventPos[2]) VTK_OVERRIDE;
115 void WidgetInteraction(
double eventPos[2]) VTK_OVERRIDE;
116 int ComputeInteractionState(
int X,
int Y,
int modified=0) VTK_OVERRIDE;
124 void ReleaseGraphicsResources(
vtkWindow *) VTK_OVERRIDE;
125 int RenderOverlay(
vtkViewport *viewport) VTK_OVERRIDE;
126 int RenderOpaqueGeometry(
vtkViewport *viewport) VTK_OVERRIDE;
127 int RenderTranslucentPolygonalGeometry(
vtkViewport *viewport) VTK_OVERRIDE;
128 int HasTranslucentPolygonalGeometry() VTK_OVERRIDE;
134 vtkPolyData * GetContourRepresentationAsPolyData() VTK_OVERRIDE;
143 vtkMatrix4x4 *GetContourPlaneDirectionCosines(const
double origin[3]);
147 ~vtkOrientedGlyphFocalPlaneContourRepresentation() VTK_OVERRIDE;
174 double LastPickPosition[3];
175 double LastEventPosition[2];
178 void Translate(
double eventPos[2]);
179 void Scale(
double eventPos[2]);
180 void ShiftContour(
double eventPos[2]);
181 void ScaleContour(
double eventPos[2]);
183 void ComputeCentroid(
double* ioCentroid);
193 void CreateDefaultProperties();
198 double InteractionOffset[2];
200 void BuildLines() VTK_OVERRIDE;
203 vtkOrientedGlyphFocalPlaneContourRepresentation(const vtkOrientedGlyphFocalPlaneContourRepresentation&) VTK_DELETE_FUNCTION;
204 void operator=(const vtkOrientedGlyphFocalPlaneContourRepresentation&) VTK_DELETE_FUNCTION;
copy oriented and scaled glyph geometry to every input point (2D specialization)
represent and manipulate 4x4 transformation matrices
abstract specification for Viewports
void BuildRepresentation() override=0
These are methods that satisfy vtkWidgetRepresentation's API.
a actor that draws 2D data
Contours constrained to a focal plane.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard VTK methods.
abstract specification for renderers
concrete dataset represents vertices, lines, polygons, and triangle strips
window superclass for vtkRenderWindow
a simple class to control print indentation
represent a contour drawn on the focal plane.
represent surface properties of a 2D image
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
draw vtkPolyData onto the image plane
represent and manipulate 3D points