Inviwo 0.9.12-pre
Inviwo documentation
|
Public Member Functions | |
virtual PointLight * | clone () const override |
virtual float | getArea () const override |
virtual vec3 | getPower () const override |
LightSourceType | getLightSourceType () const override |
vec3 | getPosition () const |
void | setPosition (const vec3 &position) |
virtual Document | getInfo () const override |
Public Member Functions inherited from inviwo::LightSource | |
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 |
Public Member Functions inherited from inviwo::SpatialEntity | |
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 |
Protected Attributes | |
vec3 | position_ {0.0f} |
Protected Attributes inherited from inviwo::LightSource | |
vec3 | intensity_ |
float | fieldOfView_ |
vec2 | size_ |
bool | enabled_ |
Protected Attributes inherited from inviwo::SpatialEntity | |
std::unique_ptr< SpatialCoordinateTransformer > | transformer_ |
std::unique_ptr< SpatialCameraCoordinateTransformer > | cameraTransformer_ |
glm::mat4 | modelMatrix_ |
glm::mat4 | worldMatrix_ |
Additional Inherited Members | |
Static Public Attributes inherited from inviwo::LightSource | |
static constexpr uvec3 | colorCode {128, 64, 196} |
static constexpr std::string_view | classIdentifier {"org.inviwo.LightSource"} |
static constexpr std::string_view | dataName {"LightSource"} |
|
overridevirtual |
Implements inviwo::SpatialEntity.
|
inlineoverridevirtual |
Implements inviwo::LightSource.
|
overridevirtual |
Reimplemented from inviwo::LightSource.
|
inlineoverridevirtual |
Implements inviwo::LightSource.
|
inline |
Get world position of light source.
|
inlineoverridevirtual |
Get radiant flux (color) of light source.
Implements inviwo::LightSource.
|
inline |
Set world position of light source.
position | World position of light source. |