NodeΒΆ
The data graph contains everything directly or indirectly added by the user through SAMSONβs user interface, plugins, etc. A data graph node has basic pre-defined data and functionalities to manage the data (models, apps, etc.).
All nodes in SAMSONβs data graph, e.g. atoms (samson.Modeling.StructralModel.Atom
), bonds (samson.Modeling.StructralModel.Bond
), etc., derive from samson.DataModel.DataGraph.Node
.
TopologyΒΆ
SAMSONβs data graph is a directed graph, where each node has one and only one parent (with the exception of documents (samson.DataModel.Document.Document
), which have no parent),
and possibly some children. The parent of a node can never be directly set, but can be retrieved using the samson.DataModel.DataGraph.Node.getParent()
function. Children are
managed using the samson.DataModel.DataGraph.Node.addChild()
and samson.DataModel.DataGraph.Node.removeChild()
functions.
Node lifecycleΒΆ
In SAMSON, a data graph node may go through four lifecycle stages:
- C++ object creation
- Node creation (using the
samson.DataModel.DataGraph.Node.create()
function) - Node destruction (using the
samson.DataModel.DataGraph.Node.erase()
function) - C++ object destruction (usually automatically, or forced)
Node identityΒΆ
Each node in the data graph has a type, which may be retrieved using the ref getType function.
For example, the type returned by the samson.Modeling.StructralModel.Atom
class, which derives from the Node
class, is Atom
,
while the type returned by the samson.Modeling.StructuralModel.StructuralModel
class is StructuralModel
.
The samson.DataModel.DataGraph.Node.getTypeString()
function is a convenience function that may be used to obtain a type of a node as a string.
# get a data graph node's type
node.type
# get a data graph node's type as a string
node.typeString
# the same as before
sam.DataModel.DataGraph.Node.getTypeString(node.type)
You can also check for a particular type of a node e.g. whether it is a visual model, an interaction mode, a structural particle, etc.
Letβs, for example, erase all visual models in the current selection:
# loop over all currently selected nodes in the active document
for node in SAMSON.getActiveDocument().getSelectedNodes():
# check if this node is a visual model
if node.isVisualModel():
# turn the undo system on
SAMSON.beginHolding("Erase selected visual models")
# erase the node
node.erase()
# turn the undo system off
SAMSON.endHolding()
Each data graph node also has a unique index, that is managed internally by SAMSON. All indices are contiguous unsigned integers
between 0
and n-1
, where n
is the number of data graph nodes. As a result, the node index is not permanent: when node
i
is deleted (and i
is different from n-1
), then node n-1
becomes node i
. Node indices are used for example when picking
objects in a viewport, by writing integers into the framebuffer instead of colors. The unique node index can be retrieved using samson.DataModel.DataGraph.Node.getNodeIndex()
.
FlagsΒΆ
Each data graph node has four flags:
- The
samson.DataModel.DataGraph.Node.isCreated
flag indicates whether the node is created or not - The
samson.DataModel.DataGraph.Node.isVisible
flag indicates whether the renderer should display the node in the viewport - The
samson.DataModel.DataGraph.Node.highlightingFlag
whether the renderer should highlight the node in the viewport - The
samson.DataModel.DataGraph.Node.selectionFlag
indicates whether the node is βselectedβ or not
These flags are accessed through functions of samson.DataModel.DataGraph.Node
and, except for the highlighting flag which has temporary purposes, changing these flagsβ values is βundoableβ.
The samson.DataModel.DataGraph.Node.getFlags()
function returns an integer
that combines the highlighting and selection flags, as well as the
βmobility flagβ (samson.Modeling.StructuralModel.Particle.mobilityFlag
) of particles (atoms and pseudo-atoms).
Color schemesΒΆ
Each data graph node may have a material (samson.DataModel.DataGraph.Material
), which may affect its rendering in the viewport.
A material may be applied to a node with the samson.DataModel.DataGraph.Node.setMaterial()
function. When a material is added to a node, it affects the node itself
and all its descendants (unless they have a material themselves, which then has priority). Precisely,
the samson.DataModel.DataGraph.Node.getMaterial()
function returns the material directly applied to the node, or
determines the deepest ancestor that has a material applied (by examining the nodeβs parent, then its parentβs parent, etc.). If
no material is found, the samson.DataModel.DataGraph.Node.getMaterial()
function returns 0.
Each material has a color scheme (samson.DataModel.DataGraph.ColorScheme
) which may be modified and used to associate a color
to a node or a spatial position (samson.DataModel.Type.position3
).
Please refer to samson.DataModel.DataGraph.ColorScheme
.
Getting nodesΒΆ
You can get an indexer of child nodes using the samson.DataModel.DataGraph.Node.getNodes()
function and the pagenodespecificationlanguage.
Letβs, for example, select all nodeβs children atoms:
# get all node's children atoms
atomIndexer = node.getNodes('node.type atom')
# the same using short names
atomIndexer = node.getNodes('n.t a')
# you can check the size of the indexer
atomIndexer
See also
See the pagenodespecificationlanguage for more information and usage examples.
Printing infoΒΆ
For many node types, you can print some information on them:
atomIndexer = SAMSON.getNodes('node.type atom')
for atom in atomIndexer:
print(atom)
atom = atomIndexer[0]
atom # prints an information on atom
See also
SAMSON API: sbddatagraphnode
-
class
samson.DataModel.DataGraph.
Node
ΒΆ Bases:
samson.Core.Reference.ReferenceTarget
This class is the base class to describe a node in the data graph.
-
class
NodeType
(self: samson.DataModel.DataGraph.Node.NodeType, arg0: int) → NoneΒΆ Bases:
pybind11_builtins.pybind11_object
Members:
Undefined
StructuralModel
StructuralModelNode
StructuralModelConformation
Conformation
StructuralModelPath
Path
StructuralModelNodeGroup
StructuralGroup
StructuralModelNodeRoot
Root
StructuralModelNodeParticle
StructuralParticle
StructuralModelNodeAtom
Atom
StructuralModelNodePseudoAtom
PseudoAtom
StructuralModelNodeBond
Bond
StructuralModelNodeResidue
Residue
StructuralModelNodeSegment
Segment
StructuralModelNodeProtein
Protein
StructuralModelNodeChain
Chain
StructuralModelNodeMolecule
Molecule
StructuralModelNodeBackbone
Backbone
StructuralModelNodeSideChain
SideChain
VisualModel
VisualModelMesh
Mesh
DynamicalModel
DynamicalModelParticleSystem
ParticleSystem
DynamicalModelRigidBodySystem
RigidBodySystem
DynamicalModelArticulatedBodySystem
ArticulatedBodySystem
DynamicalModelNode
DynamicalNode
DynamicalModelNodeGroup
DynamicalGroup
DynamicalModelNodeRoot
DynamicalRoot
DynamicalModelNodeParticle
DynamicalParticle
DynamicalModelNodeRigidBody
RigidBody
DynamicalModelNodeArticulatedBody
ArticulatedBody
InteractionModel
InteractionModelParticleSystem
InteractionModelRigidBodySystem
InteractionModelArticulatedBodySystem
PropertyModel
PropertyModelFunction
Simulator
SimulatorParticleSystem
SimulatorRigidBodySystem
SimulatorArticulatedBodySystem
StateUpdater
StateUpdaterParticleSystem
StateUpdaterRigidBodySystem
StateUpdaterArticulatedBodySystem
DocumentManager
Document
Folder
Camera
Label
DataGraphNodeGroup
NodeGroup
Controller
ControllerNode
Asset
-
ArticulatedBody
= NodeType.DynamicalModelNodeArticulatedBodyΒΆ
-
ArticulatedBodySystem
= NodeType.DynamicalModelArticulatedBodySystemΒΆ
-
Asset
= NodeType.AssetΒΆ
-
Atom
= NodeType.StructuralModelNodeAtomΒΆ
-
Backbone
= NodeType.StructuralModelNodeBackboneΒΆ
-
Bond
= NodeType.StructuralModelNodeBondΒΆ
-
Camera
= NodeType.CameraΒΆ
-
Chain
= NodeType.StructuralModelNodeChainΒΆ
-
Conformation
= NodeType.StructuralModelConformationΒΆ
-
Controller
= NodeType.ControllerΒΆ
-
ControllerNode
= NodeType.ControllerNodeΒΆ
-
DataGraphNodeGroup
= NodeType.DataGraphNodeGroupΒΆ
-
Document
= NodeType.DocumentΒΆ
-
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ΒΆ
-
Folder
= NodeType.FolderΒΆ
-
InteractionModel
= NodeType.InteractionModelΒΆ
-
InteractionModelArticulatedBodySystem
= NodeType.InteractionModelArticulatedBodySystemΒΆ
-
InteractionModelParticleSystem
= NodeType.InteractionModelParticleSystemΒΆ
-
InteractionModelRigidBodySystem
= NodeType.InteractionModelRigidBodySystemΒΆ
-
Label
= NodeType.LabelΒΆ
-
Mesh
= NodeType.VisualModelMeshΒΆ
-
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.StructuralModelNodeAtomΒΆ
-
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ΒΆ
-
VisualModelMesh
= NodeType.VisualModelMeshΒΆ
-
name
ΒΆ (self β handle) -> str
-
-
addChild
(self: samson.DataModel.DataGraph.Node, node: samson.DataModel.DataGraph.Node, nextNode: samson.DataModel.DataGraph.Node = None) → boolΒΆ Adds a child to the node
-
canAddChild
(self: samson.DataModel.DataGraph.Node, node: samson.DataModel.DataGraph.Node, nextNode: samson.DataModel.DataGraph.Node = None) → boolΒΆ Returns whether this node can add node as a child
-
canAddChildType
(self: samson.DataModel.DataGraph.Node, nodeType: SBDDataGraphNode::Type) → boolΒΆ Returns whether this node can add a node with type nodeType as a child
-
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
-
castToMesh
(self: samson.DataModel.DataGraph.Node) → SBMVisualModelMeshΒΆ Casts (if possible) from SBDDataGraphNode to SBMVisualModelMesh
-
castToVisualModel
(self: samson.DataModel.DataGraph.Node) → SBMVisualModelΒΆ Casts (if possible) from SBDDataGraphNode to SBMVisualModel
-
clone
(self: samson.DataModel.DataGraph.Node) → samson.DataModel.DataGraph.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: pagenodespecificationlanguage
-
create
(self: samson.DataModel.DataGraph.Node) → NoneΒΆ Creates the node
-
erase
(self: samson.DataModel.DataGraph.Node) → NoneΒΆ Erases the node
-
getDocument
(self: samson.DataModel.DataGraph.Node) → SBDDocumentΒΆ Returns the document the node belongs to
-
getFlags
(self: samson.DataModel.DataGraph.Node) → intΒΆ Returns the flags
-
getHierarchyString
(self: samson.DataModel.DataGraph.Node, separator: str = '/', includeNodeType: bool = False) → strΒΆ Returns a string with hierarchical information on the node and its parents names
-
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.ReferenceTarget) → intΒΆ Returns the memory footprint
-
getNextNode
(*args, **kwargs)ΒΆ Overloaded function.
- getNextNode(self: samson.DataModel.DataGraph.Node) -> samson.DataModel.DataGraph.Node
Returns the pointer to the next node in the children of the nodeβs parent
- getNextNode(self: samson.DataModel.DataGraph.Node, nodeType: SBDDataGraphNode::Type) -> samson.DataModel.DataGraph.Node
Returns the pointer to the next node with type nodeType in the children of the nodeβs parent
-
getNode
(self: int) → samson.DataModel.DataGraph.NodeΒΆ Returns the unique node corresponding to the node index nodeIndex
-
getNodes
(self: samson.DataModel.DataGraph.Node, selectionString: str = '*', visitString: str = '*', includeDependencies: bool = False) → SBDDataGraphNodeIndexerΒΆ - 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: pagenodespecificationlanguage
-
getParent
(self: samson.DataModel.DataGraph.Node) → samson.DataModel.DataGraph.NodeΒΆ Returns the parent of the node
-
getPreviousNode
(*args, **kwargs)ΒΆ Overloaded function.
- getPreviousNode(self: samson.DataModel.DataGraph.Node) -> samson.DataModel.DataGraph.Node
Returns the pointer to the previous node in the children of the nodeβs parent
- getPreviousNode(self: samson.DataModel.DataGraph.Node, nodeType: SBDDataGraphNode::Type) -> samson.DataModel.DataGraph.Node
Returns the pointer to the previous node with type nodeType in the children of the nodeβs parent
-
getRoot
(self: samson.DataModel.DataGraph.Node) → samson.DataModel.DataGraph.NodeΒΆ Returns the root of the hierarchy the node belongs to
-
getThisNode
(self: samson.DataModel.DataGraph.Node) → samson.DataModel.DataGraph.NodeΒΆ Returns the pointer to this node
-
static
getTypeString
(type: SBDDataGraphNode::Type) → strΒΆ Returns a string describing the type of the data graph node
-
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
-
isDynamicalModel
(self: samson.DataModel.DataGraph.Node) → boolΒΆ Returns true when the node is a dynamical model
-
isIn
(*args, **kwargs)ΒΆ Overloaded function.
- 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
- 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
-
isInteractionModel
(self: samson.DataModel.DataGraph.Node) → boolΒΆ Returns true when the node is a interaction model
-
isMesh
(self: samson.DataModel.DataGraph.Node) → boolΒΆ Returns true when the node is a mesh
-
isModel
(self: samson.DataModel.DataGraph.Node) → boolΒΆ Returns true when the node is a model
-
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
-
isPropertyModel
(self: samson.DataModel.DataGraph.Node) → boolΒΆ Returns true when the node is a property model
-
isSimulator
(self: samson.DataModel.DataGraph.Node) → boolΒΆ Returns true when the node is a simulator
-
isStructuralModel
(self: samson.DataModel.DataGraph.Node) → boolΒΆ Returns true when the node is a structural model
-
isStructuralParticle
(self: samson.DataModel.DataGraph.Node) → boolΒΆ Returns true when the node is a structural particle (an atom or a pseudo-atom)
-
isType
(self: samson.DataModel.DataGraph.Node, type: SBDDataGraphNode::Type) → boolΒΆ Returns true when the type of the node corresponds to type
-
isVisualModel
(self: samson.DataModel.DataGraph.Node) → boolΒΆ Returns true when the node is a visual model
-
printDebugInfo
(self: samson.DataModel.DataGraph.Node, offset: int = 0) → NoneΒΆ Prints some debugging information in stdout
-
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: SBDTypeColor) → boolΒΆ Sets the color for the node (modifies an existing material of the node or adds a material with a given color)
- Args:
- color (Color): color to set
-
setColorScheme
(self: samson.DataModel.DataGraph.Node, colorScheme: SBDDataGraphNodeColorScheme) → boolΒΆ Sets the color scheme for the node (modifies an existing material of the node or adds a material with a given color scheme)
Args: colorScheme (ColorScheme): color scheme to set
-
setMaterial
(self: samson.DataModel.DataGraph.Node, material: SBDDataGraphNodeMaterial) → boolΒΆ Sets the material for the node.
- Args:
- material (Material): material to set
-
ArticulatedBody
= NodeType.DynamicalModelNodeArticulatedBodyΒΆ
-
ArticulatedBodySystem
= NodeType.DynamicalModelArticulatedBodySystemΒΆ
-
Asset
= NodeType.AssetΒΆ
-
Atom
= NodeType.StructuralModelNodeAtomΒΆ
-
Backbone
= NodeType.StructuralModelNodeBackboneΒΆ
-
Bond
= NodeType.StructuralModelNodeBondΒΆ
-
Camera
= NodeType.CameraΒΆ
-
Chain
= NodeType.StructuralModelNodeChainΒΆ
-
Conformation
= NodeType.StructuralModelConformationΒΆ
-
Controller
= NodeType.ControllerΒΆ
-
ControllerNode
= NodeType.ControllerNodeΒΆ
-
DataGraphNodeGroup
= NodeType.DataGraphNodeGroupΒΆ
-
Document
= NodeType.DocumentΒΆ
-
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ΒΆ
-
Folder
= NodeType.FolderΒΆ
-
InteractionModel
= NodeType.InteractionModelΒΆ
-
InteractionModelArticulatedBodySystem
= NodeType.InteractionModelArticulatedBodySystemΒΆ
-
InteractionModelParticleSystem
= NodeType.InteractionModelParticleSystemΒΆ
-
InteractionModelRigidBodySystem
= NodeType.InteractionModelRigidBodySystemΒΆ
-
Label
= NodeType.LabelΒΆ
-
Mesh
= NodeType.VisualModelMeshΒΆ
-
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.StructuralModelNodeAtomΒΆ
-
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ΒΆ
-
VisualModelMesh
= NodeType.VisualModelMeshΒΆ
-
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
ΒΆ The name of the node
-
nodeIndex
ΒΆ Returns the node index (unique in the whole data graph, but non-persistent)
-
selectionFlag
ΒΆ
-
type
ΒΆ Returns the type of the data graph node
-
typeString
ΒΆ Returns a string describing the type of this data graph node
-
visibilityFlag
ΒΆ
-
class