Blender
V4.3
source
blender
freestyle
intern
view_map
CulledOccluderSource.h
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2023 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
5
#pragma once
6
12
#include "
OccluderSource.h
"
13
#include "
ViewMap.h
"
14
15
namespace
Freestyle
{
16
17
class
CulledOccluderSource
:
public
OccluderSource
{
18
// Disallow copying and assignment
19
CulledOccluderSource
(
const
CulledOccluderSource
&other);
20
CulledOccluderSource
&operator=(
const
CulledOccluderSource
&other);
21
22
public
:
23
CulledOccluderSource
(
const
GridHelpers::Transform
&transform,
24
WingedEdge
&we,
25
ViewMap
&viewMap,
26
bool
extensiveFEdgeSearch =
true
);
27
28
void
cullViewEdges
(
ViewMap
&viewMap,
bool
extensiveFEdgeSearch);
29
30
bool
next
();
31
32
void
getOccluderProscenium
(
real
proscenium[4]);
33
34
private
:
35
bool
testCurrent();
36
void
expandGridSpaceOccluderProscenium(
FEdge
*fe);
37
38
real
occluderProscenium[4];
39
real
gridSpaceOccluderProscenium[4];
40
41
ulong
rejected;
42
bool
gridSpaceOccluderProsceniumInitialized;
43
};
44
45
}
/* namespace Freestyle */
ulong
unsigned long ulong
Definition
BLI_sys_types.h:70
OccluderSource.h
Class to define a cell grid surrounding the projected image of a scene.
ViewMap.h
Classes to define a View Map (ViewVertex, ViewEdge, etc.)
Freestyle::CulledOccluderSource
Definition
CulledOccluderSource.h:17
Freestyle::CulledOccluderSource::getOccluderProscenium
void getOccluderProscenium(real proscenium[4])
Definition
CulledOccluderSource.cpp:61
Freestyle::CulledOccluderSource::cullViewEdges
void cullViewEdges(ViewMap &viewMap, bool extensiveFEdgeSearch)
Definition
CulledOccluderSource.cpp:89
Freestyle::CulledOccluderSource::next
bool next()
Definition
CulledOccluderSource.cpp:47
Freestyle::FEdge
Definition
Silhouette.h:465
Freestyle::GridHelpers::Transform
Definition
GridHelpers.h:104
Freestyle::OccluderSource
Definition
OccluderSource.h:22
Freestyle::ViewMap
Definition
ViewMap.h:47
Freestyle::WingedEdge
Definition
WEdge.h:1300
Freestyle
inherits from class Rep
Definition
AppCanvas.cpp:20
Freestyle::real
double real
Definition
Precision.h:14
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0