Path Tracer
Classes | Functions
Object3D.h File Reference

Defines the Object3D class and some functions around it. More...

#include <string>
#include "DiffuseMaterial.h"
Include dependency graph for Object3D.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Object3D
 Abstract class for a three-dimentional object. More...
 

Functions

std::ostream & operator<< (std::ostream &stream, const Object3D &object)
 Ostream operator. More...
 

Detailed Description

Defines the Object3D class and some functions around it.

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  stream,
const Object3D object 
)

Ostream operator.

Calls the Object3D::getDescription() method.

Parameters
streamThe ostream before.
objectThe object that will be added to the stream.
Returns
The stream with the object added.
See also
Object3D::getDescription()