pxr-gf-dev 0.25.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (219) hide show
  1. pxr_gf_dev-0.25.5/.gitignore +91 -0
  2. pxr_gf_dev-0.25.5/CMakeLists.txt +96 -0
  3. pxr_gf_dev-0.25.5/LICENSE.txt +219 -0
  4. pxr_gf_dev-0.25.5/NOTICE.txt +8 -0
  5. pxr_gf_dev-0.25.5/PKG-INFO +38 -0
  6. pxr_gf_dev-0.25.5/README.md +20 -0
  7. pxr_gf_dev-0.25.5/cmake/pxr-gf-config.cmake.in +13 -0
  8. pxr_gf_dev-0.25.5/pyproject-dev.toml +43 -0
  9. pxr_gf_dev-0.25.5/pyproject.toml +43 -0
  10. pxr_gf_dev-0.25.5/resources/gfGenCode.py +342 -0
  11. pxr_gf_dev-0.25.5/resources/templates/dualQuat.template.cpp +148 -0
  12. pxr_gf_dev-0.25.5/resources/templates/dualQuat.template.h +268 -0
  13. pxr_gf_dev-0.25.5/resources/templates/matrix.template.cpp +209 -0
  14. pxr_gf_dev-0.25.5/resources/templates/matrix.template.h +360 -0
  15. pxr_gf_dev-0.25.5/resources/templates/matrix2.template.cpp +60 -0
  16. pxr_gf_dev-0.25.5/resources/templates/matrix2.template.h +22 -0
  17. pxr_gf_dev-0.25.5/resources/templates/matrix3.template.cpp +247 -0
  18. pxr_gf_dev-0.25.5/resources/templates/matrix3.template.h +153 -0
  19. pxr_gf_dev-0.25.5/resources/templates/matrix4.template.cpp +748 -0
  20. pxr_gf_dev-0.25.5/resources/templates/matrix4.template.h +387 -0
  21. pxr_gf_dev-0.25.5/resources/templates/quat.template.cpp +189 -0
  22. pxr_gf_dev-0.25.5/resources/templates/quat.template.h +275 -0
  23. pxr_gf_dev-0.25.5/resources/templates/range.template.cpp +157 -0
  24. pxr_gf_dev-0.25.5/resources/templates/range.template.h +416 -0
  25. pxr_gf_dev-0.25.5/resources/templates/vec.template.cpp +241 -0
  26. pxr_gf_dev-0.25.5/resources/templates/vec.template.h +432 -0
  27. pxr_gf_dev-0.25.5/resources/templates/wrapDualQuat.template.cpp +176 -0
  28. pxr_gf_dev-0.25.5/resources/templates/wrapMatrix.template.cpp +344 -0
  29. pxr_gf_dev-0.25.5/resources/templates/wrapMatrix2.template.cpp +11 -0
  30. pxr_gf_dev-0.25.5/resources/templates/wrapMatrix3.template.cpp +46 -0
  31. pxr_gf_dev-0.25.5/resources/templates/wrapMatrix4.template.cpp +175 -0
  32. pxr_gf_dev-0.25.5/resources/templates/wrapQuat.template.cpp +171 -0
  33. pxr_gf_dev-0.25.5/resources/templates/wrapRange.template.cpp +164 -0
  34. pxr_gf_dev-0.25.5/resources/templates/wrapVec.template.cpp +511 -0
  35. pxr_gf_dev-0.25.5/src/CMakeLists.txt +196 -0
  36. pxr_gf_dev-0.25.5/src/pxr/gf/api.h +31 -0
  37. pxr_gf_dev-0.25.5/src/pxr/gf/bbox3d.cpp +177 -0
  38. pxr_gf_dev-0.25.5/src/pxr/gf/bbox3d.h +243 -0
  39. pxr_gf_dev-0.25.5/src/pxr/gf/camera.cpp +371 -0
  40. pxr_gf_dev-0.25.5/src/pxr/gf/camera.h +239 -0
  41. pxr_gf_dev-0.25.5/src/pxr/gf/color.cpp +96 -0
  42. pxr_gf_dev-0.25.5/src/pxr/gf/color.h +132 -0
  43. pxr_gf_dev-0.25.5/src/pxr/gf/colorSpace.cpp +198 -0
  44. pxr_gf_dev-0.25.5/src/pxr/gf/colorSpace.h +238 -0
  45. pxr_gf_dev-0.25.5/src/pxr/gf/colorSpace_data.h +19 -0
  46. pxr_gf_dev-0.25.5/src/pxr/gf/declare.h +65 -0
  47. pxr_gf_dev-0.25.5/src/pxr/gf/dualQuatd.cpp +149 -0
  48. pxr_gf_dev-0.25.5/src/pxr/gf/dualQuatd.h +266 -0
  49. pxr_gf_dev-0.25.5/src/pxr/gf/dualQuatf.cpp +149 -0
  50. pxr_gf_dev-0.25.5/src/pxr/gf/dualQuatf.h +266 -0
  51. pxr_gf_dev-0.25.5/src/pxr/gf/dualQuath.cpp +149 -0
  52. pxr_gf_dev-0.25.5/src/pxr/gf/dualQuath.h +267 -0
  53. pxr_gf_dev-0.25.5/src/pxr/gf/frustum.cpp +1347 -0
  54. pxr_gf_dev-0.25.5/src/pxr/gf/frustum.h +684 -0
  55. pxr_gf_dev-0.25.5/src/pxr/gf/gamma.cpp +99 -0
  56. pxr_gf_dev-0.25.5/src/pxr/gf/gamma.h +89 -0
  57. pxr_gf_dev-0.25.5/src/pxr/gf/half.cpp +18 -0
  58. pxr_gf_dev-0.25.5/src/pxr/gf/half.h +42 -0
  59. pxr_gf_dev-0.25.5/src/pxr/gf/homogeneous.cpp +56 -0
  60. pxr_gf_dev-0.25.5/src/pxr/gf/homogeneous.h +62 -0
  61. pxr_gf_dev-0.25.5/src/pxr/gf/ilmbase_eLut.h +71 -0
  62. pxr_gf_dev-0.25.5/src/pxr/gf/ilmbase_half.README +34 -0
  63. pxr_gf_dev-0.25.5/src/pxr/gf/ilmbase_half.cpp +323 -0
  64. pxr_gf_dev-0.25.5/src/pxr/gf/ilmbase_half.h +759 -0
  65. pxr_gf_dev-0.25.5/src/pxr/gf/ilmbase_half.patch +397 -0
  66. pxr_gf_dev-0.25.5/src/pxr/gf/ilmbase_halfLimits.h +115 -0
  67. pxr_gf_dev-0.25.5/src/pxr/gf/ilmbase_toFloat.h +16391 -0
  68. pxr_gf_dev-0.25.5/src/pxr/gf/interval.cpp +32 -0
  69. pxr_gf_dev-0.25.5/src/pxr/gf/interval.h +403 -0
  70. pxr_gf_dev-0.25.5/src/pxr/gf/limits.h +25 -0
  71. pxr_gf_dev-0.25.5/src/pxr/gf/line.cpp +130 -0
  72. pxr_gf_dev-0.25.5/src/pxr/gf/line.h +106 -0
  73. pxr_gf_dev-0.25.5/src/pxr/gf/line2d.cpp +116 -0
  74. pxr_gf_dev-0.25.5/src/pxr/gf/line2d.h +103 -0
  75. pxr_gf_dev-0.25.5/src/pxr/gf/lineSeg.cpp +121 -0
  76. pxr_gf_dev-0.25.5/src/pxr/gf/lineSeg.h +118 -0
  77. pxr_gf_dev-0.25.5/src/pxr/gf/lineSeg2d.cpp +110 -0
  78. pxr_gf_dev-0.25.5/src/pxr/gf/lineSeg2d.h +114 -0
  79. pxr_gf_dev-0.25.5/src/pxr/gf/math.cpp +94 -0
  80. pxr_gf_dev-0.25.5/src/pxr/gf/math.h +378 -0
  81. pxr_gf_dev-0.25.5/src/pxr/gf/matrix2d.cpp +251 -0
  82. pxr_gf_dev-0.25.5/src/pxr/gf/matrix2d.h +354 -0
  83. pxr_gf_dev-0.25.5/src/pxr/gf/matrix2f.cpp +251 -0
  84. pxr_gf_dev-0.25.5/src/pxr/gf/matrix2f.h +354 -0
  85. pxr_gf_dev-0.25.5/src/pxr/gf/matrix3d.cpp +500 -0
  86. pxr_gf_dev-0.25.5/src/pxr/gf/matrix3d.h +486 -0
  87. pxr_gf_dev-0.25.5/src/pxr/gf/matrix3f.cpp +500 -0
  88. pxr_gf_dev-0.25.5/src/pxr/gf/matrix3f.h +486 -0
  89. pxr_gf_dev-0.25.5/src/pxr/gf/matrix4d.cpp +1124 -0
  90. pxr_gf_dev-0.25.5/src/pxr/gf/matrix4d.h +709 -0
  91. pxr_gf_dev-0.25.5/src/pxr/gf/matrix4f.cpp +1126 -0
  92. pxr_gf_dev-0.25.5/src/pxr/gf/matrix4f.h +745 -0
  93. pxr_gf_dev-0.25.5/src/pxr/gf/matrixData.cpp +8 -0
  94. pxr_gf_dev-0.25.5/src/pxr/gf/matrixData.h +49 -0
  95. pxr_gf_dev-0.25.5/src/pxr/gf/multiInterval.cpp +361 -0
  96. pxr_gf_dev-0.25.5/src/pxr/gf/multiInterval.h +166 -0
  97. pxr_gf_dev-0.25.5/src/pxr/gf/nc/nanocolor.c +889 -0
  98. pxr_gf_dev-0.25.5/src/pxr/gf/nc/nanocolor.h +421 -0
  99. pxr_gf_dev-0.25.5/src/pxr/gf/numericCast.h +150 -0
  100. pxr_gf_dev-0.25.5/src/pxr/gf/ostreamHelpers.cpp +8 -0
  101. pxr_gf_dev-0.25.5/src/pxr/gf/ostreamHelpers.h +37 -0
  102. pxr_gf_dev-0.25.5/src/pxr/gf/overview.dox +54 -0
  103. pxr_gf_dev-0.25.5/src/pxr/gf/pch.h +56 -0
  104. pxr_gf_dev-0.25.5/src/pxr/gf/plane.cpp +237 -0
  105. pxr_gf_dev-0.25.5/src/pxr/gf/plane.h +199 -0
  106. pxr_gf_dev-0.25.5/src/pxr/gf/pyBufferUtils.cpp +50 -0
  107. pxr_gf_dev-0.25.5/src/pxr/gf/pyBufferUtils.h +25 -0
  108. pxr_gf_dev-0.25.5/src/pxr/gf/quatd.cpp +191 -0
  109. pxr_gf_dev-0.25.5/src/pxr/gf/quatd.h +273 -0
  110. pxr_gf_dev-0.25.5/src/pxr/gf/quaternion.cpp +134 -0
  111. pxr_gf_dev-0.25.5/src/pxr/gf/quaternion.h +236 -0
  112. pxr_gf_dev-0.25.5/src/pxr/gf/quatf.cpp +191 -0
  113. pxr_gf_dev-0.25.5/src/pxr/gf/quatf.h +273 -0
  114. pxr_gf_dev-0.25.5/src/pxr/gf/quath.cpp +191 -0
  115. pxr_gf_dev-0.25.5/src/pxr/gf/quath.h +274 -0
  116. pxr_gf_dev-0.25.5/src/pxr/gf/range1d.cpp +60 -0
  117. pxr_gf_dev-0.25.5/src/pxr/gf/range1d.h +341 -0
  118. pxr_gf_dev-0.25.5/src/pxr/gf/range1f.cpp +60 -0
  119. pxr_gf_dev-0.25.5/src/pxr/gf/range1f.h +341 -0
  120. pxr_gf_dev-0.25.5/src/pxr/gf/range2d.cpp +97 -0
  121. pxr_gf_dev-0.25.5/src/pxr/gf/range2d.h +360 -0
  122. pxr_gf_dev-0.25.5/src/pxr/gf/range2f.cpp +97 -0
  123. pxr_gf_dev-0.25.5/src/pxr/gf/range2f.h +360 -0
  124. pxr_gf_dev-0.25.5/src/pxr/gf/range3d.cpp +107 -0
  125. pxr_gf_dev-0.25.5/src/pxr/gf/range3d.h +366 -0
  126. pxr_gf_dev-0.25.5/src/pxr/gf/range3f.cpp +107 -0
  127. pxr_gf_dev-0.25.5/src/pxr/gf/range3f.h +366 -0
  128. pxr_gf_dev-0.25.5/src/pxr/gf/ray.cpp +522 -0
  129. pxr_gf_dev-0.25.5/src/pxr/gf/ray.h +274 -0
  130. pxr_gf_dev-0.25.5/src/pxr/gf/rect2i.cpp +57 -0
  131. pxr_gf_dev-0.25.5/src/pxr/gf/rect2i.h +288 -0
  132. pxr_gf_dev-0.25.5/src/pxr/gf/rotation.cpp +658 -0
  133. pxr_gf_dev-0.25.5/src/pxr/gf/rotation.h +279 -0
  134. pxr_gf_dev-0.25.5/src/pxr/gf/size2.cpp +24 -0
  135. pxr_gf_dev-0.25.5/src/pxr/gf/size2.h +183 -0
  136. pxr_gf_dev-0.25.5/src/pxr/gf/size3.cpp +28 -0
  137. pxr_gf_dev-0.25.5/src/pxr/gf/size3.h +196 -0
  138. pxr_gf_dev-0.25.5/src/pxr/gf/traits.h +54 -0
  139. pxr_gf_dev-0.25.5/src/pxr/gf/transform.cpp +199 -0
  140. pxr_gf_dev-0.25.5/src/pxr/gf/transform.h +235 -0
  141. pxr_gf_dev-0.25.5/src/pxr/gf/vec2d.cpp +62 -0
  142. pxr_gf_dev-0.25.5/src/pxr/gf/vec2d.h +375 -0
  143. pxr_gf_dev-0.25.5/src/pxr/gf/vec2f.cpp +62 -0
  144. pxr_gf_dev-0.25.5/src/pxr/gf/vec2f.h +375 -0
  145. pxr_gf_dev-0.25.5/src/pxr/gf/vec2h.cpp +62 -0
  146. pxr_gf_dev-0.25.5/src/pxr/gf/vec2h.h +376 -0
  147. pxr_gf_dev-0.25.5/src/pxr/gf/vec2i.cpp +62 -0
  148. pxr_gf_dev-0.25.5/src/pxr/gf/vec2i.h +252 -0
  149. pxr_gf_dev-0.25.5/src/pxr/gf/vec3d.cpp +255 -0
  150. pxr_gf_dev-0.25.5/src/pxr/gf/vec3d.h +447 -0
  151. pxr_gf_dev-0.25.5/src/pxr/gf/vec3f.cpp +255 -0
  152. pxr_gf_dev-0.25.5/src/pxr/gf/vec3f.h +447 -0
  153. pxr_gf_dev-0.25.5/src/pxr/gf/vec3h.cpp +255 -0
  154. pxr_gf_dev-0.25.5/src/pxr/gf/vec3h.h +448 -0
  155. pxr_gf_dev-0.25.5/src/pxr/gf/vec3i.cpp +66 -0
  156. pxr_gf_dev-0.25.5/src/pxr/gf/vec3i.h +266 -0
  157. pxr_gf_dev-0.25.5/src/pxr/gf/vec4d.cpp +70 -0
  158. pxr_gf_dev-0.25.5/src/pxr/gf/vec4d.h +407 -0
  159. pxr_gf_dev-0.25.5/src/pxr/gf/vec4f.cpp +70 -0
  160. pxr_gf_dev-0.25.5/src/pxr/gf/vec4f.h +407 -0
  161. pxr_gf_dev-0.25.5/src/pxr/gf/vec4h.cpp +70 -0
  162. pxr_gf_dev-0.25.5/src/pxr/gf/vec4h.h +408 -0
  163. pxr_gf_dev-0.25.5/src/pxr/gf/vec4i.cpp +70 -0
  164. pxr_gf_dev-0.25.5/src/pxr/gf/vec4i.h +280 -0
  165. pxr_gf_dev-0.25.5/src/python/CMakeLists.txt +121 -0
  166. pxr_gf_dev-0.25.5/src/python/__init__.py +15 -0
  167. pxr_gf_dev-0.25.5/src/python/module.cpp +85 -0
  168. pxr_gf_dev-0.25.5/src/python/wrapBBox3d.cpp +127 -0
  169. pxr_gf_dev-0.25.5/src/python/wrapCamera.cpp +186 -0
  170. pxr_gf_dev-0.25.5/src/python/wrapColor.cpp +57 -0
  171. pxr_gf_dev-0.25.5/src/python/wrapColorSpace.cpp +69 -0
  172. pxr_gf_dev-0.25.5/src/python/wrapDualQuatd.cpp +172 -0
  173. pxr_gf_dev-0.25.5/src/python/wrapDualQuatf.cpp +172 -0
  174. pxr_gf_dev-0.25.5/src/python/wrapDualQuath.cpp +172 -0
  175. pxr_gf_dev-0.25.5/src/python/wrapFrustum.cpp +250 -0
  176. pxr_gf_dev-0.25.5/src/python/wrapGamma.cpp +43 -0
  177. pxr_gf_dev-0.25.5/src/python/wrapHalf.cpp +74 -0
  178. pxr_gf_dev-0.25.5/src/python/wrapHomogeneous.cpp +26 -0
  179. pxr_gf_dev-0.25.5/src/python/wrapInterval.cpp +151 -0
  180. pxr_gf_dev-0.25.5/src/python/wrapLimits.cpp +20 -0
  181. pxr_gf_dev-0.25.5/src/python/wrapLine.cpp +106 -0
  182. pxr_gf_dev-0.25.5/src/python/wrapLineSeg.cpp +119 -0
  183. pxr_gf_dev-0.25.5/src/python/wrapMath.cpp +167 -0
  184. pxr_gf_dev-0.25.5/src/python/wrapMatrix2d.cpp +326 -0
  185. pxr_gf_dev-0.25.5/src/python/wrapMatrix2f.cpp +320 -0
  186. pxr_gf_dev-0.25.5/src/python/wrapMatrix3d.cpp +354 -0
  187. pxr_gf_dev-0.25.5/src/python/wrapMatrix3f.cpp +348 -0
  188. pxr_gf_dev-0.25.5/src/python/wrapMatrix4d.cpp +470 -0
  189. pxr_gf_dev-0.25.5/src/python/wrapMatrix4f.cpp +449 -0
  190. pxr_gf_dev-0.25.5/src/python/wrapMultiInterval.cpp +146 -0
  191. pxr_gf_dev-0.25.5/src/python/wrapPlane.cpp +102 -0
  192. pxr_gf_dev-0.25.5/src/python/wrapQuatd.cpp +167 -0
  193. pxr_gf_dev-0.25.5/src/python/wrapQuaternion.cpp +130 -0
  194. pxr_gf_dev-0.25.5/src/python/wrapQuatf.cpp +167 -0
  195. pxr_gf_dev-0.25.5/src/python/wrapQuath.cpp +167 -0
  196. pxr_gf_dev-0.25.5/src/python/wrapRange1d.cpp +149 -0
  197. pxr_gf_dev-0.25.5/src/python/wrapRange1f.cpp +149 -0
  198. pxr_gf_dev-0.25.5/src/python/wrapRange2d.cpp +152 -0
  199. pxr_gf_dev-0.25.5/src/python/wrapRange2f.cpp +152 -0
  200. pxr_gf_dev-0.25.5/src/python/wrapRange3d.cpp +152 -0
  201. pxr_gf_dev-0.25.5/src/python/wrapRange3f.cpp +152 -0
  202. pxr_gf_dev-0.25.5/src/python/wrapRay.cpp +299 -0
  203. pxr_gf_dev-0.25.5/src/python/wrapRect2i.cpp +109 -0
  204. pxr_gf_dev-0.25.5/src/python/wrapRotation.cpp +241 -0
  205. pxr_gf_dev-0.25.5/src/python/wrapSize2.cpp +128 -0
  206. pxr_gf_dev-0.25.5/src/python/wrapSize3.cpp +132 -0
  207. pxr_gf_dev-0.25.5/src/python/wrapTransform.cpp +182 -0
  208. pxr_gf_dev-0.25.5/src/python/wrapVec2d.cpp +460 -0
  209. pxr_gf_dev-0.25.5/src/python/wrapVec2f.cpp +458 -0
  210. pxr_gf_dev-0.25.5/src/python/wrapVec2h.cpp +456 -0
  211. pxr_gf_dev-0.25.5/src/python/wrapVec2i.cpp +410 -0
  212. pxr_gf_dev-0.25.5/src/python/wrapVec3d.cpp +497 -0
  213. pxr_gf_dev-0.25.5/src/python/wrapVec3f.cpp +495 -0
  214. pxr_gf_dev-0.25.5/src/python/wrapVec3h.cpp +493 -0
  215. pxr_gf_dev-0.25.5/src/python/wrapVec3i.cpp +413 -0
  216. pxr_gf_dev-0.25.5/src/python/wrapVec4d.cpp +466 -0
  217. pxr_gf_dev-0.25.5/src/python/wrapVec4f.cpp +464 -0
  218. pxr_gf_dev-0.25.5/src/python/wrapVec4h.cpp +462 -0
  219. pxr_gf_dev-0.25.5/src/python/wrapVec4i.cpp +416 -0
