Blender V5.0
ViewMapBuilder.cpp File Reference

Class to build silhouette edges from a Winged-Edge structure. More...

#include <algorithm>
#include <memory>
#include <sstream>
#include <stdexcept>
#include "FRS_freestyle.h"
#include "BoxGrid.h"
#include "CulledOccluderSource.h"
#include "HeuristicGridDensityProviderFactory.h"
#include "OccluderSource.h"
#include "SphericalGrid.h"
#include "ViewMapBuilder.h"
#include "../geometry/GeomUtils.h"
#include "../geometry/GridHelpers.h"
#include "../winged_edge/WFillGrid.h"
#include "BLI_sys_types.h"
#include "BKE_global.hh"

Go to the source code of this file.

Classes

struct  Freestyle::less_SVertex2D
struct  Freestyle::less_Intersection
struct  Freestyle::silhouette_binary_rule

Namespaces

namespace  Freestyle
 inherits from class Rep

Macros

#define LOGGING   0

Typedefs

using Freestyle::segment = Segment<FEdge *, Vec3r>
using Freestyle::intersection = Intersection<segment>

Functions

template<typename G, typename I>
static void Freestyle::findOccludee (FEdge *fe, G &, I &occluders, real epsilon, WFace **oaWFace, Vec3r &u, Vec3r &A, Vec3r &origin, Vec3r &edgeDir, vector< WVertex * > &faceVertices)
template<typename G, typename I>
static void Freestyle::findOccludee (FEdge *fe, G &grid, real epsilon, ViewEdge *, WFace **oaFace)
template<typename G, typename I>
static int Freestyle::computeVisibility (ViewMap *viewMap, FEdge *fe, G &grid, real epsilon, ViewEdge *, WFace **oaWFace, set< ViewShape * > *foundOccluders)
template<typename G, typename I>
static void Freestyle::computeCumulativeVisibility (ViewMap *ioViewMap, G &grid, real epsilon, RenderMonitor *iRenderMonitor)
template<typename G, typename I>
static void Freestyle::computeDetailedVisibility (ViewMap *ioViewMap, G &grid, real epsilon, RenderMonitor *iRenderMonitor)
template<typename G, typename I>
static void Freestyle::computeFastVisibility (ViewMap *ioViewMap, G &grid, real epsilon)
template<typename G, typename I>
static void Freestyle::computeVeryFastVisibility (ViewMap *ioViewMap, G &grid, real epsilon)
static real Freestyle::distance2D (const Vec3r &point, const real origin[2])
static bool Freestyle::crossesProscenium (real proscenium[4], FEdge *fe)
static bool Freestyle::insideProscenium (const real proscenium[4], const Vec3r &point)

Variables

static const GlobalFreestyle::_global = G
static const uint Freestyle::gProgressBarMaxSteps = 10
static const uint Freestyle::gProgressBarMinSize = 2000

Detailed Description

Class to build silhouette edges from a Winged-Edge structure.

Definition in file ViewMapBuilder.cpp.

Macro Definition Documentation

◆ LOGGING

#define LOGGING   0

Definition at line 38 of file ViewMapBuilder.cpp.