Skip to content

Project Layout

alexjbinnie edited this page Feb 7, 2018 · 2 revisions

There are three 'levels' to consider in this project

  • Definitions: Represents a molecule in terms of its definition (i.e. water, methane). Stored in the Data/ folder. Classes: MoleculeDefinition, AtomDefinition, BondDefinition, VibrationalModeDefinition

  • Instances: Represents a certain molecule. You take a MoleculeDefinition and create an 'instance' of this molecule by calling AppManager.CreateMolecule. Classes in this layer should not refer to Unity objects explicitly, this part is designed to be portable and independent of our choice of system.. Classes: Molecule, Atom, Bond, VibrationalMode

  • Unity: Components that represent the molecule in Unity itself. Created using AppManager.CreateMoleculeGraphic. Classes: MoleculeGraphic, AtomGraphic, BondGraphic, VibrationalModeGraphic

Clone this wiki locally