|
|
virtual float | getArea () const =0 |
| |
| virtual vec3 | getPower () const =0 |
| |
| const 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 Document | getInfo () const |
| |
|
| SpatialEntity (const SpatialEntity< N > &rhs) |
| |
|
| SpatialEntity (const Matrix< N+1, float > &modelMatrix) |
| |
|
| SpatialEntity (const Matrix< N+1, float > &modelMatrix, const Matrix< N+1, float > &worldMatrix) |
| |
|
SpatialEntity< N > & | operator= (const SpatialEntity< N > &that) |
| |
|
virtual SpatialEntity< N > * | clone () const=0 |
| |
|
Vector< N, float > | getOffset () const |
| |
|
void | setOffset (const Vector< N, float > &offset) |
| |
|
Matrix< N, float > | getBasis () const |
| |
|
void | setBasis (const Matrix< N, float > &basis) |
| |
|
Matrix< N+1, float > | getModelMatrix () const |
| |
|
void | setModelMatrix (const Matrix< N+1, float > &modelMatrix) |
| |
|
Matrix< N+1, float > | getWorldMatrix () const |
| |
|
void | setWorldMatrix (const Matrix< N+1, float > &worldMatrix) |
| |
|
virtual const SpatialCoordinateTransformer< N > & | getCoordinateTransformer () const |
| |
|
virtual const SpatialCameraCoordinateTransformer< N > & | getCoordinateTransformer (const CameraND< N > &camera) const |
| |
|
|
static const uvec3 | colorCode = uvec3(128, 64, 196) |
| |
|
static const std::string | classIdentifier = "org.inviwo.LightSource" |
| |
|
static const std::string | dataName = "LightSource" |
| |
◆ getFieldOfView()
| float inviwo::LightSource::getFieldOfView |
( |
| ) |
const |
Return field of view in radians.
- Returns
- Field of view in radians
◆ getIntensity()
| const inviwo::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 inviwo::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 files:
- baselightsource.h
- baselightsource.cpp