Class: TuioObjectParameter
- Inherits:
-
TuioParameter
- Object
- TuioParameter
- TuioObjectParameter
- Defined in:
- lib/tuio-ruby/tuio_object_parameter.rb
Overview
/tuio/2Dobj set s i x y a X Y A m r
Instance Attribute Summary collapse
-
#angle ⇒ Object
readonly
Returns the value of attribute angle.
-
#fiducial_id ⇒ Object
readonly
Returns the value of attribute fiducial_id.
-
#rotation_accel ⇒ Object
readonly
Returns the value of attribute rotation_accel.
-
#rotation_vector ⇒ Object
readonly
Returns the value of attribute rotation_vector.
Attributes inherited from TuioParameter
#motion_accel, #session_id, #x_pos, #x_speed, #y_pos, #y_speed
Instance Method Summary collapse
-
#initialize(session_id, fiducial_id, x_pos, y_pos, angle, x_speed, y_speed, rotation_vector, motion_accel, rotation_accel) ⇒ TuioObjectParameter
constructor
A new instance of TuioObjectParameter.
Methods inherited from TuioParameter
Constructor Details
#initialize(session_id, fiducial_id, x_pos, y_pos, angle, x_speed, y_speed, rotation_vector, motion_accel, rotation_accel) ⇒ TuioObjectParameter
Returns a new instance of TuioObjectParameter.
8 9 10 11 12 13 14 15 |
# File 'lib/tuio-ruby/tuio_object_parameter.rb', line 8 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 |
Instance Attribute Details
#angle ⇒ Object (readonly)
Returns the value of attribute angle.
6 7 8 |
# File 'lib/tuio-ruby/tuio_object_parameter.rb', line 6 def angle @angle end |
#fiducial_id ⇒ Object (readonly)
Returns the value of attribute fiducial_id.
6 7 8 |
# File 'lib/tuio-ruby/tuio_object_parameter.rb', line 6 def fiducial_id @fiducial_id end |
#rotation_accel ⇒ Object (readonly)
Returns the value of attribute rotation_accel.
6 7 8 |
# File 'lib/tuio-ruby/tuio_object_parameter.rb', line 6 def rotation_accel @rotation_accel end |
#rotation_vector ⇒ Object (readonly)
Returns the value of attribute rotation_vector.
6 7 8 |
# File 'lib/tuio-ruby/tuio_object_parameter.rb', line 6 def rotation_vector @rotation_vector end |