synthpic2.recipe.synth_chain.rendering_steps.rendering
¶
Module for SynthChainSteps.
Module Contents¶
Classes¶
Class to control the rendering method (e.g. image or stl). |
|
Class to control the preparation of the scene (i.e. everything but the particles) |
|
Class to control the preparation of the particles for the different rendering |
|
Helper class that provides a standard way to create an ABC using |
|
Prepare and render the current scene. |
|
Class to render a whole set of particles into a single image. |
|
Class to render a whole set of particles into a single image. |
- class synthpic2.recipe.synth_chain.rendering_steps.rendering._Renderer¶
Bases:
synthpic2.recipe.render_preparation_mixin.RenderPreparationMixin
Class to control the rendering method (e.g. image or stl).
- static select(object_: bpy.types.Object) None ¶
- static deselect(object_: bpy.types.Object) None ¶
- static render_image_to_file(output_path: synthpic2.custom_types.AnyPath) None ¶
- static export_stl_to_file(output_path: synthpic2.custom_types.AnyPath) None ¶
- static hide_in_render(object_: bpy.types.Object) None ¶
- static show_in_render(object_: bpy.types.Object) None ¶
- _prepare_stl_rendering_mode() None ¶
- class synthpic2.recipe.synth_chain.rendering_steps.rendering._Scene¶
Bases:
synthpic2.recipe.render_preparation_mixin.RenderPreparationMixin
Class to control the preparation of the scene (i.e. everything but the particles) for the different rendering steps.
- static _prepare_real_rendering_mode() None ¶
- static _prepare_stl_rendering_mode() None ¶
- _prepare_stylized_rendering_mode() None ¶
- _prepare_stylized_xray_rendering_mode() None ¶
- _prepare_normal_map_rendering_mode() None ¶
- _prepare_depth_map_rendering_mode() None ¶
- static _prepare_categorical_rendering_mode() None ¶
- static _setup_accurate_colors() None ¶
- static _disable_depth_of_field() None ¶
- static _disable_world() None ¶
- static _disable_emission() None ¶
- static _disable_lights() None ¶
- static _disable_compositing() None ¶
- static _delete_compositing_nodes() None ¶
- class synthpic2.recipe.synth_chain.rendering_steps.rendering._Particles¶
Bases:
synthpic2.recipe.render_preparation_mixin.RenderPreparationMixin
Class to control the preparation of the particles for the different rendering steps.
- set_of_interest: synthpic2.recipe.process_conditions.sets.Set¶
- set_overlapping: synthpic2.recipe.process_conditions.sets.Set¶
- prepare_for_render(rendering_mode: str) None ¶
- _prepare_categorical_rendering_mode() None ¶
- _prepare_real_rendering_mode() None ¶
- class synthpic2.recipe.synth_chain.rendering_steps.rendering.ParametricRenderingStep¶
Bases:
synthpic2.recipe.synth_chain.rendering_steps.base.RenderingStep
Helper class that provides a standard way to create an ABC using inheritance.
- class synthpic2.recipe.synth_chain.rendering_steps.rendering.DiscreteRenderingStep¶
Bases:
synthpic2.recipe.synth_chain.rendering_steps.base.RenderingStep
Prepare and render the current scene.
- rendering_mode: str¶
- output_file_name_prefix: str = ''¶
- set_name_of_interest: str = 'AllParticles'¶
- set_name_overlapping: str | None = 'Empty'¶
- subfolder: str | None¶
- do_save_features: bool = False¶
- do_save_state: bool = False¶
- image_file_extension: str = 'png'¶
- __attrs_post_init__() None ¶
- save_features() None ¶
- save_particle_features() None ¶
- save_measurement_technique_features() None ¶
- __call__(runtime_state: synthpic2.recipe.synth_chain.state.RuntimeState) synthpic2.recipe.synth_chain.state.RuntimeState ¶
NotImplemented
- save_set_info() None ¶
- _save_particle_set_associations() None ¶
- _save_set_hashes() None ¶
- abstract render() None ¶
- class synthpic2.recipe.synth_chain.rendering_steps.rendering.RenderParticlesIndividually¶
Bases:
DiscreteRenderingStep
Class to render a whole set of particles into a single image.
- render() None ¶
- class synthpic2.recipe.synth_chain.rendering_steps.rendering.RenderParticlesTogether¶
Bases:
DiscreteRenderingStep
Class to render a whole set of particles into a single image.
- render() None ¶