3Depict
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Functions
vtk.cpp File Reference
#include "vtk.h"
#include <fstream>
Include dependency graph for vtk.cpp:

Functions

unsigned int vtk_write_legacy (const std::string &filename, unsigned int format, const std::vector< IonHit > &ions)
 
template<class T >
unsigned int vtk_write_legacy (const std::string &filename, unsigned int format, const Voxels< T > &vox)
 

Function Documentation

◆ vtk_write_legacy() [1/2]

unsigned int vtk_write_legacy ( const std::string &  filename,
unsigned int  format,
const std::vector< IonHit > &  ions 
)

References VTK_ASCII, VTK_ERR_FILE_OPEN_FAIL, and VTK_ERR_NOT_IMPLEMENTED.

Referenced by IonStreamData::exportStreams(), and vtk_write_legacy().

Here is the caller graph for this function:

◆ vtk_write_legacy() [2/2]

template<class T >
unsigned int vtk_write_legacy ( const std::string &  filename,
unsigned int  format,
const Voxels< T > &  vox 
)