Class: Atlas

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
CoreBase
Defined in:
app/models/atlas.rb

Overview

An atlas is a set of SectionImage from a common ancestor specimen annotated with drawings using a particular onotology. Typically only a small sub-set of SectionImages from a Specimen will be annotated.

Attributes:

Associations:

Instance Method Summary (collapse)

Instance Method Details

- (Object) reference_to_image(rx, ry, rz)

Find the closest image and (x,y) to user specified 3D location



31
32
33
34
35
# File 'app/models/atlas.rb', line 31

def reference_to_image( rx, ry, rz )

  # TODO: for now just use the first data_set
  atlas_data_sets[0].reference_to_image( rx, ry, rz )
end