VTK
dox/Filters/Parallel/vtkPMaskPoints.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkPMaskPoints.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00023 #ifndef __vtkPMaskPoints_h
00024 #define __vtkPMaskPoints_h
00025 
00026 #include "vtkFiltersParallelModule.h" // For export macro
00027 #include "vtkMaskPoints.h"
00028 
00029 class vtkMultiProcessController;
00030 
00031 class VTKFILTERSPARALLEL_EXPORT vtkPMaskPoints : public vtkMaskPoints
00032 {
00033 public:
00034   static vtkPMaskPoints *New();
00035   vtkTypeMacro(vtkPMaskPoints,vtkMaskPoints);
00036   void PrintSelf(ostream& os, vtkIndent indent);
00037 
00039 
00040   virtual vtkMultiProcessController* GetController();
00041   virtual void SetController(vtkMultiProcessController*);
00043 
00044 protected:
00045   vtkPMaskPoints();
00046   ~vtkPMaskPoints();
00047 
00048   virtual void InternalScatter(unsigned long*, unsigned long *, int, int);
00049   virtual void InternalGather(unsigned long*, unsigned long*, int, int);
00050   virtual int InternalGetNumberOfProcesses();
00051   virtual int InternalGetLocalProcessId();
00052   virtual void InternalBarrier();
00053 
00054   vtkMultiProcessController* Controller;
00055 private:
00056   vtkPMaskPoints(const vtkPMaskPoints&);  // Not implemented.
00057   void operator=(const vtkPMaskPoints&);  // Not implemented.
00058 };
00059 
00060 #endif