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 "vtkFiltersSourcesModule.h" // For export macro
42 #include "vtkPolyDataAlgorithm.h"
43 
45 {
46 public:
48  void PrintSelf(ostream& os, vtkIndent indent);
49 
51  static vtkTextSource *New();
52 
54 
58 
60 
61  vtkSetMacro(Backing,int);
62  vtkGetMacro(Backing,int);
63  vtkBooleanMacro(Backing,int);
65 
67 
69  vtkSetVector3Macro(ForegroundColor,double);
70  vtkGetVectorMacro(ForegroundColor,double,3);
72 
74 
76  vtkSetVector3Macro(BackgroundColor,double);
77  vtkGetVectorMacro(BackgroundColor,double,3);
79 
81 
85  vtkSetMacro(OutputPointsPrecision,int);
86  vtkGetMacro(OutputPointsPrecision,int);
88 
89 protected:
92 
94  char *Text;
95  int Backing;
96  double ForegroundColor[4];
97  double BackgroundColor[4];
99 private:
100  vtkTextSource(const vtkTextSource&); // Not implemented.
101  void operator=(const vtkTextSource&); // Not implemented.
102 };
103 
104 #endif
vtkX3D::Text
@ Text
Definition: vtkX3D.h:160
vtkSetVector3Macro
#define vtkSetVector3Macro(name, type)
Definition: vtkSetGet.h:287
vtkTextSource::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTextSource::OutputPointsPrecision
int OutputPointsPrecision
Definition: vtkTextSource.h:98
vtkTextSource::vtkTextSource
vtkTextSource()
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkTextSource::~vtkTextSource
~vtkTextSource()
vtkTextSource::Backing
int Backing
Definition: vtkTextSource.h:95
vtkFiltersSourcesModule.h
vtkGetVectorMacro
#define vtkGetVectorMacro(name, type, count)
Definition: vtkSetGet.h:424
vtkTextSource::New
static vtkTextSource * New()
vtkPolyDataAlgorithm.h
VTKFILTERSSOURCES_EXPORT
#define VTKFILTERSSOURCES_EXPORT
Definition: vtkFiltersSourcesModule.h:15
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkSetStringMacro
#define vtkSetStringMacro(name)
Definition: vtkSetGet.h:104
vtkTextSource
create polygonal text
Definition: vtkTextSource.h:45
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkGetStringMacro
vtkGetStringMacro(ExtensionsString)
vtkTextSource::Text
char * Text
Definition: vtkTextSource.h:94
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkTextSource::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:44