#include <environment.h>

Public Types | |
| typedef light_t * | light_factory_t (paraMap_t &, renderEnvironment_t &) |
| typedef material_t * | material_factory_t (paraMap_t &, std::list< paraMap_t > &, renderEnvironment_t &) |
| typedef texture_t * | texture_factory_t (paraMap_t &, renderEnvironment_t &) |
| typedef object3d_t * | object_factory_t (paraMap_t &, renderEnvironment_t &) |
| typedef camera_t * | camera_factory_t (paraMap_t &, renderEnvironment_t &) |
| typedef background_t * | background_factory_t (paraMap_t &, renderEnvironment_t &) |
| typedef integrator_t * | integrator_factory_t (paraMap_t &, renderEnvironment_t &) |
| typedef shaderNode_t * | shader_factory_t (const paraMap_t &, renderEnvironment_t &) |
| typedef volumeHandler_t * | volume_factory_t (const paraMap_t &, renderEnvironment_t &) |
| typedef VolumeRegion * | volumeregion_factory_t (paraMap_t &, renderEnvironment_t &) |
Public Member Functions | |
| void | loadPlugins (const std::string &path) |
| bool | getPluginPath (std::string &path) |
| virtual material_t * | getMaterial (const std::string &name) const |
| virtual texture_t * | getTexture (const std::string &name) const |
| virtual shaderNode_t * | getShaderNode (const std::string &name) const |
| camera_t * | getCamera (const std::string &name) const |
| shader_factory_t * | getShaderNodeFactory (const std::string &name) const |
| background_t * | getBackground (const std::string &name) const |
| integrator_t * | getIntegrator (const std::string &name) const |
| scene_t * | getScene () |
| light_t * | createLight (const std::string &name, paraMap_t ¶ms) |
| texture_t * | createTexture (const std::string &name, paraMap_t ¶ms) |
| material_t * | createMaterial (const std::string &name, paraMap_t ¶ms, std::list< paraMap_t > &eparams) |
| object3d_t * | createObject (const std::string &name, paraMap_t ¶ms) |
| camera_t * | createCamera (const std::string &name, paraMap_t ¶ms) |
| background_t * | createBackground (const std::string &name, paraMap_t ¶ms) |
| integrator_t * | createIntegrator (const std::string &name, paraMap_t ¶ms) |
| shaderNode_t * | createShaderNode (const std::string &name, paraMap_t ¶ms) |
| volumeHandler_t * | createVolumeH (const std::string &name, const paraMap_t ¶ms) |
| VolumeRegion * | createVolumeRegion (const std::string &name, paraMap_t ¶ms) |
| imageFilm_t * | createImageFilm (const paraMap_t ¶ms, colorOutput_t &output) |
| void | setScene (scene_t *scene) |
| bool | setupScene (scene_t &scene, const paraMap_t ¶ms, colorOutput_t &output, progressBar_t *pb=0) |
| void | clearAll () |
| virtual void | registerFactory (const std::string &name, light_factory_t *f) |
| virtual void | registerFactory (const std::string &name, material_factory_t *f) |
| virtual void | registerFactory (const std::string &name, texture_factory_t *f) |
| virtual void | registerFactory (const std::string &name, object_factory_t *f) |
| virtual void | registerFactory (const std::string &name, camera_factory_t *f) |
| virtual void | registerFactory (const std::string &name, background_factory_t *f) |
| virtual void | registerFactory (const std::string &name, integrator_factory_t *f) |
| virtual void | registerFactory (const std::string &name, shader_factory_t *f) |
| virtual void | registerFactory (const std::string &name, volume_factory_t *f) |
| virtual void | registerFactory (const std::string &name, volumeregion_factory_t *f) |
| void | addToParamsString (const char *params) |
| const char * | getParamsString () |
| void | clearParamsString () |
| void | setDrawParams (bool b) |
| bool | getDrawParams () |
| renderEnvironment_t () | |
| virtual | ~renderEnvironment_t () |
Public Attributes | |
| int | Debug |
Protected Attributes | |
| std::list< sharedlibrary_t > | pluginHandlers |
| std::map< std::string, light_factory_t * > | light_factory |
| std::map< std::string, material_factory_t * > | material_factory |
| std::map< std::string, texture_factory_t * > | texture_factory |
| std::map< std::string, object_factory_t * > | object_factory |
| std::map< std::string, camera_factory_t * > | camera_factory |
| std::map< std::string, background_factory_t * > | background_factory |
| std::map< std::string, integrator_factory_t * > | integrator_factory |
| std::map< std::string, shader_factory_t * > | shader_factory |
| std::map< std::string, volume_factory_t * > | volume_factory |
| std::map< std::string, volumeregion_factory_t * > | volumeregion_factory |
| std::map< std::string, light_t * > | light_table |
| std::map< std::string, material_t * > | material_table |
| std::map< std::string, texture_t * > | texture_table |
| std::map< std::string, object3d_t * > | object_table |
| std::map< std::string, camera_t * > | camera_table |
| std::map< std::string, background_t * > | background_table |
| std::map< std::string, integrator_t * > | integrator_table |
| std::map< std::string, shaderNode_t * > | shader_table |
| std::map< std::string, volumeHandler_t * > | volume_table |
| std::map< std::string, VolumeRegion * > | volumeregion_table |
| bool | drawParamsString |
| std::string | paramsString |
| scene_t * | curren_scene |
Definition at line 32 of file environment.h.
Definition at line 43 of file environment.h.
Definition at line 42 of file environment.h.
Definition at line 44 of file environment.h.
| typedef light_t* renderEnvironment_t::light_factory_t(paraMap_t &, renderEnvironment_t &) |
Definition at line 38 of file environment.h.
| typedef material_t* renderEnvironment_t::material_factory_t(paraMap_t &, std::list< paraMap_t > &, renderEnvironment_t &) |
Definition at line 39 of file environment.h.
Definition at line 41 of file environment.h.
| typedef shaderNode_t* renderEnvironment_t::shader_factory_t(const paraMap_t &, renderEnvironment_t &) |
Definition at line 45 of file environment.h.
Definition at line 40 of file environment.h.
| typedef volumeHandler_t* renderEnvironment_t::volume_factory_t(const paraMap_t &, renderEnvironment_t &) |
Definition at line 46 of file environment.h.
| typedef VolumeRegion* renderEnvironment_t::volumeregion_factory_t(paraMap_t &, renderEnvironment_t &) |
Definition at line 47 of file environment.h.
| renderEnvironment_t::renderEnvironment_t | ( | ) |
Definition at line 65 of file environment.cc.
| renderEnvironment_t::~renderEnvironment_t | ( | ) | [virtual] |
Definition at line 88 of file environment.cc.
| void renderEnvironment_t::addToParamsString | ( | const char * | params | ) |
Definition at line 696 of file environment.cc.
| void renderEnvironment_t::clearAll | ( | ) |
Definition at line 102 of file environment.cc.
| void renderEnvironment_t::clearParamsString | ( | ) |
Definition at line 706 of file environment.cc.
| background_t * renderEnvironment_t::createBackground | ( | const std::string & | name, | |
| paraMap_t & | params | |||
| ) |
Definition at line 346 of file environment.cc.
Definition at line 404 of file environment.cc.
| imageFilm_t * renderEnvironment_t::createImageFilm | ( | const paraMap_t & | params, | |
| colorOutput_t & | output | |||
| ) |
Definition at line 462 of file environment.cc.
| integrator_t * renderEnvironment_t::createIntegrator | ( | const std::string & | name, | |
| paraMap_t & | params | |||
| ) |
Definition at line 433 of file environment.cc.
Definition at line 229 of file environment.cc.
| material_t * renderEnvironment_t::createMaterial | ( | const std::string & | name, | |
| paraMap_t & | params, | |||
| std::list< paraMap_t > & | eparams | |||
| ) |
Definition at line 316 of file environment.cc.
| object3d_t * renderEnvironment_t::createObject | ( | const std::string & | name, | |
| paraMap_t & | params | |||
| ) |
Definition at line 375 of file environment.cc.
| shaderNode_t * renderEnvironment_t::createShaderNode | ( | const std::string & | name, | |
| paraMap_t & | params | |||
| ) |
Definition at line 287 of file environment.cc.
Definition at line 258 of file environment.cc.
| volumeHandler_t * renderEnvironment_t::createVolumeH | ( | const std::string & | name, | |
| const paraMap_t & | params | |||
| ) |
Definition at line 505 of file environment.cc.
| VolumeRegion * renderEnvironment_t::createVolumeRegion | ( | const std::string & | name, | |
| paraMap_t & | params | |||
| ) |
Definition at line 534 of file environment.cc.
| background_t * renderEnvironment_t::getBackground | ( | const std::string & | name | ) | const |
Definition at line 208 of file environment.cc.
| camera_t * renderEnvironment_t::getCamera | ( | const std::string & | name | ) | const |
Definition at line 201 of file environment.cc.
| bool renderEnvironment_t::getDrawParams | ( | ) |
Definition at line 715 of file environment.cc.
| integrator_t * renderEnvironment_t::getIntegrator | ( | const std::string & | name | ) | const |
Definition at line 215 of file environment.cc.
| material_t * renderEnvironment_t::getMaterial | ( | const std::string & | name | ) | const [virtual] |
Definition at line 187 of file environment.cc.
| const char * renderEnvironment_t::getParamsString | ( | ) |
Definition at line 701 of file environment.cc.
| bool renderEnvironment_t::getPluginPath | ( | std::string & | path | ) |
Definition at line 143 of file environment.cc.
| scene_t* renderEnvironment_t::getScene | ( | ) | [inline] |
Definition at line 66 of file environment.h.
| shaderNode_t * renderEnvironment_t::getShaderNode | ( | const std::string & | name | ) | const [virtual] |
Definition at line 222 of file environment.cc.
| renderEnvironment_t::shader_factory_t * renderEnvironment_t::getShaderNodeFactory | ( | const std::string & | name | ) | const |
Definition at line 687 of file environment.cc.
| texture_t * renderEnvironment_t::getTexture | ( | const std::string & | name | ) | const [virtual] |
Definition at line 194 of file environment.cc.
| void renderEnvironment_t::loadPlugins | ( | const std::string & | path | ) |
Definition at line 125 of file environment.cc.
| void renderEnvironment_t::registerFactory | ( | const std::string & | name, | |
| volumeregion_factory_t * | f | |||
| ) | [virtual] |
Definition at line 681 of file environment.cc.
| void renderEnvironment_t::registerFactory | ( | const std::string & | name, | |
| volume_factory_t * | f | |||
| ) | [virtual] |
Definition at line 675 of file environment.cc.
| void renderEnvironment_t::registerFactory | ( | const std::string & | name, | |
| shader_factory_t * | f | |||
| ) | [virtual] |
Definition at line 639 of file environment.cc.
| void renderEnvironment_t::registerFactory | ( | const std::string & | name, | |
| integrator_factory_t * | f | |||
| ) | [virtual] |
Definition at line 669 of file environment.cc.
| void renderEnvironment_t::registerFactory | ( | const std::string & | name, | |
| background_factory_t * | f | |||
| ) | [virtual] |
Definition at line 663 of file environment.cc.
| void renderEnvironment_t::registerFactory | ( | const std::string & | name, | |
| camera_factory_t * | f | |||
| ) | [virtual] |
Definition at line 651 of file environment.cc.
| void renderEnvironment_t::registerFactory | ( | const std::string & | name, | |
| object_factory_t * | f | |||
| ) | [virtual] |
Definition at line 645 of file environment.cc.
| void renderEnvironment_t::registerFactory | ( | const std::string & | name, | |
| texture_factory_t * | f | |||
| ) | [virtual] |
Definition at line 633 of file environment.cc.
| void renderEnvironment_t::registerFactory | ( | const std::string & | name, | |
| material_factory_t * | f | |||
| ) | [virtual] |
Definition at line 627 of file environment.cc.
| void renderEnvironment_t::registerFactory | ( | const std::string & | name, | |
| light_factory_t * | f | |||
| ) | [virtual] |
Definition at line 621 of file environment.cc.
| void renderEnvironment_t::setDrawParams | ( | bool | b | ) |
Definition at line 711 of file environment.cc.
| void renderEnvironment_t::setScene | ( | scene_t * | scene | ) | [inline] |
Definition at line 79 of file environment.h.
| bool renderEnvironment_t::setupScene | ( | scene_t & | scene, | |
| const paraMap_t & | params, | |||
| colorOutput_t & | output, | |||
| progressBar_t * | pb = 0 | |||
| ) |
setup the scene for rendering (set camera, background, integrator, create image film, set antialiasing etc.) attention: since this function creates an image film and asigns it to the scene, you need to delete it before deleting the scene!
Definition at line 568 of file environment.cc.
std::map<std::string,background_factory_t *> renderEnvironment_t::background_factory [protected] |
Definition at line 113 of file environment.h.
std::map<std::string,background_t *> renderEnvironment_t::background_table [protected] |
Definition at line 125 of file environment.h.
std::map<std::string,camera_factory_t *> renderEnvironment_t::camera_factory [protected] |
Definition at line 111 of file environment.h.
std::map<std::string,camera_t *> renderEnvironment_t::camera_table [protected] |
Definition at line 123 of file environment.h.
scene_t* renderEnvironment_t::curren_scene [protected] |
Definition at line 132 of file environment.h.
Definition at line 100 of file environment.h.
bool renderEnvironment_t::drawParamsString [protected] |
Definition at line 130 of file environment.h.
std::map<std::string,integrator_factory_t *> renderEnvironment_t::integrator_factory [protected] |
Definition at line 114 of file environment.h.
std::map<std::string,integrator_t *> renderEnvironment_t::integrator_table [protected] |
Definition at line 126 of file environment.h.
std::map<std::string,light_factory_t *> renderEnvironment_t::light_factory [protected] |
Definition at line 107 of file environment.h.
std::map<std::string,light_t *> renderEnvironment_t::light_table [protected] |
Definition at line 119 of file environment.h.
std::map<std::string,material_factory_t *> renderEnvironment_t::material_factory [protected] |
Definition at line 108 of file environment.h.
std::map<std::string,material_t *> renderEnvironment_t::material_table [protected] |
Definition at line 120 of file environment.h.
std::map<std::string,object_factory_t *> renderEnvironment_t::object_factory [protected] |
Definition at line 110 of file environment.h.
std::map<std::string,object3d_t *> renderEnvironment_t::object_table [protected] |
Definition at line 122 of file environment.h.
std::string renderEnvironment_t::paramsString [protected] |
Definition at line 131 of file environment.h.
std::list< sharedlibrary_t > renderEnvironment_t::pluginHandlers [protected] |
Definition at line 106 of file environment.h.
std::map<std::string,shader_factory_t *> renderEnvironment_t::shader_factory [protected] |
Definition at line 115 of file environment.h.
std::map<std::string,shaderNode_t *> renderEnvironment_t::shader_table [protected] |
Definition at line 127 of file environment.h.
std::map<std::string,texture_factory_t *> renderEnvironment_t::texture_factory [protected] |
Definition at line 109 of file environment.h.
std::map<std::string,texture_t *> renderEnvironment_t::texture_table [protected] |
Definition at line 121 of file environment.h.
std::map<std::string,volume_factory_t *> renderEnvironment_t::volume_factory [protected] |
Definition at line 116 of file environment.h.
std::map<std::string,volumeHandler_t *> renderEnvironment_t::volume_table [protected] |
Definition at line 128 of file environment.h.
std::map<std::string,volumeregion_factory_t *> renderEnvironment_t::volumeregion_factory [protected] |
Definition at line 117 of file environment.h.
std::map<std::string,VolumeRegion *> renderEnvironment_t::volumeregion_table [protected] |
Definition at line 129 of file environment.h.
1.6.1