37 #ifndef vtkLegendScaleActor_h
38 #define vtkLegendScaleActor_h
40 #include "vtkRenderingAnnotationModule.h"
82 vtkSetClampMacro(LabelMode,
int,DISTANCE,XY_COORDINATES);
83 vtkGetMacro(LabelMode,
int);
94 vtkGetMacro(RightAxisVisibility,
int);
97 vtkGetMacro(TopAxisVisibility,
int);
100 vtkGetMacro(LeftAxisVisibility,
int);
103 vtkGetMacro(BottomAxisVisibility,
int);
113 vtkGetMacro(LegendVisibility,
int);
129 void AllAnnotationsOn();
130 void AllAnnotationsOff();
139 vtkSetClampMacro(RightBorderOffset,
int,5,
VTK_INT_MAX);
140 vtkGetMacro(RightBorderOffset,
int);
149 vtkSetClampMacro(TopBorderOffset,
int,5,
VTK_INT_MAX);
150 vtkGetMacro(TopBorderOffset,
int);
159 vtkSetClampMacro(LeftBorderOffset,
int,5,
VTK_INT_MAX);
160 vtkGetMacro(LeftBorderOffset,
int);
169 vtkSetClampMacro(BottomBorderOffset,
int,5,
VTK_INT_MAX);
170 vtkGetMacro(BottomBorderOffset,
int);
178 vtkSetClampMacro(CornerOffsetFactor,
double, 1.0, 10.0);
179 vtkGetMacro(CornerOffsetFactor,
double);
206 virtual void BuildRepresentation(
vtkViewport *viewport);
208 void ReleaseGraphicsResources(
vtkWindow*) VTK_OVERRIDE;
210 int RenderOpaqueGeometry(
vtkViewport*) VTK_OVERRIDE;
215 ~vtkLegendScaleActor() VTK_OVERRIDE;
218 int RightBorderOffset;
220 int LeftBorderOffset;
221 int BottomBorderOffset;
222 double CornerOffsetFactor;
231 int RightAxisVisibility;
232 int TopAxisVisibility;
233 int LeftAxisVisibility;
234 int BottomAxisVisibility;
237 int LegendVisibility;
251 vtkLegendScaleActor(const vtkLegendScaleActor&) VTK_DELETE_FUNCTION;
252 void operator=(const vtkLegendScaleActor&) VTK_DELETE_FUNCTION;
abstract superclass for all actors, volumes and annotations
abstract specification for Viewports
a actor that draws 2D data
record modification and/or execution time
Create an axis with tick marks and labels.
concrete dataset represents vertices, lines, polygons, and triangle strips
annotate the render window with scale and distance information
window superclass for vtkRenderWindow
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
void SetLabelModeToXYCoordinates()
Specify the mode for labeling the scale axes.
represent text properties.
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems ...
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void SetLabelModeToDistance()
Specify the mode for labeling the scale axes.
virtual void GetActors2D(vtkPropCollection *)
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
draw vtkPolyData onto the image plane
represent and manipulate 3D points