3.10.1.2.1.9. opengate.actors.dynamicactors

3.10.1.2.1.9.1. Classes

DynamicGeometryActor

This is the base class used for all objects that handle user input in GATE.

GeometryChanger

This is the base class used for all objects that handle user input in GATE.

VolumeImageChanger

This is the base class used for all objects that handle user input in GATE.

VolumeTranslationChanger

This is the base class used for all objects that handle user input in GATE.

VolumeRotationChanger

This is the base class used for all objects that handle user input in GATE.

3.10.1.2.1.9.2. Functions

_setter_hook_attached_to(self, value)

3.10.1.2.1.9.3. Module Contents

class opengate.actors.dynamicactors.DynamicGeometryActor(*args, **kwargs)[source]

Bases: opengate.actors.base.ActorBase, opengate_core.GateVActor

This is the base class used for all objects that handle user input in GATE.

The class is assumed to be processed by process_cls(), either explicitly or via the metaclass MetaUserInfo, before any instances of the class are created. Some class attributes, e.g. inherited_user_info_defaults, are created as part of this processing.

geometry_changers = [][source]
__initcpp__()[source]

Nothing to do in the base class.

close()[source]

Dummy implementation for inherited classes which do not implement this method.

to_dictionary()[source]
initialize()[source]

This base class method initializes common settings and should be called in all inheriting classes.

BeginOfRunActionMasterThread(run_id)[source]
opengate.actors.dynamicactors._setter_hook_attached_to(self, value)[source]
class opengate.actors.dynamicactors.GeometryChanger(*args, **kwargs)[source]

Bases: opengate.base.GateObject

This is the base class used for all objects that handle user input in GATE.

The class is assumed to be processed by process_cls(), either explicitly or via the metaclass MetaUserInfo, before any instances of the class are created. Some class attributes, e.g. inherited_user_info_defaults, are created as part of this processing.

attached_to: str | None[source]
user_info_defaults[source]
property volume_manager[source]
property attached_to_volume[source]
initialize()[source]
abstract apply_change(run_id)[source]
class opengate.actors.dynamicactors.VolumeImageChanger(*args, **kwargs)[source]

Bases: GeometryChanger

This is the base class used for all objects that handle user input in GATE.

The class is assumed to be processed by process_cls(), either explicitly or via the metaclass MetaUserInfo, before any instances of the class are created. Some class attributes, e.g. inherited_user_info_defaults, are created as part of this processing.

images: list | None[source]
label_image: dict | None[source]
user_info_defaults[source]
apply_change(run_id)[source]
class opengate.actors.dynamicactors.VolumeTranslationChanger(*args, **kwargs)[source]

Bases: GeometryChanger

This is the base class used for all objects that handle user input in GATE.

The class is assumed to be processed by process_cls(), either explicitly or via the metaclass MetaUserInfo, before any instances of the class are created. Some class attributes, e.g. inherited_user_info_defaults, are created as part of this processing.

translations: list | None[source]
repetition_index: int[source]
user_info_defaults[source]
g4_translations = [][source]
g4_physical_volume = None[source]
close()[source]

Dummy implementation for inherited classes which do not implement this method.

__getstate__()[source]

Method needed for pickling. May be overridden in inheriting classes.

initialize()[source]
apply_change(run_id)[source]
class opengate.actors.dynamicactors.VolumeRotationChanger(*args, **kwargs)[source]

Bases: GeometryChanger

This is the base class used for all objects that handle user input in GATE.

The class is assumed to be processed by process_cls(), either explicitly or via the metaclass MetaUserInfo, before any instances of the class are created. Some class attributes, e.g. inherited_user_info_defaults, are created as part of this processing.

rotations: list | None[source]
repetition_index: int[source]
user_info_defaults[source]
g4_rotations = [][source]
g4_physical_volume = None[source]
r = [][source]
close()[source]

Dummy implementation for inherited classes which do not implement this method.

__getstate__()[source]

Method needed for pickling. May be overridden in inheriting classes.

initialize()[source]
apply_change(run_id)[source]