DynamicalModelΒΆ

This library defines dynamical models.

SAMSON API: The SBMDynamicalModel Library

class samson.Modeling.DynamicalModel.ArticulatedBodyΒΆ

Bases: samson.Modeling.DynamicalModel.Node

This class describes an articulated body in an articulated-body system.

SAMSON API: SBMDynamicalModelNodeArticulatedBody

class NodeType(self: samson.DataModel.DataGraph.Node.NodeType, arg0: int) → NoneΒΆ

Bases: pybind11_builtins.pybind11_object

__eq__(*args, **kwargs)ΒΆ

Overloaded function.

  1. __eq__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: samson.DataModel.DataGraph.Node.NodeType) -> bool
  2. __eq__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: int) -> bool
__ne__(*args, **kwargs)ΒΆ

Overloaded function.

  1. __ne__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: samson.DataModel.DataGraph.Node.NodeType) -> bool
  2. __ne__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: int) -> bool
ArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
ArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
Atom = NodeType.AtomΒΆ
Backbone = NodeType.StructuralModelNodeBackboneΒΆ
Bond = NodeType.StructuralModelNodeBondΒΆ
Camera = NodeType.DocumentCameraΒΆ
Chain = NodeType.StructuralModelNodeChainΒΆ
Conformation = NodeType.StructuralModelConformationΒΆ
Controller = NodeType.ControllerΒΆ
ControllerNode = NodeType.ControllerNodeΒΆ
DataGraphNodeGroup = NodeType.DataGraphNodeGroupΒΆ
Document = NodeType.DocumentΒΆ
DocumentCamera = NodeType.DocumentCameraΒΆ
DocumentLabel = NodeType.DocumentLabelΒΆ
DocumentLayer = NodeType.DocumentLayerΒΆ
DocumentManager = NodeType.DocumentManagerΒΆ
DynamicalGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModel = NodeType.DynamicalModelΒΆ
DynamicalModelArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
DynamicalModelNode = NodeType.DynamicalModelNodeΒΆ
DynamicalModelNodeArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
DynamicalModelNodeGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModelNodeParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalModelNodeRigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
DynamicalModelNodeRoot = NodeType.DynamicalModelNodeRootΒΆ
DynamicalModelParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
DynamicalModelRigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
DynamicalNode = NodeType.DynamicalModelNodeΒΆ
DynamicalParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalRoot = NodeType.DynamicalModelNodeRootΒΆ
InteractionModel = NodeType.InteractionModelΒΆ
InteractionModelArticulatedBodySystem = NodeType.InteractionModelArticulatedBodySystemΒΆ
InteractionModelParticleSystem = NodeType.InteractionModelParticleSystemΒΆ
InteractionModelRigidBodySystem = NodeType.InteractionModelRigidBodySystemΒΆ
Label = NodeType.DocumentLabelΒΆ
Layer = NodeType.DocumentLayerΒΆ
Molecule = NodeType.StructuralModelNodeMoleculeΒΆ
NodeGroup = NodeType.DataGraphNodeGroupΒΆ
ParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
Path = NodeType.StructuralModelPathΒΆ
PropertyModel = NodeType.PropertyModelΒΆ
PropertyModelFunction = NodeType.PropertyModelFunctionΒΆ
Protein = NodeType.StructuralModelNodeProteinΒΆ
PseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
Residue = NodeType.StructuralModelNodeResidueΒΆ
RigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
RigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
Root = NodeType.StructuralModelNodeRootΒΆ
Segment = NodeType.StructuralModelNodeSegmentΒΆ
SideChain = NodeType.StructuralModelNodeSideChainΒΆ
Simulator = NodeType.SimulatorΒΆ
SimulatorArticulatedBodySystem = NodeType.SimulatorArticulatedBodySystemΒΆ
SimulatorParticleSystem = NodeType.SimulatorParticleSystemΒΆ
SimulatorRigidBodySystem = NodeType.SimulatorRigidBodySystemΒΆ
StateUpdater = NodeType.StateUpdaterΒΆ
StateUpdaterArticulatedBodySystem = NodeType.StateUpdaterArticulatedBodySystemΒΆ
StateUpdaterParticleSystem = NodeType.StateUpdaterParticleSystemΒΆ
StateUpdaterRigidBodySystem = NodeType.StateUpdaterRigidBodySystemΒΆ
StructuralGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModel = NodeType.StructuralModelΒΆ
StructuralModelConformation = NodeType.StructuralModelConformationΒΆ
StructuralModelNode = NodeType.StructuralModelNodeΒΆ
StructuralModelNodeAtom = NodeType.AtomΒΆ
StructuralModelNodeBackbone = NodeType.StructuralModelNodeBackboneΒΆ
StructuralModelNodeBond = NodeType.StructuralModelNodeBondΒΆ
StructuralModelNodeChain = NodeType.StructuralModelNodeChainΒΆ
StructuralModelNodeGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModelNodeMolecule = NodeType.StructuralModelNodeMoleculeΒΆ
StructuralModelNodeParticle = NodeType.StructuralModelNodeParticleΒΆ
StructuralModelNodeProtein = NodeType.StructuralModelNodeProteinΒΆ
StructuralModelNodePseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
StructuralModelNodeResidue = NodeType.StructuralModelNodeResidueΒΆ
StructuralModelNodeRoot = NodeType.StructuralModelNodeRootΒΆ
StructuralModelNodeSegment = NodeType.StructuralModelNodeSegmentΒΆ
StructuralModelNodeSideChain = NodeType.StructuralModelNodeSideChainΒΆ
StructuralModelPath = NodeType.StructuralModelPathΒΆ
StructuralParticle = NodeType.StructuralModelNodeParticleΒΆ
Undefined = NodeType.UndefinedΒΆ
VisualModel = NodeType.VisualModelΒΆ
__ge__ΒΆ

Return self>=value.

__gt__ΒΆ

Return self>value.

__le__ΒΆ

Return self<=value.

__lt__ΒΆ

Return self<value.

addChild(self: samson.Modeling.DynamicalModel.Node, node: samson.Modeling.DynamicalModel.Node, nextNode: samson.Modeling.DynamicalModel.Node=0) → boolΒΆ

Adds a child to the node

addMaterial(self: samson.DataModel.DataGraph.Node, material: SBDDataGraphNodeMaterial) → boolΒΆ

Adds material to the node

castToInteractionModelParticleSystem(self: samson.DataModel.DataGraph.Node) → SBMInteractionModelParticleSystemΒΆ

Casts (if possible) from SBDDataGraphNode to SBMInteractionModelParticleSystem

castToLabel(self: samson.DataModel.DataGraph.Node) → SBDDocumentLabelΒΆ

Casts (if possible) from SBDDataGraphNode to SBDDocumentLabel

castToVisualModel(self: samson.DataModel.DataGraph.Node) → SBMVisualModelΒΆ

Casts (if possible) from SBDDataGraphNode to SBMVisualModel

clone(self: samson.Modeling.DynamicalModel.Node) → samson.Modeling.DynamicalModel.NodeΒΆ

Returns a copy of the node and its descendants

countNodes(self: samson.DataModel.DataGraph.Node, selectionString: str='*', visitString: str='*', includeDependencies: bool=False) → intΒΆ
Count nodes into nodeIndexer, based on a selectionPredicate and a visitPredicate, with our without dependencies).
For selectionString and visitString use Node Specification Language (SAMSON API: Node Specification Language
create(self: samson.DataModel.DataGraph.Node) → NoneΒΆ

Creates the node

erase(self: samson.DataModel.DataGraph.Node) → NoneΒΆ

Erases the node

getChildren(self: samson.Modeling.DynamicalModel.Node) → SBCReferencePointerList<SBMDynamicalModelNode, SBCReferenceToTarget>ΒΆ

Returns children of the node

getFlags(self: samson.DataModel.DataGraph.Node) → intΒΆ

Returns the flags

getInheritedFlags(self: samson.DataModel.DataGraph.Node) → intΒΆ

Returns the inherited flags

getMaterial(self: samson.DataModel.DataGraph.Node) → SBDDataGraphNodeMaterialΒΆ

Returns the material of the node

getMaterialOwner(self: samson.DataModel.DataGraph.Node) → samson.DataModel.DataGraph.NodeΒΆ

Returns the node whose material is inherited

getMemoryFootprint(self: samson.Core.Reference.SBCReferenceTarget) → intΒΆ

Returns the memory footprint

getNextDynamicalNode(self: samson.Modeling.DynamicalModel.Node) → samson.Modeling.DynamicalModel.NodeΒΆ
getNode(self: int) → samson.DataModel.DataGraph.NodeΒΆ

Returns the unique node corresponding to the node index nodeIndex

getNodes(self: samson.Modeling.DynamicalModel.Node, selectionString: str='*', visitString: str='*', includeDependencies: bool=False) → samson.DataModel.DataGraph.NodeIndexerΒΆ
Returns nodes (in a node indexer), based on a selectionString and a visitString, with our without dependencies).
For selectionString and visitString use Node Specification Language (SAMSON API: Node Specification Language
getParent(self: samson.Modeling.DynamicalModel.Node) → samson.DataModel.DataGraph.NodeΒΆ
getPreviousDynamicalNode(self: samson.Modeling.DynamicalModel.Node) → samson.Modeling.DynamicalModel.NodeΒΆ
getRoot(self: samson.DataModel.DataGraph.Node) → samson.DataModel.DataGraph.NodeΒΆ

Returns the root of the hierarchy the node belongs to

hasOneOf(self: samson.DataModel.DataGraph.Node, nodeIndexer: SBDDataGraphNodeIndexer) → boolΒΆ

Returns true if and only if this node is one of the nodes of the nodeIndexer, or is the ancestor of one of them

isIn(*args, **kwargs)ΒΆ

Overloaded function.

  1. isIn(self: samson.DataModel.DataGraph.Node, node: samson.DataModel.DataGraph.Node) -> bool

Returns true if and only if this node is node, or descends from it

  1. isIn(self: samson.DataModel.DataGraph.Node, nodeIndexer: SBDDataGraphNodeIndexer) -> bool

Returns true if and only if this node is one of the nodes of the nodeIndexer, or descends from one of them

isOneOf(self: samson.DataModel.DataGraph.Node, nodeIndexer: SBDDataGraphNodeIndexer) → boolΒΆ

Returns true if and only if this node is one of the nodes of the nodeIndexer

removeChild(self: samson.Modeling.DynamicalModel.Node, node: samson.Modeling.DynamicalModel.Node) → boolΒΆ

Removes a child from the node

removeMaterial(self: samson.DataModel.DataGraph.Node) → boolΒΆ

Removes material from the node

setColor(self: samson.DataModel.DataGraph.Node, color: SBDColor, applyToChildren: bool=False) → NoneΒΆ

Sets the color for the node (removes an existing material from the node and adds a given material based on a given color)

Args:

color (Color): material to set

applyToChildren (boolean): if set to True goes through child nodes (default value: False)

setMaterial(self: samson.DataModel.DataGraph.Node, material: SBDDataGraphNodeMaterial, applyToChildren: bool=False) → NoneΒΆ

Sets the material for the node (removes an existing material from the node and adds a given material)

Args:

material (Material): material to set

applyToChildren (boolean): if set to True goes through child nodes (default value: False)

sprint(self: samson.Modeling.DynamicalModel.ArticulatedBody, offset: int=0) → NoneΒΆ

Prints some debugging information

ArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
ArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
Atom = NodeType.AtomΒΆ
Backbone = NodeType.StructuralModelNodeBackboneΒΆ
Bond = NodeType.StructuralModelNodeBondΒΆ
Camera = NodeType.DocumentCameraΒΆ
Chain = NodeType.StructuralModelNodeChainΒΆ
Conformation = NodeType.StructuralModelConformationΒΆ
Controller = NodeType.ControllerΒΆ
ControllerNode = NodeType.ControllerNodeΒΆ
DataGraphNodeGroup = NodeType.DataGraphNodeGroupΒΆ
Document = NodeType.DocumentΒΆ
DocumentCamera = NodeType.DocumentCameraΒΆ
DocumentLabel = NodeType.DocumentLabelΒΆ
DocumentLayer = NodeType.DocumentLayerΒΆ
DocumentManager = NodeType.DocumentManagerΒΆ
DynamicalGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModel = NodeType.DynamicalModelΒΆ
DynamicalModelArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
DynamicalModelNode = NodeType.DynamicalModelNodeΒΆ
DynamicalModelNodeArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
DynamicalModelNodeGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModelNodeParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalModelNodeRigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
DynamicalModelNodeRoot = NodeType.DynamicalModelNodeRootΒΆ
DynamicalModelParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
DynamicalModelRigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
DynamicalNode = NodeType.DynamicalModelNodeΒΆ
DynamicalParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalRoot = NodeType.DynamicalModelNodeRootΒΆ
InteractionModel = NodeType.InteractionModelΒΆ
InteractionModelArticulatedBodySystem = NodeType.InteractionModelArticulatedBodySystemΒΆ
InteractionModelParticleSystem = NodeType.InteractionModelParticleSystemΒΆ
InteractionModelRigidBodySystem = NodeType.InteractionModelRigidBodySystemΒΆ
Label = NodeType.DocumentLabelΒΆ
Layer = NodeType.DocumentLayerΒΆ
Molecule = NodeType.StructuralModelNodeMoleculeΒΆ
NodeGroup = NodeType.DataGraphNodeGroupΒΆ
ParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
Path = NodeType.StructuralModelPathΒΆ
PropertyModel = NodeType.PropertyModelΒΆ
PropertyModelFunction = NodeType.PropertyModelFunctionΒΆ
Protein = NodeType.StructuralModelNodeProteinΒΆ
PseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
Residue = NodeType.StructuralModelNodeResidueΒΆ
RigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
RigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
Root = NodeType.StructuralModelNodeRootΒΆ
Segment = NodeType.StructuralModelNodeSegmentΒΆ
SideChain = NodeType.StructuralModelNodeSideChainΒΆ
Simulator = NodeType.SimulatorΒΆ
SimulatorArticulatedBodySystem = NodeType.SimulatorArticulatedBodySystemΒΆ
SimulatorParticleSystem = NodeType.SimulatorParticleSystemΒΆ
SimulatorRigidBodySystem = NodeType.SimulatorRigidBodySystemΒΆ
StateUpdater = NodeType.StateUpdaterΒΆ
StateUpdaterArticulatedBodySystem = NodeType.StateUpdaterArticulatedBodySystemΒΆ
StateUpdaterParticleSystem = NodeType.StateUpdaterParticleSystemΒΆ
StateUpdaterRigidBodySystem = NodeType.StateUpdaterRigidBodySystemΒΆ
StructuralGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModel = NodeType.StructuralModelΒΆ
StructuralModelConformation = NodeType.StructuralModelConformationΒΆ
StructuralModelNode = NodeType.StructuralModelNodeΒΆ
StructuralModelNodeAtom = NodeType.AtomΒΆ
StructuralModelNodeBackbone = NodeType.StructuralModelNodeBackboneΒΆ
StructuralModelNodeBond = NodeType.StructuralModelNodeBondΒΆ
StructuralModelNodeChain = NodeType.StructuralModelNodeChainΒΆ
StructuralModelNodeGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModelNodeMolecule = NodeType.StructuralModelNodeMoleculeΒΆ
StructuralModelNodeParticle = NodeType.StructuralModelNodeParticleΒΆ
StructuralModelNodeProtein = NodeType.StructuralModelNodeProteinΒΆ
StructuralModelNodePseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
StructuralModelNodeResidue = NodeType.StructuralModelNodeResidueΒΆ
StructuralModelNodeRoot = NodeType.StructuralModelNodeRootΒΆ
StructuralModelNodeSegment = NodeType.StructuralModelNodeSegmentΒΆ
StructuralModelNodeSideChain = NodeType.StructuralModelNodeSideChainΒΆ
StructuralModelPath = NodeType.StructuralModelPathΒΆ
StructuralParticle = NodeType.StructuralModelNodeParticleΒΆ
Undefined = NodeType.UndefinedΒΆ
VisualModel = NodeType.VisualModelΒΆ
__eq__ΒΆ

Return self==value.

__ge__ΒΆ

Return self>=value.

__gt__ΒΆ

Return self>value.

__le__ΒΆ

Return self<=value.

__lt__ΒΆ

Return self<value.

__ne__ΒΆ

Return self!=value.

highlightingFlagΒΆ
isCreatedΒΆ

Returns true if and only if the node is created

isErasedΒΆ

Returns true if and only if the node is erased

isHighlightedΒΆ

Returns whether the node is highlighted

isSelectedΒΆ

Returns whether the node is selected

isSerializableΒΆ

Returns true when the class is serializable

isVisibleΒΆ

Returns whether the node is visible

nodeIndexΒΆ

Returns the node index (unique in the whole data graph, but non-persistent)

selectionFlagΒΆ
typeΒΆ
typeStringΒΆ

Returns a string describing the type of the data graph node

visibilityFlagΒΆ
class samson.Modeling.DynamicalModel.ArticulatedBodySystemΒΆ

Bases: samson.Modeling.DynamicalModel.DynamicalModel

This class describes an articulated-body dynamical model.

SAMSON API: SBMDynamicalModelArticulatedBodySystem

class NodeType(self: samson.DataModel.DataGraph.Node.NodeType, arg0: int) → NoneΒΆ

Bases: pybind11_builtins.pybind11_object

__eq__(*args, **kwargs)ΒΆ

Overloaded function.

  1. __eq__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: samson.DataModel.DataGraph.Node.NodeType) -> bool
  2. __eq__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: int) -> bool
__ne__(*args, **kwargs)ΒΆ

Overloaded function.

  1. __ne__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: samson.DataModel.DataGraph.Node.NodeType) -> bool
  2. __ne__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: int) -> bool
ArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
ArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
Atom = NodeType.AtomΒΆ
Backbone = NodeType.StructuralModelNodeBackboneΒΆ
Bond = NodeType.StructuralModelNodeBondΒΆ
Camera = NodeType.DocumentCameraΒΆ
Chain = NodeType.StructuralModelNodeChainΒΆ
Conformation = NodeType.StructuralModelConformationΒΆ
Controller = NodeType.ControllerΒΆ
ControllerNode = NodeType.ControllerNodeΒΆ
DataGraphNodeGroup = NodeType.DataGraphNodeGroupΒΆ
Document = NodeType.DocumentΒΆ
DocumentCamera = NodeType.DocumentCameraΒΆ
DocumentLabel = NodeType.DocumentLabelΒΆ
DocumentLayer = NodeType.DocumentLayerΒΆ
DocumentManager = NodeType.DocumentManagerΒΆ
DynamicalGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModel = NodeType.DynamicalModelΒΆ
DynamicalModelArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
DynamicalModelNode = NodeType.DynamicalModelNodeΒΆ
DynamicalModelNodeArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
DynamicalModelNodeGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModelNodeParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalModelNodeRigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
DynamicalModelNodeRoot = NodeType.DynamicalModelNodeRootΒΆ
DynamicalModelParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
DynamicalModelRigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
DynamicalNode = NodeType.DynamicalModelNodeΒΆ
DynamicalParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalRoot = NodeType.DynamicalModelNodeRootΒΆ
InteractionModel = NodeType.InteractionModelΒΆ
InteractionModelArticulatedBodySystem = NodeType.InteractionModelArticulatedBodySystemΒΆ
InteractionModelParticleSystem = NodeType.InteractionModelParticleSystemΒΆ
InteractionModelRigidBodySystem = NodeType.InteractionModelRigidBodySystemΒΆ
Label = NodeType.DocumentLabelΒΆ
Layer = NodeType.DocumentLayerΒΆ
Molecule = NodeType.StructuralModelNodeMoleculeΒΆ
NodeGroup = NodeType.DataGraphNodeGroupΒΆ
ParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
Path = NodeType.StructuralModelPathΒΆ
PropertyModel = NodeType.PropertyModelΒΆ
PropertyModelFunction = NodeType.PropertyModelFunctionΒΆ
Protein = NodeType.StructuralModelNodeProteinΒΆ
PseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
Residue = NodeType.StructuralModelNodeResidueΒΆ
RigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
RigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
Root = NodeType.StructuralModelNodeRootΒΆ
Segment = NodeType.StructuralModelNodeSegmentΒΆ
SideChain = NodeType.StructuralModelNodeSideChainΒΆ
Simulator = NodeType.SimulatorΒΆ
SimulatorArticulatedBodySystem = NodeType.SimulatorArticulatedBodySystemΒΆ
SimulatorParticleSystem = NodeType.SimulatorParticleSystemΒΆ
SimulatorRigidBodySystem = NodeType.SimulatorRigidBodySystemΒΆ
StateUpdater = NodeType.StateUpdaterΒΆ
StateUpdaterArticulatedBodySystem = NodeType.StateUpdaterArticulatedBodySystemΒΆ
StateUpdaterParticleSystem = NodeType.StateUpdaterParticleSystemΒΆ
StateUpdaterRigidBodySystem = NodeType.StateUpdaterRigidBodySystemΒΆ
StructuralGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModel = NodeType.StructuralModelΒΆ
StructuralModelConformation = NodeType.StructuralModelConformationΒΆ
StructuralModelNode = NodeType.StructuralModelNodeΒΆ
StructuralModelNodeAtom = NodeType.AtomΒΆ
StructuralModelNodeBackbone = NodeType.StructuralModelNodeBackboneΒΆ
StructuralModelNodeBond = NodeType.StructuralModelNodeBondΒΆ
StructuralModelNodeChain = NodeType.StructuralModelNodeChainΒΆ
StructuralModelNodeGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModelNodeMolecule = NodeType.StructuralModelNodeMoleculeΒΆ
StructuralModelNodeParticle = NodeType.StructuralModelNodeParticleΒΆ
StructuralModelNodeProtein = NodeType.StructuralModelNodeProteinΒΆ
StructuralModelNodePseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
StructuralModelNodeResidue = NodeType.StructuralModelNodeResidueΒΆ
StructuralModelNodeRoot = NodeType.StructuralModelNodeRootΒΆ
StructuralModelNodeSegment = NodeType.StructuralModelNodeSegmentΒΆ
StructuralModelNodeSideChain = NodeType.StructuralModelNodeSideChainΒΆ
StructuralModelPath = NodeType.StructuralModelPathΒΆ
StructuralParticle = NodeType.StructuralModelNodeParticleΒΆ
Undefined = NodeType.UndefinedΒΆ
VisualModel = NodeType.VisualModelΒΆ
__ge__ΒΆ

