VTK
vtkStringToCategory.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkStringToCategory.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 -------------------------------------------------------------------------*/
44 #ifndef __vtkStringToCategory_h
45 #define __vtkStringToCategory_h
46 
47 #include "vtkDataObjectAlgorithm.h"
48 
50 {
51 public:
52  static vtkStringToCategory* New();
54  void PrintSelf(ostream& os, vtkIndent indent);
55 
57 
58  vtkSetStringMacro(CategoryArrayName);
59  vtkGetStringMacro(CategoryArrayName);
61 
63 
64  virtual int ProcessRequest(vtkInformation* request,
65  vtkInformationVector** inputVector,
66  vtkInformationVector* outputVector);
68 
69 protected:
72 
74 
75  virtual int RequestDataObject(vtkInformation* request,
76  vtkInformationVector** inputVector,
77  vtkInformationVector* outputVector);
79 
80  int RequestData(
84 
86 
88 
89 private:
90  vtkStringToCategory(const vtkStringToCategory&); // Not implemented
91  void operator=(const vtkStringToCategory&); // Not implemented
92 };
93 
94 #endif
95