56#ifndef vtkLegendScaleActor_h
57#define vtkLegendScaleActor_h
61#include "vtkRenderingAnnotationModule.h"
101 vtkSetClampMacro(LabelMode,
int, DISTANCE, XY_COORDINATES);
102 vtkGetMacro(LabelMode,
int);
159 vtkGetMacro(RightBorderOffset,
int);
169 vtkGetMacro(TopBorderOffset,
int);
179 vtkGetMacro(LeftBorderOffset,
int);
189 vtkGetMacro(BottomBorderOffset,
int);
197 vtkSetClampMacro(CornerOffsetFactor,
double, 1.0, 10.0);
198 vtkGetMacro(CornerOffsetFactor,
double);
a actor that draws 2D data
Create an axis with tick marks and labels.
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems
a simple class to control print indentation
annotate the render window with scale and distance information
vtkTypeBool LegendVisibility
vtkTextProperty * LegendLabelProperty
~vtkLegendScaleActor() override
void GetActors2D(vtkPropCollection *) override
Standard methods supporting the rendering process.
vtkTypeBool TopAxisVisibility
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for the class.
void AllAnnotationsOff()
Convenience method that turns all the axes and the legend scale.
vtkAxisActor2D * LeftAxis
vtkTypeBool RightAxisVisibility
vtkAxisActor2D * RightAxis
void SetLabelModeToDistance()
Specify the mode for labeling the scale axes.
vtkTextProperty * LegendTitleProperty
void AllAxesOn()
Convenience method that turns all the axes either on or off.
int RenderOpaqueGeometry(vtkViewport *) override
Standard methods supporting the rendering process.
vtkAxisActor2D * BottomAxis
vtkPolyDataMapper2D * LegendMapper
void AllAxesOff()
Convenience method that turns all the axes either on or off.
void ReleaseGraphicsResources(vtkWindow *) override
Standard methods supporting the rendering process.
vtkCoordinate * Coordinate
vtkTypeBool BottomAxisVisibility
virtual void BuildRepresentation(vtkViewport *viewport)
Standard methods supporting the rendering process.
vtkTypeBool LeftAxisVisibility
static vtkLegendScaleActor * New()
Instantiate the class.
void AllAnnotationsOn()
Convenience method that turns all the axes and the legend scale.
void SetLabelModeToXYCoordinates()
Specify the mode for labeling the scale axes.
double CornerOffsetFactor
int RenderOverlay(vtkViewport *) override
Standard methods supporting the rendering process.
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 text properties.
record modification and/or execution time
abstract specification for Viewports
window superclass for vtkRenderWindow