/ . / VolumeViewer / solid.py / Solid
Call update_model() to display the model with current levels, colors,
and rendering options. Argument align can be a model to align with or a transform matrix.
Methods
|
|
|
rgba_values
|
rgba_values ( self )
RGB values for different data components are added.
Transparency values for different data components are multiplied.
|
|
update_model
|
update_model ( self )
|
|
set_options
|
set_options (
self,
use_colormap,
colormap_size,
use_2d_textures,
dim_transparent_voxels,
bt_correction,
minimal_texture_memory,
maximum_intensity_projection,
linear_interpolation,
show_outline_box,
outline_box_rgb,
)
After setting options need to call update_model() update display.
|
|
colormap
|
colormap ( self )
RGB values for different data components are added.
Transparency values (1-alpha) for different data components are multiplied.
|
|
matrix_changed
|
matrix_changed ( self )
|
|
coloring_changed
|
coloring_changed ( self )
|
|
set_transform
|
set_transform ( self, transform )
|
|
update_coloring
|
update_coloring ( self )
|
|
model_closed_cb
|
model_closed_cb ( self, model )
|
|
__init__
|
__init__ (
self,
name,
components,
transform,
align=None,
message_cb=None,
)
|
|
volume_index_values
|
volume_index_values ( self, colormap_size )
|
|
close_model
|
close_model ( self, save_orientation=0 )
|
|
message
|
message ( self, text )
|
|
attached_model_closed_cb
|
attached_model_closed_cb ( self, model )
|
|
make_model
|
make_model ( self )
|
|
|