Class¶

This class is the root class of numerous classes in SAMSON. In particular, all data graph node classes indirectly derive from Class, as well as many SAMSON Elements classes.

This class derives class types and class categories. The function samson.Core.Class.Class.getClassTypeString() may be used to retrieve the string description corresponding to a class type, and the function samson.Core.Class.Class.getClassCategoryString() may be used to retrieve the string description corresponding to a class category.

See also

SAMSON API: SBCClass

class samson.Core.Class.Class¶

Bases: pybind11_builtins.pybind11_object

This class is the main root class.

class Category(self: samson.Core.Class.Class.Category, arg0: int) → None¶

Bases: pybind11_builtins.pybind11_object

Assembly = Category.Assembly¶
Biology = Category.Biology¶
Chemistry = Category.Chemistry¶
Developer = Category.Developer¶
Education = Category.Education¶
Electronics = Category.Electronics¶
General = Category.General¶
Materials = Category.Materials¶
Medicine = Category.Medicine¶
Metrology = Category.Metrology¶
Modeling = Category.Modeling¶
Optics = Category.Optics¶
Particles = Category.Particles¶
Pharmacy = Category.Pharmacy¶
Photonics = Category.Photonics¶
Physics = Category.Physics¶
Simulation = Category.Simulation¶
Toxicology = Category.Toxicology¶
Visualization = Category.Visualization¶
class Type(self: samson.Core.Class.Class.Type, arg0: int) → None¶

Bases: pybind11_builtins.pybind11_object

App = Type.App¶
Base = Type.Base¶
Controller = Type.Controller¶
ControllerFactory = Type.ControllerFactory¶
ControllerNode = Type.ControllerNode¶
Custom = Type.Custom¶
DynamicalModelArticulatedBodySystem = Type.DynamicalModelArticulatedBodySystem¶
DynamicalModelParticleSystem = Type.DynamicalModelParticleSystem¶
DynamicalModelParticleSystemFactory = Type.DynamicalModelParticleSystemFactory¶
DynamicalModelRigidBodySystem = Type.DynamicalModelRigidBodySystem¶
Editor = Type.Editor¶
Exporter = Type.Exporter¶
Factory = Type.Factory¶
Importer = Type.Importer¶
Inspector = Type.Inspector¶
InspectorFactory = Type.InspectorFactory¶
InteractionModelArticulatedBodySystem = Type.InteractionModelArticulatedBodySystem¶
InteractionModelParticleSystem = Type.InteractionModelParticleSystem¶
InteractionModelParticleSystemFactory = Type.InteractionModelParticleSystemFactory¶
InteractionModelRigidBodySystem = Type.InteractionModelRigidBodySystem¶
Label = Type.Label¶
LabelFactory = Type.LabelFactory¶
NeighborSearchArticulatedBodySystem = Type.NeighborSearchArticulatedBodySystem¶
NeighborSearchParticleSystem = Type.NeighborSearchParticleSystem¶
NeighborSearchRigidBodySystem = Type.NeighborSearchRigidBodySystem¶
NodeGUI = Type.NodeGUI¶
Properties = Type.Properties¶
PropertyModel = Type.PropertyModel¶
PropertyModelFactory = Type.PropertyModelFactory¶
PropertyModelFunction = Type.PropertyModelFunction¶
RenderProgram = Type.RenderProgram¶
StateUpdaterArticulatedBodySystem = Type.StateUpdaterArticulatedBodySystem¶
StateUpdaterParticleSystem = Type.StateUpdaterParticleSystem¶
StateUpdaterRigidBodySystem = Type.StateUpdaterRigidBodySystem¶
StructuralModelFactory = Type.StructuralModelFactory¶
VisualModel = Type.VisualModel¶
VisualModelFactory = Type.VisualModelFactory¶
getClassCategoryString(self: SBCClass::Category) → str¶

Returns a string describing the category of the class

getClassTypeString(self: SBCClass::Type) → str¶

Returns a string describing the type of the class

App = Type.App¶
Assembly = Category.Assembly¶
Base = Type.Base¶
Biology = Category.Biology¶
Chemistry = Category.Chemistry¶
Controller = Type.Controller¶
ControllerFactory = Type.ControllerFactory¶
ControllerNode = Type.ControllerNode¶
Custom = Type.Custom¶
Developer = Category.Developer¶
DynamicalModelArticulatedBodySystem = Type.DynamicalModelArticulatedBodySystem¶
DynamicalModelParticleSystem = Type.DynamicalModelParticleSystem¶
DynamicalModelParticleSystemFactory = Type.DynamicalModelParticleSystemFactory¶
DynamicalModelRigidBodySystem = Type.DynamicalModelRigidBodySystem¶
Editor = Type.Editor¶
Education = Category.Education¶
Electronics = Category.Electronics¶
Exporter = Type.Exporter¶
Factory = Type.Factory¶
General = Category.General¶
Importer = Type.Importer¶
Inspector = Type.Inspector¶
InspectorFactory = Type.InspectorFactory¶
InteractionModelArticulatedBodySystem = Type.InteractionModelArticulatedBodySystem¶
InteractionModelParticleSystem = Type.InteractionModelParticleSystem¶
InteractionModelParticleSystemFactory = Type.InteractionModelParticleSystemFactory¶
InteractionModelRigidBodySystem = Type.InteractionModelRigidBodySystem¶
Label = Type.Label¶
LabelFactory = Type.LabelFactory¶
Materials = Category.Materials¶
Medicine = Category.Medicine¶
Metrology = Category.Metrology¶
Modeling = Category.Modeling¶
NeighborSearchArticulatedBodySystem = Type.NeighborSearchArticulatedBodySystem¶
NeighborSearchParticleSystem = Type.NeighborSearchParticleSystem¶
NeighborSearchRigidBodySystem = Type.NeighborSearchRigidBodySystem¶
NodeGUI = Type.NodeGUI¶
Optics = Category.Optics¶
Particles = Category.Particles¶
Pharmacy = Category.Pharmacy¶
Photonics = Category.Photonics¶
Physics = Category.Physics¶
Properties = Type.Properties¶
PropertyModel = Type.PropertyModel¶
PropertyModelFactory = Type.PropertyModelFactory¶
PropertyModelFunction = Type.PropertyModelFunction¶
RenderProgram = Type.RenderProgram¶
Simulation = Category.Simulation¶
StateUpdaterArticulatedBodySystem = Type.StateUpdaterArticulatedBodySystem¶
StateUpdaterParticleSystem = Type.StateUpdaterParticleSystem¶
StateUpdaterRigidBodySystem = Type.StateUpdaterRigidBodySystem¶
StructuralModelFactory = Type.StructuralModelFactory¶
Toxicology = Category.Toxicology¶
VisualModel = Type.VisualModel¶
VisualModelFactory = Type.VisualModelFactory¶
Visualization = Category.Visualization¶