Scene Class Reference
[3D engine]

#include <IDIL_Image3D.h>

List of all members.

Public Member Functions

void addPoint (float x, float y, float z, Color c=white, float op=1)
 
  • Add a point to the Scene

void addLine (float x1, float y1, float z1, float x2, float y2, float z2, Color c=white, float op=1)
 
  • Add a line to the Scene

template<typename T>
void addPolyLine (Array< T > &x, Array< T > &y, Array< T > &z, Color c=white, float op=1, bool loop=false)
 
  • Add a polyline to the Scene

template<typename T>
void addScatter (Array< T > &x, Array< T > &y, Array< T > &z, Color c=white, float op=1)
 
  • Add a scatter of points to the Scene

void add3DSymbol (float x, float y, float z, float size=2, int type=0, Color c=white, float op=1)
 
  • Add a symbol to the Scene

template<typename T>
void addFacet (Array< T > &x, Array< T > &y, Array< T > &z, Color c=white, float op=1)
 
  • Add a polyline to the Scene

template<typename T>
void addSurface (Array< T > &x, Array< T > &y, Array< T > &z, Color c=white, float op=1)
 
  • Add a suface to the Scene

template<typename T, typename T2>
void addSurface (Array< T > &x, Array< T > &y, Array< T > &z, Array< T2 > im, float op=1)
 
  • Add a surface to the Scene (im = color image /!\)

template<typename T>
void addSurface (Array< T > &x, Array< T > &y, Array< T > &z, Array< Color > c, float op=1)
 
  • Add a surface to the Scene

template<typename T>
void addCylinder (Array< T > &p1, Array< T > &p2, Array< T > &u1, Array< T > &u2, Color c=white, float op=1, int subdivisions=20)
 
  • Add a cylinder to the Scene (needs more infos...)

template<typename T>
void addCylinder (Array< T > &p1, Array< T > &p2, float radius, Color c=white, float op=1, int subdivisions=20)
 
  • Add a cylinder to the Scene (needs more infos...)

template<typename T>
void add3DField (Array< T > &fld, float scale=1, int inc=1, Color c=white, float op=1)
 
  • Add a line to the Scene

template<typename T>
void add3DField (Array< T > &fld, Array< bool > &mask, float scale=1, int inc=1, Color c=white, float op=1)
 
  • Add a line to the Scene

void display (int mode_static=3, int mode_dyn=3)
 
  • 3D display of the Scene using the CImg renderer.

void print (int xsz, int ysz, Array< float > &viewpoint, int mode_static=3, string file="output.ps")
 
  • 3D display of the Scene using the CImg renderer.

Array< unsigned char > & draw (int xsz=640, int ysz=480, int mode_static=3)
 
  • Draw the Scene on a new picture, using the CImg renderer.

Array< unsigned char > & draw (int xsz, int ysz, Array< float > &viewpoint, int mode_static=3)
 
  • Draw the Scene on a new picture, using the CImg renderer.

void translate (float x, float y, float z)
 
  • Translates the scene

void center ()
 
  • Translates the scene

void rotate (float wx, float wy, float wz, float ang)
 
  • Rotates the scene

template<typename T>
void transform (Array< T > &M)
 
  • Rotates the scene


Detailed Description

3
The documentation for this class was generated from the following file:

Generated on Fri Oct 24 18:42:00 2008 for IDIL by  doxygen 1.5.5