Changelog for v.3.0.x#

v.3.0.0#

See the changelog for the SAMSON SDK in the Developer guide.

Core#

Core.Class#

Class

Add new Class types.

ClassProxy

Add new attributes for class proxies:

  • samson.Core.Class.ClassProxy.GUIUUID()

  • samson.Core.Class.ClassProxy.GUIShortcut()

DataModel#

DataModel.Color#

Add a new color schemes:

  • samson.DataModel.Color.ColorSchemeConstantIllustrate

  • samson.DataModel.Color.ColorSchemePerChainIllustrate

DataModel.DataGraph#

Node

New read-only attributes:

  • samson.DataModel.DataGraph.Node.numberOfChains()

  • samson.DataModel.DataGraph.Node.numberOfMolecules()

  • samson.DataModel.DataGraph.Node.numberOfResidues()

  • samson.DataModel.DataGraph.Node.numberOfSegments()

  • samson.DataModel.DataGraph.Node.numberOfStructuralGroups()

  • samson.DataModel.DataGraph.Node.numberOfStructuralModels()

  • samson.DataModel.DataGraph.Node.numberOfAtoms()

  • samson.DataModel.DataGraph.Node.numberOfCarbons()

  • samson.DataModel.DataGraph.Node.numberOfHydrogens()

  • samson.DataModel.DataGraph.Node.numberOfNitrogens()

  • samson.DataModel.DataGraph.Node.numberOfOxygens()

  • samson.DataModel.DataGraph.Node.numberOfSulfurs()

  • samson.DataModel.DataGraph.Node.numberOfOtherAtoms()

  • samson.DataModel.DataGraph.Node.sumOfFormalCharges()

  • samson.DataModel.DataGraph.Node.sumOfPartialCharges()

  • samson.DataModel.DataGraph.Node.molecularWeight()

New functions:

  • samson.DataModel.DataGraph.Node.hasMaterial()

  • samson.DataModel.DataGraph.Node.ownsMaterial()

ColorScheme

New functions:

  • samson.DataModel.DataGraph.ColorScheme.clone()

DataModel.Document#

Label

New attribute:

  • samson.DataModel.Document.Label.fontString()

New functions:

  • samson.DataModel.Document.Label.getViewportOffset()

  • samson.DataModel.Document.Label.setViewportOffset()

DataModel.Type#

Color

New functions:

  • samson.DataModel.Type.Color.redInt(), samson.DataModel.Type.Color.greenInt(), samson.DataModel.Type.Color.blueInt(), samson.DataModel.Type.Color.alphaInt()

ColorConversion

subsubsection Changelog_3_0_0_sbdtypecolorconversion SBColorConversion

New functions:

  • samson.DataModel.Type.ColorConversion.SRGBfromCIELab(), * samson.DataModel.Type.ColorConversion.CIELabfromSRGB()

  • samson.DataModel.Type.ColorConversion.darkenSRGBColor(), * samson.DataModel.Type.ColorConversion.lightenSRGBColor()

Facade#

Facade.SAMSON#

New functions:

  • samson.Facade.SAMSON.getIntegerIntervalFromUser()

  • samson.Facade.SAMSON.getDoubleIntervalFromUser()

  • samson.Facade.SAMSON.getItemFromUser()

  • samson.Facade.SAMSON.getSaveFileNameFromUser()

Modeling#

Modeling.StructuralModel#

Atom

New functions:

  • samson.Modeling.StructuralModel.Atom.isInAminoAcid(), samson.Modeling.StructuralModel.Atom.SBAtom::isInNucleicAcid()

  • samson.Modeling.StructuralModel.Atom.isInSideChain(), samson.Modeling.StructuralModel.Atom.SBAtom::getSideChain()

StructuralModel

New functions:

  • samson.Modeling.StructuralModel.StructuralModel.populateChainIDs()

  • samson.Modeling.StructuralModel.StructuralModel.getShapeParameter()

  • samson.Modeling.StructuralModel.StructuralModel.getInertiaTensor()

  • samson.Modeling.StructuralModel.StructuralModel.getPrincipalAxes()

  • samson.Modeling.StructuralModel.StructuralModel.getSpatialTransform()

HydrogenBond

Renamed and new functions:

  • samson.Modeling.StructuralModel.HydrogenBond.getDonorAcceptorDistance()

  • samson.Modeling.StructuralModel.HydrogenBond.getHydrogenAcceptorDistance()

  • samson.Modeling.StructuralModel.HydrogenBond.getDonorHydrogenDistance()