Documentation
¶
Index ¶
Constants ¶
View Source
const (
FLAG_SET_PIXELS = 0x80
)
Variables ¶
View Source
var ( PixelSetColor = color.RGBA{255, 255, 255, 255} PixelUnsetColor = color.RGBA{0, 0, 0, 255} )
Functions ¶
func DebugPrint ¶
func DebugPrint(rdr io.ReadSeeker) error
Prototyping/ debug function. Dont even try to use.
func U16ToU8Slice ¶
Types ¶
type PhotonFile ¶
type PhotonFile struct {
PlateX float32
PlateY float32
PlateZ float32
LayerThickness float32
NormalExposureTime float32
BottomExposureTime float32
OffTime float32
BottomLayers uint32
ScreenHeight uint32
ScreenWidth uint32
LightCuringType uint32 // ProjectionType
PreviewImage *image.RGBA
ThumbnailImage *image.RGBA
Layers []Layer
}
func Decode ¶
func Decode(rdr io.ReadSeeker) (*PhotonFile, error)
Click to show internal directories.
Click to hide internal directories.