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