Return self>=value.

__gt__ΒΆ

Return self>value.

__le__ΒΆ

Return self<=value.

__lt__ΒΆ

Return self<value.

addChild(self: samson.DataModel.DataGraph.Node, node: samson.DataModel.DataGraph.Node, nextNode: samson.DataModel.DataGraph.Node=None) → boolΒΆ

Adds a child to the node

addMaterial(self: samson.DataModel.DataGraph.Node, material: SBDDataGraphNodeMaterial) → boolΒΆ

Adds material to the node

castToInteractionModelParticleSystem(self: samson.DataModel.DataGraph.Node) → SBMInteractionModelParticleSystemΒΆ

Casts (if possible) from SBDDataGraphNode to SBMInteractionModelParticleSystem

castToLabel(self: samson.DataModel.DataGraph.Node) → SBDDocumentLabelΒΆ

Casts (if possible) from SBDDataGraphNode to SBDDocumentLabel

castToVisualModel(self: samson.DataModel.DataGraph.Node) → SBMVisualModelΒΆ

Casts (if possible) from SBDDataGraphNode to SBMVisualModel

clone(self: samson.Modeling.DynamicalModel.DynamicalModel) → samson.Modeling.DynamicalModel.DynamicalModelΒΆ

Returns a copy of the node and its descendants

countNodes(self: samson.DataModel.DataGraph.Node, selectionString: str='*', visitString: str='*', includeDependencies: bool=False) → intΒΆ
Count nodes into nodeIndexer, based on a selectionPredicate and a visitPredicate, with our without dependencies).
For selectionString and visitString use Node Specification Language (SAMSON API: Node Specification Language
create(self: samson.DataModel.DataGraph.Node) → NoneΒΆ

Creates the node

enforcePeriodicBoundaryConditions(self: samson.Modeling.DynamicalModel.DynamicalModel) → boolΒΆ

Enforces the periodic boundary conditions

erase(self: samson.DataModel.DataGraph.Node) → NoneΒΆ

Erases the node

flushPositionBuffer(self: samson.Modeling.DynamicalModel.DynamicalModel) → NoneΒΆ

Flushes the position buffer

getChangedPositionIndex(self: samson.Modeling.DynamicalModel.DynamicalModel, i: int) → intΒΆ

Returns the index of a changed position

getDynamicalRoot(self: samson.Modeling.DynamicalModel.DynamicalModel) → SBMDynamicalModelNodeRootΒΆ

Returns the root of the dynamical model

getFlags(self: samson.DataModel.DataGraph.Node) → intΒΆ

Returns the flags

getInheritedFlags(self: samson.DataModel.DataGraph.Node) → intΒΆ

Returns the inherited flags

getLayer(self: samson.Modeling.Model.SBMModel) → samson.DataModel.Document.LayerΒΆ

Returns the owning document layer

getMaterial(self: samson.DataModel.DataGraph.Node) → SBDDataGraphNodeMaterialΒΆ

Returns the material of the node

getMaterialOwner(self: samson.DataModel.DataGraph.Node) → samson.DataModel.DataGraph.NodeΒΆ

Returns the node whose material is inherited

getMemoryFootprint(self: samson.Core.Reference.SBCReferenceTarget) → intΒΆ

Returns the memory footprint

getNextModel(self: samson.Modeling.Model.SBMModel) → samson.Modeling.Model.SBMModelΒΆ

Returns the next model in the document layer

getNode(self: int) → samson.DataModel.DataGraph.NodeΒΆ

Returns the unique node corresponding to the node index nodeIndex

getNodes(self: samson.Modeling.DynamicalModel.DynamicalModel, selectionString: str='*', visitString: str='*', includeDependencies: bool=False) → samson.DataModel.DataGraph.NodeIndexerΒΆ
Returns nodes (in a node indexer), based on a selectionString and a visitString, with our without dependencies).
For selectionString and visitString use Node Specification Language (SAMSON API: Node Specification Language
getNumberOfChangedPositions(self: samson.Modeling.DynamicalModel.DynamicalModel) → intΒΆ

Returns the number of changed positions

getParent(self: samson.Modeling.Model.SBMModel) → samson.DataModel.DataGraph.NodeΒΆ

Returns the parent node

getPositionChanged(self: samson.Modeling.DynamicalModel.DynamicalModel, i: int) → boolΒΆ

Returns whether position i has been changed since the last flush

getPreviousModel(self: samson.Modeling.Model.SBMModel) → samson.Modeling.Model.SBMModelΒΆ

Returns the previous model in the document layer

getRoot(self: samson.DataModel.DataGraph.Node) → samson.DataModel.DataGraph.NodeΒΆ

Returns the root of the hierarchy the node belongs to

hasOneOf(self: samson.DataModel.DataGraph.Node, nodeIndexer: SBDDataGraphNodeIndexer) → boolΒΆ

Returns true if and only if this node is one of the nodes of the nodeIndexer, or is the ancestor of one of them

isIn(*args, **kwargs)ΒΆ

Overloaded function.

  1. isIn(self: samson.DataModel.DataGraph.Node, node: samson.DataModel.DataGraph.Node) -> bool

Returns true if and only if this node is node, or descends from it

  1. isIn(self: samson.DataModel.DataGraph.Node, nodeIndexer: SBDDataGraphNodeIndexer) -> bool

Returns true if and only if this node is one of the nodes of the nodeIndexer, or descends from one of them

isOneOf(self: samson.DataModel.DataGraph.Node, nodeIndexer: SBDDataGraphNodeIndexer) → boolΒΆ

Returns true if and only if this node is one of the nodes of the nodeIndexer

removeChild(self: samson.DataModel.DataGraph.Node, node: samson.DataModel.DataGraph.Node) → boolΒΆ

Removes a child from the node

removeMaterial(self: samson.DataModel.DataGraph.Node) → boolΒΆ

Removes material from the node

setColor(self: samson.DataModel.DataGraph.Node, color: SBDColor, applyToChildren: bool=False) → NoneΒΆ

Sets the color for the node (removes an existing material from the node and adds a given material based on a given color)

Args:

color (Color): material to set

applyToChildren (boolean): if set to True goes through child nodes (default value: False)

setMaterial(self: samson.DataModel.DataGraph.Node, material: SBDDataGraphNodeMaterial, applyToChildren: bool=False) → NoneΒΆ

Sets the material for the node (removes an existing material from the node and adds a given material)

Args:

material (Material): material to set

applyToChildren (boolean): if set to True goes through child nodes (default value: False)

sprint(self: samson.Modeling.DynamicalModel.ArticulatedBodySystem, offset: int=0) → NoneΒΆ

Prints some debugging information

updateStructuralNodes(self: samson.Modeling.DynamicalModel.DynamicalModel) → NoneΒΆ

Updates structural nodes based on the state of the dynamical model

ArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
ArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
Atom = NodeType.AtomΒΆ
Backbone = NodeType.StructuralModelNodeBackboneΒΆ
Bond = NodeType.StructuralModelNodeBondΒΆ
Camera = NodeType.DocumentCameraΒΆ
Chain = NodeType.StructuralModelNodeChainΒΆ
Conformation = NodeType.StructuralModelConformationΒΆ
Controller = NodeType.ControllerΒΆ
ControllerNode = NodeType.ControllerNodeΒΆ
DataGraphNodeGroup = NodeType.DataGraphNodeGroupΒΆ
Document = NodeType.DocumentΒΆ
DocumentCamera = NodeType.DocumentCameraΒΆ
DocumentLabel = NodeType.DocumentLabelΒΆ
DocumentLayer = NodeType.DocumentLayerΒΆ
DocumentManager = NodeType.DocumentManagerΒΆ
DynamicalGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModel = NodeType.DynamicalModelΒΆ
DynamicalModelArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
DynamicalModelNode = NodeType.DynamicalModelNodeΒΆ
DynamicalModelNodeArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
DynamicalModelNodeGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModelNodeParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalModelNodeRigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
DynamicalModelNodeRoot = NodeType.DynamicalModelNodeRootΒΆ
DynamicalModelParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
DynamicalModelRigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
DynamicalNode = NodeType.DynamicalModelNodeΒΆ
DynamicalParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalRoot = NodeType.DynamicalModelNodeRootΒΆ
InteractionModel = NodeType.InteractionModelΒΆ
InteractionModelArticulatedBodySystem = NodeType.InteractionModelArticulatedBodySystemΒΆ
InteractionModelParticleSystem = NodeType.InteractionModelParticleSystemΒΆ
InteractionModelRigidBodySystem = NodeType.InteractionModelRigidBodySystemΒΆ
Label = NodeType.DocumentLabelΒΆ
Layer = NodeType.DocumentLayerΒΆ
Molecule = NodeType.StructuralModelNodeMoleculeΒΆ
NodeGroup = NodeType.DataGraphNodeGroupΒΆ
ParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
Path = NodeType.StructuralModelPathΒΆ
PropertyModel = NodeType.PropertyModelΒΆ
PropertyModelFunction = NodeType.PropertyModelFunctionΒΆ
Protein = NodeType.StructuralModelNodeProteinΒΆ
PseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
Residue = NodeType.StructuralModelNodeResidueΒΆ
RigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
RigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
Root = NodeType.StructuralModelNodeRootΒΆ
Segment = NodeType.StructuralModelNodeSegmentΒΆ
SideChain = NodeType.StructuralModelNodeSideChainΒΆ
Simulator = NodeType.SimulatorΒΆ
SimulatorArticulatedBodySystem = NodeType.SimulatorArticulatedBodySystemΒΆ
SimulatorParticleSystem = NodeType.SimulatorParticleSystemΒΆ
SimulatorRigidBodySystem = NodeType.SimulatorRigidBodySystemΒΆ
StateUpdater = NodeType.StateUpdaterΒΆ
StateUpdaterArticulatedBodySystem = NodeType.StateUpdaterArticulatedBodySystemΒΆ
StateUpdaterParticleSystem = NodeType.StateUpdaterParticleSystemΒΆ
StateUpdaterRigidBodySystem = NodeType.StateUpdaterRigidBodySystemΒΆ
StructuralGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModel = NodeType.StructuralModelΒΆ
StructuralModelConformation = NodeType.StructuralModelConformationΒΆ
StructuralModelNode = NodeType.StructuralModelNodeΒΆ
StructuralModelNodeAtom = NodeType.AtomΒΆ
StructuralModelNodeBackbone = NodeType.StructuralModelNodeBackboneΒΆ
StructuralModelNodeBond = NodeType.StructuralModelNodeBondΒΆ
StructuralModelNodeChain = NodeType.StructuralModelNodeChainΒΆ
StructuralModelNodeGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModelNodeMolecule = NodeType.StructuralModelNodeMoleculeΒΆ
StructuralModelNodeParticle = NodeType.StructuralModelNodeParticleΒΆ
StructuralModelNodeProtein = NodeType.StructuralModelNodeProteinΒΆ
StructuralModelNodePseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
StructuralModelNodeResidue = NodeType.StructuralModelNodeResidueΒΆ
StructuralModelNodeRoot = NodeType.StructuralModelNodeRootΒΆ
StructuralModelNodeSegment = NodeType.StructuralModelNodeSegmentΒΆ
StructuralModelNodeSideChain = NodeType.StructuralModelNodeSideChainΒΆ
StructuralModelPath = NodeType.StructuralModelPathΒΆ
StructuralParticle = NodeType.StructuralModelNodeParticleΒΆ
Undefined = NodeType.UndefinedΒΆ
VisualModel = NodeType.VisualModelΒΆ
__eq__ΒΆ

Return self==value.

__ge__ΒΆ

Return self>=value.

__gt__ΒΆ

Return self>value.

__le__ΒΆ

Return self<=value.

__lt__ΒΆ

Return self<value.

__ne__ΒΆ

Return self!=value.

dynamicalModelTypeΒΆ
highlightingFlagΒΆ
isCreatedΒΆ

Returns true if and only if the node is created

isErasedΒΆ

Returns true if and only if the node is erased

isHighlightedΒΆ

Returns whether the node is highlighted

isSelectedΒΆ

Returns whether the node is selected

isSerializableΒΆ

Returns true when the class is serializable

isVisibleΒΆ

Returns whether the node is visible

modelTypeΒΆ
nameΒΆ
nodeIndexΒΆ

Returns the node index (unique in the whole data graph, but non-persistent)

periodicBoundaryConditionsFlagΒΆ

periodic boundary conditions flag

selectionFlagΒΆ
typeΒΆ
typeStringΒΆ

Returns a string describing the type of the data graph node

visibilityFlagΒΆ
class samson.Modeling.DynamicalModel.DynamicalModelΒΆ

Bases: samson.Modeling.Model.SBMModel

This class is the base class of dynamical models.

SAMSON API: SBMDynamicalModel

class NodeType(self: samson.DataModel.DataGraph.Node.NodeType, arg0: int) → NoneΒΆ

Bases: pybind11_builtins.pybind11_object

__eq__(*args, **kwargs)ΒΆ

Overloaded function.

  1. __eq__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: samson.DataModel.DataGraph.Node.NodeType) -> bool
  2. __eq__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: int) -> bool
__ne__(*args, **kwargs)ΒΆ

Overloaded function.

  1. __ne__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: samson.DataModel.DataGraph.Node.NodeType) -> bool
  2. __ne__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: int) -> bool
ArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
ArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
Atom = NodeType.AtomΒΆ
Backbone = NodeType.StructuralModelNodeBackboneΒΆ
Bond = NodeType.StructuralModelNodeBondΒΆ
Camera = NodeType.DocumentCameraΒΆ
Chain = NodeType.StructuralModelNodeChainΒΆ
Conformation = NodeType.StructuralModelConformationΒΆ
Controller = NodeType.ControllerΒΆ
ControllerNode = NodeType.ControllerNodeΒΆ
DataGraphNodeGroup = NodeType.DataGraphNodeGroupΒΆ
Document = NodeType.DocumentΒΆ
DocumentCamera = NodeType.DocumentCameraΒΆ
DocumentLabel = NodeType.DocumentLabelΒΆ
DocumentLayer = NodeType.DocumentLayerΒΆ
DocumentManager = NodeType.DocumentManagerΒΆ
DynamicalGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModel = NodeType.DynamicalModelΒΆ
DynamicalModelArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
DynamicalModelNode = NodeType.DynamicalModelNodeΒΆ
DynamicalModelNodeArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
DynamicalModelNodeGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModelNodeParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalModelNodeRigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
DynamicalModelNodeRoot = NodeType.DynamicalModelNodeRootΒΆ
DynamicalModelParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
DynamicalModelRigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
DynamicalNode = NodeType.DynamicalModelNodeΒΆ
DynamicalParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalRoot = NodeType.DynamicalModelNodeRootΒΆ
InteractionModel = NodeType.InteractionModelΒΆ
InteractionModelArticulatedBodySystem = NodeType.InteractionModelArticulatedBodySystemΒΆ
InteractionModelParticleSystem = NodeType.InteractionModelParticleSystemΒΆ
InteractionModelRigidBodySystem = NodeType.InteractionModelRigidBodySystemΒΆ
Label = NodeType.DocumentLabelΒΆ
Layer = NodeType.DocumentLayerΒΆ
Molecule = NodeType.StructuralModelNodeMoleculeΒΆ
NodeGroup = NodeType.DataGraphNodeGroupΒΆ
ParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
Path = NodeType.StructuralModelPathΒΆ
PropertyModel = NodeType.PropertyModelΒΆ
PropertyModelFunction = NodeType.PropertyModelFunctionΒΆ
Protein = NodeType.StructuralModelNodeProteinΒΆ
PseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
Residue = NodeType.StructuralModelNodeResidueΒΆ
RigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
RigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
Root = NodeType.StructuralModelNodeRootΒΆ
Segment = NodeType.StructuralModelNodeSegmentΒΆ
SideChain = NodeType.StructuralModelNodeSideChainΒΆ
Simulator = NodeType.SimulatorΒΆ
SimulatorArticulatedBodySystem = NodeType.SimulatorArticulatedBodySystemΒΆ
SimulatorParticleSystem = NodeType.SimulatorParticleSystemΒΆ
SimulatorRigidBodySystem = NodeType.SimulatorRigidBodySystemΒΆ
StateUpdater = NodeType.StateUpdaterΒΆ
StateUpdaterArticulatedBodySystem = NodeType.StateUpdaterArticulatedBodySystemΒΆ
StateUpdaterParticleSystem = NodeType.StateUpdaterParticleSystemΒΆ
StateUpdaterRigidBodySystem = NodeType.StateUpdaterRigidBodySystemΒΆ
StructuralGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModel = NodeType.StructuralModelΒΆ
StructuralModelConformation = NodeType.StructuralModelConformationΒΆ
StructuralModelNode = NodeType.StructuralModelNodeΒΆ
StructuralModelNodeAtom = NodeType.AtomΒΆ
StructuralModelNodeBackbone = NodeType.StructuralModelNodeBackboneΒΆ
StructuralModelNodeBond = NodeType.StructuralModelNodeBondΒΆ
StructuralModelNodeChain = NodeType.StructuralModelNodeChainΒΆ
StructuralModelNodeGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModelNodeMolecule = NodeType.StructuralModelNodeMoleculeΒΆ
StructuralModelNodeParticle = NodeType.StructuralModelNodeParticleΒΆ
StructuralModelNodeProtein = NodeType.StructuralModelNodeProteinΒΆ
StructuralModelNodePseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
StructuralModelNodeResidue = NodeType.StructuralModelNodeResidueΒΆ
StructuralModelNodeRoot = NodeType.StructuralModelNodeRootΒΆ
StructuralModelNodeSegment = NodeType.StructuralModelNodeSegmentΒΆ
StructuralModelNodeSideChain = NodeType.StructuralModelNodeSideChainΒΆ
StructuralModelPath = NodeType.StructuralModelPathΒΆ
StructuralParticle = NodeType.StructuralModelNodeParticleΒΆ
Undefined = NodeType.UndefinedΒΆ
VisualModel = NodeType.VisualModelΒΆ
__ge__ΒΆ

Return self>=value.

__gt__ΒΆ

Return self>value.

__le__ΒΆ

Return self<=value.

__lt__ΒΆ

Return self<value.

addChild(self: samson.DataModel.DataGraph.Node, node: samson.DataModel.DataGraph.Node, nextNode: samson.DataModel.DataGraph.Node=None) → boolΒΆ

Adds a child to the node

addMaterial(self: samson.DataModel.DataGraph.Node, material: SBDDataGraphNodeMaterial) → boolΒΆ

Adds material to the node

castToInteractionModelParticleSystem(self: samson.DataModel.DataGraph.Node) → SBMInteractionModelParticleSystemΒΆ

Casts (if possible) from SBDDataGraphNode to SBMInteractionModelParticleSystem

castToLabel(self: samson.DataModel.DataGraph.Node) → SBDDocumentLabelΒΆ

Casts (if possible) from SBDDataGraphNode to SBDDocumentLabel

castToVisualModel(self: samson.DataModel.DataGraph.Node) → SBMVisualModelΒΆ

Casts (if possible) from SBDDataGraphNode to SBMVisualModel

clone(self: samson.Modeling.DynamicalModel.DynamicalModel) → samson.Modeling.DynamicalModel.DynamicalModelΒΆ

Returns a copy of the node and its descendants

