5#include <Common/primitive_type.h>
107 std::string m_testInfo;
108 std::string m_luminaireManufacturer;
109 std::string m_luminaireCatalogNumber;
110 std::string m_luminaireDescription;
111 std::string m_lampCatalogNumber;
112 std::string m_lampDescription;
113 std::string m_uncategorizedInfo;
124 real m_lumensPerLamp;
125 real m_candelaMultiplier;
126 uint32 m_numVerticalAngles;
127 uint32 m_numHorizontalAngles;
129 real m_luminaireOpeningArea;
135 real m_ballastFactor;
136 real m_ballastLampPhotometricFactor;
143 std::vector<real> m_verticalAngles;
144 std::vector<real> m_horizontalAngles;
145 std::vector<std::vector<real>> m_candelaValues;
148 bool parse(
const std::vector<char>& data);
149 std::size_t parseFileType(
const std::vector<std::string>& lines, std::size_t currentLine);
150 std::size_t parseLabelsAndKeywords(
const std::vector<std::string>& lines, std::size_t currentLine);
151 std::size_t parseTiltLine(
const std::vector<std::string>& lines, std::size_t currentLine);
152 std::size_t parseTiltData(
const std::vector<std::string>& lines, std::size_t currentLine);
153 std::size_t parseMetadata1(
const std::vector<std::string>& lines, std::size_t currentLine);
154 std::size_t parseMetadata2(
const std::vector<std::string>& lines, std::size_t currentLine);
155 std::size_t parseAngles(
const std::vector<std::string>& lines, std::size_t currentLine);
156 std::size_t parseCandelaValues(
const std::vector<std::string>& lines, std::size_t currentLine);
159 static std::vector<std::string> retrieveLines(
const std::vector<char>& data);
std::string getLuminaireDescription() const
Definition IesFile.cpp:556
uint32 getNumVerticalAngles() const
Definition IesFile.cpp:591
EPhotometricWebType getPhotometricWebType() const
Definition IesFile.cpp:601
IesFile(const Path &iesFilePath)
Definition IesFile.cpp:16
std::string getLampCatalogNumber() const
Definition IesFile.cpp:561
std::string getFilename() const
Definition IesFile.cpp:531
EIesFileType getIesFileType() const
Gets the type of this IES file.
Definition IesFile.cpp:536
std::string getTestInfo() const
Gets the test report number and laboratory for the IES file.
Definition IesFile.cpp:541
std::vector< real > getVerticalAngles() const
Definition IesFile.cpp:606
std::string getLampDescription() const
Definition IesFile.cpp:566
std::string getLuminaireCatalogNumber() const
Definition IesFile.cpp:551
EIesFileType
Definition IesFile.h:23
std::string getLuminaireManufacturer() const
Definition IesFile.cpp:546
std::vector< std::vector< real > > getCandelaValues() const
Definition IesFile.cpp:616
EPhotometricWebType
Definition IesFile.h:31
real getCandelaMultiplier() const
Definition IesFile.cpp:586
std::vector< real > getHorizontalAngles() const
Definition IesFile.cpp:611
real getLumensPerLamp() const
Definition IesFile.cpp:581
std::string getUncategorizedInfo() const
Gets descriptions that are not categorized by the parser.
Definition IesFile.cpp:571
bool load()
Definition IesFile.cpp:21
uint32 getNumLamps() const
Definition IesFile.cpp:576
uint32 getNumHorizontalAngles() const
Definition IesFile.cpp:596
General path representation. Does not check whether the target actually exists (e....
Definition Path.h:21
The root for all renderer implementations.
Definition EEngineProject.h:6