/* osgEarth
 * Copyright 2025 Pelican Mapping
 * MIT License
 */
#pragma once
#include <osgEarth/Common>
#include <osg/Node>

#ifdef OSGEARTH_HAVE_MESH_OPTIMIZER


namespace osgEarth
{
    using namespace osgEarth;

    class OSGEARTH_EXPORT LODGenerator
    {
    public:
        struct LODOptions
        {
            float threshold;            
            float rangeFactor;
            bool aggressive;
        };

        osg::Node* generateLODs(osg::Node* node, const std::vector<LODOptions>& options);
    };


}

#endif