Scene Components¶
- class yt_idv.scene_components.base_component.SceneComponent(**kwargs: Any)[source]¶
Bases:
HasTraits- active¶
A boolean (True, False) trait.
- base_quad¶
A trait whose value must be an instance of a specified class.
The value can also be an instance of a subclass of the specified class.
Subclasses can declare default classes by overriding the klass attribute
- clear_region¶
A boolean (True, False) trait.
- cmap_log¶
A boolean (True, False) trait.
- cmap_max¶
A casting version of the float trait.
- cmap_min¶
A casting version of the float trait.
- colormap¶
A trait whose value must be an instance of a specified class.
The value can also be an instance of a subclass of the specified class.
Subclasses can declare default classes by overriding the klass attribute
- colormap_fragment¶
- colormap_vertex¶
- data¶
A trait whose value must be an instance of a specified class.
The value can also be an instance of a subclass of the specified class.
Subclasses can declare default classes by overriding the klass attribute
- display_bounds¶
An instance of a Python tuple.
- display_name¶
A trait for unicode strings.
- fb¶
A trait whose value must be an instance of a specified class.
The value can also be an instance of a subclass of the specified class.
Subclasses can declare default classes by overriding the klass attribute
- property final_pass¶
- final_pass_fragment¶
- final_pass_vertex¶
- fixed_cmap_max¶
A casting version of the float trait.
- fixed_cmap_min¶
A casting version of the float trait.
- fragment_shader¶
- geometry_shader¶
- iso_layers¶
An instance of a Python list.
- iso_layers_alpha¶
An instance of a Python list.
- iso_log¶
A boolean (True, False) trait.
- iso_tol_is_pct¶
A boolean (True, False) trait.
- iso_tolerance¶
A casting version of the float trait.
- name = 'undefined'¶
- priority¶
A casting version of the int trait.
- property program1¶
- property program2¶
- render_method¶
A trait for unicode strings.
- scale¶
A casting version of the float trait.
- use_db¶
A boolean (True, False) trait.
- vertex_shader¶
- visible¶
A boolean (True, False) trait.
- class yt_idv.scene_components.blocks.BlockRendering(**kwargs: Any)[source]¶
Bases:
SceneComponentA class that renders block data. It may do this in one of several ways, including mesh outline. This allows us to render a single collection of blocks multiple times in a single scene and to separate out the memory handling from the display.
- box_width¶
A casting version of the float trait.
- data¶
A trait whose value must be an instance of a specified class.
The value can also be an instance of a subclass of the specified class.
Subclasses can declare default classes by overriding the klass attribute
- name = 'block_rendering'¶
- priority = 10¶
- sample_factor¶
A casting version of the float trait.
- slice_normal¶
An instance of a Python tuple.
- slice_position¶
An instance of a Python tuple.
- tf_log¶
A boolean (True, False) trait.
- tf_max¶
A casting version of the float trait.
- tf_min¶
A casting version of the float trait.
- transfer_function¶
A trait whose value must be an instance of a specified class.
The value can also be an instance of a subclass of the specified class.
Subclasses can declare default classes by overriding the klass attribute
- class yt_idv.scene_components.octree_blocks.OctreeBlockRendering(**kwargs: Any)[source]¶
Bases:
SceneComponentA class that renders block data. It may do this in one of several ways, including mesh outline. This allows us to render a single collection of blocks multiple times in a single scene and to separate out the memory handling from the display.
- box_width¶
A casting version of the float trait.
- data¶
A trait whose value must be an instance of a specified class.
The value can also be an instance of a subclass of the specified class.
Subclasses can declare default classes by overriding the klass attribute
- name = 'octree_block_rendering'¶
- priority = 10¶
- sample_factor¶
A casting version of the float trait.
- tf_log¶
A boolean (True, False) trait.
- tf_max¶
A casting version of the float trait.
- tf_min¶
A casting version of the float trait.
- transfer_function¶
A trait whose value must be an instance of a specified class.
The value can also be an instance of a subclass of the specified class.
Subclasses can declare default classes by overriding the klass attribute
- class yt_idv.scene_components.mesh.MeshRendering(**kwargs: Any)[source]¶
Bases:
SceneComponent- data¶
A trait whose value must be an instance of a specified class.
The value can also be an instance of a subclass of the specified class.
Subclasses can declare default classes by overriding the klass attribute
- name = 'mesh_rendering'¶
- class yt_idv.scene_components.rgba.RGBADisplay(**kwargs: Any)[source]¶
Bases:
SceneComponent- data¶
A trait whose value must be an instance of a specified class.
The value can also be an instance of a subclass of the specified class.
Subclasses can declare default classes by overriding the klass attribute
- name = 'rgba_display'¶
- priority = 20¶
- class yt_idv.scene_components.rgba.RGBALinePlot(**kwargs: Any)[source]¶
Bases:
SceneComponent- data¶
A trait whose value must be an instance of a specified class.
The value can also be an instance of a subclass of the specified class.
Subclasses can declare default classes by overriding the klass attribute
- name = 'rgba_line_plot'¶
- priority = 20¶
- class yt_idv.scene_components.curves.CurveRendering(**kwargs: Any)[source]¶
Bases:
SceneComponentA class that renders user-specified curves.
- curve_rgba¶
An instance of a Python tuple.
- data¶
The curve data.
- name = 'curve_rendering'¶
- priority = 10¶
- class yt_idv.scene_components.curves.CurveCollectionRendering(**kwargs: Any)[source]¶
Bases:
CurveRenderingrendering a collection of curves
- curve_collection¶
An instance of a Python list.
- data¶
A trait whose value must be an instance of a specified class.
The value can also be an instance of a subclass of the specified class.
Subclasses can declare default classes by overriding the klass attribute
- name = 'multi_curve_rendering'¶