00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkPProbeFilter.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 =========================================================================*/ 00035 #ifndef __vtkPProbeFilter_h 00036 #define __vtkPProbeFilter_h 00037 00038 #include "vtkProbeFilter.h" 00039 00040 class vtkMultiProcessController; 00041 00042 class VTK_PARALLEL_EXPORT vtkPProbeFilter : public vtkProbeFilter 00043 { 00044 public: 00045 vtkTypeRevisionMacro(vtkPProbeFilter,vtkProbeFilter); 00046 void PrintSelf(ostream& os, vtkIndent indent); 00047 00048 static vtkPProbeFilter *New(); 00049 00051 00052 virtual void SetController(vtkMultiProcessController*); 00053 vtkGetObjectMacro(Controller, vtkMultiProcessController); 00055 00056 protected: 00057 vtkPProbeFilter(); 00058 ~vtkPProbeFilter(); 00059 00060 // Usual data generation method 00061 virtual void ExecuteData(vtkDataObject*); 00062 virtual void ExecuteInformation(); 00063 virtual void ComputeInputUpdateExtents(vtkDataObject *output); 00064 00065 vtkMultiProcessController* Controller; 00066 00067 private: 00068 vtkPProbeFilter(const vtkPProbeFilter&); // Not implemented. 00069 void operator=(const vtkPProbeFilter&); // Not implemented. 00070 }; 00071 00072 #endif