VTK
|
Print arrays in different formats. More...
#include <vtkArrayPrint.h>
Related Functions | |
(Note that these are not member functions.) | |
template<typename T > | |
void | vtkPrintCoordinateFormat (ostream &stream, vtkTypedArray< T > *array) |
template<typename T > | |
void | vtkPrintMatrixFormat (ostream &stream, vtkTypedArray< T > *matrix) |
template<typename T > | |
void | vtkPrintVectorFormat (ostream &stream, vtkTypedArray< T > *vector) |
Print arrays in different formats.
void vtkPrintCoordinateFormat | ( | ostream & | stream, |
vtkTypedArray< T > * | array | ||
) | [related] |
Serializes the contents of an array to a stream as a series of coordinates. For 2D arrays of double values, the output is compatible with the MatrixMarket "Coordinate Text File" format.
void vtkPrintMatrixFormat | ( | ostream & | stream, |
vtkTypedArray< T > * | matrix | ||
) | [related] |
Serializes the contents of a matrix to a stream in human-readable form.
void vtkPrintVectorFormat | ( | ostream & | stream, |
vtkTypedArray< T > * | vector | ||
) | [related] |
Serializes the contents of a vector to a stream in human-readable form.