Blender V5.0
Freestyle::BoxGrid Class Reference

#include <BoxGrid.h>

Classes

struct  OccluderData
class  Iterator
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 38 of file BoxGrid.h.

Constructor & Destructor Documentation

◆ BoxGrid()

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

◆ ~BoxGrid()

Freestyle::BoxGrid::~BoxGrid ( )
virtualdefault

Member Function Documentation

◆ assignCells()

◆ distributePolygons()

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

◆ enableQI()

bool Freestyle::BoxGrid::enableQI ( ) const

Definition at line 216 of file BoxGrid.cpp.

Referenced by BoxGrid().

◆ findCell()

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

Definition at line 199 of file BoxGrid.cpp.

References Freestyle::x, and y.

Referenced by Freestyle::BoxGrid::Iterator::Iterator().

◆ insertOccluder()

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

◆ 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.

References i.

Referenced by BoxGrid().

◆ viewpoint()

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

Definition at line 211 of file BoxGrid.cpp.

Referenced by BoxGrid().

Member Data Documentation

◆ transform

Transform Freestyle::BoxGrid::transform

Definition at line 150 of file BoxGrid.h.

Referenced by assignCells(), and Freestyle::BoxGrid::Iterator::Iterator().


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