Web Analytics Made Easy - Statcounter
Skip to content

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:

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:

SBSideChain#

New functionality:

SBAtom#

New functionality: SBAtom::isDonorborneHydrogen

SBStructuralParticle#

New functionality: SBStructuralParticle::setPositionOnTetrahedron

Visual Model library#

New classes:

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.