BallAndStick

class BallAndStick(mol: Molecule, selector: MoleculeSelector) : MoleculeRenderView

views a molecule using the ball and stick convention

Constructors

Link copied to clipboard
fun BallAndStick(mol: Molecule, selector: MoleculeSelector = MoleculeSelectors.all)

Types

Link copied to clipboard
data class Bond(i1: Int, i2: Int)
Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun calcBoundingBox(): AABBf
Link copied to clipboard
open override fun getIndexed(index: Int): Atom?
Link copied to clipboard
open override fun moleculeChanged()

Call to update the render view after making changes to the molecule. If the original molecule was updated, but the molecule stack has overrides, then the changes will not be visible. If the top molecule on the stack was updated, then the changes will be visible.

Properties

Link copied to clipboard
open override var currentMol: Molecule

The currently-visible molecule, can be overridden by the molecule stack

Link copied to clipboard
open override val cylinders: CylinderRenderable
Link copied to clipboard
open override var isVisible: Boolean
Link copied to clipboard
open override val molStack: MoleculeRenderStack
Link copied to clipboard
open override val renderEffects: MoleculeRenderEffects
Link copied to clipboard
open override var selector: MoleculeSelector
Link copied to clipboard
open override val spheres: SphereRenderable