VTK  9.3.20240229
vtkScaledTextActor.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
14 #ifndef vtkScaledTextActor_h
15 #define vtkScaledTextActor_h
16 
17 #include "vtkRenderingFreeTypeModule.h" // For export macro
18 #include "vtkTextActor.h"
19 
20 VTK_ABI_NAMESPACE_BEGIN
21 class VTKRENDERINGFREETYPE_EXPORT vtkScaledTextActor : public vtkTextActor
22 {
23 public:
25  void PrintSelf(ostream& os, vtkIndent indent) override;
26 
32 
33 protected:
35 
36 private:
37  vtkScaledTextActor(const vtkScaledTextActor&) = delete;
38  void operator=(const vtkScaledTextActor&) = delete;
39 };
40 
41 VTK_ABI_NAMESPACE_END
42 #endif
a simple class to control print indentation
Definition: vtkIndent.h:108
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:155