TinyRaytracer 0.1
A simple C++ raytracer
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Object Class Referenceabstract

The object class, both BVH nodes and objects in the scene. More...

#include <object.hpp>

Inheritance diagram for Object:
BVH Sphere Triangle

Public Member Functions

virtual ObjectInfo checkObject (Ray &ray)=0
 
virtual void setProperties (RGB, RGB, double, double)
 
virtual AABB getBox ()=0
 

Public Attributes

AABB bbox
 Axis-aligned bounding box for the Object class. For BVH traversal.
 

Detailed Description

The object class, both BVH nodes and objects in the scene.

Member Function Documentation

◆ getBox()

virtual AABB Object::getBox ( )
pure virtual

Implemented in Sphere.

◆ setProperties()

virtual void Object::setProperties ( RGB  ,
RGB  ,
double  ,
double   
)
inlinevirtual

Reimplemented in Sphere.


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