MorphoGraphX  2.0-1-227
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
mgx Namespace Reference

Distributed matrix library. More...

Namespaces

 comp
 
 ForAll
 Contains all the classes related to the graphs.
 
 Information
 

Classes

class  _EmptyEdgeContent
 
class  ActualPlaneStack
 
class  AdaptiveSubdivideBorderMesh
 
class  AdaptiveSubdivideSignalMesh
 
class  AddNoiseStack
 
struct  addOP
 
struct  addToDiagOP
 
class  AlignCanvas
 
class  AnalysisDivPlanes
 
class  AnalyzeCells
 
class  AnalyzeLeafPrimSurf
 
class  AnalyzeMeristem
 
class  AnalyzeSurface
 
class  AngleTwoPlanes
 
class  AnimationAddKeyFrame
 
class  AnimationClear
 
class  AnimationLoad
 
class  AnimationPlay
 
class  AnimationSave
 
class  AnisotropyCurvature
 
class  Annihilate
 
class  ApplyHeat
 
class  ApplyMaskLabels
 
class  ApplyMaskToStack
 
class  ApplyTransferFunction
 
struct  Arc
 Type of a undirected edge (or arc) More...
 
class  AreaSelectedTris
 
class  AssignColumella
 
class  AssignCorticalCells
 
class  Attributes
 Holds a set of attributes. More...
 
class  AttrMap
 Attribute map wraps std::map. More...
 
class  AutoScaleStack
 
class  AutoTrim
 
class  AverageCurvature
 
struct  AverageKernel
 
class  AveragePDGs
 
class  AverageStack
 
struct  BaseIterator
 
class  Bezier
 
class  BezierFromCellFile
 
class  BezierSurface
 
class  BezierSurfaceGrowth
 
class  BezierSurfaceParms
 
class  BinarizeStack
 
class  BlobDetect
 
class  BoundingBox
 
class  BrightenStack
 
class  CellAnalysis3D
 
class  CellAtlas
 
struct  CellAtlasConfig
 
struct  CellAtlasData
 
class  CellAtlasFindCells
 
struct  CellAtlasPrimordiumData
 
class  CellAtlasStack
 
class  CellAxisAngles
 
class  CellAxisAngles3D
 
class  CellAxisAttrMapExport
 
class  CellAxisAttrMapImport
 
class  CellData
 
class  CellDivide
 
struct  CellDivideMgx2d
 
class  CellDivision
 
class  CellDivisionAttr
 
class  CellDivisionMGXM
 
class  CellGraph3D
 
class  CellTissue
 
struct  CellTissueMgx2d
 
class  CellTissueParms
 
class  CellTypeRecognitionAllMeasures
 
class  ChangeVoxelSize
 
class  CImgGaussianBlurStack
 
class  CImgLaplaceStack
 
class  CImgMedianBlurStack
 
class  CircIterator
 
class  CleanHeatMap
 
class  ClearAttrMap
 
class  ClearCellAxis
 
class  ClearMainStack
 
class  ClearMeshSignal
 
class  ClearWorkStack
 
class  Clip
 
class  ClipRegion
 
class  ClipStack
 
class  CloseStackLabel
 
class  ClosingStack
 
class  CollapseBezier
 
class  CollapseBezierCellAtlas
 
class  Color
 A utility class to encapsulate color data. More...
 
class  Colorbar
 
class  ColorGradient
 
class  ColorMap
 
class  ColorMapProcess
 
class  Colors
 
class  CombineAttrMaps
 
class  CombineStacks
 
class  ComputeDivPlaneAngles
 
class  ComputeHeatMap
 
class  ComputeVolume
 
class  ConsolidateRegions
 
class  ConsolidateRegionsNormalized
 
class  Contour
 Contour utility class. More...
 
class  ConvertToMgx2d
 
class  ConvertToMgx3d
 
class  ConvertToMgxc
 
class  ConvertToMgxm
 
class  CopyCustomDirections
 
class  CopyLabelsToParents
 
class  CopyMainToWork
 
class  CopyParentsToLabels
 
class  CopySwapMeshes
 
class  CopySwapStacks
 
class  CopyWorkToMain
 
class  CorrectLabeling
 
class  CorrectLabelingStack
 
class  CorrectParents
 
class  CorrespondenceJunctions
 
class  CountSelectedCells
 
class  CreateAttrMap
 
class  CreateCustomDirectionsBezier
 
class  CreateCustomDirectionsBezier3D
 
class  CreateCustomDirectionsBezierLine
 
class  CreateCustomDirectionsBezierLine3D
 
class  CreateCustomDirectionsHeat
 
class  CreateCustomDirectionsSurface
 
class  CreateIntrinsicHeat
 
class  CreateJunctionGraph
 
class  CreateJunctionGraphStack
 
class  CreateParentAttr
 
class  CreatePlaneFromSelectedVtxs
 
class  Curvature
 
class  CurvatureMeasure
 
class  CustomDirectionsAngle
 
class  CustomDirectionsAngle3D
 
class  CustomDirectionsClear
 
class  CustomDirectionsEnforceOrthogonality
 
class  CutSurf
 
class  CuttingSurface
 
class  CuttingSurfMesh
 
class  DataAnalysis
 
class  DataAnalysisGUS
 
class  DataAnalyzer
 
class  DeleteEdge
 
class  DeleteHeatRangeLabels
 
class  DeleteOutsideMesh
 
class  DetectCellLayers
 
class  DetectCellLayers2
 
class  DetectLayers
 
class  DiffGaussians
 
struct  DilateKernel
 
struct  DilateMaskKernel
 
class  DilateStack
 
class  DisplayAllPlanes
 
class  DisplayCellAxisFromTensor
 
class  DisplayCellData
 
class  DisplayCellGraph
 
class  DisplayCellGraph2D
 
class  DisplayCellGraph3D
 
class  DisplayCustomOrientations
 
class  DisplayCustomOrientations3D
 
class  DisplayFibrilOrientations
 
class  DisplayFibrilOrientationsVertex
 
class  DisplayOptimalPlanes
 
class  DisplayOptimalPlanesSimple
 
class  DisplayPCA
 
class  DisplayPCA3D
 
class  DisplayPCAOld
 
class  DisplayPDGs
 
class  DisplayPDGsVertex
 
class  DisplayShortestPath
 
class  DisplaySignalOrientation
 
class  DisplaySignalOrientation3D
 
class  DisplayTissueCurvature
 
class  DistanceCells
 
class  DistanceNuclei
 
class  DistanceStackToMesh
 
class  DistEdge
 
class  DistEdgeAttr
 
class  DistEdgeGraph
 
class  DistNhbd
 
class  DistVertex
 
class  DistVertexAttr
 
class  DistVertexGraph
 
class  DivideCell3DMGX3D
 
struct  DivisionAnalysisConfig
 
class  DivisionAnalysisData
 
class  DivisionAnalysisMulti2D
 
class  DivisionAnalysisMulti3D
 
class  DivisionAnalysisMulti3DOld
 
class  DivisionDataNew
 
struct  DivisionParms
 
class  DivisionPlane
 
class  DivisionPlaneHeat
 
struct  DivPlane
 
class  DMatrix
 
class  DVector
 
class  Edge
 
class  EdgeData
 
class  EdgeDetectProcess
 
class  EditMarkersDlg
 
class  EraseAtBorderStack
 
struct  ErodeKernel
 
struct  ErodeLabelsKernel
 
struct  ErodeMaskKernel
 
class  ErodeStack
 
class  ExamineBadVasculature
 
class  ExplodeMesh
 
class  ExportInternalAngles
 
class  ExportJunctionAngles
 
class  ExportJunctionAnglesNew
 
class  ExportPlaneData
 
class  ExtendByConnectivity
 
class  ExtendCells
 
class  ExtendSelectionByNeighbors
 
class  FibrilOrientations
 
class  FibrilOrientationsVertex
 
struct  FileDataType
 
struct  FileEFactorDataType
 
class  FileListWidget
 
class  FillHolesProcess
 
class  FillLabelStack
 
class  FillStack3D
 
class  FillStackToMesh
 
class  FilterPlanes
 
class  FilterStack
 
class  FindCellWallCenters
 
class  FixBorderTriangles
 
class  FixMeshCorners
 
class  FlatDivisionPlane
 
class  FlatDivisionPlane2D
 
class  FlatDivisionPlane3D
 
class  FlipBezierLine
 
class  Function
 A utility class for functions. More...
 
class  GaussianBlurStack
 
class  GaussianCurvature
 
class  GLSLValue
 
class  GrabLabelsSegment
 
class  GrowthAnalysis3D
 
class  GrowthDirections
 
class  Guard
 
class  HeatAndChangeMap
 
class  HeatMapAllMeasures2D
 
class  HeatMapAreaAsymmetry
 
class  HeatMapCellType
 
struct  heatMapDataStructure
 
class  HeatMapGrowth
 
class  HeatMapProliferation
 
class  HeatMapSmooth
 
class  HejnowiczInitialCell
 
class  HejnowiczSurface
 
class  HejnowiczSurfaceGrowth
 
class  HejnowiczSurfaceParms
 
struct  HoldMem
 
struct  Image3D
 
class  ImgData
 
class  ImplicitFunction
 
class  ImportCustomDirections
 
class  ImportCustomDirectionsVector
 
class  ImportParentAttr
 
class  ImportParentAttrNew
 
class  Insert
 Insert a new vertex on an edge. More...
 
class  InvertStack
 
struct  jacobiPreCondOP
 
class  JoinCellsMGX3D
 
class  JoinRegionsSegment
 
class  JunctionDistance
 
struct  JunctionInformation
 
class  LabelCellWalls
 
class  LabelledStackComparison
 
class  LabelMeristem
 
class  LabelNuclei
 
class  LabelSelected
 
struct  limits
 
class  Load3DFrom2View
 
class  LoadAllData
 
class  LoadBezier
 
class  LoadCellAxis
 
class  LoadCellData
 
class  LoadCellTypes
 
class  LoadHeatMap
 
class  LoadParents
 
class  LoadPlyFileCellGraph
 
class  LoadTransform
 
class  LoadViewFile
 
class  LocalMaximaStack
 
class  LoopSubdivisionMesh
 
class  MakeMeshCircleDA
 
class  MakeMeshTetraDA
 
class  ManageAttributes
 
class  MarchingCube3D
 
class  MarchingCubeSurface
 
class  MarkerColorDelegate
 
class  MarkMeristem
 
class  MarkPrim
 
struct  MaskKernel
 
class  Materials
 A utility class for materials. More...
 
class  Matrix
 
struct  maxElementOP
 
class  MaximalAbsCurvature
 
class  MaximalCurvature
 
class  Measure3DCellCoord
 
class  Measure3DCellDistance
 
class  Measure3DCellDistanceBezierRing
 
class  Measure3DCoordCirc
 
class  Measure3DCoordLong
 
class  Measure3DCoordRad
 
class  Measure3DDistanceToMesh
 
class  Measure3DNeighbors
 
class  Measure3DOutsideWallArea
 
class  Measure3DOutsideWallAreaPercent
 
class  Measure3DSizeCirc
 
class  Measure3DSizeCustom
 
class  Measure3DSizeLong
 
class  Measure3DSizeRad
 
class  Measure3DSizeX
 
class  Measure3DSizeY
 
class  Measure3DSizeZ
 
class  Measure3DVolume
 
class  Measure3DVolumeSurfaceRatio
 
class  Measure3DWallArea
 
class  MeasureArea
 
class  MeasureAspectRatio
 
class  MeasureAvgRadius
 
class  MeasureBending
 
class  MeasureBetweenessCentrality
 
class  MeasureBetweenessCentrality3D
 
class  MeasureBetweenessCurrentFlow
 
class  MeasureBetweenessCurrentFlow3D
 
class  MeasureBezier
 
class  MeasureBezierCoord
 
class  MeasureBezierExport
 
class  MeasureBezierLineCoord
 
class  MeasureBezierLineCoord3D
 
class  MeasureCellCoord
 
class  MeasureCellDistance
 
class  MeasureCommonNhbrs
 
class  MeasureDistanceToBezier
 
class  MeasureDistanceToBezier3D
 
class  MeasureDistanceToBezierPlane3D
 
class  MeasureDistanceToMesh
 
class  MeasureMajorAxis
 
class  MeasureMajorAxisTheta
 
class  MeasureMaxRadius
 
class  MeasureMinorAxis
 
class  MeasureMinRadius
 
class  MeasureNeighborhoodArea
 
class  MeasureNeighborhoodAspectRatio
 
class  MeasureNeighborhoodNeighbors
 
class  MeasureNeighborhoodPerimeter
 
class  MeasureNeighborhoodVariabilityRadius
 
class  MeasureNeighbors
 
class  MeasurePerimeter
 
class  MeasurePolarCoord
 
class  MeasureSignal
 
class  MeasureSignalBorder
 
class  MeasureSignalInterior
 
class  MeasureSignalTotal
 
class  MeasureStomataArea
 
class  MeasureStomatalBending
 
class  MeasureVariabilityRadius
 
struct  MedianKernel
 
class  MedianOfMediansStack
 Sepearable median-of-medians approximation to median filter. More...
 
class  MedianStack
 Uses quickselect to compute the local median of each voxel of the stack. More...
 
class  MeinhardtAI
 
class  MergeCellsMGXM3D
 
class  MergeParentFiles
 
class  MergeStacks
 
class  MergeVertices
 
class  Mesh
 
class  MeshAddOtherMesh
 
class  MeshAutoSegment
 
class  MeshBrightness
 
class  MeshBuilder
 
class  MeshCircularHistogram
 
class  MeshClosing
 
class  MeshCombineRegions
 
class  MeshDeleteSelection
 
class  MeshDeleteValence
 
class  MeshDiffGaussians
 
class  MeshDilation
 
class  MeshDilationOp
 
class  MeshErosion
 
class  MeshErosionOp
 
class  MeshExport
 
class  MeshFromLocalMaxima
 
class  MeshGaussianBlur
 
class  MeshGaussianBlurOp
 
class  MeshImport
 
class  MeshInvertSelection
 
class  MeshKeepVertices
 
class  MeshLabelDilation
 
class  MeshLabelDilationOp
 
class  MeshLabelErosion
 
class  MeshLabelErosionOp
 
class  MeshLoad
 
class  MeshLocalMinima
 
class  MeshLocalMinimaOp
 
class  MeshNormalize
 \claass MeshNormalize ProcessSignal.hpp <MeshProcessSignal.hpp> More...
 
class  MeshNormalizeOp
 
class  MeshOpening
 
class  MeshRelabel
 
class  MeshSave
 
class  MeshSelectAll
 
class  MeshSelectBadNormals
 
class  MeshSelectClip
 
class  MeshSelectDuplicateCells
 
class  MeshSelectLabeled
 
class  MeshSelectLabels
 
class  MeshSelectNewWalls
 
class  MeshSelectUnlabeled
 
class  MeshSelectValence
 
class  MeshSelectWholeLabelExtend
 
class  MeshSignalGrad
 
class  MeshSignalGradOp
 
class  MeshUnselect
 
class  MeshUnselectLabel
 
struct  mgx_Factory
 
struct  mgx_Factory_Python
 
struct  mgx_Process
 
struct  mgx_Process_Python
 
class  MGXSubdivide
 
struct  minElementOP
 
class  MinimalAbsCurvature
 
class  MinimalCurvature
 
class  MMAddOp
 
class  MMSubOp
 
class  MSAddOp
 
class  MSMultOp
 
struct  multCompOP
 
class  multiset_vector
 
struct  multMVOP
 
struct  multVSOP
 
class  MVMultOp
 
class  NewBezier
 
class  NewBezierRing
 
class  NewBezierRingFromSelected
 
class  NewWalls
 
struct  NhbdGraphInfo
 
struct  nonSepIter
 
class  NormalizeHeatMap
 
class  NormalizeStack
 
class  OMPGuard
 This is a class for guard objects using OpenMP It is adapted from the book "Pattern-Oriented Software Architecture". More...
 
class  OpeningStack
 
class  OpenStackLabel
 
class  OrganDivisionSimulation
 
class  OutsideCellWall
 
class  Parms
 A utility class to parse L-Studio like parameter files. More...
 
class  PCA
 
class  PCAnalysis
 
class  PCAnalysis2D
 
class  PCAnalysis3D
 
struct  PlyCellData
 
class  PlyFile
 
struct  PlyWallData
 
class  PolarSurface
 
class  PolarSurfaceGrowth
 
class  PolarSurfaceParms
 
class  Polygonizer
 
struct  primDataStructure
 
class  Process
 
struct  ProcessDefinition
 
class  ProcessDocsDialog
 
class  processOP
 
class  ProcessParms
 
class  ProcessThread
 
class  Progress
 
class  ProjectCurvature
 
class  ProjectCurvatureOp
 
class  ProjectCustomDirections
 
class  ProjectLabel
 
class  ProjectLabelsOnMesh
 
class  ProjectLeafPrimStack
 
class  ProjectSignal
 
class  PythonProcess
 
class  QTransferFunctionViewer
 
class  Quaternion
 
class  QuickSaveFile
 
class  refpair
 
class  RelabelCells3D
 
class  RelabelFragments
 
struct  remove_pointer
 
struct  remove_pointer< T * >
 
class  RescaleHeatMap
 
class  RescaleSignal
 
class  ResetCellTypes
 
class  ResetDivPlaneData
 
class  ResetMeshProcess
 
class  ResetParents
 
class  ResizeCanvas
 
class  RestoreCellLabels
 
class  RestoreOriginalMesh
 
class  ReverseMesh
 
class  ReverseStack
 
class  RootCellAnalyzing
 
class  RootCellProcessing
 
struct  rootDataStructure
 
struct  RootDivData
 
class  RootDivisionAnalysis
 
class  RootSumSquareCurvature
 
class  RotateCamera
 
class  RunAllParentHeat
 
class  SaveAttributesCSV
 
class  SaveAttributesCSVExtended
 
class  SaveBezier
 
class  SaveCellAxis
 
class  SaveCellContourFile
 
class  SaveCellData
 
class  SaveCellTypes
 
class  SaveGlobalTransform
 
class  SaveHeatMap
 
class  SaveNeighborhoodData
 
class  SaveNeighborhoodData2D
 
class  SaveParents
 
class  SavePlyFile
 
class  SaveTransform
 
class  SaveViewFile
 
struct  saxpyOP
 
class  ScaleBar
 
class  ScaleHeatMap
 Clear label to parent mapping. More...
 
class  ScaleMesh
 
class  ScaleStack
 
class  SegmentClear
 
class  SegmentMesh
 
class  SelectBadCells
 
class  SelectByHeat
 
class  SelectByNormal
 
class  SelectCellType
 
class  SelectDuplicatedNuclei
 
class  SelectMemberIterator
 Iterate over a container of structure, dereferencing only a member of it. More...
 
struct  SelectMemberPointerIterator
 
class  SelectParentLabel
 
class  SelectParentLabelsT1
 
class  SelectSharedTriangles
 
class  SelectShortWalls
 
class  SelectSpecial
 
class  SelectVerticesOfCell
 
struct  sepIterX
 
struct  sepIterY
 
struct  sepIterZ
 
class  set_vector
 
class  SetCellType
 
class  SetCurrentStack
 
class  SetDivisionPoint
 
class  SetParent
 
class  SetParentExploded
 
class  SetSignalProcess
 
class  Shader
 
class  SharpenStack
 
class  ShiftStack
 
class  ShrinkMesh
 
class  SignalOrientation
 
class  SignalOrientation3D
 
class  SignedAverageAbsCurvature
 
class  SmoothCustomDirections
 
class  SmoothMesh
 
class  SmoothMeshSignal
 
class  Solver
 
class  SolverParms
 
struct  SortResultData
 
class  SplitEdges
 
class  Stack
 
class  StackBorderFromSegmented
 
class  StackCircularHistogram
 
class  StackExport
 
class  StackExportByLabel
 
class  StackHistogramBezier
 
class  StackImport
 
class  StackMeshProcess
 
class  StackOpen
 
class  StackOpenSaveFolder
 
class  StackRelabel
 
class  StackRelabelFromMesh
 
class  StackSave
 
class  StackSwapBytes
 
class  StackVoxelCount
 
class  StatsTriangleValues
 
class  Store
 
class  Subdivide
 
class  SubdivideBisectMesh
 
class  SubdivideBisectMesh3D
 
class  SubdivideMesh
 
class  SumSquareCurvature
 
class  Surface
 
class  SurfaceAnalyzeBezierLine
 
class  SurfaceFromMGX3D
 
class  SwapStacks
 
class  SwitchHeatParent
 
class  SymmetricTensor
 
class  TakeSnapshot
 
class  TestDivisionPlanes
 
class  TestDivisionPlanes2D
 
class  TestDivisionPlanes3D
 
class  TestDivisionPlanesCellAtlas
 
class  ThresholdLabelDelete
 
class  TissueCurvature
 
class  TopHatStack
 
class  TopologicalCheck
 
class  TransferFunction
 
class  TransferFunctionDlg
 
class  TransferMarkerModel
 
class  TransformMesh
 
class  TranslateByParent
 
struct  Triangle
 class Triangle Triangle.hpp <Triangle.hpp> More...
 
class  TrimStackProcess
 
class  TrimStackToBezier
 
class  UniformGrowth
 
class  UniformInitialCell
 
class  UniqueParentsFromAttr
 
class  UserCancelException
 
class  Vector
 Namespace containing all the utility classes. More...
 
class  Vertex
 
class  VertexData
 
class  ViewMeshProcess
 
class  VoxelFaceMesh
 
class  VSaxpyOp
 
class  VSMultOp
 
class  VVAddOp
 
class  VVGraph
 
class  VVSubOp
 
class  WallData
 
class  WatershedStack
 
class  WriteGrowthMapData
 

Typedefs

typedef Vector< 2, ColorbVec2Colorb
 
typedef Vector< 3, ColorbVec3Colorb
 
typedef AttrMap< int, int > IntIntAttr
 
typedef AttrMap< int, float > IntFloatAttr
 
typedef AttrMap< int, Point3fIntPoint3fAttr
 
typedef AttrMap< int, ColorbIntColorbAttr
 
typedef AttrMap< int, Vec2ColorbIntVec2ColorbAttr
 
typedef AttrMap< int, Vec3ColorbIntVec3ColorbAttr
 
typedef AttrMap< int, Matrix3fIntMatrix3fAttr
 
typedef AttrMap< int, SymmetricTensorIntSymTensorAttr
 
typedef AttrMap< int, QString > IntQStringAttr
 
typedef AttrMap< IntIntPair, float > IntIntFloatAttr
 
typedef AttrMap< IntIntPair, Point3fIntIntPoint3fAttr
 
typedef AttrMap< vertex, int > VtxIntAttr
 
typedef AttrMap< vertex, bool > VtxBoolAttr
 
typedef AttrMap< vertex, float > VtxFloatAttr
 
typedef AttrMap< vertex, Point2fVtxPoint2fAttr
 
typedef AttrMap< vertex, Point3fVtxPoint3fAttr
 
typedef AttrMap< vertex, ColorbVtxColorbAttr
 
typedef AttrMap< vertex, Vec2ColorbVtxVec2ColorbAttr
 
typedef AttrMap< vertex, Vec3ColorbVtxVec3ColorbAttr
 
typedef AttrMap< vertex, Matrix3fVtxMatrix3fAttr
 
typedef AttrMap< vertex, SymmetricTensorVtxSymTensorAttr
 
typedef AttrMap< vertex, QString > VtxQStringAttr
 
typedef AttrMap< edge, int > EdgeIntAttr
 
typedef AttrMap< edge, bool > EdgeBoolAttr
 
typedef AttrMap< edge, float > EdgeFloatAttr
 
typedef AttrMap< edge, Point2fEdgePoint2fAttr
 
typedef AttrMap< edge, Point3fEdgePoint3fAttr
 
typedef AttrMap< edge, ColorbEdgeColorbAttr
 
typedef AttrMap< edge, Vec2ColorbEdgeVec2ColorbAttr
 
typedef AttrMap< edge, Vec3ColorbEdgeVec3ColorbAttr
 
typedef AttrMap< edge, Matrix3fEdgeMatrix3fAttr
 
typedef AttrMap< edge, SymmetricTensorEdgeSymTensorAttr
 
typedef AttrMap< edge, QString > EdgeQStringAttr
 
typedef AttrMap< cell, int > CellIntAttr
 
typedef AttrMap< cell, bool > CellBoolAttr
 
typedef AttrMap< cell, float > CellFloatAttr
 
typedef AttrMap< cell, Point2fCellPoint2fAttr
 
typedef AttrMap< cell, Point3fCellPoint3fAttr
 
typedef AttrMap< cell, ColorbCellColorbAttr
 
typedef AttrMap< cell, Vec2ColorbCellVec2ColorbAttr
 
typedef AttrMap< cell, Vec3ColorbCellVec3ColorbAttr
 
typedef AttrMap< cell, Matrix3fCellMatrix3fAttr
 
typedef AttrMap< cell, SymmetricTensorCellSymTensorAttr
 
typedef AttrMap< cell, QString > CellQStringAttr
 
typedef AttrMap< wall, int > WallIntAttr
 
typedef AttrMap< wall, bool > WallBoolAttr
 
typedef AttrMap< wall, float > WallFloatAttr
 
typedef AttrMap< wall, Point2fWallPoint2fAttr
 
typedef AttrMap< wall, Point3fWallPoint3fAttr
 
typedef AttrMap< wall, ColorbWallColorbAttr
 
typedef AttrMap< wall, Vec2ColorbWallVec2ColorbAttr
 
typedef AttrMap< wall, Vec3ColorbWallVec3ColorbAttr
 
typedef AttrMap< wall, Matrix3fWallMatrix3fAttr
 
typedef AttrMap< wall, SymmetricTensorWallSymTensorAttr
 
typedef AttrMap< wall, QString > WallQStringAttr
 
typedef AttrMap< Triangle, int > TriIntAttr
 
typedef AttrMap< Triangle, bool > TriBoolAttr
 
typedef AttrMap< Triangle, float > TriFloatAttr
 
typedef AttrMap< Triangle, Point2fTriPoint2fAttr
 
typedef AttrMap< Triangle, Point3fTriPoint3fAttr
 
typedef AttrMap< Triangle, ColorbTriColorbAttr
 
typedef AttrMap< Triangle, Vec2ColorbTriVec2ColorbAttr
 
typedef AttrMap< Triangle, Vec3ColorbTriVec3ColorbAttr
 
typedef AttrMap< Triangle, Matrix3fTriMatrix3fAttr
 
typedef AttrMap< Triangle, SymmetricTensorTriSymTensorAttr
 
typedef AttrMap< Triangle, QString > TriQStringAttr
 
typedef AttrMap< QString, int > QStringIntAttr
 
typedef AttrMap< QString, float > QStringFloatAttr
 
typedef AttrMap< QString, Point3fQStringPoint3fAttr
 
typedef AttrMap< QString, ColorbQStringColorbAttr
 
typedef AttrMap< QString, Vec2ColorbQStringVec2ColorbAttr
 
typedef AttrMap< QString, Vec3ColorbQStringVec3ColorbAttr
 
typedef AttrMap< QString, Matrix3fQStringMatrix3fAttr
 
typedef AttrMap< QString, SymmetricTensorQStringSymTensorAttr
 
typedef AttrMap< QString, QString > QStringQStringAttr
 
typedef Color< float > Color3f
 
typedef Color< float > Colorf
 
typedef Color< ucharColorb
 
typedef std::vector< ColorbColorbVec
 
typedef Vector< 2, float > Point2f
 
typedef Vector< 4, float > Point4f
 
typedef thrust::device_ptr< int > DevicePi
 
typedef thrust::device_ptr< uintDevicePui
 
typedef thrust::device_ptr< double > DevicePd
 
typedef thrust::device_ptr< Point3dDeviceP3d
 
typedef thrust::device_ptr< Matrix3dDevicePM3d
 
typedef thrust::counting_iterator< int, thrust::device_space_tag > DCountIter
 
typedef thrust::host_vector< uintHVecU
 
typedef thrust::host_vector< ushortHVecUS
 
typedef thrust::host_vector< float > HVecF
 
typedef thrust::host_vector< Point3uHVec3U
 
typedef thrust::host_vector< Point3fHVec3F
 
typedef thrust::host_vector< Point4fHVec4F
 
typedef Vector< 2, int > Point2i
 
typedef Vector< 3, float > Point3f
 
typedef intptr_t edge_identity_t
 Type of the identifier of an edge. More...
 
typedef unsigned char ubyte
 This filee contains different useful geometry algorithms, like intersections, areas, ... More...
 
typedef unsigned char uchar
 
typedef unsigned int uint
 
typedef unsigned short ushort
 Simpler names for the various containers and iterators. More...
 
typedef unsigned long ulong
 
typedef SymmetricTensor SymmetricTensor
 
typedef Vector< 5, float > Point5f
 
typedef Vector< 6, float > Point6f
 
typedef Vector< 12, float > Point12f
 
typedef Vector< 1, double > Point1d
 
typedef Vector< 2, double > Point2d
 
typedef Vector< 3, double > Point3d
 
typedef Vector< 4, double > Point4d
 
typedef Vector< 5, double > Point5d
 
typedef Vector< 6, double > Point6d
 
typedef Vector< 8, double > Point8d
 
typedef Vector< 9, double > Point9d
 
typedef Vector< 12, double > Point12d
 
typedef Vector< 16, double > Point16d
 
typedef Vector< 18, double > Point18d
 
typedef Vector< 3, int > Point3i
 
typedef Vector< 4, int > Point4i
 
typedef Vector< 5, int > Point5i
 
typedef Vector< 6, int > Point6i
 
typedef Vector< 1, uintPoint1u
 
typedef Vector< 2, uintPoint2u
 
typedef Vector< 3, uintPoint3u
 
typedef Vector< 4, uintPoint4u
 
typedef Vector< 5, uintPoint5u
 
typedef Vector< 6, uintPoint6u
 
typedef Vector< 12, uintPoint12u
 
typedef Vector< 30, uintPoint30u
 
typedef Vector< 3, ushortPoint3us
 
typedef Vector< 3, ulongPoint3ul
 
typedef Vector< 2, size_t > Point2s
 
typedef Vector< 3, size_t > Point3s
 
typedef Vector< 4, size_t > Point4s
 
typedef Vector< 5, size_t > Point5s
 
typedef Vector< 6, size_t > Point6s
 
typedef Vector< 3, ucharPoint3uc
 
typedef Matrix< 2, 2, float > Matrix2f
 
typedef Matrix< 3, 3, float > Matrix3f
 
typedef Matrix< 4, 4, float > Matrix4f
 
typedef Matrix< 2, 2, uintMatrix2u
 
typedef Matrix< 3, 3, uintMatrix3u
 
typedef Matrix< 4, 4, uintMatrix4u
 
typedef Matrix< 4, 3, uintMatrix4x3u
 
typedef Matrix< 6, 3, uintMatrix6x3u
 
typedef Matrix< 1, 1, double > Matrix1d
 
typedef Matrix< 2, 2, double > Matrix2d
 
typedef Matrix< 2, 3, double > Matrix2x3d
 
typedef Matrix< 2, 6, double > Matrix2x6d
 
typedef Matrix< 3, 2, double > Matrix3x2d
 
typedef Matrix< 3, 3, double > Matrix3d
 
typedef Matrix< 3, 4, double > Matrix3x4d
 
typedef Matrix< 3, 6, double > Matrix3x6d
 
typedef Matrix< 3, 12, double > Matrix3x12d
 
typedef Matrix< 3, 18, double > Matrix3x18d
 
typedef Matrix< 4, 2, double > Matrix4x2d
 
typedef Matrix< 4, 3, double > Matrix4x3d
 
typedef Matrix< 4, 4, double > Matrix4d
 
typedef Matrix< 4, 6, double > Matrix4x6d
 
typedef Matrix< 5, 3, double > Matrix5x3d
 
typedef Matrix< 6, 6, double > Matrix6d
 
typedef Matrix< 6, 3, double > Matrix6x3d
 
typedef Matrix< 6, 12, double > Matrix6x12d
 
typedef Matrix< 6, 18, double > Matrix6x18d
 
typedef Matrix< 9, 3, double > Matrix9x3d
 
typedef Matrix< 9, 9, double > Matrix9d
 
typedef Matrix< 9, 18, double > Matrix9x18d
 
typedef Matrix< 12, 3, double > Matrix12x3d
 
typedef Matrix< 12, 12, double > Matrix12d
 
typedef Matrix< 18, 18, double > Matrix18d
 
typedef BoundingBox< 3, uintBoundingBox3u
 
typedef BoundingBox< 3, int > BoundingBox3i
 
typedef BoundingBox< 3, float > BoundingBox3f
 
typedef QOpenGLFunctions_3_0 MGXOpenGLFunctions
 
typedef std::pair< int, int > IntInt
 
typedef std::pair< IntInt, double > IntIntDouble
 
typedef std::pair< IntInt, double > IntIntDouPair
 
typedef std::vector< TriangletriVector
 
typedef std::map< Point3i, std::set< int > > Point3iIntSetMap
 calculate properties of the neighborhood of a vvGraph such as: cell wall area, shared wall areas, nr of cells of a vertex and individual wall labels More...
 
typedef std::pair< Point3i, std::set< int > > Point3iIntSetPair
 
typedef Vector< 4, vertexPoint4v
 
typedef Vector< 3, GLubyte > Point3GLub
 
typedef std::unordered_map< int, HVec3UIntHVec3uMap
 Map of an integer to a host vector of 3 unsigned integers. More...
 
typedef std::pair< int, HVec3UIntHVec3uPair
 Element in IntHVec3uMap. More...
 
typedef std::map< int, Point3dIntP3dMap
 
typedef std::map< Point2i, Point3dP2iP3dMap
 
typedef std::pair< vertex, vertexVertexPr
 
typedef std::set< vertexSet
 
typedef std::pair< VertexPr, SetVertexPrSet
 
typedef std::unordered_map< vertex, std::set< int > > JunctionCellsMap
 
typedef std::unordered_map< int, std::set< vertex > > CellJunctionsMap
 
typedef std::unordered_map< int, std::vector< vertex > > CellJunctionsInOrderMap
 
typedef std::pair< vertex, std::set< int > > VertLabelsP
 
typedef std::pair< int, std::set< vertex > > CellJunctionsP
 
typedef std::pair< int, std::vector< vertex > > CellJunctionsInOrderP
 
typedef std::map< int, HVec3UIntHVec3UMap
 
typedef VVGraph< VertexData, EdgeDatavvGraph
 Simpler names for the various containers and iterators related to vertices and VV. More...
 
typedef vvGraph::vertex_t vertex
 Type of a vertex. More...
 
typedef vvGraph::edge_t edge
 Type of an edge. More...
 
typedef Vector< 3, GLuint > Point3GLui
 
typedef Vector< 4, GLuint > Point4GLui
 
typedef Vector< 4, GLubyte > Point4GLub
 
typedef std::vector< QuaternionQuaternionVec
 
typedef QList< QStringList > ParmChoiceList
 Type of the dictionary giving the list of possible strings for each argument. More...
 
typedef Vector< 1, GLint > ivec1
 
typedef Vector< 2, GLint > ivec2
 
typedef Vector< 3, GLint > ivec3
 
typedef Vector< 4, GLint > ivec4
 
typedef Vector< 1, GLfloat > vec1
 
typedef Vector< 2, GLfloat > vec2
 
typedef Vector< 3, GLfloat > vec3
 
typedef Vector< 4, GLfloat > vec4
 
typedef Matrix< 2, 2, GLfloat > mat2
 
typedef Matrix< 3, 3, GLfloat > mat3
 
typedef Matrix< 4, 4, GLfloat > mat4
 
typedef DistNhbd< cellGraphDistNhbdC
 
typedef DVector< DistNhbdC, Matrix2d, Point2d, double > DVector2d
 
typedef DMatrix< DistNhbdC, Matrix2d, Point2d, double > DMatrix2d
 
typedef thrust::host_vector< Matrix2dDVM2f
 
typedef std::vector< Matrix2dHVM2f
 
typedef thrust::host_vector< bool > HostVbool
 
typedef thrust::host_vector< ushortHostVus
 
typedef thrust::host_vector< Point2iHostV2i
 
typedef thrust::host_vector< uintHostVu
 
typedef thrust::host_vector< Point1uHostV1u
 
typedef thrust::host_vector< Point2uHostV2u
 
typedef thrust::host_vector< Point3uHostV3u
 
typedef thrust::host_vector< Point4uHostV4u
 
typedef thrust::host_vector< Point6uHostV6u
 
typedef thrust::host_vector< Point12uHostV12u
 
typedef thrust::host_vector< Point30uHostV30u
 
typedef thrust::host_vector< float > HostVf
 
typedef thrust::host_vector< Point3fHostV3f
 
typedef thrust::host_vector< Point4fHostV4f
 
typedef thrust::host_vector< double > HostVd
 
typedef thrust::host_vector< Point1dHostV1d
 
typedef thrust::host_vector< Point2dHostV2d
 
typedef thrust::host_vector< Point3dHostV3d
 
typedef thrust::host_vector< Point4dHostV4d
 
typedef thrust::host_vector< Point6dHostV6d
 
typedef thrust::host_vector< Point9dHostV9d
 
typedef thrust::host_vector< Matrix1dHostVM1d
 
typedef thrust::host_vector< Matrix2dHostVM2d
 
typedef thrust::host_vector< Matrix3dHostVM3d
 
typedef thrust::host_vector< Matrix6x3dHostVM6x3d
 
typedef thrust::device_vector< bool > DeviceVbool
 
typedef thrust::device_vector< ushortDeviceVus
 
typedef thrust::device_vector< Point2iDeviceV2i
 
typedef thrust::device_vector< uintDeviceVu
 
typedef thrust::device_vector< Point1uDeviceV1u
 
typedef thrust::device_vector< Point2uDeviceV2u
 
typedef thrust::device_vector< Point3uDeviceV3u
 
typedef thrust::device_vector< Point4uDeviceV4u
 
typedef thrust::device_vector< Point6uDeviceV6u
 
typedef thrust::device_vector< Point12uDeviceV12u
 
typedef thrust::device_vector< Point30uDeviceV30u
 
typedef thrust::device_vector< float > DeviceVf
 
typedef thrust::device_vector< Point3fDeviceV3f
 
typedef thrust::device_vector< Point4fDeviceV4f
 
typedef thrust::device_vector< double > DeviceVd
 
typedef thrust::device_vector< Point1dDeviceV1d
 
typedef thrust::device_vector< Point2dDeviceV2d
 
typedef thrust::device_vector< Point3dDeviceV3d
 
typedef thrust::device_vector< Point4dDeviceV4d
 
typedef thrust::device_vector< Point6dDeviceV6d
 
typedef thrust::device_vector< Point9dDeviceV9d
 
typedef thrust::device_vector< Matrix1dDeviceVM1d
 
typedef thrust::device_vector< Matrix2dDeviceVM2d
 
typedef thrust::device_vector< Matrix3dDeviceVM3d
 
typedef thrust::device_vector< Matrix6x3dDeviceVM6x3d
 
typedef std::unordered_map< Triangle, SymmetricTensorTriSymTensorMap
 Map a triangle to a symmetric tensor. More...
 
typedef std::pair< Triangle, SymmetricTensorTriSymTensorPair
 Element in TriSymTensorMap. More...
 
typedef Vector< 3, bool > Point3b
 
typedef std::unordered_map< int, float > IntFloatMap
 Map of an integer to a float. More...
 
typedef std::pair< int, float > IntFloatPair
 Element in IntFloatMap. More...
 
typedef std::unordered_map< int, Point3fIntPoint3fMap
 Map of an integer to a 3D point. More...
 
typedef std::pair< int, Point3fIntPoint3fPair
 Element in IntPoint3fMap. More...
 
typedef std::map< Point3d, int > Point3dIntMap
 Map of Point3d to int. More...
 
typedef std::pair< Point3d, int > Point3dIntPair
 Element in Point3dIntMap. More...
 
typedef std::unordered_map< int, double > IntDoubleMap
 Map of an integer to a double. More...
 
typedef std::pair< int, double > IntDoublePair
 Element in IntDoubleMap. More...
 
typedef std::unordered_map< int, Point3dIntPoint3dMap
 Map of an integer to a double 3D point. More...
 
typedef std::pair< int, Point3dIntPoint3dPair
 Element in IntPoint3dMap. More...
 
typedef std::unordered_map< int, int > IntIntMap
 Map of an integer to another one. More...
 
typedef std::pair< int, int > IntIntPair
 Element in IntIntMap. More...
 
typedef std::set< intptr_t > VIdSet
 Set of vertex ids. More...
 
typedef std::map< int, VIdSetIntVIdSetMap
 Map of an integer to a set of vertex ids. More...
 
typedef std::pair< int, VIdSetIntVIdSetPair
 Element in IntVIdSetMap. More...
 
typedef std::set< int > IntSet
 Set of integers. More...
 
typedef std::vector< int > IntVec
 Vector of integers. More...
 
typedef std::vector< float > FloatVec
 Vector of floats. More...
 
typedef std::vector< Point2fPoint2fVec
 Vector of Point2f. More...
 
typedef std::pair< int, IntSetIntIntSetPair
 Element in IntIntSetMap. More...
 
typedef std::map< int, IntSetIntIntSetMap
 Map of an integer to a set of integers. More...
 
typedef std::pair< IntIntPair, VIdSetIntIntVIdSetPair
 Element in IntIntVIdSetMap. More...
 
typedef std::pair< IntIntPair, float > IntIntFloatPair
 Element in IntIntFloatMap. More...
 
typedef std::unordered_map< IntIntPair, float > IntIntFloatMap
 Map of a pair of integers to a float. More...
 
typedef std::map< IntIntPair, VIdSetIntIntVIdSetMap
 Map of a pair of integers to a set of vertex ids. More...
 
typedef std::unordered_map< int, Matrix3fIntMatrix3fMap
 Map of an integer to a 3x3 matrix. More...
 
typedef std::pair< int, Matrix3fIntMatrix3fPair
 Element in IntMatrix3x3fMap. More...
 
typedef std::unordered_map< int, SymmetricTensorIntSymTensorMap
 Map an integer to a symmetric tensor. More...
 
typedef std::pair< int, SymmetricTensorIntSymTensorPair
 Element in IntSymTensorMap. More...
 
typedef VVGraph< mgx::CellData, mgx::WallDatacellGraph
 Type of the cell graph. More...
 
typedef cellGraph::vertex_t cell
 Type of a vertex. More...
 
typedef cellGraph::edge_t wall
 Type of an edge. More...
 
typedef std::unordered_set< cellCellSet
 Set of cells. More...
 
typedef std::vector< cellCellVec
 Vector of cells. More...
 
typedef std::set< vertexVtxSet
 Set of vertices. More...
 
typedef std::set< uintUIntSet
 Used with vertex ids. More...
 
typedef std::vector< vertexVtxVec
 Vector of vertices. More...
 
typedef std::vector< vvGraphVVGraphVec
 Vector of vvGraphs. More...
 
typedef std::pair< int, vvGraphIntVVGraphPair
 Integer, VVGraph pair. More...
 
typedef std::vector< vvGraph * > vvGraphVec
 Vector of vvGraphs. More...
 
typedef std::unordered_map< int, vvGraphIntVVGraphMap
 Map of an integer to a vvGraph. More...
 
typedef std::unordered_map< int, vertexIntVtxMap
 Int to vertex map. More...
 
typedef std::pair< int, vertexIntVtxPair
 
typedef std::unordered_map< vertex, vertexVtxVtxMap
 Map of vertex to vertex. More...
 
typedef std::pair< vertex, vertexVtxVtxPair
 
typedef std::unordered_map< vertex, cellVtxCellMap
 Map of vertex to cell. More...
 
typedef std::unordered_map< vertex, int > VtxIntMap
 Map of vertex to int. More...
 
typedef std::unordered_map< vertex, bool > VtxBoolMap
 Map of vertex to bool. More...
 
typedef std::unordered_map< vertex, float > VtxFloatMap
 Map of vertex to float. More...
 
typedef std::unordered_map< vertex, Point2fVtxPoint2fMap
 Map of vertex to Point2f. More...
 
typedef std::unordered_map< vertex, Point2dVtxPoint2dMap
 Map of vertex to Point2d. More...
 
typedef std::unordered_map< vertex, Point3fVtxPoint3fMap
 Map of vertex to Point3f. More...
 
typedef std::unordered_map< vertex, Point3dVtxPoint3dMap
 Map of vertex to Point3d. More...
 
typedef std::unordered_map< vertex, Matrix3fVtxMatrix3fMap
 Map of vertex to Matrix3f. More...
 
typedef std::unordered_map< int, cellGraphIntCellGraphMap
 Map of an integer to a cellGraph. More...
 
typedef std::unordered_map< cell, cellCellCellMap
 Map of cell to cell. More...
 
typedef std::pair< cell, cellCellCellPair
 
typedef std::unordered_map< int, cellIntCellMap
 Int to cell map. More...
 
typedef std::unordered_map< cell, int > CellIntMap
 Map of cell to int. More...
 
typedef std::unordered_map< cell, bool > CellBoolMap
 Map of cell to bool. More...
 
typedef std::unordered_map< cell, float > CellFloatMap
 Map of cell to float. More...
 
typedef std::unordered_map< cell, Point2fCellPoint2fMap
 Map of cell to Point2f. More...
 
typedef std::unordered_map< cell, Point3fCellPoint3fMap
 Map of cell to Point3f. More...
 
typedef std::unordered_map< cell, Matrix3fCellMatrix3fMap
 Map of cell to Matrix3f. More...
 
typedef intptr_t vertex_identity_t
 Type of the identifier of a vertex. More...
 
typedef std::map< int, std::vector< vertex > > labelVertexMap
 
typedef std::pair< int, std::vector< vertex > > labelVertexVecPair
 
typedef std::map< int, std::map< int, double > > cellMorphLandscape
 
typedef std::map< int, std::vector< int > > intToVec
 
typedef std::map< Point2i, double > P2iDMap
 
typedef std::pair< Point2i, double > P2iDPair
 
typedef std::vector< SortResultDataSortResultVector
 
typedef std::vector< SortResultVectorSortResultVectorAll
 
typedef std::vector< FileDataTypeFileDataVector
 
typedef std::vector< FileEFactorDataTypeFileEFactorDataVector
 
typedef Vector< 2, int > Vec2i
 
typedef std::vector< Vec2itagTypeVector
 
typedef std::map< int, FileDataVectortagDataMap
 
typedef std::vector< QString > FilenameVector
 
typedef AttrMap< int, CellAtlasDataCellAtlasAttr
 
typedef AttrMap< int, CellAtlasConfigCellAtlasConfigAttr
 
typedef std::pair< vertex, vertexVtxVtx
 
typedef std::pair< Point3d, double > P3dDouble
 
typedef std::pair< cell, double > VtxDouble
 
typedef std::pair< std::set< cell >, std::set< cell > > CellSetPair
 
typedef std::pair< cell, cellcCPair
 
typedef std::pair< Point3d, bool > P3dboolPair
 
typedef std::pair< cell, double > cellDPair
 
typedef std::pair< Point3d, int > P3dInt
 
typedef std::pair< P3dDouble, double > P3dDD
 
typedef std::pair< Point3d, Point3dP3dP3d
 
typedef std::pair< VtxVtx, vertexTri
 
typedef std::pair< VtxVtx, vertexVtxvtxp
 
typedef std::pair< vertex, int > VtxInt
 
typedef pair< Triangle, int > TriInt
 
typedef std::pair< Point3d, Point3dPlaneNrmlPoint
 

Enumerations

enum  DimEnum {
  X, Y, Z, XY,
  YZ, XZ, XYZ
}
 
enum  UNIFORM_TYPE {
  UNIFORM_INT, UNIFORM_INT2, UNIFORM_INT3, UNIFORM_INT4,
  UNIFORM_FLOAT, UNIFORM_FLOAT2, UNIFORM_FLOAT3, UNIFORM_FLOAT4,
  UNIFORM_MATRIX2, UNIFORM_MATRIX3, UNIFORM_MATRIX4
}
 
enum  SolvingMethod { Euler, BackwardEuler }
 

Functions

void __assert_fail (const QString &assertion, const char *file, unsigned int line, const char *function)
 
template<typename T >
bool readAttr (T &data, const QByteArray &ba, size_t &pos)
 Read the attribute value from a QByteArray. More...
 
template<size_t n, size_t m, typename T >
bool readAttr (Matrix< n, m, T > &data, const QByteArray &ba, size_t &pos)
 
template<size_t n, typename T >
bool readAttr (Vector< n, T > &data, const QByteArray &ba, size_t &pos)
 
template<size_t n>
bool readAttr (Vector< n, Colorb > &data, const QByteArray &ba, size_t &pos)
 
template<typename T , typename U >
bool readAttr (std::pair< T, U > &data, const QByteArray &ba, size_t &pos)
 
template<>
bool readAttr (SymmetricTensor &data, const QByteArray &ba, size_t &pos)
 
template<>
bool readAttr (vertex &v, const QByteArray &ba, size_t &pos)
 
template<>
bool readAttr (VtxVtxPair &pr, const QByteArray &ba, size_t &pos)
 
template<>
bool readAttr (Triangle &t, const QByteArray &ba, size_t &pos)
 
template<>
bool readAttr (CellCellPair &pr, const QByteArray &ba, size_t &pos)
 
template<>
bool readAttr (QString &data, const QByteArray &ba, size_t &pos)
 
template<>
bool readAttr (QStringList &data, const QByteArray &ba, size_t &pos)
 
template<>
bool readAttr (QByteArray &qba, const QByteArray &ba, size_t &pos)
 
template<>
bool readAttr (Colorb &color, const QByteArray &ba, size_t &pos)
 
template<typename T >
bool readAttr (std::vector< T > &data, const QByteArray &ba, size_t &pos)
 
template<typename KeyT , typename ValueT >
bool readAttr (std::map< KeyT, ValueT > &data, const QByteArray &ba, size_t &pos)
 
template<typename T >
bool writeAttr (const T &data, QByteArray &ba)
 Write the attribute value from a QByteArray. More...
 
template<size_t n, size_t m, typename T >
bool writeAttr (const Matrix< n, m, T > &data, QByteArray &ba)
 
template<size_t n, typename T >
bool writeAttr (const Vector< n, T > &data, QByteArray &ba)
 
template<size_t n>
bool writeAttr (const Vector< n, Colorb > &data, QByteArray &ba)
 
template<typename T , typename U >
bool writeAttr (const std::pair< T, U > &data, QByteArray &ba)
 
template<>
bool writeAttr (const SymmetricTensor &data, QByteArray &ba)
 
template<>
bool writeAttr (const vertex &v, QByteArray &ba)
 
template<>
bool writeAttr (const VtxVtxPair &e, QByteArray &ba)
 
template<>
bool writeAttr (const Triangle &t, QByteArray &ba)
 
template<>
bool writeAttr (const CellCellPair &w, QByteArray &ba)
 
template<>
bool writeAttr (const QString &s, QByteArray &ba)
 
template<>
bool writeAttr (const QStringList &s, QByteArray &ba)
 
template<>
bool writeAttr (const QByteArray &qba, QByteArray &ba)
 
template<>
bool writeAttr (const Colorb &color, QByteArray &ba)
 
template<typename T >
bool writeAttr (const std::vector< T > &data, QByteArray &ba)
 
template<typename KeyT , typename ValueT >
bool writeAttr (const std::map< KeyT, ValueT > &data, QByteArray &ba)
 
template<typename KeyT , typename ValueT >
ValueT & operator->* (const KeyT &key, AttrMap< KeyT, ValueT > &map)
 
template<typename KeyT , typename ValueT >
ValueT & operator->* (const KeyT &key, AttrMap< KeyT, ValueT > *map)
 
template<typename ValueT >
ValueT & operator->* (const wall &e, AttrMap< CellCellPair, ValueT > *map)
 
template<typename ValueT >
ValueT & operator->* (const wall &e, AttrMap< CellCellPair, ValueT > &map)
 
template<typename ValueT >
ValueT & operator->* (const edge &e, AttrMap< VtxVtxPair, ValueT > &map)
 
template<typename ValueT >
ValueT & operator->* (const edge &e, AttrMap< VtxVtxPair, ValueT > *map)
 
bool readAttr (BezierSurface::VertexData &m, const QByteArray &ba, size_t &pos)
 
bool writeAttr (const BezierSurface::VertexData &m, QByteArray &ba)
 
template<class T >
clamp (const T &val, const T &min, const T &max)
 A function to clamp a value to a range. More...
 
mgx_EXPORT QColor convertToQColor (const Color< float > &c)
 
mgx_EXPORT QColor convertToQColor (const Color< double > &c)
 
mgx_EXPORT QColor convertToQColor (const Color< long double > &c)
 
mgx_EXPORT QColor convertToQColor (const Color< unsigned char > &c)
 
mgx_EXPORT QColor convertToQColor (const Color< unsigned short > &c)
 
mgx_EXPORT void convertFromQColor (Color< float > &c, const QColor &col)
 
mgx_EXPORT void convertFromQColor (Color< double > &c, const QColor &col)
 
mgx_EXPORT void convertFromQColor (Color< long double > &c, const QColor &col)
 
mgx_EXPORT void convertFromQColor (Color< unsigned char > &c, const QColor &col)
 
mgx_EXPORT void convertFromQColor (Color< unsigned short > &c, const QColor &col)
 
template<class T >
Color< T > convertHSVtoRGB (T h, T s, T v)
 Return a color based on HSV values. More...
 
template<class T >
Color< T > convertHSVtoRGB (const Color< T > &hsv)
 Return a color based on HSV values. More...
 
template<class T >
Color< T > convertRGBtoHSV (const Color< T > &rgb)
 Return a color based on HSV values. More...
 
Colorf composite (const Colorf &dest, const Colorf &source, comp::CompositeMode mode=comp::OVER)
 Compose a source with dest. More...
 
Colorb composite (const Colorb &dest, const Colorb &source, comp::CompositeMode mode=comp::OVER)
 Compose a source with dest. More...
 
QStringList compModes ()
 Get the list of composition modes. More...
 
comp::CompositeMode stringToCompMode (const QString &s)
 Map Gui input string to Composition mode. More...
 
Colorb stringToColorb (const QString &s)
 Map Gui input string to Colorb. More...
 
std::ostream & operator<< (std::ostream &s, const Colorbar::Position &pos)
 
std::istream & operator>> (std::istream &s, Colorbar::Position &pos)
 
QTextStream & operator<< (QTextStream &s, const Colorbar::Position &pos)
 
QTextStream & operator>> (QTextStream &s, Colorbar::Position &pos)
 
QDataStream & operator<< (QDataStream &s, const Colorbar::Position &pos)
 
QDataStream & operator>> (QDataStream &s, Colorbar::Position &pos)
 
bool progressAdvance ()
 
bool progressAdvance (int step)
 
void progressStart (const std::string &msg, int steps)
 
void progressSetMsg (const std::string &msg)
 
bool progressCancelled ()
 
void progressStop ()
 
cuda_EXPORT int checkCudaError (const std::string &msg)
 
cuda_EXPORT uint getThreadCount (uint threadPos, uint totThreads)
 
cuda_EXPORT int errMsg (const std::string &s)
 
cuda_EXPORT size_t userMem ()
 
template<typename T >
T * devP (thrust::device_vector< T > &DVec)
 
template<typename T >
T * devP (thrust::device_vector< T > *DVec)
 
double atomicAddMGX (double *address, double val)
 
void freeMem ()
 
void holdMem ()
 
size_t memLeft (size_t memrq, size_t roomrq, size_t mem)
 
cuda_EXPORT int initGPU ()
 
cuda_EXPORT int setHoldMemGPU (uint holdmem)
 
cuda_EXPORT void memAvail ()
 
cuda_EXPORT int averageGPU (const Point3i &imgSize, const Point3i &radius, const HVecUS &srcdata, HVecUS &dstdata)
 
cuda_EXPORT int medianGPU (const Point3i &imgSize, const Point3i &radius, const HVecUS &srcdata, HVecUS &dstdata)
 
cuda_EXPORT int medianOfMediansGPU (const Point3i &imgSize, const Point3i &radius, const HVecUS &srcdata, HVecUS &dstdata)
 
cuda_EXPORT int dilateGPU (const Point3i &imgSize, const Point3i &radius, bool roundNhbd, const HVecUS &srcdata, HVecUS &dstdata)
 
cuda_EXPORT int erodeGPU (const Point3i &imgSize, const Point3i &radius, bool byLabel, bool roundNhbd, const HVecUS &srcdata, HVecUS &dstdata)
 
cuda_EXPORT int gaussianBlurGPU (const Point3i &imgSize, const Point3f &imgStep, const Point3f &sigma, const HVecUS &srcdata, HVecUS &dstdata)
 
cuda_EXPORT int sharpenGPU (const Point3i &imgSize, const Point3f &imgStep, const Point3f &sigma, const float amount, const HVecUS &srcdata, HVecUS &dstdata)
 
cuda_EXPORT int applyKernelGPU (const Point3i &imgSize, const HVecF &kernelX, const HVecF &kernelY, const HVecF &kernelZ, const HVecUS &srcdata, HVecUS &dstdata)
 
cuda_EXPORT int colorGradGPU (const Point3i &imgSize, float div, const HVecUS &srcdata, HVecUS &dstdata)
 
cuda_EXPORT int edgeDetectGPU (const Point3i &imgSize, ushort lowthresh, ushort highthresh, float mult, ushort fillval, const HVecUS &srcdata, HVecUS &dstdata)
 
cuda_EXPORT int insideMeshGPU (const Point3i &base, const Point3i &size, const Point3f &step, const Point3f &shift, const HVec3F &pts, const HVec3U &tris, const HVec3F &nrmls, HVecUS &dstdata)
 
cuda_EXPORT int nearMeshGPU (const Point3i &base, const Point3i &size, const Point3f &step, const Point3f &shift, const HVec3F &pts, const HVec3F &nrmls, float minDist, float maxDist, HVecUS &dstdata)
 
cuda_EXPORT int clipStackGPU (const Point3i &imgSize, const Point3f &step, const Point3f &shift, const Point3u &clipDo, HVec4F &pn, const HVecUS &srcdata, HVecUS &dstdata)
 
cuda_EXPORT int voxelEditGPU (const Point3i &base, const Point3i &size, const Point3i &imgSize, const Point3f &step, const Point3f &shift, const Point3f &p, const Point3f &pz, float radius, ushort color, const Point3u &clipDo, const HVec4F &pn, HVecUS &data)
 
template<typename T >
int multGPU (T *v, typename T::value_type::value_type a, T *r)
 
template<typename T >
int multGPU (T *v1, T *v2, typename T::value_type::value_type &r)
 
template<typename TM , typename TV >
int multGPU (DeviceVu *nb, TM *mv, TM *me, TV *v, TV *r)
 
template<typename T >
int addToDiagGPU (typename T::value_type::value_type a, T *r)
 
template<typename T >
int addGPU (T *v1, T *v2, T *r)
 
template<typename T >
int subtractGPU (T *v1, T *v2, T *r)
 
template<typename T >
int saxpyGPU (T *v1, T *v2, typename T::value_type::value_type a, T *r)
 
template<typename T >
int fillGPU (typename T::value_type::value_type a, T *r)
 
template<typename T >
int minGPU (T *v, typename T::value_type::value_type &r)
 
template<typename T >
int maxGPU (T *v, typename T::value_type::value_type &r)
 
template<typename T >
int jacobiPreCondGPU (DeviceVu *nb, T *mv, T *me, T *av, T *ae)
 
template<typename T1 , typename T2 >
int mgx_EXPORT copyGPU (T1 *src, T2 *dst)
 
template<typename T >
int mgx_EXPORT allocGPU (T **vec, size_t n)
 
bool getGaussianMask1D (const float step, const float sigma, HostVf &mask, int &radius)
 
bool getRoundMask3D (const Point3i &radius, HostVf &mask)
 
void normalizeMaskScale (HostVf &mask)
 
__device__ __host__ void getXY (uint idx, const Point3i &size, int &x, int &y)
 
__device__ __host__ void getXZ (uint idx, const Point3i &size, int &x, int &z)
 
__device__ __host__ void getYZ (uint idx, const Point3i &size, int &y, int &z)
 
__device__ __host__ void getXYZ (uint idx, const Point3i &size, int &x, int &y, int &z)
 
__device__ __host__ Point3i getStride (const Point3i &size)
 
__device__ __host__ bool clipPoint (const Point3f &wp, const Point3u &clipDo, const Point4f *pn)
 
template<typename T >
void flipImage (DimEnum dim, Point3i imgSize, Point3i &flipImgSize, const T &src, T &dst)
 
uint getTotalThreads (DimEnum dim, const Point3i size)
 
int checkBounds (const Point3i &imgSize, const Point3i &base, const Point3i &size)
 
uint getStep (uint pos, uint maxpos, size_t stride, size_t szof, size_t mem)
 
template<typename opT , typename T >
int processSepOP (opT opx, opT opy, opT opz, const Point3i &imgSize, const Point3i &radius, const thrust::host_vector< T > &srcData, thrust::host_vector< T > &dstData)
 
template<typename opT , typename T >
int processNonSepOP (opT op, const Point3i &imgSize, const Point3i &radius, const thrust::host_vector< T > &srcData, thrust::host_vector< T > &dstData)
 
mgx_EXPORT QString stripCurrentDir (QString file)
 Returns the path relative to the current directory. More...
 
mgx_EXPORT QString stripDir (const QString &dir, QString file)
 Remove a directory from the file path. More...
 
mgx_EXPORT QString getDir (QString file)
 Get the directory containing a file (base of the name only) More...
 
mgx_EXPORT bool setCurrentPath (const QString &path)
 Set the current path. More...
 
mgx_EXPORT QString currentPath ()
 Get the current path. More...
 
mgx_EXPORT QDir currentDir ()
 Get the current path as a directory. More...
 
mgx_EXPORT QString absoluteFilePath (QString filename)
 Return the absolute path to a file. More...
 
mgx_EXPORT QString resolvePath (QString path)
 Return the absolute file path, resolving things like environement variables and '~' for $HOME. More...
 
