MCPcopy Create free account

hub / github.com/MauriceGit/Voronoi_Image_Manipulation / functions

Functions63 in github.com/MauriceGit/Voronoi_Image_Manipulation

↓ 15 callersFunctionReadyForRender
(r bool)
glView.go:727
↓ 5 callersFunctionReadyForRebuild
(r bool)
glView.go:724
↓ 4 callersFunctionSetPointDistributionMethod
(method int)
glView.go:631
↓ 4 callersFunctioncalcExpectedRadius
(count int, rangeX, rangeY, margin float64)
pointDistribution.go:15
↓ 3 callersFunctiondefineMatrices
Defines the Model-View-Projection matrices for the shader.
glView.go:493
↓ 3 callersFunctiondefineModelMatrix
(shader uint32, pos, scale mgl32.Vec3)
glView.go:483
↓ 2 callersFunctionCreateRandomPoints
(count int, rangeX, rangeY, margin float64, seed int64)
pointDistribution.go:65
↓ 2 callersFunctionSetCHColor
(r, g, b, a float64)
glView.go:716
↓ 2 callersFunctionSetDelaunayLineColor
(r, g, b, a float64)
glView.go:710
↓ 2 callersFunctionSetPointColor
(r, g, b, a float64)
glView.go:713
↓ 2 callersFunctionSetRenderConvexHull
(show bool)
glView.go:660
↓ 2 callersFunctionSetRenderLines
(show bool)
glView.go:654
↓ 2 callersFunctionSetRenderPoints
(show bool)
glView.go:657
↓ 2 callersFunctionSetRenderTriangles
(show bool)
glView.go:648
↓ 2 callersFunctionSetRenderVoronoiCells
(show bool)
glView.go:645
↓ 2 callersFunctionSetRenderVoronoiEdges
(show bool)
glView.go:651
↓ 2 callersFunctionSetUseExternalColor
(useExternalColor bool)
glView.go:663
↓ 2 callersFunctionSetVoronoiLineColor
(r, g, b, a float64)
glView.go:707
↓ 2 callersFunctioncreateDelaunayEdgesGLBuffer
(d sc.Delaunay, rangeX, rangeY float64)
glView.go:349
↓ 2 callersFunctiongetGridPos
(p sc.Vector, f float64)
pointDistribution.go:84
↓ 2 callersFunctionprepareGLForNewTexture
(imagePath string)
glView.go:578
↓ 1 callersFunctionCloseWindow
()
glView.go:720
↓ 1 callersFunctionCreateFastPoissonDiscPoints
(count int, rangeX, rangeY, margin float64, k int, seed int64)
pointDistribution.go:103
↓ 1 callersFunctionCreateShiftedGridPoints
(count int, rangeX, rangeY, margin float64)
pointDistribution.go:37
↓ 1 callersFunctionDecreasePointCount
()
glView.go:639
↓ 1 callersFunctionIncreasePointCount
()
glView.go:635
↓ 1 callersFunctionInitializeRender
(communication chan func(), closingChannel chan int, pointCount int, defaultImage string)
glView.go:819
↓ 1 callersFunctionSaveImage
(path string)
glView.go:673
↓ 1 callersFunctionSetNewImage
(path string)
glView.go:670
↓ 1 callersFunctioncreateCHColorButton
(c chan func())
controls.go:263
↓ 1 callersFunctioncreateConvexHullGLBuffer
(d sc.Delaunay, rangeX, rangeY float64)
glView.go:381
↓ 1 callersFunctioncreateDelaunay
(count int, rangeX, rangeY, margin float64)
glView.go:229
↓ 1 callersFunctioncreateDelaunayColorButton
(c chan func())
controls.go:235
↓ 1 callersFunctioncreateDelaunayGLBuffer
(d sc.Delaunay, rangeX, rangeY float64)
glView.go:261
↓ 1 callersFunctioncreateDelaunayPointsGLBuffer
(d sc.Delaunay, rangeX, rangeY float64)
glView.go:365
↓ 1 callersFunctioncreateFaceRenderingButtons
(c chan func())
controls.go:139
↓ 1 callersFunctioncreateFileOpenButton
(mainwin *ui.Window, c chan func())
controls.go:28
↓ 1 callersFunctioncreateFileSaveButton
(mainwin *ui.Window, c chan func())
controls.go:46
↓ 1 callersFunctioncreateGUI
(wg *sync.WaitGroup, c chan func(), pointCount int, defaultImage string)
controls.go:400
↓ 1 callersFunctioncreateGeneralCheckboxes
(c chan func())
controls.go:165
↓ 1 callersFunctioncreateImageLoadSaveOperations
(mainwin *ui.Window, c chan func())
controls.go:64
↓ 1 callersFunctioncreatePointColorButton
(c chan func())
controls.go:249
↓ 1 callersFunctioncreatePointCountButtons
(c chan func())
controls.go:77
↓ 1 callersFunctioncreatePointDistributionButtons
(c chan func())
controls.go:105
↓ 1 callersFunctioncreateVoronoiColorButton
(c chan func())
controls.go:221
↓ 1 callersFunctioncreateVoronoiEdgesGLBuffer
(v sc.Voronoi, rangeX, rangeY float64)
glView.go:401
↓ 1 callersFunctioncreateVoronoiGLBuffer
(vo sc.Voronoi, rangeX, rangeY float64)
glView.go:283
↓ 1 callersFunctionfits
(grid *[]int, pointList []sc.Vector, p sc.Vector, r float64, gx, gy, width, height int)
pointDistribution.go:88
↓ 1 callersFunctionfreeGLBuffers
()
glView.go:414
↓ 1 callersFunctioninitGraphicContext
Set OpenGL version, profile and compatibility
glView.go:797
↓ 1 callersFunctionmainLoop
Mainloop for communication, fps and keyboard input. Re-render will be triggered by the controls!
glView.go:761
↓ 1 callersFunctionpollCommunicationChannel
()
glView.go:749
↓ 1 callersFunctionrandVec
(base sc.Vector, minR, maxR float64, rd *rand.Rand)
pointDistribution.go:77
↓ 1 callersFunctionrecalculateDelaunayTriangulation
*func redefineProjectionMatrices() { gl.UseProgram(g_delaunayTrianglesShader) defineMatrices(g_delaunayTrianglesShader) defineModelMatrix(
glView.go:449
↓ 1 callersFunctionregisterCallBacks
Register all needed callbacks
glView.go:732
↓ 1 callersFunctionrenderDelaunay
()
glView.go:503
↓ 1 callersFunctionsetDefaultRenderValues
Sets the default rendering values according to the ui so we start in a consistent state. TODO: Move those to constants!
controls.go:374
FunctionCreateGridPoints
(count int, rangeX, rangeY, margin float64)
pointDistribution.go:23
FunctioncreateInterpolationControlBuffer
(geometry geo.ArrayGeometry)
glView.go:405
FunctiondrawImage
(d sc.Delaunay, name string)
glView.go:116
Functioninit
()
glView.go:111
Functionmain
()
controls.go:423
FunctionsetupUI
()
controls.go:277