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 
92 
94  void PrependStrategy(vtkTextExtractionStrategy* strategy);
95  // Description:
96  // Append a strategy to the list of strategies. vtkTextExtraction assumes ownership
97  // of the supplied object.
98  void AppendStrategy(vtkTextExtractionStrategy* strategy);
100 
102 
103  vtkSetStringMacro(OutputArray);
104  vtkGetStringMacro(OutputArray);
106 
107 //BTX
108 protected:
111 
112  virtual int RequestData(
113  vtkInformation* request,
114  vtkInformationVector** inputVector,
115  vtkInformationVector* outputVector);
116 
117 private:
118  vtkTextExtraction(const vtkTextExtraction &); // Not implemented.
119  void operator=(const vtkTextExtraction &); // Not implemented.
120 
121  char* OutputArray;
122 
123  class Implementation;
124  Implementation* const Internal;
125 //ETX
126 };
127 
128 #endif // __vtkTextExtraction_h
129