VTK
Related Functions | List of all members
vtkArrayPrint Class Reference

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)
 

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.

Friends And Related Function 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: