#include <photometricdata_ies.h>
Public Types | |
| enum | PhotometricType { PHOTOMETRIC_TYPE_C = 1, PHOTOMETRIC_TYPE_B = 2, PHOTOMETRIC_TYPE_A = 3 } |
Public Member Functions | |
| PhotometricDataIES () | |
| PhotometricDataIES (const char *) | |
| ~PhotometricDataIES () | |
| bool | IsValid () |
| void | Reset () |
| bool | Load (const char *) |
| void | ReadLine (std::string &sLine) |
Public Attributes | |
| std::string | m_Version |
| std::map< std::string, std::string > | m_Keywords |
| unsigned int | m_NumberOfLamps |
| double | m_LumensPerLamp |
| double | m_CandelaMultiplier |
| unsigned int | m_NumberOfVerticalAngles |
| unsigned int | m_NumberOfHorizontalAngles |
| PhotometricType | m_PhotometricType |
| unsigned int | m_UnitsType |
| double | m_LuminaireWidth |
| double | m_LuminaireLength |
| double | m_LuminaireHeight |
| double | BallastFactor |
| double | BallastLampPhotometricFactor |
| double | InputWatts |
| std::vector< double > | m_VerticalAngles |
| std::vector< double > | m_HorizontalAngles |
| std::vector< std::vector < double > > | m_CandelaValues |
Private Member Functions | |
| bool | PrivateLoad (const char *) |
| bool | BuildKeywordList () |
| void | BuildDataLine (unsigned int, std::vector< double > &) |
| bool | BuildLightData () |
Private Attributes | |
| bool | m_bValid |
| std::ifstream | m_fsIES |
Definition at line 32 of file photometricdata_ies.h.
Definition at line 61 of file photometricdata_ies.h.
| lux::PhotometricDataIES::PhotometricDataIES | ( | ) |
Definition at line 38 of file photometricdata_ies.cpp.
| lux::PhotometricDataIES::PhotometricDataIES | ( | const char * | sFileName | ) |
Definition at line 43 of file photometricdata_ies.cpp.
| lux::PhotometricDataIES::~PhotometricDataIES | ( | ) |
Definition at line 50 of file photometricdata_ies.cpp.
References m_fsIES.
| void lux::PhotometricDataIES::BuildDataLine | ( | unsigned int | nDoubles, | |
| std::vector< double > & | vLine | |||
| ) | [private] |
Definition at line 188 of file photometricdata_ies.cpp.
References m_fsIES.
Referenced by BuildLightData().
| bool lux::PhotometricDataIES::BuildKeywordList | ( | ) | [private] |
Definition at line 122 of file photometricdata_ies.cpp.
References m_fsIES, m_Keywords, and ReadLine().
Referenced by PrivateLoad().
| bool lux::PhotometricDataIES::BuildLightData | ( | ) | [private] |
Definition at line 204 of file photometricdata_ies.cpp.
References BallastFactor, BallastLampPhotometricFactor, BuildDataLine(), InputWatts, m_CandelaMultiplier, m_CandelaValues, m_fsIES, m_HorizontalAngles, m_LumensPerLamp, m_LuminaireHeight, m_LuminaireLength, m_LuminaireWidth, m_NumberOfHorizontalAngles, m_NumberOfLamps, m_NumberOfVerticalAngles, m_PhotometricType, m_UnitsType, m_VerticalAngles, and ReadLine().
Referenced by PrivateLoad().
| bool lux::PhotometricDataIES::IsValid | ( | ) | [inline] |
Definition at line 42 of file photometricdata_ies.h.
References m_bValid.
| bool lux::PhotometricDataIES::Load | ( | const char * | sFileName | ) |
Definition at line 76 of file photometricdata_ies.cpp.
References m_fsIES, and PrivateLoad().
Referenced by PhotometricDataIES().
| bool lux::PhotometricDataIES::PrivateLoad | ( | const char * | sFileName | ) | [private] |
Definition at line 85 of file photometricdata_ies.cpp.
References BuildKeywordList(), BuildLightData(), m_bValid, m_fsIES, m_Version, ReadLine(), and Reset().
Referenced by Load().
| void lux::PhotometricDataIES::ReadLine | ( | std::string & | sLine | ) | [inline] |
Definition at line 46 of file photometricdata_ies.h.
References m_fsIES.
Referenced by BuildKeywordList(), BuildLightData(), and PrivateLoad().
| void lux::PhotometricDataIES::Reset | ( | ) |
Definition at line 59 of file photometricdata_ies.cpp.
References m_bValid, m_CandelaValues, m_fsIES, m_HorizontalAngles, m_Keywords, m_Version, and m_VerticalAngles.
Referenced by PhotometricDataIES(), and PrivateLoad().
Definition at line 78 of file photometricdata_ies.h.
Referenced by BuildLightData(), and lux::IESSphericalFunction::IESSphericalFunction().
Definition at line 79 of file photometricdata_ies.h.
Referenced by BuildLightData(), and lux::IESSphericalFunction::IESSphericalFunction().
Definition at line 80 of file photometricdata_ies.h.
Referenced by BuildLightData().
bool lux::PhotometricDataIES::m_bValid [private] |
Definition at line 94 of file photometricdata_ies.h.
Referenced by IsValid(), PrivateLoad(), and Reset().
Definition at line 69 of file photometricdata_ies.h.
Referenced by BuildLightData(), and lux::IESSphericalFunction::IESSphericalFunction().
| std::vector< std::vector<double> > lux::PhotometricDataIES::m_CandelaValues |
Definition at line 85 of file photometricdata_ies.h.
Referenced by BuildLightData(), lux::IESSphericalFunction::IESSphericalFunction(), and Reset().
std::ifstream lux::PhotometricDataIES::m_fsIES [private] |
Definition at line 95 of file photometricdata_ies.h.
Referenced by BuildDataLine(), BuildKeywordList(), BuildLightData(), Load(), PrivateLoad(), ReadLine(), Reset(), and ~PhotometricDataIES().
| std::vector<double> lux::PhotometricDataIES::m_HorizontalAngles |
Definition at line 83 of file photometricdata_ies.h.
Referenced by BuildLightData(), lux::IESSphericalFunction::IESSphericalFunction(), and Reset().
| std::map<std::string,std::string> lux::PhotometricDataIES::m_Keywords |
Definition at line 56 of file photometricdata_ies.h.
Referenced by BuildKeywordList(), and Reset().
Definition at line 68 of file photometricdata_ies.h.
Referenced by BuildLightData().
Definition at line 76 of file photometricdata_ies.h.
Referenced by BuildLightData().
Definition at line 75 of file photometricdata_ies.h.
Referenced by BuildLightData().
Definition at line 74 of file photometricdata_ies.h.
Referenced by BuildLightData().
Definition at line 71 of file photometricdata_ies.h.
Referenced by BuildLightData().
Definition at line 67 of file photometricdata_ies.h.
Referenced by BuildLightData().
Definition at line 70 of file photometricdata_ies.h.
Referenced by BuildLightData().
Definition at line 72 of file photometricdata_ies.h.
Referenced by BuildLightData(), and lux::IESSphericalFunction::IESSphericalFunction().
| unsigned int lux::PhotometricDataIES::m_UnitsType |
Definition at line 73 of file photometricdata_ies.h.
Referenced by BuildLightData().
| std::string lux::PhotometricDataIES::m_Version |
Definition at line 55 of file photometricdata_ies.h.
Referenced by PrivateLoad(), and Reset().
| std::vector<double> lux::PhotometricDataIES::m_VerticalAngles |
Definition at line 82 of file photometricdata_ies.h.
Referenced by BuildLightData(), lux::IESSphericalFunction::IESSphericalFunction(), and Reset().
1.6.2-20100208