Blender  V3.3
ArbitraryGridDensityProvider.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #pragma once
4 
10 #include "GridDensityProvider.h"
11 
12 namespace Freestyle {
13 
15  // Disallow copying and assignment
18 
19  public:
21  const real proscenium[4],
22  unsigned numCells);
24  const BBox<Vec3r> &bbox,
26  unsigned numCells);
28 
29  protected:
30  unsigned numCells;
31 
32  private:
33  void initialize(const real proscenium[4]);
34 };
35 
37  public:
39 
41  const real proscenium[4]);
43  const BBox<Vec3r> &bbox,
46 
47  protected:
48  unsigned numCells;
49 };
50 
51 } /* namespace Freestyle */
Class to define a cell grid surrounding the projected image of a scene.
SIMD_FORCE_INLINE btVector3 transform(const btVector3 &point) const
AutoPtr< GridDensityProvider > newGridDensityProvider(OccluderSource &source, const real proscenium[4])
inherits from class Rep
Definition: AppCanvas.cpp:18
double real
Definition: Precision.h:12