VTK  9.1.0
vtkPixelExtentIO.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkPixelExtentIO.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
23#ifndef vtkPixelExtentIO_h
24#define vtkPixelExtentIO_h
25
26#include "vtkIOLegacyModule.h" // for export
27#include "vtkPixelExtent.h" // for pixel extent
28#include <deque> // for std::deque
29
31
32class VTKIOLEGACY_EXPORT vtkPixelExtentIO
33{
34public:
42 static void Write(int commRank, VTK_FILEPATH const char* fileName,
43 const std::deque<std::deque<vtkPixelExtent>>& exts);
44
53 static void Write(
54 int commRank, VTK_FILEPATH const char* fileName, const std::deque<vtkPixelExtent>& exts);
55
57
62 static void Write(int commRank, VTK_FILEPATH const char* fileName, const vtkPixelExtent& ext);
64};
65
69VTKIOLEGACY_EXPORT
71
72#endif
73// 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
@ data
Definition: vtkX3D.h:321
VTKIOLEGACY_EXPORT vtkUnstructuredGrid & operator<<(vtkUnstructuredGrid &data, const vtkPixelExtent &ext)
Insert the extent into an unstructured grid.
#define VTK_FILEPATH