VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkPixelExtentIO.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00022 #ifndef __vtkPixelExtentIO_h 00023 #define __vtkPixelExtentIO_h 00024 00025 #include "vtkIOLegacyModule.h" // for export 00026 #include "vtkPixelExtent.h" // for pixel extent 00027 #include <deque> // for std::deque 00028 00029 class vtkUnstructuredGrid; 00030 00031 class VTKIOLEGACY_EXPORT vtkPixelExtentIO 00032 { 00033 public: 00035 00039 static 00040 void Write( 00041 int commRank, 00042 const char *fileName, 00043 const std::deque<std::deque<vtkPixelExtent> >&exts); 00045 00047 00052 static 00053 void Write( 00054 int commRank, 00055 const char *fileName, 00056 const std::deque<vtkPixelExtent> &exts); 00058 00060 00062 static 00063 void Write( 00064 int commRank, 00065 const char *fileName, 00066 const vtkPixelExtent &ext); 00067 }; 00069 00070 00072 00073 VTKIOLEGACY_EXPORT 00074 vtkUnstructuredGrid &operator<<(vtkUnstructuredGrid &data, const vtkPixelExtent &ext); 00076 00077 #endif 00078 // VTK-HeaderTest-Exclude: vtkPixelExtentIO.h