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

Filtering/vtkApplyFilterCommand.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkApplyFilterCommand.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 =========================================================================*/
00034 #ifndef __vtkApplyFilterCommand_h
00035 #define __vtkApplyFilterCommand_h
00036 
00037 #include "vtkCompositeDataCommand.h"
00038 
00039 class vtkApplyFilterCommandInternal;
00040 class vtkMultiBlockDataSet;
00041 class vtkSource;
00042 class vtkDataObject;
00043 
00044 class VTK_FILTERING_EXPORT vtkApplyFilterCommand : public vtkCompositeDataCommand
00045 {
00046 public:
00047   vtkTypeRevisionMacro(vtkApplyFilterCommand, vtkCompositeDataCommand);
00048   void PrintSelf(ostream& os, vtkIndent indent);
00049 
00051 
00052   void SetFilter(vtkSource* filter);
00053   vtkGetObjectMacro(Filter, vtkSource)
00055 
00056 protected:
00057 
00058   vtkApplyFilterCommandInternal* Internal;
00059 
00060   vtkSource* Filter;
00061 
00062   int CheckFilterInputMatch(vtkDataObject* inp);
00063   void SetFilterInput(vtkSource* source, vtkDataObject* input);
00064   
00065   vtkApplyFilterCommand();
00066   ~vtkApplyFilterCommand();
00067 
00068 private:
00069   vtkApplyFilterCommand(const vtkApplyFilterCommand&); // Not implemented
00070   void operator=(const vtkApplyFilterCommand&); // Not implemented
00071 };
00072 
00073 
00074 
00075 #endif /* __vtkApplyFilterCommand_h */
00076