open_iA 2021.08
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
Classes | Functions
iAOIFReader.cpp File Reference
#include "iAOIFReader.h"
#include "iAConnector.h"
#include "iALog.h"
#include "iAItkVersion.h"
#include "iAFileUtils.h"
#include <itkImage.h>
#include <itkImageFileReader.h>
#include <itkImageIOFactory.h>
#include <vtkImageData.h>
#include <QString>
#include <string>
#include <vector>
#include <unistd.h>
#include <dirent.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <iostream>

Classes

class  iAOIFReaderHelper
 Helper class for reading .oif files. Adapted from FluoRenderer code. More...
 

Functions

void FIND_FILES (std::wstring m_path_name, std::wstring search_ext, std::vector< std::wstring > &m_batch_list, int &m_cur_batch, std::wstring regex=L"")
 
template<typename T >
iAOIFReaderHelper::TiffImgPtr read_image_template (QString const &f, T)
 
void readOIF (QString const &filename, iAConnector *con, int channel, std::vector< vtkSmartPointer< vtkImageData > > *volumes)
 Reads an .oif file. More...
 
std::wstring s2ws (const std::string &utf8)
 
std::string ws2s (const std::wstring &utf16)
 
double WSTOD (std::wstring s)
 
int WSTOI (std::wstring s)
 

Function Documentation

◆ FIND_FILES()

void FIND_FILES ( std::wstring  m_path_name,
std::wstring  search_ext,
std::vector< std::wstring > &  m_batch_list,
int &  m_cur_batch,
std::wstring  regex = L"" 
)
inline

◆ read_image_template()

template<typename T >
iAOIFReaderHelper::TiffImgPtr read_image_template ( QString const &  f,
 
)

◆ readOIF()

void readOIF ( QString const &  filename,
iAConnector con,
int  channel,
std::vector< vtkSmartPointer< vtkImageData > > *  volumes 
)

Reads an .oif file.

◆ s2ws()

std::wstring s2ws ( const std::string &  utf8)
inline

◆ ws2s()

std::string ws2s ( const std::wstring &  utf16)
inline

◆ WSTOD()

double WSTOD ( std::wstring  s)
inline

◆ WSTOI()

int WSTOI ( std::wstring  s)
inline