pehpeh API server in golang
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

data-modeling.md 4.5KB

il y a 4 ans
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. # Data modeling
  2. ## objects
  3. ### primary shapes
  4. **signs**
  5. * id
  6. * descriptor
  7. * meanings: many-to-many **meanings**
  8. * dh: many-to-many **handshapes**
  9. * ndh: many-to-many **handshapes**
  10. * one-handed sign = null
  11. * two-handed sign
  12. * symmetric = same id as *dh*
  13. * assymmetric = different id than *dh*
  14. * darm: many-to-many **armshapes**
  15. * ndarm: many-to-many **armshapes**
  16. * nmm: **nonmanual_markers**
  17. * location: text
  18. - comment - descriptor
  19. * hand_synchronization: **synchronization_modes**
  20. * comment - the way each hand moves in relation to the other
  21. * arm_synchronization: **synchronization_modes**
  22. * comment - the way each arm moves in relation to the other
  23. * depiction: many-to-many **media**
  24. **handshapes**
  25. * id
  26. * descriptor: text
  27. * shape: **primes**
  28. * orientation
  29. * finger_movement: many-to-many **prime_movements**
  30. * wrist_movement: many-to-many **hand_movements**
  31. * comment - rotations from the neutral orientation
  32. * depiction: many-to-many **media**
  33. **primes**
  34. * id
  35. * descriptor: text
  36. * index_finger: **finger_shape**
  37. * middle_finger: **finger_shape**
  38. * ring_finger: **finger_shape**
  39. * pinky_finger: **finger_shape**
  40. * thumb_finger: **thumb_shape**
  41. * thumb_aperture
  42. * comment - vec3 angle between thumb and hand
  43. * depiction: many-to-many **media**
  44. **finger_shape**
  45. * id
  46. * type:
  47. * closed
  48. * bent
  49. * claw
  50. * open
  51. * tightness
  52. * comment - degree of openness; e.g. distinguishes between
  53. S (fist), O, and flat-O; may be interpreted as the distance of
  54. the tip of the finger from the base, near the palm
  55. **thumb_shape**
  56. * id
  57. * type:
  58. * palm
  59. * pressed against the palm (under the other fingers, if closed), e.g. B
  60. * fist
  61. * pressed against the outside of closed fingers, e.g. S
  62. * parallel
  63. * extending along the line of the fingers, e.g. A
  64. * normal
  65. * extending outward along the normal of the fingers, e.g. 10
  66. * perpindicular
  67. * extending outward away from the palm Z-axis, e.g. G
  68. **armshapes**
  69. * id
  70. * descriptor: text
  71. * arm: **arms**
  72. * movement: many-to-many **arm_movements**
  73. * depiction: many-to-many **media**
  74. **arms**
  75. * id
  76. * descriptor: text
  77. * elbow_location
  78. * upper_rotation
  79. * lower_rotation
  80. **nonmanual_markers**
  81. * id
  82. * descriptor: text
  83. * depiction: many-to-many **media**
  84. ### movement
  85. **arm_movements**
  86. * id
  87. * descriptor: text
  88. * elbow_motion: many-to-many **motions**
  89. * upper_motion: many-to-many **motions**
  90. * lower_motion: many-to-many **motions**
  91. * depiction
  92. * animation
  93. **motions**
  94. * id
  95. * descriptor: text
  96. * spline
  97. **hand_movements**
  98. * id
  99. * descriptor: text
  100. * target_rotation: **spline**
  101. * comment - offsets/changes relative to the neutral
  102. * loop: **loop_modes**
  103. * speed
  104. * comment - quickness of motion between control points
  105. * animation
  106. **prime_movements**
  107. * id
  108. * descriptor: text
  109. * target_position: **spline**
  110. * synchronization: **synchronization_modes**
  111. * loop: **loop_modes**
  112. * speed
  113. * comment - quickness of motion between control points
  114. * animation
  115. **synchronization_modes**
  116. * id
  117. * mode
  118. * alternating
  119. * comment - one finger moves per *loop* before the next moves
  120. * following
  121. * comment - one finger moves to target & the next begins movement
  122. * random
  123. * comment - fingers move to target in random order
  124. * concurrent
  125. * comment - movement of each finger conforms to the other, i.e. is concurrent
  126. **loop_modes**
  127. * id
  128. * mode
  129. * none
  130. * comment - finger moves to target & is held
  131. * pingpong
  132. * comment - finger moves to target & back to neutral
  133. * once
  134. * comment - finger moves to target & back to neutral two times
  135. * continuous
  136. * comment - finger moves between target & neutral for the duration
  137. ### 3d data
  138. **curve**
  139. a Bezier curve. the number of non-null points determines the type, i.e. linear=cp0+cp1, quadratic=cp0+cp1+cp2, cubic=cp0+cp1+cp2
  140. * id
  141. * cp0: vec3
  142. * cp1: vec3
  143. * cp2: vec3
  144. * cp3: vec3
  145. **spline**
  146. a polybezier, i.e. continuous composite Bezier
  147. * id
  148. **spline_curves**
  149. a link table for the curves of a spline
  150. * spline
  151. * curve
  152. ### media
  153. **media**
  154. * id
  155. * image
  156. * video
  157. * gltf: **gltf_object**
  158. **animations**
  159. * id
  160. * pose: many-to-many **poses**
  161. * comment - only applicable to linked poses
  162. * modifiers
  163. * comment - gltf representation of modifications to produce animation
  164. * media: many-to-many **media**
  165. * rendered media depictions
  166. **gltf_objects**
  167. * id
  168. * gltf_data
  169. * url
  170. **poses**
  171. * id
  172. * gltf: **gltf_objects**
  173. **image**
  174. * id
  175. * url
  176. **video**
  177. * id
  178. * url
  179. ### semantics
  180. **meanings**
  181. * id
  182. * depictions: many-to-many **images**
  183. * english_desc
  184. ## search
  185. ### relations
  186. **similars**
  187. * id
  188. * sign_1: **signs**
  189. * sign_2: **signs**