MolMotionEditor

class MolMotionEditor(molInfo: ConformationEditor.MolInfo, desc: MolMotion.Description?, onClose: () -> Unit)

Types

Link copied to clipboard
object Companion

Since we're editing a thing that might not exist yet (ie desc might be null), we can't use that thing to establish identity for the GUI window. So just pick an unique number to use as the identity instead. We probably won't need to edit more than ~2 billion motions in single session, right?

Functions

Link copied to clipboard
fun gui(imgui: Commands, slide: Slide.Locked, slidewin: SlideCommands)
Link copied to clipboard
fun resetMotion(view: MoleculeRenderView, desc: MolMotion.Description)

Properties

Link copied to clipboard
var desc: MolMotion.Description?
Link copied to clipboard
val molInfo: ConformationEditor.MolInfo
Link copied to clipboard
val onClose: () -> Unit