feat: add obj reader

This commit is contained in:
parker
2025-08-01 16:04:35 +01:00
parent ab6b5ac935
commit 92bfc8ff26
9 changed files with 176 additions and 19 deletions

View File

@@ -6,6 +6,7 @@
#include <vector>
#include "Engine/Operator/Attribute.h"
#include "Engine/Types.h"
#include "tbb/concurrent_vector.h"
#include <iostream>
@@ -54,9 +55,10 @@ public:
data_->push_back(value);
}
// TODO: replace with iterator
std::vector<T> getAllValues() const
{
return *data_;
return {data_->begin(), data_->end()};
}
size_t getSize()
@@ -96,7 +98,7 @@ private:
std::string name_="";
std::shared_ptr<std::vector<T>> data_;
std::shared_ptr<StoreContainer<T>> data_;
// int typeID_;