![]() |
CamSim
0.0.0
A rasterization-based simulator for various types of cameras
|
Global scene data: materials | |
| QList< Material > | materials |
| Global list of materials used in the scene. More... | |
| int | addMaterial (const Material &material) |
| Convenience function to add a material. Returns its index. More... | |
Scene contents: light sources and objects | |
| QList< Light > | lights |
| Light sources. More... | |
| QList< Animation > | lightAnimations |
| Light source animations (list must have same size as lights list) More... | |
| QList< Object > | objects |
| Objects. More... | |
| QList< Animation > | objectAnimations |
| Object animations (list must have same size as objects list) More... | |
| void | addLight (const Light &light, const Animation &animation=Animation()) |
| Convenience function to add a light source and its animation. More... | |
| void | addObject (const Object &object, const Animation &animation=Animation()) |
| Convenience function to add an object and its animation. More... | |
| Scene () | |
| Constructor. More... | |
The Scene class.
Describes a scene to render (light sources and objects), suitable for OpenGL-based rendering
| CamSim::Scene::Scene | ( | ) |
Constructor.
|
inline |
Convenience function to add a light source and its animation.
|
inline |
Convenience function to add a material. Returns its index.
|
inline |
Convenience function to add an object and its animation.
| QList<Animation> CamSim::Scene::lightAnimations |
Light source animations (list must have same size as lights list)
| QList<Material> CamSim::Scene::materials |
Global list of materials used in the scene.
| QList<Animation> CamSim::Scene::objectAnimations |
Object animations (list must have same size as objects list)
| QList<Object> CamSim::Scene::objects |
Objects.
1.8.16