jklimke / libcitygml

C++ Library for CityGML Parsing and Visualization
GNU Lesser General Public License v2.1
98 stars 55 forks source link

Missing AppearanceTarget::getAllMaterialThemes #80

Closed zhoub closed 11 months ago

zhoub commented 1 year ago

Hi,

Is there any way to get all material themes at geometry or polygon ? I did search to the latest code base but only found

    std::vector<std::string> AppearanceTarget::getAllTextureThemes(bool front) const
    {
        auto& map = front ? m_themeTexMapFront : m_themeTexMapBack;
        std::vector<std::string> themes;
        for (const auto& pair : map) {
            themes.push_back(pair.first);
        }
        return themes;
    }

There is function AppearanceTarget::getAllTextureThemes but no AppearanceTarget::getAllMaterialThemes.

Any ideas ? Thanks in advance.

zhoub commented 11 months ago

Done