Open marwan-abdellah opened 11 months ago
Implementation could use the AdvancedMesh API to construct a mesh object representing the morphology samples, and then split it into multiple meshes directly with the splitPartitions function.
// Load the mesh
std::unique_ptr<Ultraliser::AdvancedMesh> inputMesh =
std::make_unique<Ultraliser::AdvancedMesh>(options->inputMeshPath);
// Split the partitions
std::vector < Ultraliser::AdvancedMesh* > partitions = inputMesh->splitPartitions();
In order to be able to create full mouse brain vasculature datasets, we need a feature to split a single morphology object with multiple partitions into multiple morphology objects, where each object is processed individually.