Blue Brain BioExplorer
core::SphereLight Class Reference

#include <Light.h>

Inheritance diagram for core::SphereLight:
Collaboration diagram for core::SphereLight:

Public Member Functions

 SphereLight (const Vector3d &position, double radius, const Vector3d &color, double intensity, bool isVisible)
 SphereLight Createas a sphere light. The sphere light (or the special case point light) is a positional light emitting uniformly in all directions. More...
 
 SphereLight ()=default
 
- Public Member Functions inherited from core::Light
 Light (LightType type, const Vector3d &color, double intensity, bool isVisible)
 
 Light ()=default
 
virtual ~Light ()=default
 

Public Attributes

Vector3d _position
 
double _radius
 
- Public Attributes inherited from core::Light
LightType _type
 
Vector3d _color
 
double _intensity
 
bool _isVisible
 

Detailed Description

Definition at line 76 of file Light.h.

Constructor & Destructor Documentation

◆ SphereLight() [1/2]

core::SphereLight::SphereLight ( const Vector3d position,
double  radius,
const Vector3d color,
double  intensity,
bool  isVisible 
)

SphereLight Createas a sphere light. The sphere light (or the special case point light) is a positional light emitting uniformly in all directions.

Parameters
positionLight source position
radiusThe size of the sphere light
colorLight source RGB color
intensityAmount of light emitted
isVisibleWhether the light can be directly seen

Definition at line 43 of file Light.cpp.

◆ SphereLight() [2/2]

core::SphereLight::SphereLight ( )
default

Member Data Documentation

◆ _position

Vector3d core::SphereLight::_position

Definition at line 92 of file Light.h.

◆ _radius

double core::SphereLight::_radius

Definition at line 93 of file Light.h.


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