Information about the current scene. More...
Classes | |
struct | ImageParameters |
Information about image resolution. More... | |
struct | ViewParameters |
Information about the current view of the scene. More... | |
Public Member Functions | |
Scene (const Options *=0) | |
~Scene () | |
bool | load (const Options *) |
const string & | getTitle () const |
const string & | getViewFilename () const |
const string & | getMeshFilename () const |
const ImageParameters & | getImageParameters () const |
const ViewParameters & | getViewParameters () const |
const RGB & | getSky () const |
const RGB & | getGround () const |
float | getEpsilon () const |
uint | getThreshold () const |
Private Attributes | |
string | title |
string | vfname |
string | mfname |
ImageParameters | image |
ViewParameters | view |
RGB | sky |
RGB | ground |
float | epsilon |
uint | thold |
Information about the current scene.
ioCore::Scene::Scene | ( | const Options * | opt = 0 | ) |
References load().
float ioCore::Scene::getEpsilon | ( | ) | const [inline] |
References epsilon.
const RGB & ioCore::Scene::getGround | ( | ) | const [inline] |
References ground.
const Scene::ImageParameters & ioCore::Scene::getImageParameters | ( | ) | const [inline] |
References image.
const string & ioCore::Scene::getMeshFilename | ( | ) | const [inline] |
References mfname.
Referenced by rtVTK::MainWindow::slotLoadScene().
const RGB & ioCore::Scene::getSky | ( | ) | const [inline] |
References sky.
uint ioCore::Scene::getThreshold | ( | ) | const [inline] |
References thold.
const string & ioCore::Scene::getTitle | ( | ) | const [inline] |
References title.
Referenced by rtVTK::MainWindow::slotLoadScene().
const string & ioCore::Scene::getViewFilename | ( | ) | const [inline] |
References vfname.
const Scene::ViewParameters & ioCore::Scene::getViewParameters | ( | ) | const [inline] |
References view.
Referenced by rtVTK::MainWindow::slotLoadScene().
bool ioCore::Scene::load | ( | const Options * | opt | ) |
References ioCore::Scene::ViewParameters::dscale, epsilon, ioCore::Scene::ViewParameters::eye, ioCore::Scene::ViewParameters::flength, ioCore::Options::fname, ioCore::Scene::ViewParameters::fov, ioCore::Scene::ViewParameters::fstop, ioCore::Options::grnd, ground, image, Core::RGB< float >::Invalid, ioCore::Scene::ViewParameters::lookat, mfname, ioCore::Options::path, ioCore::Options::sky, sky, ioCore::Options::thold, thold, title, ioCore::Scene::ViewParameters::up, vfname, view, ioCore::Scene::ImageParameters::xRes, ioCore::Options::xres, ioCore::Scene::ImageParameters::xSpp, ioCore::Options::xspp, ioCore::Scene::ImageParameters::yRes, ioCore::Options::yres, ioCore::Scene::ImageParameters::ySpp, and ioCore::Options::yspp.
Referenced by Scene(), and rtVTK::MainWindow::slotLoadScene().
float ioCore::Scene::epsilon [private] |
Referenced by getEpsilon(), and load().
RGB ioCore::Scene::ground [private] |
Referenced by getGround(), and load().
ImageParameters ioCore::Scene::image [private] |
Referenced by getImageParameters(), and load().
string ioCore::Scene::mfname [private] |
Referenced by getMeshFilename(), and load().
RGB ioCore::Scene::sky [private] |
uint ioCore::Scene::thold [private] |
Referenced by getThreshold(), and load().
string ioCore::Scene::title [private] |
Referenced by getTitle(), and load().
string ioCore::Scene::vfname [private] |
Referenced by getViewFilename(), and load().
ViewParameters ioCore::Scene::view [private] |
Referenced by getViewParameters(), and load().