Blender  V3.3
CulledOccluderSource.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #pragma once
4 
10 #include "OccluderSource.h"
11 #include "ViewMap.h"
12 
13 namespace Freestyle {
14 
16  // Disallow copying and assignment
18  CulledOccluderSource &operator=(const CulledOccluderSource &other);
19 
20  public:
22  WingedEdge &we,
23  ViewMap &viewMap,
24  bool extensiveFEdgeSearch = true);
25 
26  void cullViewEdges(ViewMap &viewMap, bool extensiveFEdgeSearch);
27 
28  bool next();
29 
30  void getOccluderProscenium(real proscenium[4]);
31 
32  private:
33  bool testCurrent();
34  void expandGridSpaceOccluderProscenium(FEdge *fe);
35 
36  real occluderProscenium[4];
37  real gridSpaceOccluderProscenium[4];
38 
39  unsigned long rejected;
40  bool gridSpaceOccluderProsceniumInitialized;
41 };
42 
43 } /* namespace Freestyle */
Class to define a cell grid surrounding the projected image of a scene.
Classes to define a View Map (ViewVertex, ViewEdge, etc.)
void getOccluderProscenium(real proscenium[4])
void cullViewEdges(ViewMap &viewMap, bool extensiveFEdgeSearch)
const GridHelpers::Transform & transform
inherits from class Rep
Definition: AppCanvas.cpp:18
double real
Definition: Precision.h:12