VTK
vtkTextWidget.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTextWidget.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 =========================================================================*/
33 #ifndef vtkTextWidget_h
34 #define vtkTextWidget_h
35 
37 class vtkTextActor;
38 
39 #include "vtkInteractionWidgetsModule.h" // For export macro
40 #include "vtkBorderWidget.h"
41 
43 {
44 public:
46  static vtkTextWidget *New();
47 
49 
51  void PrintSelf(ostream& os, vtkIndent indent);
53 
55 
60  reinterpret_cast<vtkWidgetRepresentation*>(r));}
62 
64 
69  void SetTextActor(vtkTextActor *textActor);
72 
75 
76 protected:
79 
80 private:
81  vtkTextWidget(const vtkTextWidget&); //Not implemented
82  void operator=(const vtkTextWidget&); //Not implemented
83 };
84 
85 #endif
vtkTextWidget::GetTextActor
vtkTextActor * GetTextActor()
vtkBorderWidget
place a border around a 2D rectangular region
Definition: vtkBorderWidget.h:88
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkWidgetRepresentation
abstract class defines interface between the widget and widget representation classes
Definition: vtkWidgetRepresentation.h:54
vtkTextWidget::New
static vtkTextWidget * New()
vtkInteractionWidgetsModule.h
vtkBorderWidget.h
vtkTextWidget::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkTextRepresentation
represent text for vtkTextWidget
Definition: vtkTextRepresentation.h:41
vtkTextActor
An actor that displays text. Scaled or unscaled.
Definition: vtkTextActor.h:55
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkTextWidget::SetTextActor
void SetTextActor(vtkTextActor *textActor)
vtkTextWidget::CreateDefaultRepresentation
virtual void CreateDefaultRepresentation()
vtkTextWidget
widget for placing text on overlay plane
Definition: vtkTextWidget.h:43
vtkgl::r
GLdouble GLdouble GLdouble r
Definition: vtkgl.h:11610
VTKINTERACTIONWIDGETS_EXPORT
#define VTKINTERACTIONWIDGETS_EXPORT
Definition: vtkInteractionWidgetsModule.h:15
vtkTextWidget::vtkTextWidget
vtkTextWidget()
vtkTextWidget::SetRepresentation
void SetRepresentation(vtkTextRepresentation *r)
Definition: vtkTextWidget.h:58
vtkAbstractWidget::SetWidgetRepresentation
void SetWidgetRepresentation(vtkWidgetRepresentation *r)
vtkTextWidget::~vtkTextWidget
~vtkTextWidget()