00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkArrayPrint.h 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 =========================================================================*/ 00029 #ifndef __vtkArrayPrint_h 00030 #define __vtkArrayPrint_h 00031 00032 #include "vtkTypedArray.h" 00033 00038 template<typename T> 00039 void vtkPrintCoordinateFormat(ostream& stream, vtkTypedArray<T>* array); 00040 00043 template<typename T> 00044 void vtkPrintMatrixFormat(ostream& stream, vtkTypedArray<T>* matrix); 00045 00048 template<typename T> 00049 void vtkPrintVectorFormat(ostream& stream, vtkTypedArray<T>* vector); 00050 00051 #include "vtkArrayPrint.txx" 00052 00053 #endif