Blender V5.0
HeuristicGridDensityProviderFactory.cpp
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2011-2022 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
9
11
12#include "BLI_sys_types.h"
13
14namespace Freestyle {
15
21
23 OccluderSource &source, const real proscenium[4])
24{
26 new AverageAreaGridDensityProvider(source, proscenium, sizeFactor));
28 new Pow23GridDensityProvider(source, proscenium, numFaces));
29 if (avg->cellSize() > p23->cellSize()) {
31 }
32
34}
35
49
65
66} /* namespace Freestyle */
unsigned int uint
Class to define a cell grid surrounding the projected image of a scene.
SIMD_FORCE_INLINE btVector3 transform(const btVector3 &point) const
static void calculateOptimalProscenium(OccluderSource &source, real proscenium[4])
AutoPtr< GridDensityProvider > newGridDensityProvider(OccluderSource &source, const real proscenium[4])
inherits from class Rep
Definition AppCanvas.cpp:20
double real
Definition Precision.h:14