53 void setViewPort(
const utils::Range32f &xrange,
54 const utils::Range32f &yrange,
55 const utils::Range32f &zrange);
57 const utils::Range32f *getViewPort()
const;
60 const Scene &getScene()
const;
65 const Camera &getCamera()
const;
66 void setCamera(
const Camera &cam);
68 void add(
SceneObject *obj,
bool passOwnerShip=
true);
71 void color(
int r,
int g,
int b,
int a);
73 void fill(
int r,
int g,
int b,
int a);
75 void smoothfill(
bool on);
76 void pointsize(
float size);
77 void linewidth(
float width);
82 Handle scatter(
const std::vector<Vec> &points);
84 Handle scatter(
const std::vector<Vec> &points,
85 const std::vector<GeomColor> &colors,
86 const utils::Range32f &colorRange=utils::Range32f(0,255));
90 Handle surf(
const std::vector<Vec> &points,
int nx,
int ny);
93 const utils::Range32f &rx=utils::Range32f(0,0),
94 const utils::Range32f &ry=utils::Range32f(0,0),
95 int nx=100,
int ny=100,
Handle reuseObj=0);
The General Function Template.
Definition: Function.h:284
undocument this line if you encounter any issues!
Definition: Any.h:37
#define ICLGeom_API
Definition: CompatMacros.h:179
ICLQt_API void text(ImgQ &image, int x, int y, const string &text)
renders a text into an image (only available with Qt-Support)
Camera class.
Definition: Camera.h:132
ICLQt_API void linestrip(ImgQ &image, const std::vector< utils::Point > &pts, bool closeLoop=true)
draws a strip of connected lines
ICLQt_API ImgQ label(const ImgQ &image, const string &text)
labels an image in the upper left corner (only available with Qt-Support)
ICLQt_API void fill(float r, float g=-1, float b=-1, float alpha=255)
sets the current fill color to given r,g,b,alpha value
Scene Implementation that is used to handle a list of objects and cameras.
Definition: Scene.h:138
ICLQt_API void color(float r, float g=-1, float b=-1, float alpha=255)
sets the current color to given r,g,b,alpha value
The SceneObject class defines visible objects in scenes or scene graph nodes.
Definition: SceneObject.h:140