#include <c4d_ieslight.h>
Public Types | |
enum | IESVERSION { V1986, V1991, V1995, V2002 } |
enum | IESTILT { UNKNOWN, NONE, INCLUDE, FILE } |
Constructor/Destructor | |
IESLight () | |
virtual | ~IESLight () |
Copy | |
IESLight * | Copy () |
Read/Write | |
Bool | Read (HyperFile *pHFile) |
Bool | Write (HyperFile *pHFile) |
Import from File | |
IMAGERESULT | ImportFromFile (const Filename &fn) |
Private | |
void | ComputePowerRatio () |
Float64 | ComputeLightIntensity (Vector64 vDir) |
Float64 | ATan2 (Float64 fY, Float64 fX) |
IES light.
IESLight | ( | ) |
Default constructor.
|
virtual |
Default destructor.
IESLight* Copy | ( | ) |
Gets a copy of the IES light.
Reads the IES light from a hyper file.
[in] | pHFile | The hyper file to read from. The caller owns the pointed hyper file. |
Writes the IES light to a hyper file.
[in] | pHFile | The hyper file to write to. The caller owns the pointed hyper file. |
IMAGERESULT ImportFromFile | ( | const Filename & | fn | ) |
Imports a IES light from a file.
[in] | fn | The filename of the IES light file to import. |
void ComputePowerRatio | ( | ) |
Private.
Float64 ComputeLightIntensity | ( | Vector64 | vDir | ) |
Private.
IESVERSION m_Version |
IES light file version.
IESTILT m_Tilt |
IES light tilt type.
String m_szInfoManufacturer |
Luminaire manufacturer.
String m_szInfoLumCatalog |
Luminaire catalog number.
String m_szInfoLumDescription |
Luminaire description.
String m_szInfoLampCatalog |
Lamp catalog number.
String m_szInfoLampDescription |
Lamp description.
Int32 m_nAreaShape |
Luminaire shape.
Vector m_vAreaSize |
Luminaire size.
Float* m_pAnglesVertical |
Array of vertical angles.
Float* m_pAnglesHorizontal |
Array of horizontal angles.
Int32 m_nAnglesVertical |
Number of vertical angles.
Int32 m_nAnglesHorizontal |
Number of horizontal angles.
Float* m_pData |
Private.
Float m_fDataMax |
Private.
Float m_fDataPower |
Private.