MeshLib C++ Docs
Loading...
Searching...
No Matches
MRLoadedObjects.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMeshFwd.h"
4#include <memory>
5
6namespace MR
7{
8
9class ObjectVoxels;
10using ObjectPtr = std::shared_ptr<Object>;
11
13template<typename ObjectT = Object>
15{
16 std::shared_ptr<ObjectT> obj;
17 std::string warnings; //either empty or ends with '\n'
18};
19
25
28{
29 std::vector<ObjectPtr> objs;
30 std::string warnings; //either empty or ends with '\n'
31};
32
33} //namespace MR
std::shared_ptr< Object > ObjectPtr
Definition MRLoadedObjects.h:10
result of loading (e.g. from a file) as one object (with possible subobjects)
Definition MRLoadedObjects.h:15
std::shared_ptr< ObjectT > obj
Definition MRLoadedObjects.h:16
std::string warnings
Definition MRLoadedObjects.h:17
result of loading (e.g. from a file) as a number of objects
Definition MRLoadedObjects.h:28
std::string warnings
Definition MRLoadedObjects.h:30
std::vector< ObjectPtr > objs
Definition MRLoadedObjects.h:29