/* SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once /** \file * \ingroup freestyle * \brief Class to define a cell grid surrounding the projected image of a scene */ //#include // provided by GridDensityProvider.h #include "AverageAreaGridDensityProvider.h" //#include "GridDensityProvider.h" // provided by *GridDensityProvider.h below #include "Pow23GridDensityProvider.h" namespace Freestyle { class HeuristicGridDensityProviderFactory : public GridDensityProviderFactory { public: HeuristicGridDensityProviderFactory(real sizeFactor, unsigned numFaces); AutoPtr newGridDensityProvider(OccluderSource &source, const real proscenium[4]); AutoPtr newGridDensityProvider(OccluderSource &source, const BBox &bbox, const GridHelpers::Transform &transform); AutoPtr newGridDensityProvider(OccluderSource &source); protected: real sizeFactor; unsigned numFaces; }; } /* namespace Freestyle */