open_iA  2020.01
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
Typedefs | Functions | Variables
iAAmiraMeshIO.cpp File Reference
#include "iAAmiraMeshIO.h"
#include <iAConsole.h>
#include <io/iAFileUtils.h>
#include <vtkImageData.h>
#include <QFile>
#include <QString>
#include <QStringList>
#include <QTextStream>
#include <cstdio>
#include <cstring>
#include <cassert>
#include <stdexcept>
Include dependency graph for iAAmiraMeshIO.cpp:

Typedefs

typedef unsigned char LabelType
 
typedef char RawDataType
 

Functions

int decodeRLE (RawDataType *in, size_t inLength, RawDataType *out, size_t maxOutLength)
 
const char * FindAndJump (const char *buffer, const char *SearchString)
 Find a string in the given buffer and return a pointer to the contents directly behind the SearchString. More...
 

Variables

const int VTKLabelType = VTK_UNSIGNED_CHAR
 

Typedef Documentation

◆ LabelType

typedef unsigned char LabelType

◆ RawDataType

typedef char RawDataType

Function Documentation

◆ decodeRLE()

int decodeRLE ( RawDataType in,
size_t  inLength,
RawDataType out,
size_t  maxOutLength 
)

◆ FindAndJump()

const char* FindAndJump ( const char *  buffer,
const char *  SearchString 
)

Find a string in the given buffer and return a pointer to the contents directly behind the SearchString.

If not found, return the buffer. A subsequent sscanf() will fail then, but at least we return a decent pointer.

Variable Documentation

◆ VTKLabelType

const int VTKLabelType = VTK_UNSIGNED_CHAR