FileRenderOutput Class Reference
Records point samples from a renderer and naively reconstructs the underlying image by storing samples into the bin/pixel which they fall into, overwriting previous samples, and not using any reconstruction filter. Writes results out to the given file in a custom format upon completion of rendering. More...
#include <FileRenderOutput.h>

Public Member Functions | |
Constructors | |
| FileRenderOutput (Image *output, const std::string &fileName) | |
| virtual | ~FileRenderOutput () |
Initialization | |
| virtual void | finalize () |
| Performs any post-processing on output after all samples have been collected (called after rendering is complete). | |
Accessors / Mutators | |
| const std::string & | getFileName () const |
| void | setFileName (const std::string &fileName) |
Protected Member Functions | |
| virtual void | _addSample (const PointSample &sample) |
Protected Attributes | |
| std::string | m_fileName |
Detailed Description
Records point samples from a renderer and naively reconstructs the underlying image by storing samples into the bin/pixel which they fall into, overwriting previous samples, and not using any reconstruction filter. Writes results out to the given file in a custom format upon completion of rendering.
- Date:
- Fall 2008
Definition at line 20 of file FileRenderOutput.h.
Constructor & Destructor Documentation
| FileRenderOutput::FileRenderOutput | ( | Image * | output, | |
| const std::string & | fileName | |||
| ) | [inline] |
Definition at line 26 of file FileRenderOutput.h.
| virtual FileRenderOutput::~FileRenderOutput | ( | ) | [inline, virtual] |
Definition at line 30 of file FileRenderOutput.h.
Member Function Documentation
| void FileRenderOutput::finalize | ( | ) | [virtual] |
Performs any post-processing on output after all samples have been collected (called after rendering is complete).
- Note:
- Default implementation is blank
Reimplemented from RenderOutput.
Definition at line 34 of file FileRenderOutput.cpp.
| const std::string& FileRenderOutput::getFileName | ( | ) | const [inline] |
Definition at line 45 of file FileRenderOutput.h.
| void FileRenderOutput::setFileName | ( | const std::string & | fileName | ) | [inline] |
Definition at line 49 of file FileRenderOutput.h.
| void FileRenderOutput::_addSample | ( | const PointSample & | sample | ) | [protected, virtual] |
- Note:
- default implementation does nothing
Reimplemented from NaiveRenderOutput.
Definition at line 22 of file FileRenderOutput.cpp.
Member Data Documentation
std::string FileRenderOutput::m_fileName [protected] |
Definition at line 60 of file FileRenderOutput.h.
The documentation for this class was generated from the following files:
Generated on 28 Feb 2009 for Milton by
1.5.6