VTK
dox/Parallel/vtkPReflectionFilter.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkPReflectionFilter.h
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 =========================================================================*/
00022 #ifndef __vtkPReflectionFilter_h
00023 #define __vtkPReflectionFilter_h
00024 
00025 #include "vtkReflectionFilter.h"
00026 
00027 class vtkMultiProcessController;
00028 
00029 class VTK_PARALLEL_EXPORT vtkPReflectionFilter : public vtkReflectionFilter
00030 {
00031 public:
00032   static vtkPReflectionFilter* New();
00033   vtkTypeMacro(vtkPReflectionFilter, vtkReflectionFilter);
00034   void PrintSelf(ostream& os, vtkIndent indent);
00035 
00037 
00038   void SetController(vtkMultiProcessController*);
00039   vtkGetObjectMacro (Controller, vtkMultiProcessController);
00041 
00042 //BTX
00043 protected:
00044   vtkPReflectionFilter();
00045   ~vtkPReflectionFilter();
00046 
00048   virtual int ComputeBounds(vtkDataObject* input, double bounds[6]);
00049 
00050   vtkMultiProcessController* Controller;
00051 private:
00052   vtkPReflectionFilter(const vtkPReflectionFilter&); // Not implemented.
00053   void operator=(const vtkPReflectionFilter&); // Not implemented.
00054 //ETX
00055 };
00056 
00057 #endif
00058 
00059