|
virtual float | getArea () const =0 |
|
virtual vec3 | getPower () const =0 |
|
vec3 | getIntensity () const |
|
void | setIntensity (const vec3 &intensity) |
|
virtual LightSourceType | getLightSourceType () const =0 |
|
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) |
|
virtual SpatialEntity * | clone () const =0 |
|
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 uvec3 | colorCode |
|
static const std::string | classIdentifier |
|
static const std::string | dataName |
|
◆ getAxis()
virtual const Axis * inviwo::LightSource::getAxis |
( |
size_t | index | ) |
const |
|
inlineoverridevirtual |
returns the axis information corresponding to index
- Returns
- nullptr if there is no axis for
index
Implements inviwo::SpatialEntity.
◆ getFieldOfView()
float inviwo::LightSource::getFieldOfView |
( |
| ) |
const |
Return field of view in radians.
- Returns
- Field of view in radians
◆ getIntensity()
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).
- Returns
- Flux density per solid angle, W*s*r^-1
◆ getPower()
virtual vec3 inviwo::LightSource::getPower |
( |
| ) |
const |
|
pure virtual |
◆ getSize()
const vec2 & inviwo::LightSource::getSize |
( |
| ) |
const |
Get width and height in world space.
◆ isEnabled()
bool inviwo::LightSource::isEnabled |
( |
| ) |
const |
◆ setEnabled()
void inviwo::LightSource::setEnabled |
( |
bool | enable | ) |
|
◆ setIntensity()
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).
- Parameters
-
◆ setSize()
void inviwo::LightSource::setSize |
( |
const vec2 & | newSize | ) |
|
Set width and height in texture space.
The documentation for this class was generated from the following file: