VTK
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 =========================================================================*/
29 #ifndef vtkScaledTextActor_h
30 #define vtkScaledTextActor_h
31 
32 #include "vtkRenderingFreeTypeModule.h" // For export macro
33 #include "vtkTextActor.h"
34 
35 class VTKRENDERINGFREETYPE_EXPORT vtkScaledTextActor : public vtkTextActor
36 {
37 public:
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
45  static vtkScaledTextActor *New();
46 
47 protected:
49 private:
50  vtkScaledTextActor(const vtkScaledTextActor&) = delete;
51  void operator=(const vtkScaledTextActor&) = delete;
52 };
53 
54 
55 #endif
56 
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
An actor that displays text.
Definition: vtkTextActor.h:56
a simple class to control print indentation
Definition: vtkIndent.h:39
static vtkTextActor * New()
Instantiate object with a rectangle in normaled view coordinates of (0.2,0.85, 0.8, 0.95).
create text that will scale as needed