VTK
vtkTextExtraction.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTextExtraction.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 =========================================================================*/
15 /*-------------------------------------------------------------------------
16  Copyright 2008 Sandia Corporation.
17  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18  the U.S. Government retains certain rights in this software.
19 -------------------------------------------------------------------------*/
20 
73 #ifndef __vtkTextExtraction_h
74 #define __vtkTextExtraction_h
75 
76 #include <vtkTableAlgorithm.h>
77 
79 
81  public vtkTableAlgorithm
82 {
83 public:
84  static vtkTextExtraction* New();
86  void PrintSelf(ostream& os, vtkIndent indent);
87 
89  void ClearStrategies();
90 
93  void PrependStrategy(vtkTextExtractionStrategy* strategy);
96  void AppendStrategy(vtkTextExtractionStrategy* strategy);
97 
99 
100  vtkSetStringMacro(OutputArray);
101  vtkGetStringMacro(OutputArray);
103 
104 //BTX
105 protected:
108 
109  virtual int RequestData(
110  vtkInformation* request,
111  vtkInformationVector** inputVector,
112  vtkInformationVector* outputVector);
113 
114 private:
115  vtkTextExtraction(const vtkTextExtraction &); // Not implemented.
116  void operator=(const vtkTextExtraction &); // Not implemented.
117 
118  char* OutputArray;
119 
120  class Implementation;
121  Implementation* const Internal;
122 //ETX
123 };
124 
125 #endif // __vtkTextExtraction_h
126