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 =========================================================================*/ 00023 #ifndef __vtkPProbeFilter_h 00024 #define __vtkPProbeFilter_h 00025 00026 #include "vtkProbeFilter.h" 00027 00028 class vtkMultiProcessController; 00029 00030 class VTK_PARALLEL_EXPORT vtkPProbeFilter : public vtkProbeFilter 00031 { 00032 public: 00033 vtkTypeRevisionMacro(vtkPProbeFilter,vtkProbeFilter); 00034 void PrintSelf(ostream& os, vtkIndent indent); 00035 00036 static vtkPProbeFilter *New(); 00037 00039 00040 virtual void SetController(vtkMultiProcessController*); 00041 vtkGetObjectMacro(Controller, vtkMultiProcessController); 00043 00044 protected: 00045 vtkPProbeFilter(); 00046 ~vtkPProbeFilter(); 00047 00048 // Usual data generation method 00049 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00050 virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00051 virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00052 00053 vtkMultiProcessController* Controller; 00054 00055 private: 00056 vtkPProbeFilter(const vtkPProbeFilter&); // Not implemented. 00057 void operator=(const vtkPProbeFilter&); // Not implemented. 00058 }; 00059 00060 #endif