VTK  9.4.20241108
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
32#ifndef vtkArrayPrint_h
33#define vtkArrayPrint_h
34
35#include "vtkTypedArray.h"
36
41VTK_ABI_NAMESPACE_BEGIN
42template <typename T>
43void vtkPrintCoordinateFormat(ostream& stream, vtkTypedArray<T>* array);
44
47template <typename T>
48void vtkPrintMatrixFormat(ostream& stream, vtkTypedArray<T>* matrix);
49
52template <typename T>
53void vtkPrintVectorFormat(ostream& stream, vtkTypedArray<T>* vector);
54
55VTK_ABI_NAMESPACE_END
56#include "vtkArrayPrint.txx"
57
58#endif
59// 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.