00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkCompositeDataCommand.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 =========================================================================*/ 00030 #ifndef __vtkCompositeDataCommand_h 00031 #define __vtkCompositeDataCommand_h 00032 00033 #include "vtkObject.h" 00034 00035 class vtkCompositeDataVisitor; 00036 class vtkDataObject; 00037 00038 class VTK_COMMON_EXPORT vtkCompositeDataCommand : public vtkObject 00039 { 00040 public: 00041 vtkTypeRevisionMacro(vtkCompositeDataCommand, vtkObject); 00042 void PrintSelf(ostream& os, vtkIndent indent); 00043 00045 00048 virtual void Execute(vtkCompositeDataVisitor *caller, 00049 vtkDataObject *input, 00050 void* callData) = 0; 00052 00055 virtual void Initialize() {}; 00056 00057 protected: 00058 vtkCompositeDataCommand(); 00059 virtual ~vtkCompositeDataCommand(); 00060 00061 private: 00062 vtkCompositeDataCommand(const vtkCompositeDataCommand&); // Not implemented. 00063 void operator=(const vtkCompositeDataCommand&); // Not implemented. 00064 }; 00065 00066 #endif /* __vtkCompositeDataCommand_h */ 00067