• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

dox/Infovis/vtkStringToCategory.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkStringToCategory.h,v $
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 -------------------------------------------------------------------------*/
00037 #ifndef __vtkStringToCategory_h
00038 #define __vtkStringToCategory_h
00039 
00040 #include "vtkDataObjectAlgorithm.h"
00041 
00042 class VTK_INFOVIS_EXPORT vtkStringToCategory : public vtkDataObjectAlgorithm
00043 {
00044 public:
00045   static vtkStringToCategory* New();
00046   vtkTypeRevisionMacro(vtkStringToCategory,vtkDataObjectAlgorithm);
00047   void PrintSelf(ostream& os, vtkIndent indent);
00048 
00050 
00051   vtkSetStringMacro(CategoryArrayName);
00052   vtkGetStringMacro(CategoryArrayName);
00054   
00056 
00057   virtual int ProcessRequest(vtkInformation* request, 
00058                              vtkInformationVector** inputVector,
00059                              vtkInformationVector* outputVector);
00061 
00062 protected:
00063   vtkStringToCategory();
00064   ~vtkStringToCategory();
00065 
00067 
00068   virtual int RequestDataObject(vtkInformation* request,
00069                                 vtkInformationVector** inputVector,
00070                                 vtkInformationVector* outputVector);
00072   
00073   int RequestData(
00074     vtkInformation*, 
00075     vtkInformationVector**, 
00076     vtkInformationVector*);
00077 
00078   char *CategoryArrayName;
00079     
00080 private:
00081   vtkStringToCategory(const vtkStringToCategory&); // Not implemented
00082   void operator=(const vtkStringToCategory&);   // Not implemented
00083 };
00084 
00085 #endif
00086 

Generated by  doxygen 1.7.1