00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkHierarchicalBoxSource.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00026 #ifndef __vtkHierarchicalBoxSource_h 00027 #define __vtkHierarchicalBoxSource_h 00028 00029 #include "vtkSource.h" 00030 00031 class vtkHierarchicalBoxDataSet; 00032 00033 class VTK_FILTERING_EXPORT vtkHierarchicalBoxSource : public vtkSource 00034 { 00035 public: 00036 vtkTypeRevisionMacro(vtkHierarchicalBoxSource,vtkSource); 00037 void PrintSelf(ostream& os, vtkIndent indent); 00038 00040 00041 vtkHierarchicalBoxDataSet *GetOutput(); 00042 vtkHierarchicalBoxDataSet *GetOutput(int idx); 00043 void SetOutput(vtkHierarchicalBoxDataSet *output); 00045 00046 protected: 00047 vtkHierarchicalBoxSource(); 00048 ~vtkHierarchicalBoxSource() {}; 00049 00050 // Update extent of vtkHierarchicalBoxDataSet is specified in pieces. 00051 // Since all DataObjects should be able to set UpdateExent as pieces, 00052 // just copy output->UpdateExtent all Inputs. 00053 void ComputeInputUpdateExtents(vtkDataObject *output); 00054 00055 private: 00056 vtkHierarchicalBoxSource(const vtkHierarchicalBoxSource&); // Not implemented. 00057 void operator=(const vtkHierarchicalBoxSource&); // Not implemented. 00058 }; 00059 00060 #endif 00061 00062 00063 00064 00065