Go to the documentation of this file.
31 #ifndef vtkOrientedGlyphFocalPlaneContourRepresentation_h
32 #define vtkOrientedGlyphFocalPlaneContourRepresentation_h
34 #include "vtkInteractionWidgetsModule.h"
174 double LastPickPosition[3];
175 double LastEventPosition[2];
198 double InteractionOffset[2];
represent and manipulate 3D points
static vtkOrientedGlyphFocalPlaneContourRepresentation * New()
Instantiate this class.
vtkPolyData * GetContourRepresentationAsPolyData() override
Get the points in this contour as a vtkPolyData.
void CreateDefaultProperties()
vtkPolyData * CursorShape
void GetActors2D(vtkPropCollection *) override
Methods to make this class behave as a vtkProp.
draw vtkPolyData onto the image plane
vtkPolyDataMapper2D * Mapper
void SetActiveCursorShape(vtkPolyData *activeShape)
Specify the shape of the cursor (handle) when it is active.
void ComputeCentroid(double *ioCentroid)
int ComputeInteractionState(int X, int Y, int modified=0) override
represent a contour drawn on the focal plane.
vtkPolyData * LinesWorldCoordinates
vtkPolyDataMapper2D * LinesMapper
vtkOrientedGlyphFocalPlaneContourRepresentation()
int RenderOverlay(vtkViewport *viewport) override
copy oriented and scaled glyph geometry to every input point (2D specialization)
void StartWidgetInteraction(double eventPos[2]) override
~vtkOrientedGlyphFocalPlaneContourRepresentation() override
int RenderTranslucentPolygonalGeometry(vtkViewport *viewport) override
vtkTypeBool HasTranslucentPolygonalGeometry() override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
void ReleaseGraphicsResources(vtkWindow *) override
Methods required by vtkProp superclass.
void ScaleContour(double eventPos[2])
vtkProperty2D * ActiveProperty
vtkPolyDataMapper2D * ActiveMapper
vtkPolyData * GetActiveCursorShape()
vtkMatrix4x4 * GetContourPlaneDirectionCosines(const double origin[3])
Direction cosines of the plane on which the contour lies on in world co-ordinates.
void SetCursorShape(vtkPolyData *cursorShape)
Specify the cursor shape.
window superclass for vtkRenderWindow
void SetRenderer(vtkRenderer *ren) override
Subclasses of vtkOrientedGlyphFocalPlaneContourRepresentation must implement these methods.
void BuildLines() override
vtkProperty2D * LinesProperty
void ShiftContour(double eventPos[2])
void Scale(double eventPos[2])
vtkPolyData * GetCursorShape()
a simple class to control print indentation
represent and manipulate 4x4 transformation matrices
void BuildRepresentation() override
These are methods that satisfy vtkWidgetRepresentation's API.
int RenderOpaqueGeometry(vtkViewport *viewport) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
abstract specification for Viewports
void WidgetInteraction(double eventPos[2]) override
represent surface properties of a 2D image
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Contours constrained to a focal plane.
a actor that draws 2D data
vtkPoints * ActiveFocalPoint
vtkGlyph2D * ActiveGlypher
void Translate(double eventPos[2])
abstract specification for renderers
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkPolyData * ActiveCursorShape
vtkMatrix4x4 * ContourPlaneDirectionCosines
vtkPolyData * ActiveFocalData