Teem 1.10.0
src/echo/privateEcho.h File Reference
This graph shows which files directly or indirectly include this file:

Defines

#define echoPos_nt   nrrdTypeDouble
#define echoPos_at   airTypeDouble
#define ell_4m_INV   ell_4m_inv_d
#define ell_4m_PRINT   ell_4m_print_d
#define ell_4m_DET   ell_4m_det_d
#define ell_3v_PERP   ell_3v_perp_d
#define ell_4m_POST_MUL   ell_4m_post_mul_d
#define ECHO_POS_MIN   (-DBL_MAX)
#define ECHO_POS_MAX   DBL_MAX
#define ECHO_POS_EPS   DBL_EPSILON
#define OBJECT(obj)   ((echoObject*)obj)
#define SPLIT(obj)   ((echoSplit*)obj)
#define LIST(obj)   ((echoList*)obj)
#define SPHERE(obj)   ((echoSphere*)obj)
#define CYLINDER(obj)   ((echoCylinder*)obj)
#define SUPERQUAD(obj)   ((echoSuperquad*)obj)
#define RECTANGLE(obj)   ((echoRectangle*)obj)
#define AABBOX(obj)   ((echoAABBox*)obj)
#define TRIMESH(obj)   ((echoTriMesh*)obj)
#define TRIANGLE(obj)   ((echoTriangle*)obj)
#define INSTANCE(obj)   ((echoInstance*)obj)
#define _ECHO_REFLECT(refl, norm, view, tmp)
#define ECHO_NEW(TYPE)   (echoObject##TYPE *)echoNew(echoObject##Type)
#define RAYINTX_ARGS(TYPE)
#define INTXCOLOR_ARGS

Typedefs

typedef int(* _echoRayIntx_t )(RAYINTX_ARGS(Object))
typedef void(* _echoRayIntxUV_t )(echoIntx *intx)
typedef void(* _echoIntxColor_t )(INTXCOLOR_ARGS)

Functions

void _echoSceneLightAdd (echoScene *scene, echoObject *obj)
void _echoSceneNrrdAdd (echoScene *scene, Nrrd *nrrd)
int _echoRayIntx_CubeSolid (echoPos_t *tminP, echoPos_t *tmaxP, echoPos_t xmin, echoPos_t xmax, echoPos_t ymin, echoPos_t ymax, echoPos_t zmin, echoPos_t zmax, echoRay *ray)
int _echoRayIntx_Superquad (RAYINTX_ARGS(Superquad))
char * _echoDot (int depth)

Variables

_echoRayIntx_t _echoRayIntx []
_echoRayIntxUV_t _echoRayIntxUV []
char _echoBuff []
_echoIntxColor_t _echoIntxColor []

Define Documentation

#define _ECHO_REFLECT (   refl,
  norm,
  view,
  tmp 
)
Value:
(tmp) = 2*ELL_3V_DOT((view), (norm)); \
  ELL_3V_SCALE_ADD2((refl), -1.0, (view), (tmp), (norm))
#define AABBOX (   obj)    ((echoAABBox*)obj)
#define CYLINDER (   obj)    ((echoCylinder*)obj)
#define ECHO_NEW (   TYPE)    (echoObject##TYPE *)echoNew(echoObject##Type)
#define ECHO_POS_EPS   DBL_EPSILON
#define ECHO_POS_MAX   DBL_MAX
#define ECHO_POS_MIN   (-DBL_MAX)
#define echoPos_at   airTypeDouble
#define echoPos_nt   nrrdTypeDouble
#define ell_3v_PERP   ell_3v_perp_d
#define ell_4m_DET   ell_4m_det_d
#define ell_4m_INV   ell_4m_inv_d
#define ell_4m_POST_MUL   ell_4m_post_mul_d
#define ell_4m_PRINT   ell_4m_print_d
#define INSTANCE (   obj)    ((echoInstance*)obj)
#define INTXCOLOR_ARGS
Value:
echoCol_t rgba[4], echoIntx *intx,  \
                       echoScene *scene, echoRTParm *parm, \
                       echoThreadState *tstate
#define LIST (   obj)    ((echoList*)obj)
#define OBJECT (   obj)    ((echoObject*)obj)
#define RAYINTX_ARGS (   TYPE)
Value:
echoIntx *intx, echoRay *ray, \
                           echo##TYPE *obj, echoRTParm *parm,  \
                           echoThreadState *tstate
#define RECTANGLE (   obj)    ((echoRectangle*)obj)
#define SPHERE (   obj)    ((echoSphere*)obj)
#define SPLIT (   obj)    ((echoSplit*)obj)
#define SUPERQUAD (   obj)    ((echoSuperquad*)obj)
#define TRIANGLE (   obj)    ((echoTriangle*)obj)
#define TRIMESH (   obj)    ((echoTriMesh*)obj)

Typedef Documentation

typedef void(* _echoIntxColor_t)(INTXCOLOR_ARGS)
typedef int(* _echoRayIntx_t)(RAYINTX_ARGS(Object))
typedef void(* _echoRayIntxUV_t)(echoIntx *intx)

Function Documentation

char* _echoDot ( int  depth)
int _echoRayIntx_CubeSolid ( echoPos_t tminP,
echoPos_t tmaxP,
echoPos_t  xmin,
echoPos_t  xmax,
echoPos_t  ymin,
echoPos_t  ymax,
echoPos_t  zmin,
echoPos_t  zmax,
echoRay ray 
)
int _echoRayIntx_Superquad ( RAYINTX_ARGS(Superquad)  )
void _echoSceneLightAdd ( echoScene scene,
echoObject obj 
)
void _echoSceneNrrdAdd ( echoScene scene,
Nrrd nrrd 
)

Variable Documentation

char _echoBuff[]