00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkMultiBlockApplyFilterCommand.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 =========================================================================*/ 00040 #ifndef __vtkMultiBlockApplyFilterCommand_h 00041 #define __vtkMultiBlockApplyFilterCommand_h 00042 00043 #include "vtkApplyFilterCommand.h" 00044 00045 class vtkMultiBlockDataSet; 00046 00047 class VTK_FILTERING_EXPORT vtkMultiBlockApplyFilterCommand : public vtkApplyFilterCommand 00048 { 00049 public: 00050 static vtkMultiBlockApplyFilterCommand *New(); 00051 00052 vtkTypeRevisionMacro(vtkMultiBlockApplyFilterCommand, vtkApplyFilterCommand); 00053 void PrintSelf(ostream& os, vtkIndent indent); 00054 00056 00058 virtual void Execute(vtkCompositeDataVisitor *caller, 00059 vtkDataObject *input, 00060 void*); 00062 00064 00066 void SetOutput(vtkMultiBlockDataSet* output); 00067 vtkGetObjectMacro(Output, vtkMultiBlockDataSet); 00069 00072 void Initialize(); 00073 00074 protected: 00075 00076 vtkMultiBlockDataSet* Output; 00077 00078 vtkMultiBlockApplyFilterCommand(); 00079 ~vtkMultiBlockApplyFilterCommand(); 00080 00081 private: 00082 vtkMultiBlockApplyFilterCommand(const vtkMultiBlockApplyFilterCommand&); // Not implemented 00083 void operator=(const vtkMultiBlockApplyFilterCommand&); // Not implemented 00084 }; 00085 00086 00087 00088 #endif /* __vtkMultiBlockApplyFilterCommand_h */ 00089