Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages

# Parallel/vtkCollectPolyData.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkCollectPolyData.h,v $
    00005   Language:  C++
    00006
    00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
    00008   All rights reserved.
    00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
    00010
    00011      This software is distributed WITHOUT ANY WARRANTY; without even
    00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00013      PURPOSE.  See the above copyright notice for more information.
    00014
    00015 =========================================================================*/
    00038 #ifndef __vtkCollectPolyData_h
    00039 #define __vtkCollectPolyData_h
    00040
    00041 #include "vtkPolyDataToPolyDataFilter.h"
    00042
    00043 class vtkMultiProcessController;
    00044
    00045 class VTK_PARALLEL_EXPORT vtkCollectPolyData : public vtkPolyDataToPolyDataFilter
    00046 {
    00047 public:
    00048   static vtkCollectPolyData *New();
    00049   vtkTypeRevisionMacro(vtkCollectPolyData, vtkPolyDataToPolyDataFilter);
    00050   void PrintSelf(ostream& os, vtkIndent indent);
    00051
    00053
    00055   virtual void SetController(vtkMultiProcessController*);
    00056   vtkGetObjectMacro(Controller, vtkMultiProcessController);
    00058
    00060
    00063   vtkSetMacro(Threshold, unsigned long);
    00064   vtkGetMacro(Threshold, unsigned long);
    00066
    00068
    00070   vtkGetMacro(Collected, int);
    00072
    00073 protected:
    00074   vtkCollectPolyData();
    00075   ~vtkCollectPolyData();
    00076
    00077   // Data generation method
    00078   void ComputeInputUpdateExtents(vtkDataObject *output);
    00079   void Execute();
    00080   void ExecuteInformation();
    00081
    00082   unsigned long Threshold;
    00083   int Collected;
    00084
    00085   vtkMultiProcessController *Controller;
    00086
    00087 private:
    00088   vtkCollectPolyData(const vtkCollectPolyData&); // Not implemented
    00089   void operator=(const vtkCollectPolyData&); // Not implemented
    00090 };
    00091
    00092 #endif