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

General information for a ray-primitive intersection. More...

#include <HitInfo.h>

Public Member Functions

 HitInfo ()
 
void setAttributes (const math::Vector3R &pos, const math::Vector3R &geometryNormal, const math::Vector3R &shadingNormal)
 
void setDerivatives (const math::Vector3R &dPdU, const math::Vector3R &dPdV, const math::Vector3R &dNdU, const math::Vector3R &dNdV)
 
void computeBases ()
 
math::Vector3R getPos () const
 
math::Vector3R getShadingNormal () const
 
math::Vector3R getGeometryNormal () const
 
math::Vector3R getdPdU () const
 
math::Vector3R getdPdV () const
 
math::Vector3R getdNdU () const
 
math::Vector3R getdNdV () const
 
const math::Basis3RgetGeometryBasis () const
 
const math::Basis3RgetShadingBasis () const
 

Detailed Description

General information for a ray-primitive intersection.

Constructor & Destructor Documentation

◆ HitInfo()

ph::HitInfo::HitInfo ( )

Member Function Documentation

◆ computeBases()

void ph::HitInfo::computeBases ( )
inline

◆ getdNdU()

math::Vector3R ph::HitInfo::getdNdU ( ) const
inline

◆ getdNdV()

math::Vector3R ph::HitInfo::getdNdV ( ) const
inline

◆ getdPdU()

math::Vector3R ph::HitInfo::getdPdU ( ) const
inline

◆ getdPdV()

math::Vector3R ph::HitInfo::getdPdV ( ) const
inline

◆ getGeometryBasis()

const math::Basis3R & ph::HitInfo::getGeometryBasis ( ) const
inline

◆ getGeometryNormal()

math::Vector3R ph::HitInfo::getGeometryNormal ( ) const
inline

◆ getPos()

math::Vector3R ph::HitInfo::getPos ( ) const
inline

◆ getShadingBasis()

const math::Basis3R & ph::HitInfo::getShadingBasis ( ) const
inline

◆ getShadingNormal()

math::Vector3R ph::HitInfo::getShadingNormal ( ) const
inline

◆ setAttributes()

void ph::HitInfo::setAttributes ( const math::Vector3R & pos,
const math::Vector3R & geometryNormal,
const math::Vector3R & shadingNormal )
inline

◆ setDerivatives()

void ph::HitInfo::setDerivatives ( const math::Vector3R & dPdU,
const math::Vector3R & dPdV,
const math::Vector3R & dNdU,
const math::Vector3R & dNdV )
inline

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