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 =========================================================================*/
27 #ifndef vtkPMaskPoints_h
28 #define vtkPMaskPoints_h
29 
30 #include "vtkFiltersParallelModule.h" // For export macro
31 #include "vtkMaskPoints.h"
32 
34 
35 class VTKFILTERSPARALLEL_EXPORT vtkPMaskPoints : public vtkMaskPoints
36 {
37 public:
38  static vtkPMaskPoints *New();
40  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
43 
46  virtual vtkMultiProcessController* GetController();
47  virtual void SetController(vtkMultiProcessController*);
49 
50 protected:
52  ~vtkPMaskPoints() override;
53 
54  void InternalScatter(unsigned long*, unsigned long *, int, int) override;
55  void InternalGather(unsigned long*, unsigned long*, int, int) override;
56  int InternalGetNumberOfProcesses() override;
57  int InternalGetLocalProcessId() override;
58  void InternalBarrier() override;
59 
61 private:
62  vtkPMaskPoints(const vtkPMaskPoints&) = delete;
63  void operator=(const vtkPMaskPoints&) = delete;
64 };
65 
66 #endif
vtkMultiProcessController * Controller
virtual int InternalGetNumberOfProcesses()
virtual void InternalBarrier()
parallel Mask Points
a simple class to control print indentation
Definition: vtkIndent.h:39
selectively filter points
Definition: vtkMaskPoints.h:43
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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.