Changelog for SDK v.0.12.0#
This release includes various new features across the SDK and fixes of known and reported issues.
Below is the list of the changes in SAMSON SDK per library and per class.
Inspector#
Added the possibility to expose SBColor
and SBColorPalette
types in the inspector using SB_ATTRIBUTE_READ_ONLY
and SB_ATTRIBUTE_READ_WRITE
.
Facade library group#
SAMSON#
New functions:
SAMSON::minimize
SAMSON::getColorPaletteFromUser
SAMSON::getCurrentSelectionFilter
,SAMSON::setCurrentSelectionFilter
Functions with updated signatures: SAMSON::displayTexturedTriangles
, SAMSON::displayTexturedTrianglesSelection
, SAMSON::displayTriangles
, SAMSON::displayTrianglesSelection
. Now this functions input also includes a scale, a SBSpatialTransform
, and other additional parameters.
DataModel library group#
SBDDataGraph library#
A major change: for generalization, the node's name attribute has been moved to SBNode
from its child classes that had this attribute. This change affects many child classes across the SDK, e.g.: SBNodeGroup
, SBDController
, SBCamera
, SBFolder
, SBLabel
, SBMModel
, SBSSimulator
, SBStructuralGroup
, SBPath
, etc.
SBNode#
New functions:
A new node type: SBNode::Mesh
.
SBDQuantity library#
New functionality: fromLinearInterpolation.
SBDType library#
SBDTypeColorConversion#
New functions: SBDTypeColorConversion::toHSV
, SBDTypeColorConversion::HSVfromSRGB
, SBDTypeColorConversion::fromHSV
, SBDTypeColorConversion::SRGBfromHSV
.
SBDTypeConstant#
New functionality: SBDTypeConstant
.
SBDTypeSpatialTransform#
Now the SBDTypeSpatialTransform::computeOpenGLMatrix
function is available for single-precision floating-point numbers for faster rendering.
SBDColor library#
New color palettes in SBDColorPaletteDefaultPalette
.
A new function in SBDColorSchemePer* classes: getDefaultColorPalette.
Modeling library group#
Structural Model library#
SBResidue#
New functionality:
SBResidue::addHydrogensByResidueType
SBResidue::getAminoAcidOneLetterCode
SBResidue::getResidueTypeFromString
- Backbone dihedral angles: SBResidue::computePhiAngle, SBResidue::computePsiAngle
- Side chain dihedral angles:
SBResidue::orientAminoAcidSideChain
,SBResidue::hasAminoAcidChi1Angle
,SBResidue::hasAminoAcidChi2Angle
,SBResidue::hasAminoAcidChi3Angle
,SBResidue::hasAminoAcidChi4Angle
,SBResidue::hasAminoAcidChi5Angle
,SBResidue::computeAminoAcidChi1Angle
,SBResidue::computeAminoAcidChi2Angle
,SBResidue::computeAminoAcidChi3Angle
,SBResidue::computeAminoAcidChi4Angle
,SBResidue::computeAminoAcidChi5Angle
SBSideChain#
New functionality:
SBSideChain::getBetaCarbon
,SBSideChain::getGammaAtom
,SBSideChain::getDeltaAtom
,SBSideChain::getEpsilonAtom
,SBSideChain::getZetaAtom
,SBSideChain::getEtaAtom
SBAtom#
New functionality: SBAtom::isDonorborneHydrogen
SBStructuralParticle#
New functionality: SBStructuralParticle::setPositionOnTetrahedron
Visual Model library#
New classes:
SBMVisualModelSurface
- a base class that describes a visual model surface.SBMVisualModelMesh
- this class describes a mesh, i.e. a group of surfaces.
Note that this functionality is in the beta stage and might have issues on some systems.
New event types in SBMVisualModelEvent
: SBMVisualModelEvent::ScaleChanged
, SBMVisualModelEvent::TransformChanged
, SBMVisualModelEvent::OpacityChanged
, SBMVisualModelEvent::DiffuseColorSaturationChanged.