Versions in this module Expand all Collapse all v3 v3.5.0 Mar 31, 2023 Changes in this version + type IRMF struct + Author string + Copyright string + Date string + Encoding *string + IRMF string + Materials []string + Max []float32 + Min []float32 + Notes string + Options json.RawMessage + Shader string + Title string + Units string + Version string + type Order byte + const MaxToMin + const MinToMax + type Slicer struct + func Init(view bool, umXRes, umYRes, umZRes float32) *Slicer + func (s *Slicer) Close() + func (s *Slicer) IRMF() *IRMF + func (s *Slicer) MBB() (min, max [3]float32) + func (s *Slicer) MaterialName(n int) string + func (s *Slicer) NewModel(shaderSrc []byte) error + func (s *Slicer) NumMaterials() int + func (s *Slicer) NumXSlices() int + func (s *Slicer) NumYSlices() int + func (s *Slicer) NumZSlices() int + func (s *Slicer) PrepareRenderX() error + func (s *Slicer) PrepareRenderY() error + func (s *Slicer) PrepareRenderZ() error + func (s *Slicer) RenderXSlices(materialNum int, sp XSliceProcessor, order Order) error + func (s *Slicer) RenderYSlices(materialNum int, sp YSliceProcessor, order Order) error + func (s *Slicer) RenderZSlices(materialNum int, sp ZSliceProcessor, order Order) error + type XSliceProcessor interface + ProcessXSlice func(sliceNum int, x, voxelRadius float32, img image.Image) error + type YSliceProcessor interface + ProcessYSlice func(sliceNum int, y, voxelRadius float32, img image.Image) error + type ZSliceProcessor interface + ProcessZSlice func(sliceNum int, z, voxelRadius float32, img image.Image) error Other modules containing this package github.com/gmlewis/irmf-slicer