![]() |
Inviwo 0.9.12-pre
Inviwo documentation
|
Public Member Functions | |
| virtual float | getArea () const =0 |
| virtual const Axis * | getAxis (size_t) const override |
| float | getFieldOfView () const |
| virtual Document | getInfo () const |
| vec3 | getIntensity () const |
| virtual LightSourceType | getLightSourceType () const =0 |
| virtual vec3 | getPower () const =0 |
| const vec2 & | getSize () const |
| bool | isEnabled () const |
| void | setEnabled (bool enable) |
| void | setFieldOfView (float FOVInRadians) |
| void | setIntensity (const vec3 &intensity) |
| void | setSize (const vec2 &newSize) |
| Public Member Functions inherited from inviwo::SpatialEntity | |
| virtual SpatialEntity * | clone () const =0 |
| glm::dmat3 | getBasis () const |
| virtual const SpatialCoordinateTransformer & | getCoordinateTransformer () const |
| virtual const SpatialCameraCoordinateTransformer & | getCoordinateTransformer (const Camera &camera) const |
| glm::dmat4 | getModelMatrix () const |
| glm::dvec3 | getOffset () const |
| glm::dmat4 | getWorldMatrix () const |
| SpatialEntity & | operator= (const SpatialEntity &that) |
| void | setBasis (const glm::dmat3 &basis) |
| void | setModelMatrix (const glm::dmat4 &modelMatrix) |
| void | setOffset (const glm::dvec3 &offset) |
| void | setWorldMatrix (const glm::dmat4 &worldMatrix) |
| SpatialEntity (const glm::dmat4 &modelMatrix) | |
| SpatialEntity (const glm::dmat4 &modelMatrix, const glm::dmat4 &worldMatrix) | |
| SpatialEntity (const SpatialEntity &rhs) | |
Protected Attributes | |
| bool | enabled_ |
| float | fieldOfView_ |
| vec3 | intensity_ |
| vec2 | size_ |
| Protected Attributes inherited from inviwo::SpatialEntity | |
| std::unique_ptr< SpatialCameraCoordinateTransformer > | cameraTransformer_ |
| glm::dmat4 | modelMatrix_ |
| std::unique_ptr< SpatialCoordinateTransformer > | transformer_ |
| glm::dmat4 | worldMatrix_ |
|
inlineoverridevirtual |
returns the axis information corresponding to index
index Implements inviwo::SpatialEntity.
| float inviwo::LightSource::getFieldOfView | ( | ) | const |
Return field of view in radians.
| vec3 inviwo::LightSource::getIntensity | ( | ) | const |
Get the intensity (color) from the light source given in watt per steradian (flux density per solid angle, W*s*r^-1).
|
pure virtual |
Get radiant flux (color) of light source.
Implemented in inviwo::DiffuseLight, inviwo::DirectionalLight, inviwo::PointLight, and inviwo::SpotLight.
| const vec2 & inviwo::LightSource::getSize | ( | ) | const |
Get width and height in world space.
| bool inviwo::LightSource::isEnabled | ( | ) | const |
Get is enabled.
| void inviwo::LightSource::setEnabled | ( | bool | enable | ) |
Set if enabled.
| void inviwo::LightSource::setIntensity | ( | const vec3 & | intensity | ) |
Set the intensity (color) from the light source given in watt per steradian (flux density per solid angle, W*s*r^-1).
| intensity |
| void inviwo::LightSource::setSize | ( | const vec2 & | newSize | ) |
Set width and height in texture space.