open_iA  2019.12
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
Classes | Macros | Functions
iADreamCasterCommon.h File Reference
#include "iAmat4.h"
#include <vector>
#include <QtMath>
Include dependency graph for iADreamCasterCommon.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  iAaabb
 Structure representing axis aligned bounding box. More...
 
struct  iAct_state
 
struct  iADreamCasterSettings
 main application settings stored in registry More...
 
struct  iAModelData
 
struct  iAparameters_t
 Structure representing combination of parameters in single placement. More...
 
class  iAplane
 Class representing plane in 3d space, containing all parameters needed for plane description. More...
 
struct  iArotation_t
 Structure representing rotations of rendering about x, y, z axes in radians. More...
 
struct  iAtriangle
 Class representing triangle in 3d space, containing all parameters needed for triangle description. More...
 
class  iAVertex
 
struct  iAwald_tri
 

Macros

#define max_macro(a, b)   (((a) > (b)) ? (a) : (b))
 
#define min_macro(a, b)   (((a) < (b)) ? (a) : (b))
 

Functions

float distLineToLine (iAVec3f &o1, iAVec3f &d1, iAVec3f &o2, iAVec3f &d2)
 
float distPointToLine (iAVec3f &o, iAVec3f &dir, iAVec3f &pt)
 
int ParseConfigFile (iADreamCasterSettings *settings)
 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=0, float *translate3f_out=0)
 
void Time2Char (int ftime, char *t)
 

Macro Definition Documentation

◆ max_macro

#define max_macro (   a,
 
)    (((a) > (b)) ? (a) : (b))

◆ min_macro

#define min_macro (   a,
 
)    (((a) < (b)) ? (a) : (b))

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 = 0,
float *  translate3f_out = 0 
)

◆ Time2Char()

void Time2Char ( int  ftime,
char *  t 
)
inline