37 #ifndef vtkLegendScaleActor_h
38 #define vtkLegendScaleActor_h
42 #include "vtkRenderingAnnotationModule.h"
82 vtkSetClampMacro(LabelMode,
int, DISTANCE, XY_COORDINATES);
83 vtkGetMacro(LabelMode,
int);
140 vtkGetMacro(RightBorderOffset,
int);
150 vtkGetMacro(TopBorderOffset,
int);
160 vtkGetMacro(LeftBorderOffset,
int);
170 vtkGetMacro(BottomBorderOffset,
int);
178 vtkSetClampMacro(CornerOffsetFactor,
double, 1.0, 10.0);
179 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
static vtkLegendScaleActor * New()
Instantiate the class.
void GetActors2D(vtkPropCollection *) override
vtkTypeBool TopAxisVisibility
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkAxisActor2D * LeftAxis
vtkTypeBool RightAxisVisibility
vtkAxisActor2D * RightAxis
void SetLabelModeToDistance()
vtkTextProperty * LegendTitleProperty
void AllAxesOn()
Convenience method that turns all the axes either on or off.
int RenderOpaqueGeometry(vtkViewport *) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
vtkAxisActor2D * BottomAxis
vtkPolyDataMapper2D * LegendMapper
void ReleaseGraphicsResources(vtkWindow *) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
vtkCoordinate * Coordinate
vtkTypeBool BottomAxisVisibility
virtual void BuildRepresentation(vtkViewport *viewport)
Standard methods supporting the rendering process.
vtkTypeBool LeftAxisVisibility
void AllAnnotationsOn()
Convenience method that turns all the axes and the legend scale.
void SetLabelModeToXYCoordinates()
double CornerOffsetFactor
int RenderOverlay(vtkViewport *) override
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