countNodes(self: samson.DataModel.DataGraph.Node, selectionString: str='*', visitString: str='*', includeDependencies: bool=False) → intΒΆ
Count nodes into nodeIndexer, based on a selectionPredicate and a visitPredicate, with our without dependencies).
For selectionString and visitString use Node Specification Language (SAMSON API: Node Specification Language
create(self: samson.DataModel.DataGraph.Node) → NoneΒΆ

Creates the node

enforcePeriodicBoundaryConditions(self: samson.Modeling.DynamicalModel.DynamicalModel) → boolΒΆ

Enforces the periodic boundary conditions

erase(self: samson.DataModel.DataGraph.Node) → NoneΒΆ

Erases the node

flushPositionBuffer(self: samson.Modeling.DynamicalModel.DynamicalModel) → NoneΒΆ

Flushes the position buffer

getChangedPositionIndex(self: samson.Modeling.DynamicalModel.DynamicalModel, i: int) → intΒΆ

Returns the index of a changed position

getDynamicalRoot(self: samson.Modeling.DynamicalModel.DynamicalModel) → SBMDynamicalModelNodeRootΒΆ

Returns the root of the dynamical model

getFlags(self: samson.DataModel.DataGraph.Node) → intΒΆ

Returns the flags

getInheritedFlags(self: samson.DataModel.DataGraph.Node) → intΒΆ

Returns the inherited flags

getLayer(self: samson.Modeling.Model.SBMModel) → samson.DataModel.Document.LayerΒΆ

Returns the owning document layer

getMaterial(self: samson.DataModel.DataGraph.Node) → SBDDataGraphNodeMaterialΒΆ

Returns the material of the node

getMaterialOwner(self: samson.DataModel.DataGraph.Node) → samson.DataModel.DataGraph.NodeΒΆ

Returns the node whose material is inherited

getMemoryFootprint(self: samson.Core.Reference.SBCReferenceTarget) → intΒΆ

Returns the memory footprint

getNextModel(self: samson.Modeling.Model.SBMModel) → samson.Modeling.Model.SBMModelΒΆ

Returns the next model in the document layer

getNode(self: int) → samson.DataModel.DataGraph.NodeΒΆ

Returns the unique node corresponding to the node index nodeIndex

getNodes(self: samson.Modeling.DynamicalModel.DynamicalModel, selectionString: str='*', visitString: str='*', includeDependencies: bool=False) → samson.DataModel.DataGraph.NodeIndexerΒΆ
Returns nodes (in a node indexer), based on a selectionString and a visitString, with our without dependencies).
For selectionString and visitString use Node Specification Language (SAMSON API: Node Specification Language
getNumberOfChangedPositions(self: samson.Modeling.DynamicalModel.DynamicalModel) → intΒΆ

Returns the number of changed positions

getParent(self: samson.Modeling.Model.SBMModel) → samson.DataModel.DataGraph.NodeΒΆ

Returns the parent node

getPositionChanged(self: samson.Modeling.DynamicalModel.DynamicalModel, i: int) → boolΒΆ

Returns whether position i has been changed since the last flush

getPreviousModel(self: samson.Modeling.Model.SBMModel) → samson.Modeling.Model.SBMModelΒΆ

Returns the previous model in the document layer

getRoot(self: samson.DataModel.DataGraph.Node) → samson.DataModel.DataGraph.NodeΒΆ

Returns the root of the hierarchy the node belongs to

hasOneOf(self: samson.DataModel.DataGraph.Node, nodeIndexer: SBDDataGraphNodeIndexer) → boolΒΆ

Returns true if and only if this node is one of the nodes of the nodeIndexer, or is the ancestor of one of them

isIn(*args, **kwargs)ΒΆ

Overloaded function.

  1. isIn(self: samson.DataModel.DataGraph.Node, node: samson.DataModel.DataGraph.Node) -> bool

Returns true if and only if this node is node, or descends from it

  1. isIn(self: samson.DataModel.DataGraph.Node, nodeIndexer: SBDDataGraphNodeIndexer) -> bool

Returns true if and only if this node is one of the nodes of the nodeIndexer, or descends from one of them

isOneOf(self: samson.DataModel.DataGraph.Node, nodeIndexer: SBDDataGraphNodeIndexer) → boolΒΆ

Returns true if and only if this node is one of the nodes of the nodeIndexer

removeChild(self: samson.DataModel.DataGraph.Node, node: samson.DataModel.DataGraph.Node) → boolΒΆ

Removes a child from the node

removeMaterial(self: samson.DataModel.DataGraph.Node) → boolΒΆ

Removes material from the node

setColor(self: samson.DataModel.DataGraph.Node, color: SBDColor, applyToChildren: bool=False) → NoneΒΆ

Sets the color for the node (removes an existing material from the node and adds a given material based on a given color)

Args:

color (Color): material to set

applyToChildren (boolean): if set to True goes through child nodes (default value: False)

setMaterial(self: samson.DataModel.DataGraph.Node, material: SBDDataGraphNodeMaterial, applyToChildren: bool=False) → NoneΒΆ

Sets the material for the node (removes an existing material from the node and adds a given material)

Args:

material (Material): material to set

applyToChildren (boolean): if set to True goes through child nodes (default value: False)

sprint(self: samson.Modeling.DynamicalModel.DynamicalModel, offset: int=0) → NoneΒΆ

Prints some debugging information

updateStructuralNodes(self: samson.Modeling.DynamicalModel.DynamicalModel) → NoneΒΆ

Updates structural nodes based on the state of the dynamical model

ArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
ArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
Atom = NodeType.AtomΒΆ
Backbone = NodeType.StructuralModelNodeBackboneΒΆ
Bond = NodeType.StructuralModelNodeBondΒΆ
Camera = NodeType.DocumentCameraΒΆ
Chain = NodeType.StructuralModelNodeChainΒΆ
Conformation = NodeType.StructuralModelConformationΒΆ
Controller = NodeType.ControllerΒΆ
ControllerNode = NodeType.ControllerNodeΒΆ
DataGraphNodeGroup = NodeType.DataGraphNodeGroupΒΆ
Document = NodeType.DocumentΒΆ
DocumentCamera = NodeType.DocumentCameraΒΆ
DocumentLabel = NodeType.DocumentLabelΒΆ
DocumentLayer = NodeType.DocumentLayerΒΆ
DocumentManager = NodeType.DocumentManagerΒΆ
DynamicalGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModel = NodeType.DynamicalModelΒΆ
DynamicalModelArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
DynamicalModelNode = NodeType.DynamicalModelNodeΒΆ
DynamicalModelNodeArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
DynamicalModelNodeGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModelNodeParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalModelNodeRigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
DynamicalModelNodeRoot = NodeType.DynamicalModelNodeRootΒΆ
DynamicalModelParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
DynamicalModelRigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
DynamicalNode = NodeType.DynamicalModelNodeΒΆ
DynamicalParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalRoot = NodeType.DynamicalModelNodeRootΒΆ
InteractionModel = NodeType.InteractionModelΒΆ
InteractionModelArticulatedBodySystem = NodeType.InteractionModelArticulatedBodySystemΒΆ
InteractionModelParticleSystem = NodeType.InteractionModelParticleSystemΒΆ
InteractionModelRigidBodySystem = NodeType.InteractionModelRigidBodySystemΒΆ
Label = NodeType.DocumentLabelΒΆ
Layer = NodeType.DocumentLayerΒΆ
Molecule = NodeType.StructuralModelNodeMoleculeΒΆ
NodeGroup = NodeType.DataGraphNodeGroupΒΆ
ParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
Path = NodeType.StructuralModelPathΒΆ
PropertyModel = NodeType.PropertyModelΒΆ
PropertyModelFunction = NodeType.PropertyModelFunctionΒΆ
Protein = NodeType.StructuralModelNodeProteinΒΆ
PseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
Residue = NodeType.StructuralModelNodeResidueΒΆ
RigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
RigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
Root = NodeType.StructuralModelNodeRootΒΆ
Segment = NodeType.StructuralModelNodeSegmentΒΆ
SideChain = NodeType.StructuralModelNodeSideChainΒΆ
Simulator = NodeType.SimulatorΒΆ
SimulatorArticulatedBodySystem = NodeType.SimulatorArticulatedBodySystemΒΆ
SimulatorParticleSystem = NodeType.SimulatorParticleSystemΒΆ
SimulatorRigidBodySystem = NodeType.SimulatorRigidBodySystemΒΆ
StateUpdater = NodeType.StateUpdaterΒΆ
StateUpdaterArticulatedBodySystem = NodeType.StateUpdaterArticulatedBodySystemΒΆ
StateUpdaterParticleSystem = NodeType.StateUpdaterParticleSystemΒΆ
StateUpdaterRigidBodySystem = NodeType.StateUpdaterRigidBodySystemΒΆ
StructuralGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModel = NodeType.StructuralModelΒΆ
StructuralModelConformation = NodeType.StructuralModelConformationΒΆ
StructuralModelNode = NodeType.StructuralModelNodeΒΆ
StructuralModelNodeAtom = NodeType.AtomΒΆ
StructuralModelNodeBackbone = NodeType.StructuralModelNodeBackboneΒΆ
StructuralModelNodeBond = NodeType.StructuralModelNodeBondΒΆ
StructuralModelNodeChain = NodeType.StructuralModelNodeChainΒΆ
StructuralModelNodeGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModelNodeMolecule = NodeType.StructuralModelNodeMoleculeΒΆ
StructuralModelNodeParticle = NodeType.StructuralModelNodeParticleΒΆ
StructuralModelNodeProtein = NodeType.StructuralModelNodeProteinΒΆ
StructuralModelNodePseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
StructuralModelNodeResidue = NodeType.StructuralModelNodeResidueΒΆ
StructuralModelNodeRoot = NodeType.StructuralModelNodeRootΒΆ
StructuralModelNodeSegment = NodeType.StructuralModelNodeSegmentΒΆ
StructuralModelNodeSideChain = NodeType.StructuralModelNodeSideChainΒΆ
StructuralModelPath = NodeType.StructuralModelPathΒΆ
StructuralParticle = NodeType.StructuralModelNodeParticleΒΆ
Undefined = NodeType.UndefinedΒΆ
VisualModel = NodeType.VisualModelΒΆ
__eq__ΒΆ

Return self==value.

__ge__ΒΆ

Return self>=value.

__gt__ΒΆ

Return self>value.

__le__ΒΆ

Return self<=value.

__lt__ΒΆ

Return self<value.

__ne__ΒΆ

Return self!=value.

dynamicalModelTypeΒΆ
highlightingFlagΒΆ
isCreatedΒΆ

Returns true if and only if the node is created

isErasedΒΆ

Returns true if and only if the node is erased

isHighlightedΒΆ

Returns whether the node is highlighted

isSelectedΒΆ

Returns whether the node is selected

isSerializableΒΆ

Returns true when the class is serializable

isVisibleΒΆ

Returns whether the node is visible

modelTypeΒΆ
nameΒΆ
nodeIndexΒΆ

Returns the node index (unique in the whole data graph, but non-persistent)

periodicBoundaryConditionsFlagΒΆ

periodic boundary conditions flag

selectionFlagΒΆ
typeΒΆ
typeStringΒΆ

Returns a string describing the type of the data graph node

visibilityFlagΒΆ
class samson.Modeling.DynamicalModel.Group(*args, **kwargs)ΒΆ

Bases: samson.Modeling.DynamicalModel.Node

This class describes a group of dynamical model nodes.

SAMSON API: SBMDynamicalModelNodeGroup

Overloaded function.

  1. __init__(self: samson.Modeling.DynamicalModel.Group) -> None

Constructs a group of dynamical model nodes

  1. __init__(self: samson.Modeling.DynamicalModel.Group, arg0: str) -> None

Constructs a group of dynamical model nodes

class NodeType(self: samson.DataModel.DataGraph.Node.NodeType, arg0: int) → NoneΒΆ

Bases: pybind11_builtins.pybind11_object

__eq__(*args, **kwargs)ΒΆ

Overloaded function.

  1. __eq__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: samson.DataModel.DataGraph.Node.NodeType) -> bool
  2. __eq__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: int) -> bool
__ne__(*args, **kwargs)ΒΆ

Overloaded function.

  1. __ne__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: samson.DataModel.DataGraph.Node.NodeType) -> bool
  2. __ne__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: int) -> bool
ArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
ArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
Atom = NodeType.AtomΒΆ
Backbone = NodeType.StructuralModelNodeBackboneΒΆ
Bond = NodeType.StructuralModelNodeBondΒΆ
Camera = NodeType.DocumentCameraΒΆ
Chain = NodeType.StructuralModelNodeChainΒΆ
Conformation = NodeType.StructuralModelConformationΒΆ
Controller = NodeType.ControllerΒΆ
ControllerNode = NodeType.ControllerNodeΒΆ
DataGraphNodeGroup = NodeType.DataGraphNodeGroupΒΆ
Document = NodeType.DocumentΒΆ
DocumentCamera = NodeType.DocumentCameraΒΆ
DocumentLabel = NodeType.DocumentLabelΒΆ
DocumentLayer = NodeType.DocumentLayerΒΆ
DocumentManager = NodeType.DocumentManagerΒΆ
DynamicalGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModel = NodeType.DynamicalModelΒΆ
DynamicalModelArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
DynamicalModelNode = NodeType.DynamicalModelNodeΒΆ
DynamicalModelNodeArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
DynamicalModelNodeGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModelNodeParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalModelNodeRigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
DynamicalModelNodeRoot = NodeType.DynamicalModelNodeRootΒΆ
DynamicalModelParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
DynamicalModelRigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
DynamicalNode = NodeType.DynamicalModelNodeΒΆ
DynamicalParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalRoot = NodeType.DynamicalModelNodeRootΒΆ
InteractionModel = NodeType.InteractionModelΒΆ
InteractionModelArticulatedBodySystem = NodeType.InteractionModelArticulatedBodySystemΒΆ
InteractionModelParticleSystem = NodeType.InteractionModelParticleSystemΒΆ
InteractionModelRigidBodySystem = NodeType.InteractionModelRigidBodySystemΒΆ
Label = NodeType.DocumentLabelΒΆ
Layer = NodeType.DocumentLayerΒΆ
Molecule = NodeType.StructuralModelNodeMoleculeΒΆ
NodeGroup = NodeType.DataGraphNodeGroupΒΆ
ParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
Path = NodeType.StructuralModelPathΒΆ
PropertyModel = NodeType.PropertyModelΒΆ
PropertyModelFunction = NodeType.PropertyModelFunctionΒΆ
Protein = NodeType.StructuralModelNodeProteinΒΆ
PseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
Residue = NodeType.StructuralModelNodeResidueΒΆ
RigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
RigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
Root = NodeType.StructuralModelNodeRootΒΆ
Segment = NodeType.StructuralModelNodeSegmentΒΆ
SideChain = NodeType.StructuralModelNodeSideChainΒΆ
Simulator = NodeType.SimulatorΒΆ
SimulatorArticulatedBodySystem = NodeType.SimulatorArticulatedBodySystemΒΆ
SimulatorParticleSystem = NodeType.SimulatorParticleSystemΒΆ
SimulatorRigidBodySystem = NodeType.SimulatorRigidBodySystemΒΆ
StateUpdater = NodeType.StateUpdaterΒΆ
StateUpdaterArticulatedBodySystem = NodeType.StateUpdaterArticulatedBodySystemΒΆ
StateUpdaterParticleSystem = NodeType.StateUpdaterParticleSystemΒΆ
StateUpdaterRigidBodySystem = NodeType.StateUpdaterRigidBodySystemΒΆ
StructuralGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModel = NodeType.StructuralModelΒΆ
StructuralModelConformation = NodeType.StructuralModelConformationΒΆ
StructuralModelNode = NodeType.StructuralModelNodeΒΆ
StructuralModelNodeAtom = NodeType.AtomΒΆ
StructuralModelNodeBackbone = NodeType.StructuralModelNodeBackboneΒΆ
StructuralModelNodeBond = NodeType.StructuralModelNodeBondΒΆ
StructuralModelNodeChain = NodeType.StructuralModelNodeChainΒΆ
StructuralModelNodeGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModelNodeMolecule = NodeType.StructuralModelNodeMoleculeΒΆ
StructuralModelNodeParticle = NodeType.StructuralModelNodeParticleΒΆ
StructuralModelNodeProtein = NodeType.StructuralModelNodeProteinΒΆ
StructuralModelNodePseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
StructuralModelNodeResidue = NodeType.StructuralModelNodeResidueΒΆ
StructuralModelNodeRoot = NodeType.StructuralModelNodeRootΒΆ
StructuralModelNodeSegment = NodeType.StructuralModelNodeSegmentΒΆ
StructuralModelNodeSideChain = NodeType.StructuralModelNodeSideChainΒΆ
StructuralModelPath = NodeType.StructuralModelPathΒΆ
StructuralParticle = NodeType.StructuralModelNodeParticleΒΆ
Undefined = NodeType.UndefinedΒΆ
VisualModel = NodeType.VisualModelΒΆ
__ge__ΒΆ

Return self>=value.

__gt__ΒΆ

Return self>value.

__le__ΒΆ

Return self<=value.

__lt__ΒΆ

Return self<value.

addChild(self: samson.Modeling.DynamicalModel.Group, node: samson.Modeling.DynamicalModel.Node, nextNode: samson.Modeling.DynamicalModel.Node=None) → boolΒΆ

Adds a child to the node

addMaterial(self: samson.DataModel.DataGraph.Node, material: SBDDataGraphNodeMaterial) → boolΒΆ

Adds material to the node

castToInteractionModelParticleSystem(self: samson.DataModel.DataGraph.Node) → SBMInteractionModelParticleSystemΒΆ

Casts (if possible) from SBDDataGraphNode to SBMInteractionModelParticleSystem

castToLabel(self: samson.DataModel.DataGraph.Node) → SBDDocumentLabelΒΆ

Casts (if possible) from SBDDataGraphNode to SBDDocumentLabel

castToVisualModel(self: samson.DataModel.DataGraph.Node) → SBMVisualModelΒΆ

Casts (if possible) from SBDDataGraphNode to SBMVisualModel

clone(self: samson.Modeling.DynamicalModel.Group) → samson.Modeling.DynamicalModel.GroupΒΆ

Returns a copy of the node and its descendants

countNodes(self: samson.DataModel.DataGraph.Node, selectionString: str='*', visitString: str='*', includeDependencies: bool=False) → intΒΆ
Count nodes into nodeIndexer, based on a selectionPredicate and a visitPredicate, with our without dependencies).
For selectionString and visitString use Node Specification Language (SAMSON API: Node Specification Language
create(self: samson.DataModel.DataGraph.Node) → NoneΒΆ

Creates the node

erase(self: samson.DataModel.DataGraph.Node) → NoneΒΆ

Erases the node

getChildren(self: samson.Modeling.DynamicalModel.Group) → SBCReferencePointerList<SBMDynamicalModelNode, SBCReferenceToTarget>ΒΆ
getFlags(self: samson.DataModel.DataGraph.Node) → intΒΆ

Returns the flags

getInheritedFlags(self: samson.DataModel.DataGraph.Node) → intΒΆ

Returns the inherited flags

getMaterial(self: samson.DataModel.DataGraph.Node) → SBDDataGraphNodeMaterialΒΆ

Returns the material of the node

getMaterialOwner(self: samson.DataModel.DataGraph.Node) → samson.DataModel.DataGraph.NodeΒΆ

Returns the node whose material is inherited

getMemoryFootprint(self: samson.Core.Reference.SBCReferenceTarget) → intΒΆ

Returns the memory footprint

getNextDynamicalNode(self: samson.Modeling.DynamicalModel.Node) → samson.Modeling.DynamicalModel.NodeΒΆ
getNode(self: int) → samson.DataModel.DataGraph.NodeΒΆ

Returns the unique node corresponding to the node index nodeIndex

getNodes(self: samson.Modeling.DynamicalModel.Node, selectionString: str='*', visitString: str='*', includeDependencies: bool=False) → samson.DataModel.DataGraph.NodeIndexerΒΆ
Returns nodes (in a node indexer), based on a selectionString and a visitString, with our without dependencies).
For selectionString and visitString use Node Specification Language (SAMSON API: Node Specification Language
getParent(self: samson.Modeling.DynamicalModel.Node) → samson.DataModel.DataGraph.NodeΒΆ
getPreviousDynamicalNode(self: samson.Modeling.DynamicalModel.Node) → samson.Modeling.DynamicalModel.NodeΒΆ
getRoot(self: samson.DataModel.DataGraph.Node) → samson.DataModel.DataGraph.NodeΒΆ

Returns the root of the hierarchy the node belongs to

hasOneOf(self: samson.DataModel.DataGraph.Node, nodeIndexer: SBDDataGraphNodeIndexer) → boolΒΆ

Returns true if and only if this node is one of the nodes of the nodeIndexer, or is the ancestor of one of them

isIn(*args, **kwargs)ΒΆ

Overloaded function.

  1. isIn(self: samson.DataModel.DataGraph.Node, node: samson.DataModel.DataGraph.Node) -> bool

Returns true if and only if this node is node, or descends from it

  1. isIn(self: samson.DataModel.DataGraph.Node, nodeIndexer: SBDDataGraphNodeIndexer) -> bool

Returns true if and only if this node is one of the nodes of the nodeIndexer, or descends from one of them

isOneOf(self: samson.DataModel.DataGraph.Node, nodeIndexer: SBDDataGraphNodeIndexer) → boolΒΆ

Returns true if and only if this node is one of the nodes of the nodeIndexer

removeChild(self: samson.Modeling.DynamicalModel.Group, node: samson.Modeling.DynamicalModel.Node) → boolΒΆ

Removes a child from the node

removeMaterial(self: samson.DataModel.DataGraph.Node) → boolΒΆ

Removes material from the node

setColor(self: samson.DataModel.DataGraph.Node, color: SBDColor, applyToChildren: bool=False) → NoneΒΆ

Sets the color for the node (removes an existing material from the node and adds a given material based on a given color)

Args:

color (Color): material to set

applyToChildren (boolean): if set to True goes through child nodes (default value: False)

setMaterial(self: samson.DataModel.DataGraph.Node, material: SBDDataGraphNodeMaterial, applyToChildren: bool=False) → NoneΒΆ

Sets the material for the node (removes an existing material from the node and adds a given material)

Args:

material (Material): material to set

applyToChildren (boolean): if set to True goes through child nodes (default value: False)

sprint(self: samson.Modeling.DynamicalModel.Group, offset: int=0) → NoneΒΆ

Prints some debugging information

ArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
ArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
Atom = NodeType.AtomΒΆ
Backbone = NodeType.StructuralModelNodeBackboneΒΆ
Bond = NodeType.StructuralModelNodeBondΒΆ
Camera = NodeType.DocumentCameraΒΆ
Chain = NodeType.StructuralModelNodeChainΒΆ
Conformation = NodeType.StructuralModelConformationΒΆ
Controller = NodeType.ControllerΒΆ
ControllerNode = NodeType.ControllerNodeΒΆ
DataGraphNodeGroup = NodeType.DataGraphNodeGroupΒΆ
Document = NodeType.DocumentΒΆ
DocumentCamera = NodeType.DocumentCameraΒΆ
DocumentLabel = NodeType.DocumentLabelΒΆ
DocumentLayer = NodeType.DocumentLayerΒΆ
DocumentManager = NodeType.DocumentManagerΒΆ
DynamicalGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModel = NodeType.DynamicalModelΒΆ
DynamicalModelArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
DynamicalModelNode = NodeType.DynamicalModelNodeΒΆ
DynamicalModelNodeArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
DynamicalModelNodeGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModelNodeParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalModelNodeRigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
DynamicalModelNodeRoot = NodeType.DynamicalModelNodeRootΒΆ
DynamicalModelParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
DynamicalModelRigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
DynamicalNode = NodeType.DynamicalModelNodeΒΆ
DynamicalParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalRoot = NodeType.DynamicalModelNodeRootΒΆ
InteractionModel = NodeType.InteractionModelΒΆ
InteractionModelArticulatedBodySystem = NodeType.InteractionModelArticulatedBodySystemΒΆ
InteractionModelParticleSystem = NodeType.InteractionModelParticleSystemΒΆ
InteractionModelRigidBodySystem = NodeType.InteractionModelRigidBodySystemΒΆ
Label = NodeType.DocumentLabelΒΆ
Layer = NodeType.DocumentLayerΒΆ
Molecule = NodeType.StructuralModelNodeMoleculeΒΆ
NodeGroup = NodeType.DataGraphNodeGroupΒΆ
ParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
Path = NodeType.StructuralModelPathΒΆ
PropertyModel = NodeType.PropertyModelΒΆ
PropertyModelFunction = NodeType.PropertyModelFunctionΒΆ
Protein = NodeType.StructuralModelNodeProteinΒΆ
PseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
Residue = NodeType.StructuralModelNodeResidueΒΆ
RigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
RigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
Root = NodeType.StructuralModelNodeRootΒΆ
Segment = NodeType.StructuralModelNodeSegmentΒΆ
SideChain = NodeType.StructuralModelNodeSideChainΒΆ
Simulator = NodeType.SimulatorΒΆ
SimulatorArticulatedBodySystem = NodeType.SimulatorArticulatedBodySystemΒΆ
SimulatorParticleSystem = NodeType.SimulatorParticleSystemΒΆ
SimulatorRigidBodySystem = NodeType.SimulatorRigidBodySystemΒΆ
StateUpdater = NodeType.StateUpdaterΒΆ
StateUpdaterArticulatedBodySystem = NodeType.StateUpdaterArticulatedBodySystemΒΆ
StateUpdaterParticleSystem = NodeType.StateUpdaterParticleSystemΒΆ
StateUpdaterRigidBodySystem = NodeType.StateUpdaterRigidBodySystemΒΆ
StructuralGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModel = NodeType.StructuralModelΒΆ
StructuralModelConformation = NodeType.StructuralModelConformationΒΆ
StructuralModelNode = NodeType.StructuralModelNodeΒΆ
StructuralModelNodeAtom = NodeType.AtomΒΆ
StructuralModelNodeBackbone = NodeType.StructuralModelNodeBackboneΒΆ
StructuralModelNodeBond = NodeType.StructuralModelNodeBondΒΆ
StructuralModelNodeChain = NodeType.StructuralModelNodeChainΒΆ
StructuralModelNodeGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModelNodeMolecule = NodeType.StructuralModelNodeMoleculeΒΆ
StructuralModelNodeParticle = NodeType.StructuralModelNodeParticleΒΆ
StructuralModelNodeProtein = NodeType.StructuralModelNodeProteinΒΆ
StructuralModelNodePseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
StructuralModelNodeResidue = NodeType.StructuralModelNodeResidueΒΆ
StructuralModelNodeRoot = NodeType.StructuralModelNodeRootΒΆ
StructuralModelNodeSegment = NodeType.StructuralModelNodeSegmentΒΆ
StructuralModelNodeSideChain = NodeType.StructuralModelNodeSideChainΒΆ
StructuralModelPath = NodeType.StructuralModelPathΒΆ
StructuralParticle = NodeType.StructuralModelNodeParticleΒΆ
Undefined = NodeType.UndefinedΒΆ
VisualModel = NodeType.VisualModelΒΆ
__eq__ΒΆ

Return self==value.

__ge__ΒΆ

Return self>=value.

__gt__ΒΆ

Return self>value.

__le__ΒΆ

Return self<=value.

__lt__ΒΆ

Return self<value.

__ne__ΒΆ

Return self!=value.

highlightingFlagΒΆ
isCreatedΒΆ

Returns true if and only if the node is created

isErasedΒΆ

Returns true if and only if the node is erased

isHighlightedΒΆ

Returns whether the node is highlighted

isSelectedΒΆ

Returns whether the node is selected

isSerializableΒΆ

Returns true when the class is serializable

isVisibleΒΆ

Returns whether the node is visible

nameΒΆ

name of the model

nodeIndexΒΆ

Returns the node index (unique in the whole data graph, but non-persistent)

selectionFlagΒΆ
typeΒΆ
typeStringΒΆ

Returns a string describing the type of the data graph node

visibilityFlagΒΆ
class samson.Modeling.DynamicalModel.NodeΒΆ

Bases: samson.Modeling.Model.SBMModelNode

This class describes a dynamical model node.

SAMSON API: SBMDynamicalModelNode

class NodeType(self: samson.DataModel.DataGraph.Node.NodeType, arg0: int) → NoneΒΆ

Bases: pybind11_builtins.pybind11_object

__eq__(*args, **kwargs)ΒΆ

Overloaded function.

  1. __eq__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: samson.DataModel.DataGraph.Node.NodeType) -> bool
  2. __eq__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: int) -> bool
