|
static NLGENERATOR_API nlgeometry::MeshPtr | generateMesh (nsol::MorphologyPtr morphology_) |
| Static method that return a mesh generated from the given morphology. More...
|
|
static NLGENERATOR_API nlgeometry::MeshPtr | generateMesh (nsol::NeuronMorphologyPtr morphology_, float alphaRadius_, const std::vector< float > &alphaNeurites_) |
| Static method that return a mesh generated from the given morphology changing some morphology params. More...
|
|
static NLGENERATOR_API nlgeometry::MeshPtr | generateStructureMesh (nsol::MorphologyPtr morphology_, NodeIdToVertices &nodeIdToVertices_, Eigen::Vector3f color_=Eigen::Vector3f(0.0f, 0.0f, 0.0f), bool generateNodes_=false, float offset_=0.9f) |
| Static method that return a structure mesh generated from the given morphology. More...
|
|
static NLGENERATOR_API void | verticesToIndices (NodeIdToVertices &nodeIdToVertices_, NodeIdToVerticesIds &nodeIdToVerticesIds_) |
| Static method that fill the node index to vertices indices structure. More...
|
|
static NLGENERATOR_API void | conformBuffer (std::vector< unsigned int > &nodeIds_, NodeIdToVerticesIds &nodeIdToVerticesIds_, std::vector< float > &buffer_, Eigen::Vector3f value_) |
| Static method that fills the buffer with the given value for the vertices related to the given node indices. More...
|
|
|
static nlgeometry::MeshPtr | _generateMorphology (nsol::MorphologyPtr morphology_) |
|
static nlgeometry::MeshPtr | _generateMophology (nsol::NeuronMorphologyPtr morphology_) |
|
static std::unordered_map< nsol::NodePtr, JointNodePtr > | _vectorizeJoints (const nsol::Sections §ions_) |
|
static void | _vectorizeJoints (std::set< nsol::SectionPtr > &uniqueSections_, const nsol::SectionPtr §ion_, std::unordered_map< nsol::NodePtr, JointNodePtr > &joints_) |
|
static nlgeometry::Facets | _meshSections (const nsol::Sections §ions_, std::unordered_map< nsol::NodePtr, JointNodePtr > &joints_) |
|
static void | _meshSections (std::set< nsol::SectionPtr > &uniqueSections_, const nsol::SectionPtr §ion_, std::unordered_map< nsol::NodePtr, JointNodePtr > &joints_, nlgeometry::Facets &facets_) |
|
static void | _vectorizeSections (nlgeometry::MeshPtr mesh_, const nsol::SectionPtr section_, std::set< nsol::SectionPtr > &uniqueSections_, NodeIdToVertices &nodeIdToVertices_, Eigen::Vector3f color_, bool generateNodes_, float offset_) |
|
static nlgeometry::Facets | _generateCube (nsol::NodePtr node_, NodeIdToVertices &nodeIdToVertices_, Eigen::Vector3f color_, float offset_) |
|
Definition at line 45 of file MeshGenerator.h.
static NLGENERATOR_API void nlgenerator::MeshGenerator::conformBuffer |
( |
std::vector< unsigned int > & |
nodeIds_, |
|
|
NodeIdToVerticesIds & |
nodeIdToVerticesIds_, |
|
|
std::vector< float > & |
buffer_, |
|
|
Eigen::Vector3f |
value_ |
|
) |
| |
|
static |
Static method that fills the buffer with the given value for the vertices related to the given node indices.
- Parameters
-
nodeIds_ | vector of morphology node indices |
nodeIdToVerticesIds_ | output structure that keeps the relationship between morphology node index and mesh vertices indices |
buffer_ | float buffer to fill |
value_ | value to insert in the buffer |
static NLGENERATOR_API nlgeometry::MeshPtr nlgenerator::MeshGenerator::generateMesh |
( |
nsol::MorphologyPtr |
morphology_ | ) |
|
|
static |
Static method that return a mesh generated from the given morphology.
- Parameters
-
moprholgy_ | to be reconstructed |
- Returns
- a mesh generated from the given morphology
static NLGENERATOR_API nlgeometry::MeshPtr nlgenerator::MeshGenerator::generateMesh |
( |
nsol::NeuronMorphologyPtr |
morphology_, |
|
|
float |
alphaRadius_, |
|
|
const std::vector< float > & |
alphaNeurites_ |
|
) |
| |
|
static |
Static method that return a mesh generated from the given morphology changing some morphology params.
- Parameters
-
moprholgy_ | to be reconstructed |
alphaRadius_ | param to change the morphology soma radius |
alphaNeurites_ | param to change the distance of the morphology neurites with the morphology soma |
- Returns
- a mesh generated from the given morphology
static NLGENERATOR_API nlgeometry::MeshPtr nlgenerator::MeshGenerator::generateStructureMesh |
( |
nsol::MorphologyPtr |
morphology_, |
|
|
NodeIdToVertices & |
nodeIdToVertices_, |
|
|
Eigen::Vector3f |
color_ = Eigen::Vector3f(0.0f, 0.0f, 0.0f) , |
|
|
bool |
generateNodes_ = false , |
|
|
float |
offset_ = 0.9f |
|
) |
| |
|
static |
Static method that return a structure mesh generated from the given morphology.
- Parameters
-
moprholgy_ | to be reconstructed |
nodeToVertices_ | structure that keeps the relationship between morphology nodes index and mesh vertices |
- Returns
- a structure mesh generated from the given morphology
static NLGENERATOR_API void nlgenerator::MeshGenerator::verticesToIndices |
( |
NodeIdToVertices & |
nodeIdToVertices_, |
|
|
NodeIdToVerticesIds & |
nodeIdToVerticesIds_ |
|
) |
| |
|
static |
Static method that fill the node index to vertices indices structure.
- Parameters
-
nodeToVertices_ | input structure that keeps the relationship between morphology node index and mesh vertices |
nodeIdToVerticesIds_ | output structure that keeps the relationship between morphology node index and mesh vertices indices |
The documentation for this class was generated from the following file: