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

#include <RayDifferential.h>

Public Member Functions

 RayDifferential ()
 
 RayDifferential (const math::Vector3R &dPdX, const math::Vector3R &dPdY, const math::Vector3R &dDdX, const math::Vector3R &dDdY)
 
void transferToSurface (const math::Vector3R &surfaceP, const math::Vector3R &surfaceN)
 
void reverse ()
 
void setPartialPs (const math::Vector3R &dPdX, const math::Vector3R &dPdY)
 
void setPartialDs (const math::Vector3R &dDdX, const math::Vector3R &dDdY)
 
const math::Vector3RgetdPdX () const
 
const math::Vector3RgetdPdY () const
 
const math::Vector3RgetdDdX () const
 
const math::Vector3RgetdDdY () const
 
bool isNonZero () const
 

Constructor & Destructor Documentation

◆ RayDifferential() [1/2]

ph::RayDifferential::RayDifferential ( )

◆ RayDifferential() [2/2]

ph::RayDifferential::RayDifferential ( const math::Vector3R & dPdX,
const math::Vector3R & dPdY,
const math::Vector3R & dDdX,
const math::Vector3R & dDdY )

Member Function Documentation

◆ getdDdX()

const math::Vector3R & ph::RayDifferential::getdDdX ( ) const
inline

◆ getdDdY()

const math::Vector3R & ph::RayDifferential::getdDdY ( ) const
inline

◆ getdPdX()

const math::Vector3R & ph::RayDifferential::getdPdX ( ) const
inline

◆ getdPdY()

const math::Vector3R & ph::RayDifferential::getdPdY ( ) const
inline

◆ isNonZero()

bool ph::RayDifferential::isNonZero ( ) const
inline

◆ reverse()

void ph::RayDifferential::reverse ( )
inline

◆ setPartialDs()

void ph::RayDifferential::setPartialDs ( const math::Vector3R & dDdX,
const math::Vector3R & dDdY )
inline

◆ setPartialPs()

void ph::RayDifferential::setPartialPs ( const math::Vector3R & dPdX,
const math::Vector3R & dPdY )
inline

◆ transferToSurface()

void ph::RayDifferential::transferToSurface ( const math::Vector3R & surfaceP,
const math::Vector3R & surfaceN )

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