__ne__(*args, **kwargs)ΒΆ

Overloaded function.

  1. __ne__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: samson.DataModel.DataGraph.Node.NodeType) -> bool
  2. __ne__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: int) -> bool
ArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
ArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
Atom = NodeType.AtomΒΆ
Backbone = NodeType.StructuralModelNodeBackboneΒΆ
Bond = NodeType.StructuralModelNodeBondΒΆ
Camera = NodeType.DocumentCameraΒΆ
Chain = NodeType.StructuralModelNodeChainΒΆ
Conformation = NodeType.StructuralModelConformationΒΆ
Controller = NodeType.ControllerΒΆ
ControllerNode = NodeType.ControllerNodeΒΆ
DataGraphNodeGroup = NodeType.DataGraphNodeGroupΒΆ
Document = NodeType.DocumentΒΆ
DocumentCamera = NodeType.DocumentCameraΒΆ
DocumentLabel = NodeType.DocumentLabelΒΆ
DocumentLayer = NodeType.DocumentLayerΒΆ
DocumentManager = NodeType.DocumentManagerΒΆ
DynamicalGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModel = NodeType.DynamicalModelΒΆ
DynamicalModelArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
DynamicalModelNode = NodeType.DynamicalModelNodeΒΆ
DynamicalModelNodeArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
DynamicalModelNodeGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModelNodeParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalModelNodeRigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
DynamicalModelNodeRoot = NodeType.DynamicalModelNodeRootΒΆ
DynamicalModelParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
DynamicalModelRigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
DynamicalNode = NodeType.DynamicalModelNodeΒΆ
DynamicalParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalRoot = NodeType.DynamicalModelNodeRootΒΆ
InteractionModel = NodeType.InteractionModelΒΆ
InteractionModelArticulatedBodySystem = NodeType.InteractionModelArticulatedBodySystemΒΆ
InteractionModelParticleSystem = NodeType.InteractionModelParticleSystemΒΆ
InteractionModelRigidBodySystem = NodeType.InteractionModelRigidBodySystemΒΆ
Label = NodeType.DocumentLabelΒΆ
Layer = NodeType.DocumentLayerΒΆ
Molecule = NodeType.StructuralModelNodeMoleculeΒΆ
NodeGroup = NodeType.DataGraphNodeGroupΒΆ
ParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
Path = NodeType.StructuralModelPathΒΆ
PropertyModel = NodeType.PropertyModelΒΆ
PropertyModelFunction = NodeType.PropertyModelFunctionΒΆ
Protein = NodeType.StructuralModelNodeProteinΒΆ
PseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
Residue = NodeType.StructuralModelNodeResidueΒΆ
RigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
RigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
Root = NodeType.StructuralModelNodeRootΒΆ
Segment = NodeType.StructuralModelNodeSegmentΒΆ
SideChain = NodeType.StructuralModelNodeSideChainΒΆ
Simulator = NodeType.SimulatorΒΆ
SimulatorArticulatedBodySystem = NodeType.SimulatorArticulatedBodySystemΒΆ
SimulatorParticleSystem = NodeType.SimulatorParticleSystemΒΆ
SimulatorRigidBodySystem = NodeType.SimulatorRigidBodySystemΒΆ
StateUpdater = NodeType.StateUpdaterΒΆ
StateUpdaterArticulatedBodySystem = NodeType.StateUpdaterArticulatedBodySystemΒΆ
StateUpdaterParticleSystem = NodeType.StateUpdaterParticleSystemΒΆ
StateUpdaterRigidBodySystem = NodeType.StateUpdaterRigidBodySystemΒΆ
StructuralGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModel = NodeType.StructuralModelΒΆ
StructuralModelConformation = NodeType.StructuralModelConformationΒΆ
StructuralModelNode = NodeType.StructuralModelNodeΒΆ
StructuralModelNodeAtom = NodeType.AtomΒΆ
StructuralModelNodeBackbone = NodeType.StructuralModelNodeBackboneΒΆ
StructuralModelNodeBond = NodeType.StructuralModelNodeBondΒΆ
StructuralModelNodeChain = NodeType.StructuralModelNodeChainΒΆ
StructuralModelNodeGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModelNodeMolecule = NodeType.StructuralModelNodeMoleculeΒΆ
StructuralModelNodeParticle = NodeType.StructuralModelNodeParticleΒΆ
StructuralModelNodeProtein = NodeType.StructuralModelNodeProteinΒΆ
StructuralModelNodePseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
StructuralModelNodeResidue = NodeType.StructuralModelNodeResidueΒΆ
StructuralModelNodeRoot = NodeType.StructuralModelNodeRootΒΆ
StructuralModelNodeSegment = NodeType.StructuralModelNodeSegmentΒΆ
StructuralModelNodeSideChain = NodeType.StructuralModelNodeSideChainΒΆ
StructuralModelPath = NodeType.StructuralModelPathΒΆ
StructuralParticle = NodeType.StructuralModelNodeParticleΒΆ
Undefined = NodeType.UndefinedΒΆ
VisualModel = NodeType.VisualModelΒΆ
__ge__ΒΆ

Return self>=value.

__gt__ΒΆ

Return self>value.

__le__ΒΆ

Return self<=value.

__lt__ΒΆ

Return self<value.

addChild(self: samson.Modeling.DynamicalModel.Node, node: samson.Modeling.DynamicalModel.Node, nextNode: samson.Modeling.DynamicalModel.Node=0) → boolΒΆ

Adds a child to the node

addMaterial(self: samson.DataModel.DataGraph.Node, material: SBDDataGraphNodeMaterial) → boolΒΆ

Adds material to the node

castToInteractionModelParticleSystem(self: samson.DataModel.DataGraph.Node) → SBMInteractionModelParticleSystemΒΆ

Casts (if possible) from SBDDataGraphNode to SBMInteractionModelParticleSystem

castToLabel(self: samson.DataModel.DataGraph.Node) → SBDDocumentLabelΒΆ

Casts (if possible) from SBDDataGraphNode to SBDDocumentLabel

castToVisualModel(self: samson.DataModel.DataGraph.Node) → SBMVisualModelΒΆ

Casts (if possible) from SBDDataGraphNode to SBMVisualModel

clone(self: samson.Modeling.DynamicalModel.Node) → samson.Modeling.DynamicalModel.NodeΒΆ

Returns a copy of the node and its descendants

countNodes(self: samson.DataModel.DataGraph.Node, selectionString: str='*', visitString: str='*', includeDependencies: bool=False) → intΒΆ
Count nodes into nodeIndexer, based on a selectionPredicate and a visitPredicate, with our without dependencies).
For selectionString and visitString use Node Specification Language (SAMSON API: Node Specification Language
create(self: samson.DataModel.DataGraph.Node) → NoneΒΆ

Creates the node

erase(self: samson.DataModel.DataGraph.Node) → NoneΒΆ

Erases the node

getChildren(self: samson.Modeling.DynamicalModel.Node) → SBCReferencePointerList<SBMDynamicalModelNode, SBCReferenceToTarget>ΒΆ

Returns children of the node

getFlags(self: samson.DataModel.DataGraph.Node) → intΒΆ

Returns the flags

getInheritedFlags(self: samson.DataModel.DataGraph.Node) → intΒΆ

Returns the inherited flags

getMaterial(self: samson.DataModel.DataGraph.Node) → SBDDataGraphNodeMaterialΒΆ

Returns the material of the node

getMaterialOwner(self: samson.DataModel.DataGraph.Node) → samson.DataModel.DataGraph.NodeΒΆ

Returns the node whose material is inherited

getMemoryFootprint(self: samson.Core.Reference.SBCReferenceTarget) → intΒΆ

Returns the memory footprint

getNextDynamicalNode(self: samson.Modeling.DynamicalModel.Node) → samson.Modeling.DynamicalModel.NodeΒΆ
getNode(self: int) → samson.DataModel.DataGraph.NodeΒΆ

Returns the unique node corresponding to the node index nodeIndex

getNodes(self: samson.Modeling.DynamicalModel.Node, selectionString: str='*', visitString: str='*', includeDependencies: bool=False) → samson.DataModel.DataGraph.NodeIndexerΒΆ
Returns nodes (in a node indexer), based on a selectionString and a visitString, with our without dependencies).
For selectionString and visitString use Node Specification Language (SAMSON API: Node Specification Language
getParent(self: samson.Modeling.DynamicalModel.Node) → samson.DataModel.DataGraph.NodeΒΆ
getPreviousDynamicalNode(self: samson.Modeling.DynamicalModel.Node) → samson.Modeling.DynamicalModel.NodeΒΆ
getRoot(self: samson.DataModel.DataGraph.Node) → samson.DataModel.DataGraph.NodeΒΆ

Returns the root of the hierarchy the node belongs to

hasOneOf(self: samson.DataModel.DataGraph.Node, nodeIndexer: SBDDataGraphNodeIndexer) → boolΒΆ

Returns true if and only if this node is one of the nodes of the nodeIndexer, or is the ancestor of one of them

isIn(*args, **kwargs)ΒΆ

Overloaded function.

  1. isIn(self: samson.DataModel.DataGraph.Node, node: samson.DataModel.DataGraph.Node) -> bool

Returns true if and only if this node is node, or descends from it

  1. isIn(self: samson.DataModel.DataGraph.Node, nodeIndexer: SBDDataGraphNodeIndexer) -> bool

Returns true if and only if this node is one of the nodes of the nodeIndexer, or descends from one of them

isOneOf(self: samson.DataModel.DataGraph.Node, nodeIndexer: SBDDataGraphNodeIndexer) → boolΒΆ

Returns true if and only if this node is one of the nodes of the nodeIndexer

removeChild(self: samson.Modeling.DynamicalModel.Node, node: samson.Modeling.DynamicalModel.Node) → boolΒΆ

Removes a child from the node

removeMaterial(self: samson.DataModel.DataGraph.Node) → boolΒΆ

Removes material from the node

setColor(self: samson.DataModel.DataGraph.Node, color: SBDColor, applyToChildren: bool=False) → NoneΒΆ

Sets the color for the node (removes an existing material from the node and adds a given material based on a given color)

Args:

color (Color): material to set

applyToChildren (boolean): if set to True goes through child nodes (default value: False)

setMaterial(self: samson.DataModel.DataGraph.Node, material: SBDDataGraphNodeMaterial, applyToChildren: bool=False) → NoneΒΆ

Sets the material for the node (removes an existing material from the node and adds a given material)

Args:

material (Material): material to set

applyToChildren (boolean): if set to True goes through child nodes (default value: False)

sprint(self: samson.Modeling.DynamicalModel.Node, offset: int=0) → NoneΒΆ

Prints some debugging information

ArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
ArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
Atom = NodeType.AtomΒΆ
Backbone = NodeType.StructuralModelNodeBackboneΒΆ
Bond = NodeType.StructuralModelNodeBondΒΆ
Camera = NodeType.DocumentCameraΒΆ
Chain = NodeType.StructuralModelNodeChainΒΆ
Conformation = NodeType.StructuralModelConformationΒΆ
Controller = NodeType.ControllerΒΆ
ControllerNode = NodeType.ControllerNodeΒΆ
DataGraphNodeGroup = NodeType.DataGraphNodeGroupΒΆ
Document = NodeType.DocumentΒΆ
DocumentCamera = NodeType.DocumentCameraΒΆ
DocumentLabel = NodeType.DocumentLabelΒΆ
DocumentLayer = NodeType.DocumentLayerΒΆ
DocumentManager = NodeType.DocumentManagerΒΆ
DynamicalGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModel = NodeType.DynamicalModelΒΆ
DynamicalModelArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
DynamicalModelNode = NodeType.DynamicalModelNodeΒΆ
DynamicalModelNodeArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
DynamicalModelNodeGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModelNodeParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalModelNodeRigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
DynamicalModelNodeRoot = NodeType.DynamicalModelNodeRootΒΆ
DynamicalModelParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
DynamicalModelRigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
DynamicalNode = NodeType.DynamicalModelNodeΒΆ
DynamicalParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalRoot = NodeType.DynamicalModelNodeRootΒΆ
InteractionModel = NodeType.InteractionModelΒΆ
InteractionModelArticulatedBodySystem = NodeType.InteractionModelArticulatedBodySystemΒΆ
InteractionModelParticleSystem = NodeType.InteractionModelParticleSystemΒΆ
InteractionModelRigidBodySystem = NodeType.InteractionModelRigidBodySystemΒΆ
Label = NodeType.DocumentLabelΒΆ
Layer = NodeType.DocumentLayerΒΆ
Molecule = NodeType.StructuralModelNodeMoleculeΒΆ
NodeGroup = NodeType.DataGraphNodeGroupΒΆ
ParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
Path = NodeType.StructuralModelPathΒΆ
PropertyModel = NodeType.PropertyModelΒΆ
PropertyModelFunction = NodeType.PropertyModelFunctionΒΆ
Protein = NodeType.StructuralModelNodeProteinΒΆ
PseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
Residue = NodeType.StructuralModelNodeResidueΒΆ
RigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
RigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
Root = NodeType.StructuralModelNodeRootΒΆ
Segment = NodeType.StructuralModelNodeSegmentΒΆ
SideChain = NodeType.StructuralModelNodeSideChainΒΆ
Simulator = NodeType.SimulatorΒΆ
SimulatorArticulatedBodySystem = NodeType.SimulatorArticulatedBodySystemΒΆ
SimulatorParticleSystem = NodeType.SimulatorParticleSystemΒΆ
SimulatorRigidBodySystem = NodeType.SimulatorRigidBodySystemΒΆ
StateUpdater = NodeType.StateUpdaterΒΆ
StateUpdaterArticulatedBodySystem = NodeType.StateUpdaterArticulatedBodySystemΒΆ
StateUpdaterParticleSystem = NodeType.StateUpdaterParticleSystemΒΆ
StateUpdaterRigidBodySystem = NodeType.StateUpdaterRigidBodySystemΒΆ
StructuralGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModel = NodeType.StructuralModelΒΆ
StructuralModelConformation = NodeType.StructuralModelConformationΒΆ
StructuralModelNode = NodeType.StructuralModelNodeΒΆ
StructuralModelNodeAtom = NodeType.AtomΒΆ
StructuralModelNodeBackbone = NodeType.StructuralModelNodeBackboneΒΆ
StructuralModelNodeBond = NodeType.StructuralModelNodeBondΒΆ
StructuralModelNodeChain = NodeType.StructuralModelNodeChainΒΆ
StructuralModelNodeGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModelNodeMolecule = NodeType.StructuralModelNodeMoleculeΒΆ
StructuralModelNodeParticle = NodeType.StructuralModelNodeParticleΒΆ
StructuralModelNodeProtein = NodeType.StructuralModelNodeProteinΒΆ
StructuralModelNodePseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
StructuralModelNodeResidue = NodeType.StructuralModelNodeResidueΒΆ
StructuralModelNodeRoot = NodeType.StructuralModelNodeRootΒΆ
StructuralModelNodeSegment = NodeType.StructuralModelNodeSegmentΒΆ
StructuralModelNodeSideChain = NodeType.StructuralModelNodeSideChainΒΆ
StructuralModelPath = NodeType.StructuralModelPathΒΆ
StructuralParticle = NodeType.StructuralModelNodeParticleΒΆ
Undefined = NodeType.UndefinedΒΆ
VisualModel = NodeType.VisualModelΒΆ
__eq__ΒΆ

Return self==value.

__ge__ΒΆ

Return self>=value.

__gt__ΒΆ

Return self>value.

__le__ΒΆ

Return self<=value.

__lt__ΒΆ

Return self<value.

__ne__ΒΆ

Return self!=value.

highlightingFlagΒΆ
isCreatedΒΆ

Returns true if and only if the node is created

isErasedΒΆ

Returns true if and only if the node is erased

isHighlightedΒΆ

Returns whether the node is highlighted

isSelectedΒΆ

Returns whether the node is selected

isSerializableΒΆ

Returns true when the class is serializable

isVisibleΒΆ

Returns whether the node is visible

nodeIndexΒΆ

Returns the node index (unique in the whole data graph, but non-persistent)

selectionFlagΒΆ
typeΒΆ
typeStringΒΆ

Returns a string describing the type of the data graph node

visibilityFlagΒΆ
class samson.Modeling.DynamicalModel.ParticleΒΆ

Bases: samson.Modeling.DynamicalModel.Node

This class describes a dynamical particle in a dynamical particle system.

SAMSON API: SBMDynamicalModelNodeParticle

class NodeType(self: samson.DataModel.DataGraph.Node.NodeType, arg0: int) → NoneΒΆ

Bases: pybind11_builtins.pybind11_object

__eq__(*args, **kwargs)ΒΆ

Overloaded function.

  1. __eq__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: samson.DataModel.DataGraph.Node.NodeType) -> bool
  2. __eq__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: int) -> bool
__ne__(*args, **kwargs)ΒΆ

Overloaded function.

  1. __ne__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: samson.DataModel.DataGraph.Node.NodeType) -> bool
  2. __ne__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: int) -> bool
ArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
ArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
Atom = NodeType.AtomΒΆ
Backbone = NodeType.StructuralModelNodeBackboneΒΆ
Bond = NodeType.StructuralModelNodeBondΒΆ
Camera = NodeType.DocumentCameraΒΆ
Chain = NodeType.StructuralModelNodeChainΒΆ
Conformation = NodeType.StructuralModelConformationΒΆ
Controller = NodeType.ControllerΒΆ
ControllerNode = NodeType.ControllerNodeΒΆ
DataGraphNodeGroup = NodeType.DataGraphNodeGroupΒΆ
Document = NodeType.DocumentΒΆ
DocumentCamera = NodeType.DocumentCameraΒΆ
DocumentLabel = NodeType.DocumentLabelΒΆ
DocumentLayer = NodeType.DocumentLayerΒΆ
DocumentManager = NodeType.DocumentManagerΒΆ
DynamicalGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModel = NodeType.DynamicalModelΒΆ
DynamicalModelArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
DynamicalModelNode = NodeType.DynamicalModelNodeΒΆ
DynamicalModelNodeArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
DynamicalModelNodeGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModelNodeParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalModelNodeRigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
DynamicalModelNodeRoot = NodeType.DynamicalModelNodeRootΒΆ
DynamicalModelParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
DynamicalModelRigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
DynamicalNode = NodeType.DynamicalModelNodeΒΆ
DynamicalParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalRoot = NodeType.DynamicalModelNodeRootΒΆ
InteractionModel = NodeType.InteractionModelΒΆ
InteractionModelArticulatedBodySystem = NodeType.InteractionModelArticulatedBodySystemΒΆ
InteractionModelParticleSystem = NodeType.InteractionModelParticleSystemΒΆ
InteractionModelRigidBodySystem = NodeType.InteractionModelRigidBodySystemΒΆ
Label = NodeType.DocumentLabelΒΆ
Layer = NodeType.DocumentLayerΒΆ
Molecule = NodeType.StructuralModelNodeMoleculeΒΆ
NodeGroup = NodeType.DataGraphNodeGroupΒΆ
ParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
Path = NodeType.StructuralModelPathΒΆ
PropertyModel = NodeType.PropertyModelΒΆ
PropertyModelFunction = NodeType.PropertyModelFunctionΒΆ
Protein = NodeType.StructuralModelNodeProteinΒΆ
PseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
Residue = NodeType.StructuralModelNodeResidueΒΆ
RigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
RigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
Root = NodeType.StructuralModelNodeRootΒΆ
Segment = NodeType.StructuralModelNodeSegmentΒΆ
SideChain = NodeType.StructuralModelNodeSideChainΒΆ
Simulator = NodeType.SimulatorΒΆ
SimulatorArticulatedBodySystem = NodeType.SimulatorArticulatedBodySystemΒΆ
SimulatorParticleSystem = NodeType.SimulatorParticleSystemΒΆ
SimulatorRigidBodySystem = NodeType.SimulatorRigidBodySystemΒΆ
StateUpdater = NodeType.StateUpdaterΒΆ
StateUpdaterArticulatedBodySystem = NodeType.StateUpdaterArticulatedBodySystemΒΆ
StateUpdaterParticleSystem = NodeType.StateUpdaterParticleSystemΒΆ
StateUpdaterRigidBodySystem = NodeType.StateUpdaterRigidBodySystemΒΆ
StructuralGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModel = NodeType.StructuralModelΒΆ
StructuralModelConformation = NodeType.StructuralModelConformationΒΆ
StructuralModelNode = NodeType.StructuralModelNodeΒΆ
StructuralModelNodeAtom = NodeType.AtomΒΆ
StructuralModelNodeBackbone = NodeType.StructuralModelNodeBackboneΒΆ
StructuralModelNodeBond = NodeType.StructuralModelNodeBondΒΆ
StructuralModelNodeChain = NodeType.StructuralModelNodeChainΒΆ
StructuralModelNodeGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModelNodeMolecule = NodeType.StructuralModelNodeMoleculeΒΆ
StructuralModelNodeParticle = NodeType.StructuralModelNodeParticleΒΆ
StructuralModelNodeProtein = NodeType.StructuralModelNodeProteinΒΆ
StructuralModelNodePseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
StructuralModelNodeResidue = NodeType.StructuralModelNodeResidueΒΆ
StructuralModelNodeRoot = NodeType.StructuralModelNodeRootΒΆ
StructuralModelNodeSegment = NodeType.StructuralModelNodeSegmentΒΆ
StructuralModelNodeSideChain = NodeType.StructuralModelNodeSideChainΒΆ
StructuralModelPath = NodeType.StructuralModelPathΒΆ
StructuralParticle = NodeType.StructuralModelNodeParticleΒΆ
Undefined = NodeType.UndefinedΒΆ
VisualModel = NodeType.VisualModelΒΆ
__ge__ΒΆ

Return self>=value.

__gt__ΒΆ

Return self>value.

__le__ΒΆ

Return self<=value.

__lt__ΒΆ

Return self<value.

addChild(self: samson.Modeling.DynamicalModel.Node, node: samson.Modeling.DynamicalModel.Node, nextNode: samson.Modeling.DynamicalModel.Node=0) → boolΒΆ

Adds a child to the node

addMaterial(self: samson.DataModel.DataGraph.Node, material: SBDDataGraphNodeMaterial) → boolΒΆ

Adds material to the node

castToInteractionModelParticleSystem(self: samson.DataModel.DataGraph.Node) → SBMInteractionModelParticleSystemΒΆ

Casts (if possible) from SBDDataGraphNode to SBMInteractionModelParticleSystem

castToLabel(self: samson.DataModel.DataGraph.Node) → SBDDocumentLabelΒΆ

Casts (if possible) from SBDDataGraphNode to SBDDocumentLabel

castToVisualModel(self: samson.DataModel.DataGraph.Node) → SBMVisualModelΒΆ

Casts (if possible) from SBDDataGraphNode to SBMVisualModel

clone(self: samson.Modeling.DynamicalModel.Node) → samson.Modeling.DynamicalModel.NodeΒΆ

Returns a copy of the node and its descendants

countNodes(self: samson.DataModel.DataGraph.Node, selectionString: str='*', visitString: str='*', includeDependencies: bool=False) → intΒΆ
Count nodes into nodeIndexer, based on a selectionPredicate and a visitPredicate, with our without dependencies).
For selectionString and visitString use Node Specification Language (SAMSON API: Node Specification Language
create(self: samson.DataModel.DataGraph.Node) → NoneΒΆ

Creates the node

erase(self: samson.DataModel.DataGraph.Node) → NoneΒΆ

Erases the node

getChildren(self: samson.Modeling.DynamicalModel.Node) → SBCReferencePointerList<SBMDynamicalModelNode, SBCReferenceToTarget>ΒΆ

Returns children of the node

getFlags(self: samson.DataModel.DataGraph.Node) → intΒΆ

Returns the flags

getInheritedFlags(self: samson.DataModel.DataGraph.Node) → intΒΆ

Returns the inherited flags

getMaterial(self: samson.DataModel.DataGraph.Node) → SBDDataGraphNodeMaterialΒΆ

Returns the material of the node

getMaterialOwner(self: samson.DataModel.DataGraph.Node) → samson.DataModel.DataGraph.NodeΒΆ

Returns the node whose material is inherited

getMemoryFootprint(self: samson.Core.Reference.SBCReferenceTarget) → intΒΆ

Returns the memory footprint

getNextDynamicalNode(self: samson.Modeling.DynamicalModel.Node) → samson.Modeling.DynamicalModel.NodeΒΆ
getNode(self: int) → samson.DataModel.DataGraph.NodeΒΆ

Returns the unique node corresponding to the node index nodeIndex

getNodes(self: samson.Modeling.DynamicalModel.Node, selectionString: str='*', visitString: str='*', includeDependencies: bool=False) → samson.DataModel.DataGraph.NodeIndexerΒΆ
Returns nodes (in a node indexer), based on a selectionString and a visitString, with our without dependencies).
For selectionString and visitString use Node Specification Language (SAMSON API: Node Specification Language
getParent(self: samson.Modeling.DynamicalModel.Node) → samson.DataModel.DataGraph.NodeΒΆ
getPreviousDynamicalNode(self: samson.Modeling.DynamicalModel.Node) → samson.Modeling.DynamicalModel.NodeΒΆ
getRoot(self: samson.DataModel.DataGraph.Node) → samson.DataModel.DataGraph.NodeΒΆ

Returns the root of the hierarchy the node belongs to

hasOneOf(self: samson.DataModel.DataGraph.Node, nodeIndexer: SBDDataGraphNodeIndexer) → boolΒΆ

Returns true if and only if this node is one of the nodes of the nodeIndexer, or is the ancestor of one of them

isIn(*args, **kwargs)ΒΆ

Overloaded function.

  1. isIn(self: samson.DataModel.DataGraph.Node, node: samson.DataModel.DataGraph.Node) -> bool

Returns true if and only if this node is node, or descends from it

  1. isIn(self: samson.DataModel.DataGraph.Node, nodeIndexer: SBDDataGraphNodeIndexer) -> bool

Returns true if and only if this node is one of the nodes of the nodeIndexer, or descends from one of them

isOneOf(self: samson.DataModel.DataGraph.Node, nodeIndexer: SBDDataGraphNodeIndexer) → boolΒΆ

Returns true if and only if this node is one of the nodes of the nodeIndexer

removeChild(self: samson.Modeling.DynamicalModel.Node, node: samson.Modeling.DynamicalModel.Node) → boolΒΆ

Removes a child from the node

removeMaterial(self: samson.DataModel.DataGraph.Node) → boolΒΆ

Removes material from the node

setColor(self: samson.DataModel.DataGraph.Node, color: SBDColor, applyToChildren: bool=False) → NoneΒΆ

Sets the color for the node (removes an existing material from the node and adds a given material based on a given color)

Args:

color (Color): material to set

applyToChildren (boolean): if set to True goes through child nodes (default value: False)

setMaterial(self: samson.DataModel.DataGraph.Node, material: SBDDataGraphNodeMaterial, applyToChildren: bool=False) → NoneΒΆ

Sets the material for the node (removes an existing material from the node and adds a given material)

Args:

material (Material): material to set

applyToChildren (boolean): if set to True goes through child nodes (default value: False)

sprint(self: samson.Modeling.DynamicalModel.Particle, offset: int=0) → NoneΒΆ

Prints some debugging information

ArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
ArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
Atom = NodeType.AtomΒΆ
Backbone = NodeType.StructuralModelNodeBackboneΒΆ
Bond = NodeType.StructuralModelNodeBondΒΆ
Camera = NodeType.DocumentCameraΒΆ
Chain = NodeType.StructuralModelNodeChainΒΆ
Conformation = NodeType.StructuralModelConformationΒΆ
Controller = NodeType.ControllerΒΆ
ControllerNode = NodeType.ControllerNodeΒΆ
DataGraphNodeGroup = NodeType.DataGraphNodeGroupΒΆ
Document = NodeType.DocumentΒΆ
DocumentCamera = NodeType.DocumentCameraΒΆ
DocumentLabel = NodeType.DocumentLabelΒΆ
DocumentLayer = NodeType.DocumentLayerΒΆ
DocumentManager = NodeType.DocumentManagerΒΆ
DynamicalGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModel = NodeType.DynamicalModelΒΆ
DynamicalModelArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
DynamicalModelNode = NodeType.DynamicalModelNodeΒΆ
DynamicalModelNodeArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
DynamicalModelNodeGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModelNodeParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalModelNodeRigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
DynamicalModelNodeRoot = NodeType.DynamicalModelNodeRootΒΆ
DynamicalModelParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
DynamicalModelRigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
DynamicalNode = NodeType.DynamicalModelNodeΒΆ
DynamicalParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalRoot = NodeType.DynamicalModelNodeRootΒΆ
InteractionModel = NodeType.InteractionModelΒΆ
InteractionModelArticulatedBodySystem = NodeType.InteractionModelArticulatedBodySystemΒΆ
InteractionModelParticleSystem = NodeType.InteractionModelParticleSystemΒΆ
InteractionModelRigidBodySystem = NodeType.InteractionModelRigidBodySystemΒΆ
Label = NodeType.DocumentLabelΒΆ
Layer = NodeType.DocumentLayerΒΆ
Molecule = NodeType.StructuralModelNodeMoleculeΒΆ
NodeGroup = NodeType.DataGraphNodeGroupΒΆ
ParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
Path = NodeType.StructuralModelPathΒΆ
PropertyModel = NodeType.PropertyModelΒΆ
PropertyModelFunction = NodeType.PropertyModelFunctionΒΆ
Protein = NodeType.StructuralModelNodeProteinΒΆ
PseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
Residue = NodeType.StructuralModelNodeResidueΒΆ
RigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
RigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
Root = NodeType.StructuralModelNodeRootΒΆ
Segment = NodeType.StructuralModelNodeSegmentΒΆ
SideChain = NodeType.StructuralModelNodeSideChainΒΆ
Simulator = NodeType.SimulatorΒΆ
SimulatorArticulatedBodySystem = NodeType.SimulatorArticulatedBodySystemΒΆ
SimulatorParticleSystem = NodeType.SimulatorParticleSystemΒΆ
SimulatorRigidBodySystem = NodeType.SimulatorRigidBodySystemΒΆ
StateUpdater = NodeType.StateUpdaterΒΆ
StateUpdaterArticulatedBodySystem = NodeType.StateUpdaterArticulatedBodySystemΒΆ
StateUpdaterParticleSystem = NodeType.StateUpdaterParticleSystemΒΆ
StateUpdaterRigidBodySystem = NodeType.StateUpdaterRigidBodySystemΒΆ
StructuralGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModel = NodeType.StructuralModelΒΆ
StructuralModelConformation = NodeType.StructuralModelConformationΒΆ
StructuralModelNode = NodeType.StructuralModelNodeΒΆ
StructuralModelNodeAtom = NodeType.AtomΒΆ
StructuralModelNodeBackbone = NodeType.StructuralModelNodeBackboneΒΆ
StructuralModelNodeBond = NodeType.StructuralModelNodeBondΒΆ
StructuralModelNodeChain = NodeType.StructuralModelNodeChainΒΆ
StructuralModelNodeGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModelNodeMolecule = NodeType.StructuralModelNodeMoleculeΒΆ
StructuralModelNodeParticle = NodeType.StructuralModelNodeParticleΒΆ
StructuralModelNodeProtein = NodeType.StructuralModelNodeProteinΒΆ
StructuralModelNodePseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
StructuralModelNodeResidue = NodeType.StructuralModelNodeResidueΒΆ
StructuralModelNodeRoot = NodeType.StructuralModelNodeRootΒΆ
StructuralModelNodeSegment = NodeType.StructuralModelNodeSegmentΒΆ
StructuralModelNodeSideChain = NodeType.StructuralModelNodeSideChainΒΆ
StructuralModelPath = NodeType.StructuralModelPathΒΆ
StructuralParticle = NodeType.StructuralModelNodeParticleΒΆ
Undefined = NodeType.UndefinedΒΆ
VisualModel = NodeType.VisualModelΒΆ
__eq__ΒΆ

Return self==value.

__ge__ΒΆ

Return self>=value.

__gt__ΒΆ

Return self>value.

__le__ΒΆ

Return self<=value.

__lt__ΒΆ

Return self<value.

__ne__ΒΆ

Return self!=value.

highlightingFlagΒΆ
isCreatedΒΆ

Returns true if and only if the node is created

isErasedΒΆ

Returns true if and only if the node is erased

isHighlightedΒΆ

Returns whether the node is highlighted

isSelectedΒΆ

Returns whether the node is selected

isSerializableΒΆ

Returns true when the class is serializable

isVisibleΒΆ

Returns whether the node is visible

nodeIndexΒΆ

Returns the node index (unique in the whole data graph, but non-persistent)

selectionFlagΒΆ
typeΒΆ
typeStringΒΆ

Returns a string describing the type of the data graph node

visibilityFlagΒΆ
class samson.Modeling.DynamicalModel.ParticleSystem(*args, **kwargs)ΒΆ

Bases: samson.Modeling.DynamicalModel.DynamicalModel

This class describes a dynamical particle system.

SAMSON API: SBMDynamicalModelParticleSystem

Overloaded function.

  1. __init__(self: samson.Modeling.DynamicalModel.ParticleSystem) -> None

Constructs a dynamical particle system

  1. __init__(self: samson.Modeling.DynamicalModel.ParticleSystem, nodeIndexer: samson.DataModel.DataGraph.NodeIndexer) -> None

Constructs a dynamical particle system based in nodeIndexer

class NodeType(self: samson.DataModel.DataGraph.Node.NodeType, arg0: int) → NoneΒΆ

Bases: pybind11_builtins.pybind11_object

__eq__(*args, **kwargs)ΒΆ

Overloaded function.

  1. __eq__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: samson.DataModel.DataGraph.Node.NodeType) -> bool
  2. __eq__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: int) -> bool
__ne__(*args, **kwargs)ΒΆ

Overloaded function.

  1. __ne__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: samson.DataModel.DataGraph.Node.NodeType) -> bool
  2. __ne__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: int) -> bool
ArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
ArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
Atom = NodeType.AtomΒΆ
Backbone = NodeType.StructuralModelNodeBackboneΒΆ
Bond = NodeType.StructuralModelNodeBondΒΆ
Camera = NodeType.DocumentCameraΒΆ
Chain = NodeType.StructuralModelNodeChainΒΆ
Conformation = NodeType.StructuralModelConformationΒΆ
Controller = NodeType.ControllerΒΆ
ControllerNode = NodeType.ControllerNodeΒΆ
DataGraphNodeGroup = NodeType.DataGraphNodeGroupΒΆ
Document = NodeType.DocumentΒΆ
DocumentCamera = NodeType.DocumentCameraΒΆ
DocumentLabel = NodeType.DocumentLabelΒΆ
DocumentLayer = NodeType.DocumentLayerΒΆ
DocumentManager = NodeType.DocumentManagerΒΆ
DynamicalGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModel = NodeType.DynamicalModelΒΆ
DynamicalModelArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
DynamicalModelNode = NodeType.DynamicalModelNodeΒΆ
DynamicalModelNodeArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
DynamicalModelNodeGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModelNodeParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalModelNodeRigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
DynamicalModelNodeRoot = NodeType.DynamicalModelNodeRootΒΆ
DynamicalModelParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
DynamicalModelRigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
DynamicalNode = NodeType.DynamicalModelNodeΒΆ
DynamicalParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalRoot = NodeType.DynamicalModelNodeRootΒΆ
InteractionModel = NodeType.InteractionModelΒΆ
InteractionModelArticulatedBodySystem = NodeType.InteractionModelArticulatedBodySystemΒΆ
InteractionModelParticleSystem = NodeType.InteractionModelParticleSystemΒΆ
InteractionModelRigidBodySystem = NodeType.InteractionModelRigidBodySystemΒΆ
Label = NodeType.DocumentLabelΒΆ
Layer = NodeType.DocumentLayerΒΆ
Molecule = NodeType.StructuralModelNodeMoleculeΒΆ
NodeGroup = NodeType.DataGraphNodeGroupΒΆ
ParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
Path = NodeType.StructuralModelPathΒΆ
PropertyModel = NodeType.PropertyModelΒΆ
PropertyModelFunction = NodeType.PropertyModelFunctionΒΆ
Protein = NodeType.StructuralModelNodeProteinΒΆ
PseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
Residue = NodeType.StructuralModelNodeResidueΒΆ
RigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
RigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
Root = NodeType.StructuralModelNodeRootΒΆ
Segment = NodeType.StructuralModelNodeSegmentΒΆ
SideChain = NodeType.StructuralModelNodeSideChainΒΆ
Simulator = NodeType.SimulatorΒΆ
SimulatorArticulatedBodySystem = NodeType.SimulatorArticulatedBodySystemΒΆ
SimulatorParticleSystem = NodeType.SimulatorParticleSystemΒΆ
SimulatorRigidBodySystem = NodeType.SimulatorRigidBodySystemΒΆ
StateUpdater = NodeType.StateUpdaterΒΆ
StateUpdaterArticulatedBodySystem = NodeType.StateUpdaterArticulatedBodySystemΒΆ
StateUpdaterParticleSystem = NodeType.StateUpdaterParticleSystemΒΆ
StateUpdaterRigidBodySystem = NodeType.StateUpdaterRigidBodySystemΒΆ
StructuralGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModel = NodeType.StructuralModelΒΆ
StructuralModelConformation = NodeType.StructuralModelConformationΒΆ
StructuralModelNode = NodeType.StructuralModelNodeΒΆ
StructuralModelNodeAtom = NodeType.AtomΒΆ
StructuralModelNodeBackbone = NodeType.StructuralModelNodeBackboneΒΆ
StructuralModelNodeBond = NodeType.StructuralModelNodeBondΒΆ
StructuralModelNodeChain = NodeType.StructuralModelNodeChainΒΆ
StructuralModelNodeGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModelNodeMolecule = NodeType.StructuralModelNodeMoleculeΒΆ
StructuralModelNodeParticle = NodeType.StructuralModelNodeParticleΒΆ
StructuralModelNodeProtein = NodeType.StructuralModelNodeProteinΒΆ
StructuralModelNodePseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
StructuralModelNodeResidue = NodeType.StructuralModelNodeResidueΒΆ
StructuralModelNodeRoot = NodeType.StructuralModelNodeRootΒΆ
StructuralModelNodeSegment = NodeType.StructuralModelNodeSegmentΒΆ
StructuralModelNodeSideChain = NodeType.StructuralModelNodeSideChainΒΆ
StructuralModelPath = NodeType.StructuralModelPathΒΆ
StructuralParticle = NodeType.StructuralModelNodeParticleΒΆ
Undefined = NodeType.UndefinedΒΆ
VisualModel = NodeType.VisualModelΒΆ
__ge__ΒΆ

Return self>=value.

__gt__ΒΆ

Return self>value.

__le__ΒΆ

Return self<=value.

__lt__ΒΆ

Return self<value.

addChild(self: samson.DataModel.DataGraph.Node, node: samson.DataModel.DataGraph.Node, nextNode: samson.DataModel.DataGraph.Node=None) → boolΒΆ

Adds a child to the node

addMaterial(self: samson.DataModel.DataGraph.Node, material: SBDDataGraphNodeMaterial) → boolΒΆ

Adds material to the node

addParticle(self: samson.Modeling.DynamicalModel.ParticleSystem, particle: samson.Modeling.StructuralModel.NodeParticle) → intΒΆ

Adds a particle to the particle system

castToInteractionModelParticleSystem(self: samson.DataModel.DataGraph.Node) → SBMInteractionModelParticleSystemΒΆ

Casts (if possible) from SBDDataGraphNode to SBMInteractionModelParticleSystem

castToLabel(self: samson.DataModel.DataGraph.Node) → SBDDocumentLabelΒΆ

Casts (if possible) from SBDDataGraphNode to SBDDocumentLabel

castToVisualModel(self: samson.DataModel.DataGraph.Node) → SBMVisualModelΒΆ

Casts (if possible) from SBDDataGraphNode to SBMVisualModel

clone(self: samson.Modeling.DynamicalModel.DynamicalModel) → samson.Modeling.DynamicalModel.DynamicalModelΒΆ

Returns a copy of the node and its descendants

