VTK  9.5.20251008
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 "vtkDeprecation.h" // For deprecation macro
18#include "vtkRenderingFreeTypeModule.h" // For export macro
19#include "vtkTextActor.h"
20
21VTK_ABI_NAMESPACE_BEGIN
22class VTK_DEPRECATED_IN_9_6_0("Please use vtkTextActor with SetTextScaleModeToProp() instead.")
23 VTKRENDERINGFREETYPE_EXPORT vtkScaledTextActor : public vtkTextActor
24{
25public:
27 void PrintSelf(ostream& os, vtkIndent indent) override;
28
34
35protected:
37
38private:
40 void operator=(const vtkScaledTextActor&) = delete;
41};
42
43VTK_ABI_NAMESPACE_END
44#endif
a simple class to control print indentation
Definition vtkIndent.h:108
create text that will scale as needed
static vtkScaledTextActor * New()
Instantiate object with a rectangle in normaled view coordinates of (0.2,0.85, 0.8,...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
An actor that displays text.
#define VTK_DEPRECATED_IN_9_6_0(reason)