raytracer
Parallel Ray Tracer written from scratch (no graphics API).
Loading...
Searching...
No Matches
raytracer::raytracer::CameraBuilder Class Reference

#include <camera.h>

Public Member Functions

 CameraBuilder ()
CameraBuilder & with_screen_dimensions (int width, int height) &
CameraBuilder & with_focal_length (double focal_length) &
CameraBuilder & with_origin (const common::Vec3 &origin) &
CameraBuilder & with_direction (const common::Vec3 &direction) &
CameraBuilder & with_world_up (const common::Vec3 &direction) &
CameraBuilder & with_virtual_screen_boundaries (double left, double top, double right, double bottom) &
CameraBuilder & with_view_type (ViewType view_type) &
CameraBuilder & with_color_channels (int color_channels) &
CameraBuilder & with_rays_per_pixel (int rays_per_pixel) &
CameraBuilder & with_max_recursion_depth (int max_recursion_depth) &
Camera build () const

Constructor & Destructor Documentation

◆ CameraBuilder()

raytracer::raytracer::CameraBuilder::CameraBuilder ( )
default
Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ build()

Camera raytracer::raytracer::CameraBuilder::build ( ) const
nodiscard
Here is the call graph for this function:
Here is the caller graph for this function:

◆ with_color_channels()

CameraBuilder & raytracer::raytracer::CameraBuilder::with_color_channels ( int color_channels) &
Here is the call graph for this function:
Here is the caller graph for this function:

◆ with_direction()

CameraBuilder & raytracer::raytracer::CameraBuilder::with_direction ( const common::Vec3 & direction) &
Here is the call graph for this function:
Here is the caller graph for this function:

◆ with_focal_length()

CameraBuilder & raytracer::raytracer::CameraBuilder::with_focal_length ( double focal_length) &
Here is the call graph for this function:
Here is the caller graph for this function:

◆ with_max_recursion_depth()

CameraBuilder & raytracer::raytracer::CameraBuilder::with_max_recursion_depth ( int max_recursion_depth) &
Here is the call graph for this function:
Here is the caller graph for this function:

◆ with_origin()

CameraBuilder & raytracer::raytracer::CameraBuilder::with_origin ( const common::Vec3 & origin) &
Here is the call graph for this function:
Here is the caller graph for this function:

◆ with_rays_per_pixel()

CameraBuilder & raytracer::raytracer::CameraBuilder::with_rays_per_pixel ( int rays_per_pixel) &
Here is the call graph for this function:
Here is the caller graph for this function:

◆ with_screen_dimensions()

CameraBuilder & raytracer::raytracer::CameraBuilder::with_screen_dimensions ( int width,
int height ) &
Here is the call graph for this function:
Here is the caller graph for this function:

◆ with_view_type()

CameraBuilder & raytracer::raytracer::CameraBuilder::with_view_type ( ViewType view_type) &
Here is the call graph for this function:
Here is the caller graph for this function:

◆ with_virtual_screen_boundaries()

CameraBuilder & raytracer::raytracer::CameraBuilder::with_virtual_screen_boundaries ( double left,
double top,
double right,
double bottom ) &
Here is the call graph for this function:
Here is the caller graph for this function:

◆ with_world_up()

CameraBuilder & raytracer::raytracer::CameraBuilder::with_world_up ( const common::Vec3 & direction) &
Here is the call graph for this function:
Here is the caller graph for this function:

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