Table of Contents

Class: Solid VolumeViewer/solid.py

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   
__init__
attached_model_closed_cb
close_model
coloring_changed
colormap
make_model
matrix_changed
model
model_closed_cb
rgba_values
set_options
set_origin_and_step
update_coloring
update_model
volume_index_values
  __init__ 
__init__ (
        self,
        name,
        components,
        xyz_origin,
        xyz_step,
        align=None,
        message_cb=None,
        )

  attached_model_closed_cb 
attached_model_closed_cb ( self,  model )

  close_model 
close_model ( self,  save_orientation=0 )

  coloring_changed 
coloring_changed ( self )

  colormap 
colormap ( self )

RGB values for different data components are added. Transparency values (1-alpha) for different data components are multiplied.

  make_model 
make_model ( self )

  matrix_changed 
matrix_changed ( self )

  model 
model ( self )

  model_closed_cb 
model_closed_cb ( self,  model )

  rgba_values 
rgba_values ( self )

RGB values for different data components are added. Transparency values for different data components are multiplied.

  set_options 
set_options (
        self,
        use_colormap,
        colormap_size,
        use_2d_textures,
        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.

  set_origin_and_step 
set_origin_and_step (
        self,
        xyz_origin,
        xyz_step,
        )

  update_coloring 
update_coloring ( self )

  update_model 
update_model ( self )

  volume_index_values 
volume_index_values ( self,  colormap_size )


Table of Contents

This document was automatically generated on Wed Mar 26 19:02:42 2003 by HappyDoc version 2.1