00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkHierarchicalDataInformation.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 =========================================================================*/ 00033 #ifndef __vtkHierarchicalDataInformation_h 00034 #define __vtkHierarchicalDataInformation_h 00035 00036 #include "vtkObject.h" 00037 00038 class vtkInformation; 00039 //BTX 00040 struct vtkHierarchicalDataInformationInternal; 00041 //ETX 00042 00043 class VTK_FILTERING_EXPORT vtkHierarchicalDataInformation : public vtkObject 00044 { 00045 public: 00046 static vtkHierarchicalDataInformation *New(); 00047 vtkTypeRevisionMacro(vtkHierarchicalDataInformation,vtkObject); 00048 void PrintSelf(ostream& os, vtkIndent indent); 00049 00051 unsigned int GetNumberOfLevels(); 00052 00054 void SetNumberOfLevels(unsigned int numLevels); 00055 00057 unsigned int GetNumberOfDataSets(unsigned int level); 00058 00060 void SetNumberOfDataSets(unsigned int level, unsigned int numDataSets); 00061 00065 vtkInformation* GetInformation(unsigned int level, unsigned int id); 00066 00068 int HasInformation(unsigned int level, unsigned int id); 00069 00072 void DeepCopy(vtkHierarchicalDataInformation* from); 00073 00075 void Clear(); 00076 00077 protected: 00078 vtkHierarchicalDataInformation(); 00079 ~vtkHierarchicalDataInformation(); 00080 00081 private: 00082 vtkHierarchicalDataInformationInternal* Internal; 00083 00084 vtkHierarchicalDataInformation(const vtkHierarchicalDataInformation&); // Not implemented. 00085 void operator=(const vtkHierarchicalDataInformation&); // Not implemented. 00086 }; 00087 00088 #endif