SBColorSchemePerStructuralModelIllustrate#
This class describes an illustrative color scheme based on structural model. The colorization is done in the way that it resembles the “Molecule of the Month” style by David S. Goodsell.
Please refer to samson.SBNodeColorScheme.
See also
SAMSON SDK: SBDColorSchemePerStructuralModelIllustrate
- class samson.SBColorSchemePerStructuralModelIllustrate(*args, **kwargs)#
Bases:
SBColorSchemePerStructuralModelThis class describes an illustrative per structural model color scheme inspired by the “Molecule of the Month” style of the Protein Data Bank.
Overloaded function.
__init__(self: samson.SBColorSchemePerStructuralModelIllustrate) -> None
Constructs a per-structural-model illustrate color scheme.
__init__(self: samson.SBColorSchemePerStructuralModelIllustrate, nodeIndexer: samson.SBNodeIndexer, colorPalette: samson.SBPalette = None) -> None
Construct the color scheme for
nodeIndexerwithcolorPalette.The colorization is based on the range of structural models identified from
nodeIndexer, including parent structural models.- Parameters:
nodeIndexer (samson.SBNodeIndexer) – A indexer of nodes to which the color scheme is applied
colorPalette (samson.SBPalette, default=None) –
- A color palette.
If
None, the default color palette associated with this color scheme is used.