VTK
vtkTextSource.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTextSource.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 =========================================================================*/
38 #ifndef __vtkTextSource_h
39 #define __vtkTextSource_h
40 
41 #include "vtkPolyDataAlgorithm.h"
42 
44 {
45 public:
47  void PrintSelf(ostream& os, vtkIndent indent);
48 
50  static vtkTextSource *New();
51 
53 
54  vtkSetStringMacro(Text);
55  vtkGetStringMacro(Text);
57 
59 
60  vtkSetMacro(Backing,int);
61  vtkGetMacro(Backing,int);
62  vtkBooleanMacro(Backing,int);
64 
66 
68  vtkSetVector3Macro(ForegroundColor,double);
69  vtkGetVectorMacro(ForegroundColor,double,3);
71 
73 
75  vtkSetVector3Macro(BackgroundColor,double);
76  vtkGetVectorMacro(BackgroundColor,double,3);
78 
79 protected:
80  vtkTextSource();
81  ~vtkTextSource();
82 
84  char *Text;
85  int Backing;
86  double ForegroundColor[4];
87  double BackgroundColor[4];
88 private:
89  vtkTextSource(const vtkTextSource&); // Not implemented.
90  void operator=(const vtkTextSource&); // Not implemented.
91 };
92 
93 #endif
#define VTK_GRAPHICS_EXPORT
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:37
Store zero or more vtkInformation instances.
create polygonal text
Definition: vtkTextSource.h:43