Defines the Object3DGroup class and some functions around it.
More...
#include <vector>
#include "InterfaceCreation.h"
Go to the source code of this file.
Defines the Object3DGroup class and some functions around it.
◆ from_json()
Conversion from json.
Used for the .get<Object3DGroup>() function.
- Parameters
-
| j | Json input. |
| group | The ouput object group. |
◆ operator<<()
| std::ostream& operator<< |
( |
std::ostream & |
stream, |
|
|
const Object3DGroup & |
group |
|
) |
| |
Ostream operator.
- Parameters
-
| stream | The ostream before. |
| group | The group that will be added to the stream. |
- Returns
- The stream with the group added.
◆ split()
Takes the std::vector of each object group and merge them.
- Parameters
-
| groups | The object group that will be merges. |
- Returns
- All the objects of the object groups.
- Warning
- The pointers are not deeply copied.
◆ to_json()
Conversion to json.
- Parameters
-
| j | Json output. |
| group | The object group that will be converted. |