17 const std::string& name,
18 std::map<std::string, std::vector<int64_t>> multimesh_names,
19 std::shared_ptr<Mesh> root =
nullptr);
22 void load(
const std::filesystem::path& path);
23 void load(std::shared_ptr<Mesh> root);
29 std::shared_ptr<Mesh>
get(
const std::string& name);
32 const std::vector<int64_t>&
get_id(
const std::string& name)
const;
const std::map< std::string, std::vector< int64_t > > & get_multimesh_names() const
std::map< std::string, std::vector< int64_t > > m_multimesh_names
std::shared_ptr< Mesh > get_from_path(const std::string &name)
std::shared_ptr< Mesh > get(const std::string &name)
void load(const std::filesystem::path &path)
CachedMultiMesh(const std::string &name, std::map< std::string, std::vector< int64_t >> multimesh_names, std::shared_ptr< Mesh > root=nullptr)
CachedMultiMesh & operator=(CachedMultiMesh &&)
const std::vector< int64_t > & get_id(const std::string &name) const
const std::vector< int64_t > & get_id_from_path(const std::string &name) const
std::shared_ptr< Mesh > get_root()
std::shared_ptr< Mesh > m_root
CachedMultiMesh(CachedMultiMesh &&)