VTK  9.1.20211016
vtkScaledTextActor.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkScaledTextActor.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
26 #ifndef vtkScaledTextActor_h
27 #define vtkScaledTextActor_h
28 
29 #include "vtkRenderingFreeTypeModule.h" // For export macro
30 #include "vtkTextActor.h"
31 
32 class VTKRENDERINGFREETYPE_EXPORT vtkScaledTextActor : public vtkTextActor
33 {
34 public:
36  void PrintSelf(ostream& os, vtkIndent indent) override;
37 
43 
44 protected:
46 
47 private:
48  vtkScaledTextActor(const vtkScaledTextActor&) = delete;
49  void operator=(const vtkScaledTextActor&) = delete;
50 };
51 
52 #endif
a simple class to control print indentation
Definition: vtkIndent.h:113
create text that will scale as needed
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkScaledTextActor * New()
Instantiate object with a rectangle in normaled view coordinates of (0.2,0.85, 0.8,...
An actor that displays text.
Definition: vtkTextActor.h:160