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
22VTK_ABI_NAMESPACE_BEGIN
23template <typename T>
24void vtkPrintCoordinateFormat(ostream& stream, vtkTypedArray<T>* array);
25
28template <typename T>
29void vtkPrintMatrixFormat(ostream& stream, vtkTypedArray<T>* matrix);
30
33template <typename T>
34void vtkPrintVectorFormat(ostream& stream, vtkTypedArray<T>* vector);
35
36VTK_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.