VTK
vtkArrayPrint.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkArrayPrint.h
5 
6 -------------------------------------------------------------------------
7  Copyright 2008 Sandia Corporation.
8  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
9  the U.S. Government retains certain rights in this software.
10 -------------------------------------------------------------------------
11 
12  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
13  All rights reserved.
14  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
15 
16  This software is distributed WITHOUT ANY WARRANTY; without even
17  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
18  PURPOSE. See the above copyright notice for more information.
19 
20 =========================================================================*/
30 #ifndef vtkArrayPrint_h
31 #define vtkArrayPrint_h
32 
33 #include "vtkTypedArray.h"
34 
39 template<typename T>
40 void vtkPrintCoordinateFormat(ostream& stream, vtkTypedArray<T>* array);
41 
44 template<typename T>
45 void vtkPrintMatrixFormat(ostream& stream, vtkTypedArray<T>* matrix);
46 
49 template<typename T>
50 void vtkPrintVectorFormat(ostream& stream, vtkTypedArray<T>* vector);
51 
52 #include "vtkArrayPrint.txx"
53 
54 #endif
55 // VTK-HeaderTest-Exclude: vtkArrayPrint.h
void vtkPrintCoordinateFormat(ostream &stream, vtkTypedArray< T > *array)
Provides a type-specific interface to N-way arrays.
Definition: vtkTypedArray.h:58
void vtkPrintMatrixFormat(ostream &stream, vtkTypedArray< T > *matrix)
void vtkPrintVectorFormat(ostream &stream, vtkTypedArray< T > *vector)