|
Path Tracer
|
#include "Object3DGroup.h"Functions | |
| std::ostream & | operator<< (std::ostream &stream, const Object3DGroup &group) |
| Ostream operator. More... | |
| std::vector< Object3D * > | split (const std::vector< Object3DGroup > &groups) |
| Takes the std::vector of each object group and merge them. More... | |
| void | to_json (json &j, const Object3DGroup &group) |
| Conversion to json. More... | |
| void | from_json (const json &j, Object3DGroup &group) |
| Conversion from json. More... | |
| void from_json | ( | const json & | j, |
| Object3DGroup & | group | ||
| ) |
Conversion from json.
Used for the .get<Object3DGroup>() function.
| j | Json input. |
| group | The ouput object group. |
| std::ostream & operator<< | ( | std::ostream & | stream, |
| const Object3DGroup & | group | ||
| ) |
Ostream operator.
| stream | The ostream before. |
| group | The group that will be added to the stream. |
| std::vector< Object3D * > split | ( | const std::vector< Object3DGroup > & | groups | ) |
Takes the std::vector of each object group and merge them.
| groups | The object group that will be merges. |
| void to_json | ( | json & | j, |
| const Object3DGroup & | group | ||
| ) |
Conversion to json.
| j | Json output. |
| group | The object group that will be converted. |