Class: ImageCoordinate

Inherits:
Object
  • Object
show all
Defined in:
lib/rimageanalysistools/image_shortcuts.rb

Constant Summary collapse

Lookups =
{x: X, y: Y, z: Z, c: C, t: T}

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.[](*values) ⇒ Object



61
62
63
64
65
# File 'lib/rimageanalysistools/image_shortcuts.rb', line 61

def self.[](*values)

  createCoordXYZCT(*values)

end

Instance Method Details

#[](dim) ⇒ Object



53
54
55
# File 'lib/rimageanalysistools/image_shortcuts.rb', line 53

def [](dim)
  get(Lookups[dim])
end

#[]=(dim, value) ⇒ Object



57
58
59
# File 'lib/rimageanalysistools/image_shortcuts.rb', line 57

def []=(dim, value)
  set(Lookups[dim], value)
end