Sha256: abe061bcdb9b2e2d554fa04ed1fec0bafb56ba11b6e1bba2d7f339b44e764ce4

Contents?: true

Size: 560 Bytes

Versions: 4

Compression:

Stored size: 560 Bytes

Contents

require File.join( File.dirname( __FILE__ ), 'tuio_parameter' )

# /tuio/2Dobj set s i x y a X Y A m r


class TuioObjectParameter < TuioParameter
  attr_reader :angle, :fiducial_id, :rotation_vector, :rotation_accel
  
  def initialize( session_id, fiducial_id, x_pos, y_pos, angle, x_speed, y_speed, rotation_vector, motion_accel, rotation_accel )
    super( session_id, x_pos, y_pos, x_speed, y_speed, motion_accel )
    
    @fiducial_id = fiducial_id
    @angle = angle
    @rotation_vector = rotation_vector
    @rotation_accel = rotation_accel
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
aberant-tuio-ruby-0.2.1 lib/tuio-ruby/tuio_object_parameter.rb
tuio-ruby-0.2.4 lib/tuio-ruby/tuio_object_parameter.rb
tuio-ruby-0.2.3 lib/tuio-ruby/tuio_object_parameter.rb
tuio-ruby-0.2.2 lib/tuio-ruby/tuio_object_parameter.rb