3D engine

3D scene and volume rendering. More...

Classes

class  Scene

Functions

template<typename T>
Scene marchingCubes (Array< T > &im, float isovalue, Color c=white, float op=1, int subdivisions=20)
 
  • Returns a surface rendering of the 3D image.

void display3D_thread (Scene *ps, int mode_static, int mode_dyn)
template<class T>
void render3D (Array< T > &t, bool is_color=false)
 Creates a simple 3D rendering of a 3D array.
template<class T>
void displayImage3D (Array< T > &im, float ratioz=0.25, int di=10)
 Display an image as a 3D profile into an iteractive display.

Detailed Description

3D scene and volume rendering.


Function Documentation

void display3D_thread ( Scene ps,
int  mode_static,
int  mode_dyn 
)

3

template<class T>
void displayImage3D ( Array< T > &  im,
float  ratioz = 0.25,
int  di = 10 
) [inline]

Display an image as a 3D profile into an iteractive display.

3

Hit the space bar to change the rendering mode.

template<typename T>
Scene marchingCubes ( Array< T > &  im,
float  isovalue,
Color  c = white,
float  op = 1,
int  subdivisions = 20 
) [inline]

  • Returns a surface rendering of the 3D image.

3

template<class T>
void render3D ( Array< T > &  t,
bool  is_color = false 
) [inline]

Creates a simple 3D rendering of a 3D array.

3


Generated on Fri Oct 24 18:41:59 2008 for IDIL by  doxygen 1.5.5