open_iA  2019.12
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
Functions
iADreamCasterCommon.cpp File Reference
#include "../include/iADreamCasterCommon.h"
#include <QSettings>
#include <cassert>
#include <cstdlib>
Include dependency graph for iADreamCasterCommon.cpp:

Functions

float distLineToLine (iAVec3f &o1, iAVec3f &d1, iAVec3f &o2, iAVec3f &d2)
 
float distPointToLine (iAVec3f &o, iAVec3f &dir, iAVec3f &pt)
 
int ParseConfigFile (iADreamCasterSettings *s)
 Parses config (from local config store). More...
 
iAVec3f projectPtOnLine (iAVec3f &o, iAVec3f &dir, iAVec3f &pt)
 
float Rand (float a_Range)
 
iAMat4 ScaleAndCentreBBox (iAaabb &box, float *scale_coef_out, float *translate3f_out)
 

Function Documentation

◆ distLineToLine()

float distLineToLine ( iAVec3f o1,
iAVec3f d1,
iAVec3f o2,
iAVec3f d2 
)

◆ distPointToLine()

float distPointToLine ( iAVec3f o,
iAVec3f dir,
iAVec3f pt 
)

◆ ParseConfigFile()

int ParseConfigFile ( iADreamCasterSettings settings)

Parses config (from local config store).

Initializes some variables.

Parameters
settingsstruct where the options will be stored

◆ projectPtOnLine()

iAVec3f projectPtOnLine ( iAVec3f o,
iAVec3f dir,
iAVec3f pt 
)

◆ Rand()

float Rand ( float  a_Range)
inline

◆ ScaleAndCentreBBox()

iAMat4 ScaleAndCentreBBox ( iAaabb box,
float *  scale_coef_out,
float *  translate3f_out 
)