VTK
vtkPMaskPoints.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPMaskPoints.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 vtkPMaskPoints_h
24 #define vtkPMaskPoints_h
25 
26 #include "vtkFiltersParallelModule.h" // For export macro
27 #include "vtkMaskPoints.h"
28 
30 
32 {
33 public:
34  static vtkPMaskPoints *New();
36  void PrintSelf(ostream& os, vtkIndent indent);
37 
39 
40  virtual vtkMultiProcessController* GetController();
41  virtual void SetController(vtkMultiProcessController*);
43 
44 protected:
46  ~vtkPMaskPoints();
47 
48  virtual void InternalScatter(unsigned long*, unsigned long *, int, int);
49  virtual void InternalGather(unsigned long*, unsigned long*, int, int);
50  virtual int InternalGetNumberOfProcesses();
51  virtual int InternalGetLocalProcessId();
52  virtual void InternalBarrier();
53 
55 private:
56  vtkPMaskPoints(const vtkPMaskPoints&); // Not implemented.
57  void operator=(const vtkPMaskPoints&); // Not implemented.
58 };
59 
60 #endif
vtkMultiProcessController * Controller
virtual int InternalGetNumberOfProcesses()
#define VTKFILTERSPARALLEL_EXPORT
virtual void InternalBarrier()
parallel Mask Points
void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:38
selectively filter points
Definition: vtkMaskPoints.h:42
virtual int InternalGetLocalProcessId()
virtual void InternalGather(unsigned long *, unsigned long *, int, int)
static vtkMaskPoints * New()
virtual void InternalScatter(unsigned long *, unsigned long *, int, int)
Multiprocessing communication superclass.