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