![]() |
Inviwo 0.9.12-pre
Inviwo documentation
|
Public Member Functions | |
| const Camera & | getCamera () |
| virtual double | getFarPlaneDist () const override |
| virtual dvec3 | getLookFrom () const override |
| virtual dvec3 | getLookFromMaxValue () const override |
| virtual dvec3 | getLookFromMinValue () const override |
| virtual dvec3 | getLookTo () const override |
| virtual dvec3 | getLookToMaxValue () const override |
| virtual dvec3 | getLookToMinValue () const override |
| virtual dvec3 | getLookUp () const override |
| virtual double | getNearPlaneDist () const override |
| virtual dvec3 | getNormalizedDeviceFromNormalizedScreenAtFocusPointDepth (const dvec2 &normalizedScreenCoord) const override |
| virtual dvec3 | getWorldPosFromNormalizedDeviceCoords (const dvec3 &ndcCoords) const override |
| virtual void | invokeEvent (Event *event) override |
| void | onCameraChanged () |
| PointLightInteractionHandler (PositionProperty *, CameraProperty *, BoolProperty *, FloatVec2Property *) | |
| void | setHandleEventsOptions (int) |
| void | 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. | |
| virtual TrackballObject & | setLook (dvec3 lookFrom, dvec3 lookTo, dvec3 lookUp) override |
| virtual TrackballObject & | setLookFrom (dvec3 lookFrom) override |
| virtual TrackballObject & | setLookTo (dvec3 lookTo) override |
| virtual TrackballObject & | setLookUp (dvec3 lookUp) override |
| virtual void | zoom (const ZoomOptions &opts) override |
|
nodiscardoverridevirtual |
Implements inviwo::TrackballObject.
|
nodiscardoverridevirtual |
Implements inviwo::TrackballObject.
|
nodiscardoverridevirtual |
Implements inviwo::TrackballObject.
|
nodiscardoverridevirtual |
Implements inviwo::TrackballObject.
|
nodiscardoverridevirtual |
Implements inviwo::TrackballObject.
|
nodiscardoverridevirtual |
Implements inviwo::TrackballObject.
|
nodiscardoverridevirtual |
Implements inviwo::TrackballObject.
|
nodiscardoverridevirtual |
Implements inviwo::TrackballObject.
|
nodiscardoverridevirtual |
Implements inviwo::TrackballObject.
|
nodiscardoverridevirtual |
Implements inviwo::TrackballObject.
|
nodiscardoverridevirtual |
Implements inviwo::TrackballObject.
|
overridevirtual |
Reimplemented from inviwo::EventListener.
| 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.
| normalizedScreenCoord | Coordinates in [0 1], where y coordinate is 0 at top of screen. |
|
overridevirtual |
Implements inviwo::TrackballObject.
|
overridevirtual |
Implements inviwo::TrackballObject.
|
overridevirtual |
Implements inviwo::TrackballObject.
|
overridevirtual |
Implements inviwo::TrackballObject.
|
overridevirtual |
Implements inviwo::TrackballObject.