VTK  9.2.20230205
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 VTK_ABI_NAMESPACE_BEGIN
33 class VTKRENDERINGFREETYPE_EXPORT vtkScaledTextActor : public vtkTextActor
34 {
35 public:
37  void PrintSelf(ostream& os, vtkIndent indent) override;
38 
44 
45 protected:
47 
48 private:
49  vtkScaledTextActor(const vtkScaledTextActor&) = delete;
50  void operator=(const vtkScaledTextActor&) = delete;
51 };
52 
53 VTK_ABI_NAMESPACE_END
54 #endif
a simple class to control print indentation
Definition: vtkIndent.h:120
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:167