ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
cloudViewer::visualization::rendering::Light Struct Reference

#include <Light.h>

Public Types

enum  eLightType { POINT , SPOT , DIRECTIONAL }
 

Public Attributes

Eigen::Vector3f color = Eigen::Vector3f(1.f, 1.f, 1.f)
 
Eigen::Vector3f position = Eigen::Vector3f(0.f, 0.f, 0.f)
 
eLightType type = POINT
 
float intensity = 10000.f
 
float falloff = 10.f
 
bool cast_shadows = false
 
Eigen::Vector3f direction = Eigen::Vector3f(0.f, 0.f, -1.f)
 
float light_cone_inner = float(M_PI / 4.0)
 
float light_cone_outer = float(M_PI / 2.0)
 

Detailed Description

Definition at line 17 of file Light.h.

Member Enumeration Documentation

◆ eLightType

Enumerator
POINT 
SPOT 
DIRECTIONAL 

Definition at line 18 of file Light.h.

Member Data Documentation

◆ cast_shadows

bool cloudViewer::visualization::rendering::Light::cast_shadows = false

Definition at line 26 of file Light.h.

◆ color

Eigen::Vector3f cloudViewer::visualization::rendering::Light::color = Eigen::Vector3f(1.f, 1.f, 1.f)

Definition at line 21 of file Light.h.

◆ direction

Eigen::Vector3f cloudViewer::visualization::rendering::Light::direction = Eigen::Vector3f(0.f, 0.f, -1.f)

Definition at line 28 of file Light.h.

◆ falloff

float cloudViewer::visualization::rendering::Light::falloff = 10.f

Definition at line 25 of file Light.h.

◆ intensity

float cloudViewer::visualization::rendering::Light::intensity = 10000.f

Definition at line 24 of file Light.h.

◆ light_cone_inner

float cloudViewer::visualization::rendering::Light::light_cone_inner = float(M_PI / 4.0)

Definition at line 31 of file Light.h.

◆ light_cone_outer

float cloudViewer::visualization::rendering::Light::light_cone_outer = float(M_PI / 2.0)

Definition at line 32 of file Light.h.

◆ position

Eigen::Vector3f cloudViewer::visualization::rendering::Light::position = Eigen::Vector3f(0.f, 0.f, 0.f)

Definition at line 22 of file Light.h.

◆ type

eLightType cloudViewer::visualization::rendering::Light::type = POINT

Definition at line 23 of file Light.h.


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