VTK
vtkTokenLengthFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTokenLengthFilter.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 
48 #ifndef __vtkTokenLengthFilter_h
49 #define __vtkTokenLengthFilter_h
50 
51 #include <vtkTableAlgorithm.h>
52 
54  public vtkTableAlgorithm
55 {
56 public:
57  static vtkTokenLengthFilter* New();
59  void PrintSelf(ostream& os, vtkIndent indent);
60 
62 
65  vtkSetMacro(Begin, int);
66  vtkGetMacro(Begin, int);
67  vtkSetMacro(End, int);
68  vtkGetMacro(End, int);
70 
71 //BTX
72 protected:
75 
76  virtual int RequestData(
77  vtkInformation* request,
78  vtkInformationVector** inputVector,
79  vtkInformationVector* outputVector);
80 
81  int Begin;
82  int End;
83 
84 private:
85  vtkTokenLengthFilter(const vtkTokenLengthFilter &); // Not implemented.
86  void operator=(const vtkTokenLengthFilter &); // Not implemented.
87 //ETX
88 };
89 
90 #endif // __vtkTokenLengthFilter_h
91