Parallel/vtkTransmitPolyDataPiece.h Source File

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

# Parallel/vtkTransmitPolyDataPiece.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkTransmitPolyDataPiece.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 =========================================================================*/
    00040 #ifndef __vtkTransmitPolyDataPiece_h
    00041 #define __vtkTransmitPolyDataPiece_h
    00042
    00043 #include "vtkPolyDataToPolyDataFilter.h"
    00044
    00045 class vtkMultiProcessController;
    00046
    00047 class VTK_PARALLEL_EXPORT vtkTransmitPolyDataPiece : public vtkPolyDataToPolyDataFilter
    00048 {
    00049 public:
    00050   static vtkTransmitPolyDataPiece *New();
    00051   vtkTypeRevisionMacro(vtkTransmitPolyDataPiece, vtkPolyDataToPolyDataFilter);
    00052   void PrintSelf(ostream& os, vtkIndent indent);
    00053
    00055
    00057   virtual void SetController(vtkMultiProcessController*);
    00058   vtkGetObjectMacro(Controller, vtkMultiProcessController);
    00060
    00062
    00063   vtkSetMacro(CreateGhostCells, int);
    00064   vtkGetMacro(CreateGhostCells, int);
    00065   vtkBooleanMacro(CreateGhostCells, int);
    00067
    00068 protected:
    00069   vtkTransmitPolyDataPiece();
    00070   ~vtkTransmitPolyDataPiece();
    00071
    00072   // Data generation method
    00073   void Execute();
    00074   void RootExecute();
    00075   void SatelliteExecute(int procId);
    00076   void ExecuteInformation();
    00077   void ComputeInputUpdateExtents(vtkDataObject *out);
    00078
    00079   vtkPolyData *Buffer;
    00080   int BufferPiece;
    00081   int BufferNumberOfPieces;
    00082   int BufferGhostLevel;
    00083
    00084   int CreateGhostCells;
    00085   vtkMultiProcessController *Controller;
    00086
    00087 private:
    00088   vtkTransmitPolyDataPiece(const vtkTransmitPolyDataPiece&); // Not implemented
    00089   void operator=(const vtkTransmitPolyDataPiece&); // Not implemented
    00090 };
    00091
    00092 #endif