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
22 #ifndef vtkArrayPrint_h
23 #define vtkArrayPrint_h
24 
25 #include "vtkTypedArray.h"
26 
31 VTK_ABI_NAMESPACE_BEGIN
32 template <typename T>
33 void vtkPrintCoordinateFormat(ostream& stream, vtkTypedArray<T>* array);
34 
37 template <typename T>
38 void vtkPrintMatrixFormat(ostream& stream, vtkTypedArray<T>* matrix);
39 
42 template <typename T>
44 
45 VTK_ABI_NAMESPACE_END
46 #include "vtkArrayPrint.txx"
47 
48 #endif
49 // 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