20#ifndef vtkMagnifierRepresentation_h
21#define vtkMagnifierRepresentation_h
24#include "vtkInteractionWidgetsModule.h"
28VTK_ABI_NAMESPACE_BEGIN
68 vtkSetClampMacro(MagnificationFactor,
double, 0.001, 1000.0);
69 vtkGetMacro(MagnificationFactor,
double);
87 void RemoveAllViewProps();
94 vtkSetVector2Macro(Size,
int);
95 vtkGetVector2Macro(Size,
int);
103 vtkSetMacro(Border,
bool);
104 vtkGetMacro(Border,
bool);
105 vtkBooleanMacro(Border,
bool);
139 vtkSetClampMacro(InteractionState,
int, Invisible, Visible);
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.
vtkRenderer * GetMagnificationRenderer()
Provide access to the magnification renderer.
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.
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.
static vtkMagnifierRepresentation * New()
Instantiate this class.
~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
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.
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
#define VTK_MARSHAL_EXCLUDE_REASON_IS_INTERNAL
#define VTK_MARSHALEXCLUDE(reason)