00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkHierarchicalBoxApplyFilterCommand.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 =========================================================================*/ 00036 #ifndef __vtkHierarchicalBoxApplyFilterCommand_h 00037 #define __vtkHierarchicalBoxApplyFilterCommand_h 00038 00039 #include "vtkApplyFilterCommand.h" 00040 #include "vtkAMRBox.h" // Needed for LevelInformation 00041 00042 class vtkHierarchicalBoxDataSet; 00043 00044 class VTK_FILTERING_EXPORT vtkHierarchicalBoxApplyFilterCommand : public vtkApplyFilterCommand 00045 { 00046 public: 00047 static vtkHierarchicalBoxApplyFilterCommand *New(); 00048 00049 vtkTypeRevisionMacro(vtkHierarchicalBoxApplyFilterCommand, 00050 vtkApplyFilterCommand); 00051 void PrintSelf(ostream& os, vtkIndent indent); 00052 00054 00057 virtual void Execute(vtkCompositeDataVisitor *caller, 00058 vtkDataObject *input, 00059 void* callData); 00061 00063 00065 void SetOutput(vtkHierarchicalBoxDataSet* output); 00066 vtkGetObjectMacro(Output, vtkHierarchicalBoxDataSet); 00068 00071 void Initialize(); 00072 00073 protected: 00074 00075 vtkHierarchicalBoxDataSet* Output; 00076 00077 vtkHierarchicalBoxApplyFilterCommand(); 00078 ~vtkHierarchicalBoxApplyFilterCommand(); 00079 00080 vtkHierarchicalBoxApplyFilterCommand(const vtkHierarchicalBoxApplyFilterCommand&); // Not implemented 00081 void operator=(const vtkHierarchicalBoxApplyFilterCommand&); // Not implemented 00082 }; 00083 00084 #endif /* __vtkHierarchicalBoxApplyFilterCommand_h */ 00085