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

A uniform pigment. More...

Inheritance diagram for PGENLib.UniformPigment:
PGENLib.Pigment

Public Member Functions

 UniformPigment (Color color=default)
 Constructor More...
 
override Color GetColor (Vec2d uv)
 Associates a uniform color to the whole surface. More...
 
virtual Color GetColor (Vec2d uv)
 Calculate a color (type color) associated with a (u,v) coordinate. More...
 

Additional Inherited Members

- Protected Member Functions inherited from PGENLib.Pigment
 Pigment (Color color=default)
 
- Protected Attributes inherited from PGENLib.Pigment
Color Color
 

Detailed Description

A uniform pigment.

Constructor & Destructor Documentation

◆ UniformPigment()

PGENLib.UniformPigment.UniformPigment ( Color  color = default)

Constructor

Parameters
color

Member Function Documentation

◆ GetColor()

override Color PGENLib.UniformPigment.GetColor ( Vec2d  uv)
virtual

Associates a uniform color to the whole surface.

Parameters
uv
Returns
Color

Reimplemented from PGENLib.Pigment.


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