template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
const VVAddOp< DistNhbdT, MatrixT, VectorT, ScalarT > operator+ (DVector< DistNhbdT, MatrixT, VectorT, ScalarT > &p_vec1, DVector< DistNhbdT, MatrixT, VectorT, ScalarT > &p_vec2)
 
template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
const VVSubOp< DistNhbdT, MatrixT, VectorT, ScalarT > operator- (DVector< DistNhbdT, MatrixT, VectorT, ScalarT > &p_vec1, DVector< DistNhbdT, MatrixT, VectorT, ScalarT > &p_vec2)
 
template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
const VSMultOp< DistNhbdT, MatrixT, VectorT, ScalarT > operator* (DVector< DistNhbdT, MatrixT, VectorT, ScalarT > &p_vec, ScalarT p_a)
 
template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
const VSaxpyOp< DistNhbdT, MatrixT, VectorT, ScalarT > operator+ (const VSMultOp< DistNhbdT, MatrixT, VectorT, ScalarT > &p_VSMultOp, DVector< DistNhbdT, MatrixT, VectorT, ScalarT > &p_vec)
 
template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
const MMAddOp< DistNhbdT, MatrixT, VectorT, ScalarT > operator+ (DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &p_mat1, DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &p_mat2)
 
template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
const MMSubOp< DistNhbdT, MatrixT, VectorT, ScalarT > operator- (DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &p_mat1, DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &p_mat2)
 
template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
const MSMultOp< DistNhbdT, MatrixT, VectorT, ScalarT > operator* (DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &p_mat, ScalarT p_a)
 
template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
const MVMultOp< DistNhbdT, MatrixT, VectorT, ScalarT > operator* (DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &p_mat, DVector< DistNhbdT, MatrixT, VectorT, ScalarT > &p_vec)
 
template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
double maxDiagonal (DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &m)
 
template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
double maxOffDiagonal (DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &m)
 
template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
double maxEntry (DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &m)
 
template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
double minDiagonal (DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &m)
 
template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
double minOffDiagonal (DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &m)
 
template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
double minEntry (DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &m)
 
template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
ScalarT norm (DVector< DistNhbdT, MatrixT, VectorT, ScalarT > &v)
 
template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
ScalarT norm (DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &m)
 
template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
void jacobiPreCond (DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &m, DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &a)
 
template<typename T1 , typename T2 >
int copyGPU (T1 *src, T2 *dst)
 
template<typename T >
int allocGPU (T **vec, size_t n)
 
bool readAttr (MeinhardtAI::CellData &m, const QByteArray &ba, size_t &pos)
 
bool writeAttr (const MeinhardtAI::CellData &m, QByteArray &ba)
 
template<typename T >
void copy_symmetric (T &e2, const T &e1)
 Default copy of the arc uses the = operator. More...
 
CU_HOST_DEVICE bool isNan (float s)
 
CU_HOST_DEVICE bool isNan (double s)
 
template<typename T >
CU_HOST_DEVICE Point3u toVoxelsCeil (const Point3(T) &p, const Point3(T) &step)
 
template<typename T >
CU_HOST_DEVICE Vector< 3, T > multMatrix4Point3 (const Matrix< 4, 4, T > &m, const Vector< 3, T > &p)
 Multiply openGL 4D matrix by 3D point and return 3D point. More...
 
template<typename T >
T CU_HOST_DEVICE interpolate (const T &a, const T &b, const T &s)
 Interpolate between values. More...
 
template<typename T >
T CU_HOST_DEVICE interpolate (const Point3(T) &t1, const Point3(T) &t2, const Point3(T) &t3, T c1, T c2, T c3, const Point3(T) &p)
 Interpolate values on a triangle. More...
 
template<typename T >
CU_HOST_DEVICE bool planeLineIntersect (const Point3(T) &p, const Point3(T) &nrml, const Point3(T) &u1, const Point3(T) &u2, T &s, Point3(T) &u)
 Plane-Line Intersection. More...
 
