29#ifndef vtkMagnifierRepresentation_h
30#define vtkMagnifierRepresentation_h
33#include "vtkInteractionWidgetsModule.h"
74 vtkSetClampMacro(MagnificationFactor,
double, 0.001, 1000.0);
75 vtkGetMacro(MagnificationFactor,
double);
97 vtkSetVector2Macro(Size,
int);
98 vtkGetVector2Macro(Size,
int);
106 vtkSetMacro(Border,
bool);
107 vtkGetMacro(Border,
bool);
108 vtkBooleanMacro(Border,
bool);
142 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.
vtkPropCollection * GetViewProps()
Optionally specify and maintain the list of view props (e.g., actors, volumes, etc).
vtkRenderer * GetMagnificationRenderer()
Provide access to the magnification renderer.
void AddViewProp(vtkProp *)
Optionally specify and maintain the list of view props (e.g., actors, volumes, etc).
_InteractionState
Define the various states that the representation can be in.
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.
vtkPolyData * BorderPolyData
vtkPropCollection * Props
vtkPolyDataMapper2D * BorderMapper
void ReleaseGraphicsResources(vtkWindow *) override
These methods are necessary to make this representation behave as a vtkProp.
vtkCoordinate * Coordinate
void RemoveAllViewProps(void)
Optionally specify and maintain the list of view props (e.g., actors, volumes, etc).
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