• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

dox/Common/vtkArrayPrint.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkArrayPrint.h,v $
00005   
00006 -------------------------------------------------------------------------
00007   Copyright 2008 Sandia Corporation.
00008   Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
00009   the U.S. Government retains certain rights in this software.
00010 -------------------------------------------------------------------------
00011 
00012   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00013   All rights reserved.
00014   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00015 
00016      This software is distributed WITHOUT ANY WARRANTY; without even
00017      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00018      PURPOSE.  See the above copyright notice for more information.
00019 
00020 =========================================================================*/
00021 
00022 #ifndef __vtkArrayPrint_h
00023 #define __vtkArrayPrint_h
00024 
00025 #include "vtkTypedArray.h"
00026 
00027 // .SECTION Thanks
00028 // Developed by Timothy M. Shead (tshead@sandia.gov) at Sandia National Laboratories.
00029 
00030 // Description:
00031 // Serializes the contents of an array to a stream as a series of coordinates.
00032 // For 2D arrays of double values, the output is compatible with the MatrixMarket
00033 // "Coordinate Text File" format.
00034 template<typename T>
00035 void vtkPrintCoordinateFormat(ostream& stream, vtkTypedArray<T>* array);
00036 
00037 // Description:
00038 // Serializes the contents of a matrix to a stream in human-readable form.
00039 template<typename T>
00040 void vtkPrintMatrixFormat(ostream& stream, vtkTypedArray<T>* matrix);
00041 
00042 // Description:
00043 // Serializes the contents of a vector to a stream in human-readable form.
00044 template<typename T>
00045 void vtkPrintVectorFormat(ostream& stream, vtkTypedArray<T>* vector);
00046 
00047 #include "vtkArrayPrint.txx"
00048 
00049 #endif
00050 

Generated by  doxygen 1.7.1