Changelog for v.2.0.x#

v.2.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.shortcut()

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

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

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

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

Core.Container#

Exposed a new class describing the user plan: UserPlan (samson.Core.Container.UserPlan).

DataModel#

DataModel.Color#

Add to the per-attribute color schemes getter and setter functions for color palettes: getColorPalette, setColorPalette.

ColorPalette

Add new functions:

  • samson.DataModel.Color.ColorPalette.getColor() - returns Color (samson.DataModel.Type.Color)

  • samson.DataModel.Color.ColorPalette.getValueAlongLinearTrajectory()

  • samson.DataModel.Color.ColorPalette.getValueAlongTriangularTrajectory()

DataModel.DataGraph#

Exposed a new class: Selector (samson.DataModel.DataGraph.Selector).

Node

New functions and function variants:

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

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

NodeIndexer

Add move constructor.

DataModel.Document#

Exposed new classes: Animation (samson.DataModel.Document.Animation), Presentation (samson.DataModel.Document.Presentation).

Document

Add new functions:

  • samson.DataModel.Document.Document.clearHighlighting()

  • samson.DataModel.Document.Document.getActivePresentation(), samson.DataModel.Document.Document.setActivePresentation()

Folder

Add new functions:

  • samson.DataModel.Document.Folder.getAnimationList()

  • samson.DataModel.Document.Folder.getPresentationList()

  • samson.DataModel.Document.Folder.getNextFolder(), samson.DataModel.Document.Folder.getPreviousFolder()

Facade#

Facade.SAMSON#

New functions:

  • samson.Facade.SAMSON.getActiveDocumentFilter(), samson.Facade.SAMSON.setActiveDocumentFilter()

  • samson.Facade.SAMSON.getMultiSampleFactor(), samson.Facade.SAMSON.getMaximumTextureSize(), samson.Facade.SAMSON.getMaximum3DTextureSize(), samson.Facade.SAMSON.getMaximumRectangleTextureSize()

  • samson.Facade.SAMSON.informUser(), samson.Facade.SAMSON.askUser()

  • samson.Facade.SAMSON.makeAnimation(), samson.Facade.SAMSON.makeSelector()

Modeling#

Modeling.StructuralModel#

Exposed new classes: PseudoBond (samson.Modeling.StructuralModel.PseudoBond), HydrogenBond (samson.Modeling.StructuralModel.HydrogenBond), HydrogenBondGroup (samson.Modeling.StructuralModel.HydrogenBondGroup)

Atom

New functions:

  • samson.Modeling.StructuralModel.Atom.getNumberOfBondedAtoms()

  • samson.Modeling.StructuralModel.Atom.getNumberOfBondedHeavyAtoms()

  • samson.Modeling.StructuralModel.Atom.getNumberOfBondedAtoms()

  • samson.Modeling.StructuralModel.Atom.getNumberOfBondedHeavyAtoms()

  • samson.Modeling.StructuralModel.Atom.getNumberOfBondedCarbons()

  • samson.Modeling.StructuralModel.Atom.getNumberOfBondedHydrogens()

  • samson.Modeling.StructuralModel.Atom.getNumberOfBondedOxygens()

  • samson.Modeling.StructuralModel.Atom.getNumberOfBondedNitrogens()

  • samson.Modeling.StructuralModel.Atom.getNumberOfBondedSulfurs()

  • samson.Modeling.StructuralModel.Atom.isPlanar()

Backbone

New functions:

  • samson.Modeling.StructuralModel.Backbone.getCarbon1p()

  • samson.Modeling.StructuralModel.Backbone.getCarbon3p()

  • samson.Modeling.StructuralModel.Backbone.getCarbon4p()

  • samson.Modeling.StructuralModel.Backbone.getCarbon5p()

  • samson.Modeling.StructuralModel.Backbone.getOxygen3p()

  • samson.Modeling.StructuralModel.Backbone.getOxygen4p()

  • samson.Modeling.StructuralModel.Backbone.getOxygen5p()

  • samson.Modeling.StructuralModel.Backbone.getPhosphorus()

Grid

New functions:

  • samson.Modeling.StructuralModel.Grid.areNeighbors()

  • samson.Modeling.StructuralModel.Grid.getNeighbors()

Molecule

New functions:

  • samson.Modeling.StructuralModel.Molecule.isWater()

  • samson.Modeling.StructuralModel.Molecule.getMolecularWeight()

Residue

Renamed functions:

  • samson.Modeling.StructuralModel.Residue.computeAminoAcidPhiAngle(), samson.Modeling.StructuralModel.Residue.computeAminoAcidPsiAngle()

New functions:

  • samson.Modeling.StructuralModel.Residue.computeNucleicAcidAlphaAngle()

  • samson.Modeling.StructuralModel.Residue.computeNucleicAcidBetaAngle()

  • samson.Modeling.StructuralModel.Residue.computeNucleicAcidGammaAngle()

  • samson.Modeling.StructuralModel.Residue.computeNucleicAcidDeltaAngle()

  • samson.Modeling.StructuralModel.Residue.computeNucleicAcidEpsilonAngle()

  • samson.Modeling.StructuralModel.Residue.computeNucleicAcidZetaAngle()

StructuralModel

New functions:

  • samson.Modeling.StructuralModel.StructuralModel.getWater()

  • samson.Modeling.StructuralModel.StructuralModel.getMolecularWeight()

  • samson.Modeling.StructuralModel.StructuralModel.getCentroid()

  • samson.Modeling.StructuralModel.StructuralModel.getCenterOfMass()

  • samson.Modeling.StructuralModel.StructuralModel.getAsphericity()

  • samson.Modeling.StructuralModel.StructuralModel.getRadiusOfGyration()

  • samson.Modeling.StructuralModel.StructuralModel.getSolventAccessibleSurfaceArea()

  • samson.Modeling.StructuralModel.StructuralModel.isPlanar()

Simulation#

Simulation.NeighborSearch#

ParticleSystem

New functions:

  • samson.Simulation.NeighborSearch.ParticleSystem.areNeighbors()