VolViz
A volume visualization tool
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Public Attributes | List of all members
VolViz::Light Class Reference

Directional light. More...

#include <Light.h>

+ Collaboration diagram for VolViz::Light:

Public Attributes

Color color {Color::Ones()}
 Color of the light. More...
 
PositionH position {PositionH::Zero()}
 
float ambientFactor = 0.f
 Factor that specifies how the light contributes to the ambient lighting. More...
 

Detailed Description

Directional light.

Member Data Documentation

float VolViz::Light::ambientFactor = 0.f

Factor that specifies how the light contributes to the ambient lighting.

Color VolViz::Light::color {Color::Ones()}

Color of the light.

PositionH VolViz::Light::position {PositionH::Zero()}

Position of the light source. Since only directional light are supported, the light is at an infinite position, therefore the position equals the direction to the light source


The documentation for this class was generated from the following file: