VTK
vtkNGramExtraction.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkNGramExtraction.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 
50 #ifndef __vtkNGramExtraction_h
51 #define __vtkNGramExtraction_h
52 
53 #include <vtkTableAlgorithm.h>
54 
56  public vtkTableAlgorithm
57 {
58 public:
59  static vtkNGramExtraction* New();
61  void PrintSelf(ostream& os, vtkIndent indent);
62 
64 
65  vtkSetMacro(N, vtkIdType);
66  vtkGetMacro(N, vtkIdType);
68 
69 //BTX
70 protected:
73 
74  virtual int RequestData(
75  vtkInformation* request,
76  vtkInformationVector** inputVector,
77  vtkInformationVector* outputVector);
78 
79 private:
80  vtkNGramExtraction(const vtkNGramExtraction &); // Not implemented.
81  void operator=(const vtkNGramExtraction &); // Not implemented.
82 
83  vtkIdType N;
84 //ETX
85 };
86 
87 #endif // __vtkNGramExtraction_h
88 
#define VTK_TEXT_ANALYSIS_EXPORT
void PrintSelf(ostream &os, vtkIndent indent)
static vtkTableAlgorithm * New()
Store vtkAlgorithm input/output information.
int vtkIdType
Definition: vtkType.h:255
a simple class to control print indentation
Definition: vtkIndent.h:37
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Superclass for algorithms that produce only vtkTables as output.
Store zero or more vtkInformation instances.
Converts a collection of tokens into a collection of N-grams.