00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkHierarchicalBoxApplyFilterCommand#include "vtkCompositeDataCommand.h" 00005 .h,v $ 00006 Language: C++ 00007 00008 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00009 All rights reserved. 00010 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notice for more information. 00015 00016 =========================================================================*/ 00030 #ifndef __vtkHierarchicalBoxApplyFilterCommand_h 00031 #define __vtkHierarchicalBoxApplyFilterCommand_h 00032 00033 #include "vtkApplyFilterCommand.h" 00034 #include "vtkAMRBox.h" // Needed for LevelInformation 00035 00036 class vtkHierarchicalBoxDataSet; 00037 00038 class VTK_FILTERING_EXPORT vtkHierarchicalBoxApplyFilterCommand : public vtkApplyFilterCommand 00039 { 00040 public: 00041 static vtkHierarchicalBoxApplyFilterCommand *New(); 00042 00043 vtkTypeRevisionMacro(vtkHierarchicalBoxApplyFilterCommand, 00044 vtkApplyFilterCommand); 00045 void PrintSelf(ostream& os, vtkIndent indent); 00046 00048 00051 virtual void Execute(vtkCompositeDataVisitor *caller, 00052 vtkDataObject *input, 00053 void* callData); 00055 00057 00059 void SetOutput(vtkHierarchicalBoxDataSet* output); 00060 vtkGetObjectMacro(Output, vtkHierarchicalBoxDataSet); 00062 00065 void Initialize(); 00066 00067 protected: 00068 00069 vtkHierarchicalBoxDataSet* Output; 00070 00071 vtkHierarchicalBoxApplyFilterCommand(); 00072 ~vtkHierarchicalBoxApplyFilterCommand(); 00073 00074 vtkHierarchicalBoxApplyFilterCommand(const vtkHierarchicalBoxApplyFilterCommand&); // Not implemented 00075 void operator=(const vtkHierarchicalBoxApplyFilterCommand&); // Not implemented 00076 }; 00077 00078 #endif /* __vtkHierarchicalBoxApplyFilterCommand_h */ 00079