correctDistanceWithPBC(self: samson.Modeling.DynamicalModel.ParticleSystem, distance: samson.DataModel.Type.vector3) → NoneΒΆ
countNodes(self: samson.DataModel.DataGraph.Node, selectionString: str='*', visitString: str='*', includeDependencies: bool=False) → intΒΆ
Count nodes into nodeIndexer, based on a selectionPredicate and a visitPredicate, with our without dependencies).
For selectionString and visitString use Node Specification Language (SAMSON API: Node Specification Language
create(self: samson.DataModel.DataGraph.Node) → NoneΒΆ

Creates the node

enforcePeriodicBoundaryConditions(self: samson.Modeling.DynamicalModel.ParticleSystem) → boolΒΆ

Enforces the periodic boundary conditions

erase(self: samson.DataModel.DataGraph.Node) → NoneΒΆ

Erases the node

flushMomentumBuffer(self: samson.Modeling.DynamicalModel.ParticleSystem) → NoneΒΆ

Flushes the momentum buffer

flushPositionBuffer(self: samson.Modeling.DynamicalModel.ParticleSystem) → NoneΒΆ

Flushes the position buffer

getActivityFlag(*args, **kwargs)ΒΆ

Overloaded function.

  1. getActivityFlag(self: samson.Modeling.DynamicalModel.ParticleSystem, particle: samson.Modeling.StructuralModel.NodeParticle) -> bool

returns activity flag of a particle

  1. getActivityFlag(self: samson.Modeling.DynamicalModel.ParticleSystem, particleIndex: int) -> bool

returns activity flag of a particle

getChangedMomentumIndex(self: samson.Modeling.DynamicalModel.ParticleSystem, i: int) → intΒΆ

Returns the index of a changed momentum

getChangedPositionIndex(self: samson.Modeling.DynamicalModel.ParticleSystem, i: int) → intΒΆ

Returns the index of a changed position

getDynamicalRoot(self: samson.Modeling.DynamicalModel.DynamicalModel) → SBMDynamicalModelNodeRootΒΆ

Returns the root of the dynamical model

getFlags(self: samson.DataModel.DataGraph.Node) → intΒΆ

Returns the flags

getInheritedFlags(self: samson.DataModel.DataGraph.Node) → intΒΆ

Returns the inherited flags

getInverseMass(*args, **kwargs)ΒΆ

Overloaded function.

  1. getInverseMass(self: samson.Modeling.DynamicalModel.ParticleSystem, particle: samson.Modeling.StructuralModel.NodeParticle) -> samson.DataModel.Quantity.unitsSI

returns inverse mass of a particle

  1. getInverseMass(self: samson.Modeling.DynamicalModel.ParticleSystem, particleIndex: int) -> samson.DataModel.Quantity.unitsSI

returns inverse mass of a particle

getLayer(self: samson.Modeling.Model.SBMModel) → samson.DataModel.Document.LayerΒΆ

Returns the owning document layer

getMass(*args, **kwargs)ΒΆ

Overloaded function.

  1. getMass(self: samson.Modeling.DynamicalModel.ParticleSystem, particle: samson.Modeling.StructuralModel.NodeParticle) -> samson.DataModel.Quantity.unitsSI

returns mass of a particle

  1. getMass(self: samson.Modeling.DynamicalModel.ParticleSystem, particleIndex: int) -> samson.DataModel.Quantity.unitsSI

returns mass of a particle

getMaterial(self: samson.DataModel.DataGraph.Node) → SBDDataGraphNodeMaterialΒΆ

Returns the material of the node

getMaterialOwner(self: samson.DataModel.DataGraph.Node) → samson.DataModel.DataGraph.NodeΒΆ

Returns the node whose material is inherited

getMemoryFootprint(self: samson.Core.Reference.SBCReferenceTarget) → intΒΆ

Returns the memory footprint

getMomentum(self: samson.Modeling.DynamicalModel.ParticleSystem, i: int) → samson.DataModel.Type.vector3ΒΆ

Returns the momentum of a particle

getNextModel(self: samson.Modeling.Model.SBMModel) → samson.Modeling.Model.SBMModelΒΆ

Returns the next model in the document layer

getNode(self: int) → samson.DataModel.DataGraph.NodeΒΆ

Returns the unique node corresponding to the node index nodeIndex

getNodes(self: samson.Modeling.DynamicalModel.DynamicalModel, selectionString: str='*', visitString: str='*', includeDependencies: bool=False) → samson.DataModel.DataGraph.NodeIndexerΒΆ
Returns nodes (in a node indexer), based on a selectionString and a visitString, with our without dependencies).
For selectionString and visitString use Node Specification Language (SAMSON API: Node Specification Language
getNumberOfChangedPositions(self: samson.Modeling.DynamicalModel.DynamicalModel) → intΒΆ

Returns the number of changed positions

getParent(self: samson.Modeling.Model.SBMModel) → samson.DataModel.DataGraph.NodeΒΆ

Returns the parent node

getPosition(self: samson.Modeling.DynamicalModel.ParticleSystem, i: int) → samson.DataModel.Type.vector3ΒΆ

Returns the position of a particle

getPositionChanged(*args, **kwargs)ΒΆ

Overloaded function.

  1. getPositionChanged(self: samson.Modeling.DynamicalModel.ParticleSystem, i: int) -> bool

Returns whether position i has been changed since the last flush

  1. getPositionChanged(self: samson.Modeling.DynamicalModel.ParticleSystem, i: int) -> bool

Returns whether momentum i has been changed since the last flush

getPreviousModel(self: samson.Modeling.Model.SBMModel) → samson.Modeling.Model.SBMModelΒΆ

Returns the previous model in the document layer

getRoot(self: samson.DataModel.DataGraph.Node) → samson.DataModel.DataGraph.NodeΒΆ

Returns the root of the hierarchy the node belongs to

getStructuralParticleIndexer(self: samson.Modeling.DynamicalModel.ParticleSystem) → SBCReferencePointerIndexer<SBMStructuralModelNodeParticle, SBCReferenceToTarget>ΒΆ

Returns the particle index of the particle system

hasOneOf(self: samson.DataModel.DataGraph.Node, nodeIndexer: SBDDataGraphNodeIndexer) → boolΒΆ

Returns true if and only if this node is one of the nodes of the nodeIndexer, or is the ancestor of one of them

isIn(*args, **kwargs)ΒΆ

Overloaded function.

  1. isIn(self: samson.DataModel.DataGraph.Node, node: samson.DataModel.DataGraph.Node) -> bool

Returns true if and only if this node is node, or descends from it

  1. isIn(self: samson.DataModel.DataGraph.Node, nodeIndexer: SBDDataGraphNodeIndexer) -> bool

Returns true if and only if this node is one of the nodes of the nodeIndexer, or descends from one of them

isOneOf(self: samson.DataModel.DataGraph.Node, nodeIndexer: SBDDataGraphNodeIndexer) → boolΒΆ

Returns true if and only if this node is one of the nodes of the nodeIndexer

removeChild(self: samson.DataModel.DataGraph.Node, node: samson.DataModel.DataGraph.Node) → boolΒΆ

Removes a child from the node

removeMaterial(self: samson.DataModel.DataGraph.Node) → boolΒΆ

Removes material from the node

removeParticle(*args, **kwargs)ΒΆ

Overloaded function.

  1. removeParticle(self: samson.Modeling.DynamicalModel.ParticleSystem, particle: samson.Modeling.StructuralModel.NodeParticle) -> None

Removes a particle from the particle system

  1. removeParticle(self: samson.Modeling.DynamicalModel.ParticleSystem, particleIndex: int) -> None

Removes a particle from the particle system

roundForPBC(self: samson.Modeling.DynamicalModel.ParticleSystem, position: samson.DataModel.Quantity.unitsSI) → intΒΆ
setActivityFlag(*args, **kwargs)ΒΆ

Overloaded function.

  1. setActivityFlag(self: samson.Modeling.DynamicalModel.ParticleSystem, particle: samson.Modeling.StructuralModel.NodeParticle, flag: bool) -> None

sets activity flag of a particle

  1. setActivityFlag(self: samson.Modeling.DynamicalModel.ParticleSystem, particleIndex: int, flag: bool) -> None

sets activity flag of a particle

setColor(self: samson.DataModel.DataGraph.Node, color: SBDColor, applyToChildren: bool=False) → NoneΒΆ

Sets the color for the node (removes an existing material from the node and adds a given material based on a given color)

Args:

color (Color): material to set

applyToChildren (boolean): if set to True goes through child nodes (default value: False)

setMass(*args, **kwargs)ΒΆ

Overloaded function.

  1. setMass(self: samson.Modeling.DynamicalModel.ParticleSystem, particle: samson.Modeling.StructuralModel.NodeParticle, flag: samson.DataModel.Quantity.unitsSI) -> None

sets mass of a particle

  1. setMass(self: samson.Modeling.DynamicalModel.ParticleSystem, particleIndex: int, flag: samson.DataModel.Quantity.unitsSI) -> None

sets mass of a particle

setMaterial(self: samson.DataModel.DataGraph.Node, material: SBDDataGraphNodeMaterial, applyToChildren: bool=False) → NoneΒΆ

Sets the material for the node (removes an existing material from the node and adds a given material)

Args:

material (Material): material to set

applyToChildren (boolean): if set to True goes through child nodes (default value: False)

setMomentum(self: samson.Modeling.DynamicalModel.ParticleSystem, i: int, newMomentum: samson.DataModel.Type.vector3) → NoneΒΆ

Updates the momentum of a particle

setPosition(self: samson.Modeling.DynamicalModel.ParticleSystem, i: int, newPosition: samson.DataModel.Type.vector3) → NoneΒΆ

Updates the position of a particle

sprint(self: samson.Modeling.DynamicalModel.ParticleSystem, offset: int=0) → NoneΒΆ

Prints some debugging information

updateStructuralNodes(self: samson.Modeling.DynamicalModel.ParticleSystem) → NoneΒΆ

Updates the structural nodes based on the state of the particle system

ArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
ArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
Atom = NodeType.AtomΒΆ
Backbone = NodeType.StructuralModelNodeBackboneΒΆ
Bond = NodeType.StructuralModelNodeBondΒΆ
Camera = NodeType.DocumentCameraΒΆ
Chain = NodeType.StructuralModelNodeChainΒΆ
Conformation = NodeType.StructuralModelConformationΒΆ
Controller = NodeType.ControllerΒΆ
ControllerNode = NodeType.ControllerNodeΒΆ
DataGraphNodeGroup = NodeType.DataGraphNodeGroupΒΆ
Document = NodeType.DocumentΒΆ
DocumentCamera = NodeType.DocumentCameraΒΆ
DocumentLabel = NodeType.DocumentLabelΒΆ
DocumentLayer = NodeType.DocumentLayerΒΆ
DocumentManager = NodeType.DocumentManagerΒΆ
DynamicalGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModel = NodeType.DynamicalModelΒΆ
DynamicalModelArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
DynamicalModelNode = NodeType.DynamicalModelNodeΒΆ
DynamicalModelNodeArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
DynamicalModelNodeGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModelNodeParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalModelNodeRigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
DynamicalModelNodeRoot = NodeType.DynamicalModelNodeRootΒΆ
DynamicalModelParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
DynamicalModelRigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
DynamicalNode = NodeType.DynamicalModelNodeΒΆ
DynamicalParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalRoot = NodeType.DynamicalModelNodeRootΒΆ
InteractionModel = NodeType.InteractionModelΒΆ
InteractionModelArticulatedBodySystem = NodeType.InteractionModelArticulatedBodySystemΒΆ
InteractionModelParticleSystem = NodeType.InteractionModelParticleSystemΒΆ
InteractionModelRigidBodySystem = NodeType.InteractionModelRigidBodySystemΒΆ
Label = NodeType.DocumentLabelΒΆ
Layer = NodeType.DocumentLayerΒΆ
Molecule = NodeType.StructuralModelNodeMoleculeΒΆ
NodeGroup = NodeType.DataGraphNodeGroupΒΆ
ParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
Path = NodeType.StructuralModelPathΒΆ
PropertyModel = NodeType.PropertyModelΒΆ
PropertyModelFunction = NodeType.PropertyModelFunctionΒΆ
Protein = NodeType.StructuralModelNodeProteinΒΆ
PseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
Residue = NodeType.StructuralModelNodeResidueΒΆ
RigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
RigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
Root = NodeType.StructuralModelNodeRootΒΆ
Segment = NodeType.StructuralModelNodeSegmentΒΆ
SideChain = NodeType.StructuralModelNodeSideChainΒΆ
Simulator = NodeType.SimulatorΒΆ
SimulatorArticulatedBodySystem = NodeType.SimulatorArticulatedBodySystemΒΆ
SimulatorParticleSystem = NodeType.SimulatorParticleSystemΒΆ
SimulatorRigidBodySystem = NodeType.SimulatorRigidBodySystemΒΆ
StateUpdater = NodeType.StateUpdaterΒΆ
StateUpdaterArticulatedBodySystem = NodeType.StateUpdaterArticulatedBodySystemΒΆ
StateUpdaterParticleSystem = NodeType.StateUpdaterParticleSystemΒΆ
StateUpdaterRigidBodySystem = NodeType.StateUpdaterRigidBodySystemΒΆ
StructuralGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModel = NodeType.StructuralModelΒΆ
StructuralModelConformation = NodeType.StructuralModelConformationΒΆ
StructuralModelNode = NodeType.StructuralModelNodeΒΆ
StructuralModelNodeAtom = NodeType.AtomΒΆ
StructuralModelNodeBackbone = NodeType.StructuralModelNodeBackboneΒΆ
StructuralModelNodeBond = NodeType.StructuralModelNodeBondΒΆ
StructuralModelNodeChain = NodeType.StructuralModelNodeChainΒΆ
StructuralModelNodeGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModelNodeMolecule = NodeType.StructuralModelNodeMoleculeΒΆ
StructuralModelNodeParticle = NodeType.StructuralModelNodeParticleΒΆ
StructuralModelNodeProtein = NodeType.StructuralModelNodeProteinΒΆ
StructuralModelNodePseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
StructuralModelNodeResidue = NodeType.StructuralModelNodeResidueΒΆ
StructuralModelNodeRoot = NodeType.StructuralModelNodeRootΒΆ
StructuralModelNodeSegment = NodeType.StructuralModelNodeSegmentΒΆ
StructuralModelNodeSideChain = NodeType.StructuralModelNodeSideChainΒΆ
StructuralModelPath = NodeType.StructuralModelPathΒΆ
StructuralParticle = NodeType.StructuralModelNodeParticleΒΆ
Undefined = NodeType.UndefinedΒΆ
VisualModel = NodeType.VisualModelΒΆ
__eq__ΒΆ

Return self==value.

__ge__ΒΆ

Return self>=value.

__gt__ΒΆ

Return self>value.

__le__ΒΆ

Return self<=value.

__lt__ΒΆ

Return self<value.

__ne__ΒΆ

Return self!=value.

dynamicalModelTypeΒΆ
highlightingFlagΒΆ
isCreatedΒΆ

Returns true if and only if the node is created

isErasedΒΆ

Returns true if and only if the node is erased

isHighlightedΒΆ

Returns whether the node is highlighted

isSelectedΒΆ

Returns whether the node is selected

isSerializableΒΆ

Returns true when the class is serializable

isVisibleΒΆ

Returns whether the node is visible

modelTypeΒΆ
nameΒΆ
nodeIndexΒΆ

Returns the node index (unique in the whole data graph, but non-persistent)

numberOfChangedMomentumsΒΆ

Returns the number of changed momentum

numberOfChangedPositionsΒΆ

Returns the number of changed positions

periodicBoundaryConditionsFlagΒΆ

periodic boundary conditions flag

selectionFlagΒΆ
typeΒΆ
typeStringΒΆ

Returns a string describing the type of the data graph node

visibilityFlagΒΆ
class samson.Modeling.DynamicalModel.RigidBodyΒΆ

Bases: samson.Modeling.DynamicalModel.Node

This class describes a rigid body in a rigid-body system.

SAMSON API: SBMDynamicalModelNodeRigidBody

class NodeType(self: samson.DataModel.DataGraph.Node.NodeType, arg0: int) → NoneΒΆ

Bases: pybind11_builtins.pybind11_object

__eq__(*args, **kwargs)ΒΆ

Overloaded function.

  1. __eq__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: samson.DataModel.DataGraph.Node.NodeType) -> bool
  2. __eq__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: int) -> bool
__ne__(*args, **kwargs)ΒΆ

Overloaded function.

  1. __ne__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: samson.DataModel.DataGraph.Node.NodeType) -> bool
  2. __ne__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: int) -> bool
ArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
ArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
Atom = NodeType.AtomΒΆ
Backbone = NodeType.StructuralModelNodeBackboneΒΆ
Bond = NodeType.StructuralModelNodeBondΒΆ
Camera = NodeType.DocumentCameraΒΆ
Chain = NodeType.StructuralModelNodeChainΒΆ
Conformation = NodeType.StructuralModelConformationΒΆ
Controller = NodeType.ControllerΒΆ
ControllerNode = NodeType.ControllerNodeΒΆ
DataGraphNodeGroup = NodeType.DataGraphNodeGroupΒΆ
Document = NodeType.DocumentΒΆ
DocumentCamera = NodeType.DocumentCameraΒΆ
DocumentLabel = NodeType.DocumentLabelΒΆ
DocumentLayer = NodeType.DocumentLayerΒΆ
DocumentManager = NodeType.DocumentManagerΒΆ
DynamicalGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModel = NodeType.DynamicalModelΒΆ
DynamicalModelArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
DynamicalModelNode = NodeType.DynamicalModelNodeΒΆ
DynamicalModelNodeArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
DynamicalModelNodeGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModelNodeParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalModelNodeRigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
DynamicalModelNodeRoot = NodeType.DynamicalModelNodeRootΒΆ
DynamicalModelParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
DynamicalModelRigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
DynamicalNode = NodeType.DynamicalModelNodeΒΆ
DynamicalParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalRoot = NodeType.DynamicalModelNodeRootΒΆ
InteractionModel = NodeType.InteractionModelΒΆ
InteractionModelArticulatedBodySystem = NodeType.InteractionModelArticulatedBodySystemΒΆ
InteractionModelParticleSystem = NodeType.InteractionModelParticleSystemΒΆ
InteractionModelRigidBodySystem = NodeType.InteractionModelRigidBodySystemΒΆ
Label = NodeType.DocumentLabelΒΆ
Layer = NodeType.DocumentLayerΒΆ
Molecule = NodeType.StructuralModelNodeMoleculeΒΆ
NodeGroup = NodeType.DataGraphNodeGroupΒΆ
ParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
Path = NodeType.StructuralModelPathΒΆ
PropertyModel = NodeType.PropertyModelΒΆ
PropertyModelFunction = NodeType.PropertyModelFunctionΒΆ
Protein = NodeType.StructuralModelNodeProteinΒΆ
PseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
Residue = NodeType.StructuralModelNodeResidueΒΆ
RigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
RigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
Root = NodeType.StructuralModelNodeRootΒΆ
Segment = NodeType.StructuralModelNodeSegmentΒΆ
SideChain = NodeType.StructuralModelNodeSideChainΒΆ
Simulator = NodeType.SimulatorΒΆ
SimulatorArticulatedBodySystem = NodeType.SimulatorArticulatedBodySystemΒΆ
SimulatorParticleSystem = NodeType.SimulatorParticleSystemΒΆ
SimulatorRigidBodySystem = NodeType.SimulatorRigidBodySystemΒΆ
StateUpdater = NodeType.StateUpdaterΒΆ
StateUpdaterArticulatedBodySystem = NodeType.StateUpdaterArticulatedBodySystemΒΆ
StateUpdaterParticleSystem = NodeType.StateUpdaterParticleSystemΒΆ
StateUpdaterRigidBodySystem = NodeType.StateUpdaterRigidBodySystemΒΆ
StructuralGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModel = NodeType.StructuralModelΒΆ
StructuralModelConformation = NodeType.StructuralModelConformationΒΆ
StructuralModelNode = NodeType.StructuralModelNodeΒΆ
StructuralModelNodeAtom = NodeType.AtomΒΆ
StructuralModelNodeBackbone = NodeType.StructuralModelNodeBackboneΒΆ
StructuralModelNodeBond = NodeType.StructuralModelNodeBondΒΆ
StructuralModelNodeChain = NodeType.StructuralModelNodeChainΒΆ
StructuralModelNodeGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModelNodeMolecule = NodeType.StructuralModelNodeMoleculeΒΆ
StructuralModelNodeParticle = NodeType.StructuralModelNodeParticleΒΆ
StructuralModelNodeProtein = NodeType.StructuralModelNodeProteinΒΆ
StructuralModelNodePseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
StructuralModelNodeResidue = NodeType.StructuralModelNodeResidueΒΆ
StructuralModelNodeRoot = NodeType.StructuralModelNodeRootΒΆ
StructuralModelNodeSegment = NodeType.StructuralModelNodeSegmentΒΆ
StructuralModelNodeSideChain = NodeType.StructuralModelNodeSideChainΒΆ
StructuralModelPath = NodeType.StructuralModelPathΒΆ
StructuralParticle = NodeType.StructuralModelNodeParticleΒΆ
Undefined = NodeType.UndefinedΒΆ
VisualModel = NodeType.VisualModelΒΆ
__ge__ΒΆ

Return self>=value.

__gt__ΒΆ

Return self>value.

__le__ΒΆ

Return self<=value.

__lt__ΒΆ

Return self<value.

addChild(self: samson.Modeling.DynamicalModel.Node, node: samson.Modeling.DynamicalModel.Node, nextNode: samson.Modeling.DynamicalModel.Node=0) → boolΒΆ

Adds a child to the node

addMaterial(self: samson.DataModel.DataGraph.Node, material: SBDDataGraphNodeMaterial) → boolΒΆ

Adds material to the node

castToInteractionModelParticleSystem(self: samson.DataModel.DataGraph.Node) → SBMInteractionModelParticleSystemΒΆ

Casts (if possible) from SBDDataGraphNode to SBMInteractionModelParticleSystem

castToLabel(self: samson.DataModel.DataGraph.Node) → SBDDocumentLabelΒΆ

Casts (if possible) from SBDDataGraphNode to SBDDocumentLabel

castToVisualModel(self: samson.DataModel.DataGraph.Node) → SBMVisualModelΒΆ

Casts (if possible) from SBDDataGraphNode to SBMVisualModel

clone(self: samson.Modeling.DynamicalModel.Node) → samson.Modeling.DynamicalModel.NodeΒΆ

Returns a copy of the node and its descendants

