20 #ifndef vtkMagnifierRepresentation_h
21 #define vtkMagnifierRepresentation_h
24 #include "vtkInteractionWidgetsModule.h"
28 VTK_ABI_NAMESPACE_BEGIN
68 vtkSetClampMacro(MagnificationFactor,
double, 0.001, 1000.0);
69 vtkGetMacro(MagnificationFactor,
double);
91 vtkSetVector2Macro(Size,
int);
92 vtkGetVector2Macro(Size,
int);
100 vtkSetMacro(Border,
bool);
101 vtkGetMacro(Border,
bool);
102 vtkBooleanMacro(Border,
bool);
136 vtkSetClampMacro(InteractionState,
int, Invisible, Visible);
189 VTK_ABI_NAMESPACE_END
a actor that draws 2D data
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems
a simple class to control print indentation
represent a vtkBorderWidget
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
These methods are necessary to make this representation behave as a vtkProp.
int RenderOpaqueGeometry(vtkViewport *) override
These methods are necessary to make this representation behave as a vtkProp.
int RenderOverlay(vtkViewport *) override
These methods are necessary to make this representation behave as a vtkProp.
void AddViewProp(vtkProp *)
Optionally specify and maintain the list of view props (e.g., actors, volumes, etc).
void RemoveViewProp(vtkProp *)
Optionally specify and maintain the list of view props (e.g., actors, volumes, etc).
int HasViewProp(vtkProp *)
Optionally specify and maintain the list of view props (e.g., actors, volumes, etc).
vtkTypeBool HasTranslucentPolygonalGeometry() override
These methods are necessary to make this representation behave as a vtkProp.
void RemoveAllViewProps()
Optionally specify and maintain the list of view props (e.g., actors, volumes, etc).
vtkPolyData * BorderPolyData
vtkPropCollection * Props
vtkPolyDataMapper2D * BorderMapper
void ReleaseGraphicsResources(vtkWindow *) override
These methods are necessary to make this representation behave as a vtkProp.
vtkCoordinate * Coordinate
InteractionStateType
Define the various states that the representation can be in.
vtkPropCollection * GetViewProps()
Optionally specify and maintain the list of view props (e.g., actors, volumes, etc).
~vtkMagnifierRepresentation() override
void SetRenderer(vtkRenderer *ren) override
Specify the renderer viewport in which to place the magnifier.
vtkMTimeType GetMTime() override
Return the MTime of this object.
vtkRenderer * MagnificationRenderer
static vtkMagnifierRepresentation * New()
Instantiate this class.
void BuildRepresentation() override
Subclasses should implement these methods.
void WidgetInteraction(double eventPos[2]) override
Subclasses should implement these methods.
vtkMagnifierRepresentation()
vtkProperty2D * BorderProperty
void PrintSelf(ostream &os, vtkIndent indent) override
Define standard methods.
vtkRenderer * GetMagnificationRenderer()
Provide access to the magnification renderer.
double MagnificationFactor
represent and manipulate 3D points
draw vtkPolyData onto the image plane
concrete dataset represents vertices, lines, polygons, and triangle strips
abstract superclass for all actors, volumes and annotations
represent surface properties of a 2D image
abstract specification for renderers
abstract specification for Viewports
window superclass for vtkRenderWindow
vtkTypeUInt32 vtkMTimeType