VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkPProbeFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPProbeFilter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
23 #ifndef __vtkPProbeFilter_h
24 #define __vtkPProbeFilter_h
25 
26 #include "vtkFiltersParallelModule.h" // For export macro
28 
29 class vtkMultiProcessController;
30 
31 class VTKFILTERSPARALLEL_EXPORT vtkPProbeFilter : public vtkCompositeDataProbeFilter
32 {
33 public:
35  void PrintSelf(ostream& os, vtkIndent indent);
36 
37  static vtkPProbeFilter *New();
38 
40 
41  virtual void SetController(vtkMultiProcessController*);
42  vtkGetObjectMacro(Controller, vtkMultiProcessController);
44 
45 //BTX
46 protected:
48  ~vtkPProbeFilter();
49 
50  enum
51  {
52  PROBE_COMMUNICATION_TAG=1970
53  };
54 
55  // Usual data generation method
56  virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
57  virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
58  virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
59  virtual int FillInputPortInformation(int port, vtkInformation *info);
60 
61  vtkMultiProcessController* Controller;
62 
63 private:
64  vtkPProbeFilter(const vtkPProbeFilter&); // Not implemented.
65  void operator=(const vtkPProbeFilter&); // Not implemented.
66 //ETX
67 };
68 
69 #endif
vtkMultiProcessController * Controller
subclass of vtkProbeFilter which supports composite datasets in the input.
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
probe dataset in parallel
virtual int FillInputPortInformation(int port, vtkInformation *info)
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static vtkCompositeDataProbeFilter * New()
void PrintSelf(ostream &os, vtkIndent indent)