Blender V4.3
Freestyle::BoxGrid Class Reference

#include <BoxGrid.h>

Classes

class  Iterator
 
struct  OccluderData
 
class  Transform
 

Public Member Functions

 BoxGrid (OccluderSource &source, GridDensityProvider &density, ViewMap *viewMap, Vec3r &viewpoint, bool enableQI)
 
virtual ~BoxGrid ()
 
void assignCells (OccluderSource &source, GridDensityProvider &density, ViewMap *viewMap)
 
void distributePolygons (OccluderSource &source)
 
bool insertOccluder (OccluderSource &source, OccluderData *&occluder)
 
void reorganizeCells ()
 
Cell * findCell (const Vec3r &point)
 
bool orthographicProjection () const
 
const Vec3rviewpoint () const
 
bool enableQI () const
 

Public Attributes

Transform transform
 

Detailed Description

Definition at line 40 of file BoxGrid.h.

Constructor & Destructor Documentation

◆ BoxGrid()

Freestyle::BoxGrid::BoxGrid ( OccluderSource & source,
GridDensityProvider & density,
ViewMap * viewMap,
Vec3r & viewpoint,
bool enableQI )
explicit

Definition at line 75 of file BoxGrid.cpp.

References assignCells(), distributePolygons(), G, G_DEBUG_FREESTYLE, and reorganizeCells().

◆ ~BoxGrid()

Freestyle::BoxGrid::~BoxGrid ( )
virtualdefault

Member Function Documentation

◆ assignCells()

void Freestyle::BoxGrid::assignCells ( OccluderSource & source,
GridDensityProvider & density,
ViewMap * viewMap )

Definition at line 107 of file BoxGrid.cpp.

References b, Freestyle::ViewMap::FEdges(), G, G_DEBUG_FREESTYLE, transform, Freestyle::x, and y.

Referenced by BoxGrid().

◆ distributePolygons()

void Freestyle::BoxGrid::distributePolygons ( OccluderSource & source)

◆ enableQI()

bool Freestyle::BoxGrid::enableQI ( ) const

Definition at line 216 of file BoxGrid.cpp.

◆ findCell()

BoxGrid::Cell * Freestyle::BoxGrid::findCell ( const Vec3r & point)

Definition at line 199 of file BoxGrid.cpp.

References Freestyle::x, and y.

◆ insertOccluder()

bool Freestyle::BoxGrid::insertOccluder ( OccluderSource & source,
OccluderData *& occluder )
inline

Definition at line 387 of file BoxGrid.h.

References Freestyle::OccluderSource::getGridSpacePolygon().

Referenced by distributePolygons().

◆ orthographicProjection()

bool Freestyle::BoxGrid::orthographicProjection ( ) const

Definition at line 206 of file BoxGrid.cpp.

◆ reorganizeCells()

void Freestyle::BoxGrid::reorganizeCells ( )

Definition at line 183 of file BoxGrid.cpp.

Referenced by BoxGrid().

◆ viewpoint()

const Vec3r & Freestyle::BoxGrid::viewpoint ( ) const

Definition at line 211 of file BoxGrid.cpp.

Member Data Documentation

◆ transform

Transform Freestyle::BoxGrid::transform

Definition at line 156 of file BoxGrid.h.

Referenced by assignCells().


The documentation for this class was generated from the following files: