VTK  9.3.0
vtkArrayPrint.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
13 #ifndef vtkArrayPrint_h
14 #define vtkArrayPrint_h
15 
16 #include "vtkTypedArray.h"
17 
22 VTK_ABI_NAMESPACE_BEGIN
23 template <typename T>
24 void vtkPrintCoordinateFormat(ostream& stream, vtkTypedArray<T>* array);
25 
28 template <typename T>
29 void vtkPrintMatrixFormat(ostream& stream, vtkTypedArray<T>* matrix);
30 
33 template <typename T>
35 
36 VTK_ABI_NAMESPACE_END
37 #include "vtkArrayPrint.txx"
38 
39 #endif
40 // VTK-HeaderTest-Exclude: vtkArrayPrint.h
void vtkPrintCoordinateFormat(ostream &stream, vtkTypedArray< T > *array)
Serializes the contents of an array to a stream as a series of coordinates.
void vtkPrintMatrixFormat(ostream &stream, vtkTypedArray< T > *matrix)
Serializes the contents of a matrix to a stream in human-readable form.
void vtkPrintVectorFormat(ostream &stream, vtkTypedArray< T > *vector)
Serializes the contents of a vector to a stream in human-readable form.
Provides a type-specific interface to N-way arrays.
Definition: vtkTypedArray.h:43
@ vector
Definition: vtkX3D.h:237