MorphoGraphX  2.0-1-227
Namespaces | Typedefs | Functions
CellAtlasUtils.hpp File Reference
#include <Process.hpp>
#include <GraphUtils.hpp>
#include <ImageData.hpp>
#include <Triangulate.hpp>

Go to the source code of this file.

Namespaces

 mgx
 Distributed matrix library.
 

Typedefs

typedef std::map< int, std::vector< vertex > > mgx::labelVertexMap
 
typedef std::pair< int, std::vector< vertex > > mgx::labelVertexVecPair
 
typedef std::map< int, std::map< int, double > > mgx::cellMorphLandscape
 
typedef std::map< int, std::vector< int > > mgx::intToVec
 
typedef std::map< Point2i, double > mgx::P2iDMap
 
typedef std::pair< Point2i, double > mgx::P2iDPair
 

Functions

bool mgx::neighborhoodGraphLocal (const vvGraph &S, double tolerance, std::map< int, double > &cellWallArea, std::map< IntInt, double > &wallArea, std::map< int, double > &outsideWallArea)
 calculates the neighborhood graph, return data structure for total cell wall area and shared wall area between neighboring cells More...
 
int mgx::findSelectedLabel (const vvGraph &S)
 find ONE selected vertex in a vvGraph and return its label return 0 if nothing is selected More...
 
bool mgx::findTwoSelectedLabels (const vvGraph &S, int &label1, int &label2)
 find selected vertices in a vvGraph and return their TWO (different) labels return false if less than two different labels are selected More...
 
bool mgx::pointInCone (Point3d axisVec, Point3d &coneTop, Point3d &coneBase, double coneAngle, Point3d &pointToTest)
 return true if a point is inside a cone More...
 
double mgx::gauss1D (double x, double muX, double sigmaX)
 returns the value of a 1D gaussian function More...
 
double mgx::calcCircumferential (Point3d dirRadRef, Point3d dirLongRef, Point3d cellCenter, Point3d cellOnLong)
 
Point3d mgx::inPrimCoord (double radiant, Point3d dirRadRef, Point3d dirLongRef)
 
void mgx::findMinMax (std::map< int, double > &map, double &min, double &max)
 
void mgx::differentialOfBezierGrid (std::vector< std::vector< Point3d > > &bezierGrid, Point2i &p, Point3d &diffU, Point3d &diffV)
 
double mgx::cartesianToOrganCoordsLong (Point3d cartesianCoords, std::map< int, Point3d > &bMap, Point3d &closestPoint)