Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MauriceGit/Voronoi_Image_Manipulation
/ functions
Functions
63 in github.com/MauriceGit/Voronoi_Image_Manipulation
⨍
Functions
63
◇
Types & classes
0
↓ 15 callers
Function
ReadyForRender
(r bool)
glView.go:727
↓ 5 callers
Function
ReadyForRebuild
(r bool)
glView.go:724
↓ 4 callers
Function
SetPointDistributionMethod
(method int)
glView.go:631
↓ 4 callers
Function
calcExpectedRadius
(count int, rangeX, rangeY, margin float64)
pointDistribution.go:15
↓ 3 callers
Function
defineMatrices
Defines the Model-View-Projection matrices for the shader.
glView.go:493
↓ 3 callers
Function
defineModelMatrix
(shader uint32, pos, scale mgl32.Vec3)
glView.go:483
↓ 2 callers
Function
CreateRandomPoints
(count int, rangeX, rangeY, margin float64, seed int64)
pointDistribution.go:65
↓ 2 callers
Function
SetCHColor
(r, g, b, a float64)
glView.go:716
↓ 2 callers
Function
SetDelaunayLineColor
(r, g, b, a float64)
glView.go:710
↓ 2 callers
Function
SetPointColor
(r, g, b, a float64)
glView.go:713
↓ 2 callers
Function
SetRenderConvexHull
(show bool)
glView.go:660
↓ 2 callers
Function
SetRenderLines
(show bool)
glView.go:654
↓ 2 callers
Function
SetRenderPoints
(show bool)
glView.go:657
↓ 2 callers
Function
SetRenderTriangles
(show bool)
glView.go:648
↓ 2 callers
Function
SetRenderVoronoiCells
(show bool)
glView.go:645
↓ 2 callers
Function
SetRenderVoronoiEdges
(show bool)
glView.go:651
↓ 2 callers
Function
SetUseExternalColor
(useExternalColor bool)
glView.go:663
↓ 2 callers
Function
SetVoronoiLineColor
(r, g, b, a float64)
glView.go:707
↓ 2 callers
Function
createDelaunayEdgesGLBuffer
(d sc.Delaunay, rangeX, rangeY float64)
glView.go:349
↓ 2 callers
Function
getGridPos
(p sc.Vector, f float64)
pointDistribution.go:84
↓ 2 callers
Function
prepareGLForNewTexture
(imagePath string)
glView.go:578
↓ 1 callers
Function
CloseWindow
()
glView.go:720
↓ 1 callers
Function
CreateFastPoissonDiscPoints
(count int, rangeX, rangeY, margin float64, k int, seed int64)
pointDistribution.go:103
↓ 1 callers
Function
CreateShiftedGridPoints
(count int, rangeX, rangeY, margin float64)
pointDistribution.go:37
↓ 1 callers
Function
DecreasePointCount
()
glView.go:639
↓ 1 callers
Function
IncreasePointCount
()
glView.go:635
↓ 1 callers
Function
InitializeRender
(communication chan func(), closingChannel chan int, pointCount int, defaultImage string)
glView.go:819
↓ 1 callers
Function
SaveImage
(path string)
glView.go:673
↓ 1 callers
Function
SetNewImage
(path string)
glView.go:670
↓ 1 callers
Function
createCHColorButton
(c chan func())
controls.go:263
↓ 1 callers
Function
createConvexHullGLBuffer
(d sc.Delaunay, rangeX, rangeY float64)
glView.go:381
↓ 1 callers
Function
createDelaunay
(count int, rangeX, rangeY, margin float64)
glView.go:229
↓ 1 callers
Function
createDelaunayColorButton
(c chan func())
controls.go:235
↓ 1 callers
Function
createDelaunayGLBuffer
(d sc.Delaunay, rangeX, rangeY float64)
glView.go:261
↓ 1 callers
Function
createDelaunayPointsGLBuffer
(d sc.Delaunay, rangeX, rangeY float64)
glView.go:365
↓ 1 callers
Function
createFaceRenderingButtons
(c chan func())
controls.go:139
↓ 1 callers
Function
createFileOpenButton
(mainwin *ui.Window, c chan func())
controls.go:28
↓ 1 callers
Function
createFileSaveButton
(mainwin *ui.Window, c chan func())
controls.go:46
↓ 1 callers
Function
createGUI
(wg *sync.WaitGroup, c chan func(), pointCount int, defaultImage string)
controls.go:400
↓ 1 callers
Function
createGeneralCheckboxes
(c chan func())
controls.go:165
↓ 1 callers
Function
createImageLoadSaveOperations
(mainwin *ui.Window, c chan func())
controls.go:64
↓ 1 callers
Function
createPointColorButton
(c chan func())
controls.go:249
↓ 1 callers
Function
createPointCountButtons
(c chan func())
controls.go:77
↓ 1 callers
Function
createPointDistributionButtons
(c chan func())
controls.go:105
↓ 1 callers
Function
createVoronoiColorButton
(c chan func())
controls.go:221
↓ 1 callers
Function
createVoronoiEdgesGLBuffer
(v sc.Voronoi, rangeX, rangeY float64)
glView.go:401
↓ 1 callers
Function
createVoronoiGLBuffer
(vo sc.Voronoi, rangeX, rangeY float64)
glView.go:283
↓ 1 callers
Function
fits
(grid *[]int, pointList []sc.Vector, p sc.Vector, r float64, gx, gy, width, height int)
pointDistribution.go:88
↓ 1 callers
Function
freeGLBuffers
()
glView.go:414
↓ 1 callers
Function
initGraphicContext
Set OpenGL version, profile and compatibility
glView.go:797
↓ 1 callers
Function
mainLoop
Mainloop for communication, fps and keyboard input. Re-render will be triggered by the controls!
glView.go:761
↓ 1 callers
Function
pollCommunicationChannel
()
glView.go:749
↓ 1 callers
Function
randVec
(base sc.Vector, minR, maxR float64, rd *rand.Rand)
pointDistribution.go:77
↓ 1 callers
Function
recalculateDelaunayTriangulation
*func redefineProjectionMatrices() { gl.UseProgram(g_delaunayTrianglesShader) defineMatrices(g_delaunayTrianglesShader) defineModelMatrix(
glView.go:449
↓ 1 callers
Function
registerCallBacks
Register all needed callbacks
glView.go:732
↓ 1 callers
Function
renderDelaunay
()
glView.go:503
↓ 1 callers
Function
setDefaultRenderValues
Sets the default rendering values according to the ui so we start in a consistent state. TODO: Move those to constants!
controls.go:374
Function
CreateGridPoints
(count int, rangeX, rangeY, margin float64)
pointDistribution.go:23
Function
createInterpolationControlBuffer
(geometry geo.ArrayGeometry)
glView.go:405
Function
drawImage
(d sc.Delaunay, name string)
glView.go:116
Function
init
()
glView.go:111
Function
main
()
controls.go:423
Function
setupUI
()
controls.go:277