Changelog for SDK 2022 R2 (v.4.0.0)#
This release includes changes in the SDK, various new features, and fixes of known and reported issues.
Below is the list of the changes in SAMSON SDK per library and per class.
Core library group#
Class#
SBProxy#
New descriptors for workspaces introduced in this version of SAMSON: SB_ELEMENT_WORKSPACE.
DataModel library group#
Color library#
A new color palette type, FlexibleDiverging, and a corresponding class SBDColorPaletteFlexibleDivergingHCL, and new default color palettes corresponding to this type (see SBDColorPaletteDefaultPalette).
SBDColorPalette#
New functions: SBDColorPalette::getReverseFlag, SBDColorPalette::setReverseFlag.
Visualization library#
Default visual preset groups were moved in a separate extension. A new function added to access default visual preset groups: SBDVisualPresetGroup::getDefaultVisualPresetGroups
Facade library group#
New functions:
- SAMSON::getCameraControllerFlag
- SAMSON::getGridFlag
- SAMSON::getScaleFlag
- SAMSON::getReplyFromUser
- SAMSON::getLikeFromUser
- SAMSON::isGUIThread
- SAMSON::registerAction
- SAMSON::getIcon
- SAMSON::getPixmap
- SAMSON::getCursor
- SAMSON::registerPixmap
- SAMSON::registerIcon
- SAMSON::registerCursor
GUI library group#
Action library#
SBGAction#
New functions:
- SBGAction::setIconPathname
- SBGAction::setIconPixmap
Resource library#
Added a new library that provides access to common resources like icons, cursors. See SBGResource.
Modeling library group#
Element library#
New functions in SBMElement:
- SBMElement::isAlkaliMetal
- SBMElement::isAlkalineEarthMetal
- SBMElement::isLanthanide
- SBMElement::isActinide
- SBMElement::isTransitionMetal
- SBMElement::isPosttransitionMetal
- SBMElement::isMetalloid
- SBMElement::isNobleGas
- SBMElement::isReactiveNonmetal
- SBMElement::isDiatomicNonmetal
- SBMElement::isPolyatomicNonmetal
- SBMElement::isHalogen
And corresponding functions in SBMElementTable:
- SBMElementTable::isAlkaliMetal
- SBMElementTable::isAlkalineEarthMetal
- SBMElementTable::isLanthanide
- SBMElementTable::isActinide
- SBMElementTable::isTransitionMetal
- SBMElementTable::isPosttransitionMetal
- SBMElementTable::isMetalloid
- SBMElementTable::isNobleGas
- SBMElementTable::isReactiveNonmetal
- SBMElementTable::isDiatomicNonmetal
- SBMElementTable::isPolyatomicNonmetal
- SBMElementTable::isHalogen
SBStructuralModel#
New functions:
- SBStructuralModel::getAltLocations
- SBStructuralModel::findAtom
- SBStructuralModel::createBond
- SBStructuralModel::bondExists
SBAtom#
New functions:
- SBAtom::isAlkaliMetal
- SBAtom::isAlkalineEarthMetal
- SBAtom::isLanthanide
- SBAtom::isActinide
- SBAtom::isTransitionMetal
- SBAtom::isPosttransitionMetal
- SBAtom::isMetalloid
- SBAtom::isNobleGas
- SBAtom::isReactiveNonmetal
- SBAtom::isDiatomicNonmetal
- SBAtom::isPolyatomicNonmetal
- SBAtom::isHalogen
And associated predicates:
- SBAtom::IsAlkaliMetal
- SBAtom::IsAlkalineEarthMetal
- SBAtom::IsLanthanide
- SBAtom::IsActinide
- SBAtom::IsTransitionMetal
- SBAtom::IsPosttransitionMetal
- SBAtom::IsMetalloid
- SBAtom::IsNobleGas
- SBAtom::IsReactiveNonmetal
- SBAtom::IsDiatomicNonmetal
- SBAtom::IsPolyatomicNonmetal
- SBAtom::IsHalogen