00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkMergeColumns.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 /*------------------------------------------------------------------------- 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 -------------------------------------------------------------------------*/ 00041 #ifndef __vtkMergeColumns_h 00042 #define __vtkMergeColumns_h 00043 00044 #include "vtkTableAlgorithm.h" 00045 00046 class VTK_INFOVIS_EXPORT vtkMergeColumns : public vtkTableAlgorithm 00047 { 00048 public: 00049 static vtkMergeColumns* New(); 00050 vtkTypeMacro(vtkMergeColumns,vtkTableAlgorithm); 00051 void PrintSelf(ostream& os, vtkIndent indent); 00052 00054 00055 vtkSetStringMacro(MergedColumnName); 00056 vtkGetStringMacro(MergedColumnName); 00058 00059 protected: 00060 vtkMergeColumns(); 00061 ~vtkMergeColumns(); 00062 00063 char* MergedColumnName; 00064 00065 int RequestData( 00066 vtkInformation*, 00067 vtkInformationVector**, 00068 vtkInformationVector*); 00069 00070 private: 00071 vtkMergeColumns(const vtkMergeColumns&); // Not implemented 00072 void operator=(const vtkMergeColumns&); // Not implemented 00073 }; 00074 00075 #endif 00076