HappyDoc Generated Documentation ./SurfaceColor

. / SurfaceColor 

Functions   
  inside_values 
inside_values ( values,  outside )
  set_outside_volume_colors 
set_outside_volume_colors (
        outside,
        rgba_outside_volume,
        rgba,
        )
  colorable_surface_models 
colorable_surface_models ()
  surface_coloring 
surface_coloring ( surface )
  interpolate_colormap 
interpolate_colormap (
        values,
        color_data_values,
        rgba_colors,
        rgba_above_value_range,
        rgba_below_value_range,
        )
  array_value_range 
array_value_range ( a )
  distances_from_origin 
distances_from_origin ( points,  origin )

Given n by 3 array of points and an origin return an array of distances of points from origin.

  color_surface_piece 
color_surface_piece ( p,  color_function )
  distances_from_axis 
distances_from_axis (
        points,
        origin,
        axis,
        )

Given n by 3 array of points and an axis return an array of distances of points from axis.

  stop_coloring_surface 
stop_coloring_surface ( model )

Stop coloring a surface using a coloring function.

  surface_value_range 
surface_value_range (
        model,
        value_range_function,
        caps_only,
        )

Calculate range of surface values. The value range function takes an n by 3 NumPy array of floats and returns a min and max value.

  color_surface 
color_surface (
        model,
        color_source,
        caps_only,
        auto_update,
        )

Color a surface using a coloring function. The color function takes an n by 3 NumPy array of floats and returns an n by 4 array specifying the point colors as red, green, blue, and alpha components in [0,1].

  distances_along_axis 
distances_along_axis (
        points,
        origin,
        axis,
        )

Given n by 3 array of points and an axis return an array of distances of points along the axis.

  combine_min_max 
combine_min_max ( min_max_1,  min_max_2 )
  color_by_volume 
color_by_volume (
        surface,
        volume,
        values,
        value_colors,
        color_above=None,
        color_below=None,
        color_outside=None,
        caps_only=None,
        auto_update=None,
        )

Colors must be rgba tuples.

Classes   

Radial_Color

Height_Color

Volume_Color

Color_Map

All color arguments are rgba 4-tuples.

Geometry_Color

Color_Updater

Cylinder_Color

Electrostatic_Color

Gradient_Color

Python files   

ChimeraExtension.py

gui.py

session.py


This document was automatically generated Fri May 30 21:13:44 2008 by HappyDoc version 3.1