VTK
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
43  void Write(
44  int commRank,
45  const char *fileName,
46  const std::deque<std::deque<vtkPixelExtent> >&exts);
47 
56  static
57  void Write(
58  int commRank,
59  const char *fileName,
60  const std::deque<vtkPixelExtent> &exts);
61 
63 
68  static
69  void Write(
70  int commRank,
71  const char *fileName,
72  const vtkPixelExtent &ext);
73 };
75 
76 
80 VTKIOLEGACY_EXPORT
82 
83 #endif
84 // 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...