libdcp
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
dcp::Luminance Class Reference

Public Types

enum class  Unit { CANDELA_PER_SQUARE_METRE , FOOT_LAMBERT }
 

Public Member Functions

 Luminance (cxml::ConstNodePtr node)
 
 Luminance (float value, Unit unit)
 
void set_value (float v)
 
void set_unit (Unit u)
 
float value () const
 
Unit unit () const
 
float value_in_foot_lamberts () const
 
void as_xml (xmlpp::Element *parent, std::string ns) const
 

Static Public Member Functions

static std::string unit_to_string (Unit u)
 
static Unit string_to_unit (std::string u)
 

Private Attributes

float _value
 
Unit _unit
 

Detailed Description

Definition at line 409 of file types.h.


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