Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkHierarchicalBoxSource.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkHierarchicalBoxSource.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 __vtkHierarchicalBoxSource_h
00034 #define __vtkHierarchicalBoxSource_h
00035 
00036 #include "vtkSource.h"
00037 
00038 class vtkHierarchicalBoxDataSet;
00039 
00040 class VTK_FILTERING_EXPORT vtkHierarchicalBoxSource : public vtkSource
00041 {
00042 public:
00043   vtkTypeRevisionMacro(vtkHierarchicalBoxSource,vtkSource);
00044   void PrintSelf(ostream& os, vtkIndent indent);
00045 
00047 
00048   vtkHierarchicalBoxDataSet *GetOutput();
00049   vtkHierarchicalBoxDataSet *GetOutput(int idx);
00050   void SetOutput(vtkHierarchicalBoxDataSet *output);
00052 
00053 protected:
00054   vtkHierarchicalBoxSource();
00055   ~vtkHierarchicalBoxSource() {};
00056   
00057   // Update extent of vtkHierarchicalBoxDataSet  is specified in pieces.  
00058   // Since all DataObjects should be able to set UpdateExent as pieces,
00059   // just copy output->UpdateExtent  all Inputs.
00060   void ComputeInputUpdateExtents(vtkDataObject *output);
00061   
00062 private:
00063   vtkHierarchicalBoxSource(const vtkHierarchicalBoxSource&);  // Not implemented.
00064   void operator=(const vtkHierarchicalBoxSource&);  // Not implemented.
00065 };
00066 
00067 #endif
00068 
00069 
00070 
00071 
00072