RayTracer 1.0
Ray tracing is a technique used to generate realistic digital images by simulating the inverse path of light. Our goal is to create a program able to generate an image from a file describing the scene.
 
Loading...
Searching...
No Matches
Config::Camera Class Reference

#include <ConfigParser.hpp>

Public Member Functions

 Camera ()
 

Public Attributes

int width
 
int height
 
Math::Point3D position
 
Math::Vector3D rotation
 
double fieldOfView
 

Detailed Description

Definition at line 20 of file ConfigParser.hpp.

Constructor & Destructor Documentation

◆ Camera()

Config::Camera::Camera ( )
inline

Definition at line 28 of file ConfigParser.hpp.

28: width(0), height(0) , position(), rotation() , fieldOfView(0.0) {}
Math::Point3D position
Math::Vector3D rotation

References fieldOfView, height, position, rotation, and width.

Member Data Documentation

◆ fieldOfView

double Config::Camera::fieldOfView

Definition at line 26 of file ConfigParser.hpp.

◆ height

int Config::Camera::height

Definition at line 23 of file ConfigParser.hpp.

◆ position

Math::Point3D Config::Camera::position

Definition at line 24 of file ConfigParser.hpp.

◆ rotation

Math::Vector3D Config::Camera::rotation

Definition at line 25 of file ConfigParser.hpp.

◆ width

int Config::Camera::width

Definition at line 22 of file ConfigParser.hpp.


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