countNodes(self: samson.DataModel.DataGraph.Node, selectionString: str='*', visitString: str='*', includeDependencies: bool=False) → intΒΆ
Count nodes into nodeIndexer, based on a selectionPredicate and a visitPredicate, with our without dependencies).
For selectionString and visitString use Node Specification Language (SAMSON API: Node Specification Language
create(self: samson.DataModel.DataGraph.Node) → NoneΒΆ

Creates the node

erase(self: samson.DataModel.DataGraph.Node) → NoneΒΆ

Erases the node

getChildren(self: samson.Modeling.DynamicalModel.Node) → SBCReferencePointerList<SBMDynamicalModelNode, SBCReferenceToTarget>ΒΆ

Returns children of the node

getFlags(self: samson.DataModel.DataGraph.Node) → intΒΆ

Returns the flags

getInheritedFlags(self: samson.DataModel.DataGraph.Node) → intΒΆ

Returns the inherited flags

getMaterial(self: samson.DataModel.DataGraph.Node) → SBDDataGraphNodeMaterialΒΆ

Returns the material of the node

getMaterialOwner(self: samson.DataModel.DataGraph.Node) → samson.DataModel.DataGraph.NodeΒΆ

Returns the node whose material is inherited

getMemoryFootprint(self: samson.Core.Reference.SBCReferenceTarget) → intΒΆ

Returns the memory footprint

getNextDynamicalNode(self: samson.Modeling.DynamicalModel.Node) → samson.Modeling.DynamicalModel.NodeΒΆ
getNode(self: int) → samson.DataModel.DataGraph.NodeΒΆ

Returns the unique node corresponding to the node index nodeIndex

getNodes(self: samson.Modeling.DynamicalModel.Node, selectionString: str='*', visitString: str='*', includeDependencies: bool=False) → samson.DataModel.DataGraph.NodeIndexerΒΆ
Returns nodes (in a node indexer), based on a selectionString and a visitString, with our without dependencies).
For selectionString and visitString use Node Specification Language (SAMSON API: Node Specification Language
getParent(self: samson.Modeling.DynamicalModel.Node) → samson.DataModel.DataGraph.NodeΒΆ
getPreviousDynamicalNode(self: samson.Modeling.DynamicalModel.Node) → samson.Modeling.DynamicalModel.NodeΒΆ
getRoot(self: samson.DataModel.DataGraph.Node) → samson.DataModel.DataGraph.NodeΒΆ

Returns the root of the hierarchy the node belongs to

hasOneOf(self: samson.DataModel.DataGraph.Node, nodeIndexer: SBDDataGraphNodeIndexer) → boolΒΆ

Returns true if and only if this node is one of the nodes of the nodeIndexer, or is the ancestor of one of them

isIn(*args, **kwargs)ΒΆ

Overloaded function.

  1. isIn(self: samson.DataModel.DataGraph.Node, node: samson.DataModel.DataGraph.Node) -> bool

Returns true if and only if this node is node, or descends from it

  1. isIn(self: samson.DataModel.DataGraph.Node, nodeIndexer: SBDDataGraphNodeIndexer) -> bool

Returns true if and only if this node is one of the nodes of the nodeIndexer, or descends from one of them

isOneOf(self: samson.DataModel.DataGraph.Node, nodeIndexer: SBDDataGraphNodeIndexer) → boolΒΆ

Returns true if and only if this node is one of the nodes of the nodeIndexer

removeChild(self: samson.Modeling.DynamicalModel.Node, node: samson.Modeling.DynamicalModel.Node) → boolΒΆ

Removes a child from the node

removeMaterial(self: samson.DataModel.DataGraph.Node) → boolΒΆ

Removes material from the node

setColor(self: samson.DataModel.DataGraph.Node, color: SBDColor, applyToChildren: bool=False) → NoneΒΆ

Sets the color for the node (removes an existing material from the node and adds a given material based on a given color)

Args:

color (Color): material to set

applyToChildren (boolean): if set to True goes through child nodes (default value: False)

setMaterial(self: samson.DataModel.DataGraph.Node, material: SBDDataGraphNodeMaterial, applyToChildren: bool=False) → NoneΒΆ

Sets the material for the node (removes an existing material from the node and adds a given material)

Args:

material (Material): material to set

applyToChildren (boolean): if set to True goes through child nodes (default value: False)

sprint(self: samson.Modeling.DynamicalModel.RigidBody, offset: int=0) → NoneΒΆ

Prints some debugging information

ArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
ArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
Atom = NodeType.AtomΒΆ
Backbone = NodeType.StructuralModelNodeBackboneΒΆ
Bond = NodeType.StructuralModelNodeBondΒΆ
Camera = NodeType.DocumentCameraΒΆ
Chain = NodeType.StructuralModelNodeChainΒΆ
Conformation = NodeType.StructuralModelConformationΒΆ
Controller = NodeType.ControllerΒΆ
ControllerNode = NodeType.ControllerNodeΒΆ
DataGraphNodeGroup = NodeType.DataGraphNodeGroupΒΆ
Document = NodeType.DocumentΒΆ
DocumentCamera = NodeType.DocumentCameraΒΆ
DocumentLabel = NodeType.DocumentLabelΒΆ
DocumentLayer = NodeType.DocumentLayerΒΆ
DocumentManager = NodeType.DocumentManagerΒΆ
DynamicalGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModel = NodeType.DynamicalModelΒΆ
DynamicalModelArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
DynamicalModelNode = NodeType.DynamicalModelNodeΒΆ
DynamicalModelNodeArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
DynamicalModelNodeGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModelNodeParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalModelNodeRigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
DynamicalModelNodeRoot = NodeType.DynamicalModelNodeRootΒΆ
DynamicalModelParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
DynamicalModelRigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
DynamicalNode = NodeType.DynamicalModelNodeΒΆ
DynamicalParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalRoot = NodeType.DynamicalModelNodeRootΒΆ
InteractionModel = NodeType.InteractionModelΒΆ
InteractionModelArticulatedBodySystem = NodeType.InteractionModelArticulatedBodySystemΒΆ
InteractionModelParticleSystem = NodeType.InteractionModelParticleSystemΒΆ
InteractionModelRigidBodySystem = NodeType.InteractionModelRigidBodySystemΒΆ
Label = NodeType.DocumentLabelΒΆ
Layer = NodeType.DocumentLayerΒΆ
Molecule = NodeType.StructuralModelNodeMoleculeΒΆ
NodeGroup = NodeType.DataGraphNodeGroupΒΆ
ParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
Path = NodeType.StructuralModelPathΒΆ
PropertyModel = NodeType.PropertyModelΒΆ
PropertyModelFunction = NodeType.PropertyModelFunctionΒΆ
Protein = NodeType.StructuralModelNodeProteinΒΆ
PseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
Residue = NodeType.StructuralModelNodeResidueΒΆ
RigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
RigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
Root = NodeType.StructuralModelNodeRootΒΆ
Segment = NodeType.StructuralModelNodeSegmentΒΆ
SideChain = NodeType.StructuralModelNodeSideChainΒΆ
Simulator = NodeType.SimulatorΒΆ
SimulatorArticulatedBodySystem = NodeType.SimulatorArticulatedBodySystemΒΆ
SimulatorParticleSystem = NodeType.SimulatorParticleSystemΒΆ
SimulatorRigidBodySystem = NodeType.SimulatorRigidBodySystemΒΆ
StateUpdater = NodeType.StateUpdaterΒΆ
StateUpdaterArticulatedBodySystem = NodeType.StateUpdaterArticulatedBodySystemΒΆ
StateUpdaterParticleSystem = NodeType.StateUpdaterParticleSystemΒΆ
StateUpdaterRigidBodySystem = NodeType.StateUpdaterRigidBodySystemΒΆ
StructuralGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModel = NodeType.StructuralModelΒΆ
StructuralModelConformation = NodeType.StructuralModelConformationΒΆ
StructuralModelNode = NodeType.StructuralModelNodeΒΆ
StructuralModelNodeAtom = NodeType.AtomΒΆ
StructuralModelNodeBackbone = NodeType.StructuralModelNodeBackboneΒΆ
StructuralModelNodeBond = NodeType.StructuralModelNodeBondΒΆ
StructuralModelNodeChain = NodeType.StructuralModelNodeChainΒΆ
StructuralModelNodeGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModelNodeMolecule = NodeType.StructuralModelNodeMoleculeΒΆ
StructuralModelNodeParticle = NodeType.StructuralModelNodeParticleΒΆ
StructuralModelNodeProtein = NodeType.StructuralModelNodeProteinΒΆ
StructuralModelNodePseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
StructuralModelNodeResidue = NodeType.StructuralModelNodeResidueΒΆ
StructuralModelNodeRoot = NodeType.StructuralModelNodeRootΒΆ
StructuralModelNodeSegment = NodeType.StructuralModelNodeSegmentΒΆ
StructuralModelNodeSideChain = NodeType.StructuralModelNodeSideChainΒΆ
StructuralModelPath = NodeType.StructuralModelPathΒΆ
StructuralParticle = NodeType.StructuralModelNodeParticleΒΆ
Undefined = NodeType.UndefinedΒΆ
VisualModel = NodeType.VisualModelΒΆ
__eq__ΒΆ

Return self==value.

__ge__ΒΆ

Return self>=value.

__gt__ΒΆ

Return self>value.

__le__ΒΆ

Return self<=value.

__lt__ΒΆ

Return self<value.

__ne__ΒΆ

Return self!=value.

highlightingFlagΒΆ
isCreatedΒΆ

Returns true if and only if the node is created

isErasedΒΆ

Returns true if and only if the node is erased

isHighlightedΒΆ

Returns whether the node is highlighted

isSelectedΒΆ

Returns whether the node is selected

isSerializableΒΆ

Returns true when the class is serializable

isVisibleΒΆ

Returns whether the node is visible

nodeIndexΒΆ

Returns the node index (unique in the whole data graph, but non-persistent)

selectionFlagΒΆ
typeΒΆ
typeStringΒΆ

Returns a string describing the type of the data graph node

visibilityFlagΒΆ
class samson.Modeling.DynamicalModel.RigidBodySystem(self: samson.Modeling.DynamicalModel.RigidBodySystem) → NoneΒΆ

Bases: samson.Modeling.DynamicalModel.DynamicalModel

This class describes a dynamical rigid-body system.

SAMSON API: SBMDynamicalModelRigidBodySystem

Constructs a dynamical rigid-body system

class NodeType(self: samson.DataModel.DataGraph.Node.NodeType, arg0: int) → NoneΒΆ

Bases: pybind11_builtins.pybind11_object

__eq__(*args, **kwargs)ΒΆ

Overloaded function.

  1. __eq__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: samson.DataModel.DataGraph.Node.NodeType) -> bool
  2. __eq__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: int) -> bool
__ne__(*args, **kwargs)ΒΆ

Overloaded function.

  1. __ne__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: samson.DataModel.DataGraph.Node.NodeType) -> bool
  2. __ne__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: int) -> bool
ArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
ArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
Atom = NodeType.AtomΒΆ
Backbone = NodeType.StructuralModelNodeBackboneΒΆ
Bond = NodeType.StructuralModelNodeBondΒΆ
Camera = NodeType.DocumentCameraΒΆ
Chain = NodeType.StructuralModelNodeChainΒΆ
Conformation = NodeType.StructuralModelConformationΒΆ
Controller = NodeType.ControllerΒΆ
ControllerNode = NodeType.ControllerNodeΒΆ
DataGraphNodeGroup = NodeType.DataGraphNodeGroupΒΆ
Document = NodeType.DocumentΒΆ
DocumentCamera = NodeType.DocumentCameraΒΆ
DocumentLabel = NodeType.DocumentLabelΒΆ
DocumentLayer = NodeType.DocumentLayerΒΆ
DocumentManager = NodeType.DocumentManagerΒΆ
DynamicalGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModel = NodeType.DynamicalModelΒΆ
DynamicalModelArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
DynamicalModelNode = NodeType.DynamicalModelNodeΒΆ
DynamicalModelNodeArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
DynamicalModelNodeGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModelNodeParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalModelNodeRigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
DynamicalModelNodeRoot = NodeType.DynamicalModelNodeRootΒΆ
DynamicalModelParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
DynamicalModelRigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
DynamicalNode = NodeType.DynamicalModelNodeΒΆ
DynamicalParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalRoot = NodeType.DynamicalModelNodeRootΒΆ
InteractionModel = NodeType.InteractionModelΒΆ
InteractionModelArticulatedBodySystem = NodeType.InteractionModelArticulatedBodySystemΒΆ
InteractionModelParticleSystem = NodeType.InteractionModelParticleSystemΒΆ
InteractionModelRigidBodySystem = NodeType.InteractionModelRigidBodySystemΒΆ
Label = NodeType.DocumentLabelΒΆ
Layer = NodeType.DocumentLayerΒΆ
Molecule = NodeType.StructuralModelNodeMoleculeΒΆ
NodeGroup = NodeType.DataGraphNodeGroupΒΆ
ParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
Path = NodeType.StructuralModelPathΒΆ
PropertyModel = NodeType.PropertyModelΒΆ
PropertyModelFunction = NodeType.PropertyModelFunctionΒΆ
Protein = NodeType.StructuralModelNodeProteinΒΆ
PseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
Residue = NodeType.StructuralModelNodeResidueΒΆ
RigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
RigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
Root = NodeType.StructuralModelNodeRootΒΆ
Segment = NodeType.StructuralModelNodeSegmentΒΆ
SideChain = NodeType.StructuralModelNodeSideChainΒΆ
Simulator = NodeType.SimulatorΒΆ
SimulatorArticulatedBodySystem = NodeType.SimulatorArticulatedBodySystemΒΆ
SimulatorParticleSystem = NodeType.SimulatorParticleSystemΒΆ
SimulatorRigidBodySystem = NodeType.SimulatorRigidBodySystemΒΆ
StateUpdater = NodeType.StateUpdaterΒΆ
StateUpdaterArticulatedBodySystem = NodeType.StateUpdaterArticulatedBodySystemΒΆ
StateUpdaterParticleSystem = NodeType.StateUpdaterParticleSystemΒΆ
StateUpdaterRigidBodySystem = NodeType.StateUpdaterRigidBodySystemΒΆ
StructuralGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModel = NodeType.StructuralModelΒΆ
StructuralModelConformation = NodeType.StructuralModelConformationΒΆ
StructuralModelNode = NodeType.StructuralModelNodeΒΆ
StructuralModelNodeAtom = NodeType.AtomΒΆ
StructuralModelNodeBackbone = NodeType.StructuralModelNodeBackboneΒΆ
StructuralModelNodeBond = NodeType.StructuralModelNodeBondΒΆ
StructuralModelNodeChain = NodeType.StructuralModelNodeChainΒΆ
StructuralModelNodeGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModelNodeMolecule = NodeType.StructuralModelNodeMoleculeΒΆ
StructuralModelNodeParticle = NodeType.StructuralModelNodeParticleΒΆ
StructuralModelNodeProtein = NodeType.StructuralModelNodeProteinΒΆ
StructuralModelNodePseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
StructuralModelNodeResidue = NodeType.StructuralModelNodeResidueΒΆ
StructuralModelNodeRoot = NodeType.StructuralModelNodeRootΒΆ
StructuralModelNodeSegment = NodeType.StructuralModelNodeSegmentΒΆ
StructuralModelNodeSideChain = NodeType.StructuralModelNodeSideChainΒΆ
StructuralModelPath = NodeType.StructuralModelPathΒΆ
StructuralParticle = NodeType.StructuralModelNodeParticleΒΆ
Undefined = NodeType.UndefinedΒΆ
VisualModel = NodeType.VisualModelΒΆ
__ge__ΒΆ

Return self>=value.

__gt__ΒΆ

Return self>value.

__le__ΒΆ

Return self<=value.

__lt__ΒΆ

Return self<value.

addChild(self: samson.DataModel.DataGraph.Node, node: samson.DataModel.DataGraph.Node, nextNode: samson.DataModel.DataGraph.Node=None) → boolΒΆ

Adds a child to the node

addMaterial(self: samson.DataModel.DataGraph.Node, material: SBDDataGraphNodeMaterial) → boolΒΆ

Adds material to the node

castToInteractionModelParticleSystem(self: samson.DataModel.DataGraph.Node) → SBMInteractionModelParticleSystemΒΆ

Casts (if possible) from SBDDataGraphNode to SBMInteractionModelParticleSystem

castToLabel(self: samson.DataModel.DataGraph.Node) → SBDDocumentLabelΒΆ

Casts (if possible) from SBDDataGraphNode to SBDDocumentLabel

castToVisualModel(self: samson.DataModel.DataGraph.Node) → SBMVisualModelΒΆ

Casts (if possible) from SBDDataGraphNode to SBMVisualModel

clone(self: samson.Modeling.DynamicalModel.DynamicalModel) → samson.Modeling.DynamicalModel.DynamicalModelΒΆ

Returns a copy of the node and its descendants

countNodes(self: samson.DataModel.DataGraph.Node, selectionString: str='*', visitString: str='*', includeDependencies: bool=False) → intΒΆ
Count nodes into nodeIndexer, based on a selectionPredicate and a visitPredicate, with our without dependencies).
For selectionString and visitString use Node Specification Language (SAMSON API: Node Specification Language
create(self: samson.DataModel.DataGraph.Node) → NoneΒΆ

Creates the node

enforcePeriodicBoundaryConditions(self: samson.Modeling.DynamicalModel.DynamicalModel) → boolΒΆ

Enforces the periodic boundary conditions

erase(self: samson.DataModel.DataGraph.Node) → NoneΒΆ

Erases the node

flushPositionBuffer(self: samson.Modeling.DynamicalModel.RigidBodySystem) → NoneΒΆ

Flushes the position buffer

getChangedPositionIndex(self: samson.Modeling.DynamicalModel.RigidBodySystem, i: int) → intΒΆ

Returns the index of a changed position

getDynamicalRoot(self: samson.Modeling.DynamicalModel.DynamicalModel) → SBMDynamicalModelNodeRootΒΆ

Returns the root of the dynamical model

getFlags(self: samson.DataModel.DataGraph.Node) → intΒΆ

Returns the flags

getInheritedFlags(self: samson.DataModel.DataGraph.Node) → intΒΆ

Returns the inherited flags

getLayer(self: samson.Modeling.Model.SBMModel) → samson.DataModel.Document.LayerΒΆ

Returns the owning document layer

getMaterial(self: samson.DataModel.DataGraph.Node) → SBDDataGraphNodeMaterialΒΆ

Returns the material of the node

getMaterialOwner(self: samson.DataModel.DataGraph.Node) → samson.DataModel.DataGraph.NodeΒΆ

Returns the node whose material is inherited

getMemoryFootprint(self: samson.Core.Reference.SBCReferenceTarget) → intΒΆ

Returns the memory footprint

getNextModel(self: samson.Modeling.Model.SBMModel) → samson.Modeling.Model.SBMModelΒΆ

Returns the next model in the document layer

getNode(self: int) → samson.DataModel.DataGraph.NodeΒΆ

Returns the unique node corresponding to the node index nodeIndex

getNodes(self: samson.Modeling.DynamicalModel.DynamicalModel, selectionString: str='*', visitString: str='*', includeDependencies: bool=False) → samson.DataModel.DataGraph.NodeIndexerΒΆ
Returns nodes (in a node indexer), based on a selectionString and a visitString, with our without dependencies).
For selectionString and visitString use Node Specification Language (SAMSON API: Node Specification Language
getNumberOfChangedPositions(self: samson.Modeling.DynamicalModel.DynamicalModel) → intΒΆ

Returns the number of changed positions

getParent(self: samson.Modeling.Model.SBMModel) → samson.DataModel.DataGraph.NodeΒΆ

Returns the parent node

getPositionChanged(self: samson.Modeling.DynamicalModel.RigidBodySystem, i: int) → boolΒΆ

Returns whether position i has been changed since the last flush

getPreviousModel(self: samson.Modeling.Model.SBMModel) → samson.Modeling.Model.SBMModelΒΆ

Returns the previous model in the document layer

getRoot(self: samson.DataModel.DataGraph.Node) → samson.DataModel.DataGraph.NodeΒΆ

Returns the root of the hierarchy the node belongs to

hasOneOf(self: samson.DataModel.DataGraph.Node, nodeIndexer: SBDDataGraphNodeIndexer) → boolΒΆ

Returns true if and only if this node is one of the nodes of the nodeIndexer, or is the ancestor of one of them

isIn(*args, **kwargs)ΒΆ

Overloaded function.

  1. isIn(self: samson.DataModel.DataGraph.Node, node: samson.DataModel.DataGraph.Node) -> bool

Returns true if and only if this node is node, or descends from it

  1. isIn(self: samson.DataModel.DataGraph.Node, nodeIndexer: SBDDataGraphNodeIndexer) -> bool

Returns true if and only if this node is one of the nodes of the nodeIndexer, or descends from one of them

isOneOf(self: samson.DataModel.DataGraph.Node, nodeIndexer: SBDDataGraphNodeIndexer) → boolΒΆ

Returns true if and only if this node is one of the nodes of the nodeIndexer

removeChild(self: samson.DataModel.DataGraph.Node, node: samson.DataModel.DataGraph.Node) → boolΒΆ

Removes a child from the node

removeMaterial(self: samson.DataModel.DataGraph.Node) → boolΒΆ

Removes material from the node

setColor(self: samson.DataModel.DataGraph.Node, color: SBDColor, applyToChildren: bool=False) → NoneΒΆ

Sets the color for the node (removes an existing material from the node and adds a given material based on a given color)

Args:

color (Color): material to set

applyToChildren (boolean): if set to True goes through child nodes (default value: False)

setMaterial(self: samson.DataModel.DataGraph.Node, material: SBDDataGraphNodeMaterial, applyToChildren: bool=False) → NoneΒΆ

Sets the material for the node (removes an existing material from the node and adds a given material)

Args:

material (Material): material to set

applyToChildren (boolean): if set to True goes through child nodes (default value: False)

sprint(self: samson.Modeling.DynamicalModel.RigidBodySystem, offset: int=0) → NoneΒΆ

Prints some debugging information

updateStructuralNodes(self: samson.Modeling.DynamicalModel.RigidBodySystem) → NoneΒΆ

Updates the structural nodes based on the state of the rigid-body system

ArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
ArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
Atom = NodeType.AtomΒΆ
Backbone = NodeType.StructuralModelNodeBackboneΒΆ
Bond = NodeType.StructuralModelNodeBondΒΆ
Camera = NodeType.DocumentCameraΒΆ
Chain = NodeType.StructuralModelNodeChainΒΆ
Conformation = NodeType.StructuralModelConformationΒΆ
Controller = NodeType.ControllerΒΆ
ControllerNode = NodeType.ControllerNodeΒΆ
DataGraphNodeGroup = NodeType.DataGraphNodeGroupΒΆ
Document = NodeType.DocumentΒΆ
DocumentCamera = NodeType.DocumentCameraΒΆ
DocumentLabel = NodeType.DocumentLabelΒΆ
DocumentLayer = NodeType.DocumentLayerΒΆ
DocumentManager = NodeType.DocumentManagerΒΆ
DynamicalGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModel = NodeType.DynamicalModelΒΆ
DynamicalModelArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
DynamicalModelNode = NodeType.DynamicalModelNodeΒΆ
DynamicalModelNodeArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
DynamicalModelNodeGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModelNodeParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalModelNodeRigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
DynamicalModelNodeRoot = NodeType.DynamicalModelNodeRootΒΆ
DynamicalModelParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
DynamicalModelRigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
DynamicalNode = NodeType.DynamicalModelNodeΒΆ
DynamicalParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalRoot = NodeType.DynamicalModelNodeRootΒΆ
InteractionModel = NodeType.InteractionModelΒΆ
InteractionModelArticulatedBodySystem = NodeType.InteractionModelArticulatedBodySystemΒΆ
InteractionModelParticleSystem = NodeType.InteractionModelParticleSystemΒΆ
InteractionModelRigidBodySystem = NodeType.InteractionModelRigidBodySystemΒΆ
Label = NodeType.DocumentLabelΒΆ
Layer = NodeType.DocumentLayerΒΆ
Molecule = NodeType.StructuralModelNodeMoleculeΒΆ
NodeGroup = NodeType.DataGraphNodeGroupΒΆ
ParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
Path = NodeType.StructuralModelPathΒΆ
PropertyModel = NodeType.PropertyModelΒΆ
PropertyModelFunction = NodeType.PropertyModelFunctionΒΆ
Protein = NodeType.StructuralModelNodeProteinΒΆ
PseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
Residue = NodeType.StructuralModelNodeResidueΒΆ
RigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
RigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
Root = NodeType.StructuralModelNodeRootΒΆ
Segment = NodeType.StructuralModelNodeSegmentΒΆ
SideChain = NodeType.StructuralModelNodeSideChainΒΆ
Simulator = NodeType.SimulatorΒΆ
SimulatorArticulatedBodySystem = NodeType.SimulatorArticulatedBodySystemΒΆ
SimulatorParticleSystem = NodeType.SimulatorParticleSystemΒΆ
SimulatorRigidBodySystem = NodeType.SimulatorRigidBodySystemΒΆ
StateUpdater = NodeType.StateUpdaterΒΆ
StateUpdaterArticulatedBodySystem = NodeType.StateUpdaterArticulatedBodySystemΒΆ
StateUpdaterParticleSystem = NodeType.StateUpdaterParticleSystemΒΆ
StateUpdaterRigidBodySystem = NodeType.StateUpdaterRigidBodySystemΒΆ
StructuralGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModel = NodeType.StructuralModelΒΆ
StructuralModelConformation = NodeType.StructuralModelConformationΒΆ
StructuralModelNode = NodeType.StructuralModelNodeΒΆ
StructuralModelNodeAtom = NodeType.AtomΒΆ
StructuralModelNodeBackbone = NodeType.StructuralModelNodeBackboneΒΆ
StructuralModelNodeBond = NodeType.StructuralModelNodeBondΒΆ
StructuralModelNodeChain = NodeType.StructuralModelNodeChainΒΆ
StructuralModelNodeGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModelNodeMolecule = NodeType.StructuralModelNodeMoleculeΒΆ
StructuralModelNodeParticle = NodeType.StructuralModelNodeParticleΒΆ
StructuralModelNodeProtein = NodeType.StructuralModelNodeProteinΒΆ
StructuralModelNodePseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
StructuralModelNodeResidue = NodeType.StructuralModelNodeResidueΒΆ
StructuralModelNodeRoot = NodeType.StructuralModelNodeRootΒΆ
StructuralModelNodeSegment = NodeType.StructuralModelNodeSegmentΒΆ
StructuralModelNodeSideChain = NodeType.StructuralModelNodeSideChainΒΆ
StructuralModelPath = NodeType.StructuralModelPathΒΆ
StructuralParticle = NodeType.StructuralModelNodeParticleΒΆ
Undefined = NodeType.UndefinedΒΆ
VisualModel = NodeType.VisualModelΒΆ
__eq__ΒΆ

Return self==value.

__ge__ΒΆ

Return self>=value.

__gt__ΒΆ

Return self>value.

__le__ΒΆ

Return self<=value.

__lt__ΒΆ

Return self<value.

__ne__ΒΆ

Return self!=value.

dynamicalModelTypeΒΆ
highlightingFlagΒΆ
isCreatedΒΆ

Returns true if and only if the node is created

isErasedΒΆ

Returns true if and only if the node is erased

isHighlightedΒΆ

Returns whether the node is highlighted

isSelectedΒΆ

Returns whether the node is selected

isSerializableΒΆ

Returns true when the class is serializable

isVisibleΒΆ

Returns whether the node is visible

modelTypeΒΆ
nameΒΆ
nodeIndexΒΆ

Returns the node index (unique in the whole data graph, but non-persistent)

numberOfChangedPositionsΒΆ

Returns the number of changed positions

periodicBoundaryConditionsFlagΒΆ

periodic boundary conditions flag

selectionFlagΒΆ
typeΒΆ
typeStringΒΆ

Returns a string describing the type of the data graph node

visibilityFlagΒΆ
class samson.Modeling.DynamicalModel.Root(self: samson.Modeling.DynamicalModel.Root, arg0: str) → NoneΒΆ

Bases: samson.Modeling.DynamicalModel.Group

This class describes the root node of a dynamical model.

SAMSON API: SBMDynamicalModelNodeRoot

Constructs a root node of a dynamical model

class NodeType(self: samson.DataModel.DataGraph.Node.NodeType, arg0: int) → NoneΒΆ

Bases: pybind11_builtins.pybind11_object

__eq__(*args, **kwargs)ΒΆ

Overloaded function.

  1. __eq__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: samson.DataModel.DataGraph.Node.NodeType) -> bool
  2. __eq__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: int) -> bool
