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

# Parallel/vtkTransmitUnstructuredGridPiece.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkTransmitUnstructuredGridPiece.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 __vtkTransmitUnstructuredGridPiece_h
    00041 #define __vtkTransmitUnstructuredGridPiece_h
    00042
    00043 #include "vtkUnstructuredGridToUnstructuredGridFilter.h"
    00044
    00045 class vtkMultiProcessController;
    00046
    00047 class VTK_PARALLEL_EXPORT vtkTransmitUnstructuredGridPiece : public vtkUnstructuredGridToUnstructuredGridFilter
    00048 {
    00049 public:
    00050   static vtkTransmitUnstructuredGridPiece *New();
    00051   vtkTypeRevisionMacro(vtkTransmitUnstructuredGridPiece, vtkUnstructuredGridToUnstructuredGridFilter);
    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   vtkTransmitUnstructuredGridPiece();
    00070   ~vtkTransmitUnstructuredGridPiece();
    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   int CreateGhostCells;
    00080   vtkMultiProcessController *Controller;
    00081
    00082 private:
    00083   vtkTransmitUnstructuredGridPiece(const vtkTransmitUnstructuredGridPiece&); // Not implemented
    00084   void operator=(const vtkTransmitUnstructuredGridPiece&); // Not implemented
    00085 };
    00086
    00087 #endif