|
| LM_COMPONENT_IMPL_DEF ("stub") |
|
virtual int | Width () const |
|
virtual int | Height () const |
|
virtual bool | Save (const std::string &path) const |
|
virtual bool | RescaleAndSave (const std::string &path, const Math::Float &weight) const |
|
virtual void | RecordContribution (const Math::Vec2 &rasterPos, const Math::Vec3 &contrb) |
|
virtual void | AccumulateContribution (const Math::Vec2 &rasterPos, const Math::Vec3 &contrb) |
|
virtual void | AccumulateContribution (const Film &film) |
|
virtual void | Rescale (const Math::Float &weight) |
|
virtual bool | Load (const ConfigNode &node, const Assets &assets) |
|
virtual Film * | Clone () const |
|
virtual void | Clear () |
|
| LM_ASSET_INTERFACE_DEF ("film","films") |
|
| LM_ASSET_NO_DEPENDENCIES () |
|
LM_PUBLIC_API std::string | ID () const |
|
LM_HIDDEN_API void | SetID (const std::string &id) |
|
virtual std::string | ComponentInterfaceTypeName () const =0 |
|
virtual std::string | ComponentImplTypeName () const =0 |
|
void * | operator new (std::size_t size) throw (std::bad_alloc) |
|
void | operator delete (void *p) |
|
virtual void StubFilm::AccumulateContribution |
( |
const Math::Vec2 & |
rasterPos, |
|
|
const Math::Vec3 & |
contrb |
|
) |
| |
|
inlinevirtual |
Accumulate the contribution to the raster position. This function accumulates #contrb to the position specified by #rasterPos.
- Parameters
-
rasterPos | Raster position. |
contrb | Contribution. |
Implements Film.
virtual void StubFilm::AccumulateContribution |
( |
const Film & |
film | ) |
|
|
inlinevirtual |
Accumulate the contribution to the entire film. This function accumulates the contribution of the other film. The other film must be same size and type.
- Parameters
-
Implements Film.
virtual Film* StubFilm::Clone |
( |
| ) |
const |
|
inlinevirtual |
Clone the film.
- Returns
- Duplicated film.
Implements Film.
virtual int StubFilm::Height |
( |
| ) |
const |
|
inlinevirtual |
Get the height of the film.
- Returns
- Height of the film.
Implements Film.
Load an asset. Configure and initialize the asset by the XML elements given by #node. Some assets have references to the other assets, so #assets is also required. Dependent asset must be loaded beforehand.
- Parameters
-
node | XML node for the configuration. |
assets | Asset manager. |
true | Succeeded to load. |
false | Failed to load. |
Implements Asset.
virtual void StubFilm::RecordContribution |
( |
const Math::Vec2 & |
rasterPos, |
|
|
const Math::Vec3 & |
contrb |
|
) |
| |
|
inlinevirtual |
Record the contribution to the raster position. This function records #contrb to the position specified by #rasterPos.
- Parameters
-
rasterPos | Raster position. |
contrb | Contribution. |
Implements Film.
virtual void StubFilm::Rescale |
( |
const Math::Float & |
weight | ) |
|
|
inlinevirtual |
Rescale the pixel values by constant weight.
- Parameters
-
Implements Film.
virtual int StubFilm::Width |
( |
| ) |
const |
|
inlinevirtual |
Get the width of the film.
- Returns
- Width of the film.
Implements Film.
The documentation for this class was generated from the following file:
- /home/travis/build/hi2p-perim/lightmetrica/include/lightmetrica.test/stub.film.h