VTK  9.0.1
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 
32 class VTKIOLEGACY_EXPORT vtkPixelExtentIO
33 {
34 public:
42  static void Write(
43  int commRank, const char* fileName, const std::deque<std::deque<vtkPixelExtent> >& exts);
44 
53  static void Write(int commRank, const char* fileName, const std::deque<vtkPixelExtent>& exts);
54 
56 
61  static void Write(int commRank, const char* fileName, const vtkPixelExtent& ext);
63 };
64 
68 VTKIOLEGACY_EXPORT
70 
71 #endif
72 // VTK-HeaderTest-Exclude: vtkPixelExtentIO.h
VTKIOLEGACY_EXPORT vtkUnstructuredGrid & operator<<(vtkUnstructuredGrid &data, const vtkPixelExtent &ext)
Insert the extent into an unstructured grid.
dataset represents arbitrary combinations of all possible cell types
Representation of a cartesian pixel plane and common operations on it.
A small collection of I/O routines that can write vtkPixelExtent&#39;s or collections of them to disk for...