28 #ifndef vtkLegendScaleActor_h
29 #define vtkLegendScaleActor_h
33 #include "vtkRenderingAnnotationModule.h"
37 VTK_ABI_NAMESPACE_BEGIN
76 vtkSetClampMacro(LabelMode,
int, DISTANCE, XY_COORDINATES);
77 vtkGetMacro(LabelMode,
int);
123 void AllAnnotationsOn();
124 void AllAnnotationsOff();
133 vtkSetClampMacro(RightBorderOffset,
int, 5,
VTK_INT_MAX);
134 vtkGetMacro(RightBorderOffset,
int);
143 vtkSetClampMacro(TopBorderOffset,
int, 5,
VTK_INT_MAX);
144 vtkGetMacro(TopBorderOffset,
int);
153 vtkSetClampMacro(LeftBorderOffset,
int, 5,
VTK_INT_MAX);
154 vtkGetMacro(LeftBorderOffset,
int);
163 vtkSetClampMacro(BottomBorderOffset,
int, 5,
VTK_INT_MAX);
164 vtkGetMacro(BottomBorderOffset,
int);
172 vtkSetClampMacro(CornerOffsetFactor,
double, 1.0, 10.0);
173 vtkGetMacro(CornerOffsetFactor,
double);
192 void SetUseFontSizeFromProperty(
bool sizeFromProp);
195 void SetAdjustLabels(
bool ajust);
214 virtual void BuildRepresentation(
vtkViewport* viewport);
225 int LabelMode = DISTANCE;
226 int RightBorderOffset = 50;
227 int TopBorderOffset = 30;
228 int LeftBorderOffset = 50;
229 int BottomBorderOffset = 30;
230 double CornerOffsetFactor = 2.;
263 VTK_ABI_NAMESPACE_END
vtkNew< vtkPolyDataMapper2D > LegendMapper
abstract superclass for all actors, volumes and annotations
abstract specification for Viewports
virtual int RenderOpaqueGeometry(vtkViewport *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
virtual int RenderOverlay(vtkViewport *)
a actor that draws 2D data
record modification and/or execution time
Create an axis with tick marks and labels.
vtkNew< vtkAxisActor2D > RightAxis
concrete dataset represents vertices, lines, polygons, and triangle strips
annotate the render window with scale and distance information
virtual void ReleaseGraphicsResources(vtkWindow *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
window superclass for vtkRenderWindow
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkNew< vtkActor2D > LegendActor
vtkNew< vtkTextProperty > LegendTitleProperty
a simple class to control print indentation
vtkNew< vtkPolyData > Legend
vtkNew< vtkPoints > LegendPoints
vtkNew< vtkAxisActor2D > BottomAxis
vtkNew< vtkTextProperty > LegendLabelProperty
void SetLabelModeToXYCoordinates()
Specify the mode for labeling the scale axes.
represent text properties.
vtkNew< vtkCoordinate > Coordinate
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems ...
void SetLabelModeToDistance()
Specify the mode for labeling the scale axes.
virtual void GetActors2D(vtkPropCollection *)
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
vtkNew< vtkAxisActor2D > TopAxis
vtkNew< vtkAxisActor2D > LeftAxis
draw vtkPolyData onto the image plane
represent and manipulate 3D points