Blender V4.3
Freestyle::SphericalGrid Class Reference

#include <SphericalGrid.h>

Classes

class  Iterator
 
struct  OccluderData
 
class  Transform
 

Public Member Functions

 SphericalGrid (OccluderSource &source, GridDensityProvider &density, ViewMap *viewMap, Vec3r &viewpoint, bool enableQI)
 
virtual ~SphericalGrid ()
 
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
 

Detailed Description

Definition at line 40 of file SphericalGrid.h.

Constructor & Destructor Documentation

◆ SphericalGrid()

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

◆ ~SphericalGrid()

Freestyle::SphericalGrid::~SphericalGrid ( )
virtualdefault

Member Function Documentation

◆ assignCells()

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

Definition at line 104 of file SphericalGrid.cpp.

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

Referenced by SphericalGrid().

◆ distributePolygons()

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

◆ enableQI()

bool Freestyle::SphericalGrid::enableQI ( ) const

Definition at line 212 of file SphericalGrid.cpp.

◆ findCell()

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

Definition at line 195 of file SphericalGrid.cpp.

References Freestyle::x, and y.

◆ insertOccluder()

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

Definition at line 400 of file SphericalGrid.h.

References Freestyle::OccluderSource::getGridSpacePolygon().

Referenced by distributePolygons().

◆ orthographicProjection()

bool Freestyle::SphericalGrid::orthographicProjection ( ) const

Definition at line 202 of file SphericalGrid.cpp.

◆ reorganizeCells()

void Freestyle::SphericalGrid::reorganizeCells ( )

Definition at line 179 of file SphericalGrid.cpp.

Referenced by SphericalGrid().

◆ viewpoint()

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

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