__ne__(*args, **kwargs)ΒΆ

Overloaded function.

  1. __ne__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: samson.DataModel.DataGraph.Node.NodeType) -> bool
  2. __ne__(self: samson.DataModel.DataGraph.Node.NodeType, arg0: int) -> bool
ArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
ArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
Atom = NodeType.AtomΒΆ
Backbone = NodeType.StructuralModelNodeBackboneΒΆ
Bond = NodeType.StructuralModelNodeBondΒΆ
Camera = NodeType.DocumentCameraΒΆ
Chain = NodeType.StructuralModelNodeChainΒΆ
Conformation = NodeType.StructuralModelConformationΒΆ
Controller = NodeType.ControllerΒΆ
ControllerNode = NodeType.ControllerNodeΒΆ
DataGraphNodeGroup = NodeType.DataGraphNodeGroupΒΆ
Document = NodeType.DocumentΒΆ
DocumentCamera = NodeType.DocumentCameraΒΆ
DocumentLabel = NodeType.DocumentLabelΒΆ
DocumentLayer = NodeType.DocumentLayerΒΆ
DocumentManager = NodeType.DocumentManagerΒΆ
DynamicalGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModel = NodeType.DynamicalModelΒΆ
DynamicalModelArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
DynamicalModelNode = NodeType.DynamicalModelNodeΒΆ
DynamicalModelNodeArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
DynamicalModelNodeGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModelNodeParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalModelNodeRigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
DynamicalModelNodeRoot = NodeType.DynamicalModelNodeRootΒΆ
DynamicalModelParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
DynamicalModelRigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
DynamicalNode = NodeType.DynamicalModelNodeΒΆ
DynamicalParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalRoot = NodeType.DynamicalModelNodeRootΒΆ
InteractionModel = NodeType.InteractionModelΒΆ
InteractionModelArticulatedBodySystem = NodeType.InteractionModelArticulatedBodySystemΒΆ
InteractionModelParticleSystem = NodeType.InteractionModelParticleSystemΒΆ
InteractionModelRigidBodySystem = NodeType.InteractionModelRigidBodySystemΒΆ
Label = NodeType.DocumentLabelΒΆ
Layer = NodeType.DocumentLayerΒΆ
Molecule = NodeType.StructuralModelNodeMoleculeΒΆ
NodeGroup = NodeType.DataGraphNodeGroupΒΆ
ParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
Path = NodeType.StructuralModelPathΒΆ
PropertyModel = NodeType.PropertyModelΒΆ
PropertyModelFunction = NodeType.PropertyModelFunctionΒΆ
Protein = NodeType.StructuralModelNodeProteinΒΆ
PseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
Residue = NodeType.StructuralModelNodeResidueΒΆ
RigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
RigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
Root = NodeType.StructuralModelNodeRootΒΆ
Segment = NodeType.StructuralModelNodeSegmentΒΆ
SideChain = NodeType.StructuralModelNodeSideChainΒΆ
Simulator = NodeType.SimulatorΒΆ
SimulatorArticulatedBodySystem = NodeType.SimulatorArticulatedBodySystemΒΆ
SimulatorParticleSystem = NodeType.SimulatorParticleSystemΒΆ
SimulatorRigidBodySystem = NodeType.SimulatorRigidBodySystemΒΆ
StateUpdater = NodeType.StateUpdaterΒΆ
StateUpdaterArticulatedBodySystem = NodeType.StateUpdaterArticulatedBodySystemΒΆ
StateUpdaterParticleSystem = NodeType.StateUpdaterParticleSystemΒΆ
StateUpdaterRigidBodySystem = NodeType.StateUpdaterRigidBodySystemΒΆ
StructuralGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModel = NodeType.StructuralModelΒΆ
StructuralModelConformation = NodeType.StructuralModelConformationΒΆ
StructuralModelNode = NodeType.StructuralModelNodeΒΆ
StructuralModelNodeAtom = NodeType.AtomΒΆ
StructuralModelNodeBackbone = NodeType.StructuralModelNodeBackboneΒΆ
StructuralModelNodeBond = NodeType.StructuralModelNodeBondΒΆ
StructuralModelNodeChain = NodeType.StructuralModelNodeChainΒΆ
StructuralModelNodeGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModelNodeMolecule = NodeType.StructuralModelNodeMoleculeΒΆ
StructuralModelNodeParticle = NodeType.StructuralModelNodeParticleΒΆ
StructuralModelNodeProtein = NodeType.StructuralModelNodeProteinΒΆ
StructuralModelNodePseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
StructuralModelNodeResidue = NodeType.StructuralModelNodeResidueΒΆ
StructuralModelNodeRoot = NodeType.StructuralModelNodeRootΒΆ
StructuralModelNodeSegment = NodeType.StructuralModelNodeSegmentΒΆ
StructuralModelNodeSideChain = NodeType.StructuralModelNodeSideChainΒΆ
StructuralModelPath = NodeType.StructuralModelPathΒΆ
StructuralParticle = NodeType.StructuralModelNodeParticleΒΆ
Undefined = NodeType.UndefinedΒΆ
VisualModel = NodeType.VisualModelΒΆ
__ge__ΒΆ

Return self>=value.

__gt__ΒΆ

Return self>value.

__le__ΒΆ

Return self<=value.

__lt__ΒΆ

Return self<value.

addChild(self: samson.Modeling.DynamicalModel.Group, node: samson.Modeling.DynamicalModel.Node, nextNode: samson.Modeling.DynamicalModel.Node=None) → boolΒΆ

Adds a child to the node

addMaterial(self: samson.DataModel.DataGraph.Node, material: SBDDataGraphNodeMaterial) → boolΒΆ

Adds material to the node

castToInteractionModelParticleSystem(self: samson.DataModel.DataGraph.Node) → SBMInteractionModelParticleSystemΒΆ

Casts (if possible) from SBDDataGraphNode to SBMInteractionModelParticleSystem

castToLabel(self: samson.DataModel.DataGraph.Node) → SBDDocumentLabelΒΆ

Casts (if possible) from SBDDataGraphNode to SBDDocumentLabel

castToVisualModel(self: samson.DataModel.DataGraph.Node) → SBMVisualModelΒΆ

Casts (if possible) from SBDDataGraphNode to SBMVisualModel

clone(self: samson.Modeling.DynamicalModel.Root) → samson.Modeling.DynamicalModel.RootΒΆ

Returns a copy of the node and its descendants

countNodes(self: samson.DataModel.DataGraph.Node, selectionString: str='*', visitString: str='*', includeDependencies: bool=False) → intΒΆ
Count nodes into nodeIndexer, based on a selectionPredicate and a visitPredicate, with our without dependencies).
For selectionString and visitString use Node Specification Language (SAMSON API: Node Specification Language
create(self: samson.DataModel.DataGraph.Node) → NoneΒΆ

Creates the node

erase(self: samson.DataModel.DataGraph.Node) → NoneΒΆ

Erases the node

getChildren(self: samson.Modeling.DynamicalModel.Group) → SBCReferencePointerList<SBMDynamicalModelNode, SBCReferenceToTarget>ΒΆ
getFlags(self: samson.DataModel.DataGraph.Node) → intΒΆ

Returns the flags

getInheritedFlags(self: samson.DataModel.DataGraph.Node) → intΒΆ

Returns the inherited flags

getMaterial(self: samson.DataModel.DataGraph.Node) → SBDDataGraphNodeMaterialΒΆ

Returns the material of the node

getMaterialOwner(self: samson.DataModel.DataGraph.Node) → samson.DataModel.DataGraph.NodeΒΆ

Returns the node whose material is inherited

getMemoryFootprint(self: samson.Core.Reference.SBCReferenceTarget) → intΒΆ

Returns the memory footprint

getNextDynamicalNode(self: samson.Modeling.DynamicalModel.Node) → samson.Modeling.DynamicalModel.NodeΒΆ
getNode(self: int) → samson.DataModel.DataGraph.NodeΒΆ

Returns the unique node corresponding to the node index nodeIndex

getNodes(self: samson.Modeling.DynamicalModel.Node, selectionString: str='*', visitString: str='*', includeDependencies: bool=False) → samson.DataModel.DataGraph.NodeIndexerΒΆ
Returns nodes (in a node indexer), based on a selectionString and a visitString, with our without dependencies).
For selectionString and visitString use Node Specification Language (SAMSON API: Node Specification Language
getParent(self: samson.Modeling.DynamicalModel.Root) → samson.DataModel.DataGraph.NodeΒΆ
getPreviousDynamicalNode(self: samson.Modeling.DynamicalModel.Node) → samson.Modeling.DynamicalModel.NodeΒΆ
getRoot(self: samson.DataModel.DataGraph.Node) → samson.DataModel.DataGraph.NodeΒΆ

Returns the root of the hierarchy the node belongs to

hasOneOf(self: samson.DataModel.DataGraph.Node, nodeIndexer: SBDDataGraphNodeIndexer) → boolΒΆ

Returns true if and only if this node is one of the nodes of the nodeIndexer, or is the ancestor of one of them

isIn(*args, **kwargs)ΒΆ

Overloaded function.

  1. isIn(self: samson.DataModel.DataGraph.Node, node: samson.DataModel.DataGraph.Node) -> bool

Returns true if and only if this node is node, or descends from it

  1. isIn(self: samson.DataModel.DataGraph.Node, nodeIndexer: SBDDataGraphNodeIndexer) -> bool

Returns true if and only if this node is one of the nodes of the nodeIndexer, or descends from one of them

isOneOf(self: samson.DataModel.DataGraph.Node, nodeIndexer: SBDDataGraphNodeIndexer) → boolΒΆ

Returns true if and only if this node is one of the nodes of the nodeIndexer

removeChild(self: samson.Modeling.DynamicalModel.Group, node: samson.Modeling.DynamicalModel.Node) → boolΒΆ

Removes a child from the node

removeMaterial(self: samson.DataModel.DataGraph.Node) → boolΒΆ

Removes material from the node

setColor(self: samson.DataModel.DataGraph.Node, color: SBDColor, applyToChildren: bool=False) → NoneΒΆ

Sets the color for the node (removes an existing material from the node and adds a given material based on a given color)

Args:

color (Color): material to set

applyToChildren (boolean): if set to True goes through child nodes (default value: False)

setMaterial(self: samson.DataModel.DataGraph.Node, material: SBDDataGraphNodeMaterial, applyToChildren: bool=False) → NoneΒΆ

Sets the material for the node (removes an existing material from the node and adds a given material)

Args:

material (Material): material to set

applyToChildren (boolean): if set to True goes through child nodes (default value: False)

sprint(self: samson.Modeling.DynamicalModel.Group, offset: int=0) → NoneΒΆ

Prints some debugging information

ArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
ArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
Atom = NodeType.AtomΒΆ
Backbone = NodeType.StructuralModelNodeBackboneΒΆ
Bond = NodeType.StructuralModelNodeBondΒΆ
Camera = NodeType.DocumentCameraΒΆ
Chain = NodeType.StructuralModelNodeChainΒΆ
Conformation = NodeType.StructuralModelConformationΒΆ
Controller = NodeType.ControllerΒΆ
ControllerNode = NodeType.ControllerNodeΒΆ
DataGraphNodeGroup = NodeType.DataGraphNodeGroupΒΆ
Document = NodeType.DocumentΒΆ
DocumentCamera = NodeType.DocumentCameraΒΆ
DocumentLabel = NodeType.DocumentLabelΒΆ
DocumentLayer = NodeType.DocumentLayerΒΆ
DocumentManager = NodeType.DocumentManagerΒΆ
DynamicalGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModel = NodeType.DynamicalModelΒΆ
DynamicalModelArticulatedBodySystem = NodeType.DynamicalModelArticulatedBodySystemΒΆ
DynamicalModelNode = NodeType.DynamicalModelNodeΒΆ
DynamicalModelNodeArticulatedBody = NodeType.DynamicalModelNodeArticulatedBodyΒΆ
DynamicalModelNodeGroup = NodeType.DynamicalModelNodeGroupΒΆ
DynamicalModelNodeParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalModelNodeRigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
DynamicalModelNodeRoot = NodeType.DynamicalModelNodeRootΒΆ
DynamicalModelParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
DynamicalModelRigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
DynamicalNode = NodeType.DynamicalModelNodeΒΆ
DynamicalParticle = NodeType.DynamicalModelNodeParticleΒΆ
DynamicalRoot = NodeType.DynamicalModelNodeRootΒΆ
InteractionModel = NodeType.InteractionModelΒΆ
InteractionModelArticulatedBodySystem = NodeType.InteractionModelArticulatedBodySystemΒΆ
InteractionModelParticleSystem = NodeType.InteractionModelParticleSystemΒΆ
InteractionModelRigidBodySystem = NodeType.InteractionModelRigidBodySystemΒΆ
Label = NodeType.DocumentLabelΒΆ
Layer = NodeType.DocumentLayerΒΆ
Molecule = NodeType.StructuralModelNodeMoleculeΒΆ
NodeGroup = NodeType.DataGraphNodeGroupΒΆ
ParticleSystem = NodeType.DynamicalModelParticleSystemΒΆ
Path = NodeType.StructuralModelPathΒΆ
PropertyModel = NodeType.PropertyModelΒΆ
PropertyModelFunction = NodeType.PropertyModelFunctionΒΆ
Protein = NodeType.StructuralModelNodeProteinΒΆ
PseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
Residue = NodeType.StructuralModelNodeResidueΒΆ
RigidBody = NodeType.DynamicalModelNodeRigidBodyΒΆ
RigidBodySystem = NodeType.DynamicalModelRigidBodySystemΒΆ
Root = NodeType.StructuralModelNodeRootΒΆ
Segment = NodeType.StructuralModelNodeSegmentΒΆ
SideChain = NodeType.StructuralModelNodeSideChainΒΆ
Simulator = NodeType.SimulatorΒΆ
SimulatorArticulatedBodySystem = NodeType.SimulatorArticulatedBodySystemΒΆ
SimulatorParticleSystem = NodeType.SimulatorParticleSystemΒΆ
SimulatorRigidBodySystem = NodeType.SimulatorRigidBodySystemΒΆ
StateUpdater = NodeType.StateUpdaterΒΆ
StateUpdaterArticulatedBodySystem = NodeType.StateUpdaterArticulatedBodySystemΒΆ
StateUpdaterParticleSystem = NodeType.StateUpdaterParticleSystemΒΆ
StateUpdaterRigidBodySystem = NodeType.StateUpdaterRigidBodySystemΒΆ
StructuralGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModel = NodeType.StructuralModelΒΆ
StructuralModelConformation = NodeType.StructuralModelConformationΒΆ
StructuralModelNode = NodeType.StructuralModelNodeΒΆ
StructuralModelNodeAtom = NodeType.AtomΒΆ
StructuralModelNodeBackbone = NodeType.StructuralModelNodeBackboneΒΆ
StructuralModelNodeBond = NodeType.StructuralModelNodeBondΒΆ
StructuralModelNodeChain = NodeType.StructuralModelNodeChainΒΆ
StructuralModelNodeGroup = NodeType.StructuralModelNodeGroupΒΆ
StructuralModelNodeMolecule = NodeType.StructuralModelNodeMoleculeΒΆ
StructuralModelNodeParticle = NodeType.StructuralModelNodeParticleΒΆ
StructuralModelNodeProtein = NodeType.StructuralModelNodeProteinΒΆ
StructuralModelNodePseudoAtom = NodeType.StructuralModelNodePseudoAtomΒΆ
StructuralModelNodeResidue = NodeType.StructuralModelNodeResidueΒΆ
StructuralModelNodeRoot = NodeType.StructuralModelNodeRootΒΆ
StructuralModelNodeSegment = NodeType.StructuralModelNodeSegmentΒΆ
StructuralModelNodeSideChain = NodeType.StructuralModelNodeSideChainΒΆ
StructuralModelPath = NodeType.StructuralModelPathΒΆ
StructuralParticle = NodeType.StructuralModelNodeParticleΒΆ
Undefined = NodeType.UndefinedΒΆ
VisualModel = NodeType.VisualModelΒΆ
__eq__ΒΆ

Return self==value.

__ge__ΒΆ

Return self>=value.

__gt__ΒΆ

Return self>value.

__le__ΒΆ

Return self<=value.

__lt__ΒΆ

Return self<value.

__ne__ΒΆ

Return self!=value.

highlightingFlagΒΆ
isCreatedΒΆ

Returns true if and only if the node is created

isErasedΒΆ

Returns true if and only if the node is erased

isHighlightedΒΆ

Returns whether the node is highlighted

isSelectedΒΆ

Returns whether the node is selected

isSerializableΒΆ

Returns true when the class is serializable

isVisibleΒΆ

Returns whether the node is visible

nameΒΆ

name of the model

nodeIndexΒΆ

Returns the node index (unique in the whole data graph, but non-persistent)

selectionFlagΒΆ
typeΒΆ
typeStringΒΆ

Returns a string describing the type of the data graph node

visibilityFlagΒΆ