1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
// SPDX-License-Identifier: BSD-3-Clause
/**
* @class vtkTransmitRectilinearGridPiece
* @brief Redistributes data produced
* by serial readers
*
*
* This filter can be used to redistribute data from producers that can't
* produce data in parallel. All data is produced on first process and
* the distributed to others using the multiprocess controller.
*
* Note that this class is legacy. The superclass does all the work and
* can be used directly instead.
*/
#ifndef vtkTransmitStructuredGridPiece_h
#define vtkTransmitStructuredGridPiece_h
#include "vtkFiltersParallelModule.h" // For export macro
#include "vtkTransmitStructuredDataPiece.h"
VTK_ABI_NAMESPACE_BEGIN
class vtkMultiProcessController;
class VTKFILTERSPARALLEL_EXPORT vtkTransmitStructuredGridPiece
: public vtkTransmitStructuredDataPiece
{
public:
static vtkTransmitStructuredGridPiece* New();
vtkTypeMacro(vtkTransmitStructuredGridPiece, vtkTransmitStructuredDataPiece);
void PrintSelf(ostream& os, vtkIndent indent) override;
protected:
vtkTransmitStructuredGridPiece();
~vtkTransmitStructuredGridPiece() override;
private:
vtkTransmitStructuredGridPiece(const vtkTransmitStructuredGridPiece&) = delete;
void operator=(const vtkTransmitStructuredGridPiece&) = delete;
};
VTK_ABI_NAMESPACE_END
#endif
|