Documentation ¶
Index ¶
- func AddToByteBuffer(value int)
- func DrawByteGraph(img *image.RGBA) *image.RGBA
- func LoadRenderingApp(app *RenderingApp, sessionId string, h int, w int, write chan []byte, ...)
- type Command
- type ImageSettings
- type Message
- type Quality
- type RenderingApp
- func (app *RenderingApp) Close(cmd Command)
- func (app *RenderingApp) Debugmode(cmd Command)
- func (app *RenderingApp) Encoder(cmd Command)
- func (app *RenderingApp) Focus(cmd Command)
- func (app *RenderingApp) Fov(cmd Command)
- func (app *RenderingApp) Hide(cmd Command)
- func (app *RenderingApp) Imagesettings(cmd Command)
- func (app *RenderingApp) Invert(cmd Command)
- func (app *RenderingApp) Keydown(cmd Command)
- func (app *RenderingApp) Keyup(cmd Command)
- func (app *RenderingApp) Mousedown(cmd Command)
- func (app *RenderingApp) Mouseup(cmd Command)
- func (app *RenderingApp) Navigate(cmd Command)
- func (app *RenderingApp) Quality(cmd Command)
- func (app *RenderingApp) Unhide(cmd Command)
- func (app *RenderingApp) Userdata(cmd Command)
- func (app *RenderingApp) View(cmd Command)
- func (app *RenderingApp) Zoom(cmd Command)
- func (app *RenderingApp) Zoomextent(cmd Command)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddToByteBuffer ¶
func AddToByteBuffer(value int)
AddToByteBuffer adding sent bytes to the history stack
func DrawByteGraph ¶
DrawByteGraph draws the histroy of sent bytes onto the image
func LoadRenderingApp ¶
func LoadRenderingApp(app *RenderingApp, sessionId string, h int, w int, write chan []byte, read chan []byte, modelpath string)
LoadRenderingApp loads the rendering application
Types ¶
type ImageSettings ¶
type ImageSettings struct {
// contains filtered or unexported fields
}
ImageSettings for rendering image
type Quality ¶
type Quality struct {
// contains filtered or unexported fields
}
Quality Image quality settings for still and navigating situations
type RenderingApp ¶
type RenderingApp struct { application.Application Width int Height int Debug bool // contains filtered or unexported fields }
RenderingApp application settings
func (*RenderingApp) Debugmode ¶
func (app *RenderingApp) Debugmode(cmd Command)
Debugmode toggles bytegraph
func (*RenderingApp) Imagesettings ¶
func (app *RenderingApp) Imagesettings(cmd Command)
Imagesettings applies rendering settings
func (*RenderingApp) Mousedown ¶
func (app *RenderingApp) Mousedown(cmd Command)
Mousedown triggers a mousedown event
func (*RenderingApp) Navigate ¶
func (app *RenderingApp) Navigate(cmd Command)
Navigate orbit navigation
func (*RenderingApp) Unhide ¶
func (app *RenderingApp) Unhide(cmd Command)
Unhide all hidden elements
func (*RenderingApp) Userdata ¶
func (app *RenderingApp) Userdata(cmd Command)
Send element userdata to client
func (*RenderingApp) Zoomextent ¶
func (app *RenderingApp) Zoomextent(cmd Command)
Zoomextent entire model
Click to show internal directories.
Click to hide internal directories.