Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
hrp::Light Class Reference

#include <Light.h>

Public Types

enum  LightType { POINT, DIRECTIONAL, SPOT }
 

Public Member Functions

 Light (Link *parent, int lightType, const std::string &name_)
 

Public Attributes

double ambientIntensity
 
Vector3 attenuation
 
double beamWidth
 
Vector3 color
 
double cutOffAngle
 
Vector3 direction
 
int id
 
double intensity
 
Linklink
 
Vector3 localPos
 
Matrix33 localR
 
Vector3 location
 
std::string name
 
bool on
 
double radius
 
int type
 

Static Public Attributes

static int nextId =0
 

Detailed Description

Definition at line 16 of file Light.h.

Member Enumeration Documentation

Enumerator
POINT 
DIRECTIONAL 
SPOT 

Definition at line 18 of file Light.h.

Constructor & Destructor Documentation

Light::Light ( Link parent,
int  lightType,
const std::string &  name_ 
)

Definition at line 15 of file Light.cpp.

Member Data Documentation

double hrp::Light::ambientIntensity

Definition at line 33 of file Light.h.

Vector3 hrp::Light::attenuation

Definition at line 37 of file Light.h.

double hrp::Light::beamWidth

Definition at line 42 of file Light.h.

Vector3 hrp::Light::color

Definition at line 34 of file Light.h.

double hrp::Light::cutOffAngle

Definition at line 42 of file Light.h.

Vector3 hrp::Light::direction

Definition at line 40 of file Light.h.

int hrp::Light::id

Definition at line 32 of file Light.h.

double hrp::Light::intensity

Definition at line 33 of file Light.h.

Link* hrp::Light::link

Definition at line 27 of file Light.h.

Vector3 hrp::Light::localPos

Definition at line 31 of file Light.h.

Matrix33 hrp::Light::localR

Definition at line 30 of file Light.h.

Vector3 hrp::Light::location

Definition at line 37 of file Light.h.

std::string hrp::Light::name

Definition at line 29 of file Light.h.

int Light::nextId =0
static

Definition at line 25 of file Light.h.

bool hrp::Light::on

Definition at line 35 of file Light.h.

double hrp::Light::radius

Definition at line 38 of file Light.h.

int hrp::Light::type

Definition at line 28 of file Light.h.


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


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat May 8 2021 02:42:45