|
| virtual DiffuseLight * | clone () const override |
| virtual float | getArea () const override |
| virtual vec3 | getPower () const override |
| LightSourceType | getLightSourceType () const override |
| const vec3 & | getNormal () const |
| void | setNormal (const vec3 &normal) |
| vec3 | getIntensity () const |
| void | setIntensity (const vec3 &intensity) |
| float | getFieldOfView () const |
|
void | setFieldOfView (float FOVInRadians) |
| const vec2 & | getSize () const |
| void | setSize (const vec2 &newSize) |
| bool | isEnabled () const |
| void | setEnabled (bool enable) |
| virtual const Axis * | getAxis (size_t) const override |
|
virtual Document | getInfo () const |
|
| SpatialEntity (const glm::mat4 &modelMatrix) |
|
| SpatialEntity (const glm::mat4 &modelMatrix, const glm::mat4 &worldMatrix) |
|
| SpatialEntity (const SpatialEntity &rhs) |
|
SpatialEntity & | operator= (const SpatialEntity &that) |
|
glm::vec3 | getOffset () const |
|
void | setOffset (const glm::vec3 &offset) |
|
glm::mat3 | getBasis () const |
|
void | setBasis (const glm::mat3 &basis) |
|
glm::mat4 | getModelMatrix () const |
|
void | setModelMatrix (const glm::mat4 &modelMatrix) |
|
glm::mat4 | getWorldMatrix () const |
|
void | setWorldMatrix (const glm::mat4 &worldMatrix) |
|
virtual const SpatialCoordinateTransformer & | getCoordinateTransformer () const |
|
virtual const SpatialCameraCoordinateTransformer & | getCoordinateTransformer (const Camera &camera) const |
|
|
static constexpr uvec3 | colorCode {128, 64, 196} |
|
static constexpr std::string_view | classIdentifier {"org.inviwo.LightSource"} |
|
static constexpr std::string_view | dataName {"LightSource"} |
◆ clone()
| virtual DiffuseLight * inviwo::DiffuseLight::clone |
( |
| ) |
const |
|
overridevirtual |
◆ getArea()
| virtual float inviwo::DiffuseLight::getArea |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getLightSourceType()
| LightSourceType inviwo::DiffuseLight::getLightSourceType |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getNormal()
| const vec3 & inviwo::DiffuseLight::getNormal |
( |
| ) |
const |
|
inline |
Get normal of area light.
- Returns
- Area light normal.
◆ getPower()
| virtual vec3 inviwo::DiffuseLight::getPower |
( |
| ) |
const |
|
overridevirtual |
Get radiant flux (color) of light source.
- See also
- setPower
- Returns
- Radiant flux in watt.
Implements inviwo::LightSource.
◆ setNormal()
| void inviwo::DiffuseLight::setNormal |
( |
const vec3 & | normal | ) |
|
|
inline |
Set normal of area light.
- Parameters
-
The documentation for this class was generated from the following file: