VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Filters/Core/vtkTransposeTable.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkTransposeTable.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 
00032 #ifndef vtkTransposeTable_h
00033 #define vtkTransposeTable_h
00034 
00035 #include "vtkFiltersCoreModule.h" // For export macro
00036 #include "vtkTableAlgorithm.h"
00037 
00038 class VTKFILTERSCORE_EXPORT vtkTransposeTable : public vtkTableAlgorithm
00039 {
00040 public:
00041   static vtkTransposeTable* New();
00042   vtkTypeMacro(vtkTransposeTable, vtkTableAlgorithm);
00043   void PrintSelf(ostream& os, vtkIndent indent);
00044 
00046 
00048   vtkGetMacro(AddIdColumn, bool);
00049   vtkSetMacro(AddIdColumn, bool);
00050   vtkBooleanMacro(AddIdColumn, bool);
00052 
00054 
00056   vtkGetMacro(UseIdColumn, bool);
00057   vtkSetMacro(UseIdColumn, bool);
00058   vtkBooleanMacro(UseIdColumn, bool);
00060 
00062 
00064   vtkGetStringMacro(IdColumnName);
00065   vtkSetStringMacro(IdColumnName);
00067 
00068 protected:
00069   vtkTransposeTable();
00070   ~vtkTransposeTable();
00071 
00072   int RequestData(vtkInformation*,
00073     vtkInformationVector**,
00074     vtkInformationVector*);
00075 
00076   bool AddIdColumn;
00077   bool UseIdColumn;
00078   char* IdColumnName;
00079 
00080 private:
00081   vtkTransposeTable(const vtkTransposeTable&); // Not implemented
00082   void operator=(const vtkTransposeTable&);   // Not implemented
00083 };
00084 
00085 #endif