refactoredCPPNeuronMesher
neuronugx.cpp File Reference

Implementation of UGX file format support for neuron morphologies. More...

#include <array>
#include "neurongraph.h"
#include <numeric>
#include <tinyxml2.h>
Include dependency graph for neuronugx.cpp:
This graph shows which files directly or indirectly include this file:

Detailed Description

Implementation of UGX file format support for neuron morphologies.

This file provides functionality to read from and write to the UGX file format, which is commonly used in the UG4 simulation framework. It handles the conversion between the internal SWC-based neuron representation and the UG4 grid format.

Key features:

  • Export neuron morphologies to UGX format for visualization and simulation
  • Import UGX files while preserving node properties and connectivity
  • Support for different neuron components (soma, axon, dendrites) via subsets
  • Maintains 3D coordinates, diameters, and topological relationships

The UGX format is an XML-based format that represents graphs with additional attributes, making it suitable for complex neuron morphologies with different types of neural processes.

Author
CPPNeuronMesher Team
Date
2025-07-27
Version
1.0
See also
https://github.com/yourusername/refactoredCPPNeuronMesher