Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::DirectEnergyPdfInput Class Referencefinal

Input for DirectEnergyPdfQuery. More...

#include <DirectEnergyPdfQuery.h>

Public Member Functions

void set (const SurfaceHit &X, const SurfaceHit &Xe)
 
void set (const math::Vector3R &targetPos, const SurfaceHit &Xe)
 
const math::Vector3RgetTargetPos () const
 
const SurfaceHitgetXe () const
 
math::Vector3R getEmitPos () const
 
math::Vector3R getEmitPosNormal () const
 
const PrimitivegetSrcPrimitive () const
 
uint64 getSrcFaceID () const
 

Detailed Description

Member Function Documentation

◆ getEmitPos()

math::Vector3R ph::DirectEnergyPdfInput::getEmitPos ( ) const
inline
Returns
The position that emits energy.

◆ getEmitPosNormal()

math::Vector3R ph::DirectEnergyPdfInput::getEmitPosNormal ( ) const
inline
Returns
Normal of the position that emits energy.

◆ getSrcFaceID()

uint64 ph::DirectEnergyPdfInput::getSrcFaceID ( ) const
inline
Returns
Face ID of the surface that emits energy.

◆ getSrcPrimitive()

const Primitive & ph::DirectEnergyPdfInput::getSrcPrimitive ( ) const
inline
Returns
The surface that emits energy.

◆ getTargetPos()

const math::Vector3R & ph::DirectEnergyPdfInput::getTargetPos ( ) const
inline
Returns
The position that receives energy.

◆ getXe()

const SurfaceHit & ph::DirectEnergyPdfInput::getXe ( ) const
inline
Returns
Information about the energy emitting position.

◆ set() [1/2]

void ph::DirectEnergyPdfInput::set ( const math::Vector3R & targetPos,
const SurfaceHit & Xe )
inline

◆ set() [2/2]

void ph::DirectEnergyPdfInput::set ( const SurfaceHit & X,
const SurfaceHit & Xe )
inline

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