RenderOutput Class Reference
Records point samples from a renderer which may be used to construct an output image on a local or distributed machine. More...
#include <RenderOutput.h>

Public Member Functions | |
Constructors | |
| RenderOutput (const Viewport &d) | |
| RenderOutput () | |
| virtual | ~RenderOutput () |
Initialization | |
| virtual void | init () |
| Performs any initialization which may be necessary before adding samples with 'addSample'. | |
| virtual void | finalize () |
| Performs any post-processing on output after all samples have been collected (called after rendering is complete). | |
Main usage interface | |
| virtual void | addSample (const PointSample &sample) |
| Adds the given point sample, which is assumed to have been processed, to this output. | |
Accessors / Mutators | |
| const Viewport & | getViewport () const |
| void | setViewport (const Viewport &d) |
Protected Member Functions | |
| virtual void | _addSample (const PointSample &sample) |
Protected Attributes | |
| QMutex | m_mutex |
| Provides mutual exclusion to sample storage data structure(s). | |
| Viewport | m_viewport |
Detailed Description
Records point samples from a renderer which may be used to construct an output image on a local or distributed machine.
- Date:
- Fall 2008
Definition at line 21 of file RenderOutput.h.
Constructor & Destructor Documentation
| RenderOutput::RenderOutput | ( | const Viewport & | d | ) | [inline] |
Definition at line 27 of file RenderOutput.h.
| RenderOutput::RenderOutput | ( | ) | [inline] |
Definition at line 31 of file RenderOutput.h.
| virtual RenderOutput::~RenderOutput | ( | ) | [inline, virtual] |
Definition at line 35 of file RenderOutput.h.
Member Function Documentation
| void RenderOutput::init | ( | ) | [virtual] |
Performs any initialization which may be necessary before adding samples with 'addSample'.
- Note:
- Default implementation initializes the viewport with the properties this RenderOutput has been assigned
Reimplemented in ReconstructionRenderOutput.
Definition at line 18 of file RenderOutput.cpp.
| void RenderOutput::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 in FileRenderOutput.
Definition at line 25 of file RenderOutput.cpp.
| void RenderOutput::addSample | ( | const PointSample & | sample | ) | [virtual] |
Adds the given point sample, which is assumed to have been processed, to this output.
Reimplemented in ReconstructionRenderOutput.
Definition at line 28 of file RenderOutput.cpp.
| const Viewport& RenderOutput::getViewport | ( | ) | const [inline] |
Definition at line 81 of file RenderOutput.h.
| void RenderOutput::setViewport | ( | const Viewport & | d | ) | [inline] |
Definition at line 85 of file RenderOutput.h.
| void RenderOutput::_addSample | ( | const PointSample & | sample | ) | [protected, virtual] |
- Note:
- default implementation does nothing
Reimplemented in ImageCanvas, FileRenderOutput, and NaiveRenderOutput.
Definition at line 34 of file RenderOutput.cpp.
Member Data Documentation
QMutex RenderOutput::m_mutex [protected] |
Provides mutual exclusion to sample storage data structure(s).
Definition at line 101 of file RenderOutput.h.
Viewport RenderOutput::m_viewport [protected] |
Definition at line 103 of file RenderOutput.h.
The documentation for this class was generated from the following files:
Generated on 28 Feb 2009 for Milton by
1.5.6