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) VTK_OVERRIDE;
38 
40 
43  virtual vtkMultiProcessController* GetController();
44  virtual void SetController(vtkMultiProcessController*);
46 
47 protected:
49  ~vtkPMaskPoints() VTK_OVERRIDE;
50 
51  void InternalScatter(unsigned long*, unsigned long *, int, int) VTK_OVERRIDE;
52  void InternalGather(unsigned long*, unsigned long*, int, int) VTK_OVERRIDE;
53  int InternalGetNumberOfProcesses() VTK_OVERRIDE;
54  int InternalGetLocalProcessId() VTK_OVERRIDE;
55  void InternalBarrier() VTK_OVERRIDE;
56 
58 private:
59  vtkPMaskPoints(const vtkPMaskPoints&) VTK_DELETE_FUNCTION;
60  void operator=(const vtkPMaskPoints&) VTK_DELETE_FUNCTION;
61 };
62 
63 #endif
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.
static vtkMaskPoints * New()
Multiprocessing communication superclass.