VTK  9.3.20240425
vtkPixelExtentIO.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
11#ifndef vtkPixelExtentIO_h
12#define vtkPixelExtentIO_h
13
14#include "vtkIOLegacyModule.h" // for export
15#include "vtkPixelExtent.h" // for pixel extent
16#include <deque> // for std::deque
17
18VTK_ABI_NAMESPACE_BEGIN
20
21class VTKIOLEGACY_EXPORT vtkPixelExtentIO
22{
23public:
31 static void Write(int commRank, VTK_FILEPATH const char* fileName,
32 const std::deque<std::deque<vtkPixelExtent>>& exts);
33
42 static void Write(
43 int commRank, VTK_FILEPATH const char* fileName, const std::deque<vtkPixelExtent>& exts);
44
46
51 static void Write(int commRank, VTK_FILEPATH const char* fileName, const vtkPixelExtent& ext);
53};
54
58VTKIOLEGACY_EXPORT
60
61VTK_ABI_NAMESPACE_END
62#endif
63// VTK-HeaderTest-Exclude: vtkPixelExtentIO.h
A small collection of I/O routines that can write vtkPixelExtent's or collections of them to disk for...
static void Write(int commRank, VTK_FILEPATH const char *fileName, const vtkPixelExtent &ext)
Write an extent per MPI rank to disk.
static void Write(int commRank, VTK_FILEPATH const char *fileName, const std::deque< vtkPixelExtent > &exts)
Writes an extent for each MPI rank to disk as an unstructured grid.
static void Write(int commRank, VTK_FILEPATH const char *fileName, const std::deque< std::deque< vtkPixelExtent > > &exts)
Writes deque of extents for each MPI rank to disk as an unstructured grid.
Representation of a cartesian pixel plane and common operations on it.
dataset represents arbitrary combinations of all possible cell types
VTKIOLEGACY_EXPORT vtkUnstructuredGrid & operator<<(vtkUnstructuredGrid &data, const vtkPixelExtent &ext)
Insert the extent into an unstructured grid.
#define VTK_FILEPATH