iRoCS Toolbox  1.1.0
Public Member Functions
BlitzAnalyzeFile Class Reference

The BlitzAnalyzeFile class provides a function for saving of voxel blocks to the Analyze file format. More...

#include <BlitzAnalyzeFile.hh>

Collaboration diagram for BlitzAnalyzeFile:

Public Member Functions

 BlitzAnalyzeFile (const std::string &fName)
 Creates an AnalyzeFile, opening the given file. More...
 
 ~BlitzAnalyzeFile ()
 
template<typename T >
void saveArrayWithElemSize (const blitz::Array< T, 3 > &inArray, const blitz::TinyVector< float, 3 > &element_size_um)
 Writes a three dimensional data set. More...
 

Detailed Description

The BlitzAnalyzeFile class provides a function for saving of voxel blocks to the Analyze file format.

Currently supported are Blitz-Arrays of data element types: unsigned char short int blitz::TinyVector<unsigned char,3> //for RGB arrays

Definition at line 69 of file BlitzAnalyzeFile.hh.

Constructor & Destructor Documentation

◆ BlitzAnalyzeFile()

BlitzAnalyzeFile::BlitzAnalyzeFile ( const std::string &  fName)

Creates an AnalyzeFile, opening the given file.

Parameters
fNamefile to be opened, without file extention!

◆ ~BlitzAnalyzeFile()

BlitzAnalyzeFile::~BlitzAnalyzeFile ( )

Member Function Documentation

◆ saveArrayWithElemSize()

template<typename T >
void BlitzAnalyzeFile::saveArrayWithElemSize ( const blitz::Array< T, 3 > &  inArray,
const blitz::TinyVector< float, 3 > &  element_size_um 
)

Writes a three dimensional data set.

Parameters
inArrayarray to be written into file
element_size_umelement size in um (lev,row,col)

Supported types T: unsigned char short int blitz::TinyVector<unsigned char,3>


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