@@ -0,0 +1,91 @@
1
+ # Prerequisites
2
+ *.d
3
+
4
+ # Compiled Object files
5
+ *.slo
6
+ *.lo
7
+ *.o
8
+ *.obj
9
+
10
+ # Precompiled Headers
11
+ *.gch
12
+ *.pch
13
+
14
+ # Compiled Dynamic libraries
15
+ *.so
16
+ *.dylib
17
+ *.dll
18
+
19
+ # Fortran module files
20
+ *.mod
21
+ *.smod
22
+
23
+ # Compiled Static libraries
24
+ *.lai
25
+ *.la
26
+ *.a
27
+ *.lib
28
+
29
+ # Executables
30
+ *.exe
31
+ *.out
32
+ *.app
33
+ !test/baseline/**/*.out
34
+
35
+ # Environment
36
+ .DS_Store
37
+ .AppleDouble
38
+
39
+ # Development
40
+ build/
41
+ .vscode
42
+ .project
43
+ .settings
44
+ .idea/
45
+ .history/
46
+
47
+ # CMake
48
+ cmake-build-*/
49
+
50
+ # Python byte-compiled / optimized / DLL files
51
+ __pycache__/
52
+ *.py[cod]
53
+ *$py.class
54
+
55
+ # Python Distribution / packaging
56
+ .Python
57
+ build/
58
+ develop-eggs/
59
+ dist/
60
+ downloads/
61
+ eggs/
62
+ .eggs/
63
+ lib/
64
+ lib64/
65
+ parts/
66
+ sdist/
67
+ var/
68
+ wheels/
69
+ share/python-wheels/
70
+ *.egg-info/
71
+ .installed.cfg
72
+ *.egg
73
+ MANIFEST
74
+ _skbuild/
75
+ wheelhouse/
76
+
77
+ # Unit test / coverage reports
78
+ .coverage
79
+ .coverage.*
80
+ .cache
81
+ .pytest_cache/
82
+ .benchmarks/
83
+
84
+ # Environments
85
+ .env
86
+ .venv
87
+ env/
88
+ venv/
89
+ ENV/
90
+ env.bak/
91
+ venv.bak/
@@ -0,0 +1,96 @@
1
+ cmake_minimum_required(VERSION 3.21...3.31)
2
+
3
+ # Default build type value.
4
+ set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the build type")
5
+
6
+ project(pxr-gf
7
+ VERSION 0.25.5
8
+ HOMEPAGE_URL "https://github.com/untwine/pxr-gf"
9
+ LANGUAGES C CXX
10
+ )
11
+
12
+ if (NOT "${CMAKE_CXX_STANDARD}")
13
+ set(CMAKE_CXX_STANDARD 17 CACHE STRING "Default C++ standard")
14
+ endif()
15
+
16
+ set(CMAKE_CXX_STANDARD_REQUIRED ON)
17
+ set(CMAKE_CXX_EXTENSIONS OFF)
18
+
19
+ # Default options.
20
+ option(BUILD_TESTS "Build tests" ON)
21
+ option(BUILD_SHARED_LIBS "Build Shared Library" ON)
22
+ option(BUILD_PYTHON_BINDINGS "Build Python Bindings" ON)
23
+ option(ENABLE_PRECOMPILED_HEADERS "Enable precompiled headers." OFF)
24
+
25
+ if (NOT BUILD_SHARED_LIBS)
26
+ add_compile_definitions(PXR_STATIC)
27
+ endif()
28
+
29
+ include(GNUInstallDirs)
30
+
31
+ if (WIN32)
32
+ # Prevent WinDef.h from defining min/max macros.
33
+ add_definitions(-DNOMINMAX)
34
+
35
+ # Exclude unnecessary Windows APIs for faster builds and fewer macro conflicts.
36
+ add_definitions(-DWIN32_LEAN_AND_MEAN)
37
+
38
+ # Disable /Zc:inline in VS 2019+ to retain "arch_ctor_<name>" symbols in release.
39
+ # https://developercommunity.visualstudio.com/t/914943
40
+ if (MSVC_VERSION GREATER_EQUAL 1920)
41
+ set(CMAKE_CXX_FLAGS "/Zc:inline- ${CMAKE_CXX_FLAGS}")
42
+ else()
43
+ set(CMAKE_CXX_FLAGS "/Zc:inline ${CMAKE_CXX_FLAGS}")
44
+ endif()
45
+
46
+ # Disable harmless Visual Studio warning C4003 (non-standard preprocessor).
47
+ # https://developercommunity.visualstudio.com/t/364698
48
+ set(CMAKE_CXX_FLAGS "/wd4003 ${CMAKE_CXX_FLAGS}")
49
+ endif()
50
+
51
+ # Update build type from environment for CMake < 3.22
52
+ if (DEFINED ENV{CMAKE_BUILD_TYPE})
53
+ set(CMAKE_BUILD_TYPE $ENV{CMAKE_BUILD_TYPE}
54
+ CACHE STRING "Specifies the build type" FORCE)
55
+ endif()
56
+
57
+ find_package(pxr-arch REQUIRED)
58
+ find_package(pxr-tf REQUIRED)
59
+
60
+ if(BUILD_PYTHON_BINDINGS)
61
+ add_compile_definitions(PXR_PYTHON_SUPPORT_ENABLED=1)
62
+ find_package(pxr-boost REQUIRED)
63
+
64
+ if (NOT CMAKE_INSTALL_PYTHON_LIBDIR)
65
+ set(py_version "${Python_VERSION_MAJOR}.${Python_VERSION_MINOR}")
66
+ set(CMAKE_INSTALL_PYTHON_LIBDIR
67
+ "${CMAKE_INSTALL_LIBDIR}/python${py_version}/site-packages"
68
+ CACHE INTERNAL "Installation Python library path.")
69
+ endif ()
70
+ endif()
71
+
72
+ add_subdirectory(src)
73
+
74
+ # Build and setup tests if required.
75
+ if (BUILD_TESTS)
76
+ # Python is needed to run the tests.
77
+ find_package(Python COMPONENTS Interpreter Development REQUIRED)
78
+ find_package(Pytest)
79
+
80
+ enable_testing()
81
+ add_subdirectory(test)
82
+ endif()
83
+
84
+ include(CMakePackageConfigHelpers)
85
+
86
+ configure_package_config_file(
87
+ "cmake/pxr-gf-config.cmake.in"
88
+ "${CMAKE_CURRENT_BINARY_DIR}/pxr-gf-config.cmake"
89
+ INSTALL_DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/cmake/pxr-gf
90
+ )
91
+
92
+ install(
93
+ FILES
94
+ "${CMAKE_CURRENT_BINARY_DIR}/pxr-gf-config.cmake"
95
+ DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/cmake/pxr-gf
96
+ )
@@ -0,0 +1,219 @@
1
+ ============================================================
2
+ OpenUSD
3
+ ============================================================
4
+
5
+ Note: The Tomorrow Open Source Technology License 1.0 differs from the
6
+ original Apache License 2.0 in the following manner. Section 6 ("Trademarks")
7
+ is different.
8
+
9
+ TOMORROW OPEN SOURCE TECHNOLOGY LICENSE 1.0
10
+
11
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
12
+
13
+ 1. Definitions.
14
+
15
+ "License" shall mean the terms and conditions for use, reproduction,
16
+ and distribution as defined by Sections 1 through 9 of this document.
17
+
18
+ "Licensor" shall mean the copyright owner or entity authorized by
19
+ the copyright owner that is granting the License.
20
+
21
+ "Legal Entity" shall mean the union of the acting entity and all
22
+ other entities that control, are controlled by, or are under common
23
+ control with that entity. For the purposes of this definition,
24
+ "control" means (i) the power, direct or indirect, to cause the
25
+ direction or management of such entity, whether by contract or
26
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
27
+ outstanding shares, or (iii) beneficial ownership of such entity.
28
+
29
+ "You" (or "Your") shall mean an individual or Legal Entity
30
+ exercising permissions granted by this License.
31
+
32
+ "Source" form shall mean the preferred form for making modifications,
33
+ including but not limited to software source code, documentation
34
+ source, and configuration files.
35
+
36
+ "Object" form shall mean any form resulting from mechanical
37
+ transformation or translation of a Source form, including but
38
+ not limited to compiled object code, generated documentation,
39
+ and conversions to other media types.
40
+
41
+ "Work" shall mean the work of authorship, whether in Source or
42
+ Object form, made available under the License, as indicated by a
43
+ copyright notice that is included in or attached to the work
44
+ (an example is provided in the Appendix below).
45
+
46
+ "Derivative Works" shall mean any work, whether in Source or Object
47
+ form, that is based on (or derived from) the Work and for which the
48
+ editorial revisions, annotations, elaborations, or other modifications
49
+ represent, as a whole, an original work of authorship. For the purposes
50
+ of this License, Derivative Works shall not include works that remain
51
+ separable from, or merely link (or bind by name) to the interfaces of,
52
+ the Work and Derivative Works thereof.
53
+
54
+ "Contribution" shall mean any work of authorship, including
55
+ the original version of the Work and any modifications or additions
56
+ to that Work or Derivative Works thereof, that is intentionally
57
+ submitted to Licensor for inclusion in the Work by the copyright owner
58
+ or by an individual or Legal Entity authorized to submit on behalf of
59
+ the copyright owner. For the purposes of this definition, "submitted"
60
+ means any form of electronic, verbal, or written communication sent
61
+ to the Licensor or its representatives, including but not limited to
62
+ communication on electronic mailing lists, source code control systems,
63
+ and issue tracking systems that are managed by, or on behalf of, the
64
+ Licensor for the purpose of discussing and improving the Work, but
65
+ excluding communication that is conspicuously marked or otherwise
66
+ designated in writing by the copyright owner as "Not a Contribution."
67
+
68
+ "Contributor" shall mean Licensor and any individual or Legal Entity
69
+ on behalf of whom a Contribution has been received by Licensor and
70
+ subsequently incorporated within the Work.
71
+
72
+ 2. Grant of Copyright License. Subject to the terms and conditions of
73
+ this License, each Contributor hereby grants to You a perpetual,
74
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
75
+ copyright license to reproduce, prepare Derivative Works of,
76
+ publicly display, publicly perform, sublicense, and distribute the
77
+ Work and such Derivative Works in Source or Object form.
78
+
79
+ 3. Grant of Patent License. Subject to the terms and conditions of
80
+ this License, each Contributor hereby grants to You a perpetual,
81
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
82
+ (except as stated in this section) patent license to make, have made,
83
+ use, offer to sell, sell, import, and otherwise transfer the Work,
84
+ where such license applies only to those patent claims licensable
85
+ by such Contributor that are necessarily infringed by their
86
+ Contribution(s) alone or by combination of their Contribution(s)
87
+ with the Work to which such Contribution(s) was submitted. If You
88
+ institute patent litigation against any entity (including a
89
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
90
+ or a Contribution incorporated within the Work constitutes direct
91
+ or contributory patent infringement, then any patent licenses
92
+ granted to You under this License for that Work shall terminate
93
+ as of the date such litigation is filed.
94
+
95
+ 4. Redistribution. You may reproduce and distribute copies of the
96
+ Work or Derivative Works thereof in any medium, with or without
97
+ modifications, and in Source or Object form, provided that You
98
+ meet the following conditions:
99
+
100
+ (a) You must give any other recipients of the Work or
101
+ Derivative Works a copy of this License; and
102
+
103
+ (b) You must cause any modified files to carry prominent notices
104
+ stating that You changed the files; and
105
+
106
+ (c) You must retain, in the Source form of any Derivative Works
107
+ that You distribute, all copyright, patent, trademark, and
108
+ attribution notices from the Source form of the Work,
109
+ excluding those notices that do not pertain to any part of
110
+ the Derivative Works; and
111
+
112
+ (d) If the Work includes a "NOTICE" text file as part of its
113
+ distribution, then any Derivative Works that You distribute must
114
+ include a readable copy of the attribution notices contained
115
+ within such NOTICE file, excluding those notices that do not
116
+ pertain to any part of the Derivative Works, in at least one
117
+ of the following places: within a NOTICE text file distributed
118
+ as part of the Derivative Works; within the Source form or
119
+ documentation, if provided along with the Derivative Works; or,
120
+ within a display generated by the Derivative Works, if and
121
+ wherever such third-party notices normally appear. The contents
122
+ of the NOTICE file are for informational purposes only and
123
+ do not modify the License. You may add Your own attribution
124
+ notices within Derivative Works that You distribute, alongside
125
+ or as an addendum to the NOTICE text from the Work, provided
126
+ that such additional attribution notices cannot be construed
127
+ as modifying the License.
128
+
129
+ You may add Your own copyright statement to Your modifications and
130
+ may provide additional or different license terms and conditions
131
+ for use, reproduction, or distribution of Your modifications, or
132
+ for any such Derivative Works as a whole, provided Your use,
133
+ reproduction, and distribution of the Work otherwise complies with
134
+ the conditions stated in this License.
135
+
136
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
137
+ any Contribution intentionally submitted for inclusion in the Work
138
+ by You to the Licensor shall be under the terms and conditions of
139
+ this License, without any additional terms or conditions.
140
+ Notwithstanding the above, nothing herein shall supersede or modify
141
+ the terms of any separate license agreement you may have executed
142
+ with Licensor regarding such Contributions.
143
+
144
+ 6. Trademarks. This License does not grant permission to use the trade
145
+ names, trademarks, service marks, or product names of the Licensor
146
+ and its affiliates, except as required to comply with Section 4(c) of
147
+ the License and to reproduce the content of the NOTICE file.
148
+
149
+ 7. Disclaimer of Warranty. Unless required by applicable law or
150
+ agreed to in writing, Licensor provides the Work (and each
151
+ Contributor provides its Contributions) on an "AS IS" BASIS,
152
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
153
+ implied, including, without limitation, any warranties or conditions
154
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
155
+ PARTICULAR PURPOSE. You are solely responsible for determining the
156
+ appropriateness of using or redistributing the Work and assume any
157
+ risks associated with Your exercise of permissions under this License.
158
+
159
+ 8. Limitation of Liability. In no event and under no legal theory,
160
+ whether in tort (including negligence), contract, or otherwise,
161
+ unless required by applicable law (such as deliberate and grossly
162
+ negligent acts) or agreed to in writing, shall any Contributor be
163
+ liable to You for damages, including any direct, indirect, special,
164
+ incidental, or consequential damages of any character arising as a
165
+ result of this License or out of the use or inability to use the
166
+ Work (including but not limited to damages for loss of goodwill,
167
+ work stoppage, computer failure or malfunction, or any and all
168
+ other commercial damages or losses), even if such Contributor
169
+ has been advised of the possibility of such damages.
170
+
171
+ 9. Accepting Warranty or Additional Liability. While redistributing
172
+ the Work or Derivative Works thereof, You may choose to offer,
173
+ and charge a fee for, acceptance of support, warranty, indemnity,
174
+ or other liability obligations and/or rights consistent with this
175
+ License. However, in accepting such obligations, You may act only
176
+ on Your own behalf and on Your sole responsibility, not on behalf
177
+ of any other Contributor, and only if You agree to indemnify,
178
+ defend, and hold each Contributor harmless for any liability
179
+ incurred by, or claims asserted against, such Contributor by reason
180
+ of your accepting any such warranty or additional liability.
181
+
182
+
183
+ ============================================================
184
+ OpenEXR/IlmBase/Half
185
+ ============================================================
186
+
187
+ ///////////////////////////////////////////////////////////////////////////
188
+ //
189
+ // Copyright (c) 2002, Industrial Light & Magic, a division of Lucas
190
+ // Digital Ltd. LLC
191
+ //
192
+ // All rights reserved.
193
+ //
194
+ // Redistribution and use in source and binary forms, with or without
195
+ // modification, are permitted provided that the following conditions are
196
+ // met:
197
+ // * Redistributions of source code must retain the above copyright
198
+ // notice, this list of conditions and the following disclaimer.
199
+ // * Redistributions in binary form must reproduce the above
200
+ // copyright notice, this list of conditions and the following disclaimer
201
+ // in the documentation and/or other materials provided with the
202
+ // distribution.
203
+ // * Neither the name of Industrial Light & Magic nor the names of
204
+ // its contributors may be used to endorse or promote products derived
205
+ // from this software without specific prior written permission.
206
+ //
207
+ // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
208
+ // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
209
+ // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
210
+ // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
211
+ // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
212
+ // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
213
+ // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
214
+ // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
215
+ // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
216
+ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
217
+ // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
218
+ //
219
+ ///////////////////////////////////////////////////////////////////////////
@@ -0,0 +1,8 @@
1
+ Universal Scene Description
2
+ Copyright 2016 Pixar
3
+
4
+ All rights reserved.
5
+
6
+ This product includes software developed at:
7
+
8
+ Pixar (http://www.pixar.com/).
@@ -0,0 +1,38 @@
1
+ Metadata-Version: 2.4
2
+ Name: pxr-gf-dev
3
+ Version: 0.25.5
4
+ Summary: C++ headers and CMake config for developing with pxr-gf
5
+ Keywords: pixar,open-usd,dev
6
+ License-File: LICENSE.txt
7
+ License-File: NOTICE.txt
8
+ Classifier: Intended Audience :: Developers
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Operating System :: POSIX :: Linux
11
+ Classifier: Operating System :: MacOS :: MacOS X
12
+ Classifier: Operating System :: Microsoft :: Windows :: Windows 10
13
+ Project-URL: Repository, https://github.com/untwine/pxr-gf
14
+ Requires-Python: >=3.8
15
+ Requires-Dist: pxr-arch-dev==0.25.5.*
16
+ Requires-Dist: pxr-tf-dev==0.25.5.*
17
+ Description-Content-Type: text/markdown
18
+
19
+ # Pixar Gf
20
+
21
+ [![PyPi version](https://img.shields.io/pypi/v/pxr-gf.svg?logo=pypi&label=PyPI&logoColor=gold)](https://pypi.python.org/pypi/pxr-gf)
22
+ [![CMake](https://img.shields.io/badge/CMake-3.21...3.31-blue.svg?logo=CMake&logoColor=blue)](https://cmake.org)
23
+ [![Linux](https://github.com/untwine/pxr-gf/actions/workflows/linux.yml/badge.svg?branch=main)](https://github.com/untwine/pxr-gf/actions/workflows/linux.yml)
24
+ [![MacOs](https://github.com/untwine/pxr-gf/actions/workflows/macos.yml/badge.svg?branch=main)](https://github.com/untwine/pxr-gf/actions/workflows/macos.yml)
25
+ [![Windows](https://github.com/untwine/pxr-gf/actions/workflows/windows.yml/badge.svg?branch=main)](https://github.com/untwine/pxr-gf/actions/workflows/windows.yml)
26
+ [![License](https://img.shields.io/badge/License-TOST-yellow.svg)](https://github.com/untwine/pxr-gf/blob/main/LICENSE.txt)
27
+
28
+ Library to regroup classes and functions for working with the basic mathematical aspects of graphics.
29
+
30
+ This repository is a decoupled version of the "gf" library from the
31
+ [OpenUSD](https://graphics.pixar.com/usd/release/index.html) library, created
32
+ by Pixar.
33
+
34
+ It is regularly rebased over the "release" branch of the original
35
+ [repository](https://github.com/PixarAnimationStudios/OpenUSD) to provide
36
+ explicit divergence information from the latest updates and is currently
37
+ synchronized with
38
+ [v25.05](https://github.com/PixarAnimationStudios/OpenUSD/releases/tag/v25.05).
@@ -0,0 +1,20 @@
1
+ # Pixar Gf
2
+
3
+ [![PyPi version](https://img.shields.io/pypi/v/pxr-gf.svg?logo=pypi&label=PyPI&logoColor=gold)](https://pypi.python.org/pypi/pxr-gf)
4
+ [![CMake](https://img.shields.io/badge/CMake-3.21...3.31-blue.svg?logo=CMake&logoColor=blue)](https://cmake.org)
5
+ [![Linux](https://github.com/untwine/pxr-gf/actions/workflows/linux.yml/badge.svg?branch=main)](https://github.com/untwine/pxr-gf/actions/workflows/linux.yml)
6
+ [![MacOs](https://github.com/untwine/pxr-gf/actions/workflows/macos.yml/badge.svg?branch=main)](https://github.com/untwine/pxr-gf/actions/workflows/macos.yml)
7
+ [![Windows](https://github.com/untwine/pxr-gf/actions/workflows/windows.yml/badge.svg?branch=main)](https://github.com/untwine/pxr-gf/actions/workflows/windows.yml)
8
+ [![License](https://img.shields.io/badge/License-TOST-yellow.svg)](https://github.com/untwine/pxr-gf/blob/main/LICENSE.txt)
9
+
10
+ Library to regroup classes and functions for working with the basic mathematical aspects of graphics.
11
+
12
+ This repository is a decoupled version of the "gf" library from the
13
+ [OpenUSD](https://graphics.pixar.com/usd/release/index.html) library, created
14
+ by Pixar.
15
+
16
+ It is regularly rebased over the "release" branch of the original
17
+ [repository](https://github.com/PixarAnimationStudios/OpenUSD) to provide
18
+ explicit divergence information from the latest updates and is currently
19
+ synchronized with
20
+ [v25.05](https://github.com/PixarAnimationStudios/OpenUSD/releases/tag/v25.05).
@@ -0,0 +1,13 @@
1
+ include(CMakeFindDependencyMacro)
2
+
3
+ @PACKAGE_INIT@
4
+
5
+ find_dependency(pxr-arch REQUIRED)
6
+ find_dependency(pxr-tf REQUIRED)
7
+
8
+ set(_with_py_bindings "@BUILD_PYTHON_BINDINGS@")
9
+ if(_with_py_bindings)
10
+ find_dependency(pxr-boost REQUIRED)
11
+ endif()
12
+
13
+ include(${CMAKE_CURRENT_LIST_DIR}/pxr-gf-targets.cmake)
@@ -0,0 +1,43 @@
1
+ [build-system]
2
+ requires = [
3
+ "scikit-build-core",
4
+ "pxr-arch-dev==0.25.5.*",
5
+ "pxr-tf-dev==0.25.5.*"
6
+ ]
7
+ build-backend = "scikit_build_core.build"
8
+
9
+ [project]
10
+ name = "pxr-gf-dev"
11
+ version = "0.25.5"
12
+ description = "C++ headers and CMake config for developing with pxr-gf"
13
+ readme = "README.md"
14
+ requires-python = ">=3.8"
15
+ license-files = ["LICENSE.txt", "NOTICE.txt"]
16
+ keywords = ["pixar", "open-usd", "dev"]
17
+ classifiers = [
18
+ "Intended Audience :: Developers",
19
+ "Programming Language :: Python :: 3",
20
+ "Operating System :: POSIX :: Linux",
21
+ "Operating System :: MacOS :: MacOS X",
22
+ "Operating System :: Microsoft :: Windows :: Windows 10",
23
+ ]
24
+ dependencies = [
25
+ "pxr-arch-dev==0.25.5.*",
26
+ "pxr-tf-dev==0.25.5.*"
27
+ ]
28
+
29
+ [project.urls]
30
+ Repository = "https://github.com/untwine/pxr-gf"
31
+
32
+ [tool.scikit-build]
33
+ cmake.version = ">=3.21,<4"
34
+ cmake.args = [
35
+ "-DBUILD_TESTS=OFF",
36
+ "-DBUILD_SHARED_LIBS=ON",
37
+ "-DBUILD_PYTHON_BINDINGS=ON",
38
+ "-DCMAKE_INSTALL_LIBDIR=pxr-gf/lib",
39
+ "-DCMAKE_INSTALL_INCLUDEDIR=pxr-gf/include",
40
+ "-DCMAKE_INSTALL_DATAROOTDIR=pxr-gf",
41
+ "-DCMAKE_INSTALL_PYTHON_LIBDIR=pxr-gf/lib/python",
42
+ ]
43
+ sdist.exclude = ["test", ".github"]
@@ -0,0 +1,43 @@
1
+ [build-system]
2
+ requires = [
3
+ "scikit-build-core",
4
+ "pxr-arch-dev==0.25.5.*",
5
+ "pxr-tf-dev==0.25.5.*"
6
+ ]
7
+ build-backend = "scikit_build_core.build"
8
+
9
+ [project]
10
+ name = "pxr-gf-dev"
11
+ version = "0.25.5"
12
+ description = "C++ headers and CMake config for developing with pxr-gf"
13
+ readme = "README.md"
14
+ requires-python = ">=3.8"
15
+ license-files = ["LICENSE.txt", "NOTICE.txt"]
16
+ keywords = ["pixar", "open-usd", "dev"]
17
+ classifiers = [
18
+ "Intended Audience :: Developers",
19
+ "Programming Language :: Python :: 3",
20
+ "Operating System :: POSIX :: Linux",
21
+ "Operating System :: MacOS :: MacOS X",
22
+ "Operating System :: Microsoft :: Windows :: Windows 10",
23
+ ]
24
+ dependencies = [
25
+ "pxr-arch-dev==0.25.5.*",
26
+ "pxr-tf-dev==0.25.5.*"
27
+ ]
28
+
29
+ [project.urls]
30
+ Repository = "https://github.com/untwine/pxr-gf"
31
+
32
+ [tool.scikit-build]
33
+ cmake.version = ">=3.21,<4"
34
+ cmake.args = [
35
+ "-DBUILD_TESTS=OFF",
36
+ "-DBUILD_SHARED_LIBS=ON",
37
+ "-DBUILD_PYTHON_BINDINGS=ON",
38
+ "-DCMAKE_INSTALL_LIBDIR=pxr-gf/lib",
39
+ "-DCMAKE_INSTALL_INCLUDEDIR=pxr-gf/include",
40
+ "-DCMAKE_INSTALL_DATAROOTDIR=pxr-gf",
41
+ "-DCMAKE_INSTALL_PYTHON_LIBDIR=pxr-gf/lib/python",
42
+ ]
43
+ sdist.exclude = ["test", ".github"]