Blender  V3.3
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Freestyle::OccluderSource Class Reference

#include <OccluderSource.h>

Inheritance diagram for Freestyle::OccluderSource:
Freestyle::CulledOccluderSource

Public Member Functions

 OccluderSource (const GridHelpers::Transform &transform, WingedEdge &we)
 
virtual ~OccluderSource ()
 
void begin ()
 
virtual bool next ()
 
bool isValid ()
 
WFacegetWFace ()
 
Polygon3r getCameraSpacePolygon ()
 
Polygon3rgetGridSpacePolygon ()
 
virtual void getOccluderProscenium (real proscenium[4])
 
virtual real averageOccluderArea ()
 

Protected Member Functions

void buildCachedPolygon ()
 

Protected Attributes

WingedEdgewingedEdge
 
vector< WShape * >::const_iterator currentShape
 
vector< WShape * >::const_iterator shapesEnd
 
vector< WFace * >::const_iterator currentFace
 
vector< WFace * >::const_iterator facesEnd
 
bool valid
 
Polygon3r cachedPolygon
 
const GridHelpers::Transformtransform
 

Detailed Description

Definition at line 20 of file OccluderSource.h.

Constructor & Destructor Documentation

◆ OccluderSource()

Freestyle::OccluderSource::OccluderSource ( const GridHelpers::Transform transform,
WingedEdge we 
)

Definition at line 16 of file OccluderSource.cpp.

References begin().

◆ ~OccluderSource()

Freestyle::OccluderSource::~OccluderSource ( )
virtualdefault

Member Function Documentation

◆ averageOccluderArea()

real Freestyle::OccluderSource::averageOccluderArea ( )
virtual

◆ begin()

void Freestyle::OccluderSource::begin ( )

◆ buildCachedPolygon()

void Freestyle::OccluderSource::buildCachedPolygon ( )
protected

Definition at line 24 of file OccluderSource.cpp.

References cachedPolygon, Freestyle::GridHelpers::enumerateVertices(), and transform.

Referenced by begin(), and next().

◆ getCameraSpacePolygon()

Polygon3r Freestyle::OccluderSource::getCameraSpacePolygon ( )

Definition at line 87 of file OccluderSource.cpp.

References Freestyle::GridHelpers::enumerateVertices().

◆ getGridSpacePolygon()

Polygon3r & Freestyle::OccluderSource::getGridSpacePolygon ( )

◆ getOccluderProscenium()

void Freestyle::OccluderSource::getOccluderProscenium ( real  proscenium[4])
virtual

◆ getWFace()

WFace * Freestyle::OccluderSource::getWFace ( )

Definition at line 82 of file OccluderSource.cpp.

References currentFace, and valid.

◆ isValid()

bool Freestyle::OccluderSource::isValid ( )

◆ next()

bool Freestyle::OccluderSource::next ( )
virtual

Member Data Documentation

◆ cachedPolygon

Polygon3r Freestyle::OccluderSource::cachedPolygon
protected

◆ currentFace

vector<WFace *>::const_iterator Freestyle::OccluderSource::currentFace
protected

Definition at line 43 of file OccluderSource.h.

Referenced by begin(), getWFace(), and next().

◆ currentShape

vector<WShape *>::const_iterator Freestyle::OccluderSource::currentShape
protected

Definition at line 42 of file OccluderSource.h.

Referenced by begin(), and next().

◆ facesEnd

vector<WFace *>::const_iterator Freestyle::OccluderSource::facesEnd
protected

Definition at line 43 of file OccluderSource.h.

Referenced by begin(), and next().

◆ shapesEnd

vector<WShape *>::const_iterator Freestyle::OccluderSource::shapesEnd
protected

Definition at line 42 of file OccluderSource.h.

Referenced by begin(), and next().

◆ transform

const GridHelpers::Transform& Freestyle::OccluderSource::transform
protected

Definition at line 48 of file OccluderSource.h.

Referenced by buildCachedPolygon().

◆ valid

bool Freestyle::OccluderSource::valid
protected

◆ wingedEdge

WingedEdge& Freestyle::OccluderSource::wingedEdge
protected

Definition at line 41 of file OccluderSource.h.

Referenced by begin().


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