Rise
The Vieneo Province
Loading...
Searching...
No Matches
CockpitLightning::Apertures Class Reference

#include <CockpitLightning.h>

Collaboration diagram for CockpitLightning::Apertures:
[legend]

Classes

struct  Triangle
struct  Pane

Public Member Functions

void Clear ()
template<class Vertex>
void Add (unsigned component, const Vertex *vertices, size_t count)
template<class Transform>
Lights Sample (const LocalLightning::Frame &frame, Transform transform, float exposure=1) const

Static Private Member Functions

static bool Intersects (const Triangle &triangle, const RiseMath::Vector3 &eye, const RiseMath::Vector3 &source)

Private Attributes

std::vector< Pane > panes

Detailed Description

Definition at line 20 of file CockpitLightning.h.

Member Function Documentation

◆ Add()

template<class Vertex>
void CockpitLightning::Apertures::Add ( unsigned component,
const Vertex * vertices,
size_t count )
inline

Definition at line 44 of file CockpitLightning.h.

Here is the caller graph for this function:

◆ Clear()

void CockpitLightning::Apertures::Clear ( )
inline

Definition at line 43 of file CockpitLightning.h.

Here is the caller graph for this function:

◆ Intersects()

bool CockpitLightning::Apertures::Intersects ( const Triangle & triangle,
const RiseMath::Vector3 & eye,
const RiseMath::Vector3 & source )
inlinestaticprivate

Definition at line 25 of file CockpitLightning.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Sample()

template<class Transform>
Lights CockpitLightning::Apertures::Sample ( const LocalLightning::Frame & frame,
Transform transform,
float exposure = 1 ) const
inline

Definition at line 57 of file CockpitLightning.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ panes

std::vector<Pane> CockpitLightning::Apertures::panes
private

Definition at line 24 of file CockpitLightning.h.


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