VTK  9.4.20241222
Related Symbols | List of all members
vtkArrayPrint Class Reference

Print arrays in different formats. More...

#include <vtkArrayPrint.h>

Related Symbols

(Note that these are not member symbols.)

template<typename T >
void vtkPrintCoordinateFormat (ostream &stream, vtkTypedArray< T > *array)
 Serializes the contents of an array to a stream as a series of coordinates.
 
template<typename T >
void vtkPrintMatrixFormat (ostream &stream, vtkTypedArray< T > *matrix)
 Serializes the contents of a matrix to a stream in human-readable form.
 
template<typename T >
void vtkPrintVectorFormat (ostream &stream, vtkTypedArray< T > *vector)
 Serializes the contents of a vector to a stream in human-readable form.
 

Detailed Description

Print arrays in different formats.

Thanks:
Developed by Timothy M. Shead (tshea.nosp@m.d@sa.nosp@m.ndia..nosp@m.gov) at Sandia National Laboratories.
Online Examples:

Friends And Related Symbol Documentation

◆ vtkPrintCoordinateFormat()

template<typename T >
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.

◆ vtkPrintMatrixFormat()

template<typename T >
void vtkPrintMatrixFormat ( ostream &  stream,
vtkTypedArray< T > *  matrix 
)
related

Serializes the contents of a matrix to a stream in human-readable form.

◆ vtkPrintVectorFormat()

template<typename T >
void vtkPrintVectorFormat ( ostream &  stream,
vtkTypedArray< T > *  vector 
)
related

Serializes the contents of a vector to a stream in human-readable form.


The documentation for this class was generated from the following file: