40 #ifndef vtkLegendScaleActor_h
41 #define vtkLegendScaleActor_h
43 #include "vtkRenderingAnnotationModule.h"
85 vtkSetClampMacro(LabelMode,
int,DISTANCE,XY_COORDINATES);
86 vtkGetMacro(LabelMode,
int);
97 vtkGetMacro(RightAxisVisibility,
int);
100 vtkGetMacro(TopAxisVisibility,
int);
103 vtkGetMacro(LeftAxisVisibility,
int);
106 vtkGetMacro(BottomAxisVisibility,
int);
116 vtkGetMacro(LegendVisibility,
int);
143 vtkGetMacro(RightBorderOffset,
int);
153 vtkGetMacro(TopBorderOffset,
int);
163 vtkGetMacro(LeftBorderOffset,
int);
173 vtkGetMacro(BottomBorderOffset,
int);
181 vtkSetClampMacro(CornerOffsetFactor,
double, 1.0, 10.0);
182 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
vtkTextProperty * LegendLabelProperty
static vtkLegendScaleActor * New()
Instantiate the class.
virtual void GetActors2D(vtkPropCollection *)
vtkAxisActor2D * LeftAxis
vtkAxisActor2D * RightAxis
void SetLabelModeToDistance()
vtkTextProperty * LegendTitleProperty
void AllAxesOn()
Convenience method that turns all the axes either on or off.
vtkAxisActor2D * BottomAxis
vtkPolyDataMapper2D * LegendMapper
vtkCoordinate * Coordinate
virtual void BuildRepresentation(vtkViewport *viewport)
Standard methods supporting the rendering process.
virtual int RenderOverlay(vtkViewport *)
virtual int RenderOpaqueGeometry(vtkViewport *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
void AllAnnotationsOn()
Convenience method that turns all the axes and the legend scale.
void SetLabelModeToXYCoordinates()
double CornerOffsetFactor
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void ReleaseGraphicsResources(vtkWindow *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
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
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.