template<typename T >
CU_HOST_DEVICE Point3 (T) triangleGradient(const Point3(T) &p1
 
 if (area2==0) return Point3(T)()
 
 return (nrml ^(c3 *(p2 - p1)+c1 *(p3 - p2)+c2 *(p1 - p3)))/area2
 
template<typename T >
CU_HOST_DEVICE bool lineLineIntersect (Point3(T) p1, Point3(T) p2, Point3(T) q1, Point3(T) q2, T &s, T &u, Point3(T) &intersect)
 Line-Line Intersection returns whether two line segments intersect or not saves the location on where on the segments (s, u) and the intersection point (intersect) originally from CellMaker, only used in Join2DMeshes so far, not tested for true 3d lines. More...
 
template<typename T >
CU_HOST_DEVICEtriangleArea (const Point3(T) &a, const Point3(T) &b, const Point3(T) &c)
 
template<typename T >
CU_HOST_DEVICEsignedTetraVolume (const Point3(T) &a, const Point3(T) &b, const Point3(T) &c)
 
template<typename T >
CU_HOST_DEVICE void getBasisFromPlane (const Point3(T) &nrml, Point3(T)&x, Point3(T) &y, Point3(T) &z)
 
template<typename T >
CU_HOST_DEVICE int rayTriangleIntersect (const Point3(T) &r0, const Point3(T) &r1, const Point3(T) &t0, const Point3(T) &t1, const Point3(T) &t2, Point3(T) &intp)
 
template<typename T >
CU_HOST_DEVICEdistLinePoint (const Point3(T) &v1, const Point3(T) &_v2, const Point3(T) &_p, bool segment)
 
CU_HOST_DEVICE Point3f imageToWorld (const Point3i &img, const Point3f &step, const Point3f &shift)
 
CU_HOST_DEVICE Point3i worldToImage (const Point3f &wrld, const Point3f &step, const Point3f &shift)
 
CU_HOST_DEVICE size_t offset (uint x, uint y, uint z, uint xsz, uint ysz)
 
CU_HOST_DEVICE size_t getOffset (const int x, const int y, const int z, const Point3i &size)
 
CU_HOST_DEVICE size_t getOffset (const uint x, const uint y, const uint z, const Point3u &size)
 
CU_HOST_DEVICE size_t getOffset (const Point3i p, const Point3i &size)
 
Point3d projectPointOnPlane (const Point3d &P, const Point3d &Q, const Point3d &N)
 
bool reportGLError (const QString &str, const char *file, int line)
 
mgx_EXPORT void matrixInverseGSL (std::vector< std::vector< double > > &inputM, std::vector< std::vector< double > > &outputM)
 
mgx_EXPORT void systemSolveGSL (std::vector< std::vector< double > > &inputM, std::vector< double > &x)
 
mgx_EXPORT void calcBetweenness (cellGraph &C, std::map< cell, double > &cellBetweenessMap)
 
mgx_EXPORT bool calcBetweenness (cellGraph &C, std::map< IntInt, double > &weights, std::map< cell, double > &cellBetweenessMap)
 
mgx_EXPORT bool calcBetweenness (std::map< IntInt, double > &neighborhoodGraph, std::map< int, double > &cellBetweenessMap)
 
mgx_EXPORT std::map< IntInt, double > generateWeights (std::map< IntInt, double > neighborMap, bool constWeight)
 
mgx_EXPORT std::vector< cellcuthillMckeeOrdering (cellGraph &C, std::map< cell, int > &cellOrder)
 
mgx_EXPORT std::vector< cellcuthillMckeeOrdering (cellGraph &C, std::map< cell, int > &cellOrder, const cell &minCell)
 
mgx_EXPORT void reverseVector (std::vector< cell > &input)
 
mgx_EXPORT bool subdivideBisect (vvGraph &S, const vertex &v1, const vertex &v2, const vertex &v3, VtxVec *vs=0, Subdivide *sDiv=0)
 Subdivide triangle with a propagating bisection that gives good triangles. More...
 
template<typename GraphT >
bool spliceNhbs (GraphT &S, typename GraphT::vertex_t a, typename GraphT::vertex_t b)
 Splice the neighborhood of b into a (so we can delete b) More...
 
mgx_EXPORT int getLabel (const vertex &v1, const vertex &v2, const vertex &v3)
 Return the label for a triangle. More...
 
mgx_EXPORT bool getLabelCount (const vvGraph &S, VtxIntMap &labCount)
 Count labels for each vertex in the graph. More...
 
mgx_EXPORT bool splitEdge (vvGraph &S, vertex v1, vertex v2, Subdivide *sDiv=0)
 Split an edge in the S graph. More...
 
mgx_EXPORT int mergeVertices (vvGraph &S, const VtxVec &vs)
 Merge vertices, returns number of vertices deleted. More...
 
mgx_EXPORT bool checkBorderTris (const vvGraph &S, bool select=true)
 Check for unlabeled vertices, border triangles and islands of label in preparation to make a cell mesh. More...
 
mgx_EXPORT bool deleteCells (vvGraph &S, const VtxVec &V)
 Check for unlabeled vertices, border triangles and islands of label in preparation to make a cell mesh. More...
 
mgx_EXPORT int fixBorderTris (vvGraph &S)
 Check for border triangles with all labels -1 and merge their vertices together. More...
 
mgx_EXPORT bool mgxmToMgxc (const vvGraph &srcS, vvGraph &S, double wallMax=0)
 Convert a normal (MGXM) mesh to a cell (MGXC) mesh. More...
 
mgx_EXPORT void markMargins (vvGraph &M, vvGraph &S, bool remborders=true)
 Mark the cells and tissue margin vertices. More...
 
mgx_EXPORT void markMargins (vvGraph &S, bool remborders=true)
 Mark the cells and tissue margin vertices. More...
 
mgx_EXPORT void markMargin (vvGraph &S, vertex v, bool remborders=true)
 Mark the cells and tissue margin vertices. More...
 
mgx_EXPORT int setNormals (const vvGraph &S)
 Set the normals in a graph. More...
 
mgx_EXPORT void correctNormals (vvGraph &S)
 Correct MGXC normals (happens for non-star shaped cells) More...
 
mgx_EXPORT bool setNormal (const vvGraph &S, const vertex &v)
 Set the normal in a single vertex. More...
 
mgx_EXPORT bool calcNormal (const vvGraph &S, const vertex &v, Point3d &nrml)
 Set the normal in a single vertex. More...
 
mgx_EXPORT bool neighborhoodGraph (const vvGraph &S, double tolerance, NhbdGraphInfo &info, bool throwError=true)
 
mgx_EXPORT std::vector< int > findAllLabels (const vvGraph &S)
 return ALL labels of a vvGraph originally in CellAtlas, now also used in other AddOns More...
 
mgx_EXPORT std::set< int > findAllLabelsSet (const vvGraph &S)
 
mgx_EXPORT std::set< int > findAllSelectedLabels (const vvGraph &S)
 return ALL labels of selected vertices of a vvGraph originally in CellAtlas, now also used in other AddOns More...
 
mgx_EXPORT void neighborhood2D (vvGraph &S, std::map< IntInt, double > &neighMap, QString weightType="", bool ignoreOutside=true)
 creates a wall map with the neighboring cells as key (pair) and the wall length as value More...
 
mgx_EXPORT vertex nearestVertexOnMesh (const Point3d &targetPoint, const vvGraph &S)
 
mgx_EXPORT Point3d nearestPointOnMesh (const Point3d &targetPoint, const vvGraph &S)
 
mgx_EXPORT std::map< int, double > dijkstra (vvGraph &S, std::map< IntInt, double > &wallAreas, std::set< int > &selectedCells, bool equalWeights, double cutOffDistance, double wallThreshold)
 
mgx_EXPORT std::map< int, double > dijkstra (std::set< int > &allCellLabels, std::map< IntInt, double > &wallAreas, std::set< int > &selectedCells, bool equalWeights, double cutOffDistance, double wallThreshold)
 
mgx_EXPORT std::map< int, double > dijkstra (std::set< int > &allCellLabels, std::map< IntInt, double > &wallAreas, std::map< int, double > &initialCells, bool equalWeights, double cutOffDistance, double wallThreshold)
 
mgx_EXPORT std::set< int > aStar (std::vector< int > &uniqueLabels, std::map< int, Point3d > &cellCentroids, std::map< IntInt, double > &wallAreas, int label1, int label2, double wallThreshold, bool equalWeights)
 
mgx_EXPORT bool findIntersectPoint (Point3d coordCellCentroid, Point3d &dirVec, std::vector< Triangle > &cellTriangles, int &stopCounter, Point3d &intersectP)
 shoots rays from the cell centroid along a direction and checks if it hits any of the cell triangles too avoid shooting through the edge between triangles the centroid point is varied slightly if nothing is hit More...
 
mgx_EXPORT double estimateCellLength (int currentLabel, Point3d coordCellCentroid, Point3d &dirVec, triVector &cellTriangles)
 estimates the size of the cell in a given direction by shooting two rays in a specified direction and its opposite More...
 
mgx_EXPORT void generateLabelTriangleMap (const vvGraph &S, std::map< int, triVector > &cellTriangles)
 goes through all triangles of the vvGraph and builds up a map from label to triangle vector More...
 
mgx_EXPORT std::map< int, std::vector< vertex > > generateLabelVertexMap (const vvGraph &S)
 goes through all vertices of the vvGraph and builds up a map from label to vertex vector More...
 
mgx_EXPORT void findBorderVerticesOfCell (vvGraph &S, int cellLabel, std::set< vertex > &verticesCell, std::vector< vertex > &borderVerticesOrdered)
 
mgx_EXPORT void findBorderVerticesOfCellsCombined (vvGraph &S, std::set< int > cellLabels, std::set< vertex > &verticesCells, std::vector< vertex > &borderVerticesOrdered)
 
mgx_EXPORT Point3i triIndex (Point3i t)
 
mgx_EXPORT int vIndex (const Point3d &pos, Point3dIntMap &vMap, float tolerance)
 
mgx_EXPORT int getKeyOfMaxValue (const std::map< int, double > &mapToTest)
 
mgx_EXPORT std::map< int, int > shiftMap (std::map< int, double > &mapToShift, int shift)
 
bool readAttr (HejnowiczSurface::VertexData &m, const QByteArray &ba, size_t &pos)
 Serialize read for Vertex data. More...
 
bool writeAttr (const HejnowiczSurface::VertexData &m, QByteArray &ba)
 Serialize write for Vertex data. More...
 
mgx_EXPORT QStringList supportedImageReadFormats ()
 
mgx_EXPORT QStringList supportedImageWriteFormats ()
 
mgx_EXPORT bool saveImage (QString filename, const Image3D &data, QString type="CImg Auto", unsigned int nb_digits=0)
 
mgx_EXPORT bool saveTIFFImage (QString filename, const Image3D &data)
 
mgx_EXPORT bool loadTIFFImage (QString filename, Image3D &data, bool allocate_data=false)
 
mgx_EXPORT bool loadImage (QString filename, Image3D &data, bool allocate_data=false)
 
mgx_EXPORT HVecUS resize (const HVecUS &data, const Point3i &before, const Point3i &after, bool center)
 
template<typename VertexContent , typename EdgeContent >
const VVGraph< VertexContent, EdgeContent >::vertex_t & insert (const typename VVGraph< VertexContent, EdgeContent >::vertex_t &a, const typename VVGraph< VertexContent, EdgeContent >::vertex_t &b, VVGraph< VertexContent, EdgeContent > &S)
 
template<class Graph >
Graph::edge_t insertAfter (const typename Graph::vertex_t &v, const typename Graph::vertex_t &ref, const typename Graph::vertex_t &nv, Graph &S)
 Splice nv after ref in v if ref is not null. More...
 
template<class Graph >
Graph::edge_t insertBefore (const typename Graph::vertex_t &v, const typename Graph::vertex_t &ref, const typename Graph::vertex_t &nv, Graph &S)
 Splice nv before ref in v if ref is not null. More...
 
template<typename DMatrixT , typename DVectorT >
int BiCGStab (DMatrixT &A, DVectorT &x, DVectorT &b, double tolerance, uint maxiter=500, double maxnorm=1e100, int info=0)
 
template<typename DMatrixT , typename DVectorT >
int BiCG (DMatrixT &A, DMatrixT &AT, DVectorT &x, DVectorT &b, double tolerance, uint maxiter=500, double maxnorm=1e100, int info=0)
 
template<typename DMatrixT , typename DVectorT >
int CG (DMatrixT &A, DVectorT &x, DVectorT &b, double tolerance, uint maxiter=500, double maxnorm=1e100, int info=0)
 
template<typename DMatrixT , typename DVectorT >
int CGPreCond (DMatrixT &A, DVectorT &x, DVectorT &b, double tolerance, uint maxiter=500, double maxnorm=1e100, int info=0)
 
template<typename DMatrixT , typename DVectorT >
int BiCGStabPreCond (DMatrixT &A, DVectorT &x, DVectorT &b, double tolerance, uint maxiter=500, double maxnorm=1e100, int info=0)
 
mgx_EXPORT QString qdemangle (std::string s)
 Demangle all the words in the string. More...
 
mgx_EXPORT std::string demangle (std::string s)
 Demangle all the words in the string. More...
 
template<size_t nRows, typename T >
CU_HOST_DEVICEmatrix_minor (const Matrix< nRows, nRows, T > &mat, size_t i, size_t j)
 
template<size_t nRows, size_t nCols, typename T >
CU_HOST_DEVICE Vector< nCols, T > operator* (const Vector< nCols, T > &vec, const Matrix< nRows, nCols, T > &mat)
 
template<size_t nRows, size_t intSize, size_t nCols, typename T >
CU_HOST_DEVICE Matrix< nRows, nCols, T > operator* (const Matrix< nRows, intSize, T > &mat1, const Matrix< intSize, nCols, T > &mat2)
 
template<typename T >
CU_HOST_DEVICEdet (const Matrix< 1, 1, T > &mat)
 
template<typename T >
CU_HOST_DEVICEdet (const Matrix< 2, 2, T > &mat)
 
template<typename T >
CU_HOST_DEVICEdet (const Matrix< 3, 3, T > &mat)
 
template<size_t nRows, typename T >
CU_HOST_DEVICEdet (const Matrix< nRows, nRows, T > &mat)
 
template<size_t nRows, typename T >
CU_HOST_DEVICEcofactor (const Matrix< nRows, nRows, T > &mat, size_t i, size_t j)
 
template<typename T >
CU_HOST_DEVICE Matrix< 1, 1, T > inverse (const Matrix< 1, 1, T > &mat)
 
template<typename T >
CU_HOST_DEVICE Matrix< 2, 2, T > inverse (const Matrix< 2, 2, T > &mat)
 
template<typename T >
CU_HOST_DEVICE Matrix< 3, 3, T > inverse (const Matrix< 3, 3, T > &mat)
 
template<typename T >
Matrix< 4, 4, T > inverse (const Matrix< 4, 4, T > &m)
 
template<size_t nRows, typename T >
CU_HOST_DEVICE Matrix< nRows, nRows, T > inverse (const Matrix< nRows, nRows, T > &mat)
 
template<size_t nRows, size_t nCols, typename T >
CU_HOST_DEVICE Matrix< nCols, nRows, T > transpose (const Matrix< nRows, nCols, T > &mat)
 
template<size_t nRows, size_t nCols, typename T >
CU_HOST_DEVICEnormsq (const Matrix< nRows, nCols, T > &mat)
 
template<size_t nRows, size_t nCols, typename T >
CU_HOST_DEVICEnorm (const Matrix< nRows, nCols, T > &mat)
 
void createPlyDataFromAttr (Mesh *m, QStringList attrMapsToBeSaved, std::vector< PlyCellData > &cellVec, std::vector< PlyWallData > &wallVec)
 
void fillTreeWidgetWithAttrMaps (Mesh *m, QTreeWidget *tree, QStringList *selected=0)
 
mgxBase_EXPORT void getBBox (const HVec3F &pts, Point3f *bBox)
 
double geoMeanVectorValue (std::vector< double > &values)
 
mgxBase_EXPORT SymmetricTensor customDirectionTensor (SymmetricTensor origTensor, Point3f customX, Point3f customY, bool shearB)
 
mgxBase_EXPORT double lengthCustomDirTensor3D (SymmetricTensor origTensor, Point3f customDir)
 
mgxBase_EXPORT void findCellJunctionsInOrder (Mesh *mesh, vvGraph &S, JunctionInformation &jInfo)
 
mgxBase_EXPORT void findCellJunctions (Mesh *mesh, vvGraph &S, JunctionInformation &jInfo)
 
mgxBase_EXPORT void findCellJunctionsParents (Mesh *mesh, vvGraph &S, JunctionInformation &jInfo)
 
Point2f calcSignalBounds (const vvGraph &S)
 
mgx_EXPORT QDir resourceDir ()
 Returns resource directory. More...
 
mgx_EXPORT QList< QDir > userProcessDirs ()
 Returns user processes directory. More...
 
mgx_EXPORT QList< QDir > processDirs ()
 Returns processes directory. More...
 
mgx_EXPORT QDir libDir ()
 Returns the libraries directory. More...
 
mgx_EXPORT QDir includeDir ()
 Returns the includes directory. More...
 
mgx_EXPORT QDir docDir ()
 Returns the documentation directory. More...
 
Point3GLub vMapColor (uint u)
 Map unique colors to indices. More...
 
uint vMapColor (Point3GLub &p)
 Map unique colors to indices. More...
 
QString shield (QString s)
 Create representation of a string that can be written in a single line, without spaces. More...
 
QString unshield (QString s)
 Retrieve a string that has been shielded with shield. More...
 
QString shield_python (QString s)
 Shield a string to send it to the python interpreter. More...
 
QString unshield_python (QString s)
 Retrieve a string that is retrieved from the python representation. More...
 
Point3d stringToPoint3d (const QString &s)
 Convert a string to Point3d. More...
 
Point2f stringToPoint2f (const QString &s)
 
Point2i stringToPoint2i (const QString &s)
 
Point2u stringToPoint2u (const QString &s)
 
Point2d stringToPoint2d (const QString &s)
 
Point3u stringToPoint3u (const QString &s)
 
bool isGuiThread ()
 
bool readAttr (PolarSurface::VertexData &m, const QByteArray &ba, size_t &pos)
 
bool writeAttr (const PolarSurface::VertexData &m, QByteArray &ba)
 
mgx_EXPORT ProcessDefinitiongetProcessDefinition (const QString &processName)
 Retrieves the process definition from the name of the process. More...
 
mgx_EXPORT bool getLastParms (const Process &proc, QStringList &parms)
 Get the parameters for a given process. More...
 
mgx_EXPORT bool getDefaultParms (const Process &proc, QStringList &parms)
 Get the default parameters for a given process (i.e. the ones defined by the process) More...
 
mgx_EXPORT bool saveDefaultParms (const Process &proc, const QStringList &parms)
 Save the default parameters in memory. More...
 
mgx_EXPORT bool checkProcessParms (const Process &proc, const QStringList &parms, size_t *nbParms=0)
 Check if the parameters have enough defaults. More...
 
mgx_EXPORT bool getLastParms (const QString &processName, QStringList &parms)
 Get the parameters for a given process. More...
 
mgx_EXPORT bool getDefaultParms (const QString &processName, QStringList &parms)
 Get the default parameters for a given process (i.e. the ones defined by the process) More...
 
mgx_EXPORT bool saveDefaultParms (const QString &processName, const QStringList &parms)
 Save the default parameters in memory. More...
 
mgx_EXPORT bool checkProcessParms (const QString &processName, const QStringList &parms, size_t *nbParms=0)
 Check if the parameters have enough defaults. More...
 
mgx_EXPORT ProcessDefinitiongetProcessDefinition (const QString &processThread, const QString &processName)
 Get the definition of a process. More...
 
mgx_EXPORT QStringList listProcesses ()
 Returns the list of names of the processes. More...
 
mgx_EXPORT bool getProcessText (const QString &text, QString &tab, QString &folder, QString &name)
 Split process name into Tab/Folder/Name. More...
 
mgx_EXPORT bool validProcessName (const QString &processName)
 Check if the processName exist in the list of processes. More...
 
mgx_EXPORT bool stringToBool (const QString &string)
 Helper function converting a string into a boolean. More...
 
mgx_EXPORT bool stringToWorkStore (const QString &string)
 Returns true if string correspond to the work store, false otherwise. More...
 
mgx_EXPORT bool stringToMainStore (const QString &string)
 Returns true if string correspond to the main store, false otherwise. More...
 
QString boolToString (bool b)
 Helper function converting a boolean into a string. More...
 
QTreeWidgetItem * getFolder (QString name, QHash< QString, QTreeWidgetItem * > &folders, QTreeWidget *tree)
 Find or create a folder from a process tree. More...
 
void filterProcesses (QTreeWidget *tree, const QString &filter_text)
 Show only processes whose name match the regular expression. More...
 
template<size_t dim, typename T >
bool fromQString (Vector< dim, T > &p, const QString &s, QString sep=" ")
 Convert a QString to a Point. More...
 
mgx_EXPORT void progressStart (const QString &msg, int steps=0, bool allowCancel=true)
 
mgx_EXPORT void progressStart (const char *msg, int steps=0, bool allowCancel=true)
 
mgx_EXPORT void progressStart (const std::string &msg, int steps=0, bool allowCancel=true)
 
mgx_EXPORT bool progressCanceled ()
 
mgx_EXPORT void progressCancel ()
 
mgx_EXPORT void progressSetMsg (const QString &msg)
 
mgx_EXPORT void progressSetMsg (const char *msg)
 
mgx_EXPORT void progressSetMax (int steps=0)
 
Quaternion operator* (double s, const Quaternion &q)
 
Quaternion operator* (const Quaternion &q, double s)
 
mgx_EXPORT unsigned int sran_time ()
 Initialize the random number with the current time of the day (in microsecond) More...
 
mgx_EXPORT void sran (unsigned int seed)
 Initialize the random number generator. More...
 
mgx_EXPORT double ran (double M)
 Generate a random number uniformly distributed between 0 and M. More...
 
mgx_EXPORT long double ran (long double M)
 Generate a random number uniformly distributed between 0 and M. More...
 
mgx_EXPORT float ran (float M)
 Generate a random number uniformly distributed between 0 and M. More...
 
template<typename T >
double ran (T M)
 Generate a random number uniformly distributed between 0 and M. More...
 
template<size_t dim, typename T >
Vector< dim, T > ran (const Vector< dim, T > &V)
 Generate a random vector uniformely distributed between Vector(0) and V. More...
 
mgx_EXPORT double gaussRan (double mean, double sigma)
 Generate a random number with gaussian distribution. More...
 
template<size_t dim>
Vector< dim, double > gaussRan (const Vector< dim, double > &mean, const Vector< dim, double > &sigma)
 Generate a random vector with gaussian distribution. More...
 
mgx_EXPORT long int ranInt ()
 Returns a random number between 0 and RAND_MAX. More...
 
mgx_EXPORT long int ranInt (long int n)
 Returns a random number between 0 and n (excluded), for n <= RAND_MAX. More...
 
template<size_t dim, typename T >
Vector< dim, T > ranInt (const Vector< dim, T > &n)
 Returns a vector of random numbers. More...
 
template<typename Key , typename Compare , typename Allocator >
void swap (multiset_vector< Key, Compare, Allocator > &v1, multiset_vector< Key, Compare, Allocator > &v2)
 
template<typename Key , typename Compare , typename Allocator >
void swap (set_vector< Key, Compare, Allocator > &v1, set_vector< Key, Compare, Allocator > &v2)
 
QTextStream & operator<< (QTextStream &s, const GLSLValue &ut)
 
QTextStream & operator>> (QTextStream &s, GLSLValue &ut)
 
std::ostream & operator<< (std::ostream &s, const GLSLValue &ut)
 
std::istream & operator>> (std::istream &s, GLSLValue &ut)
 
bool readAttr (Solver::VtxData &m, const QByteArray &ba, size_t &pos)
 
bool writeAttr (const Solver::VtxData &m, QByteArray &ba)
 
bool readAttr (Solver::EdgData &m, const QByteArray &ba, size_t &pos)
 
bool writeAttr (const Solver::EdgData &m, QByteArray &ba)
 
std::set< int > mgxBase_EXPORT findNeighborsLabel (Store *store, Point3i imgSize, Point3i p, int radius=1)
 
void mgx_EXPORT swapMetaData (Store *s1, Store *s2)
 
void calcEigenVecsValues (Matrix3d &M, Point3d &p1, Point3d &p2, Point3d &p3, Point3d &ev)
 
Matrix3d OuterProduct (Point3d p1, Point3d p2)
 
void mgx_EXPORT registerSystemProcesses ()
 
void mgx_EXPORT unregisterSystemProcesses ()
 
mgx_EXPORT QList< int > extractVersion (QIODevice &file)
 
bool savePLYCellGraph (Mesh *mesh, const QString &filename, bool binary)
 
mgx_EXPORT void triangulatePolygon (float maxArea, const std::vector< Point2f > &pList, const std::vector< Point2i > &segList, std::vector< Point2f > &ptList, std::vector< Point3i > &triList, std::vector< Point2i > &segtList, bool boundary=false, bool addPointsCenter=true)
 
mgx_EXPORT void triangulateDelaunay2D (const std::vector< Point2f > &pList, std::vector< Point2f > &ptList, std::vector< Point3i > &triList)
 
template<typename T , typename U >
refpair< T, U > tie (T &x, U &y)
 Tie two variables to the values of a pair. More...
 
Triangle flipTri (const Triangle &t)
 
mgx_EXPORT bool triangleOrientationCheck (std::vector< Point3i > &triList, int idxRefTri=-1)
 triangleOrientationCheck More...
 
mgx_EXPORT std::vector< Point3dorderPolygonSegs (std::vector< std::pair< Point3d, Point3d > > &polygonSegs, bool keepPolySegs=true)
 orderPolygonSegs More...
 
mgx_EXPORT std::vector< std::vector< Point3d > > orderPolygonSegsMulti (std::vector< std::pair< Point3d, Point3d > > &polygonSegs)
 
mgx_EXPORT Point3d getPolygonNrml (std::vector< Point3d > &pointsPolygon)
 getPolygonNrml More...
 
mgx_EXPORT Point3d getPolygonNrml (std::vector< Point3d > &pointsPolygon, int &idxP3)
 
mgx_EXPORT bool isDataPlanar (std::vector< Point3d > &inputVertices)
 isDataPlanar More...
 
mgx_EXPORT bool findPolygonPlane (std::vector< Point3d > &pointsPolygon, Point3d &planePos, Point3d &planeNrml)
 findPolygonPlane More...
 
mgx_EXPORT void inplaceMatrixMultiply (std::vector< Point3d > &P, const Matrix3d &M)
 inplaceMatrixMultiply P := P*M More...
 
mgx_EXPORT bool projectPointsOnPlane (std::vector< Point3d > &points, Point3d planePos, Point3d planeNrml)
 projectPointsOnPlane More...
 
mgx_EXPORT Matrix3d calcRotMatrix (Point3d nrmlStart, Point3d nrmlEnd, Point3d rot_axis=Point3d(0, 0, 0))
 calcRotMatrix More...
 
mgx_EXPORT void rotatePointsIntoXY (Point3d polygonNormal, std::vector< Point3d > &pointsPolygon, Matrix3d &inv_rot_polygon_plane)
 rotatePointsIntoXY More...
 
mgx_EXPORT bool triangulatePolygon3D (float maxArea, Point3d polygonNormal, std::vector< Point3d > &pointsPolygon, std::vector< Point3i > &triList, std::vector< Point3d > &ptList, bool boundary, bool inOrder, bool pointsCenter)
 triangulatePolygon3D More...
 
mgx_EXPORT Point3d orthogonalVector (Point3d vec)
 orthogonalVector More...
 
mgx_EXPORT Point3d calcNearestPointOnBezierGrid (const Point3d &targetPoint, std::vector< std::vector< Point3d > > &bezier, Point2i &bezIdx)
 calculates the nearest point of a tragetPoint on a bezier grid (bezier) More...
 
mgx_EXPORT Matrix3d calcProjectedGrowthTensor (Matrix3d tensor, Point3d planeNrml)
 projectPointOnPlane More...
 
mgx_EXPORT bool pointInPolygon (Point3d pointToTest, std::vector< Point3d > &polygon, bool debug=false)
 
mgx_EXPORT std::vector< Point2dlloydKMeans2D (std::vector< Point2d > &clusters, std::vector< Point2d > &data, int maxStep=-1)
 k means function for 2D data (lloyds algorithm) More...
 
mgx_EXPORT bool lloydKMeans (std::vector< std::vector< double > > &inputClusters, std::vector< AttrMap< int, double > > &dataPoints, int maxStep=-1, double convergenceThreshold=0.01)
 k means function for n-D data (lloyds algorithm) NOTE: dimensions have to match, otherwise function returns false (size of each inputClusters vector == dataPoints.size()) More...
 
mgx_EXPORT double interpolateArrayIndex (double value, double min, double max, double newRange)
 
mgx_EXPORT void drawCross (QImage &image, int x, int y, int size, int crossSize, QRgb color)
 
mgx_EXPORT void drawCircle (QImage &image, int x, int y, int size, QRgb color)
 
mgx_EXPORT double gauss2D (double x, double y, double muX, double muY, double sigmaX, double sigmaY)
 returns the value of a 2D gaussian function More...
 
mgx_EXPORT Point3d calcNearestPointOnBezierLine (const Point3d &targetPoint, std::vector< Point3d > &bezierVec, int &bezIdx, double &bezWeight)
 calculates the nearest point of a tragetPoint on a bezier line (bMap) as the bezier is discretized, it is approximated linearly between the nearest point and the closer neighbor point More...
 
mgx_EXPORT Point3d calcNearestPointOnBezierLine (const Point3d &targetPoint, std::map< int, Point3d > &bMap, int &bezIdx, double &bezWeight)
 
mgx_EXPORT Point3d calcNearestPointOnBezierLine (const Point3d &targetPoint, std::map< int, Point3d > &bMap)
 
mgx_EXPORT QRgb calcRGB (double maxValue, double currentValue)
 
mgx_EXPORT QRgb getColorFromLabel (int label)
 
mgx_EXPORT double angleVectors (Point3d v1, Point3d v2, bool directed=false)
 
template<typename T >
CU_HOST_DEVICEmin (const T a, const T b)
 
template<typename T >
T CU_HOST_DEVICE max (const T a, const T b)
 
template<typename T >
CU_HOST_DEVICEtrim (const T x, const T minx, const T maxx)
 
template<size_t dim, typename T , typename T1 >
CU_HOST_DEVICE Vector< dim, T > map (const T &(*fct)(const T1 &), const Vector< dim, T1 > &v)
 
template<size_t dim, typename T , typename T1 >
CU_HOST_DEVICE Vector< dim, T > map (T(*fct)(const T1 &), const Vector< dim, T1 > &v)
 
template<typename VertexContent , typename Alloc , typename charT >
std::basic_ostream< charT > & operator<< (std::basic_ostream< charT > &ss, const Vertex< VertexContent > &v)
 
void discretizeBezierLineRef (CuttingSurface *cutSurf, double vPos, double vRefPos, Matrix4d rotMat, int bezMapSize, std::map< int, Point3d > &bMap, std::map< int, Point3d > &diffbMap, std::map< int, Point3d > &refbMap)
 
bool 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 findSelectedLabel (const vvGraph &S)
 find ONE selected vertex in a vvGraph and return its label return 0 if nothing is selected More...
 
bool 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 pointInCone (Point3d axisVec, Point3d &coneTop, Point3d &coneBase, double coneAngle, Point3d &pointToTest)
 return true if a point is inside a cone More...
 
double gauss1D (double x, double muX, double sigmaX)
 returns the value of a 1D gaussian function More...
 
double calcCircumferential (Point3d dirRadRef, Point3d dirLongRef, Point3d cellCenter, Point3d cellOnLong)
 
Point3d inPrimCoord (double radiant, Point3d dirRadRef, Point3d dirLongRef)
 
void findMinMax (std::map< int, double > &map, double &min, double &max)
 
void differentialOfBezierGrid (std::vector< std::vector< Point3d > > &bezierGrid, Point2i &p, Point3d &diffU, Point3d &diffV)
 
double cartesianToOrganCoordsLong (Point3d cartesianCoords, std::map< int, Point3d > &bMap, Point3d &closestPoint)
 
bool readAttr (CellAtlasData &m, const QByteArray &ba, size_t &pos)
 
bool writeAttr (const CellAtlasData &m, QByteArray &ba)
 
bool readAttr (CellAtlasConfig &data, const QByteArray &ba, size_t &pos)
 
bool writeAttr (const CellAtlasConfig &data, QByteArray &ba)
 
void writeAttrMaps (RootCellProcessing rcp, CellAtlasAttr *cellAtlasAttr, CellAtlasConfigAttr *cellAtlasConfigAttr)
 
bool readAttr (CellDivisionAttr &m, const QByteArray &ba, size_t &pos)
 
bool writeAttr (const CellDivisionAttr &m, QByteArray &ba)
 
bool readAttr (DivisionDataNew &dd, const QByteArray &ba, size_t &pos)
 
bool writeAttr (const DivisionDataNew &dd, QByteArray &ba)
 
std::vector< TrianglefindCellTris (vvGraph &S, int cellLabel)
 
void drawPlane (const Process &process, Mesh *m, DivisionPlane &vtxTris, Point3d scalingNormal=Point3d(0, 0, 0), double scalingFac=1)
 
void simulateDivision2D (std::vector< vertex > &cellContour, Point3d &divP, Point3d divNormal, std::vector< P3dDouble > &samplingDirections, std::vector< CellDivision > &allDivisions, Point3d &shortestPlaneNrml, double &shortesPlaneDispl)
 
double maxPlaneSimilarity (AttrMap< int, CellDivisionAttr > &cellDivs, CellDivisionAttr cda)
 
bool writeCsvFile (QString filename, QString header, vector< vector< double > > &data)
 write a 2D array to a (csv) file More...
 
double calcRatio (double value1, double value2)
 return the ratio ( = bigger value divided by smaller value) More...
 
double avgCellSizeMGX3D (const cell &c)
 returns an approximation of the 3D cell size (the average of the distance of every vertex to the cell center) More...
 
double divisionPlaneArea (Point3d cellCenter, const std::vector< Point3d > &v)
 returns the area of a polygon (=division plane) More...
 
double divisionPlaneAreaMulti (Point3d cellCenter, const std::vector< std::vector< Point3d > > &vMulti)
 returns the summed area of multiple polygons (=division planes) More...
 
bool findCell (cellGraph &C, cell &searchedCell, int label, int &maxLabel)
 returns whether a cell with the specified label exists, also provides the cell and the max Label of all cells More...
 
void calcCellGraphJoinedCells (cellGraph &C, const cell &c1, const cell &c2)
 add the neighbors of c2 to the cell graph of c1 More...
 
void copyCellGraph (CellTissue &orig, CellTissue &copy)
 copies the cell graph, used for simulating cell division (without altering the original) More...
 
std::vector< Point3dgetSharedVtxs (const cell &c1, const cell &c2)
 returns the area of a polygon More...
 
std::set< TrianglegetSharedTris (const cell &c1, const cell &c2)
 
double calcTriArea (std::set< Triangle > &tris)
 
void calcJoinedCell (const cell &c1, const cell &c2, vvGraph &result, bool simple)
 returns the area of a polygon More...
 
void generateSamplingDirectionsNew (int nrPlanes, int centerVarSteps, double centerVarStepSize, std::vector< P3dDouble > &samplingDirections)
 returns the area of a polygon More...
 
void generateSamplingDirections (double resolution, int centerVarSteps, double centerVarStepSize, std::vector< P3dDouble > &samplingDirections)
 
void generateSamplingDirections (double resolution, int centerVarSteps, double centerVarStepSize, Point3d perpendicularPlane, std::set< Point3d > perpPlaneNormals2, bool enforceDivThroughNeighbor, std::vector< P3dDouble > &samplingDirections)
 
void addCenterDisplacementTestCut (int centerVarSteps, double centerVarStepSize, Point3d cellCenter, Point3d perpendicularPlane, std::set< Point3d > perpPlaneNormals2, std::unordered_map< Point3d, Point3d > &wallCenter, std::unordered_map< Point3d, std::vector< Point3d > > wallPoints, std::vector< P3dDouble > &samplingDirections)
 
double calcVolume (vector< Triangle > tris)
 
bool planeSegmentIntersect (const Point3d &p, const Point3d &nrml, const Point3d &u1, const Point3d &u2, Point3d &intersectP)
 
void findNeighbTris (cellGraph &C, const cell &c, std::map< cell, std::vector< Triangle > > &neighbTris)
 
void cellTriNeighbors (cellGraph &C, const cell &c, std::map< Triangle, int > &trisNeighbMap)
 
double estimateVolumeOpenBody (std::vector< Triangle > tris, set< vertex > &exposedVtxs)
 
void estimateVolumeDaughterCells (std::vector< Triangle > &trisLeft, std::vector< Triangle > &trisRight, std::vector< Triangle > &trisSplit)
 
void calcRandWalkBetweenness (std::map< IntInt, double > &neighborhoodWeights, std::map< int, int > &labelPosMap, std::vector< int > &orderedLabels, std::map< int, double > &cellBetweenessMap, bool useGPU)
 
void calcRandWalkBetweenness (cellGraph &C, std::map< IntInt, double > &weights, std::map< cell, double > &cellBetweenessMap, bool useGPU, bool doRevCuthill)
 
void calcRandWalkBetweenness (std::map< IntInt, double > &neighborhoodGraph, std::map< int, double > &labelBetweenessMap, bool useGPU)
 
void separateIdenticalVtxs (const cell &c)
 
bool planePolygonIntersect (Point3d planeNrml, Point3d planePos, std::vector< Point3d > polygonVtxs)
 
std::vector< TrianglegetTrisOfCells (Mesh *m, int selectedLabel, bool parentMode)
 
std::vector< vertexgetVtxsOfCells (Mesh *m, int selectedLabel, bool parentMode)
 
std::vector< vertexgetOrRemoveCommonWall (Mesh *m, std::vector< vertex > &cellVtxs, bool removeCommon, bool includeEdgeOfShared)
 
std::vector< TrianglegetOrRemoveCommonWall (Mesh *mesh, std::vector< Triangle > &cellTris, bool removeCommon, bool mergeDuplicated)
 
void assembleCellFromWalls (vvGraph &S, std::vector< vertex > vtxs, std::vector< Point3i > tris, std::set< vertex > &borderVtxs, double mergingThreshold, int labelCounter, bool orientCheck)
 

Variables

mgx_EXPORT IntVtxMapvMap
 Maps for saveId for vertices and cells, created when file is read Globals required for overloads of readAttr and writeAttr for custom types. More...
 
mgx_EXPORT IntCellMapcMap
 
CU_HOST_DEVICE const const T c1
 
CU_HOST_DEVICE const const T T c2
 
CU_HOST_DEVICE const const T T T c3
 
area2
 
 nrml
 
mgx_EXPORT MGXOpenGLFunctionsglfuncs
 
mgx_EXPORT bool DEBUG
 
const int SAMPLES
 
mgxPython_EXPORT PyTypeObject factory_type
 
mgxPython_EXPORT PyTypeObject process_type
 
mgx_EXPORT size_t vertex_counter
 Number used to enumerate the vertices of all types. More...
 
DivisionAnalysisData dat
 

Detailed Description

Distributed matrix library.

Function prototypes for distributed object library.

Distributed object library.

Function prototypes for distributed matrix library.

This class allows VV graphs to be manipulated like vectors and matrices, with the computations being done on the GPU. It uses distributed object to move data back and forth that is stored in the properties of VVGraph vertices and edges. or stored in the attributes keyed by vertices and edges.

This class allows data that is stored in the properties of a VVGraph to be transferred to/from the GPU. The data can either be in the vertex data itself, or stored in the attributes keyed by vertices and edges.

This namespace contains all the API of MorphoGraphX

Typedef Documentation

◆ BoundingBox3f

typedef BoundingBox<3, float> mgx::BoundingBox3f

Definition at line 142 of file Geometry.hpp.

◆ BoundingBox3i

Definition at line 141 of file Geometry.hpp.

◆ BoundingBox3u

Definition at line 140 of file Geometry.hpp.

◆ cCPair

typedef std::pair<cell,cell> mgx::cCPair

Definition at line 21 of file DivisionAnalysisUtils.hpp.

◆ cell

Type of a vertex.

Definition at line 122 of file Types.hpp.

◆ CellAtlasAttr

Definition at line 275 of file RootCellProcessing.hpp.

◆ CellAtlasConfigAttr

Definition at line 276 of file RootCellProcessing.hpp.

◆ CellBoolAttr

typedef AttrMap<cell, bool> mgx::CellBoolAttr

Definition at line 865 of file Attributes.hpp.

◆ CellBoolMap

typedef std::unordered_map<cell, bool> mgx::CellBoolMap

Map of cell to bool.

Definition at line 180 of file Types.hpp.

◆ CellCellMap

typedef std::unordered_map<cell, cell> mgx::CellCellMap

Map of cell to cell.

Definition at line 173 of file Types.hpp.

◆ CellCellPair

typedef std::pair<cell, cell> mgx::CellCellPair

Definition at line 174 of file Types.hpp.

◆ CellColorbAttr

Definition at line 869 of file Attributes.hpp.

◆ cellDPair

typedef std::pair<cell, double> mgx::cellDPair

Definition at line 23 of file DivisionAnalysisUtils.hpp.

◆ CellFloatAttr

typedef AttrMap<cell, float> mgx::CellFloatAttr

Definition at line 866 of file Attributes.hpp.

◆ CellFloatMap

typedef std::unordered_map<cell, float> mgx::CellFloatMap

Map of cell to float.

Definition at line 182 of file Types.hpp.

◆ cellGraph

Type of the cell graph.

Definition at line 120 of file Types.hpp.

◆ CellIntAttr

typedef AttrMap<cell, int> mgx::CellIntAttr

Definition at line 864 of file Attributes.hpp.

◆ CellIntMap

typedef std::unordered_map<cell, int> mgx::CellIntMap

Map of cell to int.

Definition at line 178 of file Types.hpp.

◆ CellMatrix3fAttr

Definition at line 872 of file Attributes.hpp.

◆ CellMatrix3fMap

typedef std::unordered_map<cell, Matrix3f> mgx::CellMatrix3fMap

Map of cell to Matrix3f.

Definition at line 188 of file Types.hpp.

◆ cellMorphLandscape

typedef std::map<int,std::map<int,double> > mgx::cellMorphLandscape

Definition at line 30 of file CellAtlasUtils.hpp.

◆ CellPoint2fAttr

Definition at line 867 of file Attributes.hpp.

◆ CellPoint2fMap

typedef std::unordered_map<cell, Point2f> mgx::CellPoint2fMap

Map of cell to Point2f.

Definition at line 184 of file Types.hpp.

◆ CellPoint3fAttr

Definition at line 868 of file Attributes.hpp.

◆ CellPoint3fMap

typedef std::unordered_map<cell, Point3f> mgx::CellPoint3fMap

Map of cell to Point3f.

Definition at line 186 of file Types.hpp.

◆ CellQStringAttr

typedef AttrMap<cell, QString> mgx::CellQStringAttr

Definition at line 874 of file Attributes.hpp.

◆ CellSet

typedef std::unordered_set<cell> mgx::CellSet

Set of cells.

Definition at line 126 of file Types.hpp.

◆ CellSetPair

typedef std::pair<std::set<cell>, std::set<cell> > mgx::CellSetPair

Definition at line 20 of file DivisionAnalysisUtils.hpp.

◆ CellSymTensorAttr

Definition at line 873 of file Attributes.hpp.

◆ CellVec

typedef std::vector<cell> mgx::CellVec

Vector of cells.

Definition at line 128 of file Types.hpp.

◆ CellVec2ColorbAttr

Definition at line 870 of file Attributes.hpp.

◆ CellVec3ColorbAttr

Definition at line 871 of file Attributes.hpp.

◆ Color3f

typedef Color< float > mgx::Color3f

Definition at line 32 of file ClipRegion.hpp.

◆ Colorb

Definition at line 318 of file Color.hpp.

◆ ColorbVec

typedef std::vector<Colorb> mgx::ColorbVec

Definition at line 319 of file Color.hpp.

◆ Colorf

typedef Color< float > mgx::Colorf

Definition at line 317 of file Color.hpp.

◆ DCountIter

typedef thrust::counting_iterator<int, thrust::device_space_tag> mgx::DCountIter

Definition at line 67 of file Cuda.hpp.

◆ DeviceP3d

typedef thrust::device_ptr<Point3d> mgx::DeviceP3d

Definition at line 60 of file Cuda.hpp.

◆ DevicePd

typedef thrust::device_ptr<double> mgx::DevicePd

Definition at line 59 of file Cuda.hpp.

◆ DevicePi

typedef thrust::device_ptr<int> mgx::DevicePi

Definition at line 57 of file Cuda.hpp.

◆ DevicePM3d

typedef thrust::device_ptr<Matrix3d> mgx::DevicePM3d

Definition at line 61 of file Cuda.hpp.

◆ DevicePui

typedef thrust::device_ptr<uint> mgx::DevicePui

Definition at line 58 of file Cuda.hpp.

◆ DeviceV12u

typedef thrust::device_vector<Point12u> mgx::DeviceV12u

Definition at line 64 of file ThrustTypes.hpp.

◆ DeviceV1d

typedef thrust::device_vector<Point1d> mgx::DeviceV1d

Definition at line 72 of file ThrustTypes.hpp.

◆ DeviceV1u

typedef thrust::device_vector<Point1u> mgx::DeviceV1u

Definition at line 59 of file ThrustTypes.hpp.

◆ DeviceV2d

typedef thrust::device_vector<Point2d> mgx::DeviceV2d

Definition at line 73 of file ThrustTypes.hpp.

◆ DeviceV2i

typedef thrust::device_vector<Point2i> mgx::DeviceV2i

Definition at line 56 of file ThrustTypes.hpp.

◆ DeviceV2u

typedef thrust::device_vector<Point2u> mgx::DeviceV2u

Definition at line 60 of file ThrustTypes.hpp.

◆ DeviceV30u

typedef thrust::device_vector<Point30u> mgx::DeviceV30u

Definition at line 65 of file ThrustTypes.hpp.

◆ DeviceV3d

typedef thrust::device_vector<Point3d> mgx::DeviceV3d

Definition at line 74 of file ThrustTypes.hpp.

◆ DeviceV3f

typedef thrust::device_vector<Point3f> mgx::DeviceV3f

Definition at line 68 of file ThrustTypes.hpp.

◆ DeviceV3u

typedef thrust::device_vector<Point3u> mgx::DeviceV3u

Definition at line 61 of file ThrustTypes.hpp.

◆ DeviceV4d

typedef thrust::device_vector<Point4d> mgx::DeviceV4d

Definition at line 75 of file ThrustTypes.hpp.

◆ DeviceV4f

typedef thrust::device_vector<Point4f> mgx::DeviceV4f

Definition at line 69 of file ThrustTypes.hpp.

◆ DeviceV4u

typedef thrust::device_vector<Point4u> mgx::DeviceV4u

Definition at line 62 of file ThrustTypes.hpp.

◆ DeviceV6d

typedef thrust::device_vector<Point6d> mgx::DeviceV6d

Definition at line 76 of file ThrustTypes.hpp.

◆ DeviceV6u

typedef thrust::device_vector<Point6u> mgx::DeviceV6u

Definition at line 63 of file ThrustTypes.hpp.

◆ DeviceV9d

typedef thrust::device_vector<Point9d> mgx::DeviceV9d

Definition at line 77 of file ThrustTypes.hpp.

◆ DeviceVbool

typedef thrust::device_vector<bool> mgx::DeviceVbool

Definition at line 53 of file ThrustTypes.hpp.

◆ DeviceVd

typedef thrust::device_vector<double> mgx::DeviceVd

Definition at line 71 of file ThrustTypes.hpp.

◆ DeviceVf

typedef thrust::device_vector<float> mgx::DeviceVf

Definition at line 67 of file ThrustTypes.hpp.

◆ DeviceVM1d

typedef thrust::device_vector<Matrix1d> mgx::DeviceVM1d

Definition at line 79 of file ThrustTypes.hpp.

◆ DeviceVM2d

typedef thrust::device_vector<Matrix2d> mgx::DeviceVM2d

Definition at line 80 of file ThrustTypes.hpp.

◆ DeviceVM3d

typedef thrust::device_vector<Matrix3d> mgx::DeviceVM3d

Definition at line 81 of file ThrustTypes.hpp.

◆ DeviceVM6x3d

typedef thrust::device_vector<Matrix6x3d> mgx::DeviceVM6x3d

Definition at line 82 of file ThrustTypes.hpp.

◆ DeviceVu

typedef thrust::device_vector<uint> mgx::DeviceVu

Definition at line 58 of file ThrustTypes.hpp.

◆ DeviceVus

typedef thrust::device_vector<ushort> mgx::DeviceVus

Definition at line 55 of file ThrustTypes.hpp.

◆ DistNhbdC

Definition at line 24 of file Solver.hpp.

◆ DMatrix2d

Definition at line 27 of file Solver.hpp.

◆ DVector2d

Definition at line 26 of file Solver.hpp.

◆ DVM2f

typedef thrust::host_vector<Matrix2d> mgx::DVM2f

Definition at line 29 of file Solver.hpp.

◆ edge

Type of an edge.

Definition at line 53 of file Misc.hpp.

◆ edge_identity_t

typedef intptr_t mgx::edge_identity_t

Type of the identifier of an edge.

Definition at line 32 of file Edge.hpp.

◆ EdgeBoolAttr

typedef AttrMap<edge, bool> mgx::EdgeBoolAttr

Definition at line 853 of file Attributes.hpp.

◆ EdgeColorbAttr

Definition at line 857 of file Attributes.hpp.

◆ EdgeFloatAttr

typedef AttrMap<edge, float> mgx::EdgeFloatAttr

Definition at line 854 of file Attributes.hpp.

◆ EdgeIntAttr

typedef AttrMap<edge, int> mgx::EdgeIntAttr

Definition at line 852 of file Attributes.hpp.

◆ EdgeMatrix3fAttr

Definition at line 860 of file Attributes.hpp.

◆ EdgePoint2fAttr

Definition at line 855 of file Attributes.hpp.

◆ EdgePoint3fAttr

Definition at line 856 of file Attributes.hpp.

◆ EdgeQStringAttr

typedef AttrMap<edge, QString> mgx::EdgeQStringAttr

Definition at line 862 of file Attributes.hpp.

◆ EdgeSymTensorAttr

Definition at line 861 of file Attributes.hpp.

◆ EdgeVec2ColorbAttr

Definition at line 858 of file Attributes.hpp.

◆ EdgeVec3ColorbAttr

Definition at line 859 of file Attributes.hpp.

◆ FileDataVector

typedef std::vector<FileDataType> mgx::FileDataVector

Definition at line 73 of file DataAnalyzer.hpp.

◆ FileEFactorDataVector

Definition at line 74 of file DataAnalyzer.hpp.

◆ FilenameVector

typedef std::vector<QString> mgx::FilenameVector

Definition at line 78 of file DataAnalyzer.hpp.

◆ FloatVec

typedef std::vector<float> mgx::FloatVec

Vector of floats.

Definition at line 82 of file Types.hpp.

◆ HostV12u

typedef thrust::host_vector<Point12u> mgx::HostV12u

Definition at line 32 of file ThrustTypes.hpp.

◆ HostV1d

typedef thrust::host_vector<Point1d> mgx::HostV1d

Definition at line 40 of file ThrustTypes.hpp.

◆ HostV1u

typedef thrust::host_vector<Point1u> mgx::HostV1u

Definition at line 27 of file ThrustTypes.hpp.

◆ HostV2d

typedef thrust::host_vector<Point2d> mgx::HostV2d

Definition at line 41 of file ThrustTypes.hpp.

◆ HostV2i

typedef thrust::host_vector<Point2i> mgx::HostV2i

Definition at line 24 of file ThrustTypes.hpp.

◆ HostV2u

typedef thrust::host_vector<Point2u> mgx::HostV2u

Definition at line 28 of file ThrustTypes.hpp.

◆ HostV30u

typedef thrust::host_vector<Point30u> mgx::HostV30u

Definition at line 33 of file ThrustTypes.hpp.

◆ HostV3d

typedef thrust::host_vector<Point3d> mgx::HostV3d

Definition at line 42 of file ThrustTypes.hpp.

◆ HostV3f

typedef thrust::host_vector<Point3f> mgx::HostV3f

Definition at line 36 of file ThrustTypes.hpp.

◆ HostV3u

typedef thrust::host_vector<Point3u> mgx::HostV3u

Definition at line 29 of file ThrustTypes.hpp.

◆ HostV4d

typedef thrust::host_vector<Point4d> mgx::HostV4d

Definition at line 43 of file ThrustTypes.hpp.

◆ HostV4f

typedef thrust::host_vector<Point4f> mgx::HostV4f

Definition at line 37 of file ThrustTypes.hpp.

◆ HostV4u

typedef thrust::host_vector<Point4u> mgx::HostV4u

Definition at line 30 of file ThrustTypes.hpp.

◆ HostV6d

typedef thrust::host_vector<Point6d> mgx::HostV6d

Definition at line 44 of file ThrustTypes.hpp.

◆ HostV6u

typedef thrust::host_vector<Point6u> mgx::HostV6u

Definition at line 31 of file ThrustTypes.hpp.

◆ HostV9d

typedef thrust::host_vector<Point9d> mgx::HostV9d

Definition at line 45 of file ThrustTypes.hpp.

◆ HostVbool

typedef thrust::host_vector<bool> mgx::HostVbool

Definition at line 21 of file ThrustTypes.hpp.

◆ HostVd

typedef thrust::host_vector<double> mgx::HostVd

Definition at line 39 of file ThrustTypes.hpp.

◆ HostVf

typedef thrust::host_vector<float> mgx::HostVf

Definition at line 35 of file ThrustTypes.hpp.

◆ HostVM1d

typedef thrust::host_vector<Matrix1d> mgx::HostVM1d

Definition at line 47 of file ThrustTypes.hpp.

◆ HostVM2d

typedef thrust::host_vector<Matrix2d> mgx::HostVM2d

Definition at line 48 of file ThrustTypes.hpp.

◆ HostVM3d

typedef thrust::host_vector<Matrix3d> mgx::HostVM3d

Definition at line 49 of file ThrustTypes.hpp.

◆ HostVM6x3d

typedef thrust::host_vector<Matrix6x3d> mgx::HostVM6x3d

Definition at line 50 of file ThrustTypes.hpp.

◆ HostVu

typedef thrust::host_vector<uint> mgx::HostVu

Definition at line 26 of file ThrustTypes.hpp.

◆ HostVus

typedef thrust::host_vector<ushort> mgx::HostVus

Definition at line 23 of file ThrustTypes.hpp.

◆ HVec3F

typedef thrust::host_vector<Point3f> mgx::HVec3F

Definition at line 26 of file CudaExport.hpp.

◆ HVec3U

typedef thrust::host_vector<Point3u> mgx::HVec3U

Definition at line 25 of file CudaExport.hpp.

◆ HVec4F

typedef thrust::host_vector<Point4f> mgx::HVec4F

Definition at line 27 of file CudaExport.hpp.

◆ HVecF

typedef thrust::host_vector<float> mgx::HVecF

Definition at line 24 of file CudaExport.hpp.

◆ HVecU

typedef thrust::host_vector<uint> mgx::HVecU

Definition at line 22 of file CudaExport.hpp.

◆ HVecUS

typedef thrust::host_vector< ushort > mgx::HVecUS

Definition at line 23 of file CudaExport.hpp.

◆ HVM2f

typedef std::vector<Matrix2d> mgx::HVM2f

Definition at line 30 of file Solver.hpp.

◆ IntCellGraphMap

typedef std::unordered_map<int, cellGraph> mgx::IntCellGraphMap

Map of an integer to a cellGraph.

Definition at line 171 of file Types.hpp.

◆ IntCellMap

typedef std::unordered_map<int, cell> mgx::IntCellMap

Int to cell map.

Definition at line 176 of file Types.hpp.

◆ IntColorbAttr

Definition at line 831 of file Attributes.hpp.

◆ IntDoubleMap

typedef std::unordered_map<int, double> mgx::IntDoubleMap

Map of an integer to a double.

Definition at line 55 of file Types.hpp.

◆ IntDoublePair

typedef std::pair<int, double> mgx::IntDoublePair

Element in IntDoubleMap.

Definition at line 57 of file Types.hpp.

◆ IntFloatAttr

typedef AttrMap<int, float> mgx::IntFloatAttr

Definition at line 829 of file Attributes.hpp.

◆ IntFloatMap

typedef std::unordered_map<int, float> mgx::IntFloatMap

Map of an integer to a float.

Definition at line 40 of file Types.hpp.

◆ IntFloatPair

typedef std::pair<int, float> mgx::IntFloatPair

Element in IntFloatMap.

Definition at line 42 of file Types.hpp.

◆ IntHVec3UMap

typedef std::map<int, HVec3U> mgx::IntHVec3UMap

Definition at line 22 of file MeshProcessSignal.hpp.

◆ IntHVec3uMap

typedef std::unordered_map< int, HVec3U > mgx::IntHVec3uMap

Map of an integer to a host vector of 3 unsigned integers.

Definition at line 38 of file Mesh.hpp.

◆ IntHVec3uPair

typedef std::pair< int, HVec3U > mgx::IntHVec3uPair

Element in IntHVec3uMap.

Definition at line 40 of file Mesh.hpp.

◆ IntInt

typedef std::pair< int, int > mgx::IntInt

Definition at line 27 of file GraphAlgorithms.hpp.

◆ IntIntAttr

typedef AttrMap<int, int> mgx::IntIntAttr

Definition at line 828 of file Attributes.hpp.

◆ IntIntDouble

typedef std::pair< IntInt, double > mgx::IntIntDouble

Definition at line 28 of file GraphAlgorithms.hpp.

◆ IntIntDouPair

typedef std::pair< IntInt, double > mgx::IntIntDouPair

Definition at line 22 of file GraphUtils.hpp.

◆ IntIntFloatAttr

Definition at line 837 of file Attributes.hpp.

◆ IntIntFloatMap

typedef std::unordered_map<IntIntPair, float> mgx::IntIntFloatMap

Map of a pair of integers to a float.

Definition at line 95 of file Types.hpp.

◆ IntIntFloatPair

typedef std::pair<IntIntPair, float> mgx::IntIntFloatPair

Element in IntIntFloatMap.

Definition at line 92 of file Types.hpp.

◆ IntIntMap

typedef std::unordered_map<int, int> mgx::IntIntMap

Map of an integer to another one.

Definition at line 64 of file Types.hpp.

◆ IntIntPair

typedef std::pair<int, int> mgx::IntIntPair

Element in IntIntMap.

Definition at line 66 of file Types.hpp.

◆ IntIntPoint3fAttr

Definition at line 838 of file Attributes.hpp.

◆ IntIntSetMap

typedef std::map<int, IntSet> mgx::IntIntSetMap

Map of an integer to a set of integers.

Definition at line 88 of file Types.hpp.

◆ IntIntSetPair

typedef std::pair<int, IntSet> mgx::IntIntSetPair

Element in IntIntSetMap.

Definition at line 86 of file Types.hpp.

◆ IntIntVIdSetMap

Map of a pair of integers to a set of vertex ids.

Definition at line 97 of file Types.hpp.

◆ IntIntVIdSetPair

Element in IntIntVIdSetMap.

Definition at line 90 of file Types.hpp.

◆ IntMatrix3fAttr

Definition at line 834 of file Attributes.hpp.

◆ IntMatrix3fMap

typedef std::unordered_map<int, Matrix3f> mgx::IntMatrix3fMap

Map of an integer to a 3x3 matrix.

Definition at line 100 of file Types.hpp.

◆ IntMatrix3fPair

typedef std::pair<int, Matrix3f> mgx::IntMatrix3fPair

Element in IntMatrix3x3fMap.

Definition at line 102 of file Types.hpp.

◆ IntPoint3dMap

typedef std::unordered_map<int, Point3d> mgx::IntPoint3dMap

Map of an integer to a double 3D point.

Definition at line 59 of file Types.hpp.

◆ IntPoint3dPair

typedef std::pair<int, Point3d> mgx::IntPoint3dPair

Element in IntPoint3dMap.

Definition at line 61 of file Types.hpp.

◆ IntPoint3fAttr

Definition at line 830 of file Attributes.hpp.

◆ IntPoint3fMap

typedef std::unordered_map<int, Point3f> mgx::IntPoint3fMap

Map of an integer to a 3D point.

Definition at line 45 of file Types.hpp.

◆ IntPoint3fPair

typedef std::pair<int, Point3f> mgx::IntPoint3fPair

Element in IntPoint3fMap.

Definition at line 47 of file Types.hpp.

◆ IntQStringAttr

typedef AttrMap<int, QString> mgx::IntQStringAttr

Definition at line 836 of file Attributes.hpp.

◆ IntSet

typedef std::set<int> mgx::IntSet

Set of integers.

Definition at line 78 of file Types.hpp.

◆ IntSymTensorAttr

Definition at line 835 of file Attributes.hpp.

◆ IntSymTensorMap

typedef std::unordered_map<int, SymmetricTensor> mgx::IntSymTensorMap

Map an integer to a symmetric tensor.

Definition at line 104 of file Types.hpp.

◆ IntSymTensorPair

typedef std::pair<int, SymmetricTensor> mgx::IntSymTensorPair

Element in IntSymTensorMap.

Definition at line 106 of file Types.hpp.

◆ intToVec

typedef std::map<int, std::vector<int> > mgx::intToVec

Definition at line 32 of file CellAtlasUtils.hpp.

◆ IntVec

typedef std::vector<int> mgx::IntVec

Vector of integers.

Definition at line 80 of file Types.hpp.

◆ IntVec2ColorbAttr

Definition at line 832 of file Attributes.hpp.

◆ IntVec3ColorbAttr

Definition at line 833 of file Attributes.hpp.

◆ IntVIdSetMap

typedef std::map<int, VIdSet> mgx::IntVIdSetMap

Map of an integer to a set of vertex ids.

Definition at line 74 of file Types.hpp.

◆ IntVIdSetPair

typedef std::pair<int, VIdSet> mgx::IntVIdSetPair

Element in IntVIdSetMap.

Definition at line 76 of file Types.hpp.

◆ IntVtxMap

typedef std::unordered_map<int, vertex> mgx::IntVtxMap

Int to vertex map.

Definition at line 146 of file Types.hpp.

◆ IntVtxPair

typedef std::pair<int, vertex> mgx::IntVtxPair

Definition at line 147 of file Types.hpp.

◆ IntVVGraphMap

typedef std::unordered_map<int, vvGraph> mgx::IntVVGraphMap

Map of an integer to a vvGraph.

Definition at line 144 of file Types.hpp.

◆ IntVVGraphPair

typedef std::pair<int, vvGraph> mgx::IntVVGraphPair

Integer, VVGraph pair.

Definition at line 139 of file Types.hpp.

◆ ivec1

typedef Vector<1, GLint> mgx::ivec1

Definition at line 32 of file Shader.hpp.

◆ ivec2

typedef Vector<2, GLint> mgx::ivec2

Definition at line 33 of file Shader.hpp.

◆ ivec3

typedef Vector<3, GLint> mgx::ivec3

Definition at line 34 of file Shader.hpp.

◆ ivec4

typedef Vector<4, GLint> mgx::ivec4

Definition at line 35 of file Shader.hpp.

◆ labelVertexMap

typedef std::map<int, std::vector<vertex> > mgx::labelVertexMap

Definition at line 16 of file CellAtlasUtils.hpp.

◆ labelVertexVecPair

typedef std::pair<int, std::vector<vertex> > mgx::labelVertexVecPair

Definition at line 18 of file CellAtlasUtils.hpp.

◆ mat2

typedef Matrix<2, 2, GLfloat> mgx::mat2

Definition at line 40 of file Shader.hpp.

◆ mat3

typedef Matrix<3, 3, GLfloat> mgx::mat3

Definition at line 41 of file Shader.hpp.

◆ mat4

typedef Matrix<4, 4, GLfloat> mgx::mat4

Definition at line 42 of file Shader.hpp.

◆ Matrix12d

typedef Matrix<12, 12, double> mgx::Matrix12d

Definition at line 136 of file Geometry.hpp.

◆ Matrix12x3d

typedef Matrix<12, 3, double> mgx::Matrix12x3d

Definition at line 135 of file Geometry.hpp.

◆ Matrix18d

typedef Matrix<18, 18, double> mgx::Matrix18d

Definition at line 138 of file Geometry.hpp.

◆ Matrix1d

typedef Matrix<1, 1, double> mgx::Matrix1d

Definition at line 105 of file Geometry.hpp.

◆ Matrix2d

typedef Matrix<2, 2, double> mgx::Matrix2d

Definition at line 106 of file Geometry.hpp.

◆ Matrix2f

typedef Matrix<2, 2, float> mgx::Matrix2f

Definition at line 95 of file Geometry.hpp.

◆ Matrix2u

typedef Matrix<2, 2, uint> mgx::Matrix2u

Definition at line 99 of file Geometry.hpp.

◆ Matrix2x3d

typedef Matrix<2, 3, double> mgx::Matrix2x3d

Definition at line 107 of file Geometry.hpp.

◆ Matrix2x6d

typedef Matrix<2, 6, double> mgx::Matrix2x6d

Definition at line 108 of file Geometry.hpp.

◆ Matrix3d

typedef Matrix< 3, 3, double > mgx::Matrix3d

Definition at line 111 of file Geometry.hpp.

◆ Matrix3f

typedef Matrix<3, 3, float> mgx::Matrix3f

Definition at line 96 of file Geometry.hpp.

◆ Matrix3u

typedef Matrix<3, 3, uint> mgx::Matrix3u

Definition at line 100 of file Geometry.hpp.

◆ Matrix3x12d

typedef Matrix<3, 12, double> mgx::Matrix3x12d

Definition at line 114 of file Geometry.hpp.

◆ Matrix3x18d

typedef Matrix<3, 18, double> mgx::Matrix3x18d

Definition at line 115 of file Geometry.hpp.

◆ Matrix3x2d

typedef Matrix<3, 2, double> mgx::Matrix3x2d

Definition at line 110 of file Geometry.hpp.

◆ Matrix3x4d

typedef Matrix<3, 4, double> mgx::Matrix3x4d

Definition at line 112 of file Geometry.hpp.

◆ Matrix3x6d

typedef Matrix<3, 6, double> mgx::Matrix3x6d

Definition at line 113 of file Geometry.hpp.

◆ Matrix4d

typedef Matrix<4, 4, double> mgx::Matrix4d

Definition at line 119 of file Geometry.hpp.

◆ Matrix4f

typedef Matrix<4, 4, float> mgx::Matrix4f

Definition at line 97 of file Geometry.hpp.

◆ Matrix4u

typedef Matrix<4, 4, uint> mgx::Matrix4u

Definition at line 101 of file Geometry.hpp.

◆ Matrix4x2d

typedef Matrix<4, 2, double> mgx::Matrix4x2d

Definition at line 117 of file Geometry.hpp.

◆ Matrix4x3d

typedef Matrix<4, 3, double> mgx::Matrix4x3d

Definition at line 118 of file Geometry.hpp.

◆ Matrix4x3u

typedef Matrix<4, 3, uint> mgx::Matrix4x3u

Definition at line 102 of file Geometry.hpp.

◆ Matrix4x6d

typedef Matrix<4, 6, double> mgx::Matrix4x6d

Definition at line 120 of file Geometry.hpp.

◆ Matrix5x3d

typedef Matrix<5, 3, double> mgx::Matrix5x3d

Definition at line 122 of file Geometry.hpp.

◆ Matrix6d

typedef Matrix<6, 6, double> mgx::Matrix6d

Definition at line 125 of file Geometry.hpp.

◆ Matrix6x12d

typedef Matrix<6, 12, double> mgx::Matrix6x12d

Definition at line 127 of file Geometry.hpp.

◆ Matrix6x18d

typedef Matrix<6, 18, double> mgx::Matrix6x18d

Definition at line 128 of file Geometry.hpp.

◆ Matrix6x3d

typedef Matrix<6, 3, double> mgx::Matrix6x3d

Definition at line 126 of file Geometry.hpp.

◆ Matrix6x3u

typedef Matrix<6, 3, uint> mgx::Matrix6x3u

Definition at line 103 of file Geometry.hpp.

◆ Matrix9d

typedef Matrix<9, 9, double> mgx::Matrix9d

Definition at line 132 of file Geometry.hpp.

◆ Matrix9x18d

typedef Matrix<9, 18, double> mgx::Matrix9x18d

Definition at line 133 of file Geometry.hpp.

◆ Matrix9x3d

typedef Matrix< 9, 3, double > mgx::Matrix9x3d

Definition at line 130 of file Geometry.hpp.

◆ MGXOpenGLFunctions

typedef QOpenGLFunctions_3_0 mgx::MGXOpenGLFunctions

Definition at line 25 of file GL.hpp.

◆ P2iDMap

typedef std::map<Point2i, double> mgx::P2iDMap

Definition at line 34 of file CellAtlasUtils.hpp.

◆ P2iDPair

typedef std::pair<Point2i, double> mgx::P2iDPair

Definition at line 35 of file CellAtlasUtils.hpp.

◆ P3dboolPair

typedef std::pair<Point3d, bool> mgx::P3dboolPair

Definition at line 22 of file DivisionAnalysisUtils.hpp.

◆ P3dDD

typedef std::pair<P3dDouble, double> mgx::P3dDD

Definition at line 26 of file DivisionAnalysisUtils.hpp.

◆ P3dDouble

typedef std::pair<Point3d, double> mgx::P3dDouble

Definition at line 17 of file DivisionAnalysisUtils.hpp.

◆ P3dInt

typedef std::pair<Point3d, int> mgx::P3dInt

Definition at line 25 of file DivisionAnalysisUtils.hpp.

◆ P3dP3d

typedef std::pair<Point3d,Point3d> mgx::P3dP3d

Definition at line 27 of file DivisionAnalysisUtils.hpp.

◆ PlaneNrmlPoint

typedef std::pair<Point3d, Point3d> mgx::PlaneNrmlPoint

Definition at line 208 of file DivisionAnalysisUtils.hpp.

◆ Point12d

typedef Vector<12, double> mgx::Point12d

Definition at line 63 of file Geometry.hpp.

◆ Point12f

typedef Vector<12, float> mgx::Point12f

Definition at line 52 of file Geometry.hpp.

◆ Point12u

typedef Vector<12,uint> mgx::Point12u

Definition at line 79 of file Geometry.hpp.

◆ Point16d

typedef Vector<16, double> mgx::Point16d

Definition at line 64 of file Geometry.hpp.

◆ Point18d

typedef Vector<18, double> mgx::Point18d

Definition at line 65 of file Geometry.hpp.

◆ Point1d

typedef Vector<1, double> mgx::Point1d

Definition at line 54 of file Geometry.hpp.

◆ Point1u

typedef Vector<1, uint> mgx::Point1u

Definition at line 73 of file Geometry.hpp.

◆ Point2d

typedef Vector<2, double> mgx::Point2d

Definition at line 55 of file Geometry.hpp.

◆ Point2f

typedef Vector< 2, float > mgx::Point2f

Definition at line 19 of file ColorMap.hpp.

◆ Point2fVec

typedef std::vector<Point2f> mgx::Point2fVec

Vector of Point2f.

Definition at line 84 of file Types.hpp.

◆ Point2i

typedef Vector< 2, int > mgx::Point2i

Definition at line 22 of file CuttingSurface.hpp.

◆ Point2s

typedef Vector<2, size_t> mgx::Point2s

Definition at line 86 of file Geometry.hpp.

◆ Point2u

typedef Vector<2, uint> mgx::Point2u

Definition at line 74 of file Geometry.hpp.

◆ Point30u

typedef Vector<30,uint> mgx::Point30u

Definition at line 80 of file Geometry.hpp.

◆ Point3b

typedef Vector<3, bool> mgx::Point3b

Definition at line 37 of file Types.hpp.

◆ Point3d

typedef Vector< 3, double > mgx::Point3d

Definition at line 56 of file Geometry.hpp.

◆ Point3dIntMap

typedef std::map<Point3d, int> mgx::Point3dIntMap

Map of Point3d to int.

Definition at line 50 of file Types.hpp.

◆ Point3dIntPair

typedef std::pair<Point3d, int> mgx::Point3dIntPair

Element in Point3dIntMap.

Definition at line 52 of file Types.hpp.

◆ Point3f

typedef Vector< 3, float > mgx::Point3f

Definition at line 25 of file CuttingSurface.hpp.

◆ Point3GLub

typedef Vector< 3, GLubyte > mgx::Point3GLub

Definition at line 43 of file ImageData.hpp.

◆ Point3GLui

typedef Vector<3, GLuint> mgx::Point3GLui

Definition at line 56 of file Misc.hpp.

◆ Point3i

typedef Vector<3, int> mgx::Point3i

Definition at line 68 of file Geometry.hpp.

◆ Point3iIntSetMap

typedef std::map<Point3i, std::set<int> > mgx::Point3iIntSetMap

calculate properties of the neighborhood of a vvGraph such as: cell wall area, shared wall areas, nr of cells of a vertex and individual wall labels

Parameters
SvvGraph
tolerancemax dis to treat vtxs as the same
infooutput information

Definition at line 237 of file GraphUtils.hpp.

◆ Point3iIntSetPair

typedef std::pair<Point3i, std::set<int> > mgx::Point3iIntSetPair

Definition at line 238 of file GraphUtils.hpp.

◆ Point3s

typedef Vector<3, size_t> mgx::Point3s

Definition at line 87 of file Geometry.hpp.

◆ Point3u

typedef Vector< 3, unsigned int > mgx::Point3u

Definition at line 75 of file Geometry.hpp.

◆ Point3uc

typedef Vector<3, uchar> mgx::Point3uc

Definition at line 92 of file Geometry.hpp.

◆ Point3ul

typedef Vector<3, ulong> mgx::Point3ul

Definition at line 84 of file Geometry.hpp.

◆ Point3us

typedef Vector< 3, ushort > mgx::Point3us

Definition at line 82 of file Geometry.hpp.

◆ Point4d

typedef Vector<4, double> mgx::Point4d

Definition at line 57 of file Geometry.hpp.

◆ Point4f

typedef Vector< 4, float > mgx::Point4f

Definition at line 20 of file ColorMap.hpp.

◆ Point4GLub

typedef Vector<4, GLubyte> mgx::Point4GLub

Definition at line 59 of file Misc.hpp.

◆ Point4GLui

typedef Vector<4, GLuint> mgx::Point4GLui

Definition at line 57 of file Misc.hpp.

◆ Point4i

typedef Vector<4, int> mgx::Point4i

Definition at line 69 of file Geometry.hpp.

◆ Point4s

typedef Vector<4, size_t> mgx::Point4s

Definition at line 88 of file Geometry.hpp.

◆ Point4u

typedef Vector<4, uint> mgx::Point4u

Definition at line 76 of file Geometry.hpp.

◆ Point4v

typedef Vector<4, vertex> mgx::Point4v

Definition at line 40 of file ImageData.hpp.

◆ Point5d

typedef Vector<5, double> mgx::Point5d

Definition at line 58 of file Geometry.hpp.

◆ Point5f

typedef Vector<5, float> mgx::Point5f

Definition at line 50 of file Geometry.hpp.

◆ Point5i

typedef Vector<5, int> mgx::Point5i

Definition at line 70 of file Geometry.hpp.

◆ Point5s

typedef Vector<5, size_t> mgx::Point5s

Definition at line 89 of file Geometry.hpp.

◆ Point5u

typedef Vector<5, uint> mgx::Point5u

Definition at line 77 of file Geometry.hpp.

◆ Point6d

typedef Vector< 6, double > mgx::Point6d

Definition at line 59 of file Geometry.hpp.

◆ Point6f

typedef Vector<6, float> mgx::Point6f

Definition at line 51 of file Geometry.hpp.

◆ Point6i

typedef Vector<6, int> mgx::Point6i

Definition at line 71 of file Geometry.hpp.

◆ Point6s

typedef Vector<6, size_t> mgx::Point6s

Definition at line 90 of file Geometry.hpp.

◆ Point6u

typedef Vector<6, uint> mgx::Point6u

Definition at line 78 of file Geometry.hpp.

◆ Point8d

typedef Vector<8, double> mgx::Point8d

Definition at line 61 of file Geometry.hpp.

◆ Point9d

typedef Vector<9, double> mgx::Point9d

Definition at line 62 of file Geometry.hpp.

◆ QStringColorbAttr

Definition at line 903 of file Attributes.hpp.

◆ QStringFloatAttr

typedef AttrMap<QString, float> mgx::QStringFloatAttr

Definition at line 901 of file Attributes.hpp.

◆ QStringIntAttr

typedef AttrMap<QString, int> mgx::QStringIntAttr

Definition at line 900 of file Attributes.hpp.

◆ QStringMatrix3fAttr

Definition at line 906 of file Attributes.hpp.

◆ QStringPoint3fAttr

Definition at line 902 of file Attributes.hpp.

◆ QStringQStringAttr

typedef AttrMap<QString, QString> mgx::QStringQStringAttr

Definition at line 908 of file Attributes.hpp.

◆ QStringSymTensorAttr

Definition at line 907 of file Attributes.hpp.

◆ QStringVec2ColorbAttr

Definition at line 904 of file Attributes.hpp.

◆ QStringVec3ColorbAttr

Definition at line 905 of file Attributes.hpp.

◆ QuaternionVec

typedef std::vector<Quaternion> mgx::QuaternionVec

Definition at line 19 of file MiscProcessAnimate.hpp.

◆ Set

typedef std::set< vertex > mgx::Set

Definition at line 37 of file MeshProcessHeatMap.hpp.

◆ SortResultVector

typedef std::vector<SortResultData> mgx::SortResultVector

Definition at line 71 of file DataAnalyzer.hpp.

◆ SortResultVectorAll

Definition at line 72 of file DataAnalyzer.hpp.

◆ SymmetricTensor

Definition at line 45 of file Geometry.hpp.

◆ tagDataMap

typedef std::map<int, FileDataVector> mgx::tagDataMap

Definition at line 77 of file DataAnalyzer.hpp.

◆ tagTypeVector

typedef std::vector<Vec2i> mgx::tagTypeVector

Definition at line 76 of file DataAnalyzer.hpp.

◆ Tri

typedef std::pair<VtxVtx, vertex> mgx::Tri

Definition at line 33 of file DivisionAnalysisUtils.hpp.

◆ TriBoolAttr

Definition at line 889 of file Attributes.hpp.

◆ TriColorbAttr

Definition at line 893 of file Attributes.hpp.

◆ TriFloatAttr

Definition at line 890 of file Attributes.hpp.

◆ TriInt

typedef pair<Triangle, int> mgx::TriInt

Definition at line 40 of file DivisionAnalysisUtils.hpp.

◆ TriIntAttr

Definition at line 888 of file Attributes.hpp.

◆ TriMatrix3fAttr

Definition at line 896 of file Attributes.hpp.

◆ TriPoint2fAttr

Definition at line 891 of file Attributes.hpp.

◆ TriPoint3fAttr

Definition at line 892 of file Attributes.hpp.

◆ TriQStringAttr

Definition at line 898 of file Attributes.hpp.

◆ TriSymTensorAttr

Definition at line 897 of file Attributes.hpp.

◆ TriSymTensorMap

typedef std::unordered_map<Triangle, SymmetricTensor> mgx::TriSymTensorMap

Map a triangle to a symmetric tensor.

Definition at line 114 of file Triangle.hpp.

◆ TriSymTensorPair

Element in TriSymTensorMap.

Definition at line 120 of file Triangle.hpp.

◆ TriVec2ColorbAttr

Definition at line 894 of file Attributes.hpp.

◆ TriVec3ColorbAttr

Definition at line 895 of file Attributes.hpp.

◆ triVector

typedef std::vector<Triangle> mgx::triVector

Definition at line 23 of file GraphUtils.hpp.

◆ ubyte

typedef unsigned char mgx::ubyte

This filee contains different useful geometry algorithms, like intersections, areas, ...

Definition at line 39 of file Geometry.hpp.

◆ uchar

typedef unsigned char mgx::uchar

Definition at line 40 of file Geometry.hpp.

◆ uint

typedef unsigned int mgx::uint

Definition at line 41 of file Geometry.hpp.

◆ UIntSet

typedef std::set<uint> mgx::UIntSet

Used with vertex ids.

Definition at line 133 of file Types.hpp.

◆ ulong

typedef unsigned long mgx::ulong

Definition at line 43 of file Geometry.hpp.

◆ ushort

typedef unsigned short mgx::ushort

Simpler names for the various containers and iterators.

Definition at line 42 of file Geometry.hpp.

◆ vec1

typedef Vector<1, GLfloat> mgx::vec1

Definition at line 36 of file Shader.hpp.

◆ vec2

typedef Vector<2, GLfloat> mgx::vec2

Definition at line 37 of file Shader.hpp.

◆ Vec2Colorb

Definition at line 63 of file Attributes.hpp.

◆ Vec2i

typedef Vector<2, int> mgx::Vec2i

Definition at line 75 of file DataAnalyzer.hpp.

◆ vec3

typedef Vector<3, GLfloat> mgx::vec3

Definition at line 38 of file Shader.hpp.

◆ Vec3Colorb

Definition at line 64 of file Attributes.hpp.

◆ vec4

typedef Vector<4, GLfloat> mgx::vec4

Definition at line 39 of file Shader.hpp.

◆ vertex

Type of a vertex.

Definition at line 50 of file Misc.hpp.

◆ vertex_identity_t

typedef intptr_t mgx::vertex_identity_t

Type of the identifier of a vertex.

Definition at line 40 of file Vertex.hpp.

◆ VertexPr

typedef std::pair< vertex, vertex > mgx::VertexPr

Definition at line 36 of file MeshProcessHeatMap.hpp.

◆ VertexPrSet

typedef std::pair<VertexPr, Set> mgx::VertexPrSet

Definition at line 24 of file MeshProcessMeasures.hpp.

◆ VIdSet

typedef std::set<intptr_t> mgx::VIdSet

Set of vertex ids.

Definition at line 72 of file Types.hpp.

◆ VtxBoolAttr

Definition at line 841 of file Attributes.hpp.

◆ VtxBoolMap

typedef std::unordered_map<vertex, bool> mgx::VtxBoolMap

Map of vertex to bool.

Definition at line 156 of file Types.hpp.

◆ VtxCellMap

typedef std::unordered_map<vertex, cell> mgx::VtxCellMap

Map of vertex to cell.

Definition at line 152 of file Types.hpp.

◆ VtxColorbAttr

Definition at line 845 of file Attributes.hpp.

◆ VtxDouble

typedef std::pair<cell, double> mgx::VtxDouble

Definition at line 19 of file DivisionAnalysisUtils.hpp.

◆ VtxFloatAttr

typedef AttrMap<vertex, float> mgx::VtxFloatAttr

Definition at line 842 of file Attributes.hpp.

◆ VtxFloatMap

typedef std::unordered_map<vertex, float> mgx::VtxFloatMap

Map of vertex to float.

Definition at line 158 of file Types.hpp.

◆ VtxInt

typedef std::pair<vertex, int> mgx::VtxInt

Definition at line 35 of file DivisionAnalysisUtils.hpp.

◆ VtxIntAttr

Definition at line 840 of file Attributes.hpp.

◆ VtxIntMap

typedef std::unordered_map<vertex, int> mgx::VtxIntMap

Map of vertex to int.

Definition at line 154 of file Types.hpp.

◆ VtxMatrix3fAttr

Definition at line 848 of file Attributes.hpp.

◆ VtxMatrix3fMap

typedef std::unordered_map<vertex, Matrix3f> mgx::VtxMatrix3fMap

Map of vertex to Matrix3f.

Definition at line 168 of file Types.hpp.

◆ VtxPoint2dMap

typedef std::unordered_map<vertex, Point2d> mgx::VtxPoint2dMap

Map of vertex to Point2d.

Definition at line 162 of file Types.hpp.

◆ VtxPoint2fAttr

Definition at line 843 of file Attributes.hpp.

◆ VtxPoint2fMap

typedef std::unordered_map<vertex, Point2f> mgx::VtxPoint2fMap

Map of vertex to Point2f.

Definition at line 160 of file Types.hpp.

◆ VtxPoint3dMap

typedef std::unordered_map<vertex, Point3d> mgx::VtxPoint3dMap

Map of vertex to Point3d.

Definition at line 166 of file Types.hpp.

◆ VtxPoint3fAttr

Definition at line 844 of file Attributes.hpp.

◆ VtxPoint3fMap

typedef std::unordered_map<vertex, Point3f> mgx::VtxPoint3fMap

Map of vertex to Point3f.

Definition at line 164 of file Types.hpp.

◆ VtxQStringAttr

typedef AttrMap<vertex, QString> mgx::VtxQStringAttr

Definition at line 850 of file Attributes.hpp.

◆ VtxSet

typedef std::set<vertex> mgx::VtxSet

Set of vertices.

Definition at line 131 of file Types.hpp.

◆ VtxSymTensorAttr

Definition at line 849 of file Attributes.hpp.

◆ VtxVec

typedef std::vector<vertex> mgx::VtxVec

Vector of vertices.

Definition at line 135 of file Types.hpp.

◆ VtxVec2ColorbAttr

Definition at line 846 of file Attributes.hpp.

◆ VtxVec3ColorbAttr

Definition at line 847 of file Attributes.hpp.

◆ VtxVtx

typedef std::pair< vertex, vertex > mgx::VtxVtx

Definition at line 22 of file DivisionAnalysis.hpp.

◆ VtxVtxMap

typedef std::unordered_map<vertex, vertex> mgx::VtxVtxMap

Map of vertex to vertex.

Definition at line 149 of file Types.hpp.

◆ Vtxvtxp

typedef std::pair<VtxVtx, vertex> mgx::Vtxvtxp

Definition at line 34 of file DivisionAnalysisUtils.hpp.

◆ VtxVtxPair

typedef std::pair<vertex, vertex> mgx::VtxVtxPair

Definition at line 150 of file Types.hpp.

◆ vvGraph

Simpler names for the various containers and iterators related to vertices and VV.

Type of the VV graph holding the actual mesh

Definition at line 47 of file Misc.hpp.

◆ VVGraphVec

typedef std::vector<vvGraph> mgx::VVGraphVec

Vector of vvGraphs.

Definition at line 137 of file Types.hpp.

◆ vvGraphVec

typedef std::vector<vvGraph *> mgx::vvGraphVec

Vector of vvGraphs.

Definition at line 141 of file Types.hpp.

◆ wall

Type of an edge.

Definition at line 124 of file Types.hpp.

◆ WallBoolAttr

typedef AttrMap<wall, bool> mgx::WallBoolAttr

Definition at line 877 of file Attributes.hpp.

◆ WallColorbAttr

Definition at line 881 of file Attributes.hpp.

◆ WallFloatAttr

typedef AttrMap<wall, float> mgx::WallFloatAttr

Definition at line 878 of file Attributes.hpp.

◆ WallIntAttr

typedef AttrMap<wall, int> mgx::WallIntAttr

Definition at line 876 of file Attributes.hpp.

◆ WallMatrix3fAttr

Definition at line 884 of file Attributes.hpp.

◆ WallPoint2fAttr

Definition at line 879 of file Attributes.hpp.

◆ WallPoint3fAttr

Definition at line 880 of file Attributes.hpp.

◆ WallQStringAttr

typedef AttrMap<wall, QString> mgx::WallQStringAttr

Definition at line 886 of file Attributes.hpp.

◆ WallSymTensorAttr

Definition at line 885 of file Attributes.hpp.

◆ WallVec2ColorbAttr

Definition at line 882 of file Attributes.hpp.

◆ WallVec3ColorbAttr

Definition at line 883 of file Attributes.hpp.

Enumeration Type Documentation

◆ DimEnum

Enumerator
XY 
YZ 
XZ 
XYZ 

Definition at line 71 of file Cuda.hpp.

◆ SolvingMethod

Enumerator
Euler 
BackwardEuler 

Definition at line 32 of file Solver.hpp.

◆ UNIFORM_TYPE

Enumerator
UNIFORM_INT 
UNIFORM_INT2 
UNIFORM_INT3 
UNIFORM_INT4 
UNIFORM_FLOAT 
UNIFORM_FLOAT2 
UNIFORM_FLOAT3 
UNIFORM_FLOAT4 
UNIFORM_MATRIX2 
UNIFORM_MATRIX3 
UNIFORM_MATRIX4 

Definition at line 44 of file Shader.hpp.

Function Documentation

◆ __assert_fail()

void mgx::__assert_fail ( const QString &  assertion,
const char *  file,
unsigned int  line,
const char *  function 
)

◆ absoluteFilePath()

mgx_EXPORT QString mgx::absoluteFilePath ( QString  filename)

Return the absolute path to a file.

◆ addCenterDisplacementTestCut()

void mgx::addCenterDisplacementTestCut ( int  centerVarSteps,
double  centerVarStepSize,
Point3d  cellCenter,
Point3d  perpendicularPlane,
std::set< Point3d perpPlaneNormals2,
std::unordered_map< Point3d, Point3d > &  wallCenter,
std::unordered_map< Point3d, std::vector< Point3d > >  wallPoints,
std::vector< P3dDouble > &  samplingDirections 
)

◆ addGPU()

template<typename T >
int mgx::addGPU ( T *  v1,
T *  v2,
T *  r 
)

Definition at line 288 of file DistMatrixCuda.hpp.

◆ addToDiagGPU()

template<typename T >
int mgx::addToDiagGPU ( typename T::value_type::value_type  a,
T *  r 
)

Definition at line 274 of file DistMatrixCuda.hpp.

◆ allocGPU() [1/2]

template<typename T >
int mgx_EXPORT mgx::allocGPU ( T **  vec,
size_t  n 
)

Definition at line 31 of file DistObjectCuda.hpp.

◆ allocGPU() [2/2]

template<typename T >
int mgx::allocGPU ( T **  vec,
size_t  n 
)

Definition at line 31 of file DistObjectCuda.hpp.

◆ angleVectors()

mgx_EXPORT double mgx::angleVectors ( Point3d  v1,
Point3d  v2,
bool  directed = false 
)

◆ applyKernelGPU()

cuda_EXPORT int mgx::applyKernelGPU ( const Point3i imgSize,
const HVecF kernelX,
const HVecF kernelY,
const HVecF kernelZ,
const HVecUS srcdata,
HVecUS dstdata 
)

◆ assembleCellFromWalls()

void mgx::assembleCellFromWalls ( vvGraph S,
std::vector< vertex vtxs,
std::vector< Point3i tris,
std::set< vertex > &  borderVtxs,
double  mergingThreshold,
int  labelCounter,
bool  orientCheck 
)

◆ aStar()

mgx_EXPORT std::set<int> mgx::aStar ( std::vector< int > &  uniqueLabels,
std::map< int, Point3d > &  cellCentroids,
std::map< IntInt, double > &  wallAreas,
int  label1,
int  label2,
double  wallThreshold,
bool  equalWeights 
)

◆ atomicAddMGX()

double mgx::atomicAddMGX ( double *  address,
double  val 
)
inline

Definition at line 98 of file Cuda.hpp.

◆ averageGPU()

cuda_EXPORT int mgx::averageGPU ( const Point3i imgSize,
const Point3i radius,
const HVecUS srcdata,
HVecUS dstdata 
)

◆ avgCellSizeMGX3D()

double mgx::avgCellSizeMGX3D ( const cell c)

returns an approximation of the 3D cell size (the average of the distance of every vertex to the cell center)

Parameters
ccell

◆ BiCG()

template<typename DMatrixT , typename DVectorT >
int mgx::BiCG ( DMatrixT &  A,
DMatrixT &  AT,
DVectorT &  x,
DVectorT &  b,
double  tolerance,
uint  maxiter = 500,
double  maxnorm = 1e100,
int  info = 0 
)

Definition at line 128 of file KrylovMethods.hpp.

◆ BiCGStab()

template<typename DMatrixT , typename DVectorT >
int mgx::BiCGStab ( DMatrixT &  A,
DVectorT &  x,
DVectorT &  b,
double  tolerance,
uint  maxiter = 500,
double  maxnorm = 1e100,
int  info = 0 
)

Definition at line 21 of file KrylovMethods.hpp.

◆ BiCGStabPreCond()

template<typename DMatrixT , typename DVectorT >
int mgx::BiCGStabPreCond ( DMatrixT &  A,
DVectorT &  x,
DVectorT &  b,
double  tolerance,
uint  maxiter = 500,
double  maxnorm = 1e100,
int  info = 0 
)

Definition at line 313 of file KrylovMethods.hpp.

◆ calcBetweenness() [1/3]

mgx_EXPORT void mgx::calcBetweenness ( cellGraph C,
std::map< cell, double > &  cellBetweenessMap 
)

◆ calcBetweenness() [2/3]

mgx_EXPORT bool mgx::calcBetweenness ( cellGraph C,
std::map< IntInt, double > &  weights,
std::map< cell, double > &  cellBetweenessMap 
)

◆ calcBetweenness() [3/3]

mgx_EXPORT bool mgx::calcBetweenness ( std::map< IntInt, double > &  neighborhoodGraph,
std::map< int, double > &  cellBetweenessMap 
)

◆ calcCellGraphJoinedCells()

void mgx::calcCellGraphJoinedCells ( cellGraph C,
const cell c1,
const cell c2 
)

add the neighbors of c2 to the cell graph of c1

Parameters
CcellGraph the cell Graph structure
c1cell target cell
c2cell source cell

◆ calcCircumferential()

double mgx::calcCircumferential ( Point3d  dirRadRef,
Point3d  dirLongRef,
Point3d  cellCenter,
Point3d  cellOnLong 
)

◆ calcEigenVecsValues()

void mgx::calcEigenVecsValues ( Matrix3d M,
Point3d p1,
Point3d p2,
Point3d p3,
Point3d ev 
)
inline

Definition at line 27 of file SymmetricTensor.hpp.

◆ calcJoinedCell()

void mgx::calcJoinedCell ( const cell c1,
const cell c2,
vvGraph result,
bool  simple 
)

returns the area of a polygon

Parameters

◆ calcNearestPointOnBezierGrid()

mgx_EXPORT Point3d mgx::calcNearestPointOnBezierGrid ( const Point3d targetPoint,
std::vector< std::vector< Point3d > > &  bezier,
Point2i bezIdx 
)

calculates the nearest point of a tragetPoint on a bezier grid (bezier)

Parameters
targetPointPoint3d input: the target point
bezierstd::vector<std::vector<Point3d> > input: the Bezier Grid array
bezIdxint output: index of nearest point on the line

◆ calcNearestPointOnBezierLine() [1/3]

mgx_EXPORT Point3d mgx::calcNearestPointOnBezierLine ( const Point3d targetPoint,
std::map< int, Point3d > &  bMap 
)

◆ calcNearestPointOnBezierLine() [2/3]

mgx_EXPORT Point3d mgx::calcNearestPointOnBezierLine ( const Point3d targetPoint,
std::map< int, Point3d > &  bMap,
int &  bezIdx,
double &  bezWeight 
)

◆ calcNearestPointOnBezierLine() [3/3]

mgx_EXPORT Point3d mgx::calcNearestPointOnBezierLine ( const Point3d targetPoint,
std::vector< Point3d > &  bezierVec,
int &  bezIdx,
double &  bezWeight 
)

calculates the nearest point of a tragetPoint on a bezier line (bMap) as the bezier is discretized, it is approximated linearly between the nearest point and the closer neighbor point

Parameters
targetPointPoint3d input: the target point
bMapstd::map<int, Point3d> input: the Bezier line
bezIdxint output: index of nearest point on the line
bezWeightdouble output: weight of the point

◆ calcNormal()

mgx_EXPORT bool mgx::calcNormal ( const vvGraph S,
const vertex v,
Point3d nrml 
)

Set the normal in a single vertex.

Parameters
SvvGraph to set normal on
vvertex to set
nrmlcalculated normal

◆ calcProjectedGrowthTensor()

mgx_EXPORT Matrix3d mgx::calcProjectedGrowthTensor ( Matrix3d  tensor,
Point3d  planeNrml 
)

projectPointOnPlane

◆ calcRandWalkBetweenness() [1/3]

void mgx::calcRandWalkBetweenness ( cellGraph C,
std::map< IntInt, double > &  weights,
std::map< cell, double > &  cellBetweenessMap,
bool  useGPU,
bool  doRevCuthill 
)

◆ calcRandWalkBetweenness() [2/3]

void mgx::calcRandWalkBetweenness ( std::map< IntInt, double > &  neighborhoodGraph,
std::map< int, double > &  labelBetweenessMap,
bool  useGPU 
)

◆ calcRandWalkBetweenness() [3/3]

void mgx::calcRandWalkBetweenness ( std::map< IntInt, double > &  neighborhoodWeights,
std::map< int, int > &  labelPosMap,
std::vector< int > &  orderedLabels,
std::map< int, double > &  cellBetweenessMap,
bool  useGPU 
)

◆ calcRatio()

double mgx::calcRatio ( double  value1,
double  value2 
)

return the ratio ( = bigger value divided by smaller value)

Parameters
value1double
value2double

◆ calcRGB()

mgx_EXPORT QRgb mgx::calcRGB ( double  maxValue,
double  currentValue 
)

◆ calcRotMatrix()

mgx_EXPORT Matrix3d mgx::calcRotMatrix ( Point3d  nrmlStart,
Point3d  nrmlEnd,
Point3d  rot_axis = Point3d(0, 0, 0) 
)

calcRotMatrix

calculates the rotation matrix given an initial plane normal and a final plane normal Point3d nrmlStart : initial plane normal Point3d nrmlEnd : final plane normal

◆ calcSignalBounds()

Point2f mgx::calcSignalBounds ( const vvGraph S)

◆ calcTriArea()

double mgx::calcTriArea ( std::set< Triangle > &  tris)

◆ calcVolume()

double mgx::calcVolume ( vector< Triangle tris)

◆ cartesianToOrganCoordsLong()

double mgx::cartesianToOrganCoordsLong ( Point3d  cartesianCoords,
std::map< int, Point3d > &  bMap,
Point3d closestPoint 
)

◆ cellTriNeighbors()

void mgx::cellTriNeighbors ( cellGraph C,
const cell c,
std::map< Triangle, int > &  trisNeighbMap 
)

◆ CG()

template<typename DMatrixT , typename DVectorT >
int mgx::CG ( DMatrixT &  A,
DVectorT &  x,
DVectorT &  b,
double  tolerance,
uint  maxiter = 500,
double  maxnorm = 1e100,
int  info = 0 
)

Definition at line 200 of file KrylovMethods.hpp.

◆ CGPreCond()

template<typename DMatrixT , typename DVectorT >
int mgx::CGPreCond ( DMatrixT &  A,
DVectorT &  x,
DVectorT &  b,
double  tolerance,
uint  maxiter = 500,
double  maxnorm = 1e100,
int  info = 0 
)

Definition at line 253 of file KrylovMethods.hpp.

◆ checkBorderTris()

mgx_EXPORT bool mgx::checkBorderTris ( const vvGraph S,
bool  select = true 
)

Check for unlabeled vertices, border triangles and islands of label in preparation to make a cell mesh.

Parameters
SGraph to check
selectSelect affected vertices

◆ checkBounds()

int mgx::checkBounds ( const Point3i imgSize,
const Point3i base,
const Point3i size 
)
inline

Definition at line 541 of file ImageCuda.hpp.

◆ checkCudaError()

cuda_EXPORT int mgx::checkCudaError ( const std::string &  msg)

◆ clamp()

template<class T >
T mgx::clamp ( const T &  val,
const T &  min,
const T &  max 
)

A function to clamp a value to a range.

Parameters
valThe start value.
minThe minimum value of the range.
maxThe maximum value of the range.

If min is more than max, the function returns max.

Definition at line 33 of file Clamp.hpp.

◆ clipPoint()

__device__ __host__ bool mgx::clipPoint ( const Point3f wp,
const Point3u clipDo,
const Point4f pn 
)
inline

Definition at line 146 of file ImageCuda.hpp.

◆ clipStackGPU()

cuda_EXPORT int mgx::clipStackGPU ( const Point3i imgSize,
const Point3f step,
const Point3f shift,
const Point3u clipDo,
HVec4F pn,
const HVecUS srcdata,
HVecUS dstdata 
)

◆ cofactor()

template<size_t nRows, typename T >
CU_HOST_DEVICE T mgx::cofactor ( const Matrix< nRows, nRows, T > &  mat,
size_t  i,
size_t  j 
)
related

Definition at line 992 of file Matrix.hpp.

◆ colorGradGPU()

cuda_EXPORT int mgx::colorGradGPU ( const Point3i imgSize,
float  div,
const HVecUS srcdata,
HVecUS dstdata 
)

◆ compModes()

QStringList mgx::compModes ( )

Get the list of composition modes.

◆ composite() [1/2]

Colorb mgx::composite ( const Colorb dest,
const Colorb source,
comp::CompositeMode  mode = comp::OVER 
)
inline

Compose a source with dest.

Definition at line 356 of file Color.hpp.

◆ composite() [2/2]

Colorf mgx::composite ( const Colorf dest,
const Colorf source,
comp::CompositeMode  mode = comp::OVER 
)

Compose a source with dest.

◆ convertFromQColor() [1/5]

mgx_EXPORT void mgx::convertFromQColor ( Color< double > &  c,
const QColor &  col 
)

◆ convertFromQColor() [2/5]

mgx_EXPORT void mgx::convertFromQColor ( Color< float > &  c,
const QColor &  col 
)

◆ convertFromQColor() [3/5]

mgx_EXPORT void mgx::convertFromQColor ( Color< long double > &  c,
const QColor &  col 
)

◆ convertFromQColor() [4/5]

mgx_EXPORT void mgx::convertFromQColor ( Color< unsigned char > &  c,
const QColor &  col 
)

◆ convertFromQColor() [5/5]

mgx_EXPORT void mgx::convertFromQColor ( Color< unsigned short > &  c,
const QColor &  col 
)

◆ convertHSVtoRGB() [1/2]

template<class T >
Color<T> mgx::convertHSVtoRGB ( const Color< T > &  hsv)

Return a color based on HSV values.

Definition at line 224 of file Color.hpp.

◆ convertHSVtoRGB() [2/2]

template<class T >
Color<T> mgx::convertHSVtoRGB ( h,
s,
v 
)

Return a color based on HSV values.

Definition at line 166 of file Color.hpp.

◆ convertRGBtoHSV()

template<class T >
Color<T> mgx::convertRGBtoHSV ( const Color< T > &  rgb)

Return a color based on HSV values.

Definition at line 285 of file Color.hpp.

◆ convertToQColor() [1/5]

mgx_EXPORT QColor mgx::convertToQColor ( const Color< double > &  c)

◆ convertToQColor() [2/5]

mgx_EXPORT QColor mgx::convertToQColor ( const Color< float > &  c)

◆ convertToQColor() [3/5]

mgx_EXPORT QColor mgx::convertToQColor ( const Color< long double > &  c)

◆ convertToQColor() [4/5]

mgx_EXPORT QColor mgx::convertToQColor ( const Color< unsigned char > &  c)

◆ convertToQColor() [5/5]

mgx_EXPORT QColor mgx::convertToQColor ( const Color< unsigned short > &  c)

◆ copy_symmetric()

template<typename T >
void mgx::copy_symmetric ( T &  e2,
const T &  e1 
)

Default copy of the arc uses the = operator.

Overload this function for your own type to change this behavior.

Definition at line 247 of file Edge.hpp.

◆ copyCellGraph()

void mgx::copyCellGraph ( CellTissue orig,
CellTissue copy 
)

copies the cell graph, used for simulating cell division (without altering the original)

Parameters
origCellTissue source tissue
copyCellTissue target tissue

◆ copyGPU() [1/2]

template<typename T1 , typename T2 >
int mgx_EXPORT mgx::copyGPU ( T1 *  src,
T2 *  dst 
)

Definition at line 21 of file DistObjectCuda.hpp.

◆ copyGPU() [2/2]

template<typename T1 , typename T2 >
int mgx::copyGPU ( T1 *  src,
T2 *  dst 
)

Definition at line 21 of file DistObjectCuda.hpp.

◆ correctNormals()

mgx_EXPORT void mgx::correctNormals ( vvGraph S)

Correct MGXC normals (happens for non-star shaped cells)

Parameters
SvvGraph to set normal on

◆ createPlyDataFromAttr()

void mgx::createPlyDataFromAttr ( Mesh m,
QStringList  attrMapsToBeSaved,
std::vector< PlyCellData > &  cellVec,
std::vector< PlyWallData > &  wallVec 
)

◆ currentDir()

mgx_EXPORT QDir mgx::currentDir ( )

Get the current path as a directory.

◆ currentPath()

mgx_EXPORT QString mgx::currentPath ( )

Get the current path.

◆ customDirectionTensor()

mgxBase_EXPORT SymmetricTensor mgx::customDirectionTensor ( SymmetricTensor  origTensor,
Point3f  customX,
Point3f  customY,
bool  shearB 
)

◆ cuthillMckeeOrdering() [1/2]

mgx_EXPORT std::vector<cell> mgx::cuthillMckeeOrdering ( cellGraph C,
std::map< cell, int > &  cellOrder 
)

◆ cuthillMckeeOrdering() [2/2]

mgx_EXPORT std::vector<cell> mgx::cuthillMckeeOrdering ( cellGraph C,
std::map< cell, int > &  cellOrder,
const cell minCell 
)

◆ deleteCells()

mgx_EXPORT bool mgx::deleteCells ( vvGraph S,
const VtxVec V 
)

Check for unlabeled vertices, border triangles and islands of label in preparation to make a cell mesh.

Parameters
SGraph to check
VVector of cell centers to delete

◆ demangle()

mgx_EXPORT std::string mgx::demangle ( std::string  s)

Demangle all the words in the string.

Returns
The string with all symbols demangled.

◆ det() [1/4]

template<typename T >
CU_HOST_DEVICE T mgx::det ( const Matrix< 1, 1, T > &  mat)
related

Definition at line 946 of file Matrix.hpp.

◆ det() [2/4]

template<typename T >
CU_HOST_DEVICE T mgx::det ( const Matrix< 2, 2, T > &  mat)
related

Definition at line 950 of file Matrix.hpp.

◆ det() [3/4]

template<typename T >
CU_HOST_DEVICE T mgx::det ( const Matrix< 3, 3, T > &  mat)
related

Definition at line 955 of file Matrix.hpp.

◆ det() [4/4]

template<size_t nRows, typename T >
CU_HOST_DEVICE T mgx::det ( const Matrix< nRows, nRows, T > &  mat)
related

Definition at line 961 of file Matrix.hpp.

◆ devP() [1/2]

template<typename T >
T* mgx::devP ( thrust::device_vector< T > &  DVec)

Definition at line 81 of file Cuda.hpp.

◆ devP() [2/2]

template<typename T >
T* mgx::devP ( thrust::device_vector< T > *  DVec)

Definition at line 82 of file Cuda.hpp.

◆ differentialOfBezierGrid()

void mgx::differentialOfBezierGrid ( std::vector< std::vector< Point3d > > &  bezierGrid,
Point2i p,
Point3d diffU,
Point3d diffV 
)

◆ dijkstra() [1/3]

mgx_EXPORT std::map<int, double> mgx::dijkstra ( std::set< int > &  allCellLabels,
std::map< IntInt, double > &  wallAreas,
std::map< int, double > &  initialCells,
bool  equalWeights,
double  cutOffDistance,
double  wallThreshold 
)

◆ dijkstra() [2/3]

mgx_EXPORT std::map<int, double> mgx::dijkstra ( std::set< int > &  allCellLabels,
std::map< IntInt, double > &  wallAreas,
std::set< int > &  selectedCells,
bool  equalWeights,
double  cutOffDistance,
double  wallThreshold 
)

◆ dijkstra() [3/3]

mgx_EXPORT std::map<int, double> mgx::dijkstra ( vvGraph S,
std::map< IntInt, double > &  wallAreas,
std::set< int > &  selectedCells,
bool  equalWeights,
double  cutOffDistance,
double  wallThreshold 
)

◆ dilateGPU()

cuda_EXPORT int mgx::dilateGPU ( const Point3i imgSize,
const Point3i radius,
bool  roundNhbd,
const HVecUS srcdata,
HVecUS dstdata 
)

◆ discretizeBezierLineRef()

void mgx::discretizeBezierLineRef ( CuttingSurface cutSurf,
double  vPos,
double  vRefPos,
Matrix4d  rotMat,
int  bezMapSize,
std::map< int, Point3d > &  bMap,
std::map< int, Point3d > &  diffbMap,
std::map< int, Point3d > &  refbMap 
)

◆ distLinePoint()

template<typename T >
CU_HOST_DEVICE T mgx::distLinePoint ( const Point3(T) &  v1,
const Point3(T) &  _v2,
const Point3(T) &  _p,
bool  segment 
)

Definition at line 385 of file Geometry.hpp.

◆ divisionPlaneArea()

double mgx::divisionPlaneArea ( Point3d  cellCenter,
const std::vector< Point3d > &  v 
)

returns the area of a polygon (=division plane)

Parameters
cellCenterPoint3d the center of the cell (of the polygon)
vstd::vector<Point3d> corner points of the polygon (=division plane)

◆ divisionPlaneAreaMulti()

double mgx::divisionPlaneAreaMulti ( Point3d  cellCenter,
const std::vector< std::vector< Point3d > > &  vMulti 
)

returns the summed area of multiple polygons (=division planes)

Parameters
cellCenterPoint3d the center of the cell (of the polygon)
vMultistd::vector<std::vector<Point3d> > vector of corner points of the polygons (=division planes)

◆ docDir()

mgx_EXPORT QDir mgx::docDir ( )

Returns the documentation directory.

◆ drawCircle()

mgx_EXPORT void mgx::drawCircle ( QImage &  image,
int  x,
int  y,
int  size,
QRgb  color 
)

◆ drawCross()

mgx_EXPORT void mgx::drawCross ( QImage &  image,
int  x,
int  y,
int  size,
int  crossSize,
QRgb  color 
)

◆ drawPlane()

void mgx::drawPlane ( const Process process,
Mesh m,
DivisionPlane vtxTris,
Point3d  scalingNormal = Point3d(0, 0, 0),
double  scalingFac = 1 
)

◆ edgeDetectGPU()

cuda_EXPORT int mgx::edgeDetectGPU ( const Point3i imgSize,
ushort  lowthresh,
ushort  highthresh,
float  mult,
ushort  fillval,
const HVecUS srcdata,
HVecUS dstdata 
)

◆ erodeGPU()

cuda_EXPORT int mgx::erodeGPU ( const Point3i imgSize,
const Point3i radius,
bool  byLabel,
bool  roundNhbd,
const HVecUS srcdata,
HVecUS dstdata 
)

◆ errMsg()

int mgx::errMsg ( const std::string &  s)

◆ estimateCellLength()

mgx_EXPORT double mgx::estimateCellLength ( int  currentLabel,
Point3d  coordCellCentroid,
Point3d dirVec,
triVector cellTriangles 
)

estimates the size of the cell in a given direction by shooting two rays in a specified direction and its opposite

returns the cell size

◆ estimateVolumeDaughterCells()

void mgx::estimateVolumeDaughterCells ( std::vector< Triangle > &  trisLeft,
std::vector< Triangle > &  trisRight,
std::vector< Triangle > &  trisSplit 
)

◆ estimateVolumeOpenBody()

double mgx::estimateVolumeOpenBody ( std::vector< Triangle tris,
set< vertex > &  exposedVtxs 
)

◆ extractVersion()

mgx_EXPORT QList<int> mgx::extractVersion ( QIODevice &  file)

◆ fillGPU()

template<typename T >
int mgx::fillGPU ( typename T::value_type::value_type  a,
T *  r 
)

Definition at line 324 of file DistMatrixCuda.hpp.

◆ fillTreeWidgetWithAttrMaps()

void mgx::fillTreeWidgetWithAttrMaps ( Mesh m,
QTreeWidget *  tree,
QStringList *  selected = 0 
)

◆ filterProcesses()

void mgx::filterProcesses ( QTreeWidget *  tree,
const QString &  filter_text 
)

Show only processes whose name match the regular expression.

Parameters
treeTree of processes to filter
filterRegular expression to filter with

◆ findAllLabels()

mgx_EXPORT std::vector<int> mgx::findAllLabels ( const vvGraph S)

return ALL labels of a vvGraph originally in CellAtlas, now also used in other AddOns

Parameters
SvvGraph

◆ findAllLabelsSet()

mgx_EXPORT std::set<int> mgx::findAllLabelsSet ( const vvGraph S)

◆ findAllSelectedLabels()

mgx_EXPORT std::set<int> mgx::findAllSelectedLabels ( const vvGraph S)

return ALL labels of selected vertices of a vvGraph originally in CellAtlas, now also used in other AddOns

Parameters
SvvGraph

◆ findBorderVerticesOfCell()

mgx_EXPORT void mgx::findBorderVerticesOfCell ( vvGraph S,
int  cellLabel,
std::set< vertex > &  verticesCell,
std::vector< vertex > &  borderVerticesOrdered 
)

◆ findBorderVerticesOfCellsCombined()

mgx_EXPORT void mgx::findBorderVerticesOfCellsCombined ( vvGraph S,
std::set< int >  cellLabels,
std::set< vertex > &  verticesCells,
std::vector< vertex > &  borderVerticesOrdered 
)

◆ findCell()

bool mgx::findCell ( cellGraph C,
cell searchedCell,
int  label,
int &  maxLabel 
)

returns whether a cell with the specified label exists, also provides the cell and the max Label of all cells

Parameters
CcellGraph the cell Graph structure
searchedCellcell for the output of the cell (if it exists)
labelint input label of cell to be found
maxLabelint maximum label number of all cells

◆ findCellTris()

std::vector<Triangle> mgx::findCellTris ( vvGraph S,
int  cellLabel 
)

◆ findIntersectPoint()

mgx_EXPORT bool mgx::findIntersectPoint ( Point3d  coordCellCentroid,
Point3d dirVec,
std::vector< Triangle > &  cellTriangles,
int &  stopCounter,
Point3d intersectP 
)

shoots rays from the cell centroid along a direction and checks if it hits any of the cell triangles too avoid shooting through the edge between triangles the centroid point is varied slightly if nothing is hit

returns true if a triangle got hit and writes the intersection point

◆ findMinMax()

void mgx::findMinMax ( std::map< int, double > &  map,
double &  min,
double &  max 
)

◆ findNeighborsLabel()

std::set<int> mgxBase_EXPORT mgx::findNeighborsLabel ( Store store,
Point3i  imgSize,
Point3i  p,
int  radius = 1 
)

◆ findNeighbTris()

void mgx::findNeighbTris ( cellGraph C,
const cell c,
std::map< cell, std::vector< Triangle > > &  neighbTris 
)

◆ findPolygonPlane()

mgx_EXPORT bool mgx::findPolygonPlane ( std::vector< Point3d > &  pointsPolygon,
Point3d planePos,
Point3d planeNrml 
)

findPolygonPlane

gives a fitted plane of a vector of points (the corner points of a polygon), calculates the fit using a PCA std::vector<Point3d> &pointsPolygon : the input point vector Point3d planePos : position of the plane Point3d planeNrml : normal of the plane

◆ findSelectedLabel()

int mgx::findSelectedLabel ( const vvGraph S)

find ONE selected vertex in a vvGraph and return its label return 0 if nothing is selected

Parameters
SvvGraph

◆ findTwoSelectedLabels()

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

Parameters
SvvGraph
label1int first label to return
label2int second label to return

◆ fixBorderTris()

mgx_EXPORT int mgx::fixBorderTris ( vvGraph S)

Check for border triangles with all labels -1 and merge their vertices together.

Parameters
SGraph to check

◆ flipImage()

template<typename T >
void mgx::flipImage ( DimEnum  dim,
Point3i  imgSize,
Point3i flipImgSize,
const T &  src,
T &  dst 
)

Definition at line 487 of file ImageCuda.hpp.

◆ flipTri()

Triangle mgx::flipTri ( const Triangle t)
inline

Definition at line 111 of file Triangle.hpp.

◆ freeMem()

cuda_EXPORT void mgx::freeMem ( )

◆ fromQString()

template<size_t dim, typename T >
bool mgx::fromQString ( Vector< dim, T > &  p,
const QString &  s,
QString  sep = " " 
)

Convert a QString to a Point.

Parameters
sString to convert

Definition at line 53 of file ProcessUtils.hpp.

◆ gauss1D()

double mgx::gauss1D ( double  x,
double  muX,
double  sigmaX 
)

returns the value of a 1D gaussian function

Parameters
xdouble input value
muXdouble mean value
sigmaXdouble standard deviation value

◆ gauss2D()

mgx_EXPORT double mgx::gauss2D ( double  x,
double  y,
double  muX,
double  muY,
double  sigmaX,
double  sigmaY 
)

returns the value of a 2D gaussian function

Parameters
xdouble input value x dimension
ydouble input value y dimension
muXdouble mean value x dim
muYdouble mean value y dim
sigmaXdouble standard deviation value x dim
sigmaYdouble standard deviation value y dim

◆ gaussianBlurGPU()

cuda_EXPORT int mgx::gaussianBlurGPU ( const Point3i imgSize,
const Point3f imgStep,
const Point3f sigma,
const HVecUS srcdata,
HVecUS dstdata 
)

◆ gaussRan() [1/2]

template<size_t dim>
Vector<dim, double> mgx::gaussRan ( const Vector< dim, double > &  mean,
const Vector< dim, double > &  sigma 
)

Generate a random vector with gaussian distribution.

Parameters
meanVector with mean of the gaussian distribution for each dimension
sigmaVector with standard deviation of the gaussian distribution for each dimension

Definition at line 91 of file Random.hpp.

◆ gaussRan() [2/2]

mgx_EXPORT double mgx::gaussRan ( double  mean,
double  sigma 
)

Generate a random number with gaussian distribution.

Parameters
meanMean of the gaussian distribution
sigmaStandard deviation of the gaussian distribution

◆ generateLabelTriangleMap()

mgx_EXPORT void mgx::generateLabelTriangleMap ( const vvGraph S,
std::map< int, triVector > &  cellTriangles 
)

goes through all triangles of the vvGraph and builds up a map from label to triangle vector

◆ generateLabelVertexMap()

mgx_EXPORT std::map<int, std::vector<vertex> > mgx::generateLabelVertexMap ( const vvGraph S)

goes through all vertices of the vvGraph and builds up a map from label to vertex vector

◆ generateSamplingDirections() [1/2]

void mgx::generateSamplingDirections ( double  resolution,
int  centerVarSteps,
double  centerVarStepSize,
Point3d  perpendicularPlane,
std::set< Point3d perpPlaneNormals2,
bool  enforceDivThroughNeighbor,
std::vector< P3dDouble > &  samplingDirections 
)

◆ generateSamplingDirections() [2/2]

void mgx::generateSamplingDirections ( double  resolution,
int  centerVarSteps,
double  centerVarStepSize,
std::vector< P3dDouble > &  samplingDirections 
)

◆ generateSamplingDirectionsNew()

void mgx::generateSamplingDirectionsNew ( int  nrPlanes,
int  centerVarSteps,
double  centerVarStepSize,
std::vector< P3dDouble > &  samplingDirections 
)

returns the area of a polygon

Parameters

◆ generateWeights()

mgx_EXPORT std::map<IntInt, double> mgx::generateWeights ( std::map< IntInt, double >  neighborMap,
bool  constWeight 
)

◆ getBasisFromPlane()

template<typename T >
CU_HOST_DEVICE void mgx::getBasisFromPlane ( const Point3(T) &  nrml,
Point3(T)&  x,
Point3(T) &  y,
Point3(T) &  z 
)

Definition at line 307 of file Geometry.hpp.

◆ getBBox()

mgxBase_EXPORT void mgx::getBBox ( const HVec3F pts,
Point3f bBox 
)

◆ getColorFromLabel()

mgx_EXPORT QRgb mgx::getColorFromLabel ( int  label)

◆ getDir()

mgx_EXPORT QString mgx::getDir ( QString  file)

Get the directory containing a file (base of the name only)

◆ getFolder()

QTreeWidgetItem* mgx::getFolder ( QString  name,
QHash< QString, QTreeWidgetItem * > &  folders,
QTreeWidget *  tree 
)

Find or create a folder from a process tree.

Parameters
nameName of the folder to create, sub-folders are separated by '/'
foldersMap of previously created folders
treeTree in which the folders are created

◆ getGaussianMask1D()

bool mgx::getGaussianMask1D ( const float  step,
const float  sigma,
HostVf mask,
int &  radius 
)
inline

Definition at line 19 of file ImageCuda.hpp.

◆ getKeyOfMaxValue()

mgx_EXPORT int mgx::getKeyOfMaxValue ( const std::map< int, double > &  mapToTest)

◆ getLabel()

mgx_EXPORT int mgx::getLabel ( const vertex v1,
const vertex v2,
const vertex v3 
)

Return the label for a triangle.

Parameters
v1vertices of the triangle
v2
v3

◆ getLabelCount()

mgx_EXPORT bool mgx::getLabelCount ( const vvGraph S,
VtxIntMap labCount 
)

Count labels for each vertex in the graph.

Parameters
SGraph to count labels
labCountMap of vertex to label count

◆ getOffset() [1/3]

CU_HOST_DEVICE size_t mgx::getOffset ( const int  x,
const int  y,
const int  z,
const Point3i size 
)

Definition at line 437 of file Geometry.hpp.

◆ getOffset() [2/3]

CU_HOST_DEVICE size_t mgx::getOffset ( const Point3i  p,
const Point3i size 
)

Definition at line 448 of file Geometry.hpp.

◆ getOffset() [3/3]

CU_HOST_DEVICE size_t mgx::getOffset ( const uint  x,
const uint  y,
const uint  z,
const Point3u size 
)

Definition at line 443 of file Geometry.hpp.

◆ getOrRemoveCommonWall() [1/2]

std::vector<vertex> mgx::getOrRemoveCommonWall ( Mesh m,
std::vector< vertex > &  cellVtxs,
bool  removeCommon,
bool  includeEdgeOfShared 
)

◆ getOrRemoveCommonWall() [2/2]

std::vector<Triangle> mgx::getOrRemoveCommonWall ( Mesh mesh,
std::vector< Triangle > &  cellTris,
bool  removeCommon,
bool  mergeDuplicated 
)

◆ getPolygonNrml() [1/2]

mgx_EXPORT Point3d mgx::getPolygonNrml ( std::vector< Point3d > &  pointsPolygon)

getPolygonNrml

returns the normal of a polygon defined by its points by finding three points of the polygon that are not in a line and calculating their normal std::vector<Point3d> &pointsPolygon : the input point vector of polygon points int& idxP3 : by default the first two points are used, for the third point it is checked whether its on the line defined by the first two, this is the index of the first third point not on the line

◆ getPolygonNrml() [2/2]

mgx_EXPORT Point3d mgx::getPolygonNrml ( std::vector< Point3d > &  pointsPolygon,
int &  idxP3 
)

◆ getRoundMask3D()

bool mgx::getRoundMask3D ( const Point3i radius,
HostVf mask 
)
inline

Definition at line 47 of file ImageCuda.hpp.

◆ getSharedTris()

std::set<Triangle> mgx::getSharedTris ( const cell c1,
const cell c2 
)

◆ getSharedVtxs()

std::vector<Point3d> mgx::getSharedVtxs ( const cell c1,
const cell c2 
)

returns the area of a polygon

Parameters

◆ getStep()

uint mgx::getStep ( uint  pos,
uint  maxpos,
size_t  stride,
size_t  szof,
size_t  mem 
)
inline

Definition at line 555 of file ImageCuda.hpp.

◆ getStride()

__device__ __host__ Point3i mgx::getStride ( const Point3i size)
inline

Definition at line 139 of file ImageCuda.hpp.

◆ getThreadCount()

cuda_EXPORT uint mgx::getThreadCount ( uint  threadPos,
uint  totThreads 
)

◆ getTotalThreads()

uint mgx::getTotalThreads ( DimEnum  dim,
const Point3i  size 
)
inline

Definition at line 516 of file ImageCuda.hpp.

◆ getTrisOfCells()

std::vector<Triangle> mgx::getTrisOfCells ( Mesh m,
int  selectedLabel,
bool  parentMode 
)

◆ getVtxsOfCells()

std::vector<vertex> mgx::getVtxsOfCells ( Mesh m,
int  selectedLabel,
bool  parentMode 
)

◆ getXY()

__device__ __host__ void mgx::getXY ( uint  idx,
const Point3i size,
int &  x,
int &  y 
)
inline

Definition at line 113 of file ImageCuda.hpp.

◆ getXYZ()

__device__ __host__ void mgx::getXYZ ( uint  idx,
const Point3i size,
int &  x,
int &  y,
int &  z 
)
inline

Definition at line 131 of file ImageCuda.hpp.

◆ getXZ()

__device__ __host__ void mgx::getXZ ( uint  idx,
const Point3i size,
int &  x,
int &  z 
)
inline

Definition at line 119 of file ImageCuda.hpp.

◆ getYZ()

__device__ __host__ void mgx::getYZ ( uint  idx,
const Point3i size,
int &  y,
int &  z 
)
inline

Definition at line 125 of file ImageCuda.hpp.

◆ holdMem()

cuda_EXPORT void mgx::holdMem ( )

◆ if()

mgx::if ( area2  = =0)

◆ imageToWorld()

CU_HOST_DEVICE Point3f mgx::imageToWorld ( const Point3i img,
const Point3f step,
const Point3f shift 
)

Definition at line 418 of file Geometry.hpp.

◆ includeDir()

mgx_EXPORT QDir mgx::includeDir ( )

Returns the includes directory.

◆ initGPU()

cuda_EXPORT int mgx::initGPU ( )

◆ inplaceMatrixMultiply()

mgx_EXPORT void mgx::inplaceMatrixMultiply ( std::vector< Point3d > &  P,
const Matrix3d M 
)

inplaceMatrixMultiply P := P*M

◆ inPrimCoord()

Point3d mgx::inPrimCoord ( double  radiant,
Point3d  dirRadRef,
Point3d  dirLongRef 
)

◆ insert()

template<typename VertexContent , typename EdgeContent >
const VVGraph<VertexContent, EdgeContent>::vertex_t& mgx::insert ( const typename VVGraph< VertexContent, EdgeContent >::vertex_t &  a,
const typename VVGraph< VertexContent, EdgeContent >::vertex_t &  b,
VVGraph< VertexContent, EdgeContent > &  S 
)

Definition at line 102 of file Insert.hpp.

◆ insertAfter()

template<class Graph >
Graph::edge_t mgx::insertAfter ( const typename Graph::vertex_t &  v,
const typename Graph::vertex_t &  ref,
const typename Graph::vertex_t &  nv,
Graph &  S 
)

Splice nv after ref in v if ref is not null.

Otherwise just insert the edge (v,nv) in S.

Definition at line 116 of file Insert.hpp.

◆ insertBefore()

template<class Graph >
Graph::edge_t mgx::insertBefore ( const typename Graph::vertex_t &  v,
const typename Graph::vertex_t &  ref,
const typename Graph::vertex_t &  nv,
Graph &  S 
)

Splice nv before ref in v if ref is not null.

Otherwise just insert the edge (v,nv) in S.

Definition at line 129 of file Insert.hpp.

◆ insideMeshGPU()

cuda_EXPORT int mgx::insideMeshGPU ( const Point3i base,
const Point3i size,
const Point3f step,
const Point3f shift,
const HVec3F pts,
const HVec3U tris,
const HVec3F nrmls,
HVecUS dstdata 
)

◆ interpolate() [1/2]

template<typename T >
T CU_HOST_DEVICE mgx::interpolate ( const Point3(T) &  t1,
const Point3(T) &  t2,
const Point3(T) &  t3,
c1,
c2,
c3,
const Point3(T) &  p 
)

Interpolate values on a triangle.

Definition at line 185 of file Geometry.hpp.

◆ interpolate() [2/2]

template<typename T >
T CU_HOST_DEVICE mgx::interpolate ( const T &  a,
const T &  b,
const T &  s 
)

Interpolate between values.

Definition at line 177 of file Geometry.hpp.

◆ interpolateArrayIndex()

mgx_EXPORT double mgx::interpolateArrayIndex ( double  value,
double  min,
double  max,
double  newRange 
)

◆ inverse() [1/5]

template<typename T >
CU_HOST_DEVICE Matrix<1, 1, T> mgx::inverse ( const Matrix< 1, 1, T > &  mat)
related

Definition at line 1001 of file Matrix.hpp.

◆ inverse() [2/5]

template<typename T >
CU_HOST_DEVICE Matrix<2, 2, T> mgx::inverse ( const Matrix< 2, 2, T > &  mat)
related

Definition at line 1008 of file Matrix.hpp.

◆ inverse() [3/5]

template<typename T >
CU_HOST_DEVICE Matrix<3, 3, T> mgx::inverse ( const Matrix< 3, 3, T > &  mat)
related

Definition at line 1022 of file Matrix.hpp.

◆ inverse() [4/5]

template<typename T >
Matrix<4, 4, T> mgx::inverse ( const Matrix< 4, 4, T > &  m)
related

Definition at line 1041 of file Matrix.hpp.

◆ inverse() [5/5]

template<size_t nRows, typename T >
CU_HOST_DEVICE Matrix<nRows, nRows, T> mgx::inverse ( const Matrix< nRows, nRows, T > &  mat)
related

Definition at line 1100 of file Matrix.hpp.

◆ isDataPlanar()

mgx_EXPORT bool mgx::isDataPlanar ( std::vector< Point3d > &  inputVertices)

isDataPlanar

returns true if inputVertices are in one plane or false if they are true 3D points std::vector<Point3d> &inputVertices : the input point vector of the test points

◆ isGuiThread()

bool mgx::isGuiThread ( )
inline

Definition at line 203 of file Misc.hpp.

◆ isNan() [1/2]

CU_HOST_DEVICE bool mgx::isNan ( double  s)

Definition at line 149 of file Geometry.hpp.

◆ isNan() [2/2]

CU_HOST_DEVICE bool mgx::isNan ( float  s)

Definition at line 148 of file Geometry.hpp.

◆ jacobiPreCond()

template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
void mgx::jacobiPreCond ( DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &  m,
DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &  a 
)

Definition at line 557 of file DistMatrix.hpp.

◆ jacobiPreCondGPU()

template<typename T >
int mgx::jacobiPreCondGPU ( DeviceVu nb,
T *  mv,
T *  me,
T *  av,
T *  ae 
)

Definition at line 376 of file DistMatrixCuda.hpp.

◆ lengthCustomDirTensor3D()

mgxBase_EXPORT double mgx::lengthCustomDirTensor3D ( SymmetricTensor  origTensor,
Point3f  customDir 
)

◆ libDir()

mgx_EXPORT QDir mgx::libDir ( )

Returns the libraries directory.

◆ lineLineIntersect()

template<typename T >
CU_HOST_DEVICE bool mgx::lineLineIntersect ( Point3(T)  p1,
Point3(T)  p2,
Point3(T)  q1,
Point3(T)  q2,
T &  s,
T &  u,
Point3(T) &  intersect 
)

Line-Line Intersection returns whether two line segments intersect or not saves the location on where on the segments (s, u) and the intersection point (intersect) originally from CellMaker, only used in Join2DMeshes so far, not tested for true 3d lines.

Parameters
p1Point 1 of line 1
p2Point 2 of line 1
q1Point 1 of line 2
q2Point 2 of line 2
u1& u2 Line segment 1
u1& u2 Line segment 2
sif 0 <= s <= 1, on line 1, s >= 0 ray intersect
uif 0 <= u <= 1, on line 2, u >= 0 ray intersect
intersectIntersection point
Returns
false if no intersection

Definition at line 262 of file Geometry.hpp.

◆ lloydKMeans()

mgx_EXPORT bool mgx::lloydKMeans ( std::vector< std::vector< double > > &  inputClusters,
std::vector< AttrMap< int, double > > &  dataPoints,
int  maxStep = -1,
double  convergenceThreshold = 0.01 
)

k means function for n-D data (lloyds algorithm) NOTE: dimensions have to match, otherwise function returns false (size of each inputClusters vector == dataPoints.size())

Parameters
inputClustersstd::vector<std::vector<double> > vector of input clusters (could be random if none available)
dataPointsstd::vector<std::map<int, double> > vector of label -> data maps
maxStepint max number of update steps, if negative it runs until less than 1% of points change

◆ lloydKMeans2D()

mgx_EXPORT std::vector<Point2d> mgx::lloydKMeans2D ( std::vector< Point2d > &  clusters,
std::vector< Point2d > &  data,
int  maxStep = -1 
)

k means function for 2D data (lloyds algorithm)

Parameters
clustersstd::vector<Point2d> input clusters (could be random if none available)
datastd::vector<Point2d> data points
maxStepint max number of update steps, if negative it runs until less than 1% of points change

◆ loadImage()

mgx_EXPORT bool mgx::loadImage ( QString  filename,
Image3D data,
bool  allocate_data = false 
)

◆ loadTIFFImage()

mgx_EXPORT bool mgx::loadTIFFImage ( QString  filename,
Image3D data,
bool  allocate_data = false 
)

◆ map() [1/2]

template<size_t dim, typename T , typename T1 >
CU_HOST_DEVICE Vector<dim, T> mgx::map ( const T &(*)(const T1 &)  fct,
const Vector< dim, T1 > &  v 
)

Definition at line 1380 of file Vector.hpp.

◆ map() [2/2]

template<size_t dim, typename T , typename T1 >
CU_HOST_DEVICE Vector<dim, T> mgx::map ( T(*)(const T1 &)  fct,
const Vector< dim, T1 > &  v 
)

Definition at line 1395 of file Vector.hpp.

◆ markMargin()

mgx_EXPORT void mgx::markMargin ( vvGraph S,
vertex  v,
bool  remborders = true 
)

Mark the cells and tissue margin vertices.

Parameters
SvvGraph to mark
vVertex to mark
rembordersIf true, all vertices with -1 as label and not at the border between cells will be marked as 0.

◆ markMargins() [1/2]

mgx_EXPORT void mgx::markMargins ( vvGraph M,
vvGraph S,
bool  remborders = true 
)

Mark the cells and tissue margin vertices.

Parameters
MVertices to mark
SGraph to mark
rembordersIf true, all vertices with -1 as label and not at the border between cells will be marked as 0.

◆ markMargins() [2/2]

mgx_EXPORT void mgx::markMargins ( vvGraph S,
bool  remborders = true 
)

Mark the cells and tissue margin vertices.

Parameters
SvvGraph to mark
rembordersIf true, all vertices with -1 as label and not at the border between cells will be marked as 0.

◆ matrix_minor()

template<size_t nRows, typename T >
CU_HOST_DEVICE T mgx::matrix_minor ( const Matrix< nRows, nRows, T > &  mat,
size_t  i,
size_t  j 
)

Definition at line 972 of file Matrix.hpp.

◆ matrixInverseGSL()

mgx_EXPORT void mgx::matrixInverseGSL ( std::vector< std::vector< double > > &  inputM,
std::vector< std::vector< double > > &  outputM 
)

◆ max()

template<typename T >
T CU_HOST_DEVICE mgx::max ( const T  a,
const T  b 
)

Definition at line 34 of file Util.hpp.

◆ maxDiagonal()

template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
double mgx::maxDiagonal ( DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &  m)

Definition at line 490 of file DistMatrix.hpp.

◆ maxEntry()

template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
double mgx::maxEntry ( DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &  m)

Definition at line 506 of file DistMatrix.hpp.

◆ maxGPU()

template<typename T >
int mgx::maxGPU ( T *  v,
typename T::value_type::value_type &  r 
)

Definition at line 357 of file DistMatrixCuda.hpp.

◆ maxOffDiagonal()

template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
double mgx::maxOffDiagonal ( DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &  m)

Definition at line 498 of file DistMatrix.hpp.

◆ maxPlaneSimilarity()

double mgx::maxPlaneSimilarity ( AttrMap< int, CellDivisionAttr > &  cellDivs,
CellDivisionAttr  cda 
)

◆ medianGPU()

cuda_EXPORT int mgx::medianGPU ( const Point3i imgSize,
const Point3i radius,
const HVecUS srcdata,
HVecUS dstdata 
)

◆ medianOfMediansGPU()

cuda_EXPORT int mgx::medianOfMediansGPU ( const Point3i imgSize,
const Point3i radius,
const HVecUS srcdata,
HVecUS dstdata 
)

◆ memAvail()

cuda_EXPORT void mgx::memAvail ( )

◆ memLeft()

size_t mgx::memLeft ( size_t  memrq,
size_t  roomrq,
size_t  mem 
)

◆ mergeVertices()

mgx_EXPORT int mgx::mergeVertices ( vvGraph S,
const VtxVec vs 
)

Merge vertices, returns number of vertices deleted.

Parameters
SGraph to subdivide
vsvector of vertices to merge

◆ mgxmToMgxc()

mgx_EXPORT bool mgx::mgxmToMgxc ( const vvGraph srcS,
vvGraph S,
double  wallMax = 0 
)

Convert a normal (MGXM) mesh to a cell (MGXC) mesh.

Parameters
srcSSource graph
Sdestination graph
wallMaxDistance to use for keeping points on walls

◆ min()

template<typename T >
CU_HOST_DEVICE T mgx::min ( const T  a,
const T  b 
)

Definition at line 26 of file Util.hpp.

◆ minDiagonal()

template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
double mgx::minDiagonal ( DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &  m)

Definition at line 515 of file DistMatrix.hpp.

◆ minEntry()

template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
double mgx::minEntry ( DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &  m)

Definition at line 531 of file DistMatrix.hpp.

◆ minGPU()

template<typename T >
int mgx::minGPU ( T *  v,
typename T::value_type::value_type &  r 
)

Definition at line 338 of file DistMatrixCuda.hpp.

◆ minOffDiagonal()

template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
double mgx::minOffDiagonal ( DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &  m)

Definition at line 523 of file DistMatrix.hpp.

◆ multGPU() [1/3]

template<typename TM , typename TV >
int mgx::multGPU ( DeviceVu nb,
TM *  mv,
TM *  me,
TV *  v,
TV *  r 
)

Definition at line 256 of file DistMatrixCuda.hpp.

◆ multGPU() [2/3]

template<typename T >
int mgx::multGPU ( T *  v,
typename T::value_type::value_type  a,
T *  r 
)

Definition at line 218 of file DistMatrixCuda.hpp.

◆ multGPU() [3/3]

template<typename T >
int mgx::multGPU ( T *  v1,
T *  v2,
typename T::value_type::value_type &  r 
)

Definition at line 230 of file DistMatrixCuda.hpp.

◆ multMatrix4Point3()

template<typename T >
CU_HOST_DEVICE Vector<3, T> mgx::multMatrix4Point3 ( const Matrix< 4, 4, T > &  m,
const Vector< 3, T > &  p 
)

Multiply openGL 4D matrix by 3D point and return 3D point.

Definition at line 167 of file Geometry.hpp.

◆ nearestPointOnMesh()

mgx_EXPORT Point3d mgx::nearestPointOnMesh ( const Point3d targetPoint,
const vvGraph S 
)

◆ nearestVertexOnMesh()

mgx_EXPORT vertex mgx::nearestVertexOnMesh ( const Point3d targetPoint,
const vvGraph S 
)

◆ nearMeshGPU()

cuda_EXPORT int mgx::nearMeshGPU ( const Point3i base,
const Point3i size,
const Point3f step,
const Point3f shift,
const HVec3F pts,
const HVec3F nrmls,
float  minDist,
float  maxDist,
HVecUS dstdata 
)

◆ neighborhood2D()

mgx_EXPORT void mgx::neighborhood2D ( vvGraph S,
std::map< IntInt, double > &  neighMap,
QString  weightType = "",
bool  ignoreOutside = true 
)

creates a wall map with the neighboring cells as key (pair) and the wall length as value

Parameters
SvvGraph

◆ neighborhoodGraph()

mgx_EXPORT bool mgx::neighborhoodGraph ( const vvGraph S,
double  tolerance,
NhbdGraphInfo info,
bool  throwError = true 
)

◆ neighborhoodGraphLocal()

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

Parameters
SvvGraph
tolerancedouble
cellAtlasDataRootCellProcessing

◆ norm() [1/3]

template<size_t nRows, size_t nCols, typename T >
CU_HOST_DEVICE T mgx::norm ( const Matrix< nRows, nCols, T > &  mat)
related

Definition at line 1134 of file Matrix.hpp.

◆ norm() [2/3]

template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
ScalarT mgx::norm ( DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &  m)

Definition at line 548 of file DistMatrix.hpp.

◆ norm() [3/3]

template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
ScalarT mgx::norm ( DVector< DistNhbdT, MatrixT, VectorT, ScalarT > &  v)

Definition at line 540 of file DistMatrix.hpp.

◆ normalizeMaskScale()

void mgx::normalizeMaskScale ( HostVf mask)
inline

Definition at line 69 of file ImageCuda.hpp.

◆ normsq()

template<size_t nRows, size_t nCols, typename T >
CU_HOST_DEVICE T mgx::normsq ( const Matrix< nRows, nCols, T > &  mat)
related

Definition at line 1123 of file Matrix.hpp.

◆ offset()

CU_HOST_DEVICE size_t mgx::offset ( uint  x,
uint  y,
uint  z,
uint  xsz,
uint  ysz 
)

Definition at line 431 of file Geometry.hpp.

◆ operator*() [1/7]

template<size_t nRows, size_t intSize, size_t nCols, typename T >
CU_HOST_DEVICE Matrix<nRows, nCols, T> mgx::operator* ( const Matrix< nRows, intSize, T > &  mat1,
const Matrix< intSize, nCols, T > &  mat2 
)

Definition at line 932 of file Matrix.hpp.

◆ operator*() [2/7]

Quaternion mgx::operator* ( const Quaternion q,
double  s 
)
inline

Definition at line 222 of file Quaternion.hpp.

◆ operator*() [3/7]

template<size_t nRows, size_t nCols, typename T >
CU_HOST_DEVICE Vector<nCols, T> mgx::operator* ( const Vector< nCols, T > &  vec,
const Matrix< nRows, nCols, T > &  mat 
)
related

Definition at line 919 of file Matrix.hpp.

◆ operator*() [4/7]

template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
const MVMultOp<DistNhbdT, MatrixT, VectorT, ScalarT> mgx::operator* ( DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &  p_mat,
DVector< DistNhbdT, MatrixT, VectorT, ScalarT > &  p_vec 
)

Definition at line 207 of file DistMatrix.hpp.

◆ operator*() [5/7]

template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
const MSMultOp<DistNhbdT, MatrixT, VectorT, ScalarT> mgx::operator* ( DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &  p_mat,
ScalarT  p_a 
)

Definition at line 198 of file DistMatrix.hpp.

◆ operator*() [6/7]

Quaternion mgx::operator* ( double  s,
const Quaternion q 
)
inline

Definition at line 215 of file Quaternion.hpp.

◆ operator*() [7/7]

template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
const VSMultOp<DistNhbdT, MatrixT, VectorT, ScalarT> mgx::operator* ( DVector< DistNhbdT, MatrixT, VectorT, ScalarT > &  p_vec,
ScalarT  p_a 
)

Definition at line 159 of file DistMatrix.hpp.

◆ operator+() [1/3]

template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
const VSaxpyOp<DistNhbdT, MatrixT, VectorT, ScalarT> mgx::operator+ ( const VSMultOp< DistNhbdT, MatrixT, VectorT, ScalarT > &  p_VSMultOp,
DVector< DistNhbdT, MatrixT, VectorT, ScalarT > &  p_vec 
)

Definition at line 168 of file DistMatrix.hpp.

◆ operator+() [2/3]

template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
const MMAddOp<DistNhbdT, MatrixT, VectorT, ScalarT> mgx::operator+ ( DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &  p_mat1,
DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &  p_mat2 
)

Definition at line 178 of file DistMatrix.hpp.

◆ operator+() [3/3]

template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
const VVAddOp<DistNhbdT, MatrixT, VectorT, ScalarT> mgx::operator+ ( DVector< DistNhbdT, MatrixT, VectorT, ScalarT > &  p_vec1,
DVector< DistNhbdT, MatrixT, VectorT, ScalarT > &  p_vec2 
)

Definition at line 139 of file DistMatrix.hpp.

◆ operator-() [1/2]

template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
const MMSubOp<DistNhbdT, MatrixT, VectorT, ScalarT> mgx::operator- ( DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &  p_mat1,
DMatrix< DistNhbdT, MatrixT, VectorT, ScalarT > &  p_mat2 
)

Definition at line 188 of file DistMatrix.hpp.

◆ operator-() [2/2]

template<typename DistNhbdT , typename MatrixT , typename VectorT , typename ScalarT >
const VVSubOp<DistNhbdT, MatrixT, VectorT, ScalarT> mgx::operator- ( DVector< DistNhbdT, MatrixT, VectorT, ScalarT > &  p_vec1,
DVector< DistNhbdT, MatrixT, VectorT, ScalarT > &  p_vec2 
)

Definition at line 149 of file DistMatrix.hpp.

◆ operator->*() [1/6]

template<typename ValueT >
ValueT& mgx::operator->* ( const edge e,
AttrMap< VtxVtxPair, ValueT > &  map 
)

Definition at line 1471 of file Attributes.hpp.

◆ operator->*() [2/6]

template<typename ValueT >
ValueT& mgx::operator->* ( const edge e,
AttrMap< VtxVtxPair, ValueT > *  map 
)

Definition at line 1476 of file Attributes.hpp.

◆ operator->*() [3/6]

template<typename KeyT , typename ValueT >
ValueT& mgx::operator->* ( const KeyT &  key,
AttrMap< KeyT, ValueT > &  map 
)

Definition at line 1448 of file Attributes.hpp.

◆ operator->*() [4/6]

template<typename KeyT , typename ValueT >
ValueT& mgx::operator->* ( const KeyT &  key,
AttrMap< KeyT, ValueT > *  map 
)

Definition at line 1453 of file Attributes.hpp.

◆ operator->*() [5/6]

template<typename ValueT >
ValueT& mgx::operator->* ( const wall e,
AttrMap< CellCellPair, ValueT > &  map 
)

Definition at line 1465 of file Attributes.hpp.

◆ operator->*() [6/6]

template<typename ValueT >
ValueT& mgx::operator->* ( const wall e,
AttrMap< CellCellPair, ValueT > *  map 
)

Definition at line 1460 of file Attributes.hpp.

◆ operator<<() [1/6]

QDataStream& mgx::operator<< ( QDataStream &  s,
const Colorbar::Position pos 
)

◆ operator<<() [2/6]

QTextStream& mgx::operator<< ( QTextStream &  s,
const Colorbar::Position pos 
)

◆ operator<<() [3/6]

QTextStream& mgx::operator<< ( QTextStream &  s,
const GLSLValue ut 
)
inline

Definition at line 258 of file Shader.hpp.

◆ operator<<() [4/6]

template<typename VertexContent , typename Alloc , typename charT >
std::basic_ostream<charT>& mgx::operator<< ( std::basic_ostream< charT > &  ss,
const Vertex< VertexContent > &  v 
)

Definition at line 372 of file Vertex.hpp.

◆ operator<<() [5/6]

std::ostream& mgx::operator<< ( std::ostream &  s,
const Colorbar::Position pos 
)

◆ operator<<() [6/6]

std::ostream& mgx::operator<< ( std::ostream &  s,
const GLSLValue ut 
)
inline

Definition at line 266 of file Shader.hpp.

◆ operator>>() [1/5]

QDataStream& mgx::operator>> ( QDataStream &  s,
Colorbar::Position pos 
)

◆ operator>>() [2/5]

QTextStream& mgx::operator>> ( QTextStream &  s,
Colorbar::Position pos 
)

◆ operator>>() [3/5]

QTextStream& mgx::operator>> ( QTextStream &  s,
GLSLValue ut 
)
inline

Definition at line 262 of file Shader.hpp.

◆ operator>>() [4/5]

std::istream& mgx::operator>> ( std::istream &  s,
Colorbar::Position pos 
)

◆ operator>>() [5/5]

std::istream& mgx::operator>> ( std::istream &  s,
GLSLValue ut 
)
inline

Definition at line 270 of file Shader.hpp.

◆ orderPolygonSegs()

mgx_EXPORT std::vector<Point3d> mgx::orderPolygonSegs ( std::vector< std::pair< Point3d, Point3d > > &  polygonSegs,
bool  keepPolySegs = true 
)

orderPolygonSegs

put segments (pairs of Point3d) into a vector in the correct order (starting with the first seg) example: input ((2,3),(5,1),(3,5),(1,2)) output (2,3,5,1) std::vector<std::pair<Point3d,Point3d> > &polygonSegs : vector of segments

◆ orderPolygonSegsMulti()

mgx_EXPORT std::vector<std::vector<Point3d> > mgx::orderPolygonSegsMulti ( std::vector< std::pair< Point3d, Point3d > > &  polygonSegs)

◆ orthogonalVector()

mgx_EXPORT Point3d mgx::orthogonalVector ( Point3d  vec)

orthogonalVector

returns a vector orthogonal to the input vector Point3d vec : the input vector

◆ OuterProduct()

Matrix3d mgx::OuterProduct ( Point3d  p1,
Point3d  p2 
)
inline

Definition at line 49 of file SymmetricTensor.hpp.

◆ planeLineIntersect()

template<typename T >
CU_HOST_DEVICE bool mgx::planeLineIntersect ( const Point3(T) &  p,
const Point3(T) &  nrml,
const Point3(T) &  u1,
const Point3(T) &  u2,
T &  s,
Point3(T) &  u 
)

Plane-Line Intersection.

Parameters
pPoint
nNormal
u1& u2 Line segment
sif 0 <= s <= 1, on line, s >= 0 ray intersect
uIntersection point
Returns
false if parallel

Definition at line 217 of file Geometry.hpp.

◆ planePolygonIntersect()

bool mgx::planePolygonIntersect ( Point3d  planeNrml,
Point3d  planePos,
std::vector< Point3d polygonVtxs 
)

◆ planeSegmentIntersect()

bool mgx::planeSegmentIntersect ( const Point3d p,
const Point3d nrml,
const Point3d u1,
const Point3d u2,
Point3d intersectP 
)

◆ Point3()

template<typename T >
CU_HOST_DEVICE const const mgx::Point3 ( ) const &

◆ pointInCone()

bool mgx::pointInCone ( Point3d  axisVec,
Point3d coneTop,
Point3d coneBase,
double  coneAngle,
Point3d pointToTest 
)

return true if a point is inside a cone

Parameters
axisVecPoint3d axis vector of the cone (= coneTop - coneBase)
coneTopPoint3d point at the top of the cone
coneBasePoint3d midpoint of the bas of the cone
coneAngledouble angle of the cone (in rad)
pointToTestPoint3d test point

◆ pointInPolygon()

mgx_EXPORT bool mgx::pointInPolygon ( Point3d  pointToTest,
std::vector< Point3d > &  polygon,
bool  debug = false 
)

◆ processDirs()

mgx_EXPORT QList<QDir> mgx::processDirs ( )

Returns processes directory.

◆ processNonSepOP()

template<typename opT , typename T >
int mgx::processNonSepOP ( opT  op,
const Point3i imgSize,
const Point3i radius,
const thrust::host_vector< T > &  srcData,
thrust::host_vector< T > &  dstData 
)

Definition at line 804 of file ImageCuda.hpp.

◆ processSepOP()

template<typename opT , typename T >
int mgx::processSepOP ( opT  opx,
opT  opy,
opT  opz,
const Point3i imgSize,
const Point3i radius,
const thrust::host_vector< T > &  srcData,
thrust::host_vector< T > &  dstData 
)

Definition at line 703 of file ImageCuda.hpp.

◆ progressAdvance() [1/2]

bool mgx::progressAdvance ( )

◆ progressAdvance() [2/2]

mgx_EXPORT bool mgx::progressAdvance ( int  step)

◆ progressCancel()

mgx_EXPORT void mgx::progressCancel ( )

◆ progressCanceled()

mgx_EXPORT bool mgx::progressCanceled ( )

◆ progressCancelled()

bool mgx::progressCancelled ( )

◆ progressSetMax()

mgx_EXPORT void mgx::progressSetMax ( int  steps = 0)

◆ progressSetMsg() [1/3]

mgx_EXPORT void mgx::progressSetMsg ( const char *  msg)

◆ progressSetMsg() [2/3]

mgx_EXPORT void mgx::progressSetMsg ( const QString &  msg)

◆ progressSetMsg() [3/3]

mgx_EXPORT void mgx::progressSetMsg ( const std::string &  msg)

◆ progressStart() [1/4]

mgx_EXPORT void mgx::progressStart ( const char *  msg,
int  steps = 0,
bool  allowCancel = true 
)

◆ progressStart() [2/4]

mgx_EXPORT void mgx::progressStart ( const QString &  msg,
int  steps = 0,
bool  allowCancel = true 
)

◆ progressStart() [3/4]

void mgx::progressStart ( const std::string &  msg,
int  steps 
)

◆ progressStart() [4/4]

mgx_EXPORT void mgx::progressStart ( const std::string &  msg,
int  steps = 0,
bool  allowCancel = true 
)

◆ progressStop()

mgx_EXPORT void mgx::progressStop ( )

◆ projectPointOnPlane()

Point3d mgx::projectPointOnPlane ( const Point3d P,
const Point3d Q,
const Point3d N 
)
inline

Definition at line 453 of file Geometry.hpp.

◆ projectPointsOnPlane()

mgx_EXPORT bool mgx::projectPointsOnPlane ( std::vector< Point3d > &  points,
Point3d  planePos,
Point3d  planeNrml 
)

projectPointsOnPlane

project a vector of points onto a plane std::vector<Point3d> &points : the point vector, input AND output Point3d planePos : position of the plane Point3d planeNrml : normal of the plane

◆ qdemangle()

mgx_EXPORT QString mgx::qdemangle ( std::string  s)

Demangle all the words in the string.

Returns
The string with all symbols demangled.

◆ ran() [1/5]

template<size_t dim, typename T >
Vector<dim, T> mgx::ran ( const Vector< dim, T > &  V)

Generate a random vector uniformely distributed between Vector(0) and V.

Definition at line 67 of file Random.hpp.

◆ ran() [2/5]

mgx_EXPORT double mgx::ran ( double  M)

Generate a random number uniformly distributed between 0 and M.

◆ ran() [3/5]

mgx_EXPORT float mgx::ran ( float  M)

Generate a random number uniformly distributed between 0 and M.

◆ ran() [4/5]

mgx_EXPORT long double mgx::ran ( long double  M)

Generate a random number uniformly distributed between 0 and M.

◆ ran() [5/5]

template<typename T >
double mgx::ran ( M)

Generate a random number uniformly distributed between 0 and M.

Definition at line 60 of file Random.hpp.

◆ ranInt() [1/3]

mgx_EXPORT long int mgx::ranInt ( )

Returns a random number between 0 and RAND_MAX.

Returns a vector of random numbers between 0 and RAND_MAX.

Definition at line 107 of file Random.hpp.

◆ ranInt() [2/3]

template<size_t dim, typename T >
Vector<dim, T> mgx::ranInt ( const Vector< dim, T > &  n)

Returns a vector of random numbers.

Parameters
nVector with the maximum number for each dimension

Definition at line 140 of file Random.hpp.

◆ ranInt() [3/3]

mgx_EXPORT long int mgx::ranInt ( long int  n)

Returns a random number between 0 and n (excluded), for n <= RAND_MAX.

◆ rayTriangleIntersect()

template<typename T >
CU_HOST_DEVICE int mgx::rayTriangleIntersect ( const Point3(T) &  r0,
const Point3(T) &  r1,
const Point3(T) &  t0,
const Point3(T) &  t1,
const Point3(T) &  t2,
Point3(T) &  intp 
)

Definition at line 332 of file Geometry.hpp.

◆ readAttr() [1/26]

bool mgx::readAttr ( BezierSurface::VertexData m,
const QByteArray &  ba,
size_t &  pos 
)
inline

Definition at line 94 of file BezierSurface.hpp.

◆ readAttr() [2/26]

bool mgx::readAttr ( CellAtlasConfig data,
const QByteArray &  ba,
size_t &  pos 
)
inline

Definition at line 155 of file RootCellProcessing.hpp.

◆ readAttr() [3/26]

bool mgx::readAttr ( CellAtlasData m,
const QByteArray &  ba,
size_t &  pos 
)
inline

Definition at line 145 of file RootCellProcessing.hpp.

◆ readAttr() [4/26]

template<>
bool mgx::readAttr ( CellCellPair pr,
const QByteArray &  ba,
size_t &  pos 
)
inline

Definition at line 387 of file Attributes.hpp.

◆ readAttr() [5/26]

bool mgx::readAttr ( CellDivisionAttr m,
const QByteArray &  ba,
size_t &  pos 
)
inline

Definition at line 119 of file CellDivision.hpp.

◆ readAttr() [6/26]

template<>
bool mgx::readAttr ( Colorb color,
const QByteArray &  ba,
size_t &  pos 
)
inline

Definition at line 462 of file Attributes.hpp.

◆ readAttr() [7/26]

bool mgx::readAttr ( DivisionDataNew dd,
const QByteArray &  ba,
size_t &  pos 
)
inline

Definition at line 149 of file CellDivision.hpp.

◆ readAttr() [8/26]

bool mgx::readAttr ( HejnowiczSurface::VertexData m,
const QByteArray &  ba,
size_t &  pos 
)
inline

Serialize read for Vertex data.

Definition at line 188 of file HejnowiczSurface.hpp.

◆ readAttr() [9/26]

template<size_t n, size_t m, typename T >
bool mgx::readAttr ( Matrix< n, m, T > &  data,
const QByteArray &  ba,
size_t &  pos 
)

Definition at line 250 of file Attributes.hpp.

◆ readAttr() [10/26]

bool mgx::readAttr ( MeinhardtAI::CellData m,
const QByteArray &  ba,
size_t &  pos 
)
inline

Definition at line 233 of file DynamXProcessMorphogens.hpp.

◆ readAttr() [11/26]

bool mgx::readAttr ( PolarSurface::VertexData m,
const QByteArray &  ba,
size_t &  pos 
)
inline

Definition at line 115 of file PolarSurface.hpp.

◆ readAttr() [12/26]

template<>
bool mgx::readAttr ( QByteArray &  qba,
const QByteArray &  ba,
size_t &  pos 
)
inline

Definition at line 446 of file Attributes.hpp.

◆ readAttr() [13/26]

template<>
bool mgx::readAttr ( QString &  data,
const QByteArray &  ba,
size_t &  pos 
)
inline

Definition at line 413 of file Attributes.hpp.

◆ readAttr() [14/26]

template<>
bool mgx::readAttr ( QStringList &  data,
const QByteArray &  ba,
size_t &  pos 
)
inline

Definition at line 431 of file Attributes.hpp.

◆ readAttr() [15/26]

bool mgx::readAttr ( Solver::EdgData m,
const QByteArray &  ba,
size_t &  pos 
)
inline

Definition at line 189 of file Solver.hpp.

◆ readAttr() [16/26]

bool mgx::readAttr ( Solver::VtxData m,
const QByteArray &  ba,
size_t &  pos 
)
inline

Definition at line 179 of file Solver.hpp.

◆ readAttr() [17/26]

template<typename KeyT , typename ValueT >
bool mgx::readAttr ( std::map< KeyT, ValueT > &  data,
const QByteArray &  ba,
size_t &  pos 
)
inline

Definition at line 487 of file Attributes.hpp.

◆ readAttr() [18/26]

template<typename T , typename U >
bool mgx::readAttr ( std::pair< T, U > &  data,
const QByteArray &  ba,
size_t &  pos 
)

Definition at line 274 of file Attributes.hpp.

◆ readAttr() [19/26]

template<typename T >
bool mgx::readAttr ( std::vector< T > &  data,
const QByteArray &  ba,
size_t &  pos 
)
inline

Definition at line 471 of file Attributes.hpp.

◆ readAttr() [20/26]

template<>
bool mgx::readAttr ( SymmetricTensor data,
const QByteArray &  ba,
size_t &  pos 
)
inline

Definition at line 282 of file Attributes.hpp.

◆ readAttr() [21/26]

template<typename T >
bool mgx::readAttr ( T &  data,
const QByteArray &  ba,
size_t &  pos 
)

Read the attribute value from a QByteArray.

Definition at line 244 of file Attributes.hpp.

◆ readAttr() [22/26]

template<>
bool mgx::readAttr ( Triangle t,
const QByteArray &  ba,
size_t &  pos 
)
inline

Definition at line 336 of file Attributes.hpp.

◆ readAttr() [23/26]

template<size_t n>
bool mgx::readAttr ( Vector< n, Colorb > &  data,
const QByteArray &  ba,
size_t &  pos 
)

Definition at line 265 of file Attributes.hpp.

◆ readAttr() [24/26]

template<size_t n, typename T >
bool mgx::readAttr ( Vector< n, T > &  data,
const QByteArray &  ba,
size_t &  pos 
)

Definition at line 259 of file Attributes.hpp.

◆ readAttr() [25/26]

template<>
bool mgx::readAttr ( vertex v,
const QByteArray &  ba,
size_t &  pos 
)
inline

Definition at line 290 of file Attributes.hpp.

◆ readAttr() [26/26]

template<>
bool mgx::readAttr ( VtxVtxPair pr,
const QByteArray &  ba,
size_t &  pos 
)
inline

Definition at line 308 of file Attributes.hpp.

◆ registerSystemProcesses()

void mgx_EXPORT mgx::registerSystemProcesses ( )

◆ reportGLError()

bool mgx::reportGLError ( const QString &  str,
const char *  file,
int  line 
)
inline

Definition at line 28 of file GL.hpp.

◆ resize()

mgx_EXPORT HVecUS mgx::resize ( const HVecUS data,
const Point3i before,
const Point3i after,
bool  center 
)

◆ resolvePath()

mgx_EXPORT QString mgx::resolvePath ( QString  path)

Return the absolute file path, resolving things like environement variables and '~' for $HOME.

◆ resourceDir()

mgx_EXPORT QDir mgx::resourceDir ( )

Returns resource directory.

◆ return()

mgx::return ( nrml c3 *(p2 - p1)+c1 *(p3 - p2)+c2 *(p1 - p3))

◆ reverseVector()

mgx_EXPORT void mgx::reverseVector ( std::vector< cell > &  input)

◆ rotatePointsIntoXY()

mgx_EXPORT void mgx::rotatePointsIntoXY ( Point3d  polygonNormal,
std::vector< Point3d > &  pointsPolygon,
Matrix3d inv_rot_polygon_plane 
)

rotatePointsIntoXY

rotate (planar) (polygon) points into the XY plane

NOTE: the new position will be parallel to the XY plane, but not necessarily in z=0 position. points have to have their original z value, if it is required to rotate them back into the original position


Point3d polygonNormal : normal of the polygon plane std::vector<Point3d>& pointsPolygon : the point vector, input AND output Matrix3d& inv_rot_polygon_plane : inverse of the resulting rotation matrix (in case it has to be rotated back)

◆ saveImage()

mgx_EXPORT bool mgx::saveImage ( QString  filename,
const Image3D data,
QString  type = "CImg Auto",
unsigned int  nb_digits = 0 
)

◆ savePLYCellGraph()

bool mgx::savePLYCellGraph ( Mesh mesh,
const QString &  filename,
bool  binary 
)

◆ saveTIFFImage()

mgx_EXPORT bool mgx::saveTIFFImage ( QString  filename,
const Image3D data 
)

◆ saxpyGPU()

template<typename T >
int mgx::saxpyGPU ( T *  v1,
T *  v2,
typename T::value_type::value_type  a,
T *  r 
)

Definition at line 312 of file DistMatrixCuda.hpp.

◆ separateIdenticalVtxs()

void mgx::separateIdenticalVtxs ( const cell c)

◆ setCurrentPath()

mgx_EXPORT bool mgx::setCurrentPath ( const QString &  path)

Set the current path.

◆ setHoldMemGPU()

cuda_EXPORT int mgx::setHoldMemGPU ( uint  holdmem)

◆ setNormal()

mgx_EXPORT bool mgx::setNormal ( const vvGraph S,
const vertex v 
)

Set the normal in a single vertex.

Parameters
SvvGraph to set normal on
vvertex to set

◆ setNormals()

mgx_EXPORT int mgx::setNormals ( const vvGraph S)

Set the normals in a graph.

Parameters
SvvGraph to set normal on

◆ sharpenGPU()

cuda_EXPORT int mgx::sharpenGPU ( const Point3i imgSize,
const Point3f imgStep,
const Point3f sigma,
const float  amount,
const HVecUS srcdata,
HVecUS dstdata 
)

◆ shield()

QString mgx::shield ( QString  s)
inline

Create representation of a string that can be written in a single line, without spaces.

Definition at line 89 of file Misc.hpp.

◆ shield_python()

QString mgx::shield_python ( QString  s)
inline

Shield a string to send it to the python interpreter.

Definition at line 113 of file Misc.hpp.

◆ shiftMap()

mgx_EXPORT std::map<int,int> mgx::shiftMap ( std::map< int, double > &  mapToShift,
int  shift 
)

◆ signedTetraVolume()

template<typename T >
CU_HOST_DEVICE T mgx::signedTetraVolume ( const Point3(T) &  a,
const Point3(T) &  b,
const Point3(T) &  c 
)

Definition at line 299 of file Geometry.hpp.

◆ simulateDivision2D()

void mgx::simulateDivision2D ( std::vector< vertex > &  cellContour,
Point3d divP,
Point3d  divNormal,
std::vector< P3dDouble > &  samplingDirections,
std::vector< CellDivision > &  allDivisions,
Point3d shortestPlaneNrml,
double &  shortesPlaneDispl 
)

◆ spliceNhbs()

template<typename GraphT >
bool mgx::spliceNhbs ( GraphT &  S,
typename GraphT::vertex_t  a,
typename GraphT::vertex_t  b 
)

Splice the neighborhood of b into a (so we can delete b)

Parameters
SGraph to splice
avertex whose neighborhood will change
bvertex whose neighborhood will be added to a
sDivsubdivision object to propagate attributes

Definition at line 51 of file GraphUtils.hpp.

◆ splitEdge()

mgx_EXPORT bool mgx::splitEdge ( vvGraph S,
vertex  v1,
vertex  v2,
Subdivide sDiv = 0 
)

Split an edge in the S graph.

Parameters
SGraph with edge to split
afirst vertex on edge to split
bsecond vertex on edge to split
sDivsubdivision object to propagate attributes

◆ sran()

mgx_EXPORT void mgx::sran ( unsigned int  seed)

Initialize the random number generator.

◆ sran_time()

mgx_EXPORT unsigned int mgx::sran_time ( )

Initialize the random number with the current time of the day (in microsecond)

Returns
the seed used.

◆ stringToColorb()

Colorb mgx::stringToColorb ( const QString &  s)

Map Gui input string to Colorb.

◆ stringToCompMode()

comp::CompositeMode mgx::stringToCompMode ( const QString &  s)

Map Gui input string to Composition mode.

◆ stringToPoint2d()

Point2d mgx::stringToPoint2d ( const QString &  s)
inline

Definition at line 180 of file Misc.hpp.

◆ stringToPoint2f()

Point2f mgx::stringToPoint2f ( const QString &  s)
inline

Definition at line 147 of file Misc.hpp.

◆ stringToPoint2i()

Point2i mgx::stringToPoint2i ( const QString &  s)
inline

Definition at line 158 of file Misc.hpp.

◆ stringToPoint2u()

Point2u mgx::stringToPoint2u ( const QString &  s)
inline

Definition at line 169 of file Misc.hpp.

◆ stringToPoint3d()

Point3d mgx::stringToPoint3d ( const QString &  s)
inline

Convert a string to Point3d.

Definition at line 136 of file Misc.hpp.

◆ stringToPoint3u()

Point3u mgx::stringToPoint3u ( const QString &  s)
inline

Definition at line 191 of file Misc.hpp.

◆ stripCurrentDir()

mgx_EXPORT QString mgx::stripCurrentDir ( QString  file)

Returns the path relative to the current directory.

◆ stripDir()

mgx_EXPORT QString mgx::stripDir ( const QString &  dir,
QString  file 
)

Remove a directory from the file path.

◆ subdivideBisect()

mgx_EXPORT bool mgx::subdivideBisect ( vvGraph S,
const vertex v1,
const vertex v2,
const vertex v3,
VtxVec vs = 0,
Subdivide sDiv = 0 
)

Subdivide triangle with a propagating bisection that gives good triangles.

Parameters
SGraph to subdivide
v1First vertex of the triangle to divide
v2Second vertex of the triangle to divide
v3Third vertex of the triangle to divide
selectedIf true, new vertices will be selected
vsIf non-NULL, vertices inserted are appended

◆ subtractGPU()

template<typename T >
int mgx::subtractGPU ( T *  v1,
T *  v2,
T *  r 
)

Definition at line 300 of file DistMatrixCuda.hpp.

◆ supportedImageReadFormats()

mgx_EXPORT QStringList mgx::supportedImageReadFormats ( )

◆ supportedImageWriteFormats()

mgx_EXPORT QStringList mgx::supportedImageWriteFormats ( )

◆ swap() [1/2]

template<typename Key , typename Compare , typename Allocator >
void mgx::swap ( multiset_vector< Key, Compare, Allocator > &  v1,
multiset_vector< Key, Compare, Allocator > &  v2 
)

Definition at line 543 of file SetVector.hpp.

◆ swap() [2/2]

template<typename Key , typename Compare , typename Allocator >
void mgx::swap ( set_vector< Key, Compare, Allocator > &  v1,
set_vector< Key, Compare, Allocator > &  v2 
)

Definition at line 785 of file SetVector.hpp.

◆ swapMetaData()

void mgx_EXPORT mgx::swapMetaData ( Store s1,
Store s2 
)

◆ systemSolveGSL()

mgx_EXPORT void mgx::systemSolveGSL ( std::vector< std::vector< double > > &  inputM,
std::vector< double > &  x 
)

◆ tie()

template<typename T , typename U >
refpair<T, U> mgx::tie ( T &  x,
U &  y 
)
inline

Tie two variables to the values of a pair.

Example:

std::pair<int,double> p(1,2.5);
int a;
double b;
tie(a,b) = p;

At the end, a is 1 and b is 2.5

Definition at line 67 of file Tie.hpp.

◆ toVoxelsCeil()

template<typename T >
CU_HOST_DEVICE Point3u mgx::toVoxelsCeil ( const Point3(T) &  p,
const Point3(T) &  step 
)

Definition at line 153 of file Geometry.hpp.

◆ transpose()

template<size_t nRows, size_t nCols, typename T >
CU_HOST_DEVICE Matrix<nCols, nRows, T> mgx::transpose ( const Matrix< nRows, nCols, T > &  mat)
related

Definition at line 1114 of file Matrix.hpp.

◆ triangleArea()

template<typename T >
CU_HOST_DEVICE T mgx::triangleArea ( const Point3(T) &  a,
const Point3(T) &  b,
const Point3(T) &  c 
)

Definition at line 293 of file Geometry.hpp.

◆ triangleOrientationCheck()

mgx_EXPORT bool mgx::triangleOrientationCheck ( std::vector< Point3i > &  triList,
int  idxRefTri = -1 
)

triangleOrientationCheck

check the orientation of all triangles and flip them if necessary, hereby the first one is considered as properly oriented NOTE: this function is not 100% bug free! std::vector<Point3i>& triList : vector of tris

◆ triangulateDelaunay2D()

mgx_EXPORT void mgx::triangulateDelaunay2D ( const std::vector< Point2f > &  pList,
std::vector< Point2f > &  ptList,
std::vector< Point3i > &  triList 
)

◆ triangulatePolygon()

mgx_EXPORT void mgx::triangulatePolygon ( float  maxArea,
const std::vector< Point2f > &  pList,
const std::vector< Point2i > &  segList,
std::vector< Point2f > &  ptList,
std::vector< Point3i > &  triList,
std::vector< Point2i > &  segtList,
bool  boundary = false,
bool  addPointsCenter = true 
)

◆ triangulatePolygon3D()

mgx_EXPORT bool mgx::triangulatePolygon3D ( float  maxArea,
Point3d  polygonNormal,
std::vector< Point3d > &  pointsPolygon,
std::vector< Point3i > &  triList,
std::vector< Point3d > &  ptList,
bool  boundary,
bool  inOrder,
bool  pointsCenter 
)

triangulatePolygon3D

takes a vector of polygon corner points in a plane and triangulates the polygon the input polygon can either be arbitrary with its points in order or convex with unordered points parms IMPORTANT NOTE: this function is not necessarily bug-free and could cause infinite loops float maxArea : maximum triangle area of resulting triangulation Point3d polygonNormal : normal of the input polygon std::vector<Point3d> &pointsPolygon : points of the input polygon std::vector<Point3i> &triList : output triangle list std::vector<Point3d> &ptList : output point list bool boundary : if true also allow to subdivide the border segments that are longer than sqrt(maxArea*2) bool inOrder : if true the input points are in order; if false points will be ordered automatically assuming convexity

◆ triIndex()

mgx_EXPORT Point3i mgx::triIndex ( Point3i  t)

◆ trim()

template<typename T >
CU_HOST_DEVICE T mgx::trim ( const T  x,
const T  minx,
const T  maxx 
)

Definition at line 42 of file Util.hpp.

◆ unregisterSystemProcesses()

void mgx_EXPORT mgx::unregisterSystemProcesses ( )

◆ unshield()

QString mgx::unshield ( QString  s)
inline

Retrieve a string that has been shielded with shield.

Definition at line 101 of file Misc.hpp.

◆ unshield_python()

QString mgx::unshield_python ( QString  s)
inline

Retrieve a string that is retrieved from the python representation.

Definition at line 124 of file Misc.hpp.

◆ userMem()

size_t mgx::userMem ( )

◆ userProcessDirs()

mgx_EXPORT QList<QDir> mgx::userProcessDirs ( )

Returns user processes directory.

◆ vIndex()

mgx_EXPORT int mgx::vIndex ( const Point3d pos,
Point3dIntMap vMap,
float  tolerance 
)

◆ vMapColor() [1/2]

uint mgx::vMapColor ( Point3GLub p)
inline

Map unique colors to indices.

Definition at line 84 of file Misc.hpp.

◆ vMapColor() [2/2]

Point3GLub mgx::vMapColor ( uint  u)
inline

Map unique colors to indices.

Definition at line 77 of file Misc.hpp.

◆ voxelEditGPU()

cuda_EXPORT int mgx::voxelEditGPU ( const Point3i base,
const Point3i size,
const Point3i imgSize,
const Point3f step,
const Point3f shift,
const Point3f p,
const Point3f pz,
float  radius,
ushort  color,
const Point3u clipDo,
const HVec4F pn,
HVecUS data 
)

◆ worldToImage()

CU_HOST_DEVICE Point3i mgx::worldToImage ( const Point3f wrld,
const Point3f step,
const Point3f shift 
)

Definition at line 425 of file Geometry.hpp.

◆ writeAttr() [1/26]

bool mgx::writeAttr ( const BezierSurface::VertexData m,
QByteArray &  ba 
)
inline

Definition at line 98 of file BezierSurface.hpp.

◆ writeAttr() [2/26]

bool mgx::writeAttr ( const CellAtlasConfig data,
QByteArray &  ba 
)
inline

Definition at line 215 of file RootCellProcessing.hpp.

◆ writeAttr() [3/26]

bool mgx::writeAttr ( const CellAtlasData m,
QByteArray &  ba 
)
inline

Definition at line 149 of file RootCellProcessing.hpp.

◆ writeAttr() [4/26]

template<>
bool mgx::writeAttr ( const CellCellPair w,
QByteArray &  ba 
)
inline

Definition at line 595 of file Attributes.hpp.

◆ writeAttr() [5/26]

bool mgx::writeAttr ( const CellDivisionAttr m,
QByteArray &  ba 
)
inline

Definition at line 123 of file CellDivision.hpp.

◆ writeAttr() [6/26]

template<>
bool mgx::writeAttr ( const Colorb color,
QByteArray &  ba 
)
inline

Definition at line 632 of file Attributes.hpp.

◆ writeAttr() [7/26]

bool mgx::writeAttr ( const DivisionDataNew dd,
QByteArray &  ba 
)
inline

Definition at line 162 of file CellDivision.hpp.

◆ writeAttr() [8/26]

bool mgx::writeAttr ( const HejnowiczSurface::VertexData m,
QByteArray &  ba 
)
inline

Serialize write for Vertex data.

Definition at line 193 of file HejnowiczSurface.hpp.

◆ writeAttr() [9/26]

template<size_t n, size_t m, typename T >
bool mgx::writeAttr ( const Matrix< n, m, T > &  data,
QByteArray &  ba 
)

Definition at line 516 of file Attributes.hpp.

◆ writeAttr() [10/26]

bool mgx::writeAttr ( const MeinhardtAI::CellData m,
QByteArray &  ba 
)
inline

Definition at line 237 of file DynamXProcessMorphogens.hpp.

◆ writeAttr() [11/26]

bool mgx::writeAttr ( const PolarSurface::VertexData m,
QByteArray &  ba 
)
inline

Definition at line 119 of file PolarSurface.hpp.

◆ writeAttr() [12/26]

template<>
bool mgx::writeAttr ( const QByteArray &  qba,
QByteArray &  ba 
)
inline

Definition at line 623 of file Attributes.hpp.

◆ writeAttr() [13/26]

template<>
bool mgx::writeAttr ( const QString &  s,
QByteArray &  ba 
)
inline

Definition at line 602 of file Attributes.hpp.

◆ writeAttr() [14/26]

template<>
bool mgx::writeAttr ( const QStringList &  s,
QByteArray &  ba 
)
inline

Definition at line 612 of file Attributes.hpp.

◆ writeAttr() [15/26]

bool mgx::writeAttr ( const Solver::EdgData m,
QByteArray &  ba 
)
inline

Definition at line 193 of file Solver.hpp.

◆ writeAttr() [16/26]

bool mgx::writeAttr ( const Solver::VtxData m,
QByteArray &  ba 
)
inline

Definition at line 183 of file Solver.hpp.

◆ writeAttr() [17/26]

template<typename KeyT , typename ValueT >
bool mgx::writeAttr ( const std::map< KeyT, ValueT > &  data,
QByteArray &  ba 
)

Definition at line 655 of file Attributes.hpp.

◆ writeAttr() [18/26]

template<typename T , typename U >
bool mgx::writeAttr ( const std::pair< T, U > &  data,
QByteArray &  ba 
)

Definition at line 540 of file Attributes.hpp.

◆ writeAttr() [19/26]

template<typename T >
bool mgx::writeAttr ( const std::vector< T > &  data,
QByteArray &  ba 
)

Definition at line 641 of file Attributes.hpp.

◆ writeAttr() [20/26]

template<>
bool mgx::writeAttr ( const SymmetricTensor data,
QByteArray &  ba 
)
inline

Definition at line 548 of file Attributes.hpp.

◆ writeAttr() [21/26]

template<typename T >
bool mgx::writeAttr ( const T &  data,
QByteArray &  ba 
)

Write the attribute value from a QByteArray.

Definition at line 510 of file Attributes.hpp.

◆ writeAttr() [22/26]

template<>
bool mgx::writeAttr ( const Triangle t,
QByteArray &  ba 
)
inline

Definition at line 574 of file Attributes.hpp.

◆ writeAttr() [23/26]

template<size_t n>
bool mgx::writeAttr ( const Vector< n, Colorb > &  data,
QByteArray &  ba 
)

Definition at line 531 of file Attributes.hpp.

◆ writeAttr() [24/26]

template<size_t n, typename T >
bool mgx::writeAttr ( const Vector< n, T > &  data,
QByteArray &  ba 
)

Definition at line 525 of file Attributes.hpp.

◆ writeAttr() [25/26]

template<>
bool mgx::writeAttr ( const vertex v,
QByteArray &  ba 
)
inline

Definition at line 555 of file Attributes.hpp.

◆ writeAttr() [26/26]

template<>
bool mgx::writeAttr ( const VtxVtxPair e,
QByteArray &  ba 
)
inline

Definition at line 567 of file Attributes.hpp.

◆ writeAttrMaps()

void mgx::writeAttrMaps ( RootCellProcessing  rcp,
CellAtlasAttr cellAtlasAttr,
CellAtlasConfigAttr cellAtlasConfigAttr 
)

◆ writeCsvFile()

bool mgx::writeCsvFile ( QString  filename,
QString  header,
vector< vector< double > > &  data 
)

write a 2D array to a (csv) file

Parameters
filenameQString folder and name of file (make sure it is *.csv if you want a csv file)
headerQString the csv file header, first line, strings separated by commas
datavector<vector<double> > the data

Variable Documentation

◆ area2

T mgx::area2

Definition at line 237 of file Geometry.hpp.

◆ c1

CU_HOST_DEVICE const const T mgx::c1

Definition at line 234 of file Geometry.hpp.

◆ c2

CU_HOST_DEVICE const const T T mgx::c2

Definition at line 234 of file Geometry.hpp.

◆ c3

CU_HOST_DEVICE const const T T T mgx::c3

Definition at line 235 of file Geometry.hpp.

◆ cMap

mgx_EXPORT IntCellMap* mgx::cMap

◆ dat

Definition at line 24 of file DivisionAnalysis.hpp.

◆ DEBUG

mgx_EXPORT bool mgx::DEBUG

◆ factory_type

mgxPython_EXPORT PyTypeObject mgx::factory_type

◆ glfuncs

mgx_EXPORT MGXOpenGLFunctions* mgx::glfuncs

◆ nrml

mgx::nrml

Definition at line 240 of file Geometry.hpp.

◆ process_type

mgxPython_EXPORT PyTypeObject mgx::process_type

◆ SAMPLES

const int mgx::SAMPLES

Definition at line 23 of file PolarSurface.hpp.

◆ vertex_counter

mgx_EXPORT size_t mgx::vertex_counter

Number used to enumerate the vertices of all types.

◆ vMap

mgx_EXPORT IntVtxMap* mgx::vMap

Maps for saveId for vertices and cells, created when file is read Globals required for overloads of readAttr and writeAttr for custom types.

mgx::tie
refpair< T, U > tie(T &x, U &y)
Tie two variables to the values of a pair.
Definition: Tie.hpp:67