synthesizers.synth_workers.dummy_synthesizer module#

Defines Dummy Synthesizer class which is responsible for scene loading.

class synthesizers.synth_workers.dummy_synthesizer.DummySynthesizer(class_name: str, scenario_owner: str)#

Bases: BaseSynthesizer

Defines Dummy Synthesizer class which is responsible for scene loading.

__name__#

Defines name of the <__call__> magic method, which Omniverse Replicator uses to register a method. It returns Synthesizer’s name as defined in the config.

Type:

str

__call__(camera_setup: List[str]) None#

Called by Replicator to make changes in the scene.

Parameters:

camera_setup (List[str]) – List of camera primitive paths in for the camera setup. It can contain more than one camera, e.g. stereo camera or more complicated camera rigs.

__init__(class_name: str, scenario_owner: str) None#
_box_primitive_path = 'SM_CardBoxA_3/SM_CardBoxA_02'#
get_prims() List[str]#

Returns paths in stage to Synthesizer’s created prims.

Returns:

List of stage prim paths.

Return type:

List[str]

register_synthesizers_prims(synthesizer_workers: Dict[str, BaseSynthesizer]) None#

Allows an access to other Synthesizer’s prims if needed.

Returns (None):