VTK
dox/TextAnalysis/vtkTextExtraction.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkTextExtraction.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00015 /*-------------------------------------------------------------------------
00016   Copyright 2008 Sandia Corporation.
00017   Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
00018   the U.S. Government retains certain rights in this software.
00019 -------------------------------------------------------------------------*/
00020 
00073 #ifndef __vtkTextExtraction_h
00074 #define __vtkTextExtraction_h
00075 
00076 #include <vtkTableAlgorithm.h>
00077 
00078 class vtkTextExtractionStrategy;
00079 
00080 class VTK_TEXT_ANALYSIS_EXPORT vtkTextExtraction :
00081   public vtkTableAlgorithm
00082 {
00083 public:
00084   static vtkTextExtraction* New();
00085   vtkTypeMacro(vtkTextExtraction, vtkTableAlgorithm);
00086   void PrintSelf(ostream& os, vtkIndent indent);
00087 
00089   void ClearStrategies();
00090 
00093   void PrependStrategy(vtkTextExtractionStrategy* strategy);
00096   void AppendStrategy(vtkTextExtractionStrategy* strategy);
00097 
00099 
00100   vtkSetStringMacro(OutputArray);
00101   vtkGetStringMacro(OutputArray);
00103 
00104 //BTX
00105 protected:
00106   vtkTextExtraction();
00107   ~vtkTextExtraction();
00108 
00109   virtual int RequestData(
00110     vtkInformation* request,
00111     vtkInformationVector** inputVector,
00112     vtkInformationVector* outputVector);
00113 
00114 private:
00115   vtkTextExtraction(const vtkTextExtraction &); // Not implemented.
00116   void operator=(const vtkTextExtraction &); // Not implemented.
00117 
00118   char* OutputArray;
00119 
00120   class Implementation;
00121   Implementation* const Internal;
00122 //ETX
00123 };
00124 
00125 #endif // __vtkTextExtraction_h
00126