Table of Contents

Class: Grid_Component VolumeData/griddata.py

Single component of volume data used by graphical user interface.

Methods   
__init__
submatrix
  __init__ 
__init__ (
        self,
        name,
        rgba,
        )

  submatrix 
submatrix (
        self,
        ijk_origin,
        ijk_size,
        )

Must overide this function in derived class to return a 3 dimensional Numeric Python matrix. The returned matrix has size ijk_size and element ijk is accessed as m[k,j,i]. It is an error if the requested submatrix does not lie completely within the full data matrix. It is also an error for the size to be <= 0 in any dimension. These invalid inputs might throw an exception or might return garbage. It is the callers responsibility to make sure the arguments are valid.


Table of Contents

This document was automatically generated on Tue Nov 5 16:56:42 2002 by HappyDoc version 2.0.1