iContouringCubes.cpp File Reference
#include <igor/generation/iContouringCubes.h>
#include <igor/system/iTimer.h>
#include <iaux/math/iaMatrix2D.h>
#include <cstring>

Namespaces

namespace  igor
 resource parameters texture unit 3
 

Macros

#define HIGHER_NEIGHBOR_LOD_XPOSITIVE   0x20
 
#define HIGHER_NEIGHBOR_LOD_XNEGATIVE   0x10
 
#define HIGHER_NEIGHBOR_LOD_YPOSITIVE   0x08
 
#define HIGHER_NEIGHBOR_LOD_YNEGATIVE   0x04
 
#define HIGHER_NEIGHBOR_LOD_ZPOSITIVE   0x02
 
#define HIGHER_NEIGHBOR_LOD_ZNEGATIVE   0x01
 
#define FILL_LOD_GAPS
 
#define rescale(value)   ((value > 0 ? value - 1 : value) / 254.0)
 

Variables

iaVector3f igor::dirs []
 

Macro Definition Documentation

◆ FILL_LOD_GAPS

#define FILL_LOD_GAPS

◆ HIGHER_NEIGHBOR_LOD_XNEGATIVE

#define HIGHER_NEIGHBOR_LOD_XNEGATIVE   0x10

◆ HIGHER_NEIGHBOR_LOD_XPOSITIVE

#define HIGHER_NEIGHBOR_LOD_XPOSITIVE   0x20

◆ HIGHER_NEIGHBOR_LOD_YNEGATIVE

#define HIGHER_NEIGHBOR_LOD_YNEGATIVE   0x04

◆ HIGHER_NEIGHBOR_LOD_YPOSITIVE

#define HIGHER_NEIGHBOR_LOD_YPOSITIVE   0x08

◆ HIGHER_NEIGHBOR_LOD_ZNEGATIVE

#define HIGHER_NEIGHBOR_LOD_ZNEGATIVE   0x01

◆ HIGHER_NEIGHBOR_LOD_ZPOSITIVE

#define HIGHER_NEIGHBOR_LOD_ZPOSITIVE   0x02

◆ rescale

#define rescale (   value)    ((value > 0 ? value - 1 : value) / 254.0)

helper macro to map density values from 0&1-255 to length 0.0-1.0

0 -> density is zero therefore it is outside the object 1 -> is also integpreted als density zero (1-255 -> 0.0-1.0)