Blender  V3.3
Classes | Public Member Functions | Public Attributes | List of all members
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 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()

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

◆ distributePolygons()

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

◆ enableQI()

bool Freestyle::BoxGrid::enableQI ( ) const

Definition at line 212 of file BoxGrid.cpp.

◆ findCell()

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

Definition at line 195 of file BoxGrid.cpp.

References point, 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 202 of file BoxGrid.cpp.

◆ reorganizeCells()

void Freestyle::BoxGrid::reorganizeCells ( )

Definition at line 179 of file BoxGrid.cpp.

References NULL.

Referenced by BoxGrid().

◆ viewpoint()

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

Definition at line 207 of file BoxGrid.cpp.

Member Data Documentation

◆ transform

Transform Freestyle::BoxGrid::transform

Definition at line 154 of file BoxGrid.h.

Referenced by assignCells().


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