neurolots  0.3.5
NeuroLOTs
nlgenerator::Icosphere Class Reference
+ Collaboration diagram for nlgenerator::Icosphere:

Public Member Functions

NLGENERATOR_API Icosphere (const Eigen::Vector3f &center_=Eigen::Vector3f(0.0f, 0.0f, 0.0f), float radius_=1.0f, unsigned int subdivisionlevel_=3)
 Default constructor.
 
NLGENERATOR_API ~Icosphere ()
 Default destructor.
 
NLGENERATOR_API nlgeometry::Facets compute (const std::vector< JointNodePtr > &joints_)
 Method that computes the final icospehere shape. More...
 
NLGENERATOR_API nlgeometry::Facets surface (void)
 Method that return the final icoshepre shape as facets. More...
 
NLGENERATOR_API nlgeometry::Facets structure (void)
 Method that return the final icoshepre structure as facets. More...
 

Protected Member Functions

void _surface (nlgeometry::Facets &facets_, std::unordered_map< unsigned int, nlgeometry::OrbitalVertexPtr > &vertices_)
 
nlphysics::NodePtr _nearestSurfaceNode (const Eigen::Vector3f &point_) const
 
QuadPtr _nearestSurfaceQuad (const Eigen::Vector3f &point_) const
 
void _subdivideSphere (unsigned int subdivisionlevel_)
 
void _computeCenters (void)
 
nlphysics::NodePtr _middleNode (nlphysics::NodePtr node0_, nlphysics::NodePtr node1_, std::unordered_map< MyPair, nlphysics::NodePtr, std::hash< MyPair > > &newNodes_)
 
nlgeometry::OrbitalVertexPtr _nodeToVertex (nlphysics::NodePtr node_, std::unordered_map< unsigned int, nlgeometry::OrbitalVertexPtr > &vertices_)
 

Protected Attributes

Eigen::Vector3f _center
 Icosphere center position.
 
float _radius
 Icosphere radius.
 
nlphysics::Nodes _nodes
 Icosphere nodes.
 
nlphysics::Nodes _surfaceNodes
 Icosphere surface nodes.
 
nlphysics::Tetrahedra _tetrahedra
 Icosphere tetrahedra.
 
nlphysics::Tetrahedra _surfaceTetrahedra
 Icosphere surface tetrahedra.
 
Quads _surfaceQuads
 Icosphere section quads.
 
nlphysics::Fem_femSystem
 Finite element method system.
 

Detailed Description

Definition at line 141 of file Icosphere.h.

Member Function Documentation

NLGENERATOR_API nlgeometry::Facets nlgenerator::Icosphere::compute ( const std::vector< JointNodePtr > &  joints_)

Method that computes the final icospehere shape.

Parameters
joints_joint nodes that conects to the icospehere
NLGENERATOR_API nlgeometry::Facets nlgenerator::Icosphere::structure ( void  )

Method that return the final icoshepre structure as facets.

Returns
the final icospehere structure as facets
NLGENERATOR_API nlgeometry::Facets nlgenerator::Icosphere::surface ( void  )

Method that return the final icoshepre shape as facets.

Returns
the final icospehere shape as facets

The documentation for this class was generated from the following file: