VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkPProbeFilter.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 =========================================================================*/ 00023 #ifndef __vtkPProbeFilter_h 00024 #define __vtkPProbeFilter_h 00025 00026 #include "vtkFiltersParallelModule.h" // For export macro 00027 #include "vtkCompositeDataProbeFilter.h" 00028 00029 class vtkMultiProcessController; 00030 00031 class VTKFILTERSPARALLEL_EXPORT vtkPProbeFilter : public vtkCompositeDataProbeFilter 00032 { 00033 public: 00034 vtkTypeMacro(vtkPProbeFilter,vtkCompositeDataProbeFilter); 00035 void PrintSelf(ostream& os, vtkIndent indent); 00036 00037 static vtkPProbeFilter *New(); 00038 00040 00041 virtual void SetController(vtkMultiProcessController*); 00042 vtkGetObjectMacro(Controller, vtkMultiProcessController); 00044 00045 //BTX 00046 protected: 00047 vtkPProbeFilter(); 00048 ~vtkPProbeFilter(); 00049 00050 enum 00051 { 00052 PROBE_COMMUNICATION_TAG=1970 00053 }; 00054 00055 // Usual data generation method 00056 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00057 virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00058 virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00059 virtual int FillInputPortInformation(int port, vtkInformation *info); 00060 00061 vtkMultiProcessController* Controller; 00062 00063 private: 00064 vtkPProbeFilter(const vtkPProbeFilter&); // Not implemented. 00065 void operator=(const vtkPProbeFilter&); // Not implemented. 00066 //ETX 00067 }; 00068 00069 #endif