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
31VTK_ABI_NAMESPACE_BEGIN
32template <typename T>
33void vtkPrintCoordinateFormat(ostream& stream, vtkTypedArray<T>* array);
34
37template <typename T>
38void vtkPrintMatrixFormat(ostream& stream, vtkTypedArray<T>* matrix);
39
42template <typename T>
43void vtkPrintVectorFormat(ostream& stream, vtkTypedArray<T>* vector);
44
45VTK_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.