diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-02-25 03:05:24 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-02-25 03:05:24 +0000 |
commit | b76d161a968ff4a2817e9cfe5c02d3538ef6029f (patch) | |
tree | 6f6ea06c40eef97f651083bea291db042c8bbbba /assetFactory/modelFactoryMesh.h | |
parent | Support for recursive colouring of asset factory faces (diff) | |
download | ilt-b76d161a968ff4a2817e9cfe5c02d3538ef6029f.tar.bz2 ilt-b76d161a968ff4a2817e9cfe5c02d3538ef6029f.tar.xz ilt-b76d161a968ff4a2817e9cfe5c02d3538ef6029f.zip |
Add face name property and wrapper to add a named face
Diffstat (limited to 'assetFactory/modelFactoryMesh.h')
-rw-r--r-- | assetFactory/modelFactoryMesh.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/assetFactory/modelFactoryMesh.h b/assetFactory/modelFactoryMesh.h index 7d222f5..b4f5254 100644 --- a/assetFactory/modelFactoryMesh.h +++ b/assetFactory/modelFactoryMesh.h @@ -32,4 +32,7 @@ struct ModelFactoryMesh : public OpenMesh::PolyMesh_ArrayKernelT<ModelFactoryTra ModelFactoryMesh(); OpenMesh::FPropHandleT<bool> smoothFaceProperty; + OpenMesh::FPropHandleT<std::string> nameFaceProperty; + + std::pair<std::string, OpenMesh::FaceHandle> add_namedFace(std::string name, std::vector<OpenMesh::VertexHandle> p); }; |