|
enum class | Bounded { Yes
, No
} |
|
◆ getFarPlaneDist()
virtual float inviwo::PointLightInteractionHandler::getFarPlaneDist |
( |
| ) |
const |
|
nodiscardoverridevirtual |
◆ getLookFrom()
virtual vec3 inviwo::PointLightInteractionHandler::getLookFrom |
( |
| ) |
const |
|
nodiscardoverridevirtual |
◆ getLookFromMaxValue()
virtual vec3 inviwo::PointLightInteractionHandler::getLookFromMaxValue |
( |
| ) |
const |
|
nodiscardoverridevirtual |
◆ getLookFromMinValue()
virtual vec3 inviwo::PointLightInteractionHandler::getLookFromMinValue |
( |
| ) |
const |
|
nodiscardoverridevirtual |
◆ getLookTo()
virtual vec3 inviwo::PointLightInteractionHandler::getLookTo |
( |
| ) |
const |
|
nodiscardoverridevirtual |
◆ getLookToMaxValue()
virtual vec3 inviwo::PointLightInteractionHandler::getLookToMaxValue |
( |
| ) |
const |
|
nodiscardoverridevirtual |
◆ getLookToMinValue()
virtual vec3 inviwo::PointLightInteractionHandler::getLookToMinValue |
( |
| ) |
const |
|
nodiscardoverridevirtual |
◆ getLookUp()
virtual vec3 inviwo::PointLightInteractionHandler::getLookUp |
( |
| ) |
const |
|
nodiscardoverridevirtual |
◆ getNearPlaneDist()
virtual float inviwo::PointLightInteractionHandler::getNearPlaneDist |
( |
| ) |
const |
|
nodiscardoverridevirtual |
◆ getNormalizedDeviceFromNormalizedScreenAtFocusPointDepth()
virtual vec3 inviwo::PointLightInteractionHandler::getNormalizedDeviceFromNormalizedScreenAtFocusPointDepth |
( |
const vec2 & | normalizedScreenCoord | ) |
const |
|
nodiscardoverridevirtual |
◆ getWorldPosFromNormalizedDeviceCoords()
virtual vec3 inviwo::PointLightInteractionHandler::getWorldPosFromNormalizedDeviceCoords |
( |
const vec3 & | ndcCoords | ) |
const |
|
nodiscardoverridevirtual |
◆ invokeEvent()
virtual void inviwo::PointLightInteractionHandler::invokeEvent |
( |
Event * | event | ) |
|
|
overridevirtual |
◆ setLightPosFromScreenCoords()
void inviwo::PointLightInteractionHandler::setLightPosFromScreenCoords |
( |
const vec2 & | normalizedScreenCoord | ) |
|
Changes the direction of the light source, relative to the camera, such that it acts as if it comes from the direction where the user clicked on the screen.
Intersects a sphere covering the scene and places the light source in the direction of the intersection point but at the same distance from the origin as before. If the intersection is outside the sphere the light source will be placed perpendicular to the camera at the same distance as before.
- Parameters
-
normalizedScreenCoord | Coordinates in [0 1], where y coordinate is 0 at top of screen. |
◆ setLook()
virtual TrackballObject & inviwo::PointLightInteractionHandler::setLook |
( |
vec3 | lookFrom, |
|
|
vec3 | lookTo, |
|
|
vec3 | lookUp ) |
|
overridevirtual |
◆ setLookFrom()
virtual TrackballObject & inviwo::PointLightInteractionHandler::setLookFrom |
( |
vec3 | lookFrom | ) |
|
|
overridevirtual |
◆ setLookTo()
virtual TrackballObject & inviwo::PointLightInteractionHandler::setLookTo |
( |
vec3 | lookTo | ) |
|
|
overridevirtual |
◆ setLookUp()
virtual TrackballObject & inviwo::PointLightInteractionHandler::setLookUp |
( |
vec3 | lookUp | ) |
|
|
overridevirtual |
◆ zoom()
virtual void inviwo::PointLightInteractionHandler::zoom |
( |
float | factor, |
|
|
Bounded | bounded ) |
|
overridevirtual |
The documentation for this class was generated from the following file:
- pointlightsourceprocessor.h