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

vtkApplyFilterCommand.h

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