Mitsuba Renderer  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mitsuba::RayDifferential Struct Reference

Ray differential – enhances the basic ray class with information about the rays of adjacent pixels on the view plane More...

#include <mitsuba/core/ray.h>

+ Inheritance diagram for mitsuba::RayDifferential:

Public Member Functions

 RayDifferential ()
 
 RayDifferential (const Point &p, const Vector &d, Float time)
 
 RayDifferential (const Ray &ray)
 
 RayDifferential (const RayDifferential &ray)
 
void scaleDifferential (Float amount)
 
void scaleDifferentialUV (const Vector2 amountUV)
 
void operator= (const RayDifferential &ray)
 
void operator= (const Ray &ray)
 
std::string toString () const
 Return a string representation of this ray. More...
 

Public Attributes

Point rxOrigin
 
Point ryOrigin
 
Vector rxDirection
 
Vector ryDirection
 
bool hasDifferentials
 

Detailed Description

Ray differential – enhances the basic ray class with information about the rays of adjacent pixels on the view plane

Constructor & Destructor Documentation

mitsuba::RayDifferential::RayDifferential ( )
inline
mitsuba::RayDifferential::RayDifferential ( const Point p,
const Vector d,
Float  time 
)
inline
mitsuba::RayDifferential::RayDifferential ( const Ray ray)
inlineexplicit
mitsuba::RayDifferential::RayDifferential ( const RayDifferential ray)
inline

Member Function Documentation

void mitsuba::RayDifferential::operator= ( const RayDifferential ray)
inline
void mitsuba::RayDifferential::operator= ( const Ray ray)
inline
void mitsuba::RayDifferential::scaleDifferential ( Float  amount)
inline
void mitsuba::RayDifferential::scaleDifferentialUV ( const Vector2  amountUV)
inline
std::string mitsuba::RayDifferential::toString ( ) const
inline

Return a string representation of this ray.

Member Data Documentation

bool mitsuba::RayDifferential::hasDifferentials
Vector mitsuba::RayDifferential::rxDirection
Point mitsuba::RayDifferential::rxOrigin
Vector mitsuba::RayDifferential::ryDirection
Point mitsuba::RayDifferential::ryOrigin

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