PhotoGENius V1.0.0
A basic library for generating photorealistic images, developed for the course Numerical techniques for photorealistic image generation.
Public Member Functions | Public Attributes | List of all members
PGENLib.OnOffRenderer Class Reference

A on/off renderer, produces black and white images and is useful for debugging purposes. Other than Renderer's member it has the third member

Color type Color
More...

Inheritance diagram for PGENLib.OnOffRenderer:
PGENLib.Renderer

Public Member Functions

 OnOffRenderer (World world, Color backGroundColor=default)
 
 OnOffRenderer (Color color, World world, Color backGroundColor=default)
 
override Color Call (Ray ray)
 Virtual method to Estimate the radiance along a ray. Find it overwritten in class OnOffRenderer and FlatRenderer More...
 
virtual Color Call (Ray ray)
 Virtual method to Estimate the radiance along a ray. Find it overwritten in class OnOffRenderer and FlatRenderer More...
 

Public Attributes

Color Color
 
- Public Attributes inherited from PGENLib.Renderer
World World
 
Color BackgroundColor
 

Additional Inherited Members

- Protected Member Functions inherited from PGENLib.Renderer
 Renderer (World world, Color backgroundColor=default)
 

Detailed Description

A on/off renderer, produces black and white images and is useful for debugging purposes. Other than Renderer's member it has the third member

Color type Color

Member Function Documentation

◆ Call()

override Color PGENLib.OnOffRenderer.Call ( Ray  ray)
virtual

Virtual method to Estimate the radiance along a ray. Find it overwritten in class OnOffRenderer and FlatRenderer

Parameters
ray
Returns
Exceptions
NotImplementedException

Reimplemented from PGENLib.Renderer.


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