 |
VTK
9.1.0
|
Go to the documentation of this file.
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);
represent and manipulate 3D points
void ReleaseGraphicsResources(vtkWindow *) override
These methods are necessary to make this representation behave as a vtkProp.
vtkRenderer * MagnificationRenderer
static vtkMagnifierRepresentation * New()
Instantiate this class.
draw vtkPolyData onto the image plane
void SetRenderer(vtkRenderer *ren) override
Specify the renderer viewport in which to place the magnifier.
int HasViewProp(vtkProp *)
Optionally specify and maintain the list of view props (e.g., actors, volumes, etc).
vtkRenderer * GetMagnificationRenderer()
Provide access to the magnification renderer.
vtkPolyData * BorderPolyData
void BuildRepresentation() override
Subclasses should implement these methods.
vtkPolyDataMapper2D * BorderMapper
void PrintSelf(ostream &os, vtkIndent indent) override
Define standard methods.
double MagnificationFactor
vtkProperty2D * BorderProperty
vtkPropCollection * Props
window superclass for vtkRenderWindow
~vtkMagnifierRepresentation() override
void AddViewProp(vtkProp *)
Optionally specify and maintain the list of view props (e.g., actors, volumes, etc).
vtkMagnifierRepresentation()
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
These methods are necessary to make this representation behave as a vtkProp.
vtkTypeBool HasTranslucentPolygonalGeometry() override
These methods are necessary to make this representation behave as a vtkProp.
_InteractionState
Define the various states that the representation can be in.
a simple class to control print indentation
int RenderOverlay(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.
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems
void RemoveAllViewProps(void)
Optionally specify and maintain the list of view props (e.g., actors, volumes, etc).
represent a vtkBorderWidget
void WidgetInteraction(double eventPos[2]) override
Subclasses should implement these methods.
abstract specification for Viewports
vtkCoordinate * Coordinate
abstract superclass for all actors, volumes and annotations
represent surface properties of a 2D image
a actor that draws 2D data
abstract specification for renderers
concrete dataset represents vertices, lines, polygons, and triangle strips
void RemoveViewProp(vtkProp *)
Optionally specify and maintain the list of view props (e.g., actors, volumes, etc).
vtkMTimeType GetMTime() override
Return the MTime of this object.
vtkPropCollection * GetViewProps()
Optionally specify and maintain the list of view props (e.g., actors, volumes, etc).
vtkTypeUInt32 vtkMTimeType