Offset 1, 9 lines modified | Offset 1, 9 lines modified | ||
1 | ·756c2111ff7fd5d86b14199f3b8d2a6d·153216·libdevel·optional·libosd-dev_3.6.0-3_arm64.deb | 1 | ·756c2111ff7fd5d86b14199f3b8d2a6d·153216·libdevel·optional·libosd-dev_3.6.0-3_arm64.deb |
2 | · | 2 | ·4eb277d0a605bf2cfaf6f393c9ebdaf9·31493268·doc·optional·libosd-doc_3.6.0-3_all.deb |
3 | ·aa2eb3362ccf51d97902eecae69708ce·3484820·debug·optional·libosdcpu3.6.0-dbgsym_3.6.0-3_arm64.deb | 3 | ·aa2eb3362ccf51d97902eecae69708ce·3484820·debug·optional·libosdcpu3.6.0-dbgsym_3.6.0-3_arm64.deb |
4 | ·b66e3db2938520f9db0424278bc39e37·304348·libs·optional·libosdcpu3.6.0_3.6.0-3_arm64.deb | 4 | ·b66e3db2938520f9db0424278bc39e37·304348·libs·optional·libosdcpu3.6.0_3.6.0-3_arm64.deb |
5 | ·b98a28e2d73d19781ba590896d4fed36·546600·debug·optional·libosdgpu3.6.0-dbgsym_3.6.0-3_arm64.deb | 5 | ·b98a28e2d73d19781ba590896d4fed36·546600·debug·optional·libosdgpu3.6.0-dbgsym_3.6.0-3_arm64.deb |
6 | ·9910a46d6c0840c32170ab50efc1d1b7·133440·libs·optional·libosdgpu3.6.0_3.6.0-3_arm64.deb | 6 | ·9910a46d6c0840c32170ab50efc1d1b7·133440·libs·optional·libosdgpu3.6.0_3.6.0-3_arm64.deb |
7 | ·46c69a18dde46397229227d19e2be79a·12176256·debug·optional·opensubdiv-tools-dbgsym_3.6.0-3_arm64.deb | 7 | ·46c69a18dde46397229227d19e2be79a·12176256·debug·optional·opensubdiv-tools-dbgsym_3.6.0-3_arm64.deb |
8 | ·5de9007eb622f722ea4cbf6eb762f942·582664·graphics·optional·opensubdiv-tools_3.6.0-3_arm64.deb | 8 | ·5de9007eb622f722ea4cbf6eb762f942·582664·graphics·optional·opensubdiv-tools_3.6.0-3_arm64.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2025-01-02·08:47:46.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2025-01-02·08:47:46.000000·debian-binary |
2 | -rw-r--r--···0········0········0····254 | 2 | -rw-r--r--···0········0········0····25496·2025-01-02·08:47:46.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0·31467 | 3 | -rw-r--r--···0········0········0·31467580·2025-01-02·08:47:46.000000·data.tar.xz |
Offset 115, 17 lines modified | Offset 115, 17 lines modified | ||
115 | usr/share/doc/opensubdiv/doxy_html/a00770_source.html | 115 | usr/share/doc/opensubdiv/doxy_html/a00770_source.html |
116 | usr/share/doc/opensubdiv/doxy_html/a00773.html | 116 | usr/share/doc/opensubdiv/doxy_html/a00773.html |
117 | usr/share/doc/opensubdiv/doxy_html/a00773.js | 117 | usr/share/doc/opensubdiv/doxy_html/a00773.js |
118 | usr/share/doc/opensubdiv/doxy_html/a00773_source.html | 118 | usr/share/doc/opensubdiv/doxy_html/a00773_source.html |
119 | usr/share/doc/opensubdiv/doxy_html/a00776.html | 119 | usr/share/doc/opensubdiv/doxy_html/a00776.html |
120 | usr/share/doc/opensubdiv/doxy_html/a00776_source.html | 120 | usr/share/doc/opensubdiv/doxy_html/a00776_source.html |
121 | usr/share/doc/opensubdiv/doxy_html/a00779.html | 121 | usr/share/doc/opensubdiv/doxy_html/a00779.html |
122 | usr/share/doc/opensubdiv/doxy_html/a00779.js | ||
122 | usr/share/doc/opensubdiv/doxy_html/a00779_source.html | 123 | usr/share/doc/opensubdiv/doxy_html/a00779_source.html |
123 | usr/share/doc/opensubdiv/doxy_html/a00782.html | 124 | usr/share/doc/opensubdiv/doxy_html/a00782.html |
124 | usr/share/doc/opensubdiv/doxy_html/a00782.js | ||
125 | usr/share/doc/opensubdiv/doxy_html/a00782_source.html | 125 | usr/share/doc/opensubdiv/doxy_html/a00782_source.html |
126 | usr/share/doc/opensubdiv/doxy_html/a00785.html | 126 | usr/share/doc/opensubdiv/doxy_html/a00785.html |
127 | usr/share/doc/opensubdiv/doxy_html/a00785_source.html | 127 | usr/share/doc/opensubdiv/doxy_html/a00785_source.html |
128 | usr/share/doc/opensubdiv/doxy_html/a00788.html | 128 | usr/share/doc/opensubdiv/doxy_html/a00788.html |
129 | usr/share/doc/opensubdiv/doxy_html/a00788.js | 129 | usr/share/doc/opensubdiv/doxy_html/a00788.js |
130 | usr/share/doc/opensubdiv/doxy_html/a00788_source.html | 130 | usr/share/doc/opensubdiv/doxy_html/a00788_source.html |
131 | usr/share/doc/opensubdiv/doxy_html/a00791.html | 131 | usr/share/doc/opensubdiv/doxy_html/a00791.html |
Offset 27, 20 lines modified | Offset 27, 20 lines modified | ||
27 | -rw-r--r--···0·root·········(0)·root·········(0)·····1660·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/css/doxy.css | 27 | -rw-r--r--···0·root·········(0)·root·········(0)·····1660·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/css/doxy.css |
28 | -rw-r--r--···0·root·········(0)·root·········(0)····27698·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/css/flavor.css | 28 | -rw-r--r--···0·root·········(0)·root·········(0)····27698·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/css/flavor.css |
29 | -rw-r--r--···0·root·········(0)·root·········(0)·····5321·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/css/pygments.css | 29 | -rw-r--r--···0·root·········(0)·root·········(0)·····5321·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/css/pygments.css |
30 | -rw-r--r--···0·root·········(0)·root·········(0)·····3011·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/css/renderman-university.css | 30 | -rw-r--r--···0·root·········(0)·root·········(0)·····3011·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/css/renderman-university.css |
31 | -rw-r--r--···0·root·········(0)·root·········(0)····12971·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/css/rst.css | 31 | -rw-r--r--···0·root·········(0)·root·········(0)····12971·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/css/rst.css |
32 | -rw-r--r--···0·root·········(0)·root·········(0)····14561·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/downloads.html | 32 | -rw-r--r--···0·root·········(0)·root·········(0)····14561·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/downloads.html |
33 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/ | 33 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/ |
34 | -rw-r--r--···0·root·········(0)·root·········(0)·····7384·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00674.html | ||
35 | -rw-r--r--···0·root·········(0)·root·········(0)······109·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00674.js | ||
36 | -rw-r--r--···0·root·········(0)·root·········(0)····65515·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00674_source.html | ||
37 | -rw-r--r--···0·root·········(0)·root·········(0)·····6575·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a0067 | 34 | -rw-r--r--···0·root·········(0)·root·········(0)·····6575·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00674.html |
38 | -rw-r--r--···0·root·········(0)·root·········(0)·······69·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a0067 | 35 | -rw-r--r--···0·root·········(0)·root·········(0)·······69·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00674.js |
39 | -rw-r--r--···0·root·········(0)·root·········(0)····76686·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a0067 | 36 | -rw-r--r--···0·root·········(0)·root·········(0)····76686·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00674_source.html |
37 | -rw-r--r--···0·root·········(0)·root·········(0)·····7384·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00677.html | ||
38 | -rw-r--r--···0·root·········(0)·root·········(0)······109·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00677.js | ||
39 | -rw-r--r--···0·root·········(0)·root·········(0)····65515·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00677_source.html | ||
40 | -rw-r--r--···0·root·········(0)·root·········(0)·····7310·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00680.html | 40 | -rw-r--r--···0·root·········(0)·root·········(0)·····7310·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00680.html |
41 | -rw-r--r--···0·root·········(0)·root·········(0)······195·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00680.js | 41 | -rw-r--r--···0·root·········(0)·root·········(0)······195·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00680.js |
42 | -rw-r--r--···0·root·········(0)·root·········(0)····27166·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00680_source.html | 42 | -rw-r--r--···0·root·········(0)·root·········(0)····27166·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00680_source.html |
43 | -rw-r--r--···0·root·········(0)·root·········(0)·····6557·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00683.html | 43 | -rw-r--r--···0·root·········(0)·root·········(0)·····6557·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00683.html |
44 | -rw-r--r--···0·root·········(0)·root·········(0)·······78·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00683.js | 44 | -rw-r--r--···0·root·········(0)·root·········(0)·······78·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00683.js |
45 | -rw-r--r--···0·root·········(0)·root·········(0)····35227·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00683_source.html | 45 | -rw-r--r--···0·root·········(0)·root·········(0)····35227·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00683_source.html |
46 | -rw-r--r--···0·root·········(0)·root·········(0)·····7503·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00686.html | 46 | -rw-r--r--···0·root·········(0)·root·········(0)·····7503·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00686.html |
Offset 81, 39 lines modified | Offset 81, 39 lines modified | ||
81 | -rw-r--r--···0·root·········(0)·root·········(0)····19419·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00722_source.html | 81 | -rw-r--r--···0·root·········(0)·root·········(0)····19419·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00722_source.html |
82 | -rw-r--r--···0·root·········(0)·root·········(0)·····8222·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00725.html | 82 | -rw-r--r--···0·root·········(0)·root·········(0)·····8222·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00725.html |
83 | -rw-r--r--···0·root·········(0)·root·········(0)······130·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00725.js | 83 | -rw-r--r--···0·root·········(0)·root·········(0)······130·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00725.js |
84 | -rw-r--r--···0·root·········(0)·root·········(0)···212260·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00725_source.html | 84 | -rw-r--r--···0·root·········(0)·root·········(0)···212260·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00725_source.html |
85 | -rw-r--r--···0·root·········(0)·root·········(0)·····7812·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00728.html | 85 | -rw-r--r--···0·root·········(0)·root·········(0)·····7812·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00728.html |
86 | -rw-r--r--···0·root·········(0)·root·········(0)······163·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00728.js | 86 | -rw-r--r--···0·root·········(0)·root·········(0)······163·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00728.js |
87 | -rw-r--r--···0·root·········(0)·root·········(0)····67818·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00728_source.html | 87 | -rw-r--r--···0·root·········(0)·root·········(0)····67818·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00728_source.html |
88 | -rw-r--r--···0·root·········(0)·root·········(0)·····6744·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00731.html | ||
89 | -rw-r--r--···0·root·········(0)·root·········(0)······103·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00731.js | ||
90 | -rw-r--r--···0·root·········(0)·root·········(0)····42246·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00731_source.html | ||
91 | -rw-r--r--···0·root·········(0)·root·········(0)·····7335·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a0073 | 88 | -rw-r--r--···0·root·········(0)·root·········(0)·····7335·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00731.html |
92 | -rw-r--r--···0·root·········(0)·root·········(0)······111·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a0073 | 89 | -rw-r--r--···0·root·········(0)·root·········(0)······111·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00731.js |
93 | -rw-r--r--···0·root·········(0)·root·········(0)···167870·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a0073 | 90 | -rw-r--r--···0·root·········(0)·root·········(0)···167870·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00731_source.html |
91 | -rw-r--r--···0·root·········(0)·root·········(0)·····6744·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00734.html | ||
92 | -rw-r--r--···0·root·········(0)·root·········(0)······103·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00734.js | ||
93 | -rw-r--r--···0·root·········(0)·root·········(0)····42246·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00734_source.html | ||
94 | -rw-r--r--···0·root·········(0)·root·········(0)·····8123·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00737.html | 94 | -rw-r--r--···0·root·········(0)·root·········(0)·····8123·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00737.html |
95 | -rw-r--r--···0·root·········(0)·root·········(0)······314·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00737.js | 95 | -rw-r--r--···0·root·········(0)·root·········(0)······314·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00737.js |
96 | -rw-r--r--···0·root·········(0)·root·········(0)····50493·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00737_source.html | 96 | -rw-r--r--···0·root·········(0)·root·········(0)····50493·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00737_source.html |
97 | -rw-r--r--···0·root·········(0)·root·········(0)·····7303·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00740.html | 97 | -rw-r--r--···0·root·········(0)·root·········(0)·····7303·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00740.html |
98 | -rw-r--r--···0·root·········(0)·root·········(0)······160·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00740.js | 98 | -rw-r--r--···0·root·········(0)·root·········(0)······160·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00740.js |
99 | -rw-r--r--···0·root·········(0)·root·········(0)····53847·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00740_source.html | 99 | -rw-r--r--···0·root·········(0)·root·········(0)····53847·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00740_source.html |
100 | -rw-r--r--···0·root·········(0)·root·········(0)····11426·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00743.html | 100 | -rw-r--r--···0·root·········(0)·root·········(0)····11426·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00743.html |
101 | -rw-r--r--···0·root·········(0)·root·········(0)·····1173·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00743.js | 101 | -rw-r--r--···0·root·········(0)·root·········(0)·····1173·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00743.js |
102 | -rw-r--r--···0·root·········(0)·root·········(0)····22910·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00743_source.html | 102 | -rw-r--r--···0·root·········(0)·root·········(0)····22910·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00743_source.html |
103 | -rw-r--r--···0·root·········(0)·root·········(0)·····5643·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00746.html | 103 | -rw-r--r--···0·root·········(0)·root·········(0)·····5643·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00746.html |
104 | -rw-r--r--···0·root·········(0)·root·········(0)····38293·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00746_source.html | 104 | -rw-r--r--···0·root·········(0)·root·········(0)····38293·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00746_source.html |
105 | -rw-r--r--···0·root·········(0)·root·········(0)·····5898·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00749.html | ||
106 | -rw-r--r--···0·root·········(0)·root·········(0)····22112·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00749_source.html | ||
107 | -rw-r--r--···0·root·········(0)·root·········(0)·····6081·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a007 | 105 | -rw-r--r--···0·root·········(0)·root·········(0)·····6081·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00749.html |
108 | -rw-r--r--···0·root·········(0)·root·········(0)····85952·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a007 | 106 | -rw-r--r--···0·root·········(0)·root·········(0)····85952·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00749_source.html |
109 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 107 | -rw-r--r--···0·root·········(0)·root·········(0)·····5898·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00752.html |
110 | -rw-r--r--···0·root·········(0)·root·········(0)····2 | 108 | -rw-r--r--···0·root·········(0)·root·········(0)····22112·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00752_source.html |
111 | -rw-r--r--···0·root·········(0)·root·········(0)·····6201·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a0075 | 109 | -rw-r--r--···0·root·········(0)·root·········(0)·····6201·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00755.html |
112 | -rw-r--r--···0·root·········(0)·root·········(0)···163472·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a0075 | 110 | -rw-r--r--···0·root·········(0)·root·········(0)···163472·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00755_source.html |
111 | -rw-r--r--···0·root·········(0)·root·········(0)·····6288·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00758.html | ||
112 | -rw-r--r--···0·root·········(0)·root·········(0)····24306·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00758_source.html | ||
113 | -rw-r--r--···0·root·········(0)·root·········(0)·····6266·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00761.html | 113 | -rw-r--r--···0·root·········(0)·root·········(0)·····6266·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00761.html |
114 | -rw-r--r--···0·root·········(0)·root·········(0)····81482·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00761_source.html | 114 | -rw-r--r--···0·root·········(0)·root·········(0)····81482·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00761_source.html |
115 | -rw-r--r--···0·root·········(0)·root·········(0)·····6113·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00764.html | 115 | -rw-r--r--···0·root·········(0)·root·········(0)·····6113·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00764.html |
116 | -rw-r--r--···0·root·········(0)·root·········(0)····29125·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00764_source.html | 116 | -rw-r--r--···0·root·········(0)·root·········(0)····29125·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00764_source.html |
117 | -rw-r--r--···0·root·········(0)·root·········(0)·····6436·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00767.html | 117 | -rw-r--r--···0·root·········(0)·root·········(0)·····6436·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00767.html |
118 | -rw-r--r--···0·root·········(0)·root·········(0)······121·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00767.js | 118 | -rw-r--r--···0·root·········(0)·root·········(0)······121·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00767.js |
119 | -rw-r--r--···0·root·········(0)·root·········(0)····46437·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00767_source.html | 119 | -rw-r--r--···0·root·········(0)·root·········(0)····46437·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00767_source.html |
Offset 121, 19 lines modified | Offset 121, 19 lines modified | ||
121 | -rw-r--r--···0·root·········(0)·root·········(0)······130·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00770.js | 121 | -rw-r--r--···0·root·········(0)·root·········(0)······130·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00770.js |
122 | -rw-r--r--···0·root·········(0)·root·········(0)···135866·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00770_source.html | 122 | -rw-r--r--···0·root·········(0)·root·········(0)···135866·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00770_source.html |
123 | -rw-r--r--···0·root·········(0)·root·········(0)·····6297·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00773.html | 123 | -rw-r--r--···0·root·········(0)·root·········(0)·····6297·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00773.html |
124 | -rw-r--r--···0·root·········(0)·root·········(0)·······60·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00773.js | 124 | -rw-r--r--···0·root·········(0)·root·········(0)·······60·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00773.js |
125 | -rw-r--r--···0·root·········(0)·root·········(0)····38673·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00773_source.html | 125 | -rw-r--r--···0·root·········(0)·root·········(0)····38673·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00773_source.html |
126 | -rw-r--r--···0·root·········(0)·root·········(0)·····5826·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00776.html | 126 | -rw-r--r--···0·root·········(0)·root·········(0)·····5826·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00776.html |
127 | -rw-r--r--···0·root·········(0)·root·········(0)···100441·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00776_source.html | 127 | -rw-r--r--···0·root·········(0)·root·········(0)···100441·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00776_source.html |
128 | -rw-r--r--···0·root·········(0)·root·········(0)·····5835·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00779.html | ||
129 | -rw-r--r--···0·root·········(0)·root·········(0)····89789·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00779_source.html | ||
130 | -rw-r--r--···0·root·········(0)·root·········(0)·····6473·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a007 | 128 | -rw-r--r--···0·root·········(0)·root·········(0)·····6473·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00779.html |
131 | -rw-r--r--···0·root·········(0)·root·········(0)·······59·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a007 | 129 | -rw-r--r--···0·root·········(0)·root·········(0)·······59·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00779.js |
132 | -rw-r--r--···0·root·········(0)·root·········(0)····53912·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a007 | 130 | -rw-r--r--···0·root·········(0)·root·········(0)····53912·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00779_source.html |
131 | -rw-r--r--···0·root·········(0)·root·········(0)·····5835·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00782.html | ||
132 | -rw-r--r--···0·root·········(0)·root·········(0)····89789·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00782_source.html | ||
133 | -rw-r--r--···0·root·········(0)·root·········(0)·····5752·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00785.html | 133 | -rw-r--r--···0·root·········(0)·root·········(0)·····5752·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00785.html |
134 | -rw-r--r--···0·root·········(0)·root·········(0)····38296·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00785_source.html | 134 | -rw-r--r--···0·root·········(0)·root·········(0)····38296·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00785_source.html |
135 | -rw-r--r--···0·root·········(0)·root·········(0)·····6806·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00788.html | 135 | -rw-r--r--···0·root·········(0)·root·········(0)·····6806·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00788.html |
136 | -rw-r--r--···0·root·········(0)·root·········(0)·······67·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00788.js | 136 | -rw-r--r--···0·root·········(0)·root·········(0)·······67·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00788.js |
137 | -rw-r--r--···0·root·········(0)·root·········(0)····33909·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00788_source.html | 137 | -rw-r--r--···0·root·········(0)·root·········(0)····33909·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00788_source.html |
138 | -rw-r--r--···0·root·········(0)·root·········(0)·····7124·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00791.html | 138 | -rw-r--r--···0·root·········(0)·root·········(0)·····7124·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00791.html |
139 | -rw-r--r--···0·root·········(0)·root·········(0)······115·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00791.js | 139 | -rw-r--r--···0·root·········(0)·root·········(0)······115·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00791.js |
Offset 151, 83 lines modified | Offset 151, 83 lines modified | ||
151 | -rw-r--r--···0·root·········(0)·root·········(0)···252039·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00803_source.html | 151 | -rw-r--r--···0·root·········(0)·root·········(0)···252039·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00803_source.html |
152 | -rw-r--r--···0·root·········(0)·root·········(0)·····6160·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00806.html | 152 | -rw-r--r--···0·root·········(0)·root·········(0)·····6160·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00806.html |
153 | -rw-r--r--···0·root·········(0)·root·········(0)·······63·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00806.js | 153 | -rw-r--r--···0·root·········(0)·root·········(0)·······63·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00806.js |
154 | -rw-r--r--···0·root·········(0)·root·········(0)····14082·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00806_source.html | 154 | -rw-r--r--···0·root·········(0)·root·········(0)····14082·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00806_source.html |
155 | -rw-r--r--···0·root·········(0)·root·········(0)·····6498·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00809.html | 155 | -rw-r--r--···0·root·········(0)·root·········(0)·····6498·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00809.html |
156 | -rw-r--r--···0·root·········(0)·root·········(0)·······69·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00809.js | 156 | -rw-r--r--···0·root·········(0)·root·········(0)·······69·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00809.js |
157 | -rw-r--r--···0·root·········(0)·root·········(0)····21924·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00809_source.html | 157 | -rw-r--r--···0·root·········(0)·root·········(0)····21924·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00809_source.html |
158 | -rw-r--r--···0·root·········(0)·root·········(0)·····6 | 158 | -rw-r--r--···0·root·········(0)·root·········(0)·····6579·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00812.html |
159 | -rw-r--r--···0·root·········(0)·root·········(0)······· | 159 | -rw-r--r--···0·root·········(0)·root·········(0)·······99·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00812.js |
160 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 160 | -rw-r--r--···0·root·········(0)·root·········(0)····12708·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00812_source.html |
161 | -rw-r--r--···0·root·········(0)·root·········(0)·····6817·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00815.html | 161 | -rw-r--r--···0·root·········(0)·root·········(0)·····6817·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00815.html |
162 | -rw-r--r--···0·root·········(0)·root·········(0)·······66·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00815.js | 162 | -rw-r--r--···0·root·········(0)·root·········(0)·······66·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00815.js |
163 | -rw-r--r--···0·root·········(0)·root·········(0)····35393·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00815_source.html | 163 | -rw-r--r--···0·root·········(0)·root·········(0)····35393·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00815_source.html |
164 | -rw-r--r--···0·root·········(0)·root·········(0)·····6451·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00818.html | ||
165 | -rw-r--r--···0·root·········(0)·root·········(0)·······79·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00818.js | ||
166 | -rw-r--r--···0·root·········(0)·root·········(0)····25441·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00818_source.html | ||
164 | -rw-r--r--···0·root·········(0)·root·········(0)·····7051·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a008 | 167 | -rw-r--r--···0·root·········(0)·root·········(0)·····7051·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00821.html |
165 | -rw-r--r--···0·root·········(0)·root·········(0)······124·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a008 | 168 | -rw-r--r--···0·root·········(0)·root·········(0)······124·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00821.js |
166 | -rw-r--r--···0·root·········(0)·root·········(0)···223873·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a008 | 169 | -rw-r--r--···0·root·········(0)·root·········(0)···223873·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00821_source.html |
167 | -rw-r--r--···0·root·········(0)·root·········(0)·····6579·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00821.html | ||
168 | -rw-r--r--···0·root·········(0)·root·········(0)·······99·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00821.js | ||
169 | -rw-r--r--···0·root·········(0)·root·········(0)····12708·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00821_source.html | ||
170 | -rw-r--r--···0·root·········(0)·root·········(0)·····6245·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00824.html | 170 | -rw-r--r--···0·root·········(0)·root·········(0)·····6245·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00824.html |
171 | -rw-r--r--···0·root·········(0)·root·········(0)·······71·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00824.js | 171 | -rw-r--r--···0·root·········(0)·root·········(0)·······71·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00824.js |
172 | -rw-r--r--···0·root·········(0)·root·········(0)····22525·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00824_source.html | 172 | -rw-r--r--···0·root·········(0)·root·········(0)····22525·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00824_source.html |
173 | -rw-r--r--···0·root·········(0)·root·········(0)·····6508·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00827.html | 173 | -rw-r--r--···0·root·········(0)·root·········(0)·····6508·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00827.html |
174 | -rw-r--r--···0·root·········(0)·root·········(0)·······70·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00827.js | 174 | -rw-r--r--···0·root·········(0)·root·········(0)·······70·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00827.js |
175 | -rw-r--r--···0·root·········(0)·root·········(0)····18295·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00827_source.html | 175 | -rw-r--r--···0·root·········(0)·root·········(0)····18295·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00827_source.html |
176 | -rw-r--r--···0·root·········(0)·root·········(0)·····6591·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00830.html | 176 | -rw-r--r--···0·root·········(0)·root·········(0)·····6591·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00830.html |
177 | -rw-r--r--···0·root·········(0)·root·········(0)······101·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00830.js | 177 | -rw-r--r--···0·root·········(0)·root·········(0)······101·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00830.js |
178 | -rw-r--r--···0·root·········(0)·root·········(0)····12825·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00830_source.html | 178 | -rw-r--r--···0·root·········(0)·root·········(0)····12825·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00830_source.html |
179 | -rw-r--r--···0·root·········(0)·root·········(0)·····6765·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00833.html | ||
180 | -rw-r--r--···0·root·········(0)·root·········(0)·······68·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00833.js | ||
181 | -rw-r--r--···0·root·········(0)·root·········(0)····27920·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00833_source.html | ||
182 | -rw-r--r--···0·root·········(0)·root·········(0)·····6357·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a0083 | 179 | -rw-r--r--···0·root·········(0)·root·········(0)·····6357·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00833.html |
183 | -rw-r--r--···0·root·········(0)·root·········(0)·······70·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a0083 | 180 | -rw-r--r--···0·root·········(0)·root·········(0)·······70·2025-01-02·08:47:46.000000·./usr/share/doc/opensubdiv/doxy_html/a00833.js |
Max diff block lines reached; 8610/29609 bytes (29.08%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/bfr/te | 8 | <title>OpenSubdiv:·opensubdiv/bfr/vertexDescriptor.h·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 90, 29 lines modified | Offset 90, 26 lines modified | ||
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | 94 | <a·href="#nested-classes">Classes</a>·| |
95 | <a·href="#namespaces">Namespaces</a>··</div> | 95 | <a·href="#namespaces">Namespaces</a>··</div> |
96 | ··<div·class="headertitle"><div·class="title">te | 96 | ··<div·class="headertitle"><div·class="title">vertexDescriptor.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·"<a·class="el"·href="a00 | 100 | <code>#include·"<a·class="el"·href="a00746_source.html">../vtr/stackBuffer.h</a>"</code><br·/> |
101 | </div> | 101 | </div> |
102 | <p><a·href="a00674_source.html">Go·to·the·source·code·of·this·file.</a></p> | 102 | <p><a·href="a00674_source.html">Go·to·the·source·code·of·this·file.</a></p> |
103 | <table·class="memberdecls"> | 103 | <table·class="memberdecls"> |
104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
105 | Classes</h2></td></tr> | 105 | Classes</h2></td></tr> |
106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a0096 | 106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00969.html">VertexDescriptor</a></td></tr> |
107 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Simple·class·used·by·subclasses·of·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·to·describe·a·vertex.··<a·href="a00969.html#details">More...</a><br·/></td></tr> | ||
107 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Encapsulates·a·specific·tessellation·pattern·of·a·<a·class="el"·href="a00921.html"·title="Simple·class·defining·the·2D·parameterization·of·a·face.">Parameterization</a>.··<a·href="a00961.html#details">More...</a><br·/></td></tr> | ||
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00965.html">Tessellation::Options</a></td></tr> | ||
110 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00965.html"·title="Options·configure·a·Tessellation·to·specify·the·nature·of·both·its·results·and·the·structure·of·the·c...">Options</a>·configure·a·<a·class="el"·href="a00961.html"·title="Encapsulates·a·specific·tessellation·pattern·of·a·Parameterization.">Tessellation</a>·to·specify·the·nature·of·both·its·results·and·the·structure·of·the·coordinate·and·facet·index·arrays·that·its·methods·will·populate.··<a·href="a00965.html#details">More...</a><br·/></td></tr> | ||
111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
112 | </table><table·class="memberdecls"> | 109 | </table><table·class="memberdecls"> |
113 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 110 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
114 | Namespaces</h2></td></tr> | 111 | Namespaces</h2></td></tr> |
115 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 112 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
117 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 114 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
Offset 121, 13 lines modified | Offset 118, 13 lines modified | ||
121 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
122 | </table> | 119 | </table> |
123 | </div><!--·contents·--> | 120 | </div><!--·contents·--> |
124 | </div><!--·doc-content·--> | 121 | </div><!--·doc-content·--> |
125 | <!--·start·footer·part·--> | 122 | <!--·start·footer·part·--> |
126 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 123 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
127 | ··<ul> | 124 | ··<ul> |
128 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_fa5edef2a780a73fbfb6a11f1af88ceb.html">bfr</a></li><li·class="navelem"><a·class="el"·href="a00674.html">te | 125 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_fa5edef2a780a73fbfb6a11f1af88ceb.html">bfr</a></li><li·class="navelem"><a·class="el"·href="a00674.html">vertexDescriptor.h</a></li> |
129 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 126 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
130 | ··</ul> | 127 | ··</ul> |
131 | </div> | 128 | </div> |
132 | </body> | 129 | </body> |
133 | </html> | 130 | </html> |
Offset 1, 30 lines modified | Offset 1, 25 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | te | 6 | vertexDescriptor.h·File·Reference |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8 | 8 | #include·"_\x8._\x8._\x8/_\x8v_.t_.r_./_.s_.t_.a_.c_.k_.B_.u_.f_.f_.e_.r_\x8._\x8h" |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 10 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
11 | class· ·_\x8T_\x8e_\x8s_\x8s_\x8e_\x8l_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n | ||
12 | 11 | class· ·_.V_.e_.r_.t_.e_.x_.D_.e_.s_.c_.r_.i_.p_.t_.o_.r | |
12 | ·······Simple·class·used·by·subclasses·of·_\x8S_\x8u_\x8r_\x8f_\x8a_\x8c_\x8e_\x8F_\x8a_\x8c_\x8t_\x8o_\x8r_\x8y·to·describe·a·vertex. | ||
13 | ········_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | 13 | ········_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. |
14 | 14 | ||
15 | class· ·_\x8T_\x8e_\x8s_\x8s_\x8e_\x8l_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8:_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s | ||
16 | ········_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s·configure·a·_\x8T_\x8e_\x8s_\x8s_\x8e_\x8l_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n·to·specify·the·nature·of·both·its | ||
17 | ·······results·and·the·structure·of·the·coordinate·and·facet·index·arrays·that | ||
18 | ········its·methods·will·populate.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
19 | |||
20 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 15 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
21 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 16 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
22 | 17 | ||
23 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 18 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
24 | 19 | ||
25 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8B_\x8f_\x8r | 20 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8B_\x8f_\x8r |
26 | 21 | ||
27 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 22 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
28 | ····*·_\x8b_\x8f_\x8r | 23 | ····*·_\x8b_\x8f_\x8r |
29 | ····*·_\x8t_.e_. | 24 | ····*·_\x8v_.e_.r_.t_.e_.x_.D_.e_.s_.c_.r_.i_.p_.t_.o_.r_\x8._\x8h |
30 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 25 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 4 lines modified | Offset 1, 3 lines modified | ||
1 | var·a00674·=·[ | 1 | var·a00674·=·[ |
2 | ····["Tessellation",·"a00961.html",·"a00961"], | ||
3 | ····[" | 2 | ····["VertexDescriptor",·"a00969.html",·"a00969"] |
4 | ]; | 3 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/bfr/te | 8 | <title>OpenSubdiv:·opensubdiv/bfr/vertexDescriptor.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 15 lines modified | Offset 92, 15 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title">te | 98 | ··<div·class="headertitle"><div·class="title">vertexDescriptor.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="a00674.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> | 101 | <a·href="a00674.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2021·Pixar</span></div> | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2021·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
Offset 119, 281 lines modified | Offset 119, 425 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_BFR_TE | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_BFR_VERTEX_DESCRIPTOR_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_BFR_TE | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_BFR_VERTEX_DESCRIPTOR_H</span></div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../ | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../vtr/stackBuffer.h"</span></div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>Bfr·{</div> | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>Bfr·{</div> |
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | 137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
138 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="comment">//</span></div> | ||
139 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="comment">//··WIP·-·need·to·migrate·some·of·these·comments·into·Doxygen</span></div> | ||
140 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="comment">//······-·others·will·be·moved·to·the·external·documentation</span></div> | ||
141 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="comment">//</span></div> | ||
142 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="comment">//··It·is·used·by·subclasses·of·SurfaceFactory·to·provide·a·complete</span></div> | ||
143 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">//··topological·description·for·each·vertex·of·a·face,·i.e.·invoked·via</span></div> | ||
144 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//··the·virtual·method:</span></div> | ||
145 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="comment">//</span></div> | ||
146 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//······int·populateFaceVertexDescriptor(Index·baseFace,</span></div> | ||
147 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="comment">//·······································int·cornerVertex,</span></div> | ||
148 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="comment">//·······································VertexDescriptor·&·v)·const;</span></div> | ||
149 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="comment">//</span></div> | ||
150 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="comment">//··Assignment·of·the·full·topology·can·be·involved·in·the·presence·of</span></div> | ||
151 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="comment">//··irregular·faces,·non-manifold·topology·or·creasing·around·a·vertex,·but</span></div> | ||
152 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="comment">//··many·cases·will·be·simple.··For·example,·to·specify·a·regular·boundary</span></div> | ||
153 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="comment">//··vertex·of·a·Catmark·mesh·without·any·optional·sharpness:</span></div> | ||
154 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="comment">//</span></div> | ||
155 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="comment">//······int··numIncidentFaces·=·2;</span></div> | ||
156 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="comment">//······bool·vertexOnBoundary·=·true;</span></div> | ||
157 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="comment">//</span></div> | ||
158 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="comment">//······vd.Initialize(numIncidentFaces);</span></div> | ||
159 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="comment">//··········vd.SetManifold(true);</span></div> | ||
160 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="comment">//··········vd.SetBoundary(vertexOnBoundary);</span></div> | ||
161 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="comment">//··········vd.ClearIncidentFaceSizes();</span></div> | ||
162 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="comment">//······vd.Finalize();</span></div> | ||
163 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="comment">//</span></div> | ||
164 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="comment">//··For·a·more·general·example,·to·assign·a·vertex·of·some·valence·whose</span></div> | ||
165 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="comment">//··incident·faces·are·of·different·sizes·(e.g.·required·when·triangles</span></div> | ||
166 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="comment">//··appear·around·a·vertex·in·an·otherwise·quad-dominant·Catmark·mesh):</span></div> | ||
167 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="comment">//</span></div> | ||
168 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="comment">//······int··numIncidentFaces·=·meshVertex.GetNumIncidentFaces();</span></div> | ||
169 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="comment">//······bool·vertexOnBoundary·=·meshVertex.IsBoundar();</span></div> | ||
170 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="comment">//</span></div> | ||
171 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="comment">//······vd.Initialize(numIncidentFaces);</span></div> | ||
172 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="comment">//··········vd.SetManifold(true);</span></div> | ||
173 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="comment">//··········vd.SetBoundary(vertexOnBoundary);</span></div> | ||
174 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="comment">//</span></div> | ||
175 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="comment">//··········for·(int·i·=·0;·i·<·numIncidentFaces;·++i)·{</span></div> | ||
176 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span><span·class="comment">//··············vd.SetIncidentFaceSize(i,·meshVertex.GetIncidentFaceSize(i));</span></div> | ||
177 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="comment">//··········}</span></div> | ||
178 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="comment">//······vd.Finalize();</span></div> | ||
179 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span><span·class="comment">//</span></div> | ||
180 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span><span·class="comment">//··These·examples·specify·the·incident·faces·as·forming·a·manifold·ring</span></div> | ||
181 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span><span·class="comment">//··(or·half-ring)·around·the·vertex,·i.e.·they·can·be·specified·as·a</span></div> | ||
182 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="comment">//··continuous,·connected·sequence·in·counter-clockwise·order·(and·also</span></div> | ||
183 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span><span·class="comment">//··without·degeneracies).··In·the·case·of·a·boundary·vertex,·the·first</span></div> | ||
184 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span><span·class="comment">//··face·must·be·on·the·leading·edge·of·the·boundary·while·the·last·is·on</span></div> | ||
185 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span><span·class="comment">//··the·trailing·edge.··For·an·interior·vertex,·which·face·is·specified</span></div> | ||
186 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span><span·class="comment">//··first·does·not·matter·(since·the·set·is·periodic).</span></div> | ||
187 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span><span·class="comment">//</span></div> | ||
188 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="comment">//··In·both·cases,·the·location·of·the·base·face·in·this·sequence·--·the</span></div> | ||
189 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span><span·class="comment">//··face·whose·corner·vertex·is·being·described·here·--·must·be·specified</span></div> | ||
190 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span><span·class="comment">//··in·the·return·value·to·populateFaceVertexDescriptor()·(e.g.·when·a</span></div> | ||
191 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span><span·class="comment">//··boundary·vertex·has·3·incident·faces,·a·return·value·of·0,·1·or·2</span></div> | ||
192 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span><span·class="comment">//··will·indicate·which·is·the·base·face).</span></div> | ||
193 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span><span·class="comment">//</span></div> | ||
194 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span><span·class="comment">//··The·corresponding·methods·to·specify·mesh·control·vertex·indices·(or</span></div> | ||
195 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span><span·class="comment">//··face-varying·indices)·complete·the·specification·of·the·neighborhood:</span></div> | ||
196 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span><span·class="comment">//</span></div> | ||
197 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span><span·class="comment">//······int·getFaceCornerVertexIndices(Index·baseFace,·int·cornerVertex,</span></div> | ||
198 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span><span·class="comment">//·····································Index·vertexIndices[])·const;</span></div> | ||
199 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span><span·class="comment">//</span></div> | ||
200 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span><span·class="comment">//······int·getFaceCornerFVarValueIndices(Index·baseFace,·int·cornerVertex,</span></div> | ||
201 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span><span·class="comment">//········································Index·fvarValueIndices[],</span></div> | ||
202 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span><span·class="comment">//········································int···fvarChannel)·const;</span></div> | ||
203 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span><span·class="comment">//</span></div> | ||
204 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span><span·class="comment">//··and·are·invoked·by·the·Factory·when·needed.</span></div> | ||
205 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span><span·class="comment">//</span></div> | ||
206 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span><span·class="comment">//··For·each·incident·face,·the·indices·for·all·vertices·of·that·face·are</span></div> | ||
207 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span><span·class="comment">//··to·be·specified·(not·the·one-ring·or·some·other·subset).··These·indices</span></div> | ||
208 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span><span·class="comment">//··must·also·be·specified·in·an·orientation·relative·to·the·vertex,·i.e.</span></div> | ||
209 | <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span><span·class="comment">//··for·a·vertex·A·and·an·incident·face·with·face-vertices·that·may·be</span></div> | ||
210 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span><span·class="comment">//··stored·internally·as·{D,·C,·A,·B},·they·must·be·specified·with·A·first</span></div> | ||
211 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span><span·class="comment">//··as·{A,·B,·C,·D}.··This·may·seem·a·bit·cumbersome,·but·it·has·clear</span></div> | ||
212 | <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span><span·class="comment">//··advantages·when·dealing·with·face-varying·indices·and·unordered·faces.</span></div> | ||
213 | <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span><span·class="comment">//</span></div> | ||
Max diff block lines reached; 87751/128417 bytes (68.33%) of diff not shown. |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | te | 5 | vertexDescriptor.h |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·2021·Pixar | 8 | 2//·Copyright·2021·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
Offset 24, 367 lines modified | Offset 24, 446 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_BFR_TE | 31 | 25#ifndef·OPENSUBDIV3_BFR_VERTEX_DESCRIPTOR_H |
32 | 26#define·OPENSUBDIV3_BFR_TE | 32 | 26#define·OPENSUBDIV3_BFR_VERTEX_DESCRIPTOR_H |
33 | 27 | 33 | 27 |
34 | 28#include·"../version.h" | 34 | 28#include·"../version.h" |
35 | 29 | 35 | 29 |
36 | 30#include·"../ | 36 | 30#include·"../vtr/stackBuffer.h" |
37 | 31 | 37 | 31 |
38 | 32namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | 38 | 32namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ |
39 | 33namespace·OPENSUBDIV_VERSION·{ | 39 | 33namespace·OPENSUBDIV_VERSION·{ |
40 | 34 | 40 | 34 |
41 | 35namespace·Bfr·{ | 41 | 35namespace·Bfr·{ |
42 | 36 | 42 | 36 |
43 | 43 | 50// | |
44 | 51//·WIP·-·need·to·migrate·some·of·these·comments·into·Doxygen | ||
45 | 52//·-·others·will·be·moved·to·the·external·documentation | ||
46 | 53// | ||
47 | 54//·It·is·used·by·subclasses·of·SurfaceFactory·to·provide·a·complete | ||
48 | 55//·topological·description·for·each·vertex·of·a·face,·i.e.·invoked·via | ||
49 | 56//·the·virtual·method: | ||
50 | 57// | ||
51 | 58//·int·populateFaceVertexDescriptor(Index·baseFace, | ||
52 | 59//·int·cornerVertex, | ||
53 | 60//·VertexDescriptor·&·v)·const; | ||
54 | 61// | ||
55 | 62//·Assignment·of·the·full·topology·can·be·involved·in·the·presence·of | ||
56 | 63//·irregular·faces,·non-manifold·topology·or·creasing·around·a·vertex,·but | ||
57 | 64//·many·cases·will·be·simple.·For·example,·to·specify·a·regular·boundary | ||
58 | 65//·vertex·of·a·Catmark·mesh·without·any·optional·sharpness: | ||
59 | 66// | ||
60 | 67//·int·numIncidentFaces·=·2; | ||
61 | 68//·bool·vertexOnBoundary·=·true; | ||
62 | 69// | ||
63 | 70//·vd.Initialize(numIncidentFaces); | ||
64 | 71//·vd.SetManifold(true); | ||
65 | 72//·vd.SetBoundary(vertexOnBoundary); | ||
66 | 73//·vd.ClearIncidentFaceSizes(); | ||
67 | 74//·vd.Finalize(); | ||
68 | 75// | ||
69 | 76//·For·a·more·general·example,·to·assign·a·vertex·of·some·valence·whose | ||
70 | 77//·incident·faces·are·of·different·sizes·(e.g.·required·when·triangles | ||
71 | 78//·appear·around·a·vertex·in·an·otherwise·quad-dominant·Catmark·mesh): | ||
72 | 79// | ||
73 | 80//·int·numIncidentFaces·=·meshVertex.GetNumIncidentFaces(); | ||
74 | 81//·bool·vertexOnBoundary·=·meshVertex.IsBoundar(); | ||
75 | 82// | ||
76 | 83//·vd.Initialize(numIncidentFaces); | ||
77 | 84//·vd.SetManifold(true); | ||
78 | 85//·vd.SetBoundary(vertexOnBoundary); | ||
79 | 86// | ||
80 | 87//·for·(int·i·=·0;·i·<·numIncidentFaces;·++i)·{ | ||
81 | 88//·vd.SetIncidentFaceSize(i,·meshVertex.GetIncidentFaceSize(i)); | ||
82 | 89//·} | ||
83 | 90//·vd.Finalize(); | ||
84 | 91// | ||
85 | 92//·These·examples·specify·the·incident·faces·as·forming·a·manifold·ring | ||
86 | 93//·(or·half-ring)·around·the·vertex,·i.e.·they·can·be·specified·as·a | ||
87 | 94//·continuous,·connected·sequence·in·counter-clockwise·order·(and·also | ||
88 | 95//·without·degeneracies).·In·the·case·of·a·boundary·vertex,·the·first | ||
89 | 96//·face·must·be·on·the·leading·edge·of·the·boundary·while·the·last·is·on | ||
90 | 97//·the·trailing·edge.·For·an·interior·vertex,·which·face·is·specified | ||
91 | 98//·first·does·not·matter·(since·the·set·is·periodic). | ||
92 | 99// | ||
93 | 100//·In·both·cases,·the·location·of·the·base·face·in·this·sequence·--·the | ||
94 | 101//·face·whose·corner·vertex·is·being·described·here·--·must·be·specified | ||
95 | 102//·in·the·return·value·to·populateFaceVertexDescriptor()·(e.g.·when·a | ||
96 | 103//·boundary·vertex·has·3·incident·faces,·a·return·value·of·0,·1·or·2 | ||
97 | 104//·will·indicate·which·is·the·base·face). | ||
98 | 105// | ||
99 | 106//·The·corresponding·methods·to·specify·mesh·control·vertex·indices·(or | ||
100 | 107//·face-varying·indices)·complete·the·specification·of·the·neighborhood: | ||
101 | 108// | ||
102 | 109//·int·getFaceCornerVertexIndices(Index·baseFace,·int·cornerVertex, | ||
103 | 110//·Index·vertexIndices[])·const; | ||
104 | 111// | ||
105 | 112//·int·getFaceCornerFVarValueIndices(Index·baseFace,·int·cornerVertex, | ||
106 | 113//·Index·fvarValueIndices[], | ||
107 | 114//·int·fvarChannel)·const; | ||
108 | 115// | ||
109 | 116//·and·are·invoked·by·the·Factory·when·needed. | ||
110 | 117// | ||
111 | 118//·For·each·incident·face,·the·indices·for·all·vertices·of·that·face·are | ||
112 | 119//·to·be·specified·(not·the·one-ring·or·some·other·subset).·These·indices | ||
113 | 120//·must·also·be·specified·in·an·orientation·relative·to·the·vertex,·i.e. | ||
114 | 121//·for·a·vertex·A·and·an·incident·face·with·face-vertices·that·may·be | ||
115 | 122//·stored·internally·as·{D,·C,·A,·B},·they·must·be·specified·with·A·first | ||
116 | 123//·as·{A,·B,·C,·D}.·This·may·seem·a·bit·cumbersome,·but·it·has·clear | ||
117 | 124//·advantages·when·dealing·with·face-varying·indices·and·unordered·faces. | ||
118 | 125// | ||
119 | 126//·More·compact·ways·of·specifying·vertex·indices·for·ordered,·manifold | ||
120 | 127//·cases·may·be·worth·exploring·in·future,·but·face-varying·indices·and | ||
121 | 128//·non-manifold·(unordered)·vertices·will·always·require·such·a·full·set, | ||
122 | 129//·so·both·methods·will·need·to·co-exist. | ||
123 | 130// | ||
124 | _\x81_\x83_\x81class·_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·{ | ||
44 | 125 | 132public: | |
45 | _\x86_\x85·class·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s·{ | ||
46 | 66·public: | ||
47 | _\x86_\x87·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s()·:·_preserveQuads(false),·_facetSize4(false), | ||
48 | 68·_coordStride(0),·_facetStride(0)·{·} | ||
49 | 69 | ||
50 | 72·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s·&·_\x8P_\x8r_\x8e_\x8s_\x8e_\x8r_\x8v_\x8e_\x8Q_\x8u_\x8a_\x8d_\x8s(bool·on); | ||
51 | _\x87_\x84·bool·_\x8P_\x8r_\x8e_\x8s_\x8e_\x8r_\x8v_\x8e_\x8Q_\x8u_\x8a_\x8d_\x8s()·const·{·return·_preserveQuads;·} | ||
52 | 75 | ||
53 | 78·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s·&·_\x8S_\x8e_\x8t_\x8F_\x8a_\x8c_\x8e_\x8t_\x8S_\x8i_\x8z_\x8e(int·numIndices); | ||
54 | 79·//·@brief·Return·the·number·of·indices·per·facet | ||
55 | _\x88_\x80·int·_\x8G_\x8e_\x8t_\x8F_\x8a_\x8c_\x8e_\x8t_\x8S_\x8i_\x8z_\x8e()·const·{·return·3·+·(int)_facetSize4;·} | ||
56 | 81 | ||
Max diff block lines reached; 35911/45487 bytes (78.95%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/bfr/ | 8 | <title>OpenSubdiv:·opensubdiv/bfr/tessellation.h·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 90, 26 lines modified | Offset 90, 29 lines modified | ||
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | 94 | <a·href="#nested-classes">Classes</a>·| |
95 | <a·href="#namespaces">Namespaces</a>··</div> | 95 | <a·href="#namespaces">Namespaces</a>··</div> |
96 | ··<div·class="headertitle"><div·class="title"> | 96 | ··<div·class="headertitle"><div·class="title">tessellation.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·"<a·class="el"·href="a00 | 100 | <code>#include·"<a·class="el"·href="a00695_source.html">../bfr/parameterization.h</a>"</code><br·/> |
101 | </div> | 101 | </div> |
102 | <p><a·href="a00677_source.html">Go·to·the·source·code·of·this·file.</a></p> | 102 | <p><a·href="a00677_source.html">Go·to·the·source·code·of·this·file.</a></p> |
103 | <table·class="memberdecls"> | 103 | <table·class="memberdecls"> |
104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
105 | Classes</h2></td></tr> | 105 | Classes</h2></td></tr> |
106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a0096 | 106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00961.html">Tessellation</a></td></tr> |
107 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 107 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Encapsulates·a·specific·tessellation·pattern·of·a·<a·class="el"·href="a00921.html"·title="Simple·class·defining·the·2D·parameterization·of·a·face.">Parameterization</a>.··<a·href="a00961.html#details">More...</a><br·/></td></tr> |
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00965.html">Tessellation::Options</a></td></tr> | ||
110 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00965.html"·title="Options·configure·a·Tessellation·to·specify·the·nature·of·both·its·results·and·the·structure·of·the·c...">Options</a>·configure·a·<a·class="el"·href="a00961.html"·title="Encapsulates·a·specific·tessellation·pattern·of·a·Parameterization.">Tessellation</a>·to·specify·the·nature·of·both·its·results·and·the·structure·of·the·coordinate·and·facet·index·arrays·that·its·methods·will·populate.··<a·href="a00965.html#details">More...</a><br·/></td></tr> | ||
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
109 | </table><table·class="memberdecls"> | 112 | </table><table·class="memberdecls"> |
110 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 113 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
111 | Namespaces</h2></td></tr> | 114 | Namespaces</h2></td></tr> |
112 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 115 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
114 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 117 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
Offset 118, 13 lines modified | Offset 121, 13 lines modified | ||
118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 121 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
119 | </table> | 122 | </table> |
120 | </div><!--·contents·--> | 123 | </div><!--·contents·--> |
121 | </div><!--·doc-content·--> | 124 | </div><!--·doc-content·--> |
122 | <!--·start·footer·part·--> | 125 | <!--·start·footer·part·--> |
123 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 126 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
124 | ··<ul> | 127 | ··<ul> |
125 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_fa5edef2a780a73fbfb6a11f1af88ceb.html">bfr</a></li><li·class="navelem"><a·class="el"·href="a00677.html"> | 128 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_fa5edef2a780a73fbfb6a11f1af88ceb.html">bfr</a></li><li·class="navelem"><a·class="el"·href="a00677.html">tessellation.h</a></li> |
126 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 129 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
127 | ··</ul> | 130 | ··</ul> |
128 | </div> | 131 | </div> |
129 | </body> | 132 | </body> |
130 | </html> | 133 | </html> |
Offset 1, 25 lines modified | Offset 1, 30 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | 6 | tessellation.h·File·Reference | |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8 | 8 | #include·"_\x8._\x8._\x8/_\x8b_.f_.r_./_.p_.a_.r_.a_.m_.e_.t_.e_.r_.i_.z_.a_.t_.i_.o_.n_\x8._\x8h" |
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 10 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
11 | class· ·_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r | ||
12 | 11 | class· ·_.T_.e_.s_.s_.e_.l_.l_.a_.t_.i_.o_.n | |
12 | ·······Encapsulates·a·specific·tessellation·pattern·of·a·_\x8P_\x8a_\x8r_\x8a_\x8m_\x8e_\x8t_\x8e_\x8r_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n. | ||
13 | ········_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | 13 | ········_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. |
14 | 14 | ||
15 | class· ·_\x8T_\x8e_\x8s_\x8s_\x8e_\x8l_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8:_\x8:_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s | ||
16 | ········_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s·configure·a·_\x8T_\x8e_\x8s_\x8s_\x8e_\x8l_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n·to·specify·the·nature·of·both·its | ||
17 | ·······results·and·the·structure·of·the·coordinate·and·facet·index·arrays·that | ||
18 | ········its·methods·will·populate.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
19 | |||
15 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 20 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
16 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 21 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
17 | 22 | ||
18 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 23 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
19 | 24 | ||
20 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8B_\x8f_\x8r | 25 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8B_\x8f_\x8r |
21 | 26 | ||
22 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 27 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
23 | ····*·_\x8b_\x8f_\x8r | 28 | ····*·_\x8b_\x8f_\x8r |
24 | ····*·_\x8 | 29 | ····*·_\x8t_.e_.s_.s_.e_.l_.l_.a_.t_.i_.o_.n_\x8._\x8h |
25 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 30 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 3 lines modified | Offset 1, 4 lines modified | ||
1 | var·a00677·=·[ | 1 | var·a00677·=·[ |
2 | ····["Tessellation",·"a00961.html",·"a00961"], | ||
2 | ····[" | 3 | ····["Options",·"a00965.html",·"a00965"] |
3 | ]; | 4 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/bfr/ | 8 | <title>OpenSubdiv:·opensubdiv/bfr/tessellation.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 15 lines modified | Offset 92, 15 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title"> | 98 | ··<div·class="headertitle"><div·class="title">tessellation.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="a00677.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> | 101 | <a·href="a00677.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2021·Pixar</span></div> | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2021·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
Offset 119, 425 lines modified | Offset 119, 281 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_BFR_ | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_BFR_TESSELLATION_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_BFR_ | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_BFR_TESSELLATION_H</span></div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../ | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../bfr/parameterization.h"</span></div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>Bfr·{</div> | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>Bfr·{</div> |
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | 137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
138 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="comment">//</span></div> | ||
139 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="comment">//··WIP·-·need·to·migrate·some·of·these·comments·into·Doxygen</span></div> | ||
140 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="comment">//······-·others·will·be·moved·to·the·external·documentation</span></div> | ||
141 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="comment">//</span></div> | ||
142 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="comment">//··It·is·used·by·subclasses·of·SurfaceFactory·to·provide·a·complete</span></div> | ||
143 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">//··topological·description·for·each·vertex·of·a·face,·i.e.·invoked·via</span></div> | ||
144 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//··the·virtual·method:</span></div> | ||
145 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="comment">//</span></div> | ||
146 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//······int·populateFaceVertexDescriptor(Index·baseFace,</span></div> | ||
147 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="comment">//·······································int·cornerVertex,</span></div> | ||
148 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="comment">//·······································VertexDescriptor·&·v)·const;</span></div> | ||
149 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="comment">//</span></div> | ||
150 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="comment">//··Assignment·of·the·full·topology·can·be·involved·in·the·presence·of</span></div> | ||
151 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="comment">//··irregular·faces,·non-manifold·topology·or·creasing·around·a·vertex,·but</span></div> | ||
152 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="comment">//··many·cases·will·be·simple.··For·example,·to·specify·a·regular·boundary</span></div> | ||
153 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="comment">//··vertex·of·a·Catmark·mesh·without·any·optional·sharpness:</span></div> | ||
154 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="comment">//</span></div> | ||
155 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="comment">//······int··numIncidentFaces·=·2;</span></div> | ||
156 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="comment">//······bool·vertexOnBoundary·=·true;</span></div> | ||
157 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="comment">//</span></div> | ||
158 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="comment">//······vd.Initialize(numIncidentFaces);</span></div> | ||
159 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="comment">//··········vd.SetManifold(true);</span></div> | ||
160 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="comment">//··········vd.SetBoundary(vertexOnBoundary);</span></div> | ||
161 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="comment">//··········vd.ClearIncidentFaceSizes();</span></div> | ||
162 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="comment">//······vd.Finalize();</span></div> | ||
163 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="comment">//</span></div> | ||
164 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="comment">//··For·a·more·general·example,·to·assign·a·vertex·of·some·valence·whose</span></div> | ||
165 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="comment">//··incident·faces·are·of·different·sizes·(e.g.·required·when·triangles</span></div> | ||
166 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="comment">//··appear·around·a·vertex·in·an·otherwise·quad-dominant·Catmark·mesh):</span></div> | ||
167 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="comment">//</span></div> | ||
168 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="comment">//······int··numIncidentFaces·=·meshVertex.GetNumIncidentFaces();</span></div> | ||
169 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="comment">//······bool·vertexOnBoundary·=·meshVertex.IsBoundar();</span></div> | ||
170 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="comment">//</span></div> | ||
171 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="comment">//······vd.Initialize(numIncidentFaces);</span></div> | ||
172 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="comment">//··········vd.SetManifold(true);</span></div> | ||
173 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="comment">//··········vd.SetBoundary(vertexOnBoundary);</span></div> | ||
174 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="comment">//</span></div> | ||
175 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="comment">//··········for·(int·i·=·0;·i·<·numIncidentFaces;·++i)·{</span></div> | ||
176 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span><span·class="comment">//··············vd.SetIncidentFaceSize(i,·meshVertex.GetIncidentFaceSize(i));</span></div> | ||
177 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="comment">//··········}</span></div> | ||
178 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="comment">//······vd.Finalize();</span></div> | ||
179 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span><span·class="comment">//</span></div> | ||
180 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span><span·class="comment">//··These·examples·specify·the·incident·faces·as·forming·a·manifold·ring</span></div> | ||
181 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span><span·class="comment">//··(or·half-ring)·around·the·vertex,·i.e.·they·can·be·specified·as·a</span></div> | ||
182 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="comment">//··continuous,·connected·sequence·in·counter-clockwise·order·(and·also</span></div> | ||
183 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span><span·class="comment">//··without·degeneracies).··In·the·case·of·a·boundary·vertex,·the·first</span></div> | ||
184 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span><span·class="comment">//··face·must·be·on·the·leading·edge·of·the·boundary·while·the·last·is·on</span></div> | ||
185 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span><span·class="comment">//··the·trailing·edge.··For·an·interior·vertex,·which·face·is·specified</span></div> | ||
186 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span><span·class="comment">//··first·does·not·matter·(since·the·set·is·periodic).</span></div> | ||
187 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span><span·class="comment">//</span></div> | ||
188 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="comment">//··In·both·cases,·the·location·of·the·base·face·in·this·sequence·--·the</span></div> | ||
189 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span><span·class="comment">//··face·whose·corner·vertex·is·being·described·here·--·must·be·specified</span></div> | ||
190 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span><span·class="comment">//··in·the·return·value·to·populateFaceVertexDescriptor()·(e.g.·when·a</span></div> | ||
191 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span><span·class="comment">//··boundary·vertex·has·3·incident·faces,·a·return·value·of·0,·1·or·2</span></div> | ||
192 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span><span·class="comment">//··will·indicate·which·is·the·base·face).</span></div> | ||
193 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span><span·class="comment">//</span></div> | ||
194 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span><span·class="comment">//··The·corresponding·methods·to·specify·mesh·control·vertex·indices·(or</span></div> | ||
195 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span><span·class="comment">//··face-varying·indices)·complete·the·specification·of·the·neighborhood:</span></div> | ||
196 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span><span·class="comment">//</span></div> | ||
197 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span><span·class="comment">//······int·getFaceCornerVertexIndices(Index·baseFace,·int·cornerVertex,</span></div> | ||
198 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span><span·class="comment">//·····································Index·vertexIndices[])·const;</span></div> | ||
199 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span><span·class="comment">//</span></div> | ||
200 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span><span·class="comment">//······int·getFaceCornerFVarValueIndices(Index·baseFace,·int·cornerVertex,</span></div> | ||
201 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span><span·class="comment">//········································Index·fvarValueIndices[],</span></div> | ||
202 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span><span·class="comment">//········································int···fvarChannel)·const;</span></div> | ||
203 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span><span·class="comment">//</span></div> | ||
204 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span><span·class="comment">//··and·are·invoked·by·the·Factory·when·needed.</span></div> | ||
205 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span><span·class="comment">//</span></div> | ||
206 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span><span·class="comment">//··For·each·incident·face,·the·indices·for·all·vertices·of·that·face·are</span></div> | ||
207 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span><span·class="comment">//··to·be·specified·(not·the·one-ring·or·some·other·subset).··These·indices</span></div> | ||
208 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span><span·class="comment">//··must·also·be·specified·in·an·orientation·relative·to·the·vertex,·i.e.</span></div> | ||
209 | <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span><span·class="comment">//··for·a·vertex·A·and·an·incident·face·with·face-vertices·that·may·be</span></div> | ||
210 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span><span·class="comment">//··stored·internally·as·{D,·C,·A,·B},·they·must·be·specified·with·A·first</span></div> | ||
211 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span><span·class="comment">//··as·{A,·B,·C,·D}.··This·may·seem·a·bit·cumbersome,·but·it·has·clear</span></div> | ||
212 | <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span><span·class="comment">//··advantages·when·dealing·with·face-varying·indices·and·unordered·faces.</span></div> | ||
213 | <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span><span·class="comment">//</span></div> | ||
Max diff block lines reached; 87751/128417 bytes (68.33%) of diff not shown. |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | 5 | tessellation.h | |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·2021·Pixar | 8 | 2//·Copyright·2021·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
Offset 24, 446 lines modified | Offset 24, 367 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_BFR_ | 31 | 25#ifndef·OPENSUBDIV3_BFR_TESSELLATION_H |
32 | 26#define·OPENSUBDIV3_BFR_ | 32 | 26#define·OPENSUBDIV3_BFR_TESSELLATION_H |
33 | 27 | 33 | 27 |
34 | 28#include·"../version.h" | 34 | 28#include·"../version.h" |
35 | 29 | 35 | 29 |
36 | 30#include·"../ | 36 | 30#include·"../bfr/parameterization.h" |
37 | 31 | 37 | 31 |
38 | 32namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | 38 | 32namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ |
39 | 33namespace·OPENSUBDIV_VERSION·{ | 39 | 33namespace·OPENSUBDIV_VERSION·{ |
40 | 34 | 40 | 34 |
41 | 35namespace·Bfr·{ | 41 | 35namespace·Bfr·{ |
42 | 36 | 42 | 36 |
43 | _\x85_\x81class·_\x8T_\x8e_\x8s_\x8s_\x8e_\x8l_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n·{ | ||
43 | 50// | ||
44 | 51//·WIP·-·need·to·migrate·some·of·these·comments·into·Doxygen | ||
45 | 52//·-·others·will·be·moved·to·the·external·documentation | ||
46 | 53// | ||
47 | 54//·It·is·used·by·subclasses·of·SurfaceFactory·to·provide·a·complete | ||
48 | 55//·topological·description·for·each·vertex·of·a·face,·i.e.·invoked·via | ||
49 | 56//·the·virtual·method: | ||
50 | 57// | ||
51 | 58//·int·populateFaceVertexDescriptor(Index·baseFace, | ||
52 | 59//·int·cornerVertex, | ||
53 | 60//·VertexDescriptor·&·v)·const; | ||
54 | 61// | ||
55 | 62//·Assignment·of·the·full·topology·can·be·involved·in·the·presence·of | ||
56 | 63//·irregular·faces,·non-manifold·topology·or·creasing·around·a·vertex,·but | ||
57 | 64//·many·cases·will·be·simple.·For·example,·to·specify·a·regular·boundary | ||
58 | 65//·vertex·of·a·Catmark·mesh·without·any·optional·sharpness: | ||
59 | 66// | ||
60 | 67//·int·numIncidentFaces·=·2; | ||
61 | 68//·bool·vertexOnBoundary·=·true; | ||
62 | 69// | ||
63 | 70//·vd.Initialize(numIncidentFaces); | ||
64 | 71//·vd.SetManifold(true); | ||
65 | 72//·vd.SetBoundary(vertexOnBoundary); | ||
66 | 73//·vd.ClearIncidentFaceSizes(); | ||
67 | 74//·vd.Finalize(); | ||
68 | 75// | ||
69 | 76//·For·a·more·general·example,·to·assign·a·vertex·of·some·valence·whose | ||
70 | 77//·incident·faces·are·of·different·sizes·(e.g.·required·when·triangles | ||
71 | 78//·appear·around·a·vertex·in·an·otherwise·quad-dominant·Catmark·mesh): | ||
72 | 79// | ||
73 | 80//·int·numIncidentFaces·=·meshVertex.GetNumIncidentFaces(); | ||
74 | 81//·bool·vertexOnBoundary·=·meshVertex.IsBoundar(); | ||
75 | 82// | ||
76 | 83//·vd.Initialize(numIncidentFaces); | ||
77 | 84//·vd.SetManifold(true); | ||
78 | 85//·vd.SetBoundary(vertexOnBoundary); | ||
79 | 86// | ||
80 | 87//·for·(int·i·=·0;·i·<·numIncidentFaces;·++i)·{ | ||
81 | 88//·vd.SetIncidentFaceSize(i,·meshVertex.GetIncidentFaceSize(i)); | ||
82 | 89//·} | ||
83 | 90//·vd.Finalize(); | ||
84 | 91// | ||
85 | 92//·These·examples·specify·the·incident·faces·as·forming·a·manifold·ring | ||
86 | 93//·(or·half-ring)·around·the·vertex,·i.e.·they·can·be·specified·as·a | ||
87 | 94//·continuous,·connected·sequence·in·counter-clockwise·order·(and·also | ||
88 | 95//·without·degeneracies).·In·the·case·of·a·boundary·vertex,·the·first | ||
89 | 96//·face·must·be·on·the·leading·edge·of·the·boundary·while·the·last·is·on | ||
90 | 97//·the·trailing·edge.·For·an·interior·vertex,·which·face·is·specified | ||
91 | 98//·first·does·not·matter·(since·the·set·is·periodic). | ||
92 | 99// | ||
93 | 100//·In·both·cases,·the·location·of·the·base·face·in·this·sequence·--·the | ||
94 | 101//·face·whose·corner·vertex·is·being·described·here·--·must·be·specified | ||
95 | 102//·in·the·return·value·to·populateFaceVertexDescriptor()·(e.g.·when·a | ||
96 | 103//·boundary·vertex·has·3·incident·faces,·a·return·value·of·0,·1·or·2 | ||
97 | 104//·will·indicate·which·is·the·base·face). | ||
98 | 105// | ||
99 | 106//·The·corresponding·methods·to·specify·mesh·control·vertex·indices·(or | ||
100 | 107//·face-varying·indices)·complete·the·specification·of·the·neighborhood: | ||
101 | 108// | ||
102 | 109//·int·getFaceCornerVertexIndices(Index·baseFace,·int·cornerVertex, | ||
103 | 110//·Index·vertexIndices[])·const; | ||
104 | 111// | ||
105 | 112//·int·getFaceCornerFVarValueIndices(Index·baseFace,·int·cornerVertex, | ||
106 | 113//·Index·fvarValueIndices[], | ||
107 | 114//·int·fvarChannel)·const; | ||
108 | 115// | ||
109 | 116//·and·are·invoked·by·the·Factory·when·needed. | ||
110 | 117// | ||
111 | 118//·For·each·incident·face,·the·indices·for·all·vertices·of·that·face·are | ||
112 | 119//·to·be·specified·(not·the·one-ring·or·some·other·subset).·These·indices | ||
113 | 120//·must·also·be·specified·in·an·orientation·relative·to·the·vertex,·i.e. | ||
114 | 121//·for·a·vertex·A·and·an·incident·face·with·face-vertices·that·may·be | ||
115 | 122//·stored·internally·as·{D,·C,·A,·B},·they·must·be·specified·with·A·first | ||
116 | 123//·as·{A,·B,·C,·D}.·This·may·seem·a·bit·cumbersome,·but·it·has·clear | ||
117 | 124//·advantages·when·dealing·with·face-varying·indices·and·unordered·faces. | ||
118 | 125// | ||
119 | 126//·More·compact·ways·of·specifying·vertex·indices·for·ordered,·manifold | ||
120 | 127//·cases·may·be·worth·exploring·in·future,·but·face-varying·indices·and | ||
121 | 128//·non-manifold·(unordered)·vertices·will·always·require·such·a·full·set, | ||
122 | 129//·so·both·methods·will·need·to·co-exist. | ||
123 | 130// | ||
124 | _\x81_\x83_\x81class·_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·{ | ||
125 | 44 | 52public: | |
45 | _\x86_\x85·class·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s·{ | ||
46 | 66·public: | ||
47 | _\x86_\x87·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s()·:·_preserveQuads(false),·_facetSize4(false), | ||
48 | 68·_coordStride(0),·_facetStride(0)·{·} | ||
49 | 69 | ||
50 | 72·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s·&·_\x8P_\x8r_\x8e_\x8s_\x8e_\x8r_\x8v_\x8e_\x8Q_\x8u_\x8a_\x8d_\x8s(bool·on); | ||
51 | _\x87_\x84·bool·_\x8P_\x8r_\x8e_\x8s_\x8e_\x8r_\x8v_\x8e_\x8Q_\x8u_\x8a_\x8d_\x8s()·const·{·return·_preserveQuads;·} | ||
52 | 75 | ||
53 | 78·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s·&·_\x8S_\x8e_\x8t_\x8F_\x8a_\x8c_\x8e_\x8t_\x8S_\x8i_\x8z_\x8e(int·numIndices); | ||
54 | 79·//·@brief·Return·the·number·of·indices·per·facet | ||
55 | _\x88_\x80·int·_\x8G_\x8e_\x8t_\x8F_\x8a_\x8c_\x8e_\x8t_\x8S_\x8i_\x8z_\x8e()·const·{·return·3·+·(int)_facetSize4;·} | ||
Max diff block lines reached; 35911/45487 bytes (78.95%) of diff not shown. |
Offset 249, 15 lines modified | Offset 249, 15 lines modified | ||
249 | <div·class="ttc"·id="aa00957_html_a6f2eece993bb137b995618881c7f9160"><div·class="ttname"><a·href="a00957.html#a6f2eece993bb137b995618881c7f9160">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter::populateFaceVertexDescriptor</a></div><div·class="ttdeci">virtual·int·populateFaceVertexDescriptor(Index·faceIndex,·int·faceVertex,·VertexDescriptor·*vertexDescriptor)·const·=0</div><div·class="ttdoc">Describe·the·topology·of·incident·faces·around·a·face-vertex.</div></div> | 249 | <div·class="ttc"·id="aa00957_html_a6f2eece993bb137b995618881c7f9160"><div·class="ttname"><a·href="a00957.html#a6f2eece993bb137b995618881c7f9160">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter::populateFaceVertexDescriptor</a></div><div·class="ttdeci">virtual·int·populateFaceVertexDescriptor(Index·faceIndex,·int·faceVertex,·VertexDescriptor·*vertexDescriptor)·const·=0</div><div·class="ttdoc">Describe·the·topology·of·incident·faces·around·a·face-vertex.</div></div> |
250 | <div·class="ttc"·id="aa00957_html_a72634fd790cc4d1f52801aa5399328b5"><div·class="ttname"><a·href="a00957.html#a72634fd790cc4d1f52801aa5399328b5">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter::getFaceNeighborhoodVertexIndicesIfRegular</a></div><div·class="ttdeci">virtual·bool·getFaceNeighborhoodVertexIndicesIfRegular(Index·faceIndex,·Index·vertexIndices[])·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00683_source.html#l00218">surfaceFactoryMeshAdapter.h:218</a></div></div> | 250 | <div·class="ttc"·id="aa00957_html_a72634fd790cc4d1f52801aa5399328b5"><div·class="ttname"><a·href="a00957.html#a72634fd790cc4d1f52801aa5399328b5">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter::getFaceNeighborhoodVertexIndicesIfRegular</a></div><div·class="ttdeci">virtual·bool·getFaceNeighborhoodVertexIndicesIfRegular(Index·faceIndex,·Index·vertexIndices[])·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00683_source.html#l00218">surfaceFactoryMeshAdapter.h:218</a></div></div> |
251 | <div·class="ttc"·id="aa00957_html_aa7e32ce7ba896c5ddfe6521ad0022ce2"><div·class="ttname"><a·href="a00957.html#aa7e32ce7ba896c5ddfe6521ad0022ce2">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter::getFaceNeighborhoodFVarValueIndicesIfRegular</a></div><div·class="ttdeci">virtual·bool·getFaceNeighborhoodFVarValueIndicesIfRegular(Index·faceIndex,·FVarID·fvarID,·Index·fvarValueIndices[])·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00683_source.html#l00224">surfaceFactoryMeshAdapter.h:224</a></div></div> | 251 | <div·class="ttc"·id="aa00957_html_aa7e32ce7ba896c5ddfe6521ad0022ce2"><div·class="ttname"><a·href="a00957.html#aa7e32ce7ba896c5ddfe6521ad0022ce2">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter::getFaceNeighborhoodFVarValueIndicesIfRegular</a></div><div·class="ttdeci">virtual·bool·getFaceNeighborhoodFVarValueIndicesIfRegular(Index·faceIndex,·FVarID·fvarID,·Index·fvarValueIndices[])·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00683_source.html#l00224">surfaceFactoryMeshAdapter.h:224</a></div></div> |
252 | <div·class="ttc"·id="aa00957_html_aba5c13d35cdaae43f2a1b4798868747a"><div·class="ttname"><a·href="a00957.html#aba5c13d35cdaae43f2a1b4798868747a">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter::getFaceFVarValueIndices</a></div><div·class="ttdeci">virtual·int·getFaceFVarValueIndices(Index·faceIndex,·FVarID·fvarID,·Index·fvarValueIndices[])·const·=0</div><div·class="ttdoc">Gather·the·face-varying·indices·of·the·face's·vertices.</div></div> | 252 | <div·class="ttc"·id="aa00957_html_aba5c13d35cdaae43f2a1b4798868747a"><div·class="ttname"><a·href="a00957.html#aba5c13d35cdaae43f2a1b4798868747a">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter::getFaceFVarValueIndices</a></div><div·class="ttdeci">virtual·int·getFaceFVarValueIndices(Index·faceIndex,·FVarID·fvarID,·Index·fvarValueIndices[])·const·=0</div><div·class="ttdoc">Gather·the·face-varying·indices·of·the·face's·vertices.</div></div> |
253 | <div·class="ttc"·id="aa00957_html_ac8c29cf2fda93d2c3408f80e8371d375"><div·class="ttname"><a·href="a00957.html#ac8c29cf2fda93d2c3408f80e8371d375">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter::getFaceVertexIndices</a></div><div·class="ttdeci">virtual·int·getFaceVertexIndices(Index·faceIndex,·Index·vertexIndices[])·const·=0</div><div·class="ttdoc">Gather·the·indices·of·the·face's·vertices.</div></div> | 253 | <div·class="ttc"·id="aa00957_html_ac8c29cf2fda93d2c3408f80e8371d375"><div·class="ttname"><a·href="a00957.html#ac8c29cf2fda93d2c3408f80e8371d375">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter::getFaceVertexIndices</a></div><div·class="ttdeci">virtual·int·getFaceVertexIndices(Index·faceIndex,·Index·vertexIndices[])·const·=0</div><div·class="ttdoc">Gather·the·indices·of·the·face's·vertices.</div></div> |
254 | <div·class="ttc"·id="aa00957_html_aebdd02cef87f646218eed308629e9aed"><div·class="ttname"><a·href="a00957.html#aebdd02cef87f646218eed308629e9aed">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter::isFaceHole</a></div><div·class="ttdeci">virtual·bool·isFaceHole(Index·faceIndex)·const·=0</div><div·class="ttdoc">Returns·if·a·face·is·a·hole.</div></div> | 254 | <div·class="ttc"·id="aa00957_html_aebdd02cef87f646218eed308629e9aed"><div·class="ttname"><a·href="a00957.html#aebdd02cef87f646218eed308629e9aed">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter::isFaceHole</a></div><div·class="ttdeci">virtual·bool·isFaceHole(Index·faceIndex)·const·=0</div><div·class="ttdoc">Returns·if·a·face·is·a·hole.</div></div> |
255 | <div·class="ttc"·id="aa00957_html_af98288d7b5176d7295be622a10c6c64e"><div·class="ttname"><a·href="a00957.html#af98288d7b5176d7295be622a10c6c64e">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter::FVarID</a></div><div·class="ttdeci">std::intptr_t·FVarID</div><div·class="ttdoc">Type·used·to·identify·and·specify·face-varying·primvars.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00683_source.html#l00080">surfaceFactoryMeshAdapter.h:80</a></div></div> | 255 | <div·class="ttc"·id="aa00957_html_af98288d7b5176d7295be622a10c6c64e"><div·class="ttname"><a·href="a00957.html#af98288d7b5176d7295be622a10c6c64e">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter::FVarID</a></div><div·class="ttdeci">std::intptr_t·FVarID</div><div·class="ttdoc">Type·used·to·identify·and·specify·face-varying·primvars.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00683_source.html#l00080">surfaceFactoryMeshAdapter.h:80</a></div></div> |
256 | <div·class="ttc"·id="aa00969_html"><div·class="ttname"><a·href="a00969.html">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::VertexDescriptor</a></div><div·class="ttdoc">Simple·class·used·by·subclasses·of·SurfaceFactory·to·describe·a·vertex.</div><div·class="ttdef"><b>Definition</b>·<a·href="a0067 | 256 | <div·class="ttc"·id="aa00969_html"><div·class="ttname"><a·href="a00969.html">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::VertexDescriptor</a></div><div·class="ttdoc">Simple·class·used·by·subclasses·of·SurfaceFactory·to·describe·a·vertex.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00674_source.html#l00131">vertexDescriptor.h:131</a></div></div> |
257 | </div><!--·fragment·--></div><!--·contents·--> | 257 | </div><!--·fragment·--></div><!--·contents·--> |
258 | </div><!--·doc-content·--> | 258 | </div><!--·doc-content·--> |
259 | <!--·start·footer·part·--> | 259 | <!--·start·footer·part·--> |
260 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 260 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
261 | ··<ul> | 261 | ··<ul> |
262 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_fa5edef2a780a73fbfb6a11f1af88ceb.html">bfr</a></li><li·class="navelem"><a·class="el"·href="a00683.html">surfaceFactoryMeshAdapter.h</a></li> | 262 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_fa5edef2a780a73fbfb6a11f1af88ceb.html">bfr</a></li><li·class="navelem"><a·class="el"·href="a00683.html">surfaceFactoryMeshAdapter.h</a></li> |
263 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 263 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
Offset 262, 15 lines modified | Offset 262, 15 lines modified | ||
262 | <div·class="ttc"·id="aa00957_html_a6f2eece993bb137b995618881c7f9160"><div·class="ttname"><a·href="a00957.html#a6f2eece993bb137b995618881c7f9160">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter::populateFaceVertexDescriptor</a></div><div·class="ttdeci">virtual·int·populateFaceVertexDescriptor(Index·faceIndex,·int·faceVertex,·VertexDescriptor·*vertexDescriptor)·const·=0</div><div·class="ttdoc">Describe·the·topology·of·incident·faces·around·a·face-vertex.</div></div> | 262 | <div·class="ttc"·id="aa00957_html_a6f2eece993bb137b995618881c7f9160"><div·class="ttname"><a·href="a00957.html#a6f2eece993bb137b995618881c7f9160">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter::populateFaceVertexDescriptor</a></div><div·class="ttdeci">virtual·int·populateFaceVertexDescriptor(Index·faceIndex,·int·faceVertex,·VertexDescriptor·*vertexDescriptor)·const·=0</div><div·class="ttdoc">Describe·the·topology·of·incident·faces·around·a·face-vertex.</div></div> |
263 | <div·class="ttc"·id="aa00957_html_a72634fd790cc4d1f52801aa5399328b5"><div·class="ttname"><a·href="a00957.html#a72634fd790cc4d1f52801aa5399328b5">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter::getFaceNeighborhoodVertexIndicesIfRegular</a></div><div·class="ttdeci">virtual·bool·getFaceNeighborhoodVertexIndicesIfRegular(Index·faceIndex,·Index·vertexIndices[])·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00683_source.html#l00218">surfaceFactoryMeshAdapter.h:218</a></div></div> | 263 | <div·class="ttc"·id="aa00957_html_a72634fd790cc4d1f52801aa5399328b5"><div·class="ttname"><a·href="a00957.html#a72634fd790cc4d1f52801aa5399328b5">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter::getFaceNeighborhoodVertexIndicesIfRegular</a></div><div·class="ttdeci">virtual·bool·getFaceNeighborhoodVertexIndicesIfRegular(Index·faceIndex,·Index·vertexIndices[])·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00683_source.html#l00218">surfaceFactoryMeshAdapter.h:218</a></div></div> |
264 | <div·class="ttc"·id="aa00957_html_aa7e32ce7ba896c5ddfe6521ad0022ce2"><div·class="ttname"><a·href="a00957.html#aa7e32ce7ba896c5ddfe6521ad0022ce2">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter::getFaceNeighborhoodFVarValueIndicesIfRegular</a></div><div·class="ttdeci">virtual·bool·getFaceNeighborhoodFVarValueIndicesIfRegular(Index·faceIndex,·FVarID·fvarID,·Index·fvarValueIndices[])·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00683_source.html#l00224">surfaceFactoryMeshAdapter.h:224</a></div></div> | 264 | <div·class="ttc"·id="aa00957_html_aa7e32ce7ba896c5ddfe6521ad0022ce2"><div·class="ttname"><a·href="a00957.html#aa7e32ce7ba896c5ddfe6521ad0022ce2">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter::getFaceNeighborhoodFVarValueIndicesIfRegular</a></div><div·class="ttdeci">virtual·bool·getFaceNeighborhoodFVarValueIndicesIfRegular(Index·faceIndex,·FVarID·fvarID,·Index·fvarValueIndices[])·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00683_source.html#l00224">surfaceFactoryMeshAdapter.h:224</a></div></div> |
265 | <div·class="ttc"·id="aa00957_html_aba5c13d35cdaae43f2a1b4798868747a"><div·class="ttname"><a·href="a00957.html#aba5c13d35cdaae43f2a1b4798868747a">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter::getFaceFVarValueIndices</a></div><div·class="ttdeci">virtual·int·getFaceFVarValueIndices(Index·faceIndex,·FVarID·fvarID,·Index·fvarValueIndices[])·const·=0</div><div·class="ttdoc">Gather·the·face-varying·indices·of·the·face's·vertices.</div></div> | 265 | <div·class="ttc"·id="aa00957_html_aba5c13d35cdaae43f2a1b4798868747a"><div·class="ttname"><a·href="a00957.html#aba5c13d35cdaae43f2a1b4798868747a">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter::getFaceFVarValueIndices</a></div><div·class="ttdeci">virtual·int·getFaceFVarValueIndices(Index·faceIndex,·FVarID·fvarID,·Index·fvarValueIndices[])·const·=0</div><div·class="ttdoc">Gather·the·face-varying·indices·of·the·face's·vertices.</div></div> |
266 | <div·class="ttc"·id="aa00957_html_ac8c29cf2fda93d2c3408f80e8371d375"><div·class="ttname"><a·href="a00957.html#ac8c29cf2fda93d2c3408f80e8371d375">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter::getFaceVertexIndices</a></div><div·class="ttdeci">virtual·int·getFaceVertexIndices(Index·faceIndex,·Index·vertexIndices[])·const·=0</div><div·class="ttdoc">Gather·the·indices·of·the·face's·vertices.</div></div> | 266 | <div·class="ttc"·id="aa00957_html_ac8c29cf2fda93d2c3408f80e8371d375"><div·class="ttname"><a·href="a00957.html#ac8c29cf2fda93d2c3408f80e8371d375">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter::getFaceVertexIndices</a></div><div·class="ttdeci">virtual·int·getFaceVertexIndices(Index·faceIndex,·Index·vertexIndices[])·const·=0</div><div·class="ttdoc">Gather·the·indices·of·the·face's·vertices.</div></div> |
267 | <div·class="ttc"·id="aa00957_html_aebdd02cef87f646218eed308629e9aed"><div·class="ttname"><a·href="a00957.html#aebdd02cef87f646218eed308629e9aed">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter::isFaceHole</a></div><div·class="ttdeci">virtual·bool·isFaceHole(Index·faceIndex)·const·=0</div><div·class="ttdoc">Returns·if·a·face·is·a·hole.</div></div> | 267 | <div·class="ttc"·id="aa00957_html_aebdd02cef87f646218eed308629e9aed"><div·class="ttname"><a·href="a00957.html#aebdd02cef87f646218eed308629e9aed">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter::isFaceHole</a></div><div·class="ttdeci">virtual·bool·isFaceHole(Index·faceIndex)·const·=0</div><div·class="ttdoc">Returns·if·a·face·is·a·hole.</div></div> |
268 | <div·class="ttc"·id="aa00957_html_af98288d7b5176d7295be622a10c6c64e"><div·class="ttname"><a·href="a00957.html#af98288d7b5176d7295be622a10c6c64e">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter::FVarID</a></div><div·class="ttdeci">std::intptr_t·FVarID</div><div·class="ttdoc">Type·used·to·identify·and·specify·face-varying·primvars.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00683_source.html#l00080">surfaceFactoryMeshAdapter.h:80</a></div></div> | 268 | <div·class="ttc"·id="aa00957_html_af98288d7b5176d7295be622a10c6c64e"><div·class="ttname"><a·href="a00957.html#af98288d7b5176d7295be622a10c6c64e">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter::FVarID</a></div><div·class="ttdeci">std::intptr_t·FVarID</div><div·class="ttdoc">Type·used·to·identify·and·specify·face-varying·primvars.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00683_source.html#l00080">surfaceFactoryMeshAdapter.h:80</a></div></div> |
269 | <div·class="ttc"·id="aa00969_html"><div·class="ttname"><a·href="a00969.html">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::VertexDescriptor</a></div><div·class="ttdoc">Simple·class·used·by·subclasses·of·SurfaceFactory·to·describe·a·vertex.</div><div·class="ttdef"><b>Definition</b>·<a·href="a0067 | 269 | <div·class="ttc"·id="aa00969_html"><div·class="ttname"><a·href="a00969.html">OpenSubdiv::OPENSUBDIV_VERSION::Bfr::VertexDescriptor</a></div><div·class="ttdoc">Simple·class·used·by·subclasses·of·SurfaceFactory·to·describe·a·vertex.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00674_source.html#l00131">vertexDescriptor.h:131</a></div></div> |
270 | <div·class="ttc"·id="aa01121_html"><div·class="ttname"><a·href="a01121.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner</a></div><div·class="ttdoc">Stores·topology·data·for·a·specified·set·of·refinement·options.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00707_source.html#l00051">topologyRefiner.h:51</a></div></div> | 270 | <div·class="ttc"·id="aa01121_html"><div·class="ttname"><a·href="a01121.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner</a></div><div·class="ttdoc">Stores·topology·data·for·a·specified·set·of·refinement·options.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00707_source.html#l00051">topologyRefiner.h:51</a></div></div> |
271 | </div><!--·fragment·--></div><!--·contents·--> | 271 | </div><!--·fragment·--></div><!--·contents·--> |
272 | </div><!--·doc-content·--> | 272 | </div><!--·doc-content·--> |
273 | <!--·start·footer·part·--> | 273 | <!--·start·footer·part·--> |
274 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 274 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
275 | ··<ul> | 275 | ··<ul> |
276 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_fa5edef2a780a73fbfb6a11f1af88ceb.html">bfr</a></li><li·class="navelem"><a·class="el"·href="a00692.html">refinerSurfaceFactory.h</a></li> | 276 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_fa5edef2a780a73fbfb6a11f1af88ceb.html">bfr</a></li><li·class="navelem"><a·class="el"·href="a00692.html">refinerSurfaceFactory.h</a></li> |
Offset 94, 16 lines modified | Offset 94, 16 lines modified | ||
94 | ··<div·class="summary"> | 94 | ··<div·class="summary"> |
95 | <a·href="#nested-classes">Classes</a>·| | 95 | <a·href="#nested-classes">Classes</a>·| |
96 | <a·href="#namespaces">Namespaces</a>··</div> | 96 | <a·href="#namespaces">Namespaces</a>··</div> |
97 | ··<div·class="headertitle"><div·class="title">topologyLevel.h·File·Reference</div></div> | 97 | ··<div·class="headertitle"><div·class="title">topologyLevel.h·File·Reference</div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 100 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
101 | <code>#include·"<a·class="el"·href="a0075 | 101 | <code>#include·"<a·class="el"·href="a00755_source.html">../vtr/level.h</a>"</code><br·/> |
102 | <code>#include·"<a·class="el"·href="a007 | 102 | <code>#include·"<a·class="el"·href="a00749_source.html">../vtr/refinement.h</a>"</code><br·/> |
103 | <code>#include·"<a·class="el"·href="a01486_source.html">../far/types.h</a>"</code><br·/> | 103 | <code>#include·"<a·class="el"·href="a01486_source.html">../far/types.h</a>"</code><br·/> |
104 | <code>#include·<vector></code><br·/> | 104 | <code>#include·<vector></code><br·/> |
105 | </div> | 105 | </div> |
106 | <p><a·href="a00710_source.html">Go·to·the·source·code·of·this·file.</a></p> | 106 | <p><a·href="a00710_source.html">Go·to·the·source·code·of·this·file.</a></p> |
107 | <table·class="memberdecls"> | 107 | <table·class="memberdecls"> |
108 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 108 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
109 | Classes</h2></td></tr> | 109 | Classes</h2></td></tr> |
Offset 326, 15 lines modified | Offset 326, 15 lines modified | ||
326 | <div·class="ttc"·id="aa01113_html_ae4228cb7954118c55af0a77a99333788"><div·class="ttname"><a·href="a01113.html#ae4228cb7954118c55af0a77a99333788">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyLevel::GetNumFaceVertices</a></div><div·class="ttdeci">int·GetNumFaceVertices()·const</div><div·class="ttdoc">Return·the·total·number·of·face-vertices,·i.e.·the·sum·of·all·vertices·for·all·faces.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00710_source.html#l00071">topologyLevel.h:71</a></div></div> | 326 | <div·class="ttc"·id="aa01113_html_ae4228cb7954118c55af0a77a99333788"><div·class="ttname"><a·href="a01113.html#ae4228cb7954118c55af0a77a99333788">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyLevel::GetNumFaceVertices</a></div><div·class="ttdeci">int·GetNumFaceVertices()·const</div><div·class="ttdoc">Return·the·total·number·of·face-vertices,·i.e.·the·sum·of·all·vertices·for·all·faces.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00710_source.html#l00071">topologyLevel.h:71</a></div></div> |
327 | <div·class="ttc"·id="aa01113_html_ae8289e621fd91c4eff0d44903edb34c2"><div·class="ttname"><a·href="a01113.html#ae8289e621fd91c4eff0d44903edb34c2">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyLevel::IsVertexNonManifold</a></div><div·class="ttdeci">bool·IsVertexNonManifold(Index·v)·const</div><div·class="ttdoc">Return·if·the·vertex·is·non-manifold.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00710_source.html#l00131">topologyLevel.h:131</a></div></div> | 327 | <div·class="ttc"·id="aa01113_html_ae8289e621fd91c4eff0d44903edb34c2"><div·class="ttname"><a·href="a01113.html#ae8289e621fd91c4eff0d44903edb34c2">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyLevel::IsVertexNonManifold</a></div><div·class="ttdeci">bool·IsVertexNonManifold(Index·v)·const</div><div·class="ttdoc">Return·if·the·vertex·is·non-manifold.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00710_source.html#l00131">topologyLevel.h:131</a></div></div> |
328 | <div·class="ttc"·id="aa01113_html_af13c6081737fbf3fa34e690e1d5b81b8"><div·class="ttname"><a·href="a01113.html#af13c6081737fbf3fa34e690e1d5b81b8">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyLevel::IsEdgeBoundary</a></div><div·class="ttdeci">bool·IsEdgeBoundary(Index·e)·const</div><div·class="ttdoc">Return·if·the·edge·is·a·boundary·(only·one·incident·face)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00710_source.html#l00134">topologyLevel.h:134</a></div></div> | 328 | <div·class="ttc"·id="aa01113_html_af13c6081737fbf3fa34e690e1d5b81b8"><div·class="ttname"><a·href="a01113.html#af13c6081737fbf3fa34e690e1d5b81b8">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyLevel::IsEdgeBoundary</a></div><div·class="ttdeci">bool·IsEdgeBoundary(Index·e)·const</div><div·class="ttdoc">Return·if·the·edge·is·a·boundary·(only·one·incident·face)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00710_source.html#l00134">topologyLevel.h:134</a></div></div> |
329 | <div·class="ttc"·id="aa01113_html_af2e9df856672471d6d52245646b99ec1"><div·class="ttname"><a·href="a01113.html#af2e9df856672471d6d52245646b99ec1">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyLevel::IsVertexInfSharp</a></div><div·class="ttdeci">bool·IsVertexInfSharp(Index·v)·const</div><div·class="ttdoc">Return·if·the·vertex·is·infinitely-sharp.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00710_source.html#l00182">topologyLevel.h:182</a></div></div> | 329 | <div·class="ttc"·id="aa01113_html_af2e9df856672471d6d52245646b99ec1"><div·class="ttname"><a·href="a01113.html#af2e9df856672471d6d52245646b99ec1">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyLevel::IsVertexInfSharp</a></div><div·class="ttdeci">bool·IsVertexInfSharp(Index·v)·const</div><div·class="ttdoc">Return·if·the·vertex·is·infinitely-sharp.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00710_source.html#l00182">topologyLevel.h:182</a></div></div> |
330 | <div·class="ttc"·id="aa01113_html_afa663a1bb972ec104c8b842d9dc967a5"><div·class="ttname"><a·href="a01113.html#afa663a1bb972ec104c8b842d9dc967a5">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyLevel::GetNumFVarValues</a></div><div·class="ttdeci">int·GetNumFVarValues(int·channel=0)·const</div><div·class="ttdoc">Return·the·total·number·of·face-varying·values·in·a·particular·channel·(the·upper·bound·of·a·face-var...</div><div·class="ttdef"><b>Definition</b>·<a·href="a00710_source.html#l00234">topologyLevel.h:234</a></div></div> | 330 | <div·class="ttc"·id="aa01113_html_afa663a1bb972ec104c8b842d9dc967a5"><div·class="ttname"><a·href="a01113.html#afa663a1bb972ec104c8b842d9dc967a5">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyLevel::GetNumFVarValues</a></div><div·class="ttdeci">int·GetNumFVarValues(int·channel=0)·const</div><div·class="ttdoc">Return·the·total·number·of·face-varying·values·in·a·particular·channel·(the·upper·bound·of·a·face-var...</div><div·class="ttdef"><b>Definition</b>·<a·href="a00710_source.html#l00234">topologyLevel.h:234</a></div></div> |
331 | <div·class="ttc"·id="aa01113_html_afac250ff4bc31d95fd2300202fa0e083"><div·class="ttname"><a·href="a01113.html#afac250ff4bc31d95fd2300202fa0e083">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyLevel::GetVertexFaceLocalIndices</a></div><div·class="ttdeci">ConstLocalIndexArray·GetVertexFaceLocalIndices(Index·v)·const</div><div·class="ttdoc">Access·the·local·indices·of·a·vertex·with·respect·to·its·incident·faces.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00710_source.html#l00111">topologyLevel.h:111</a></div></div> | 331 | <div·class="ttc"·id="aa01113_html_afac250ff4bc31d95fd2300202fa0e083"><div·class="ttname"><a·href="a01113.html#afac250ff4bc31d95fd2300202fa0e083">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyLevel::GetVertexFaceLocalIndices</a></div><div·class="ttdeci">ConstLocalIndexArray·GetVertexFaceLocalIndices(Index·v)·const</div><div·class="ttdoc">Access·the·local·indices·of·a·vertex·with·respect·to·its·incident·faces.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00710_source.html#l00111">topologyLevel.h:111</a></div></div> |
332 | <div·class="ttc"·id="aa01121_html"><div·class="ttname"><a·href="a01121.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner</a></div><div·class="ttdoc">Stores·topology·data·for·a·specified·set·of·refinement·options.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00707_source.html#l00051">topologyRefiner.h:51</a></div></div> | 332 | <div·class="ttc"·id="aa01121_html"><div·class="ttname"><a·href="a01121.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner</a></div><div·class="ttdoc">Stores·topology·data·for·a·specified·set·of·refinement·options.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00707_source.html#l00051">topologyRefiner.h:51</a></div></div> |
333 | <div·class="ttc"·id="aa01333_html_a11fcd51ef86118f65e603c1474377a78"><div·class="ttname"><a·href="a01333.html#a11fcd51ef86118f65e603c1474377a78">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::Rule</a></div><div·class="ttdeci">Rule</div><div·class="ttdef"><b>Definition</b>·<a·href="a007 | 333 | <div·class="ttc"·id="aa01333_html_a11fcd51ef86118f65e603c1474377a78"><div·class="ttname"><a·href="a01333.html#a11fcd51ef86118f65e603c1474377a78">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::Rule</a></div><div·class="ttdeci">Rule</div><div·class="ttdef"><b>Definition</b>·<a·href="a00779_source.html#l00082">crease.h:82</a></div></div> |
334 | <div·class="ttc"·id="aa01353_html"><div·class="ttname"><a·href="a01353.html">OpenSubdiv::OPENSUBDIV_VERSION::Vtr::ConstArray</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00767_source.html#l00053">array.h:53</a></div></div> | 334 | <div·class="ttc"·id="aa01353_html"><div·class="ttname"><a·href="a01353.html">OpenSubdiv::OPENSUBDIV_VERSION::Vtr::ConstArray</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00767_source.html#l00053">array.h:53</a></div></div> |
335 | </div><!--·fragment·--></div><!--·contents·--> | 335 | </div><!--·fragment·--></div><!--·contents·--> |
336 | </div><!--·doc-content·--> | 336 | </div><!--·doc-content·--> |
337 | <!--·start·footer·part·--> | 337 | <!--·start·footer·part·--> |
338 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 338 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
339 | ··<ul> | 339 | ··<ul> |
340 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_7f420b72a822828cfa8b0561c695a5cc.html">far</a></li><li·class="navelem"><a·class="el"·href="a00710.html">topologyLevel.h</a></li> | 340 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_7f420b72a822828cfa8b0561c695a5cc.html">far</a></li><li·class="navelem"><a·class="el"·href="a00710.html">topologyLevel.h</a></li> |
Offset 94, 15 lines modified | Offset 94, 15 lines modified | ||
94 | ··<div·class="summary"> | 94 | ··<div·class="summary"> |
95 | <a·href="#nested-classes">Classes</a>·| | 95 | <a·href="#nested-classes">Classes</a>·| |
96 | <a·href="#namespaces">Namespaces</a>··</div> | 96 | <a·href="#namespaces">Namespaces</a>··</div> |
97 | ··<div·class="headertitle"><div·class="title">stencilTableFactory.h·File·Reference</div></div> | 97 | ··<div·class="headertitle"><div·class="title">stencilTableFactory.h·File·Reference</div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 100 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
101 | <code>#include·"<a·class="el"·href="a0073 | 101 | <code>#include·"<a·class="el"·href="a00731_source.html">../far/patchTable.h</a>"</code><br·/> |
102 | <code>#include·<vector></code><br·/> | 102 | <code>#include·<vector></code><br·/> |
103 | </div> | 103 | </div> |
104 | <p><a·href="a00716_source.html">Go·to·the·source·code·of·this·file.</a></p> | 104 | <p><a·href="a00716_source.html">Go·to·the·source·code·of·this·file.</a></p> |
105 | <table·class="memberdecls"> | 105 | <table·class="memberdecls"> |
106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
107 | Classes</h2></td></tr> | 107 | Classes</h2></td></tr> |
108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01045.html">StencilTableFactoryReal<·REAL·></a></td></tr> | 108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01045.html">StencilTableFactoryReal<·REAL·></a></td></tr> |
Offset 404, 15 lines modified | Offset 404, 15 lines modified | ||
404 | <div·class="line"><a·id="l00379"·name="l00379"></a><span·class="lineno">··379</span>}·<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> | 404 | <div·class="line"><a·id="l00379"·name="l00379"></a><span·class="lineno">··379</span>}·<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> |
405 | <div·class="line"><a·id="l00380"·name="l00380"></a><span·class="lineno">··380</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> | 405 | <div·class="line"><a·id="l00380"·name="l00380"></a><span·class="lineno">··380</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> |
406 | <div·class="line"><a·id="l00381"·name="l00381"></a><span·class="lineno">··381</span>·</div> | 406 | <div·class="line"><a·id="l00381"·name="l00381"></a><span·class="lineno">··381</span>·</div> |
407 | <div·class="line"><a·id="l00382"·name="l00382"></a><span·class="lineno">··382</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div> | 407 | <div·class="line"><a·id="l00382"·name="l00382"></a><span·class="lineno">··382</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div> |
408 | <div·class="line"><a·id="l00383"·name="l00383"></a><span·class="lineno">··383</span>·</div> | 408 | <div·class="line"><a·id="l00383"·name="l00383"></a><span·class="lineno">··383</span>·</div> |
409 | <div·class="line"><a·id="l00384"·name="l00384"></a><span·class="lineno">··384</span><span·class="preprocessor">#endif·</span><span·class="comment">//·OPENSUBDIV3_FAR_STENCILTABLE_FACTORY_H</span></div> | 409 | <div·class="line"><a·id="l00384"·name="l00384"></a><span·class="lineno">··384</span><span·class="preprocessor">#endif·</span><span·class="comment">//·OPENSUBDIV3_FAR_STENCILTABLE_FACTORY_H</span></div> |
410 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> | 410 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> |
411 | <div·class="ttc"·id="aa00993_html"><div·class="ttname"><a·href="a00993.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable</a></div><div·class="ttdoc">Container·for·arrays·of·parametric·patches.</div><div·class="ttdef"><b>Definition</b>·<a·href="a0073 | 411 | <div·class="ttc"·id="aa00993_html"><div·class="ttname"><a·href="a00993.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable</a></div><div·class="ttdoc">Container·for·arrays·of·parametric·patches.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00731_source.html#l00055">patchTable.h:55</a></div></div> |
412 | <div·class="ttc"·id="aa01045_html"><div·class="ttname"><a·href="a01045.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal</a></div><div·class="ttdoc">A·specialized·factory·for·StencilTable.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00716_source.html#l00051">stencilTableFactory.h:51</a></div></div> | 412 | <div·class="ttc"·id="aa01045_html"><div·class="ttname"><a·href="a01045.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal</a></div><div·class="ttdoc">A·specialized·factory·for·StencilTable.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00716_source.html#l00051">stencilTableFactory.h:51</a></div></div> |
413 | <div·class="ttc"·id="aa01045_html_a0f706293d0b11df8ec9d06ce7e4b6bb2"><div·class="ttname"><a·href="a01045.html#a0f706293d0b11df8ec9d06ce7e4b6bb2">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal::Create</a></div><div·class="ttdeci">static·StencilTableReal<·REAL·>·const·*·Create(TopologyRefiner·const·&refiner,·Options·options=Options())</div><div·class="ttdoc">Instantiates·StencilTable·from·TopologyRefiner·that·have·been·refined·uniformly·or·adaptively.</div></div> | 413 | <div·class="ttc"·id="aa01045_html_a0f706293d0b11df8ec9d06ce7e4b6bb2"><div·class="ttname"><a·href="a01045.html#a0f706293d0b11df8ec9d06ce7e4b6bb2">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal::Create</a></div><div·class="ttdeci">static·StencilTableReal<·REAL·>·const·*·Create(TopologyRefiner·const·&refiner,·Options·options=Options())</div><div·class="ttdoc">Instantiates·StencilTable·from·TopologyRefiner·that·have·been·refined·uniformly·or·adaptively.</div></div> |
414 | <div·class="ttc"·id="aa01045_html_a33b8f611576b3e0907832e571e4844f5"><div·class="ttname"><a·href="a01045.html#a33b8f611576b3e0907832e571e4844f5">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal::AppendLocalPointStencilTableFaceVarying</a></div><div·class="ttdeci">static·StencilTableReal<·REAL·>·const·*·AppendLocalPointStencilTableFaceVarying(TopologyRefiner·const·&refiner,·StencilTableReal<·REAL·>·const·*baseStencilTable,·StencilTableReal<·REAL·>·const·*localPointStencilTable,·int·channel=0,·bool·factorize=true)</div><div·class="ttdoc">Utility·function·for·stencil·splicing·for·local·point·face-varying·stencils.</div></div> | 414 | <div·class="ttc"·id="aa01045_html_a33b8f611576b3e0907832e571e4844f5"><div·class="ttname"><a·href="a01045.html#a33b8f611576b3e0907832e571e4844f5">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal::AppendLocalPointStencilTableFaceVarying</a></div><div·class="ttdeci">static·StencilTableReal<·REAL·>·const·*·AppendLocalPointStencilTableFaceVarying(TopologyRefiner·const·&refiner,·StencilTableReal<·REAL·>·const·*baseStencilTable,·StencilTableReal<·REAL·>·const·*localPointStencilTable,·int·channel=0,·bool·factorize=true)</div><div·class="ttdoc">Utility·function·for·stencil·splicing·for·local·point·face-varying·stencils.</div></div> |
415 | <div·class="ttc"·id="aa01045_html_a46c8a310cf4c094f8c80e1cb8dc1f911"><div·class="ttname"><a·href="a01045.html#a46c8a310cf4c094f8c80e1cb8dc1f911">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal::Mode</a></div><div·class="ttdeci">Mode</div><div·class="ttdef"><b>Definition</b>·<a·href="a00716_source.html#l00055">stencilTableFactory.h:55</a></div></div> | 415 | <div·class="ttc"·id="aa01045_html_a46c8a310cf4c094f8c80e1cb8dc1f911"><div·class="ttname"><a·href="a01045.html#a46c8a310cf4c094f8c80e1cb8dc1f911">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal::Mode</a></div><div·class="ttdeci">Mode</div><div·class="ttdef"><b>Definition</b>·<a·href="a00716_source.html#l00055">stencilTableFactory.h:55</a></div></div> |
416 | <div·class="ttc"·id="aa01045_html_a46c8a310cf4c094f8c80e1cb8dc1f911a4178369e390d2596ce60676642fec077"><div·class="ttname"><a·href="a01045.html#a46c8a310cf4c094f8c80e1cb8dc1f911a4178369e390d2596ce60676642fec077">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal::INTERPOLATE_FACE_VARYING</a></div><div·class="ttdeci">@·INTERPOLATE_FACE_VARYING</div><div·class="ttdoc">face-varying·primvar·stencils</div><div·class="ttdef"><b>Definition</b>·<a·href="a00716_source.html#l00059">stencilTableFactory.h:58</a></div></div> | 416 | <div·class="ttc"·id="aa01045_html_a46c8a310cf4c094f8c80e1cb8dc1f911a4178369e390d2596ce60676642fec077"><div·class="ttname"><a·href="a01045.html#a46c8a310cf4c094f8c80e1cb8dc1f911a4178369e390d2596ce60676642fec077">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal::INTERPOLATE_FACE_VARYING</a></div><div·class="ttdeci">@·INTERPOLATE_FACE_VARYING</div><div·class="ttdoc">face-varying·primvar·stencils</div><div·class="ttdef"><b>Definition</b>·<a·href="a00716_source.html#l00059">stencilTableFactory.h:58</a></div></div> |
417 | <div·class="ttc"·id="aa01045_html_a46c8a310cf4c094f8c80e1cb8dc1f911ab18c20abfc04611ab0aec5e1c81bb2ab"><div·class="ttname"><a·href="a01045.html#a46c8a310cf4c094f8c80e1cb8dc1f911ab18c20abfc04611ab0aec5e1c81bb2ab">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal::INTERPOLATE_VARYING</a></div><div·class="ttdeci">@·INTERPOLATE_VARYING</div><div·class="ttdoc">varying·primvar·stencils</div><div·class="ttdef"><b>Definition</b>·<a·href="a00716_source.html#l00057">stencilTableFactory.h:57</a></div></div> | 417 | <div·class="ttc"·id="aa01045_html_a46c8a310cf4c094f8c80e1cb8dc1f911ab18c20abfc04611ab0aec5e1c81bb2ab"><div·class="ttname"><a·href="a01045.html#a46c8a310cf4c094f8c80e1cb8dc1f911ab18c20abfc04611ab0aec5e1c81bb2ab">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal::INTERPOLATE_VARYING</a></div><div·class="ttdeci">@·INTERPOLATE_VARYING</div><div·class="ttdoc">varying·primvar·stencils</div><div·class="ttdef"><b>Definition</b>·<a·href="a00716_source.html#l00057">stencilTableFactory.h:57</a></div></div> |
418 | <div·class="ttc"·id="aa01045_html_a46c8a310cf4c094f8c80e1cb8dc1f911ab491ed84aea170a330914a3f88b16d50"><div·class="ttname"><a·href="a01045.html#a46c8a310cf4c094f8c80e1cb8dc1f911ab491ed84aea170a330914a3f88b16d50">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal::INTERPOLATE_VERTEX</a></div><div·class="ttdeci">@·INTERPOLATE_VERTEX</div><div·class="ttdoc">vertex·primvar·stencils</div><div·class="ttdef"><b>Definition</b>·<a·href="a00716_source.html#l00056">stencilTableFactory.h:56</a></div></div> | 418 | <div·class="ttc"·id="aa01045_html_a46c8a310cf4c094f8c80e1cb8dc1f911ab491ed84aea170a330914a3f88b16d50"><div·class="ttname"><a·href="a01045.html#a46c8a310cf4c094f8c80e1cb8dc1f911ab491ed84aea170a330914a3f88b16d50">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal::INTERPOLATE_VERTEX</a></div><div·class="ttdeci">@·INTERPOLATE_VERTEX</div><div·class="ttdoc">vertex·primvar·stencils</div><div·class="ttdef"><b>Definition</b>·<a·href="a00716_source.html#l00056">stencilTableFactory.h:56</a></div></div> |
Offset 97, 20 lines modified | Offset 97, 20 lines modified | ||
97 | ··<div·class="headertitle"><div·class="title">primvarRefiner.h·File·Reference</div></div> | 97 | ··<div·class="headertitle"><div·class="title">primvarRefiner.h·File·Reference</div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 100 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
101 | <code>#include·"<a·class="el"·href="a01492_source.html">../sdc/types.h</a>"</code><br·/> | 101 | <code>#include·"<a·class="el"·href="a01492_source.html">../sdc/types.h</a>"</code><br·/> |
102 | <code>#include·"<a·class="el"·href="a00773_source.html">../sdc/options.h</a>"</code><br·/> | 102 | <code>#include·"<a·class="el"·href="a00773_source.html">../sdc/options.h</a>"</code><br·/> |
103 | <code>#include·"<a·class="el"·href="a00785_source.html">../sdc/bilinearScheme.h</a>"</code><br·/> | 103 | <code>#include·"<a·class="el"·href="a00785_source.html">../sdc/bilinearScheme.h</a>"</code><br·/> |
104 | <code>#include·"<a·class="el"·href="a007 | 104 | <code>#include·"<a·class="el"·href="a00782_source.html">../sdc/catmarkScheme.h</a>"</code><br·/> |
105 | <code>#include·"<a·class="el"·href="a00776_source.html">../sdc/loopScheme.h</a>"</code><br·/> | 105 | <code>#include·"<a·class="el"·href="a00776_source.html">../sdc/loopScheme.h</a>"</code><br·/> |
106 | <code>#include·"<a·class="el"·href="a0075 | 106 | <code>#include·"<a·class="el"·href="a00755_source.html">../vtr/level.h</a>"</code><br·/> |
107 | <code>#include·"<a·class="el"·href="a00761_source.html">../vtr/fvarLevel.h</a>"</code><br·/> | 107 | <code>#include·"<a·class="el"·href="a00761_source.html">../vtr/fvarLevel.h</a>"</code><br·/> |
108 | <code>#include·"<a·class="el"·href="a007 | 108 | <code>#include·"<a·class="el"·href="a00749_source.html">../vtr/refinement.h</a>"</code><br·/> |
109 | <code>#include·"<a·class="el"·href="a0075 | 109 | <code>#include·"<a·class="el"·href="a00758_source.html">../vtr/fvarRefinement.h</a>"</code><br·/> |
110 | <code>#include·"<a·class="el"·href="a00746_source.html">../vtr/stackBuffer.h</a>"</code><br·/> | 110 | <code>#include·"<a·class="el"·href="a00746_source.html">../vtr/stackBuffer.h</a>"</code><br·/> |
111 | <code>#include·"<a·class="el"·href="a00764_source.html">../vtr/componentInterfaces.h</a>"</code><br·/> | 111 | <code>#include·"<a·class="el"·href="a00764_source.html">../vtr/componentInterfaces.h</a>"</code><br·/> |
112 | <code>#include·"<a·class="el"·href="a01486_source.html">../far/types.h</a>"</code><br·/> | 112 | <code>#include·"<a·class="el"·href="a01486_source.html">../far/types.h</a>"</code><br·/> |
113 | <code>#include·"<a·class="el"·href="a00743_source.html">../far/error.h</a>"</code><br·/> | 113 | <code>#include·"<a·class="el"·href="a00743_source.html">../far/error.h</a>"</code><br·/> |
114 | <code>#include·"<a·class="el"·href="a00710_source.html">../far/topologyLevel.h</a>"</code><br·/> | 114 | <code>#include·"<a·class="el"·href="a00710_source.html">../far/topologyLevel.h</a>"</code><br·/> |
115 | <code>#include·"<a·class="el"·href="a00707_source.html">../far/topologyRefiner.h</a>"</code><br·/> | 115 | <code>#include·"<a·class="el"·href="a00707_source.html">../far/topologyRefiner.h</a>"</code><br·/> |
116 | <code>#include·<cassert></code><br·/> | 116 | <code>#include·<cassert></code><br·/> |
Offset 1328, 16 lines modified | Offset 1328, 16 lines modified | ||
1328 | <div·class="ttc"·id="aa01029_html_ab97b75b7c0fffa06a5948bd6ba7b420d"><div·class="ttname"><a·href="a01029.html#ab97b75b7c0fffa06a5948bd6ba7b420d">OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefinerReal::Interpolate</a></div><div·class="ttdeci">void·Interpolate(int·level,·T·const·&src,·U·&dst)·const</div><div·class="ttdoc">Apply·vertex·interpolation·weights·to·a·primvar·buffer·for·a·single·level·of·refinement.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00725_source.html#l00267">primvarRefiner.h:267</a></div></div> | 1328 | <div·class="ttc"·id="aa01029_html_ab97b75b7c0fffa06a5948bd6ba7b420d"><div·class="ttname"><a·href="a01029.html#ab97b75b7c0fffa06a5948bd6ba7b420d">OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefinerReal::Interpolate</a></div><div·class="ttdeci">void·Interpolate(int·level,·T·const·&src,·U·&dst)·const</div><div·class="ttdoc">Apply·vertex·interpolation·weights·to·a·primvar·buffer·for·a·single·level·of·refinement.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00725_source.html#l00267">primvarRefiner.h:267</a></div></div> |
1329 | <div·class="ttc"·id="aa01029_html_ad8f74e1887299ed02e0094100f18c998"><div·class="ttname"><a·href="a01029.html#ad8f74e1887299ed02e0094100f18c998">OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefinerReal::InterpolateFaceVarying</a></div><div·class="ttdeci">void·InterpolateFaceVarying(int·level,·T·const·&src,·U·&dst,·int·channel=0)·const</div><div·class="ttdoc">Apply·face-varying·interpolation·weights·to·a·primvar·buffer·associated·with·a·particular·face-varyin...</div><div·class="ttdef"><b>Definition</b>·<a·href="a00725_source.html#l00293">primvarRefiner.h:293</a></div></div> | 1329 | <div·class="ttc"·id="aa01029_html_ad8f74e1887299ed02e0094100f18c998"><div·class="ttname"><a·href="a01029.html#ad8f74e1887299ed02e0094100f18c998">OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefinerReal::InterpolateFaceVarying</a></div><div·class="ttdeci">void·InterpolateFaceVarying(int·level,·T·const·&src,·U·&dst,·int·channel=0)·const</div><div·class="ttdoc">Apply·face-varying·interpolation·weights·to·a·primvar·buffer·associated·with·a·particular·face-varyin...</div><div·class="ttdef"><b>Definition</b>·<a·href="a00725_source.html#l00293">primvarRefiner.h:293</a></div></div> |
1330 | <div·class="ttc"·id="aa01029_html_ade7a1750cdc922e27c561520815d8b27"><div·class="ttname"><a·href="a01029.html#ade7a1750cdc922e27c561520815d8b27">OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefinerReal::~PrimvarRefinerReal</a></div><div·class="ttdeci">~PrimvarRefinerReal()</div><div·class="ttdef"><b>Definition</b>·<a·href="a00725_source.html#l00060">primvarRefiner.h:60</a></div></div> | 1330 | <div·class="ttc"·id="aa01029_html_ade7a1750cdc922e27c561520815d8b27"><div·class="ttname"><a·href="a01029.html#ade7a1750cdc922e27c561520815d8b27">OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefinerReal::~PrimvarRefinerReal</a></div><div·class="ttdeci">~PrimvarRefinerReal()</div><div·class="ttdef"><b>Definition</b>·<a·href="a00725_source.html#l00060">primvarRefiner.h:60</a></div></div> |
1331 | <div·class="ttc"·id="aa01029_html_afdee0e9e9c6edd34c96892efff808a87"><div·class="ttname"><a·href="a01029.html#afdee0e9e9c6edd34c96892efff808a87">OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefinerReal::LimitFaceVarying</a></div><div·class="ttdeci">void·LimitFaceVarying(T·const·&src,·U·&dst,·int·channel=0)·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00725_source.html#l00369">primvarRefiner.h:369</a></div></div> | 1331 | <div·class="ttc"·id="aa01029_html_afdee0e9e9c6edd34c96892efff808a87"><div·class="ttname"><a·href="a01029.html#afdee0e9e9c6edd34c96892efff808a87">OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefinerReal::LimitFaceVarying</a></div><div·class="ttdeci">void·LimitFaceVarying(T·const·&src,·U·&dst,·int·channel=0)·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00725_source.html#l00369">primvarRefiner.h:369</a></div></div> |
1332 | <div·class="ttc"·id="aa01037_html"><div·class="ttname"><a·href="a01037.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefiner</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00725_source.html#l01265">primvarRefiner.h:1265</a></div></div> | 1332 | <div·class="ttc"·id="aa01037_html"><div·class="ttname"><a·href="a01037.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefiner</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00725_source.html#l01265">primvarRefiner.h:1265</a></div></div> |
1333 | <div·class="ttc"·id="aa01037_html_a643d81a2ae20ba1897433f5af5a3697a"><div·class="ttname"><a·href="a01037.html#a643d81a2ae20ba1897433f5af5a3697a">OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefiner::PrimvarRefiner</a></div><div·class="ttdeci">PrimvarRefiner(TopologyRefiner·const·&refiner)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00725_source.html#l01267">primvarRefiner.h:1267</a></div></div> | 1333 | <div·class="ttc"·id="aa01037_html_a643d81a2ae20ba1897433f5af5a3697a"><div·class="ttname"><a·href="a01037.html#a643d81a2ae20ba1897433f5af5a3697a">OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefiner::PrimvarRefiner</a></div><div·class="ttdeci">PrimvarRefiner(TopologyRefiner·const·&refiner)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00725_source.html#l01267">primvarRefiner.h:1267</a></div></div> |
1334 | <div·class="ttc"·id="aa01121_html"><div·class="ttname"><a·href="a01121.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner</a></div><div·class="ttdoc">Stores·topology·data·for·a·specified·set·of·refinement·options.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00707_source.html#l00051">topologyRefiner.h:51</a></div></div> | 1334 | <div·class="ttc"·id="aa01121_html"><div·class="ttname"><a·href="a01121.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner</a></div><div·class="ttdoc">Stores·topology·data·for·a·specified·set·of·refinement·options.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00707_source.html#l00051">topologyRefiner.h:51</a></div></div> |
1335 | <div·class="ttc"·id="aa01333_html_a11fcd51ef86118f65e603c1474377a78"><div·class="ttname"><a·href="a01333.html#a11fcd51ef86118f65e603c1474377a78">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::Rule</a></div><div·class="ttdeci">Rule</div><div·class="ttdef"><b>Definition</b>·<a·href="a007 | 1335 | <div·class="ttc"·id="aa01333_html_a11fcd51ef86118f65e603c1474377a78"><div·class="ttname"><a·href="a01333.html#a11fcd51ef86118f65e603c1474377a78">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::Rule</a></div><div·class="ttdeci">Rule</div><div·class="ttdef"><b>Definition</b>·<a·href="a00779_source.html#l00082">crease.h:82</a></div></div> |
1336 | <div·class="ttc"·id="aa01333_html_a11fcd51ef86118f65e603c1474377a78a966fa1ae8aeb8587c498cf6a92cc3335"><div·class="ttname"><a·href="a01333.html#a11fcd51ef86118f65e603c1474377a78a966fa1ae8aeb8587c498cf6a92cc3335">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::RULE_CREASE</a></div><div·class="ttdeci">@·RULE_CREASE</div><div·class="ttdef"><b>Definition</b>·<a·href="a007 | 1336 | <div·class="ttc"·id="aa01333_html_a11fcd51ef86118f65e603c1474377a78a966fa1ae8aeb8587c498cf6a92cc3335"><div·class="ttname"><a·href="a01333.html#a11fcd51ef86118f65e603c1474377a78a966fa1ae8aeb8587c498cf6a92cc3335">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::RULE_CREASE</a></div><div·class="ttdeci">@·RULE_CREASE</div><div·class="ttdef"><b>Definition</b>·<a·href="a00779_source.html#l00086">crease.h:86</a></div></div> |
1337 | <div·class="ttc"·id="aa01341_html"><div·class="ttname"><a·href="a01341.html">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme</a></div><div·class="ttdoc">Scheme·is·a·class·template·which·provides·all·implementation·for·the·subdivision·schemes·supported·by...</div><div·class="ttdef"><b>Definition</b>·<a·href="a00770_source.html#l00066">scheme.h:66</a></div></div> | 1337 | <div·class="ttc"·id="aa01341_html"><div·class="ttname"><a·href="a01341.html">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme</a></div><div·class="ttdoc">Scheme·is·a·class·template·which·provides·all·implementation·for·the·subdivision·schemes·supported·by...</div><div·class="ttdef"><b>Definition</b>·<a·href="a00770_source.html#l00066">scheme.h:66</a></div></div> |
1338 | <div·class="ttc"·id="aa01353_html"><div·class="ttname"><a·href="a01353.html">OpenSubdiv::OPENSUBDIV_VERSION::Vtr::ConstArray</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00767_source.html#l00053">array.h:53</a></div></div> | 1338 | <div·class="ttc"·id="aa01353_html"><div·class="ttname"><a·href="a01353.html">OpenSubdiv::OPENSUBDIV_VERSION::Vtr::ConstArray</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00767_source.html#l00053">array.h:53</a></div></div> |
1339 | <div·class="ttc"·id="aa01353_html_a60304b65bf89363bcc3165d3cde67f86"><div·class="ttname"><a·href="a01353.html#a60304b65bf89363bcc3165d3cde67f86">OpenSubdiv::OPENSUBDIV_VERSION::Vtr::ConstArray::size</a></div><div·class="ttdeci">size_type·size()·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00767_source.html#l00072">array.h:72</a></div></div> | 1339 | <div·class="ttc"·id="aa01353_html_a60304b65bf89363bcc3165d3cde67f86"><div·class="ttname"><a·href="a01353.html#a60304b65bf89363bcc3165d3cde67f86">OpenSubdiv::OPENSUBDIV_VERSION::Vtr::ConstArray::size</a></div><div·class="ttdeci">size_type·size()·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00767_source.html#l00072">array.h:72</a></div></div> |
1340 | </div><!--·fragment·--></div><!--·contents·--> | 1340 | </div><!--·fragment·--></div><!--·contents·--> |
1341 | </div><!--·doc-content·--> | 1341 | </div><!--·doc-content·--> |
1342 | <!--·start·footer·part·--> | 1342 | <!--·start·footer·part·--> |
1343 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 1343 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
Offset 95, 15 lines modified | Offset 95, 15 lines modified | ||
95 | <a·href="#nested-classes">Classes</a>·| | 95 | <a·href="#nested-classes">Classes</a>·| |
96 | <a·href="#namespaces">Namespaces</a>··</div> | 96 | <a·href="#namespaces">Namespaces</a>··</div> |
97 | ··<div·class="headertitle"><div·class="title">patchTableFactory.h·File·Reference</div></div> | 97 | ··<div·class="headertitle"><div·class="title">patchTableFactory.h·File·Reference</div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 100 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
101 | <code>#include·"<a·class="el"·href="a00707_source.html">../far/topologyRefiner.h</a>"</code><br·/> | 101 | <code>#include·"<a·class="el"·href="a00707_source.html">../far/topologyRefiner.h</a>"</code><br·/> |
102 | <code>#include·"<a·class="el"·href="a0073 | 102 | <code>#include·"<a·class="el"·href="a00731_source.html">../far/patchTable.h</a>"</code><br·/> |
103 | </div> | 103 | </div> |
104 | <p><a·href="a00728_source.html">Go·to·the·source·code·of·this·file.</a></p> | 104 | <p><a·href="a00728_source.html">Go·to·the·source·code·of·this·file.</a></p> |
105 | <table·class="memberdecls"> | 105 | <table·class="memberdecls"> |
106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
107 | Classes</h2></td></tr> | 107 | Classes</h2></td></tr> |
108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01017.html">PatchTableFactory</a></td></tr> | 108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01017.html">PatchTableFactory</a></td></tr> |
109 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Factory·for·constructing·a·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">PatchTable</a>·from·a·<a·class="el"·href="a01121.html"·title="Stores·topology·data·for·a·specified·set·of·refinement·options.">TopologyRefiner</a>.··<a·href="a01017.html#details">More...</a><br·/></td></tr> | 109 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Factory·for·constructing·a·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">PatchTable</a>·from·a·<a·class="el"·href="a01121.html"·title="Stores·topology·data·for·a·specified·set·of·refinement·options.">TopologyRefiner</a>.··<a·href="a01017.html#details">More...</a><br·/></td></tr> |
Offset 295, 15 lines modified | Offset 295, 15 lines modified | ||
295 | <div·class="line"><a·id="l00231"·name="l00231"></a><span·class="lineno">··231</span>·</div> | 295 | <div·class="line"><a·id="l00231"·name="l00231"></a><span·class="lineno">··231</span>·</div> |
296 | <div·class="line"><a·id="l00232"·name="l00232"></a><span·class="lineno">··232</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div> | 296 | <div·class="line"><a·id="l00232"·name="l00232"></a><span·class="lineno">··232</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div> |
297 | <div·class="line"><a·id="l00233"·name="l00233"></a><span·class="lineno">··233</span>·</div> | 297 | <div·class="line"><a·id="l00233"·name="l00233"></a><span·class="lineno">··233</span>·</div> |
298 | <div·class="line"><a·id="l00234"·name="l00234"></a><span·class="lineno">··234</span>·</div> | 298 | <div·class="line"><a·id="l00234"·name="l00234"></a><span·class="lineno">··234</span>·</div> |
299 | <div·class="line"><a·id="l00235"·name="l00235"></a><span·class="lineno">··235</span><span·class="preprocessor">#endif·</span><span·class="comment">/*·OPENSUBDIV3_FAR_PATCH_TABLE_FACTORY_H·*/</span><span·class="preprocessor"></span></div> | 299 | <div·class="line"><a·id="l00235"·name="l00235"></a><span·class="lineno">··235</span><span·class="preprocessor">#endif·</span><span·class="comment">/*·OPENSUBDIV3_FAR_PATCH_TABLE_FACTORY_H·*/</span><span·class="preprocessor"></span></div> |
300 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> | 300 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> |
301 | <div·class="ttc"·id="aa00908_html_a35788aa710e3f7e277e5f0b008d76d61"><div·class="ttname"><a·href="a00908.html#a35788aa710e3f7e277e5f0b008d76d61">OpenSubdiv::OPENSUBDIV_VERSION::Far::ConstIndexArray</a></div><div·class="ttdeci">Vtr::ConstIndexArray·ConstIndexArray</div><div·class="ttdef"><b>Definition</b>·<a·href="a01486_source.html#l00047">types.h:47</a></div></div> | 301 | <div·class="ttc"·id="aa00908_html_a35788aa710e3f7e277e5f0b008d76d61"><div·class="ttname"><a·href="a00908.html#a35788aa710e3f7e277e5f0b008d76d61">OpenSubdiv::OPENSUBDIV_VERSION::Far::ConstIndexArray</a></div><div·class="ttdeci">Vtr::ConstIndexArray·ConstIndexArray</div><div·class="ttdef"><b>Definition</b>·<a·href="a01486_source.html#l00047">types.h:47</a></div></div> |
302 | <div·class="ttc"·id="aa00993_html"><div·class="ttname"><a·href="a00993.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable</a></div><div·class="ttdoc">Container·for·arrays·of·parametric·patches.</div><div·class="ttdef"><b>Definition</b>·<a·href="a0073 | 302 | <div·class="ttc"·id="aa00993_html"><div·class="ttname"><a·href="a00993.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable</a></div><div·class="ttdoc">Container·for·arrays·of·parametric·patches.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00731_source.html#l00055">patchTable.h:55</a></div></div> |
303 | <div·class="ttc"·id="aa01017_html"><div·class="ttname"><a·href="a01017.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory</a></div><div·class="ttdoc">Factory·for·constructing·a·PatchTable·from·a·TopologyRefiner.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00728_source.html#l00040">patchTableFactory.h:40</a></div></div> | 303 | <div·class="ttc"·id="aa01017_html"><div·class="ttname"><a·href="a01017.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory</a></div><div·class="ttdoc">Factory·for·constructing·a·PatchTable·from·a·TopologyRefiner.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00728_source.html#l00040">patchTableFactory.h:40</a></div></div> |
304 | <div·class="ttc"·id="aa01017_html_a37218ea13f75caee4c93cc4e94d26060"><div·class="ttname"><a·href="a01017.html#a37218ea13f75caee4c93cc4e94d26060">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::PatchTagVector</a></div><div·class="ttdeci">std::vector<·PatchFaceTag·>·PatchTagVector</div><div·class="ttdef"><b>Definition</b>·<a·href="a00728_source.html#l00208">patchTableFactory.h:208</a></div></div> | 304 | <div·class="ttc"·id="aa01017_html_a37218ea13f75caee4c93cc4e94d26060"><div·class="ttname"><a·href="a01017.html#a37218ea13f75caee4c93cc4e94d26060">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::PatchTagVector</a></div><div·class="ttdeci">std::vector<·PatchFaceTag·>·PatchTagVector</div><div·class="ttdef"><b>Definition</b>·<a·href="a00728_source.html#l00208">patchTableFactory.h:208</a></div></div> |
305 | <div·class="ttc"·id="aa01017_html_a6ad8881e91652a8fe4d68d18ac16a435"><div·class="ttname"><a·href="a01017.html#a6ad8881e91652a8fe4d68d18ac16a435">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Create</a></div><div·class="ttdeci">static·PatchTable·*·Create(TopologyRefiner·const·&refiner,·Options·options=Options(),·ConstIndexArray·selectedFaces=ConstIndexArray())</div><div·class="ttdoc">Instantiates·a·PatchTable·from·a·client-provided·TopologyRefiner.</div></div> | 305 | <div·class="ttc"·id="aa01017_html_a6ad8881e91652a8fe4d68d18ac16a435"><div·class="ttname"><a·href="a01017.html#a6ad8881e91652a8fe4d68d18ac16a435">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Create</a></div><div·class="ttdeci">static·PatchTable·*·Create(TopologyRefiner·const·&refiner,·Options·options=Options(),·ConstIndexArray·selectedFaces=ConstIndexArray())</div><div·class="ttdoc">Instantiates·a·PatchTable·from·a·client-provided·TopologyRefiner.</div></div> |
306 | <div·class="ttc"·id="aa01021_html"><div·class="ttname"><a·href="a01021.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options</a></div><div·class="ttdoc">Public·options·for·the·PatchTable·factory.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00728_source.html#l00045">patchTableFactory.h:45</a></div></div> | 306 | <div·class="ttc"·id="aa01021_html"><div·class="ttname"><a·href="a01021.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options</a></div><div·class="ttdoc">Public·options·for·the·PatchTable·factory.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00728_source.html#l00045">patchTableFactory.h:45</a></div></div> |
307 | <div·class="ttc"·id="aa01021_html_a039b27c797bb2b4be4af66798787081e"><div·class="ttname"><a·href="a01021.html#a039b27c797bb2b4be4af66798787081e">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options::generateVaryingTables</a></div><div·class="ttdeci">unsigned·int·generateVaryingTables</div><div·class="ttdoc">Generate·varying·patch·tables.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00728_source.html#l00125">patchTableFactory.h:125</a></div></div> | 307 | <div·class="ttc"·id="aa01021_html_a039b27c797bb2b4be4af66798787081e"><div·class="ttname"><a·href="a01021.html#a039b27c797bb2b4be4af66798787081e">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options::generateVaryingTables</a></div><div·class="ttdeci">unsigned·int·generateVaryingTables</div><div·class="ttdoc">Generate·varying·patch·tables.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00728_source.html#l00125">patchTableFactory.h:125</a></div></div> |
308 | <div·class="ttc"·id="aa01021_html_a0fe3eeef4b5b332c7747a940db43cd8d"><div·class="ttname"><a·href="a01021.html#a0fe3eeef4b5b332c7747a940db43cd8d">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options::generateLegacySharpCornerPatches</a></div><div·class="ttdeci">unsigned·int·generateLegacySharpCornerPatches</div><div·class="ttdoc">Generate·sharp·regular·patches·at·smooth·corners·(legacy)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00728_source.html#l00137">patchTableFactory.h:137</a></div></div> | 308 | <div·class="ttc"·id="aa01021_html_a0fe3eeef4b5b332c7747a940db43cd8d"><div·class="ttname"><a·href="a01021.html#a0fe3eeef4b5b332c7747a940db43cd8d">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options::generateLegacySharpCornerPatches</a></div><div·class="ttdeci">unsigned·int·generateLegacySharpCornerPatches</div><div·class="ttdoc">Generate·sharp·regular·patches·at·smooth·corners·(legacy)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00728_source.html#l00137">patchTableFactory.h:137</a></div></div> |
309 | <div·class="ttc"·id="aa01021_html_a113fa8ce12150940afe0215c702cc89d"><div·class="ttname"><a·href="a01021.html#a113fa8ce12150940afe0215c702cc89d">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options::shareEndCapPatchPoints</a></div><div·class="ttdeci">unsigned·int·shareEndCapPatchPoints</div><div·class="ttdef"><b>Definition</b>·<a·href="a00728_source.html#l00121">patchTableFactory.h:122</a></div></div> | 309 | <div·class="ttc"·id="aa01021_html_a113fa8ce12150940afe0215c702cc89d"><div·class="ttname"><a·href="a01021.html#a113fa8ce12150940afe0215c702cc89d">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options::shareEndCapPatchPoints</a></div><div·class="ttdeci">unsigned·int·shareEndCapPatchPoints</div><div·class="ttdef"><b>Definition</b>·<a·href="a00728_source.html#l00121">patchTableFactory.h:122</a></div></div> |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/far/patch | 8 | <title>OpenSubdiv:·opensubdiv/far/patchTable.h·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 90, 29 lines modified | Offset 90, 33 lines modified | ||
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | 94 | <a·href="#nested-classes">Classes</a>·| |
95 | <a·href="#namespaces">Namespaces</a>··</div> | 95 | <a·href="#namespaces">Namespaces</a>··</div> |
96 | ··<div·class="headertitle"><div·class="title">patch | 96 | ··<div·class="headertitle"><div·class="title">patchTable.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·"<a·class="el"·href="a00740_source.html">../far/patchDescriptor.h</a>"</code><br·/> | ||
100 | <code>#include·"<a·class="el"·href="a0073 | 101 | <code>#include·"<a·class="el"·href="a00737_source.html">../far/patchParam.h</a>"</code><br·/> |
102 | <code>#include·"<a·class="el"·href="a00719_source.html">../far/stencilTable.h</a>"</code><br·/> | ||
103 | <code>#include·"<a·class="el"·href="a00773_source.html">../sdc/options.h</a>"</code><br·/> | ||
101 | <code>#include·< | 104 | <code>#include·<vector></code><br·/> |
102 | </div> | 105 | </div> |
103 | <p><a·href="a00731_source.html">Go·to·the·source·code·of·this·file.</a></p> | 106 | <p><a·href="a00731_source.html">Go·to·the·source·code·of·this·file.</a></p> |
104 | <table·class="memberdecls"> | 107 | <table·class="memberdecls"> |
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 108 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
106 | Classes</h2></td></tr> | 109 | Classes</h2></td></tr> |
107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a009 | 110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00993.html">PatchTable</a></td></tr> |
108 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 111 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Container·for·arrays·of·parametric·patches.··<a·href="a00993.html#details">More...</a><br·/></td></tr> |
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"> | 113 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00997.html">PatchTable::PatchHandle</a></td></tr> |
114 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Handle·that·can·be·used·as·unique·patch·identifier·within·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">PatchTable</a>.··<a·href="a00997.html#details">More...</a><br·/></td></tr> | ||
111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
112 | </table><table·class="memberdecls"> | 116 | </table><table·class="memberdecls"> |
113 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 117 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
114 | Namespaces</h2></td></tr> | 118 | Namespaces</h2></td></tr> |
115 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 119 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 120 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
117 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 121 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
Offset 121, 13 lines modified | Offset 125, 13 lines modified | ||
121 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 125 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
122 | </table> | 126 | </table> |
123 | </div><!--·contents·--> | 127 | </div><!--·contents·--> |
124 | </div><!--·doc-content·--> | 128 | </div><!--·doc-content·--> |
125 | <!--·start·footer·part·--> | 129 | <!--·start·footer·part·--> |
126 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 130 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
127 | ··<ul> | 131 | ··<ul> |
128 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_7f420b72a822828cfa8b0561c695a5cc.html">far</a></li><li·class="navelem"><a·class="el"·href="a00731.html">patch | 132 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_7f420b72a822828cfa8b0561c695a5cc.html">far</a></li><li·class="navelem"><a·class="el"·href="a00731.html">patchTable.h</a></li> |
129 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 133 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
130 | ··</ul> | 134 | ··</ul> |
131 | </div> | 135 | </div> |
132 | </body> | 136 | </body> |
133 | </html> | 137 | </html> |
Offset 1, 28 lines modified | Offset 1, 32 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | patch | 6 | patchTable.h·File·Reference |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8p_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8._\x8h" | ||
8 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8p_\x8a_\x8t_\x8c_\x8h_\x8 | 9 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8p_\x8a_\x8t_\x8c_\x8h_\x8P_.a_.r_.a_.m_\x8._\x8h" |
9 | #include· | 10 | #include·"_.._.._./_.f_.a_.r_./_.s_.t_.e_.n_.c_.i_.l_.T_.a_.b_.l_.e_.._.h" |
11 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8o_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s_\x8._\x8h" | ||
12 | #include·<vector> | ||
10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 13 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
11 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 14 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
12 | 15 | class· ·_.P_.a_.t_.c_.h_.T_.a_.b_.l_.e | |
16 | ·······Container·for·arrays·of·parametric·patches.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
13 | ········An·quadtree-based·map·connecting·coarse·faces·to·their·sub-patches. | ||
14 | ·········_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
15 | 17 | ||
16 | 18 | class· ·_.P_.a_.t_.c_.h_.T_.a_.b_.l_.e_.:_.:_.P_.a_.t_.c_.h_.H_.a_.n_.d_.l_.e | |
19 | ·······Handle·that·can·be·used·as·unique·patch·identifier·within·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e. | ||
20 | ········_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
17 | 21 | ||
18 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 22 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
19 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 23 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
20 | 24 | ||
21 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 25 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
22 | 26 | ||
23 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r | 27 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r |
24 | 28 | ||
25 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 29 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
26 | ····*·_\x8f_\x8a_\x8r | 30 | ····*·_\x8f_\x8a_\x8r |
27 | ····*·_\x8p_\x8a_\x8t_\x8c_\x8h_\x8 | 31 | ····*·_\x8p_\x8a_\x8t_\x8c_\x8h_\x8T_.a_.b_.l_.e_\x8._\x8h |
28 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 32 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 4 lines modified | Offset 1, 4 lines modified | ||
1 | var·a00731·=·[ | 1 | var·a00731·=·[ |
2 | ····["PatchTable",·"a00993.html",·"a00993"], | ||
2 | ····["Patch | 3 | ····["PatchHandle",·"a00997.html",·"a00997"] |
3 | ····["Child",·"a00985.html",·"a00985"] | ||
4 | ]; | 4 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/far/patch | 8 | <title>OpenSubdiv:·opensubdiv/far/patchTable.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 15 lines modified | Offset 92, 15 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title">patch | 98 | ··<div·class="headertitle"><div·class="title">patchTable.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="a00731.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> | 101 | <a·href="a00731.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div> | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
Offset 119, 222 lines modified | Offset 119, 798 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_FAR_PATCH_ | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_FAR_PATCH_TABLE_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_FAR_PATCH_ | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_FAR_PATCH_TABLE_H</span></div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../far/patch | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../far/patchDescriptor.h"</span></div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·"../far/patchParam.h"</span></div> |
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·& | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·"../far/stencilTable.h"</span></div> |
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·"../sdc/options.h"</span></div> | ||
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#include·<vector></span></div> | ||
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
135 | <div·class="line"><a·id="l0003 | 139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
136 | <div·class="line"><a·id="l0003 | 140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
137 | <div·class="line"><a·id="l000 | 141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> |
138 | <div·class="line"><a·id="l000 | 142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">namespace·</span>Far·{</div> |
139 | <div·class="line"><a·id="l000 | 143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
140 | <div·class="foldopen"·id="foldopen000 | 144 | <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="};"> |
141 | <div·class="line"><a·id="l000 | 145 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a00993.html">···55</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a00993.html">PatchTable</a>·{</div> |
146 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | ||
142 | <div·class="line"><a·id="l0005 | 147 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">public</span>:</div> |
143 | <div·class="line"><a·id="l0005 | 148 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> |
144 | <div·class=" | 149 | <div·class="foldopen"·id="foldopen00060"·data-start="{"·data-end="};"> |
150 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a00997.html">···60</a></span>····<span·class="keyword">class·</span><a·class="code·hl_class"·href="a00997.html">PatchHandle</a>·{</div> | ||
151 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····<span·class="comment">//·XXXX·manuelk·members·will·eventually·be·made·private</span></div> | ||
152 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keyword">public</span>:</div> | ||
145 | <div·class="line"><a·id="l000 | 153 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> |
146 | <div·class="line"><a·id="l000 | 154 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a00997.html#ad4867d502f9704b7e45a7974e8918dc3">···64</a></span>········<span·class="keyword">friend</span>·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a00993.html">Patch[·...·truncated·by·diffoscope;·len:·9,·SHA:·56793173843c1921c1b9723e913b4caa0b1b42e3b4a070192fad2f432dc29c1c·...·];</div> |
155 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a00997.html#aff380d8d7f072959898c0a4e25150d2a">···65</a></span>········<span·class="keyword">friend</span>·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a00977.html">PatchMap</a>;</div> | ||
147 | <div·class="line"><a·id="l000 | 156 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> |
148 | <div·class="line"><a·id="l000 | 157 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a00997.html#a4430ecde7e1d784b2bef6dc4c2ff04c2">···67</a></span>········<a·class="code·hl_typedef"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·<a·class="code·hl_variable"·hr[·...·truncated·by·diffoscope;·len:·123,·SHA:·bd8174398530636e0f96cb92d96d9f33738397e32033127f63eacb6c53bda16e·...·]</div> |
158 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a00997.html#a31bdf15525ab73560c2b725ff7f8ae3a">···68</a></span>··············<a·class="code·hl_variable"·href="a00997.html#a31bdf15525ab73560c2b725ff7f8ae3a">patchIndex</a>,·<span·class="comment">//·Absolute·Index·of·the·patch</span></div> | ||
159 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a00997.html#a46d1a8129375c3ee40a33a81d44b685a">···69</a></span>··············<a·class="code·hl_variable"·href="a00997.html#a46d1a8129375c3ee40a33a81d44b685a">vertIndex</a>;··<span·class="comment">//·Relative·offset·to·the·first·CV·of·the·patch·in·array</span></div> | ||
160 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····};</div> | ||
161 | </div> | ||
149 | <div·class="line"><a·id="l0007 | 162 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
150 | <div·class="line"><a·id="l0007 | 163 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="keyword">public</span>:</div> |
151 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keywordtype">void</span>·initializeHandles(<a·class="code·hl_class"·href="a00993.html">PatchTable</a>·<span·class="keyword">const</span>·&·patchTable);</div> | ||
152 | <div·class="line"><a·id="l0007 | 164 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> |
165 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a00993.html#a3419c5d57330d6787f8c14a7677b8d9b">···75</a></span>····<a·class="code·hl_function"·href="a00993.html#a3419c5d57330d6787f8c14a7677b8d9b">PatchTable</a>(<a·class="code·hl_class"·href="a00993.html">PatchTable</a>·<span·class="keyword">const</span>·&·src);</div> | ||
166 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | ||
167 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a00993.html#a5cbd789bd429e35377db5f4c97701874">···78</a></span>····<a·class="code·hl_function"·href="a00993.html#a5cbd789bd429e35377db5f4c97701874">~PatchTable</a>();</div> | ||
153 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> | 168 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> |
169 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a00993.html#a11c0f8be31c18b856cf9cdea511e54de">···81</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00993.html#a11c0f8be31c18b856cf9cdea511e54de">IsFeatureAdaptive</a>()·<span·class="keyword">const</span>;</div> | ||
154 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="keyword">private</span>:</div> | ||
155 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<span·class="comment">//·Quadtree·node·with·4·children,·tree·is·just·a·vector·of·nodes</span></div> | ||
156 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keyword">struct·</span>QuadNode·{</div> | ||
157 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>········QuadNode()·{·std::memset(<span·class="keyword">this</span>,·0,·<span·class="keyword">sizeof</span>(QuadNode));·}</div> | ||
158 | <div·class="line"><a·id="l0008 | 170 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> |
159 | <div·class="foldopen"·id="foldopen0008 | 171 | <div·class="foldopen"·id="foldopen00084"·data-start="{"·data-end="}"> |
172 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a00993.html#aa7d301570e6f7b39e1eaa546e2937018">···84</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00993.html#aa7d301570e6f7b39e1eaa546e2937018">GetNumControlVerticesTotal</a>()<span·class="keyword">·const·</span>{</div> | ||
173 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>········<span·class="keywordflow">return</span>·(<span·class="keywordtype">int</span>)_patchVerts.size();</div> | ||
160 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a00985.html">···85</a></span>········<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a00985.html">Child</a>·{</div> | ||
161 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a00985.html#ad3e71fff03a23f93fef41adc5d367435">···86</a></span>············<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a00985.html#ad3e71fff03a23f93fef41adc5d367435">isSet</a>··:··1;··<span·class="comment">//·true·if·the·child·has·been·set</span></div> | ||
162 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a00985.html#a07e7a9f4469398070886a336d833daa9">···87</a></span>············<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a00985.html#a07e7a9f4469398070886a336d833daa9">isLeaf</a>·:··1;··<span·class="comment">//·true·if·the·child·is·a·QuadNode</span></div> | ||
163 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a00985.html#a589d64202487f78e3cc30dd2e04c5201">···88</a></span>············<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a00985.html#a589d64202487f78e3cc30dd2e04c5201">index</a>··:·30;··<span·class="comment">//·child·index·(either·QuadNode·or·Handle)</span></div> | ||
164 | <div·class="line"><a·id="l0008 | 174 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····}</div> |
165 | </div> | 175 | </div> |
176 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> | ||
177 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a00993.html#ac39a9665667b0a4fcc7ed028b7faaa47">···89</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00993.html#ac39a9665667b0a4fcc7ed028b7faaa47">GetNumPatchesTotal</a>()·<span·class="keyword">const</span>;</div> | ||
166 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> | 178 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> |
179 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a00993.html#a14bf987459715b918b370247bb24a61c">···92</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00993.html#a14bf987459715b918b370247bb24a61c">GetMaxValence</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_maxValence;·}</div> | ||
167 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>········<span·class="comment">//·sets·all·the·children·to·point·to·the·patch·of·given·index</span></div> | ||
168 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>········<span·class="keywordtype">void</span>·SetChildren(<span·class="keywordtype">int</span>·index);</div> | ||
169 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> | 180 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> |
181 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a00993.html#ab45dd46b44737845ca57f634f11f1bbc">···95</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00993.html#ab45dd46b44737845ca57f634f11f1bbc">GetNumPtexFaces</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_numPtexFaces;·}</div> | ||
170 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>········<span·class="comment">//·sets·the·child·in·"quadrant"·to·point·to·the·node·or·patch·of·the·given·index</span></div> | ||
171 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>········<span·class="keywordtype">void</span>·SetChild(<span·class="keywordtype">int</span>·quadrant,·<span·class="keywordtype">int</span>·index,·<span·class="keywordtype">bool</span>·isLeaf);</div> | ||
172 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> | 182 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> |
173 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>········<a·class="code·hl_struct"·href="a00985.html">Child</a>·children[4];</div> | ||
174 | <div·class="line"><a·id="l0009 | 183 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> |
175 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>· | 184 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> |
176 | <div·class="line"><a·id="l0010 | 185 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div> |
186 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno"><a·class="line"·href="a00993.html#a9373bf15eaee019dd08099d05515e080">··107</a></span>····<a·class="code·hl_class"·href="a00973.html">PatchDescriptor</a>·<a·class="code·hl_function"·href="a00993.html#a9373bf15eaee019dd08099d05515e080">GetPatchDescriptor</a>(<a·class="code·hl_class"·href="a00997.html">PatchHandle</a>·<span·class="keyword">const</span>·&·handle)·<span·class="keyword">const</span>;</div> | ||
177 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····<span·class="comment">//·Internal·methods·supporting·quadtree·construction·and·queries</span></div> | ||
178 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>····<span·class="keywordtype">void</span>·······assignRootNode(QuadNode·*·node,·<span·class="keywordtype">int</span>·index);</div> | ||
179 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····QuadNode·*·assignLeafOrChildNode(QuadNode·*·node,·<span·class="keywordtype">bool</span>·isLeaf,·<span·class="keywordtype">int</span>·quad,·<span·class="keywordtype">int</span>·index);</div> | ||
180 | <div·class="line"><a·id="l0010 | 187 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div> |
188 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno"><a·class="line"·href="a00993.html#a37804f17e707ef64a7f165d15b6cf013">··110</a></span>····<a·class="code·hl_class"·href="a01353.html">ConstIndexArray</a>·<a·class="code·hl_function"·href="a00993.html#a37804f17e707ef64a7f165d15b6cf013">GetPatchVertices</a>(<a·class="code·hl_class"·href="a00997.html">PatchHandle</a>·<span·class="keyword">const</span>·&·handle)·<span·class="keyword">const</span>;</div> | ||
181 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····<span·class="keyword">template</span>·<<span·class="keyword">class</span>·T></div> | ||
182 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>····<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·transformUVToQuadQuadrant(T·<span·class="keyword">const</span>·&·median,·T·&·u,·T·&·v);</div> | ||
183 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····<span·class="keyword">template</span>·<<span·class="keyword">class</span>·T></div> | ||
184 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>····<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·transformUVToTriQuadrant(T·<span·class="keyword">const</span>·&·median,·T·&·u,·T·&·v,·<span·class="keywordtype">bool</span>·&·rotated);</div> | ||
185 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div> | ||
186 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span><span·class="keyword">private</span>:</div> | ||
187 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>····<span·class="keywordtype">bool</span>·_patchesAreTriangular;··<span·class="comment">//·tri·and·quad·assembly·and·search·requirements·differ</span></div> | ||
188 | <div·class="line"><a·id="l0011 | 189 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> |
Max diff block lines reached; 161186/196934 bytes (81.85%) of diff not shown. |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | patch | 5 | patchTable.h |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·2013·Pixar | 8 | 2//·Copyright·2013·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
Offset 24, 238 lines modified | Offset 24, 1002 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_FAR_PATCH_ | 31 | 25#ifndef·OPENSUBDIV3_FAR_PATCH_TABLE_H |
32 | 26#define·OPENSUBDIV3_FAR_PATCH_ | 32 | 26#define·OPENSUBDIV3_FAR_PATCH_TABLE_H |
33 | 27 | 33 | 27 |
34 | 28#include·"../version.h" | 34 | 28#include·"../version.h" |
35 | 29 | 35 | 29 |
36 | 30#include·"../far/patchDescriptor.h" | ||
37 | 31#include·"../far/patchParam.h" | ||
36 | 3 | 38 | 32#include·"../far/stencilTable.h" |
37 | 31 | ||
38 | 32#include·<cassert> | ||
39 | 33 | 39 | 33 |
40 | 34#include·"../sdc/options.h" | ||
41 | 35 | ||
42 | 36#include·<vector> | ||
43 | 37 | ||
40 | 3 | 44 | 38namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ |
41 | 3 | 45 | 39namespace·OPENSUBDIV_VERSION·{ |
42 | 46 | 40 | |
43 | 47 | 41namespace·Far·{ | |
44 | 48 | 42 | |
45 | _\x8 | 49 | _\x85_.5class·_.P_.a_.t_.c_.h_.T_.a_.b_.l_.e·{ |
50 | 56 | ||
46 | 5 | 51 | 57public: |
47 | 51 | ||
48 | _\x85_\x82·typedef·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e·_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e; | ||
49 | 5 | 52 | 58 |
53 | _\x86_\x80·class·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e·{ | ||
54 | 61·//·XXXX·manuelk·members·will·eventually·be·made·private | ||
55 | 62·public: | ||
56 | 63 | ||
57 | _\x86_\x84·friend·class·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e; | ||
58 | _\x86_\x85·friend·class·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8M_\x8a_\x8p; | ||
59 | 66 | ||
60 | _\x86_\x87·_\x8I_\x8n_\x8d_\x8e_\x8x·_\x8a_\x8r_\x8r_\x8a_\x8y_\x8I_\x8n_\x8d_\x8e_\x8x,·//·Array·index·of·the·patch | ||
61 | _\x86_\x88·_\x8p_\x8a_\x8t_\x8c_\x8h_\x8I_\x8n_\x8d_\x8e_\x8x,·//·Absolute·Index·of·the·patch | ||
62 | _\x86_\x89·_\x8v_\x8e_\x8r_\x8t_\x8I_\x8n_\x8d_\x8e_\x8x;·//·Relative·offset·to·the·first·CV·of·the·patch·in·array | ||
63 | 70·}; | ||
64 | 71 | ||
65 | 72public: | ||
66 | 73 | ||
50 | _\x8 | 67 | _\x87_.5·_.P_.a_.t_.c_.h_.T_.a_.b_.l_.e(_.P_.a_.t_.c_.h_.T_.a_.b_.l_.e·const·&·src); |
68 | 76 | ||
69 | _\x87_\x88·_\x8~_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e(); | ||
51 | 59 | ||
52 | 74·_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e·const·*·_\x8F_\x8i_\x8n_\x8d_\x8P_\x8a_\x8t_\x8c_\x8h(·int·patchFaceId,·double·u,·double·v·)·const; | ||
53 | 75 | ||
54 | 76private: | ||
55 | 77·void·initializeHandles(_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·const·&·patchTable); | ||
56 | 78·void·initializeQuadtree(_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·const·&·patchTable); | ||
57 | 79 | 70 | 79 |
71 | _\x88_\x81·bool·_\x8I_\x8s_\x8F_\x8e_\x8a_\x8t_\x8u_\x8r_\x8e_\x8A_\x8d_\x8a_\x8p_\x8t_\x8i_\x8v_\x8e()·const; | ||
72 | 82 | ||
73 | _\x88_\x84·int·_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8C_\x8o_\x8n_\x8t_\x8r_\x8o_\x8l_\x8V_\x8e_\x8r_\x8t_\x8i_\x8c_\x8e_\x8s_\x8T_\x8o_\x8t_\x8a_\x8l()·const·{ | ||
74 | 85·return·(int)_patchVerts.size(); | ||
75 | 86·} | ||
76 | 87 | ||
77 | _\x88_\x89·int·_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8P_\x8a_\x8t_\x8c_\x8h_\x8e_\x8s_\x8T_\x8o_\x8t_\x8a_\x8l()·const; | ||
58 | 80private: | ||
59 | 81·//·Quadtree·node·with·4·children,·tree·is·just·a·vector·of·nodes | ||
60 | 82·struct·QuadNode·{ | ||
61 | 83·QuadNode()·{·std::memset(this,·0,·sizeof(QuadNode));·} | ||
62 | 84 | ||
63 | _\x88_\x85·struct·_\x8C_\x8h_\x8i_\x8l_\x8d·{ | ||
64 | _\x88_\x86·unsigned·int·_\x8i_\x8s_\x8S_\x8e_\x8t·:·1;·//·true·if·the·child·has·been·set | ||
65 | _\x88_\x87·unsigned·int·_\x8i_\x8s_\x8L_\x8e_\x8a_\x8f·:·1;·//·true·if·the·child·is·a·QuadNode | ||
66 | _\x88_\x88·unsigned·int·_\x8i_\x8n_\x8d_\x8e_\x8x·:·30;·//·child·index·(either·QuadNode·or·Handle) | ||
67 | 89·}; | ||
68 | 90 | 78 | 90 |
79 | _\x89_\x82·int·_\x8G_\x8e_\x8t_\x8M_\x8a_\x8x_\x8V_\x8a_\x8l_\x8e_\x8n_\x8c_\x8e()·const·{·return·_maxValence;·} | ||
69 | 91·//·sets·all·the·children·to·point·to·the·patch·of·given·index | ||
70 | 92·void·SetChildren(int·index); | ||
71 | 93 | 80 | 93 |
81 | _\x89_\x85·int·_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8P_\x8t_\x8e_\x8x_\x8F_\x8a_\x8c_\x8e_\x8s()·const·{·return·_numPtexFaces;·} | ||
72 | 94·//·sets·the·child·in·"quadrant"·to·point·to·the·node·or·patch·of·the·given | ||
73 | index | ||
74 | 95·void·SetChild(int·quadrant,·int·index,·bool·isLeaf); | ||
75 | 96 | 82 | 96 |
83 | 97 | ||
84 | 99 | ||
85 | 105 | ||
86 | _\x81_\x80_\x87·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·_\x8G_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r(_\x8P_\x8a_\x8t_\x8c_\x8h_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e·const·&·handle)·const; | ||
87 | 108 | ||
88 | _\x81_\x81_\x80·_\x8C_\x8o_\x8n_\x8s_\x8t_\x8I_\x8n_\x8d_\x8e_\x8x_\x8A_\x8r_\x8r_\x8a_\x8y·_\x8G_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8V_\x8e_\x8r_\x8t_\x8i_\x8c_\x8e_\x8s(_\x8P_\x8a_\x8t_\x8c_\x8h_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e·const·&·handle)·const; | ||
89 | 111 | ||
90 | _\x81_\x81_\x83·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8P_\x8a_\x8r_\x8a_\x8m·_\x8G_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8P_\x8a_\x8r_\x8a_\x8m(_\x8P_\x8a_\x8t_\x8c_\x8h_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e·const·&·handle)·const; | ||
91 | 114 | ||
92 | _\x81_\x81_\x86·_\x8C_\x8o_\x8n_\x8s_\x8t_\x8I_\x8n_\x8d_\x8e_\x8x_\x8A_\x8r_\x8r_\x8a_\x8y·_\x8G_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8V_\x8e_\x8r_\x8t_\x8i_\x8c_\x8e_\x8s(int·array,·int·patch)·const; | ||
93 | 117 | ||
94 | _\x81_\x81_\x89·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8P_\x8a_\x8r_\x8a_\x8m·_\x8G_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8P_\x8a_\x8r_\x8a_\x8m(int·array,·int·patch)·const; | ||
76 | 97·_\x8C_\x8h_\x8i_\x8l_\x8d·children[4]; | ||
77 | 98·}; | ||
78 | 99·typedef·std::vector<QuadNode>·QuadTree; | ||
79 | 100 | ||
80 | 101·//·Internal·methods·supporting·quadtree·construction·and·queries | ||
81 | 102·void·assignRootNode(QuadNode·*·node,·int·index); | ||
82 | 103·QuadNode·*·assignLeafOrChildNode(QuadNode·*·node,·bool·isLeaf,·int·quad, | ||
83 | int·index); | ||
84 | 104 | ||
85 | 105·template·<class·T> | ||
86 | 106·static·int·transformUVToQuadQuadrant(T·const·&·median,·T·&·u,·T·&·v); | ||
87 | 107·template·<class·T> | ||
88 | 108·static·int·transformUVToTriQuadrant(T·const·&·median,·T·&·u,·T·&·v,·bool·& | ||
89 | rotated); | ||
90 | 109 | ||
91 | 110private: | ||
92 | 111·bool·_patchesAreTriangular;·//·tri·and·quad·assembly·and·search | ||
93 | requirements·differ | ||
Max diff block lines reached; 61790/69251 bytes (89.23%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/far/patch | 8 | <title>OpenSubdiv:·opensubdiv/far/patchMap.h·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 90, 33 lines modified | Offset 90, 29 lines modified | ||
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | 94 | <a·href="#nested-classes">Classes</a>·| |
95 | <a·href="#namespaces">Namespaces</a>··</div> | 95 | <a·href="#namespaces">Namespaces</a>··</div> |
96 | ··<div·class="headertitle"><div·class="title">patch | 96 | ··<div·class="headertitle"><div·class="title">patchMap.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·"<a·class="el"·href="a00740_source.html">../far/patchDescriptor.h</a>"</code><br·/> | ||
101 | <code>#include·"<a·class="el"·href="a00737_source.html">../far/patchParam.h</a>"</code><br·/> | ||
102 | <code>#include·"<a·class="el"·href="a007 | 100 | <code>#include·"<a·class="el"·href="a00731_source.html">../far/patchTable.h</a>"</code><br·/> |
103 | <code>#include·"<a·class="el"·href="a00773_source.html">../sdc/options.h</a>"</code><br·/> | ||
104 | <code>#include·< | 101 | <code>#include·<cassert></code><br·/> |
105 | </div> | 102 | </div> |
106 | <p><a·href="a00734_source.html">Go·to·the·source·code·of·this·file.</a></p> | 103 | <p><a·href="a00734_source.html">Go·to·the·source·code·of·this·file.</a></p> |
107 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
108 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
109 | Classes</h2></td></tr> | 106 | Classes</h2></td></tr> |
110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a009 | 107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00977.html">PatchMap</a></td></tr> |
111 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"> | 108 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">An·quadtree-based·map·connecting·coarse·faces·to·their·sub-patches.··<a·href="a00977.html#details">More...</a><br·/></td></tr> |
112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
113 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"> | 110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00985.html">PatchMap::QuadNode::Child</a></td></tr> |
114 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Handle·that·can·be·used·as·unique·patch·identifier·within·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">PatchTable</a>.··<a·href="a00997.html#details">More...</a><br·/></td></tr> | ||
115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
116 | </table><table·class="memberdecls"> | 112 | </table><table·class="memberdecls"> |
117 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 113 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
118 | Namespaces</h2></td></tr> | 114 | Namespaces</h2></td></tr> |
119 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 115 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
120 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
121 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 117 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
Offset 125, 13 lines modified | Offset 121, 13 lines modified | ||
125 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 121 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
126 | </table> | 122 | </table> |
127 | </div><!--·contents·--> | 123 | </div><!--·contents·--> |
128 | </div><!--·doc-content·--> | 124 | </div><!--·doc-content·--> |
129 | <!--·start·footer·part·--> | 125 | <!--·start·footer·part·--> |
130 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 126 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
131 | ··<ul> | 127 | ··<ul> |
132 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_7f420b72a822828cfa8b0561c695a5cc.html">far</a></li><li·class="navelem"><a·class="el"·href="a00734.html">patch | 128 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_7f420b72a822828cfa8b0561c695a5cc.html">far</a></li><li·class="navelem"><a·class="el"·href="a00734.html">patchMap.h</a></li> |
133 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 129 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
134 | ··</ul> | 130 | ··</ul> |
135 | </div> | 131 | </div> |
136 | </body> | 132 | </body> |
137 | </html> | 133 | </html> |
Offset 1, 32 lines modified | Offset 1, 28 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | patch | 6 | patchMap.h·File·Reference |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8p_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8._\x8h" | ||
9 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8p_\x8a_\x8t_\x8c_\x8h_\x8 | 8 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8p_\x8a_\x8t_\x8c_\x8h_\x8T_.a_.b_.l_.e_\x8._\x8h" |
9 | #include·<cassert> | ||
10 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8s_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8._\x8h" | ||
11 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8o_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s_\x8._\x8h" | ||
12 | #include·<vector> | ||
13 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
14 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 11 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
15 | class· ·_.P_.a_.t_.c_.h_. | 12 | ·class· ·_.P_.a_.t_.c_.h_.M_.a_.p |
16 | ······· | 13 | ········An·quadtree-based·map·connecting·coarse·faces·to·their·sub-patches. |
14 | ·········_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
17 | 15 | ||
16 | struct· ·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8M_\x8a_\x8p_\x8:_\x8:_\x8Q_\x8u_\x8a_\x8d_\x8N_\x8o_\x8d_\x8e_\x8:_\x8:_\x8C_\x8h_\x8i_\x8l_\x8d | ||
18 | class· ·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e | ||
19 | ·······Handle·that·can·be·used·as·unique·patch·identifier·within·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e. | ||
20 | ········_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
21 | 17 | ||
22 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 18 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
23 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 19 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
24 | 20 | ||
25 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 21 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
26 | 22 | ||
27 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r | 23 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r |
28 | 24 | ||
29 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 25 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
30 | ····*·_\x8f_\x8a_\x8r | 26 | ····*·_\x8f_\x8a_\x8r |
31 | ····*·_\x8p_\x8a_\x8t_\x8c_\x8h_\x8 | 27 | ····*·_\x8p_\x8a_\x8t_\x8c_\x8h_\x8M_.a_.p_\x8._\x8h |
32 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 28 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 4 lines modified | Offset 1, 4 lines modified | ||
1 | var·a00734·=·[ | 1 | var·a00734·=·[ |
2 | ····["PatchTable",·"a00993.html",·"a00993"], | ||
3 | ····["Patch | 2 | ····["PatchMap",·"a00977.html",·"a00977"], |
3 | ····["Child",·"a00985.html",·"a00985"] | ||
4 | ]; | 4 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/far/patch | 8 | <title>OpenSubdiv:·opensubdiv/far/patchMap.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 15 lines modified | Offset 92, 15 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title">patch | 98 | ··<div·class="headertitle"><div·class="title">patchMap.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="a00734.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> | 101 | <a·href="a00734.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div> | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
Offset 119, 798 lines modified | Offset 119, 222 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_FAR_PATCH_ | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_FAR_PATCH_MAP_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_FAR_PATCH_ | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_FAR_PATCH_MAP_H</span></div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../far/patch | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../far/patchTable.h"</span></div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span> | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·& | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·<cassert></span></div> |
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·"../sdc/options.h"</span></div> | ||
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#include·<vector></span></div> | ||
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
139 | <div·class="line"><a·id="l0003 | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
140 | <div·class="line"><a·id="l0003 | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
141 | <div·class="line"><a·id="l000 | 137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
142 | <div·class="line"><a·id="l000 | 138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Far·{</div> |
143 | <div·class="line"><a·id="l000 | 139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
144 | <div·class="foldopen"·id="foldopen000 | 140 | <div·class="foldopen"·id="foldopen00049"·data-start="{"·data-end="};"> |
145 | <div·class="line"><a·id="l000 | 141 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a00977.html">···49</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a00977.html">PatchMap</a>·{</div> |
146 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | ||
147 | <div·class="line"><a·id="l0005 | 142 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">public</span>:</div> |
148 | <div·class="line"><a·id="l0005 | 143 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
144 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a00977.html#ae83a6047fa1e373c7943d54b6dc46402">···52</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a00997.html">PatchTable::PatchHandle</a>·<a·class="code·hl_typedef"·href="a00977.html#ae83a6047fa1e373c7943d54b6dc46402">Handle</a>;</div> | ||
149 | <div·class="foldopen"·id="foldopen00060"·data-start="{"·data-end="};"> | ||
150 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a00997.html">···60</a></span>····<span·class="keyword">class·</span><a·class="code·hl_class"·href="a00997.html">PatchHandle</a>·{</div> | ||
151 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····<span·class="comment">//·XXXX·manuelk·members·will·eventually·be·made·private</span></div> | ||
152 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keyword">public</span>:</div> | ||
153 | <div·class="line"><a·id="l000 | 145 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> |
146 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a00977.html#a016619de52fd79dbcdb879cc12b79200">···58</a></span>····<a·class="code·hl_function"·href="a00977.html#a016619de52fd79dbcdb879cc12b79200">PatchMap</a>(·<a·class="code·hl_class"·href="a00993.html">PatchTable</a>·<span·class="keyword">const</span>·&·patchTable·);</div> | ||
154 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a00997.html#ad4867d502f9704b7e45a7974e8918dc3">···64</a></span>········<span·class="keyword">friend</span>·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a00993.html">PatchTable</a>;</div> | ||
155 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a00997.html#aff380d8d7f072959898c0a4e25150d2a">···65</a></span>········<span·class="keyword">friend</span>·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a00977.html">PatchMap</a>;</div> | ||
156 | <div·class="line"><a·id="l000 | 147 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> |
148 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<a·class="code·hl_class"·href="a00997.html">Handle</a>·<span·class="keyword">const</span>·*·<a·class="code·hl_function"·href="a00977.html#abc70f9419d5f26ef85cbef5c5b6451f0">FindPatch</a>(·<span·class="keywordtype">int</span>·patchFaceId,·<span·class="keywordtype">double</span>·u,·<span·class="keywordtype">double</span>·v·)·<span·class="keyword">const</span>;</div> | ||
157 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a00997.html#a4430ecde7e1d784b2bef6dc4c2ff04c2">···67</a></span>········<a·class="code·hl_typedef"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·<a·class="code·hl_variable"·href="a00997.html#a4430ecde7e1d784b2bef6dc4c2ff04c2">arrayIndex</a>,·<span·class="comment">//·Array·index·of·the·patch</span></div> | ||
158 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a00997.html#a31bdf15525ab73560c2b725ff7f8ae3a">···68</a></span>··············<a·class="code·hl_variable"·href="a00997.html#a31bdf15525ab73560c2b725ff7f8ae3a">patchIndex</a>,·<span·class="comment">//·Absolute·Index·of·the·patch</span></div> | ||
159 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a00997.html#a46d1a8129375c3ee40a33a81d44b685a">···69</a></span>··············<a·class="code·hl_variable"·href="a00997.html#a46d1a8129375c3ee40a33a81d44b685a">vertIndex</a>;··<span·class="comment">//·Relative·offset·to·the·first·CV·of·the·patch·in·array</span></div> | ||
160 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····};</div> | ||
161 | </div> | ||
162 | <div·class="line"><a·id="l0007 | 149 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> |
163 | <div·class="line"><a·id="l0007 | 150 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="keyword">private</span>:</div> |
151 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keywordtype">void</span>·initializeHandles(<a·class="code·hl_class"·href="a00993.html">PatchTable</a>·<span·class="keyword">const</span>·&·patchTable);</div> | ||
152 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<span·class="keywordtype">void</span>·initializeQuadtree(<a·class="code·hl_class"·href="a00993.html">PatchTable</a>·<span·class="keyword">const</span>·&·patchTable);</div> | ||
164 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | ||
165 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a00993.html#a3419c5d57330d6787f8c14a7677b8d9b">···75</a></span>····<a·class="code·hl_function"·href="a00993.html#a3419c5d57330d6787f8c14a7677b8d9b">PatchTable</a>(<a·class="code·hl_class"·href="a00993.html">PatchTable</a>·<span·class="keyword">const</span>·&·src);</div> | ||
166 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | ||
167 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a00993.html#a5cbd789bd429e35377db5f4c97701874">···78</a></span>····<a·class="code·hl_function"·href="a00993.html#a5cbd789bd429e35377db5f4c97701874">~PatchTable</a>();</div> | ||
168 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> | 153 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> |
169 | <div·class="line"><a·id="l0008 | 154 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="keyword">private</span>:</div> |
155 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<span·class="comment">//·Quadtree·node·with·4·children,·tree·is·just·a·vector·of·nodes</span></div> | ||
156 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keyword">struct·</span>QuadNode·{</div> | ||
157 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>········QuadNode()·{·std::memset(<span·class="keyword">this</span>,·0,·<span·class="keyword">sizeof</span>(QuadNode));·}</div> | ||
170 | <div·class="line"><a·id="l0008 | 158 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> |
171 | <div·class="foldopen"·id="foldopen0008 | 159 | <div·class="foldopen"·id="foldopen00085"·data-start="{"·data-end="};"> |
172 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a00993.html#aa7d301570e6f7b39e1eaa546e2937018">···84</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00993.html#aa7d301570e6f7b39e1eaa546e2937018">GetNumControlVerticesTotal</a>()<span·class="keyword">·const·</span>{</div> | ||
173 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>········<span·class="keyword | 160 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a00985.html">···85</a></span>········<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a00985.html">Child</a>·{</div> |
161 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a00985.html#ad3e71fff03a23f93fef41adc5d367435">···86</a></span>············<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a00985.html#ad3e71fff03a23f93fef41adc5d367435">isSet</a>··:··1;··<span·class="comment">//·true·if·the·child·has·been·set</span></div> | ||
162 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a00985.html#a07e7a9f4469398070886a336d833daa9">···87</a></span>············<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a00985.html#a07e7a9f4469398070886a336d833daa9">isLeaf</a>·:··1;··<span·class="comment">//·true·if·the·child·is·a·QuadNode</span></div> | ||
163 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a00985.html#a589d64202487f78e3cc30dd2e04c5201">···88</a></span>············<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a00985.html#a589d64202487f78e3cc30dd2e04c5201">index</a>··:·30;··<span·class="comment">//·child·index·(either·QuadNode·or·Handle)</span></div> | ||
174 | <div·class="line"><a·id="l0008 | 164 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>········};</div> |
175 | </div> | 165 | </div> |
176 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> | ||
177 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a00993.html#ac39a9665667b0a4fcc7ed028b7faaa47">···89</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00993.html#ac39a9665667b0a4fcc7ed028b7faaa47">GetNumPatchesTotal</a>()·<span·class="keyword">const</span>;</div> | ||
178 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> | 166 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> |
179 | <div·class="line"><a·id="l0009 | 167 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>········<span·class="comment">//·sets·all·the·children·to·point·to·the·patch·of·given·index</span></div> |
168 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>········<span·class="keywordtype">void</span>·SetChildren(<span·class="keywordtype">int</span>·index);</div> | ||
180 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> | 169 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> |
181 | <div·class="line"><a·id="l0009 | 170 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>········<span·class="comment">//·sets·the·child·in·"quadrant"·to·point·to·the·node·or·patch·of·the·given·index</span></div> |
171 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>········<span·class="keywordtype">void</span>·SetChild(<span·class="keywordtype">int</span>·quadrant,·<span·class="keywordtype">int</span>·index,·<span·class="keywordtype">bool</span>·isLeaf);</div> | ||
182 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> | 172 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> |
173 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>········<a·class="code·hl_struct"·href="a00985.html">Child</a>·children[4];</div> | ||
183 | <div·class="line"><a·id="l0009 | 174 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····};</div> |
184 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> | 175 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>····<span·class="keyword">typedef</span>·std::vector<QuadNode>·QuadTree;</div> |
185 | <div·class="line"><a·id="l0010 | 176 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div> |
186 | <div·class="line"><a·id="l0010 | 177 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····<span·class="comment">//·Internal·methods·supporting·quadtree·construction·and·queries</span></div> |
178 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>····<span·class="keywordtype">void</span>·······assignRootNode(QuadNode·*·node,·<span·class="keywordtype">int</span>·index);</div> | ||
179 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····QuadNode·*·assignLeafOrChildNode(QuadNode·*·node,·<span·class="keywordtype">bool</span>·isLeaf,·<span·class="keywordtype">int</span>·quad,·<span·class="keywordtype">int</span>·index);</div> | ||
187 | <div·class="line"><a·id="l0010 | 180 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div> |
181 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····<span·class="keyword">template</span>·<<span·class="keyword">class</span>·T></div> | ||
182 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>····<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·transformUVToQuadQuadrant(T·<span·class="keyword">const</span>·&·median,·T·&·u,·T·&·v);</div> | ||
183 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····<span·class="keyword">template</span>·<<span·class="keyword">class</span>·T></div> | ||
184 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>····<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·transformUVToTriQuadrant(T·<span·class="keyword">const</span>·&·median,·T·&·u,·T·&·v,·<span·class="keywordtype">bool</span>·&·rotated);</div> | ||
188 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno"><a·class="line"·href="a00993.html#a37804f17e707ef64a7f165d15b6cf013">··110</a></span>····<a·class="code·hl_class"·href="a01353.html">ConstIndexArray</a>·<a·class="code·hl_function"·href="a00993.html#a37804f17e707ef64a7f165d15b6cf013">GetPatchVertices</a>(<a·class="code·hl_class"·href="a00997.html">PatchHandle</a>·<span·class="keyword">const</span>·&·handle)·<span·class="keyword">const</span>;</div> | ||
189 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> | ||
190 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno"><a·class="line"·href="a00993.html#ac44a6262548ebebae9bbc5b5f3c43e3a">··113</a></span>····<a·class="code·hl_struct"·href="a00989.html">PatchParam</a>·<a·class="code·hl_function"·href="a00993.html#ac44a6262548ebebae9bbc5b5f3c43e3a">GetPatchParam</a>(<a·class="code·hl_class"·href="a00997.html">PatchHandle</a>·<span·class="keyword">const</span>·&·handle)·<span·class="keyword">const</span>;</div> | ||
191 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·</div> | ||
192 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno"><a·class="line"·href="a00993.html#ad897fbe60d2921cfbf5e1bed8760d49f">··116</a></span>····<a·class="code·hl_class"·href="a01353.html">ConstIndexArray</a>·<a·class="code·hl_function"·href="a00993.html#ad897fbe60d2921cfbf5e1bed8760d49f">GetPatchVertices</a>(<span·class="keywordtype">int</span>·array,·<span·class="keywordtype">int</span>·patch)·<span·class="keyword">const</span>;</div> | ||
193 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div> | ||
Max diff block lines reached; 161186/196934 bytes (81.85%) of diff not shown. |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | patch | 5 | patchMap.h |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·2013·Pixar | 8 | 2//·Copyright·2013·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
Offset 24, 1002 lines modified | Offset 24, 238 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_FAR_PATCH_ | 31 | 25#ifndef·OPENSUBDIV3_FAR_PATCH_MAP_H |
32 | 26#define·OPENSUBDIV3_FAR_PATCH_ | 32 | 26#define·OPENSUBDIV3_FAR_PATCH_MAP_H |
33 | 27 | 33 | 27 |
34 | 28#include·"../version.h" | 34 | 28#include·"../version.h" |
35 | 29 | 35 | 29 |
36 | 30#include·"../far/patchDescriptor.h" | ||
37 | 31#include·"../far/patchParam.h" | ||
38 | 3 | 36 | 30#include·"../far/patchTable.h" |
37 | 31 | ||
38 | 32#include·<cassert> | ||
39 | 33 | 39 | 33 |
40 | 34#include·"../sdc/options.h" | ||
41 | 35 | ||
42 | 36#include·<vector> | ||
43 | 37 | ||
44 | 3 | 40 | 34namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ |
45 | 3 | 41 | 35namespace·OPENSUBDIV_VERSION·{ |
46 | 42 | 36 | |
47 | 43 | 37namespace·Far·{ | |
48 | 44 | 38 | |
49 | _\x8 | 45 | _\x84_.9class·_.P_.a_.t_.c_.h_.M_.a_.p·{ |
50 | 56 | ||
51 | 5 | 46 | 50public: |
47 | 51 | ||
48 | _\x85_\x82·typedef·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e·_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e; | ||
49 | 53 | ||
52 | 58 | ||
53 | _\x86_\x80·class·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e·{ | ||
54 | 61·//·XXXX·manuelk·members·will·eventually·be·made·private | ||
55 | 62·public: | ||
56 | 63 | ||
57 | _\x86_\x84·friend·class·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e; | ||
58 | _\x86_\x85·friend·class·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8M_\x8a_\x8p; | ||
59 | 66 | ||
60 | _\x86_\x87·_\x8I_\x8n_\x8d_\x8e_\x8x·_\x8a_\x8r_\x8r_\x8a_\x8y_\x8I_\x8n_\x8d_\x8e_\x8x,·//·Array·index·of·the·patch | ||
61 | _\x86_\x88·_\x8p_\x8a_\x8t_\x8c_\x8h_\x8I_\x8n_\x8d_\x8e_\x8x,·//·Absolute·Index·of·the·patch | ||
62 | _\x86_\x89·_\x8v_\x8e_\x8r_\x8t_\x8I_\x8n_\x8d_\x8e_\x8x;·//·Relative·offset·to·the·first·CV·of·the·patch·in·array | ||
63 | 70·}; | ||
64 | 71 | ||
65 | 72public: | ||
66 | 73 | ||
67 | _\x8 | 50 | _\x85_.8·_.P_.a_.t_.c_.h_.M_.a_.p(·_.P_.a_.t_.c_.h_.T_.a_.b_.l_.e·const·&·patchTable·); |
68 | 76 | ||
69 | 51 | 59 | |
52 | 74·_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e·const·*·_\x8F_\x8i_\x8n_\x8d_\x8P_\x8a_\x8t_\x8c_\x8h(·int·patchFaceId,·double·u,·double·v·)·const; | ||
53 | 75 | ||
54 | 76private: | ||
55 | 77·void·initializeHandles(_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·const·&·patchTable); | ||
56 | 78·void·initializeQuadtree(_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·const·&·patchTable); | ||
70 | 79 | 57 | 79 |
71 | _\x88_\x81·bool·_\x8I_\x8s_\x8F_\x8e_\x8a_\x8t_\x8u_\x8r_\x8e_\x8A_\x8d_\x8a_\x8p_\x8t_\x8i_\x8v_\x8e()·const; | ||
72 | 82 | ||
73 | _\x88_\x84·int·_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8C_\x8o_\x8n_\x8t_\x8r_\x8o_\x8l_\x8V_\x8e_\x8r_\x8t_\x8i_\x8c_\x8e_\x8s_\x8T_\x8o_\x8t_\x8a_\x8l()·const·{ | ||
74 | 85·return·(int)_patchVerts.size(); | ||
75 | 86·} | ||
76 | 87 | ||
77 | 58 | 80private: | |
59 | 81·//·Quadtree·node·with·4·children,·tree·is·just·a·vector·of·nodes | ||
60 | 82·struct·QuadNode·{ | ||
61 | 83·QuadNode()·{·std::memset(this,·0,·sizeof(QuadNode));·} | ||
62 | 84 | ||
63 | _\x88_\x85·struct·_\x8C_\x8h_\x8i_\x8l_\x8d·{ | ||
64 | _\x88_\x86·unsigned·int·_\x8i_\x8s_\x8S_\x8e_\x8t·:·1;·//·true·if·the·child·has·been·set | ||
65 | _\x88_\x87·unsigned·int·_\x8i_\x8s_\x8L_\x8e_\x8a_\x8f·:·1;·//·true·if·the·child·is·a·QuadNode | ||
66 | _\x88_\x88·unsigned·int·_\x8i_\x8n_\x8d_\x8e_\x8x·:·30;·//·child·index·(either·QuadNode·or·Handle) | ||
67 | 89·}; | ||
78 | 90 | 68 | 90 |
79 | 69 | 91·//·sets·all·the·children·to·point·to·the·patch·of·given·index | |
70 | 92·void·SetChildren(int·index); | ||
80 | 93 | 71 | 93 |
81 | 72 | 94·//·sets·the·child·in·"quadrant"·to·point·to·the·node·or·patch·of·the·given | |
73 | index | ||
74 | 95·void·SetChild(int·quadrant,·int·index,·bool·isLeaf); | ||
82 | 96 | 75 | 96 |
83 | 97 | ||
84 | 99 | ||
85 | 105 | ||
86 | _\x81_\x80_\x87·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·_\x8G_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r(_\x8P_\x8a_\x8t_\x8c_\x8h_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e·const·&·handle)·const; | ||
87 | 108 | ||
88 | _\x81_\x81_\x80·_\x8C_\x8o_\x8n_\x8s_\x8t_\x8I_\x8n_\x8d_\x8e_\x8x_\x8A_\x8r_\x8r_\x8a_\x8y·_\x8G_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8V_\x8e_\x8r_\x8t_\x8i_\x8c_\x8e_\x8s(_\x8P_\x8a_\x8t_\x8c_\x8h_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e·const·&·handle)·const; | ||
89 | 111 | ||
90 | _\x81_\x81_\x83·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8P_\x8a_\x8r_\x8a_\x8m·_\x8G_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8P_\x8a_\x8r_\x8a_\x8m(_\x8P_\x8a_\x8t_\x8c_\x8h_\x8H_\x8a_\x8n_\x8d_\x8l_\x8e·const·&·handle)·const; | ||
91 | 114 | ||
92 | _\x81_\x81_\x86·_\x8C_\x8o_\x8n_\x8s_\x8t_\x8I_\x8n_\x8d_\x8e_\x8x_\x8A_\x8r_\x8r_\x8a_\x8y·_\x8G_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8V_\x8e_\x8r_\x8t_\x8i_\x8c_\x8e_\x8s(int·array,·int·patch)·const; | ||
93 | 117 | ||
94 | 76 | 97·_.C_.h_.i_.l_.d·children[4]; | |
77 | 98·}; | ||
78 | 99·typedef·std::vector<QuadNode>·QuadTree; | ||
79 | 100 | ||
80 | 101·//·Internal·methods·supporting·quadtree·construction·and·queries | ||
81 | 102·void·assignRootNode(QuadNode·*·node,·int·index); | ||
82 | 103·QuadNode·*·assignLeafOrChildNode(QuadNode·*·node,·bool·isLeaf,·int·quad, | ||
83 | int·index); | ||
84 | 104 | ||
85 | 105·template·<class·T> | ||
86 | 106·static·int·transformUVToQuadQuadrant(T·const·&·median,·T·&·u,·T·&·v); | ||
87 | 107·template·<class·T> | ||
88 | 108·static·int·transformUVToTriQuadrant(T·const·&·median,·T·&·u,·T·&·v,·bool·& | ||
89 | rotated); | ||
90 | 109 | ||
91 | 110private: | ||
92 | 111·bool·_patchesAreTriangular;·//·tri·and·quad·assembly·and·search | ||
93 | requirements·differ | ||
94 | 112 | ||
95 | 113·int·_minPatchFace;·//·minimum·patch·face·index·supported·by·the·map | ||
96 | 114·int·_maxPatchFace;·//·maximum·patch·face·index·supported·by·the·map | ||
97 | 115·int·_maxDepth;·//·maximum·depth·of·a·patch·in·the·tree | ||
Max diff block lines reached; 61790/69251 bytes (89.23%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/vtr/ | 8 | <title>OpenSubdiv:·opensubdiv/vtr/refinement.h·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 89, 20 lines modified | Offset 89, 22 lines modified | ||
89 | </div> | 89 | </div> |
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#namespaces">Namespaces</a>··</div> | 94 | <a·href="#namespaces">Namespaces</a>··</div> |
95 | ··<div·class="headertitle"><div·class="title"> | 95 | ··<div·class="headertitle"><div·class="title">refinement.h·File·Reference</div></div> |
96 | </div><!--header--> | 96 | </div><!--header--> |
97 | <div·class="contents"> | 97 | <div·class="contents"> |
98 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 98 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
99 | <code>#include·"<a·class="el"·href="a01492_source.html">../sdc/types.h</a>"</code><br·/> | ||
100 | <code>#include·"<a·class="el"·href="a00773_source.html">../sdc/options.h</a>"</code><br·/> | ||
99 | <code>#include·"<a·class="el"·href="a01495_source.html">../vtr/types.h</a>"</code><br·/> | 101 | <code>#include·"<a·class="el"·href="a01495_source.html">../vtr/types.h</a>"</code><br·/> |
100 | <code>#include·"<a·class="el"·href="a0075 | 102 | <code>#include·"<a·class="el"·href="a00755_source.html">../vtr/level.h</a>"</code><br·/> |
101 | <code>#include·<vector></code><br·/> | 103 | <code>#include·<vector></code><br·/> |
102 | </div> | 104 | </div> |
103 | <p><a·href="a00749_source.html">Go·to·the·source·code·of·this·file.</a></p> | 105 | <p><a·href="a00749_source.html">Go·to·the·source·code·of·this·file.</a></p> |
104 | <table·class="memberdecls"> | 106 | <table·class="memberdecls"> |
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 107 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
106 | Namespaces</h2></td></tr> | 108 | Namespaces</h2></td></tr> |
107 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 109 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
Offset 113, 13 lines modified | Offset 115, 13 lines modified | ||
113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
114 | </table> | 116 | </table> |
115 | </div><!--·contents·--> | 117 | </div><!--·contents·--> |
116 | </div><!--·doc-content·--> | 118 | </div><!--·doc-content·--> |
117 | <!--·start·footer·part·--> | 119 | <!--·start·footer·part·--> |
118 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 120 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
119 | ··<ul> | 121 | ··<ul> |
120 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_bd5473d7d5841d48919aaa9ad0cb1f9b.html">vtr</a></li><li·class="navelem"><a·class="el"·href="a00749.html"> | 122 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_bd5473d7d5841d48919aaa9ad0cb1f9b.html">vtr</a></li><li·class="navelem"><a·class="el"·href="a00749.html">refinement.h</a></li> |
121 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 123 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
122 | ··</ul> | 124 | ··</ul> |
123 | </div> | 125 | </div> |
124 | </body> | 126 | </body> |
125 | </html> | 127 | </html> |
Offset 1, 22 lines modified | Offset 1, 24 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | 6 | refinement.h·File·Reference | |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" | ||
9 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8o_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s_\x8._\x8h" | ||
8 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" | 10 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" |
9 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8 | 11 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8l_.e_.v_.e_.l_\x8._\x8h" |
10 | #include·<vector> | 12 | #include·<vector> |
11 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 13 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
12 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 14 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
13 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 15 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
14 | 16 | ||
15 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 17 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
16 | 18 | ||
17 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8V_\x8t_\x8r | 19 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8V_\x8t_\x8r |
18 | 20 | ||
19 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 21 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
20 | ····*·_\x8v_\x8t_\x8r | 22 | ····*·_\x8v_\x8t_\x8r |
21 | ····*·_\x8 | 23 | ····*·_\x8r_.e_.f_.i_.n_.e_.m_.e_.n_.t_\x8._\x8h |
22 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 24 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/vtr/ | 8 | <title>OpenSubdiv:·opensubdiv/vtr/refinement.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 15 lines modified | Offset 92, 15 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title"> | 98 | ··<div·class="headertitle"><div·class="title">refinement.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="a00749.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> | 101 | <a·href="a00749.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div> | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
Offset 118, 98 lines modified | Offset 118, 457 lines modified | ||
118 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div> | 118 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div> |
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_VTR_ | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_VTR_REFINEMENT_H</span></div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_VTR_ | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_VTR_REFINEMENT_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·"../version.h"</span></div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·"../version.h"</span></div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../ | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../sdc/types.h"</span></div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../sdc/options.h"</span></div> | ||
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·"../vtr/types.h"</span></div> | ||
131 | <div·class="line"><a·id="l0003 | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·"../vtr/level.h"</span></div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | ||
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·<vector></span></div> | ||
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·<vector></span></div> | ||
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="comment">//</span></div> | ||
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="comment">//··Declaration·for·the·main·refinement·class·(Refinement)·and·its·pre-requisites:</span></div> | ||
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="comment">//</span></div> | ||
135 | <div·class="line"><a·id="l0003 | 140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
136 | <div·class="line"><a·id="l000 | 141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
137 | <div·class="line"><a·id="l000 | 142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> |
138 | <div·class="line"><a·id="l000 | 143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">namespace·</span>Vtr·{</div> |
139 | <div·class="line"><a·id="l000 | 144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>internal·{</div> |
140 | <div·class="line"><a·id="l000 | 145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> |
141 | <div·class="line"><a·id="l0004 | 146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">class·</span>FVarRefinement;</div> |
142 | <div·class="line"><a·id="l0004 | 147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> |
143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="comment">//······Class·supporting·"selection"·of·components·in·a·Level·for·sparse·Refinement.</span></div> | ||
144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">//··The·term·"selection"·here·implies·interest·in·the·limit·for·that·component,·i.e.</span></div> | ||
145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">//··the·limit·point·for·a·selected·vertex,·the·limit·patch·for·a·face,·etc.··So·this</span></div> | ||
146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="comment">//··class·is·responsible·for·ensuring·that·all·neighboring·components·required·to</span></div> | ||
147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="comment">//··support·the·limit·of·those·selected·are·included·in·the·refinement.</span></div> | ||
148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="comment">//</span></div> | 148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="comment">//</span></div> |
149 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="comment">//·· | 149 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="comment">//··Refinement:</span></div> |
150 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="comment">//··is·to·initialize·that·Refinement·instance·for·eventual·sparse·refinement.··So·it</span></div> | ||
151 | <div·class="line"><a·id="l000 | 150 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="comment">//······A·refinement·is·a·mapping·between·two·levels·--·relating·the·components·in·the·original</span></div> |
151 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="comment">//··(parent)·level·to·the·one·refined·(child).··The·refinement·may·be·complete·(uniform)·or·sparse</span></div> | ||
152 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="comment">//··(adaptive·or·otherwise·selective),·so·not·all·components·in·the·parent·level·will·spawn</span></div> | ||
152 | <div·class="line"><a·id="l0005 | 153 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="comment">//··components·in·the·child·level.</span></div> |
153 | <div·class="line"><a·id="l0005 | 154 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="comment">//</span></div> |
154 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="comment">//··While·all·three·component·types·--·vertices,·edges·and·faces·--·can·be·selected,</span></div> | ||
155 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="comment">//··only·selection·of·faces·is·currently·used·and·actively·supported·as·part·of·the</span></div> | ||
156 | <div·class="line"><a·id="l0005 | 155 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="comment">//··Refinement·is·an·abstract·class·and·expects·subclasses·corresponding·to·the·different·types</span></div> |
156 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">//··of·topological·splits·that·the·supported·subdivision·schemes·collectively·require,·i.e.·those</span></div> | ||
157 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//··listed·in·Sdc::SplitType.··Note·the·virtual·requirements·expected·of·the·subclasses·in·the·list</span></div> | ||
158 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="comment">//··of·protected·methods·--·they·differ·mainly·in·the·topology·that·is·created·in·the·child·Level</span></div> | ||
159 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//··and·not·the·propagation·of·tags·through·refinement,·subdivision·of·sharpness·values·or·the</span></div> | ||
160 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="comment">//··treatment·of·face-varying·data.··The·primary·subclasses·are·QuadRefinement·and·TriRefinement.</span></div> | ||
157 | <div·class="line"><a·id="l000 | 161 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="comment">//</span></div> |
158 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">class·</span>SparseSelector·{</div> | ||
159 | <div·class="line"><a·id="l000 | 162 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="comment">//··At·a·high·level,·all·that·is·necessary·in·terms·of·interface·is·to·construct,·initialize</span></div> |
163 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="comment">//··(linking·the·two·levels),·optionally·select·components·for·sparse·refinement·(via·use·of·the</span></div> | ||
164 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="comment">//··SparseSelector)·and·call·the·refine()·method.··This·usage·is·expected·of·Far::TopologyRefiner.</span></div> | ||
160 | <div·class="line"><a·id="l000 | 165 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="comment">//</span></div> |
166 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="comment">//··Since·we·really·want·this·class·to·be·restricted·from·public·access·eventually,·all·methods</span></div> | ||
167 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="comment">//··begin·with·lower·case·(as·is·the·convention·for·protected·methods)·and·the·list·of·friends</span></div> | ||
168 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="comment">//··will·be·maintained·more·strictly.</span></div> | ||
161 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····SparseSelector(Refinement&·refine)·:·_refine(&refine),·_selected(false)·{·}</div> | ||
162 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····~SparseSelector()·{·}</div> | ||
163 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | ||
164 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keywordtype">void</span>········setRefinement(Refinement&·refine)·{·_refine·=·&refine;·}</div> | ||
165 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····Refinement&·getRefinement()<span·class="keyword">·const·············</span>{·<span·class="keywordflow">return</span>·*_refine;·}</div> | ||
166 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | ||
167 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<span·class="keywordtype">bool</span>·isSelectionEmpty()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·!_selected;·}</div> | ||
168 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | ||
169 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span> | 169 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="comment">//</span></div> |
170 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="comment">//··Methods·for·selecting·(and·marking)·components·for·refinement.··All·component·indices</span></div> | ||
171 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="comment">//··refer·to·components·in·the·parent:</span></div> | ||
172 | <div·class="line"><a·id="l000 | 170 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="keyword">class·</span>Refinement·{</div> |
173 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keywordtype">void</span>·selectVertex(<a·class="code·hl_typedef"·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·pVertex);</div> | ||
174 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keywordtype">void</span>·selectEdge(··<a·class="code·hl_typedef"·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·pEdge);</div> | ||
175 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<span·class="keywordtype">void</span>·selectFace(··<a·class="code·hl_typedef"·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·pFace);</div> | ||
176 | <div·class="line"><a·id="l0007 | 171 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> |
177 | <div·class="line"><a·id="l0007 | 172 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="keyword">public</span>:</div> |
178 | <div·class="line"><a·id="l0007 | 173 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····Refinement(Level·<span·class="keyword">const</span>·&·parent,·Level·&·child,·Sdc::Options·<span·class="keyword">const</span>&·schemeOptions);</div> |
174 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keyword">virtual</span>·~Refinement();</div> | ||
175 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | ||
176 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····Level·<span·class="keyword">const</span>&·parent()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·*_parent;·}</div> | ||
177 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····Level·<span·class="keyword">const</span>&·child()<span·class="keyword">·const··</span>{·<span·class="keywordflow">return</span>·*_child;·}</div> | ||
178 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····Level&·······child()········{·<span·class="keywordflow">return</span>·*_child;·}</div> | ||
179 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> | 179 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> |
180 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keywordtype">bool</span>·wasVertexSelected(<a·class="code·hl_typedef"·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·pVertex)<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_refine->getParentVertexSparseTag(pVertex)._selected;·}</div> | ||
181 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····<span·class="keywordtype">bool</span>·wasEdgeSelected(··<a·class="code·hl_typedef"·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·pEdge)<span·class="keyword">·const···</span>{·<span·class="keywordflow">return</span>·_refine->getParentEdgeSparseTag(pEdge)._selected;·}</div> | ||
182 | <div·class="line"><a·id="l000 | 180 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<a·class="code·hl_enumeration"·href="a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887b">Sdc::Split</a>·getSplitType()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_split[·...·truncated·by·diffoscope;·len:·4,·SHA:·baaddf70fb5d432b8bd948ef91d6f910124a6d138edae4d5f000c4610ddc8eae·...·];·}</div> |
181 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····<span·class="keywordtype">int</span>·getRegularFaceSize()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_regFaceSize;·}</div> | ||
182 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····Sdc::Options·getOptions()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_options;·}</div> | ||
183 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | 183 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> |
184 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····<span·class="comment">//··Face-varying:</span></div> | ||
185 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="keywordtype">int</span>·getNumFVarChannels()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·(<span·class="keywordtype">int</span>)·_fvarChannels.size();·}</div> | ||
184 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····<span·class="keywordtype">void</span>·markVertexSelected(<a·class="code·hl_typedef"·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·pVertex)<span·class="keyword">·const·</span>{·_refine->getParentVertexSparseTag(pVertex)._selected·=·<span·class="keyword">true</span>;·}</div> | ||
Max diff block lines reached; 2841/94720 bytes (3.00%) of diff not shown. |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | 5 | refinement.h | |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·2014·DreamWorks·Animation·LLC. | 8 | 2//·Copyright·2014·DreamWorks·Animation·LLC. |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
Offset 23, 111 lines modified | Offset 23, 545 lines modified | ||
23 | 17// | 23 | 17// |
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24#ifndef·OPENSUBDIV3_VTR_ | 30 | 24#ifndef·OPENSUBDIV3_VTR_REFINEMENT_H |
31 | 25#define·OPENSUBDIV3_VTR_ | 31 | 25#define·OPENSUBDIV3_VTR_REFINEMENT_H |
32 | 26 | 32 | 26 |
33 | 27#include·"../version.h" | 33 | 27#include·"../version.h" |
34 | 28 | 34 | 28 |
35 | 29#include·"../sdc/types.h" | ||
36 | 30#include·"../sdc/options.h" | ||
35 | 37 | 31#include·"../vtr/types.h" | |
36 | 3 | 38 | 32#include·"../vtr/level.h" |
37 | 31 | ||
38 | 32#include·<vector> | ||
39 | 33 | 39 | 33 |
40 | 34#include·<vector> | ||
41 | 35 | ||
42 | 36// | ||
43 | 37//·Declaration·for·the·main·refinement·class·(Refinement)·and·its·pre- | ||
44 | requisites: | ||
45 | 38// | ||
40 | 3 | 46 | 39namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ |
41 | 47 | 40namespace·OPENSUBDIV_VERSION·{ | |
42 | 48 | 41 | |
43 | 49 | 42namespace·Vtr·{ | |
44 | 50 | 43namespace·internal·{ | |
51 | 44 | ||
52 | 45class·FVarRefinement; | ||
53 | 46 | ||
45 | 39 | ||
46 | 40// | ||
47 | 41//·SparseSelector: | ||
48 | 42//·Class·supporting·"selection"·of·components·in·a·Level·for·sparse | ||
49 | Refinement. | ||
50 | 43//·The·term·"selection"·here·implies·interest·in·the·limit·for·that | ||
51 | component,·i.e. | ||
52 | 44//·the·limit·point·for·a·selected·vertex,·the·limit·patch·for·a·face,·etc.·So | ||
53 | this | ||
54 | 45//·class·is·responsible·for·ensuring·that·all·neighboring·components·required | ||
55 | to | ||
56 | 46//·support·the·limit·of·those·selected·are·included·in·the·refinement. | ||
57 | 47// | 54 | 47// |
58 | 48//·This·class·is·associated·with·(and·constructed·given)·a·Refinement·and·its | ||
59 | role | ||
60 | 49//·is·to·initialize·that·Refinement·instance·for·eventual·sparse·refinement. | ||
61 | So·it | ||
62 | 50//·is·a·friend·of·and·expected·to·modify·the·Refinement·as·part·of·the | ||
63 | selection. | ||
64 | 55 | 48//·Refinement: | |
56 | 49//·A·refinement·is·a·mapping·between·two·levels·--·relating·the·components·in | ||
57 | the·original | ||
58 | 50//·(parent)·level·to·the·one·refined·(child).·The·refinement·may·be·complete | ||
59 | (uniform)·or·sparse | ||
60 | 51//·(adaptive·or·otherwise·selective),·so·not·all·components·in·the·parent | ||
61 | level·will·spawn | ||
62 | 52//·components·in·the·child·level. | ||
63 | 53// | ||
64 | 54//·Refinement·is·an·abstract·class·and·expects·subclasses·corresponding·to | ||
65 | the·different·types | ||
66 | 55//·of·topological·splits·that·the·supported·subdivision·schemes·collectively | ||
67 | require,·i.e.·those | ||
68 | 56//·listed·in·Sdc::SplitType.·Note·the·virtual·requirements·expected·of·the | ||
69 | subclasses·in·the·list | ||
70 | 57//·of·protected·methods·--·they·differ·mainly·in·the·topology·that·is·created | ||
71 | in·the·child·Level | ||
72 | 58//·and·not·the·propagation·of·tags·through·refinement,·subdivision·of | ||
73 | sharpness·values·or·the | ||
74 | 59//·treatment·of·face-varying·data.·The·primary·subclasses·are·QuadRefinement | ||
65 | Refinement. | 75 | and·TriRefinement. |
66 | 52// | ||
67 | 53//·While·all·three·component·types·--·vertices,·edges·and·faces·--·can·be | ||
68 | selected, | ||
69 | 54//·only·selection·of·faces·is·currently·used·and·actively·supported·as·part | ||
70 | of·the | ||
71 | 55//·feature-adaptive·refinement. | ||
72 | 76 | 60// | |
73 | 57class·SparseSelector·{ | ||
74 | 58 | ||
75 | 59public: | ||
76 | 60·SparseSelector(Refinement&·refine)·:·_refine(&refine),·_selected(false)·{·} | ||
77 | 61·~SparseSelector()·{·} | ||
78 | 62 | ||
79 | 63·void·setRefinement(Refinement&·refine)·{·_refine·=·&refine;·} | ||
80 | 64·Refinement&·getRefinement()·const·{·return·*_refine;·} | ||
81 | 65 | ||
82 | 66·bool·isSelectionEmpty()·const·{·return·!_selected;·} | ||
83 | 6 | 77 | 61//·At·a·high·level,·all·that·is·necessary·in·terms·of·interface·is·to |
78 | construct,·initialize | ||
79 | 62//·(linking·the·two·levels),·optionally·select·components·for·sparse | ||
80 | refinement·(via·use·of·the | ||
81 | 63//·SparseSelector)·and·call·the·refine()·method.·This·usage·is·expected·of | ||
82 | Far::TopologyRefiner. | ||
83 | 64// | ||
84 | 65//·Since·we·really·want·this·class·to·be·restricted·from·public·access | ||
85 | eventually,·all·methods | ||
86 | 66//·begin·with·lower·case·(as·is·the·convention·for·protected·methods)·and·the | ||
87 | list·of·friends | ||
88 | 67//·will·be·maintained·more·strictly. | ||
84 | 68 | 89 | 68// |
85 | 69·//·Methods·for·selecting·(and·marking)·components·for·refinement.·All | ||
86 | component·indices | ||
87 | 70·//·refer·to·components·in·the·parent: | ||
88 | 71·// | ||
89 | 72·void·selectVertex(_\x8I_\x8n_\x8d_\x8e_\x8x·pVertex); | ||
90 | 73·void·selectEdge(·_\x8I_\x8n_\x8d_\x8e_\x8x·pEdge); | ||
91 | 74·void·selectFace(·_\x8I_\x8n_\x8d_\x8e_\x8x·pFace); | ||
92 | 75 | ||
93 | 76private: | ||
94 | 90 | 69class·Refinement·{ | |
91 | 70 | ||
Max diff block lines reached; 19167/24448 bytes (78.40%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/vtr/re | 8 | <title>OpenSubdiv:·opensubdiv/vtr/sparseSelector.h·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 89, 22 lines modified | Offset 89, 20 lines modified | ||
89 | </div> | 89 | </div> |
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#namespaces">Namespaces</a>··</div> | 94 | <a·href="#namespaces">Namespaces</a>··</div> |
95 | ··<div·class="headertitle"><div·class="title">re | 95 | ··<div·class="headertitle"><div·class="title">sparseSelector.h·File·Reference</div></div> |
96 | </div><!--header--> | 96 | </div><!--header--> |
97 | <div·class="contents"> | 97 | <div·class="contents"> |
98 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 98 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
99 | <code>#include·"<a·class="el"·href="a01492_source.html">../sdc/types.h</a>"</code><br·/> | ||
100 | <code>#include·"<a·class="el"·href="a00773_source.html">../sdc/options.h</a>"</code><br·/> | ||
101 | <code>#include·"<a·class="el"·href="a01495_source.html">../vtr/types.h</a>"</code><br·/> | 99 | <code>#include·"<a·class="el"·href="a01495_source.html">../vtr/types.h</a>"</code><br·/> |
102 | <code>#include·"<a·class="el"·href="a007 | 100 | <code>#include·"<a·class="el"·href="a00749_source.html">../vtr/refinement.h</a>"</code><br·/> |
103 | <code>#include·<vector></code><br·/> | 101 | <code>#include·<vector></code><br·/> |
104 | </div> | 102 | </div> |
105 | <p><a·href="a00752_source.html">Go·to·the·source·code·of·this·file.</a></p> | 103 | <p><a·href="a00752_source.html">Go·to·the·source·code·of·this·file.</a></p> |
106 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
107 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
108 | Namespaces</h2></td></tr> | 106 | Namespaces</h2></td></tr> |
109 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 107 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
Offset 115, 13 lines modified | Offset 113, 13 lines modified | ||
115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
116 | </table> | 114 | </table> |
117 | </div><!--·contents·--> | 115 | </div><!--·contents·--> |
118 | </div><!--·doc-content·--> | 116 | </div><!--·doc-content·--> |
119 | <!--·start·footer·part·--> | 117 | <!--·start·footer·part·--> |
120 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 118 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
121 | ··<ul> | 119 | ··<ul> |
122 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_bd5473d7d5841d48919aaa9ad0cb1f9b.html">vtr</a></li><li·class="navelem"><a·class="el"·href="a00752.html">re | 120 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_bd5473d7d5841d48919aaa9ad0cb1f9b.html">vtr</a></li><li·class="navelem"><a·class="el"·href="a00752.html">sparseSelector.h</a></li> |
123 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 121 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
124 | ··</ul> | 122 | ··</ul> |
125 | </div> | 123 | </div> |
126 | </body> | 124 | </body> |
127 | </html> | 125 | </html> |
Offset 1, 24 lines modified | Offset 1, 22 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | re | 6 | sparseSelector.h·File·Reference |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" | ||
9 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8o_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s_\x8._\x8h" | ||
10 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" | 8 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" |
11 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8 | 9 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8r_.e_.f_.i_.n_.e_.m_.e_.n_.t_\x8._\x8h" |
12 | #include·<vector> | 10 | #include·<vector> |
13 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 11 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
14 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 12 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
15 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 13 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
16 | 14 | ||
17 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 15 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
18 | 16 | ||
19 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8V_\x8t_\x8r | 17 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8V_\x8t_\x8r |
20 | 18 | ||
21 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 19 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
22 | ····*·_\x8v_\x8t_\x8r | 20 | ····*·_\x8v_\x8t_\x8r |
23 | ····*·_\x8r_.e_. | 21 | ····*·_\x8s_.p_.a_.r_.s_.e_.S_.e_.l_.e_.c_.t_.o_.r_\x8._\x8h |
24 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 22 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/vtr/re | 8 | <title>OpenSubdiv:·opensubdiv/vtr/sparseSelector.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 15 lines modified | Offset 92, 15 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title">re | 98 | ··<div·class="headertitle"><div·class="title">sparseSelector.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="a00752.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> | 101 | <a·href="a00752.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div> | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
Offset 118, 457 lines modified | Offset 118, 98 lines modified | ||
118 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div> | 118 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div> |
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_VTR_R | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_VTR_SPARSE_SELECTOR_H</span></div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_VTR_R | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_VTR_SPARSE_SELECTOR_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·"../version.h"</span></div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·"../version.h"</span></div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../ | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../vtr/types.h"</span></div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../sdc/options.h"</span></div> | ||
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·"../vtr/types.h"</span></div> | ||
133 | <div·class="line"><a·id="l0003 | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../vtr/refinement.h"</span></div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | ||
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·<vector></span></div> | ||
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·<vector></span></div> | ||
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="comment">//</span></div> | ||
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="comment">//··Declaration·for·the·main·refinement·class·(Refinement)·and·its·pre-requisites:</span></div> | ||
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="comment">//</span></div> | ||
140 | <div·class="line"><a·id="l0003 | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
141 | <div·class="line"><a·id="l000 | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
142 | <div·class="line"><a·id="l000 | 137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
143 | <div·class="line"><a·id="l000 | 138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Vtr·{</div> |
144 | <div·class="line"><a·id="l000 | 139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span>internal·{</div> |
145 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
146 | <div·class="line"><a·id="l0004 | 141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="comment">//</span></div> |
147 | <div·class="line"><a·id="l0004 | 142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="comment">//··SparseSelector:</span></div> |
143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="comment">//······Class·supporting·"selection"·of·components·in·a·Level·for·sparse·Refinement.</span></div> | ||
144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">//··The·term·"selection"·here·implies·interest·in·the·limit·for·that·component,·i.e.</span></div> | ||
145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">//··the·limit·point·for·a·selected·vertex,·the·limit·patch·for·a·face,·etc.··So·this</span></div> | ||
146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="comment">//··class·is·responsible·for·ensuring·that·all·neighboring·components·required·to</span></div> | ||
147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="comment">//··support·the·limit·of·those·selected·are·included·in·the·refinement.</span></div> | ||
148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="comment">//</span></div> | 148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="comment">//</span></div> |
149 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="comment">//··Refinement | 149 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="comment">//··This·class·is·associated·with·(and·constructed·given)·a·Refinement·and·its·role</span></div> |
150 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="comment">//··is·to·initialize·that·Refinement·instance·for·eventual·sparse·refinement.··So·it</span></div> | ||
151 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="comment">//··is·a·friend·of·and·expected·to·modify·the·Refinement·as·part·of·the·selection.</span></div> | ||
152 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="comment">//··Given·its·simplicity·and·scope·it·may·be·worth·nesting·it·in·Vtr::Refinement.</span></div> | ||
150 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="comment">//······A·refinement·is·a·mapping·between·two·levels·--·relating·the·components·in·the·original</span></div> | ||
151 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="comment">//··(parent)·level·to·the·one·refined·(child).··The·refinement·may·be·complete·(uniform)·or·sparse</span></div> | ||
152 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="comment">//··(adaptive·or·otherwise·selective),·so·not·all·components·in·the·parent·level·will·spawn</span></div> | ||
153 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="comment">//··components·in·the·child·level.</span></div> | ||
154 | <div·class="line"><a·id="l0005 | 153 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="comment">//</span></div> |
154 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="comment">//··While·all·three·component·types·--·vertices,·edges·and·faces·--·can·be·selected,</span></div> | ||
155 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="comment">//··only·selection·of·faces·is·currently·used·and·actively·supported·as·part·of·the</span></div> | ||
155 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="comment">//··Refinement·is·an·abstract·class·and·expects·subclasses·corresponding·to·the·different·types</span></div> | ||
156 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">//··of·topological·splits·that·the·supported·subdivision·schemes·collectively·require,·i.e.·those</span></div> | ||
157 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//··listed·in·Sdc::SplitType.··Note·the·virtual·requirements·expected·of·the·subclasses·in·the·list</span></div> | ||
158 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="comment">//··of·protected·methods·--·they·differ·mainly·in·the·topology·that·is·created·in·the·child·Level</span></div> | ||
159 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//··and·not·the·propagation·of·tags·through·refinement,·subdivision·of·sharpness·values·or·the</span></div> | ||
160 | <div·class="line"><a·id="l0005 | 156 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">//··feature-adaptive·refinement.</span></div> |
161 | <div·class="line"><a·id="l000 | 157 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//</span></div> |
158 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">class·</span>SparseSelector·{</div> | ||
159 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> | ||
162 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="comment">//··At·a·high·level,·all·that·is·necessary·in·terms·of·interface·is·to·construct,·initialize</span></div> | ||
163 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="comment">//··(linking·the·two·levels),·optionally·select·components·for·sparse·refinement·(via·use·of·the</span></div> | ||
164 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="comment">//··SparseSelector)·and·call·the·refine()·method.··This·usage·is·expected·of·Far::TopologyRefiner.</span></div> | ||
165 | <div·class="line"><a·id="l000 | 160 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">public</span>:</div> |
166 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="comment">//··Since·we·really·want·this·class·to·be·restricted·from·public·access·eventually,·all·methods</span></div> | ||
167 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="comment">//··begin·with·lower·case·(as·is·the·convention·for·protected·methods)·and·the·list·of·friends</span></div> | ||
168 | <div·class="line"><a·id="l0006 | 161 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····SparseSelector(Refinement&·refine)·:·_refine(&refine),·_selected(false)·{·}</div> |
162 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····~SparseSelector()·{·}</div> | ||
163 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | ||
164 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keywordtype">void</span>········setRefinement(Refinement&·refine)·{·_refine·=·&refine;·}</div> | ||
165 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····Refinement&·getRefinement()<span·class="keyword">·const·············</span>{·<span·class="keywordflow">return</span>·*_refine;·}</div> | ||
166 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | ||
167 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<span·class="keywordtype">bool</span>·isSelectionEmpty()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·!_selected;·}</div> | ||
168 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | ||
169 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="comment">//</span></div> | 169 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="comment">//</span></div> |
170 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="comment">//··Methods·for·selecting·(and·marking)·components·for·refinement.··All·component·indices</span></div> | ||
171 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="comment">//··refer·to·components·in·the·parent:</span></div> | ||
170 | <div·class="line"><a·id="l000 | 172 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="comment">//</span></div> |
173 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keywordtype">void</span>·selectVertex(<a·class="code·hl_typedef"·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·pVertex);</div> | ||
174 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keywordtype">void</span>·selectEdge(··<a·class="code·hl_typedef"·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·pEdge);</div> | ||
175 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<span·class="keywordtype">void</span>·selectFace(··<a·class="code·hl_typedef"·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·pFace);</div> | ||
171 | <div·class="line"><a·id="l0007 | 176 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> |
172 | <div·class="line"><a·id="l0007 | 177 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="keyword">private</span>:</div> |
178 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····SparseSelector()·:·_refine(0),·_selected(false)·{·}</div> | ||
173 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····Refinement(Level·<span·class="keyword">const</span>·&·parent,·Level·&·child,·Sdc::Options·<span·class="keyword">const</span>&·schemeOptions);</div> | ||
174 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keyword">virtual</span>·~Refinement();</div> | ||
175 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | ||
176 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····Level·<span·class="keyword">const</span>&·parent()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·*_parent;·}</div> | ||
177 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····Level·<span·class="keyword">const</span>&·child()<span·class="keyword">·const··</span>{·<span·class="keywordflow">return</span>·*_child;·}</div> | ||
178 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····Level&·······child()········{·<span·class="keywordflow">return</span>·*_child;·}</div> | ||
179 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> | 179 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> |
180 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<a·class="code·hl_enumeration"·href="a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887b">Sdc::Split</a>·getSplitType()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_splitType;·}</div> | ||
181 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····<span·class="keywordtype">int</span>·getRegularFaceSize()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_regFaceSize;·}</div> | ||
182 | <div·class="line"><a·id="l000 | 180 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keywordtype">bool</span>·wasVertexSelected(<a·class="code·hl_typedef"·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·pVertex)<span·class="keyword">·const·</span>{·<span[·...·truncated·by·diffoscope;·len:·90,·SHA:·ae3ba8ef7fafcce56b9778c75c2cdbc0dec82c26cd8b862ef1cc2bdd89fe7c4f·...·];·}</div> |
181 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····<span·class="keywordtype">bool</span>·wasEdgeSelected(··<a·class="code·hl_typedef"·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·pEdge)<span·class="keyword">·const···</span>{·<span·class="keywordflow">return</span>·_refine->getParentEdgeSparseTag(pEdge)._selected;·}</div> | ||
182 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<span·class="keywordtype">bool</span>·wasFaceSelected(··<a·class="code·hl_typedef"·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·pFace)<span·class="keyword">·const···</span>{·<span·class="keywordflow">return</span>·_refine->getParentFaceSparseTag(pFace)._selected;·}</div> | ||
183 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | 183 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> |
Max diff block lines reached; 2841/94720 bytes (3.00%) of diff not shown. |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | re | 5 | sparseSelector.h |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·2014·DreamWorks·Animation·LLC. | 8 | 2//·Copyright·2014·DreamWorks·Animation·LLC. |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
Offset 23, 545 lines modified | Offset 23, 111 lines modified | ||
23 | 17// | 23 | 17// |
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24#ifndef·OPENSUBDIV3_VTR_R | 30 | 24#ifndef·OPENSUBDIV3_VTR_SPARSE_SELECTOR_H |
31 | 25#define·OPENSUBDIV3_VTR_R | 31 | 25#define·OPENSUBDIV3_VTR_SPARSE_SELECTOR_H |
32 | 26 | 32 | 26 |
33 | 27#include·"../version.h" | 33 | 27#include·"../version.h" |
34 | 28 | 34 | 28 |
35 | 29#include·"../sdc/types.h" | ||
36 | 30#include·"../sdc/options.h" | ||
37 | 35 | 29#include·"../vtr/types.h" | |
38 | 3 | 36 | 30#include·"../vtr/refinement.h" |
37 | 31 | ||
38 | 32#include·<vector> | ||
39 | 33 | 39 | 33 |
40 | 34#include·<vector> | ||
41 | 35 | ||
42 | 36// | ||
43 | 37//·Declaration·for·the·main·refinement·class·(Refinement)·and·its·pre- | ||
44 | requisites: | ||
45 | 38// | ||
46 | 3 | 40 | 34namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ |
47 | 41 | 35namespace·OPENSUBDIV_VERSION·{ | |
48 | 42 | 36 | |
49 | 43 | 37namespace·Vtr·{ | |
50 | 44 | 38namespace·internal·{ | |
51 | 44 | ||
52 | 45class·FVarRefinement; | ||
53 | 45 | 39 | |
46 | 40// | ||
47 | 41//·SparseSelector: | ||
48 | 42//·Class·supporting·"selection"·of·components·in·a·Level·for·sparse | ||
49 | Refinement. | ||
50 | 43//·The·term·"selection"·here·implies·interest·in·the·limit·for·that | ||
51 | component,·i.e. | ||
52 | 44//·the·limit·point·for·a·selected·vertex,·the·limit·patch·for·a·face,·etc.·So | ||
53 | this | ||
54 | 45//·class·is·responsible·for·ensuring·that·all·neighboring·components·required | ||
55 | to | ||
56 | 46//·support·the·limit·of·those·selected·are·included·in·the·refinement. | ||
54 | 47// | 57 | 47// |
58 | 48//·This·class·is·associated·with·(and·constructed·given)·a·Refinement·and·its | ||
59 | role | ||
60 | 49//·is·to·initialize·that·Refinement·instance·for·eventual·sparse·refinement. | ||
61 | So·it | ||
62 | 50//·is·a·friend·of·and·expected·to·modify·the·Refinement·as·part·of·the | ||
63 | selection. | ||
64 | 51//·Given·its·simplicity·and·scope·it·may·be·worth·nesting·it·in·Vtr:: | ||
55 | 48//·Refinement: | ||
56 | 49//·A·refinement·is·a·mapping·between·two·levels·--·relating·the·components·in | ||
57 | the·original | ||
58 | 50//·(parent)·level·to·the·one·refined·(child).·The·refinement·may·be·complete | ||
59 | (uniform)·or·sparse | ||
60 | 51//·(adaptive·or·otherwise·selective),·so·not·all·components·in·the·parent | ||
61 | level·will·spawn | ||
62 | 52//·components·in·the·child·level. | ||
63 | 53// | ||
64 | 54//·Refinement·is·an·abstract·class·and·expects·subclasses·corresponding·to | ||
65 | the·different·types | ||
66 | 55//·of·topological·splits·that·the·supported·subdivision·schemes·collectively | ||
67 | require,·i.e.·those | ||
68 | 56//·listed·in·Sdc::SplitType.·Note·the·virtual·requirements·expected·of·the | ||
69 | subclasses·in·the·list | ||
70 | 57//·of·protected·methods·--·they·differ·mainly·in·the·topology·that·is·created | ||
71 | in·the·child·Level | ||
72 | 58//·and·not·the·propagation·of·tags·through·refinement,·subdivision·of | ||
73 | sharpness·values·or·the | ||
74 | 59//·treatment·of·face-varying·data.·The·primary·subclasses·are·QuadRefinement | ||
75 | 65 | Refinement. | |
66 | 52// | ||
67 | 53//·While·all·three·component·types·--·vertices,·edges·and·faces·--·can·be | ||
68 | selected, | ||
69 | 54//·only·selection·of·faces·is·currently·used·and·actively·supported·as·part | ||
70 | of·the | ||
71 | 55//·feature-adaptive·refinement. | ||
76 | 72 | 56// | |
73 | 57class·SparseSelector·{ | ||
74 | 58 | ||
75 | 59public: | ||
76 | 60·SparseSelector(Refinement&·refine)·:·_refine(&refine),·_selected(false)·{·} | ||
77 | 61·~SparseSelector()·{·} | ||
78 | 62 | ||
79 | 63·void·setRefinement(Refinement&·refine)·{·_refine·=·&refine;·} | ||
80 | 64·Refinement&·getRefinement()·const·{·return·*_refine;·} | ||
81 | 65 | ||
82 | 66·bool·isSelectionEmpty()·const·{·return·!_selected;·} | ||
83 | 67 | ||
77 | 61//·At·a·high·level,·all·that·is·necessary·in·terms·of·interface·is·to | ||
78 | construct,·initialize | ||
79 | 62//·(linking·the·two·levels),·optionally·select·components·for·sparse | ||
80 | refinement·(via·use·of·the | ||
81 | 63//·SparseSelector)·and·call·the·refine()·method.·This·usage·is·expected·of | ||
82 | Far::TopologyRefiner. | ||
83 | 64// | ||
84 | 65//·Since·we·really·want·this·class·to·be·restricted·from·public·access | ||
85 | eventually,·all·methods | ||
86 | 66//·begin·with·lower·case·(as·is·the·convention·for·protected·methods)·and·the | ||
87 | list·of·friends | ||
88 | 67//·will·be·maintained·more·strictly. | ||
89 | 68// | 84 | 68·// |
90 | 69class·Refinement·{ | ||
91 | 70 | ||
92 | 71public: | ||
93 | 72·Refinement(Level·const·&·parent,·Level·&·child,·Sdc::Options·const& | ||
94 | schemeOptions); | ||
95 | 73·virtual·~Refinement(); | ||
96 | 74 | ||
97 | 75·Level·const&·parent()·const·{·return·*_parent;·} | ||
98 | 76·Level·const&·child()·const·{·return·*_child;·} | ||
99 | 85 | 69·//·Methods·for·selecting·(and·marking)·components·for·refinement.·All | |
Max diff block lines reached; 19167/24448 bytes (78.40%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/vtr/ | 8 | <title>OpenSubdiv:·opensubdiv/vtr/level.h·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 89, 23 lines modified | Offset 89, 23 lines modified | ||
89 | </div> | 89 | </div> |
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#namespaces">Namespaces</a>··</div> | 94 | <a·href="#namespaces">Namespaces</a>··</div> |
95 | ··<div·class="headertitle"><div·class="title"> | 95 | ··<div·class="headertitle"><div·class="title">level.h·File·Reference</div></div> |
96 | </div><!--header--> | 96 | </div><!--header--> |
97 | <div·class="contents"> | 97 | <div·class="contents"> |
98 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 98 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
99 | <code>#include·"<a·class="el"·href="a01492_source.html">../sdc/types.h</a>"</code><br·/> | 99 | <code>#include·"<a·class="el"·href="a01492_source.html">../sdc/types.h</a>"</code><br·/> |
100 | <code>#include·"<a·class="el"·href="a007 | 100 | <code>#include·"<a·class="el"·href="a00779_source.html">../sdc/crease.h</a>"</code><br·/> |
101 | <code>#include·"<a·class="el"·href="a00773_source.html">../sdc/options.h</a>"</code><br·/> | ||
101 | <code>#include·"<a·class="el"·href="a01495_source.html">../vtr/types.h</a>"</code><br·/> | 102 | <code>#include·"<a·class="el"·href="a01495_source.html">../vtr/types.h</a>"</code><br·/> |
103 | <code>#include·<algorithm></code><br·/> | ||
102 | <code>#include·"<a·class="el"·href="a00752_source.html">../vtr/refinement.h</a>"</code><br·/> | ||
103 | <code>#include·"<a·class="el"·href="a00761_source.html">../vtr/fvarLevel.h</a>"</code><br·/> | ||
104 | <code>#include·<vector></code><br·/> | 104 | <code>#include·<vector></code><br·/> |
105 | <code>#include·<cassert></code><br·/> | 105 | <code>#include·<cassert></code><br·/> |
106 | <code>#include·<cstring></code><br·/> | 106 | <code>#include·<cstring></code><br·/> |
107 | </div> | 107 | </div> |
108 | <p><a·href="a00755_source.html">Go·to·the·source·code·of·this·file.</a></p> | 108 | <p><a·href="a00755_source.html">Go·to·the·source·code·of·this·file.</a></p> |
109 | <table·class="memberdecls"> | 109 | <table·class="memberdecls"> |
110 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 110 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
Offset 118, 13 lines modified | Offset 118, 13 lines modified | ||
118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
119 | </table> | 119 | </table> |
120 | </div><!--·contents·--> | 120 | </div><!--·contents·--> |
121 | </div><!--·doc-content·--> | 121 | </div><!--·doc-content·--> |
122 | <!--·start·footer·part·--> | 122 | <!--·start·footer·part·--> |
123 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 123 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
124 | ··<ul> | 124 | ··<ul> |
125 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_bd5473d7d5841d48919aaa9ad0cb1f9b.html">vtr</a></li><li·class="navelem"><a·class="el"·href="a00755.html"> | 125 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_bd5473d7d5841d48919aaa9ad0cb1f9b.html">vtr</a></li><li·class="navelem"><a·class="el"·href="a00755.html">level.h</a></li> |
126 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 126 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
127 | ··</ul> | 127 | ··</ul> |
128 | </div> | 128 | </div> |
129 | </body> | 129 | </body> |
130 | </html> | 130 | </html> |
Offset 1, 27 lines modified | Offset 1, 27 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | 6 | level.h·File·Reference | |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" | 8 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" |
9 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8c_\x8r_\x8e_\x8a_\x8s_\x8e_\x8._\x8h" | 9 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8c_\x8r_\x8e_\x8a_\x8s_\x8e_\x8._\x8h" |
10 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8o_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s_\x8._\x8h" | ||
10 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" | 11 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" |
12 | #include·<algorithm> | ||
11 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8r_\x8e_\x8f_\x8i_\x8n_\x8e_\x8m_\x8e_\x8n_\x8t_\x8._\x8h" | ||
12 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8f_\x8v_\x8a_\x8r_\x8L_\x8e_\x8v_\x8e_\x8l_\x8._\x8h" | ||
13 | #include·<vector> | 13 | #include·<vector> |
14 | #include·<cassert> | 14 | #include·<cassert> |
15 | #include·<cstring> | 15 | #include·<cstring> |
16 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 16 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
17 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 17 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
18 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 18 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
19 | 19 | ||
20 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 20 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
21 | 21 | ||
22 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8V_\x8t_\x8r | 22 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8V_\x8t_\x8r |
23 | 23 | ||
24 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 24 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
25 | ····*·_\x8v_\x8t_\x8r | 25 | ····*·_\x8v_\x8t_\x8r |
26 | ····*·_\x8 | 26 | ····*·_\x8l_.e_.v_.e_.l_\x8._\x8h |
27 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 27 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/vtr/ | 8 | <title>OpenSubdiv:·opensubdiv/vtr/level.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 15 lines modified | Offset 92, 15 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title"> | 98 | ··<div·class="headertitle"><div·class="title">level.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="a00755.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> | 101 | <a·href="a00755.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div> | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
Offset 118, 115 lines modified | Offset 118, 882 lines modified | ||
118 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div> | 118 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div> |
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_VTR_ | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_VTR_LEVEL_H</span></div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_VTR_ | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_VTR_LEVEL_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·"../version.h"</span></div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·"../version.h"</span></div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../sdc/types.h"</span></div> | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../sdc/types.h"</span></div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../sdc/crease.h"</span></div> | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../sdc/crease.h"</span></div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·"../sdc/options.h"</span></div> | ||
132 | <div·class="line"><a·id="l0003 | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·"../vtr/types.h"</span></div> |
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·"../vtr/refinement.h"</span></div> | ||
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·"../vtr/fvarLevel.h"</span></div> | ||
135 | <div·class="line"><a·id="l0003 | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·<algorithm></span></div> | ||
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·<vector></span></div> | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·<vector></span></div> |
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#include·<cassert></span></div> | 137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#include·<cassert></span></div> |
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#include·<cstring></span></div> | 138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#include·<cstring></span></div> |
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | 139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | 140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> | 141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> | 142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | 143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Vtr·{</div> | 144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Vtr·{</div> |
145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">namespace·</span>internal·{</div> | 145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">namespace·</span>internal·{</div> | Diff chunk too large, falling back to line-by-line diff (834 lines added, 72 lines removed) |
146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | 146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> |
147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class=" | 147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">class·</span>Refinement;</div> |
148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class=" | 148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">class·</span>TriRefinement;</div> |
149 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class=" | 149 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">class·</span>QuadRefinement;</div> |
150 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class=" | 150 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">class·</span>FVarRefinement;</div> |
151 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class=" | 151 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">class·</span>FVarLevel;</div> |
152 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span> | 152 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
153 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="comment">// | 153 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="comment">//</span></div> |
154 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="comment">//</span></div> | 154 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="comment">//··Level:</span></div> |
155 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="comment">//·· | 155 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="comment">//······A·refinement·level·includes·a·vectorized·representation·of·the·topology</span></div> |
156 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">//·· | 156 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">//··for·a·particular·subdivision·level.··The·topology·is·"complete"·in·that·any</span></div> |
157 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//·· | 157 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//··level·can·be·used·as·the·base·level·of·another·subdivision·hierarchy·and·can</span></div> |
158 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="comment">//·· | 158 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="comment">//··be·considered·a·complete·mesh·independent·of·its·ancestors.··It·currently</span></div> |
159 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//</span></div> | 159 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//··does·contain·a·"depth"·member·--·as·some·inferences·can·then·be·made·about</span></div> |
160 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class=" | 160 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="comment">//··the·topology·(i.e.·all·quads·or·all·tris·if·not·level·0).</span></div> |
161 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class=" | 161 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="comment">//</span></div> |
162 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span> | 162 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="comment">//··This·class·is·intended·for·private·use·within·the·library.··There·are·still</span></div> |
163 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>···· | 163 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="comment">//··opportunities·to·specialize·levels·--·e.g.·those·supporting·N-sided·faces·vs</span></div> |
164 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | 164 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="comment">//··those·that·are·purely·quads·or·tris·--·so·we·prefer·to·insulate·it·from·public</span></div> |
165 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span> | 165 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="comment">//··access.</span></div> |
166 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span> | 166 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="comment">//</span></div> |
167 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>···· | 167 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="comment">//··The·representation·of·topology·here·is·to·store·six·topological·relationships</span></div> |
168 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | 168 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="comment">//··in·tables·of·integers.··Each·is·stored·in·its·own·array(s)·so·the·result·is</span></div> |
169 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span> | 169 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="comment">//··a·SOA·representation·of·the·topology.··The·six·relations·are:</span></div> |
170 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span> | 170 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="comment">//</span></div> |
171 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | 171 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="comment">//······-·face-verts:··vertices·incident/comprising·a·face</span></div> |
172 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | 172 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="comment">//······-·face-edges:··edges·incident·a·face</span></div> |
173 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span> | 173 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="comment">//······-·edge-verts:··vertices·incident/comprising·an·edge</span></div> |
174 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span> | 174 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="comment">//······-·edge-faces:··faces·incident·an·edge</span></div> |
175 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | 175 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="comment">//······-·vert-faces:··faces·incident·a·vertex</span></div> |
176 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span> | 176 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="comment">//······-·vert-edges:··edges·incident·a·vertex</span></div> |
177 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span> | 177 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="comment">//</span></div> |
178 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span> | 178 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="comment">//··There·is·some·redundancy·here·but·the·intent·is·not·that·this·be·a·minimal</span></div> |
179 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span> | 179 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="comment">//··representation,·the·intent·is·that·it·be·amenable·to·refinement.··Classes·in</span></div> |
180 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span> | 180 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="comment">//··the·Far·layer·essentially·store·5·of·these·6·in·a·permuted·form·--·we·add</span></div> |
181 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span> | 181 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="comment">//··the·face-edges·here·to·simplify·refinement.</span></div> |
182 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span> | 182 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="comment">//</span></div> |
183 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>· | 183 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> |
184 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> | 184 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="keyword">class·</span>Level·{</div> |
185 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>· | 185 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> |
186 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span> | 186 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="keyword">public</span>:</div> |
187 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class=" | 187 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="comment">//</span></div> |
188 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<span·class=" | 188 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<span·class="comment">//··Simple·nested·types·to·hold·the·tags·for·each·component·type·--·some·of</span></div> |
189 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> | 189 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<span·class="comment">//··which·are·user-specified·features·(e.g.·whether·a·face·is·a·hole·or·not)</span></div> |
190 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class=" | 190 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····<span·class="comment">//··while·others·indicate·the·topological·nature·of·the·component,·how·it</span></div> |
191 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<span·class="comment">//</span></div> | 191 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<span·class="comment">//··is·affected·by·creasing·in·its·neighborhood,·etc.</span></div> |
192 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="comment">// | 192 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="comment">//</span></div> |
193 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<span·class="comment">//·· | 193 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<span·class="comment">//··Most·of·these·properties·are·passed·down·to·child·components·during</span></div> |
194 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····<span·class="comment">//</span></div> | 194 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····<span·class="comment">//··refinement,·but·some·--·notably·the·designation·of·a·component·as·semi-</span></div> |
195 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>···· | 195 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····<span·class="comment">//··sharp·--·require·re-determination·as·sharpness·values·are·reduced·at·each</span></div> |
196 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> | 196 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>····<span·class="comment">//··level.</span></div> |
197 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>···· | 197 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····<span·class="comment">//</span></div> |
198 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>···· | 198 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····<span·class="keyword">struct·</span>VTag·{</div> |
199 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> | 199 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>········VTag()·{·}</div> |
200 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>· | 200 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> |
201 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>···· | 201 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>········<span·class="comment">//··When·cleared,·the·VTag·ALMOST·represents·a·smooth,·regular,·interior</span></div> |
202 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> | 202 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>········<span·class="comment">//··vertex·--·the·Type·enum·requires·a·bit·be·explicitly·set·for·Smooth,</span></div> |
203 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>····<span·class="comment">//·· | 203 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>········<span·class="comment">//··so·that·must·be·done·explicitly·if·desired·on·initialization.</span></div> |
204 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····<span·class=" | 204 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>········<span·class="keywordtype">void</span>·clear()·{·std::memset((<span·class="keywordtype">void</span>*)·<span·class="keyword">this</span>,·0,·<span·class="keyword">sizeof</span>(VTag));·}</div> |
205 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>· | 205 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div> |
206 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····<span·class=" | 206 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>········<span·class="keyword">typedef</span>·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">short</span>·VTagSize;</div> |
207 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>· | 207 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div> |
208 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>···· | 208 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>········VTagSize·_nonManifold·····:·1;··<span·class="comment">//·fixed</span></div> |
209 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span> | 209 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>········VTagSize·_xordinary·······:·1;··<span·class="comment">//·fixed</span></div> |
Max diff block lines reached; 3522/173158 bytes (2.03%) of diff not shown. |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | 5 | level.h | |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·2014·DreamWorks·Animation·LLC. | 8 | 2//·Copyright·2014·DreamWorks·Animation·LLC. |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
Offset 23, 118 lines modified | Offset 23, 986 lines modified | ||
23 | 17// | 23 | 17// |
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24#ifndef·OPENSUBDIV3_VTR_ | 30 | 24#ifndef·OPENSUBDIV3_VTR_LEVEL_H |
31 | 25#define·OPENSUBDIV3_VTR_ | 31 | 25#define·OPENSUBDIV3_VTR_LEVEL_H |
32 | 26 | 32 | 26 |
33 | 27#include·"../version.h" | 33 | 27#include·"../version.h" |
34 | 28 | 34 | 28 |
35 | 29#include·"../sdc/types.h" | 35 | 29#include·"../sdc/types.h" |
36 | 30#include·"../sdc/crease.h" | 36 | 30#include·"../sdc/crease.h" |
37 | 31#include·"../sdc/options.h" | ||
37 | 3 | 38 | 32#include·"../vtr/types.h" |
39 | 33 | ||
40 | 34#include·<algorithm> | ||
38 | 32#include·"../vtr/refinement.h" | ||
39 | 33#include·"../vtr/fvarLevel.h" | ||
40 | 34 | ||
41 | 35#include·<vector> | 41 | 35#include·<vector> |
42 | 36#include·<cassert> | 42 | 36#include·<cassert> |
43 | 37#include·<cstring> | 43 | 37#include·<cstring> |
44 | 38 | 44 | 38 |
45 | 39 | 45 | 39 |
46 | 40namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | 46 | 40namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ |
47 | 41namespace·OPENSUBDIV_VERSION·{ | 47 | 41namespace·OPENSUBDIV_VERSION·{ |
48 | 42 | 48 | 42 |
49 | 43namespace·Vtr·{ | 49 | 43namespace·Vtr·{ |
50 | 44namespace·internal·{ | 50 | 44namespace·internal·{ | Diff chunk too large, falling back to line-by-line diff (930 lines added, 77 lines removed) |
51 | 45 | 51 | 45 |
52 | 46 | 52 | 46class·Refinement; |
53 | 47 | 53 | 47class·TriRefinement; |
54 | 48 | 54 | 48class·QuadRefinement; |
55 | 49 | 55 | 49class·FVarRefinement; |
56 | 50 | 56 | 50class·FVarLevel; |
57 | 51 | 57 | 51 |
58 | 52// | 58 | 52// |
59 | 53// | 59 | 53//·Level: |
60 | 54//· | 60 | 54//·A·refinement·level·includes·a·vectorized·representation·of·the·topology |
61 | 55//· | 61 | 55//·for·a·particular·subdivision·level.·The·topology·is·"complete"·in·that·any |
62 | 56//· | 62 | 56//·level·can·be·used·as·the·base·level·of·another·subdivision·hierarchy·and |
63 | 63 | can | |
64 | 57//· | 64 | 57//·be·considered·a·complete·mesh·independent·of·its·ancestors.·It·currently |
65 | 58// | 65 | 58//·does·contain·a·"depth"·member·--·as·some·inferences·can·then·be·made·about |
66 | 59 | 66 | 59//·the·topology·(i.e.·all·quads·or·all·tris·if·not·level·0). |
67 | 60 | 67 | 60// |
68 | 61 | 68 | 61//·This·class·is·intended·for·private·use·within·the·library.·There·are·still |
69 | chi | 69 | 62//·opportunities·to·specialize·levels·--·e.g.·those·supporting·N-sided·faces |
70 | 70 | vs | |
71 | 63 | 71 | 63//·those·that·are·purely·quads·or·tris·--·so·we·prefer·to·insulate·it·from |
72 | 72 | public | |
73 | 6 | 73 | 64//·access. |
74 | 74 | 65// | |
75 | 66· | 75 | 66//·The·representation·of·topology·here·is·to·store·six·topological |
76 | 76 | relationships | |
77 | 6 | 77 | 67//·in·tables·of·integers.·Each·is·stored·in·its·own·array(s)·so·the·result·is |
78 | 6 | 78 | 68//·a·SOA·representation·of·the·topology.·The·six·relations·are: |
79 | 79 | 69// | |
80 | 7 | 80 | 70//·-·face-verts:·vertices·incident/comprising·a·face |
81 | 7 | 81 | 71//·-·face-edges:·edges·incident·a·face |
82 | 7 | 82 | 72//·-·edge-verts:·vertices·incident/comprising·an·edge |
83 | 7 | 83 | 73//·-·edge-faces:·faces·incident·an·edge |
84 | 7 | 84 | 74//·-·vert-faces:·faces·incident·a·vertex |
85 | 7 | 85 | 75//·-·vert-edges:·edges·incident·a·vertex |
86 | 7 | 86 | 76// |
87 | 7 | 87 | 77//·There·is·some·redundancy·here·but·the·intent·is·not·that·this·be·a·minimal |
88 | 7 | 88 | 78//·representation,·the·intent·is·that·it·be·amenable·to·refinement.·Classes |
89 | 89 | in | |
90 | 90 | 79//·the·Far·layer·essentially·store·5·of·these·6·in·a·permuted·form·--·we·add | |
91 | 8 | 91 | 80//·the·face-edges·here·to·simplify·refinement. |
92 | 8 | 92 | 81// |
93 | 8 | 93 | 82 |
94 | 8 | 94 | 83class·Level·{ |
95 | 8 | 95 | 84 |
96 | 8 | 96 | 85public: |
97 | 8 | 97 | 86·// |
98 | 8 | 98 | 87·//·Simple·nested·types·to·hold·the·tags·for·each·component·type·--·some·of |
99 | 99 | 88·//·which·are·user-specified·features·(e.g.·whether·a·face·is·a·hole·or·not) | |
100 | 100 | 89·//·while·others·indicate·the·topological·nature·of·the·component,·how·it | |
101 | 9 | 101 | 90·//·is·affected·by·creasing·in·its·neighborhood,·etc. |
102 | 9 | 102 | 91·// |
103 | 9 | 103 | 92·//·Most·of·these·properties·are·passed·down·to·child·components·during |
104 | 9 | 104 | 93·//·refinement,·but·some·--·notably·the·designation·of·a·component·as·semi- |
105 | 9 | 105 | 94·//·sharp·--·require·re-determination·as·sharpness·values·are·reduced·at·each |
106 | 9 | 106 | 95·//·level. |
107 | 9 | 107 | 96·// |
108 | 9 | 108 | 97·struct·VTag·{ |
109 | 109 | 98·VTag()·{·} | |
110 | 110 | 99 | |
111 | 10 | 111 | 100·//·When·cleared,·the·VTag·ALMOST·represents·a·smooth,·regular,·interior |
112 | vertex | 112 | 101·//·vertex·--·the·Type·enum·requires·a·bit·be·explicitly·set·for·Smooth, |
113 | 10 | 113 | 102·//·so·that·must·be·done·explicitly·if·desired·on·initialization. |
114 | 114 | 103·void·clear()·{·std::memset((void*)·this,·0,·sizeof(VTag));·} | |
115 | 104 | 115 | 104 |
116 | 105· | 116 | 105·typedef·unsigned·short·VTagSize; |
117 | 106 | 117 | 106 |
118 | 107· | 118 | 107·VTagSize·_nonManifold·:·1;·//·fixed |
119 | 108 | 119 | 108·VTagSize·_xordinary·:·1;·//·fixed |
120 | 109 | 120 | 109·VTagSize·_boundary·:·1;·//·fixed |
121 | 110 | 121 | 110·VTagSize·_corner·:·1;·//·fixed |
122 | 111 | 122 | 111·VTagSize·_infSharp·:·1;·//·fixed |
123 | 112 | 123 | 112·VTagSize·_semiSharp·:·1;·//·variable |
124 | 113 | 124 | 113·VTagSize·_semiSharpEdges·:·1;·//·variable |
125 | 114 | 125 | 114·VTagSize·_rule·:·4;·//·variable·when·_semiSharp |
126 | 115 | 126 | 115 |
127 | 116 | 127 | 116·//·These·next·to·tags·are·complementary·--·the·"incomplete"·tag·is·only |
128 | 117 | 128 | 117·//·relevant·for·refined·levels·while·the·"incident·an·irregular·face"·tag |
129 | 118·//·is·only·relevant·for·the·base·level.·They·could·be·combined·as·both | ||
130 | 119·//·indicate·"no·full·regular·ring"·around·a·vertex | ||
131 | 120·VTagSize·_incomplete·:·1;·//·variable·only·set·in·refined·levels | ||
132 | 121·VTagSize·_incidIrregFace·:·1;·//·variable·only·set·in·base·level | ||
Max diff block lines reached; 1989/43554 bytes (4.57%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/vtr/ | 8 | <title>OpenSubdiv:·opensubdiv/vtr/fvarRefinement.h·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 89, 23 lines modified | Offset 89, 23 lines modified | ||
89 | </div> | 89 | </div> |
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#namespaces">Namespaces</a>··</div> | 94 | <a·href="#namespaces">Namespaces</a>··</div> |
95 | ··<div·class="headertitle"><div·class="title"> | 95 | ··<div·class="headertitle"><div·class="title">fvarRefinement.h·File·Reference</div></div> |
96 | </div><!--header--> | 96 | </div><!--header--> |
97 | <div·class="contents"> | 97 | <div·class="contents"> |
98 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 98 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
99 | <code>#include·"<a·class="el"·href="a01492_source.html">../sdc/types.h</a>"</code><br·/> | 99 | <code>#include·"<a·class="el"·href="a01492_source.html">../sdc/types.h</a>"</code><br·/> |
100 | <code>#include·"<a·class="el"·href="a007 | 100 | <code>#include·"<a·class="el"·href="a00779_source.html">../sdc/crease.h</a>"</code><br·/> |
101 | <code>#include·"<a·class="el"·href="a00773_source.html">../sdc/options.h</a>"</code><br·/> | ||
102 | <code>#include·"<a·class="el"·href="a01495_source.html">../vtr/types.h</a>"</code><br·/> | 101 | <code>#include·"<a·class="el"·href="a01495_source.html">../vtr/types.h</a>"</code><br·/> |
103 | <code>#include·& | 102 | <code>#include·"<a·class="el"·href="a00749_source.html">../vtr/refinement.h</a>"</code><br·/> |
103 | <code>#include·"<a·class="el"·href="a00761_source.html">../vtr/fvarLevel.h</a>"</code><br·/> | ||
104 | <code>#include·<vector></code><br·/> | 104 | <code>#include·<vector></code><br·/> |
105 | <code>#include·<cassert></code><br·/> | 105 | <code>#include·<cassert></code><br·/> |
106 | <code>#include·<cstring></code><br·/> | 106 | <code>#include·<cstring></code><br·/> |
107 | </div> | 107 | </div> |
108 | <p><a·href="a00758_source.html">Go·to·the·source·code·of·this·file.</a></p> | 108 | <p><a·href="a00758_source.html">Go·to·the·source·code·of·this·file.</a></p> |
109 | <table·class="memberdecls"> | 109 | <table·class="memberdecls"> |
110 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 110 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
Offset 118, 13 lines modified | Offset 118, 13 lines modified | ||
118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
119 | </table> | 119 | </table> |
120 | </div><!--·contents·--> | 120 | </div><!--·contents·--> |
121 | </div><!--·doc-content·--> | 121 | </div><!--·doc-content·--> |
122 | <!--·start·footer·part·--> | 122 | <!--·start·footer·part·--> |
123 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 123 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
124 | ··<ul> | 124 | ··<ul> |
125 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_bd5473d7d5841d48919aaa9ad0cb1f9b.html">vtr</a></li><li·class="navelem"><a·class="el"·href="a00758.html"> | 125 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_bd5473d7d5841d48919aaa9ad0cb1f9b.html">vtr</a></li><li·class="navelem"><a·class="el"·href="a00758.html">fvarRefinement.h</a></li> |
126 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 126 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
127 | ··</ul> | 127 | ··</ul> |
128 | </div> | 128 | </div> |
129 | </body> | 129 | </body> |
130 | </html> | 130 | </html> |
Offset 1, 27 lines modified | Offset 1, 27 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | 6 | fvarRefinement.h·File·Reference | |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" | 8 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" |
9 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8c_\x8r_\x8e_\x8a_\x8s_\x8e_\x8._\x8h" | 9 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8c_\x8r_\x8e_\x8a_\x8s_\x8e_\x8._\x8h" |
10 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8o_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s_\x8._\x8h" | ||
11 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" | 10 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" |
12 | #include· | 11 | #include·"_.._.._./_.v_.t_.r_./_.r_.e_.f_.i_.n_.e_.m_.e_.n_.t_.._.h" |
12 | #include·"_\x8._\x8._\x8/_\x8v_\x8t_\x8r_\x8/_\x8f_\x8v_\x8a_\x8r_\x8L_\x8e_\x8v_\x8e_\x8l_\x8._\x8h" | ||
13 | #include·<vector> | 13 | #include·<vector> |
14 | #include·<cassert> | 14 | #include·<cassert> |
15 | #include·<cstring> | 15 | #include·<cstring> |
16 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 16 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
17 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 17 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
18 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 18 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
19 | 19 | ||
20 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 20 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
21 | 21 | ||
22 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8V_\x8t_\x8r | 22 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8V_\x8t_\x8r |
23 | 23 | ||
24 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 24 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
25 | ····*·_\x8v_\x8t_\x8r | 25 | ····*·_\x8v_\x8t_\x8r |
26 | ····*·_\x8 | 26 | ····*·_\x8f_.v_.a_.r_.R_.e_.f_.i_.n_.e_.m_.e_.n_.t_\x8._\x8h |
27 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 27 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/vtr/ | 8 | <title>OpenSubdiv:·opensubdiv/vtr/fvarRefinement.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 15 lines modified | Offset 92, 15 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title"> | 98 | ··<div·class="headertitle"><div·class="title">fvarRefinement.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="a00758.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> | 101 | <a·href="a00758.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div> | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
Offset 118, 882 lines modified | Offset 118, 115 lines modified | ||
118 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div> | 118 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div> |
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_VTR_ | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_VTR_FVAR_REFINEMENT_H</span></div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_VTR_ | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_VTR_FVAR_REFINEMENT_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·"../version.h"</span></div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·"../version.h"</span></div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../sdc/types.h"</span></div> | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../sdc/types.h"</span></div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../sdc/crease.h"</span></div> | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../sdc/crease.h"</span></div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·"../sdc/options.h"</span></div> | ||
133 | <div·class="line"><a·id="l0003 | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·"../vtr/types.h"</span></div> |
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·"../vtr/refinement.h"</span></div> | ||
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·"../vtr/fvarLevel.h"</span></div> | ||
134 | <div·class="line"><a·id="l0003 | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#include·<algorithm></span></div> | ||
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·<vector></span></div> | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·<vector></span></div> |
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#include·<cassert></span></div> | 137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#include·<cassert></span></div> |
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#include·<cstring></span></div> | 138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#include·<cstring></span></div> |
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | 139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | 140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> | 141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> | 142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | 143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Vtr·{</div> | 144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Vtr·{</div> |
145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">namespace·</span>internal·{</div> | 145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">namespace·</span>internal·{</div> | Diff chunk too large, falling back to line-by-line diff (72 lines added, 834 lines removed) |
146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> | 146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> |
147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class=" | 147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="comment">//</span></div> |
148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class=" | 148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="comment">//··FVarRefinement:</span></div> |
149 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class=" | 149 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="comment">//······A·face-varying·refinement·contains·data·to·support·the·refinement·of·a</span></div> |
150 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class=" | 150 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="comment">//··particular·face-varying·"channel".··Just·as·Refinement·maintains·a·mapping</span></div> |
151 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class=" | 151 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="comment">//··between·the·components·of·a·parent·Level·and·its·child,·the·face-varying</span></div> |
152 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | 152 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="comment">//··analog·maintains·a·mapping·between·the·face-varying·values·of·a·parent</span></div> |
153 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="comment">//</span></div> | 153 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="comment">//··FVarLevel·and·its·child.</span></div> |
154 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="comment">// | 154 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="comment">//</span></div> |
155 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="comment">//·· | 155 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="comment">//··It·turns·out·there·is·little·data·necessary·here,·so·the·class·consists</span></div> |
156 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">//·· | 156 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">//··mainly·of·methods·that·populate·the·child·FVarLevel.··The·mapping·data·in</span></div> |
157 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//·· | 157 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//··the·refinement·between·Levels·serves·most·purposes·and·all·that·is·required</span></div> |
158 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="comment">//·· | 158 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="comment">//··in·addition·is·a·mapping·from·values·in·the·child·FVarLevel·to·the·parent.</span></div> |
159 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">// | 159 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//</span></div> |
160 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class=" | 160 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">class·</span>FVarRefinement·{</div> |
161 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class=" | 161 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">public</span>:</div> |
162 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span> | 162 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····FVarRefinement(Refinement·<span·class="keyword">const</span>&·refinement,·FVarLevel&·parent,·FVarLevel&·child);</div> |
163 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span> | 163 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····~FVarRefinement();</div> |
164 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span> | 164 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> |
165 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="com | 165 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="keywordtype">int</span>·getChildValueParentSource(<a·class="code·hl_typedef"·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·vIndex,·<span·class="keywordtype">int</span>·sibling)<span·class="keyword">·const·</span>{</div> |
166 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="co | 166 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>········<span·class="keywordflow">return</span>·_childValueParentSource[_childFVar.getVertexValueOffset(vIndex,·(<a·class="code·hl_typedef"·href="a00909.html#a97c1e0c5ac33f97e2b73fde56b56c363">LocalIndex</a>)sibling)];</div> |
167 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span> | 167 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····}</div> |
168 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span> | 168 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> |
169 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class=" | 169 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="keywordtype">float</span>·getFractionalWeight(<a·class="code·hl_typedef"·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·pVert,·<a·class="code·hl_typedef"·href="a00909.html#a97c1e0c5ac33f97e2b73fde56b56c363">LocalIndex</a>·p[·...·truncated·by·diffoscope;·len:·8,·SHA:·d5cc6894f4e6d0e4cbac06783d899895e0186a491c08f8c619f1467961561921·...·]</div> |
170 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="com | 170 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······························<a·class="code·hl_typedef"·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·cVert,·<a·class="code·hl_typedef"·href="a00909.html#a97c1e0c5ac33f97e2b73fde56b56c363">LocalIndex</a>·cSibling)·<span·class="keyword">co[·...·truncated·by·diffoscope;·len:·11,·SHA:·fe869070d38b8c2075f712f5fdf76a3f75643438d757911f3e53d276845d4b6f·...·]</div> |
171 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span> | 171 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> |
172 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span> | 172 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
173 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="comment">//·· | 173 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="comment">//··Modifiers·supporting·application·of·the·refinement:</span></div> |
174 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class=" | 174 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keywordtype">void</span>·applyRefinement();</div> |
175 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span> | 175 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> |
176 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class=" | 176 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····<span·class="keywordtype">void</span>·estimateAndAllocateChildValues();</div> |
177 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class=" | 177 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····<span·class="keywordtype">void</span>·populateChildValues();</div> |
178 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class=" | 178 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keywordtype">void</span>·populateChildValuesFromFaceVertices();</div> |
179 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class=" | 179 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<span·class="keywordtype">void</span>·populateChildValuesFromEdgeVertices();</div> |
180 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class=" | 180 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keywordtype">int</span>··populateChildValuesForEdgeVertex(<a·class="code·hl_typedef"·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·cVert,·<a·class="code·hl_typedef"·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">Inde[·...·truncated·by·diffoscope;·len:·13,·SHA:·22755989aafe1bc7510950149b42e660170b5fb09d5f1339937a2ff6888acb75·...·]</div> |
181 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class=" | 181 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····<span·class="keywordtype">void</span>·populateChildValuesFromVertexVertices();</div> |
182 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="com | 182 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<span·class="keywordtype">int</span>··populateChildValuesForVertexVertex(<a·class="code·hl_typedef"·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">Index</a>·cVert,·<a·class="code·hl_typedef"·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">In[·...·truncated·by·diffoscope;·len:·15,·SHA:·266c147714e3ba3196e638ddaec621718500db04cd6c2f381f7ec25e6faefc85·...·]</div> |
183 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | 183 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keywordtype">void</span>·trimAndFinalizeChildValues();</div> |
184 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span> | 184 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> |
185 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> | 185 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="keywordtype">void</span>·propagateEdgeTags();</div> |
186 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="keyword | 186 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<span·class="keywordtype">void</span>·propagateValueTags();</div> |
187 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class=" | 187 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="keywordtype">void</span>·propagateValueCreases();</div> |
188 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<span·class=" | 188 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<span·class="keywordtype">void</span>·reclassifySemisharpValues();</div> |
189 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>· | 189 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> |
190 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span> | 190 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="keyword">private</span>:</div> |
191 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<span·class="comment">// | 191 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<span·class="comment">//</span></div> |
192 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="comment">//</span></div> | 192 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="comment">//··Identify·the·Refinement,·its·Levels·and·assigned·FVarLevels·for·more</span></div> |
193 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<span·class="comment">//·· | 193 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<span·class="comment">//··immediate·access·--·child·FVarLevel·is·non-const·as·it·is·to·be·assigned:</span></div> |
194 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····<span·class="comment">// | 194 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····<span·class="comment">//</span></div> |
195 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>···· | 195 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····Refinement·<span·class="keyword">const</span>·&·_refinement;</div> |
196 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>· | 196 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> |
197 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····<span·class=" | 197 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····Level·<span·class="keyword">const</span>·&·····_parentLevel;</div> |
198 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····<span·class="keyword"> | 198 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····FVarLevel·<span·class="keyword">const</span>·&·_parentFVar;</div> |
199 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>· | 199 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> |
200 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> | 200 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>····Level·<span·class="keyword">const</span>·&·_childLevel;</div> |
201 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>···· | 201 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>····FVarLevel·&···_childFVar;</div> |
202 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>· | 202 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> |
203 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>···· | 203 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>····<span·class="comment">//··When·refinement·is·sparse,·we·need·a·mapping·between·siblings·of·a·vertex</span></div> |
204 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>···· | 204 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····<span·class="comment">//··value·in·the·parent·and·child·--·and·for·some·child·values,·there·will·not</span></div> |
205 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div> | 205 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····<span·class="comment">//··be·a·parent·value,·in·which·case·the·source·of·the·parent·component·will</span></div> |
206 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>···· | 206 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····<span·class="comment">//··be·stored.··So·we·refer·to·the·parent·"source"·rather·than·"sibling":</span></div> |
207 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div> | 207 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>····<span·class="comment">//</span></div> |
208 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>···· | 208 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····std::vector<LocalIndex>·_childValueParentSource;</div> |
209 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span> | 209 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>};</div> |
Max diff block lines reached; 3522/173158 bytes (2.03%) of diff not shown. |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | 5 | fvarRefinement.h | |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·2014·DreamWorks·Animation·LLC. | 8 | 2//·Copyright·2014·DreamWorks·Animation·LLC. |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
Offset 23, 986 lines modified | Offset 23, 118 lines modified | ||
23 | 17// | 23 | 17// |
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24#ifndef·OPENSUBDIV3_VTR_ | 30 | 24#ifndef·OPENSUBDIV3_VTR_FVAR_REFINEMENT_H |
31 | 25#define·OPENSUBDIV3_VTR_ | 31 | 25#define·OPENSUBDIV3_VTR_FVAR_REFINEMENT_H |
32 | 26 | 32 | 26 |
33 | 27#include·"../version.h" | 33 | 27#include·"../version.h" |
34 | 28 | 34 | 28 |
35 | 29#include·"../sdc/types.h" | 35 | 29#include·"../sdc/types.h" |
36 | 30#include·"../sdc/crease.h" | 36 | 30#include·"../sdc/crease.h" |
37 | 31#include·"../sdc/options.h" | ||
38 | 3 | 37 | 31#include·"../vtr/types.h" |
39 | 33 | ||
40 | 3 | 38 | 32#include·"../vtr/refinement.h" |
39 | 33#include·"../vtr/fvarLevel.h" | ||
40 | 34 | ||
41 | 35#include·<vector> | 41 | 35#include·<vector> |
42 | 36#include·<cassert> | 42 | 36#include·<cassert> |
43 | 37#include·<cstring> | 43 | 37#include·<cstring> |
44 | 38 | 44 | 38 |
45 | 39 | 45 | 39 |
46 | 40namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | 46 | 40namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ |
47 | 41namespace·OPENSUBDIV_VERSION·{ | 47 | 41namespace·OPENSUBDIV_VERSION·{ |
48 | 42 | 48 | 42 |
49 | 43namespace·Vtr·{ | 49 | 43namespace·Vtr·{ |
50 | 44namespace·internal·{ | 50 | 44namespace·internal·{ | Diff chunk too large, falling back to line-by-line diff (77 lines added, 930 lines removed) |
51 | 45 | 51 | 45 |
52 | 46 | 52 | 46// |
53 | 47 | 53 | 47//·FVarRefinement: |
54 | 48c | 54 | 48//·A·face-varying·refinement·contains·data·to·support·the·refinement·of·a |
55 | 49cla | 55 | 49//·particular·face-varying·"channel".·Just·as·Refinement·maintains·a·mapping |
56 | 50c | 56 | 50//·between·the·components·of·a·parent·Level·and·its·child,·the·face-varying |
57 | 51 | 57 | 51//·analog·maintains·a·mapping·between·the·face-varying·values·of·a·parent |
58 | 52// | 58 | 52//·FVarLevel·and·its·child. |
59 | 53// | 59 | 53// |
60 | 54//· | 60 | 54//·It·turns·out·there·is·little·data·necessary·here,·so·the·class·consists |
61 | 55//· | 61 | 55//·mainly·of·methods·that·populate·the·child·FVarLevel.·The·mapping·data·in |
62 | 56//· | 62 | 56//·the·refinement·between·Levels·serves·most·purposes·and·all·that·is |
63 | 63 | required | |
64 | 57//· | 64 | 57//·in·addition·is·a·mapping·from·values·in·the·child·FVarLevel·to·the·parent. |
65 | 58// | 65 | 58// |
66 | 59 | 66 | 59class·FVarRefinement·{ |
67 | 60 | 67 | 60public: |
68 | 61 | 68 | 61·FVarRefinement(Refinement·const&·refinement,·FVarLevel&·parent,·FVarLevel& |
69 | 69 | child); | |
70 | 70 | 62·~FVarRefinement(); | |
71 | 63 | 71 | 63 |
72 | 72 | 64·int·getChildValueParentSource(_.I_.n_.d_.e_.x·vIndex,·int·sibling)·const·{ | |
73 | 6 | 73 | 65·return·_childValueParentSource[_childFVar.getVertexValueOffset(vIndex, |
74 | 74 | (_.L_.o_.c_.a_.l_.I_.n_.d_.e_.x)sibling)]; | |
75 | 66 | 75 | 66·} |
76 | 76 | 67 | |
77 | 6 | 77 | 68·float·getFractionalWeight(_.I_.n_.d_.e_.x·pVert,·_.L_.o_.c_.a_.l_.I_.n_.d_.e_.x·pSibling, |
78 | 6 | 78 | 69·_.I_.n_.d_.e_.x·cVert,·_.L_.o_.c_.a_.l_.I_.n_.d_.e_.x·cSibling)·const; |
79 | 79 | 70 | |
80 | 7 | 80 | 71 |
81 | 7 | 81 | 72·//·Modifiers·supporting·application·of·the·refinement: |
82 | 7 | 82 | 73·void·applyRefinement(); |
83 | 7 | 83 | 74 |
84 | 7 | 84 | 75·void·estimateAndAllocateChildValues(); |
85 | 7 | 85 | 76·void·populateChildValues(); |
86 | 7 | 86 | 77·void·populateChildValuesFromFaceVertices(); |
87 | 7 | 87 | 78·void·populateChildValuesFromEdgeVertices(); |
88 | 7 | 88 | 79·int·populateChildValuesForEdgeVertex(_.I_.n_.d_.e_.x·cVert,·_.I_.n_.d_.e_.x·pEdge); |
89 | i | 89 | 80·void·populateChildValuesFromVertexVertices(); |
90 | 90 | 81·int·populateChildValuesForVertexVertex(_.I_.n_.d_.e_.x·cVert,·_.I_.n_.d_.e_.x·pVert); | |
91 | 8 | 91 | 82·void·trimAndFinalizeChildValues(); |
92 | 8 | 92 | 83 |
93 | 8 | 93 | 84·void·propagateEdgeTags(); |
94 | 8 | 94 | 85·void·propagateValueTags(); |
95 | 8 | 95 | 86·void·propagateValueCreases(); |
96 | 8 | 96 | 87·void·reclassifySemisharpValues(); |
97 | 8 | 97 | 88 |
98 | 8 | 98 | 89private: |
99 | 99 | 90·// | |
100 | 100 | 91·//·Identify·the·Refinement,·its·Levels·and·assigned·FVarLevels·for·more | |
101 | 9 | 101 | 92·//·immediate·access·--·child·FVarLevel·is·non-const·as·it·is·to·be·assigned: |
102 | 9 | 102 | 93·// |
103 | 9 | 103 | 94·Refinement·const·&·_refinement; |
104 | 9 | 104 | 95 |
105 | 9 | 105 | 96·Level·const·&·_parentLevel; |
106 | 9 | 106 | 97·FVarLevel·const·&·_parentFVar; |
107 | 9 | 107 | 98 |
108 | 9 | 108 | 99·Level·const·&·_childLevel; |
109 | 109 | 100·FVarLevel·&·_childFVar; | |
110 | 110 | 101 | |
111 | 10 | 111 | 102·//·When·refinement·is·sparse,·we·need·a·mapping·between·siblings·of·a |
112 | 112 | vertex | |
113 | 10 | 113 | 103·//·value·in·the·parent·and·child·--·and·for·some·child·values,·there·will |
114 | 114 | not | |
115 | 104 | 115 | 104·//·be·a·parent·value,·in·which·case·the·source·of·the·parent·component·will |
116 | 105·t | 116 | 105·//·be·stored.·So·we·refer·to·the·parent·"source"·rather·than·"sibling": |
117 | 106 | 117 | 106·// |
118 | 107· | 118 | 107·std::vector<LocalIndex>·_childValueParentSource; |
119 | 108 | 119 | 108}; |
120 | 109 | 120 | 109 |
121 | 110 | 121 | 110}·//·end·namespace·internal |
122 | 111 | 122 | 111}·//·end·namespace·Vtr |
123 | 112 | 123 | 112 |
124 | 113 | 124 | 113}·//·end·namespace·OPENSUBDIV_VERSION |
125 | 114 | 125 | 114using·namespace·OPENSUBDIV_VERSION; |
126 | 115 | 126 | 115}·//·end·namespace·OpenSubdiv |
127 | 116 | 127 | 116 |
128 | 117 | 128 | 117#endif·/*·OPENSUBDIV3_VTR_FVAR_REFINEMENT_H·*/ |
129 | 118·//·is·only·relevant·for·the·base·level.·They·could·be·combined·as·both | ||
130 | 119·//·indicate·"no·full·regular·ring"·around·a·vertex | ||
131 | 120·VTagSize·_incomplete·:·1;·//·variable·only·set·in·refined·levels | ||
132 | 121·VTagSize·_incidIrregFace·:·1;·//·variable·only·set·in·base·level | ||
133 | 122 | ||
Max diff block lines reached; 1989/43554 bytes (4.57%) of diff not shown. |
Offset 94, 18 lines modified | Offset 94, 18 lines modified | ||
94 | ··<div·class="summary"> | 94 | ··<div·class="summary"> |
95 | <a·href="#namespaces">Namespaces</a>··</div> | 95 | <a·href="#namespaces">Namespaces</a>··</div> |
96 | ··<div·class="headertitle"><div·class="title">fvarLevel.h·File·Reference</div></div> | 96 | ··<div·class="headertitle"><div·class="title">fvarLevel.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·"<a·class="el"·href="a01492_source.html">../sdc/types.h</a>"</code><br·/> | 100 | <code>#include·"<a·class="el"·href="a01492_source.html">../sdc/types.h</a>"</code><br·/> |
101 | <code>#include·"<a·class="el"·href="a007 | 101 | <code>#include·"<a·class="el"·href="a00779_source.html">../sdc/crease.h</a>"</code><br·/> |
102 | <code>#include·"<a·class="el"·href="a00773_source.html">../sdc/options.h</a>"</code><br·/> | 102 | <code>#include·"<a·class="el"·href="a00773_source.html">../sdc/options.h</a>"</code><br·/> |
103 | <code>#include·"<a·class="el"·href="a01495_source.html">../vtr/types.h</a>"</code><br·/> | 103 | <code>#include·"<a·class="el"·href="a01495_source.html">../vtr/types.h</a>"</code><br·/> |
104 | <code>#include·"<a·class="el"·href="a0075 | 104 | <code>#include·"<a·class="el"·href="a00755_source.html">../vtr/level.h</a>"</code><br·/> |
105 | <code>#include·<vector></code><br·/> | 105 | <code>#include·<vector></code><br·/> |
106 | <code>#include·<cassert></code><br·/> | 106 | <code>#include·<cassert></code><br·/> |
107 | <code>#include·<cstring></code><br·/> | 107 | <code>#include·<cstring></code><br·/> |
108 | </div> | 108 | </div> |
109 | <p><a·href="a00761_source.html">Go·to·the·source·code·of·this·file.</a></p> | 109 | <p><a·href="a00761_source.html">Go·to·the·source·code·of·this·file.</a></p> |
110 | <table·class="memberdecls"> | 110 | <table·class="memberdecls"> |
111 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 111 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
Offset 541, 16 lines modified | Offset 541, 16 lines modified | ||
541 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> | 541 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> |
542 | <div·class="ttc"·id="aa00909_html_a175f8a210a75b8180bc7ec74459492c9"><div·class="ttname"><a·href="a00909.html#a175f8a210a75b8180bc7ec74459492c9">OpenSubdiv::OPENSUBDIV_VERSION::Vtr::ConstLocalIndexArray</a></div><div·class="ttdeci">ConstArray<·LocalIndex·>·ConstLocalIndexArray</div><div·class="ttdef"><b>Definition</b>·<a·href="a01495_source.html#l00083">types.h:83</a></div></div> | 542 | <div·class="ttc"·id="aa00909_html_a175f8a210a75b8180bc7ec74459492c9"><div·class="ttname"><a·href="a00909.html#a175f8a210a75b8180bc7ec74459492c9">OpenSubdiv::OPENSUBDIV_VERSION::Vtr::ConstLocalIndexArray</a></div><div·class="ttdeci">ConstArray<·LocalIndex·>·ConstLocalIndexArray</div><div·class="ttdef"><b>Definition</b>·<a·href="a01495_source.html#l00083">types.h:83</a></div></div> |
543 | <div·class="ttc"·id="aa00909_html_a1e004d5c1e30ef69719d4083afe0f4ce"><div·class="ttname"><a·href="a00909.html#a1e004d5c1e30ef69719d4083afe0f4ce">OpenSubdiv::OPENSUBDIV_VERSION::Vtr::LocalIndexArray</a></div><div·class="ttdeci">Array<·LocalIndex·>·LocalIndexArray</div><div·class="ttdef"><b>Definition</b>·<a·href="a01495_source.html#l00082">types.h:82</a></div></div> | 543 | <div·class="ttc"·id="aa00909_html_a1e004d5c1e30ef69719d4083afe0f4ce"><div·class="ttname"><a·href="a00909.html#a1e004d5c1e30ef69719d4083afe0f4ce">OpenSubdiv::OPENSUBDIV_VERSION::Vtr::LocalIndexArray</a></div><div·class="ttdeci">Array<·LocalIndex·>·LocalIndexArray</div><div·class="ttdef"><b>Definition</b>·<a·href="a01495_source.html#l00082">types.h:82</a></div></div> |
544 | <div·class="ttc"·id="aa00909_html_a4a0e50e01fef3e431767a928c2631cab"><div·class="ttname"><a·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">OpenSubdiv::OPENSUBDIV_VERSION::Vtr::Index</a></div><div·class="ttdeci">int·Index</div><div·class="ttdef"><b>Definition</b>·<a·href="a01495_source.html#l00054">types.h:54</a></div></div> | 544 | <div·class="ttc"·id="aa00909_html_a4a0e50e01fef3e431767a928c2631cab"><div·class="ttname"><a·href="a00909.html#a4a0e50e01fef3e431767a928c2631cab">OpenSubdiv::OPENSUBDIV_VERSION::Vtr::Index</a></div><div·class="ttdeci">int·Index</div><div·class="ttdef"><b>Definition</b>·<a·href="a01495_source.html#l00054">types.h:54</a></div></div> |
545 | <div·class="ttc"·id="aa00909_html_a7c31dd7ef75734862d363b332be917dd"><div·class="ttname"><a·href="a00909.html#a7c31dd7ef75734862d363b332be917dd">OpenSubdiv::OPENSUBDIV_VERSION::Vtr::ConstIndexArray</a></div><div·class="ttdeci">ConstArray<·Index·>·ConstIndexArray</div><div·class="ttdef"><b>Definition</b>·<a·href="a01495_source.html#l00080">types.h:80</a></div></div> | 545 | <div·class="ttc"·id="aa00909_html_a7c31dd7ef75734862d363b332be917dd"><div·class="ttname"><a·href="a00909.html#a7c31dd7ef75734862d363b332be917dd">OpenSubdiv::OPENSUBDIV_VERSION::Vtr::ConstIndexArray</a></div><div·class="ttdeci">ConstArray<·Index·>·ConstIndexArray</div><div·class="ttdef"><b>Definition</b>·<a·href="a01495_source.html#l00080">types.h:80</a></div></div> |
546 | <div·class="ttc"·id="aa00909_html_a97c1e0c5ac33f97e2b73fde56b56c363"><div·class="ttname"><a·href="a00909.html#a97c1e0c5ac33f97e2b73fde56b56c363">OpenSubdiv::OPENSUBDIV_VERSION::Vtr::LocalIndex</a></div><div·class="ttdeci">unsigned·short·LocalIndex</div><div·class="ttdef"><b>Definition</b>·<a·href="a01495_source.html#l00066">types.h:66</a></div></div> | 546 | <div·class="ttc"·id="aa00909_html_a97c1e0c5ac33f97e2b73fde56b56c363"><div·class="ttname"><a·href="a00909.html#a97c1e0c5ac33f97e2b73fde56b56c363">OpenSubdiv::OPENSUBDIV_VERSION::Vtr::LocalIndex</a></div><div·class="ttdeci">unsigned·short·LocalIndex</div><div·class="ttdef"><b>Definition</b>·<a·href="a01495_source.html#l00066">types.h:66</a></div></div> |
547 | <div·class="ttc"·id="aa00909_html_ab4fd2ea03eba4c01ed28072b21917a0f"><div·class="ttname"><a·href="a00909.html#ab4fd2ea03eba4c01ed28072b21917a0f">OpenSubdiv::OPENSUBDIV_VERSION::Vtr::IndexArray</a></div><div·class="ttdeci">Array<·Index·>·IndexArray</div><div·class="ttdef"><b>Definition</b>·<a·href="a01495_source.html#l00079">types.h:79</a></div></div> | 547 | <div·class="ttc"·id="aa00909_html_ab4fd2ea03eba4c01ed28072b21917a0f"><div·class="ttname"><a·href="a00909.html#ab4fd2ea03eba4c01ed28072b21917a0f">OpenSubdiv::OPENSUBDIV_VERSION::Vtr::IndexArray</a></div><div·class="ttdeci">Array<·Index·>·IndexArray</div><div·class="ttdef"><b>Definition</b>·<a·href="a01495_source.html#l00079">types.h:79</a></div></div> |
548 | <div·class="ttc"·id="aa01333_html_a11fcd51ef86118f65e603c1474377a78a27ed0595212af48db763e461bfdc29ef"><div·class="ttname"><a·href="a01333.html#a11fcd51ef86118f65e603c1474377a78a27ed0595212af48db763e461bfdc29ef">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::RULE_CORNER</a></div><div·class="ttdeci">@·RULE_CORNER</div><div·class="ttdef"><b>Definition</b>·<a·href="a007 | 548 | <div·class="ttc"·id="aa01333_html_a11fcd51ef86118f65e603c1474377a78a27ed0595212af48db763e461bfdc29ef"><div·class="ttname"><a·href="a01333.html#a11fcd51ef86118f65e603c1474377a78a27ed0595212af48db763e461bfdc29ef">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::RULE_CORNER</a></div><div·class="ttdeci">@·RULE_CORNER</div><div·class="ttdef"><b>Definition</b>·<a·href="a00779_source.html#l00088">crease.h:87</a></div></div> |
549 | <div·class="ttc"·id="aa01333_html_a11fcd51ef86118f65e603c1474377a78a966fa1ae8aeb8587c498cf6a92cc3335"><div·class="ttname"><a·href="a01333.html#a11fcd51ef86118f65e603c1474377a78a966fa1ae8aeb8587c498cf6a92cc3335">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::RULE_CREASE</a></div><div·class="ttdeci">@·RULE_CREASE</div><div·class="ttdef"><b>Definition</b>·<a·href="a007 | 549 | <div·class="ttc"·id="aa01333_html_a11fcd51ef86118f65e603c1474377a78a966fa1ae8aeb8587c498cf6a92cc3335"><div·class="ttname"><a·href="a01333.html#a11fcd51ef86118f65e603c1474377a78a966fa1ae8aeb8587c498cf6a92cc3335">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::RULE_CREASE</a></div><div·class="ttdeci">@·RULE_CREASE</div><div·class="ttdef"><b>Definition</b>·<a·href="a00779_source.html#l00086">crease.h:86</a></div></div> |
550 | </div><!--·fragment·--></div><!--·contents·--> | 550 | </div><!--·fragment·--></div><!--·contents·--> |
551 | </div><!--·doc-content·--> | 551 | </div><!--·doc-content·--> |
552 | <!--·start·footer·part·--> | 552 | <!--·start·footer·part·--> |
553 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 553 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
554 | ··<ul> | 554 | ··<ul> |
555 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_bd5473d7d5841d48919aaa9ad0cb1f9b.html">vtr</a></li><li·class="navelem"><a·class="el"·href="a00761.html">fvarLevel.h</a></li> | 555 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_bd5473d7d5841d48919aaa9ad0cb1f9b.html">vtr</a></li><li·class="navelem"><a·class="el"·href="a00761.html">fvarLevel.h</a></li> |
556 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 556 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
Offset 94, 15 lines modified | Offset 94, 15 lines modified | ||
94 | ··<div·class="summary"> | 94 | ··<div·class="summary"> |
95 | <a·href="#namespaces">Namespaces</a>··</div> | 95 | <a·href="#namespaces">Namespaces</a>··</div> |
96 | ··<div·class="headertitle"><div·class="title">componentInterfaces.h·File·Reference</div></div> | 96 | ··<div·class="headertitle"><div·class="title">componentInterfaces.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·"<a·class="el"·href="a01492_source.html">../sdc/types.h</a>"</code><br·/> | 100 | <code>#include·"<a·class="el"·href="a01492_source.html">../sdc/types.h</a>"</code><br·/> |
101 | <code>#include·"<a·class="el"·href="a007 | 101 | <code>#include·"<a·class="el"·href="a00779_source.html">../sdc/crease.h</a>"</code><br·/> |
102 | <code>#include·"<a·class="el"·href="a01495_source.html">../vtr/types.h</a>"</code><br·/> | 102 | <code>#include·"<a·class="el"·href="a01495_source.html">../vtr/types.h</a>"</code><br·/> |
103 | <code>#include·"<a·class="el"·href="a00746_source.html">../vtr/stackBuffer.h</a>"</code><br·/> | 103 | <code>#include·"<a·class="el"·href="a00746_source.html">../vtr/stackBuffer.h</a>"</code><br·/> |
104 | <code>#include·<vector></code><br·/> | 104 | <code>#include·<vector></code><br·/> |
105 | </div> | 105 | </div> |
106 | <p><a·href="a00764_source.html">Go·to·the·source·code·of·this·file.</a></p> | 106 | <p><a·href="a00764_source.html">Go·to·the·source·code·of·this·file.</a></p> |
107 | <table·class="memberdecls"> | 107 | <table·class="memberdecls"> |
108 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 108 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
Offset 96, 15 lines modified | Offset 96, 15 lines modified | ||
96 | <a·href="#namespaces">Namespaces</a>··</div> | 96 | <a·href="#namespaces">Namespaces</a>··</div> |
97 | ··<div·class="headertitle"><div·class="title">scheme.h·File·Reference</div></div> | 97 | ··<div·class="headertitle"><div·class="title">scheme.h·File·Reference</div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 100 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
101 | <code>#include·"<a·class="el"·href="a01492_source.html">../sdc/types.h</a>"</code><br·/> | 101 | <code>#include·"<a·class="el"·href="a01492_source.html">../sdc/types.h</a>"</code><br·/> |
102 | <code>#include·"<a·class="el"·href="a00773_source.html">../sdc/options.h</a>"</code><br·/> | 102 | <code>#include·"<a·class="el"·href="a00773_source.html">../sdc/options.h</a>"</code><br·/> |
103 | <code>#include·"<a·class="el"·href="a007 | 103 | <code>#include·"<a·class="el"·href="a00779_source.html">../sdc/crease.h</a>"</code><br·/> |
104 | <code>#include·<cassert></code><br·/> | 104 | <code>#include·<cassert></code><br·/> |
105 | <code>#include·<cstdlib></code><br·/> | 105 | <code>#include·<cstdlib></code><br·/> |
106 | <code>#include·<vector></code><br·/> | 106 | <code>#include·<vector></code><br·/> |
107 | </div> | 107 | </div> |
108 | <p><a·href="a00770_source.html">Go·to·the·source·code·of·this·file.</a></p> | 108 | <p><a·href="a00770_source.html">Go·to·the·source·code·of·this·file.</a></p> |
109 | <table·class="memberdecls"> | 109 | <table·class="memberdecls"> |
110 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 110 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
Offset 7138, 16 lines modified | Offset 7138, 16 lines modified | ||
0001be10:·7465·6420·746f·2073·656d·692d·7368·6172··ted·to·semi-shar | 0001be10:·7465·6420·746f·2073·656d·692d·7368·6172··ted·to·semi-shar | ||
0001be20:·7020·6372·6561·7369·6e67·20e2·8093·2077··p·creasing·...·w | 0001be20:·7020·6372·6561·7369·6e67·20e2·8093·2077··p·creasing·...·w | ||
0001be30:·686f·7365·2069·6d70·6c65·6d65·6e74·6174··hose·implementat | 0001be30:·686f·7365·2069·6d70·6c65·6d65·6e74·6174··hose·implementat | ||
0001be40:·696f·6e20·6973·2069·6e64·6570·656e·6465··ion·is·independe | 0001be40:·696f·6e20·6973·2069·6e64·6570·656e·6465··ion·is·independe | ||
0001be50:·6e74·206f·2e2e·2e3c·2f64·6976·3e3c·6469··nt·o...</div><di | 0001be50:·6e74·206f·2e2e·2e3c·2f64·6976·3e3c·6469··nt·o...</div><di | ||
0001be60:·7620·636c·6173·733d·2274·7464·6566·223e··v·class="ttdef"> | 0001be60:·7620·636c·6173·733d·2274·7464·6566·223e··v·class="ttdef"> | ||
0001be70:·3c62·3e44·6566·696e·6974·696f·6e3c·2f62··<b>Definition</b | 0001be70:·3c62·3e44·6566·696e·6974·696f·6e3c·2f62··<b>Definition</b | ||
0001be80:·3e20·3c61·2068·7265·663d·2261·3030·373 | 0001be80:·3e20·3c61·2068·7265·663d·2261·3030·3737··>·<a·href="a0077 | ||
0001be90:·3 | 0001be90:·395f·736f·7572·6365·2e68·746d·6c23·6c30··9_source.html#l0 | ||
0001bea0:·3030·3632·223e·6372·6561·7365·2e68·3a36··0062">crease.h:6 | 0001bea0:·3030·3632·223e·6372·6561·7365·2e68·3a36··0062">crease.h:6 | ||
0001beb0:·323c·2f61·3e3c·2f64·6976·3e3c·2f64·6976··2</a></div></div | 0001beb0:·323c·2f61·3e3c·2f64·6976·3e3c·2f64·6976··2</a></div></div | ||
0001bec0:·3e0a·3c64·6976·2063·6c61·7373·3d22·7474··>.<div·class="tt | 0001bec0:·3e0a·3c64·6976·2063·6c61·7373·3d22·7474··>.<div·class="tt | ||
0001bed0:·6322·2069·643d·2261·6130·3133·3333·5f68··c"·id="aa01333_h | 0001bed0:·6322·2069·643d·2261·6130·3133·3333·5f68··c"·id="aa01333_h | ||
0001bee0:·746d·6c5f·6131·3166·6364·3531·6566·3836··tml_a11fcd51ef86 | 0001bee0:·746d·6c5f·6131·3166·6364·3531·6566·3836··tml_a11fcd51ef86 | ||
0001bef0:·3131·3866·3635·6536·3033·6331·3437·3433··118f65e603c14743 | 0001bef0:·3131·3866·3635·6536·3033·6331·3437·3433··118f65e603c14743 | ||
0001bf00:·3737·6137·3822·3e3c·6469·7620·636c·6173··77a78"><div·clas | 0001bf00:·3737·6137·3822·3e3c·6469·7620·636c·6173··77a78"><div·clas | ||
Offset 7159, 15 lines modified | Offset 7159, 15 lines modified | ||
0001bf60:·5045·4e53·5542·4449·565f·5645·5253·494f··PENSUBDIV_VERSIO | 0001bf60:·5045·4e53·5542·4449·565f·5645·5253·494f··PENSUBDIV_VERSIO | ||
0001bf70:·4e3a·3a53·6463·3a3a·4372·6561·7365·3a3a··N::Sdc::Crease:: | 0001bf70:·4e3a·3a53·6463·3a3a·4372·6561·7365·3a3a··N::Sdc::Crease:: | ||
0001bf80:·5275·6c65·3c2f·613e·3c2f·6469·763e·3c64··Rule</a></div><d | 0001bf80:·5275·6c65·3c2f·613e·3c2f·6469·763e·3c64··Rule</a></div><d | ||
0001bf90:·6976·2063·6c61·7373·3d22·7474·6465·6369··iv·class="ttdeci | 0001bf90:·6976·2063·6c61·7373·3d22·7474·6465·6369··iv·class="ttdeci | ||
0001bfa0:·223e·5275·6c65·3c2f·6469·763e·3c64·6976··">Rule</div><div | 0001bfa0:·223e·5275·6c65·3c2f·6469·763e·3c64·6976··">Rule</div><div | ||
0001bfb0:·2063·6c61·7373·3d22·7474·6465·6622·3e3c···class="ttdef">< | 0001bfb0:·2063·6c61·7373·3d22·7474·6465·6622·3e3c···class="ttdef">< | ||
0001bfc0:·623e·4465·6669·6e69·7469·6f6e·3c2f·623e··b>Definition</b> | 0001bfc0:·623e·4465·6669·6e69·7469·6f6e·3c2f·623e··b>Definition</b> | ||
0001bfd0:·203c·6120·6872·6566·3d22·6130·3037·3 | 0001bfd0:·203c·6120·6872·6566·3d22·6130·3037·3739···<a·href="a00779 | ||
0001bfe0:·5f73·6f75·7263·652e·6874·6d6c·236c·3030··_source.html#l00 | 0001bfe0:·5f73·6f75·7263·652e·6874·6d6c·236c·3030··_source.html#l00 | ||
0001bff0:·3038·3222·3e63·7265·6173·652e·683a·3832··082">crease.h:82 | 0001bff0:·3038·3222·3e63·7265·6173·652e·683a·3832··082">crease.h:82 | ||
0001c000:·3c2f·613e·3c2f·6469·763e·3c2f·6469·763e··</a></div></div> | 0001c000:·3c2f·613e·3c2f·6469·763e·3c2f·6469·763e··</a></div></div> | ||
0001c010:·0a3c·6469·7620·636c·6173·733d·2274·7463··.<div·class="ttc | 0001c010:·0a3c·6469·7620·636c·6173·733d·2274·7463··.<div·class="ttc | ||
0001c020:·2220·6964·3d22·6161·3031·3333·335f·6874··"·id="aa01333_ht | 0001c020:·2220·6964·3d22·6161·3031·3333·335f·6874··"·id="aa01333_ht | ||
0001c030:·6d6c·5f61·3131·6663·6435·3165·6638·3631··ml_a11fcd51ef861 | 0001c030:·6d6c·5f61·3131·6663·6435·3165·6638·3631··ml_a11fcd51ef861 | ||
0001c040:·3138·6636·3565·3630·3363·3134·3734·3337··18f65e603c147437 | 0001c040:·3138·6636·3565·3630·3363·3134·3734·3337··18f65e603c147437 | ||
Offset 7185, 15 lines modified | Offset 7185, 15 lines modified | ||
0001c100:·4f4e·3a3a·5364·633a·3a43·7265·6173·653a··ON::Sdc::Crease: | 0001c100:·4f4e·3a3a·5364·633a·3a43·7265·6173·653a··ON::Sdc::Crease: | ||
0001c110:·3a52·554c·455f·4441·5254·3c2f·613e·3c2f··:RULE_DART</a></ | 0001c110:·3a52·554c·455f·4441·5254·3c2f·613e·3c2f··:RULE_DART</a></ | ||
0001c120:·6469·763e·3c64·6976·2063·6c61·7373·3d22··div><div·class=" | 0001c120:·6469·763e·3c64·6976·2063·6c61·7373·3d22··div><div·class=" | ||
0001c130:·7474·6465·6369·223e·4020·5255·4c45·5f44··ttdeci">@·RULE_D | 0001c130:·7474·6465·6369·223e·4020·5255·4c45·5f44··ttdeci">@·RULE_D | ||
0001c140:·4152·543c·2f64·6976·3e3c·6469·7620·636c··ART</div><div·cl | 0001c140:·4152·543c·2f64·6976·3e3c·6469·7620·636c··ART</div><div·cl | ||
0001c150:·6173·733d·2274·7464·6566·223e·3c62·3e44··ass="ttdef"><b>D | 0001c150:·6173·733d·2274·7464·6566·223e·3c62·3e44··ass="ttdef"><b>D | ||
0001c160:·6566·696e·6974·696f·6e3c·2f62·3e20·3c61··efinition</b>·<a | 0001c160:·6566·696e·6974·696f·6e3c·2f62·3e20·3c61··efinition</b>·<a | ||
0001c170:·2068·7265·663d·2261·3030·373 | 0001c170:·2068·7265·663d·2261·3030·3737·395f·736f···href="a00779_so | ||
0001c180:·7572·6365·2e68·746d·6c23·6c30·3030·3835··urce.html#l00085 | 0001c180:·7572·6365·2e68·746d·6c23·6c30·3030·3835··urce.html#l00085 | ||
0001c190:·223e·6372·6561·7365·2e68·3a38·353c·2f61··">crease.h:85</a | 0001c190:·223e·6372·6561·7365·2e68·3a38·353c·2f61··">crease.h:85</a | ||
0001c1a0:·3e3c·2f64·6976·3e3c·2f64·6976·3e0a·3c64··></div></div>.<d | 0001c1a0:·3e3c·2f64·6976·3e3c·2f64·6976·3e0a·3c64··></div></div>.<d | ||
0001c1b0:·6976·2063·6c61·7373·3d22·7474·6322·2069··iv·class="ttc"·i | 0001c1b0:·6976·2063·6c61·7373·3d22·7474·6322·2069··iv·class="ttc"·i | ||
0001c1c0:·643d·2261·6130·3133·3333·5f68·746d·6c5f··d="aa01333_html_ | 0001c1c0:·643d·2261·6130·3133·3333·5f68·746d·6c5f··d="aa01333_html_ | ||
0001c1d0:·6131·3166·6364·3531·6566·3836·3131·3866··a11fcd51ef86118f | 0001c1d0:·6131·3166·6364·3531·6566·3836·3131·3866··a11fcd51ef86118f | ||
0001c1e0:·3635·6536·3033·6331·3437·3433·3737·6137··65e603c1474377a7 | 0001c1e0:·3635·6536·3033·6331·3437·3433·3737·6137··65e603c1474377a7 | ||
Offset 7211, 15 lines modified | Offset 7211, 15 lines modified | ||
0001c2a0:·3a53·6463·3a3a·4372·6561·7365·3a3a·5255··:Sdc::Crease::RU | 0001c2a0:·3a53·6463·3a3a·4372·6561·7365·3a3a·5255··:Sdc::Crease::RU | ||
0001c2b0:·4c45·5f53·4d4f·4f54·483c·2f61·3e3c·2f64··LE_SMOOTH</a></d | 0001c2b0:·4c45·5f53·4d4f·4f54·483c·2f61·3e3c·2f64··LE_SMOOTH</a></d | ||
0001c2c0:·6976·3e3c·6469·7620·636c·6173·733d·2274··iv><div·class="t | 0001c2c0:·6976·3e3c·6469·7620·636c·6173·733d·2274··iv><div·class="t | ||
0001c2d0:·7464·6563·6922·3e40·2052·554c·455f·534d··tdeci">@·RULE_SM | 0001c2d0:·7464·6563·6922·3e40·2052·554c·455f·534d··tdeci">@·RULE_SM | ||
0001c2e0:·4f4f·5448·3c2f·6469·763e·3c64·6976·2063··OOTH</div><div·c | 0001c2e0:·4f4f·5448·3c2f·6469·763e·3c64·6976·2063··OOTH</div><div·c | ||
0001c2f0:·6c61·7373·3d22·7474·6465·6622·3e3c·623e··lass="ttdef"><b> | 0001c2f0:·6c61·7373·3d22·7474·6465·6622·3e3c·623e··lass="ttdef"><b> | ||
0001c300:·4465·6669·6e69·7469·6f6e·3c2f·623e·203c··Definition</b>·< | 0001c300:·4465·6669·6e69·7469·6f6e·3c2f·623e·203c··Definition</b>·< | ||
0001c310:·6120·6872·6566·3d22·6130·3037·3 | 0001c310:·6120·6872·6566·3d22·6130·3037·3739·5f73··a·href="a00779_s | ||
0001c320:·6f75·7263·652e·6874·6d6c·236c·3030·3038··ource.html#l0008 | 0001c320:·6f75·7263·652e·6874·6d6c·236c·3030·3038··ource.html#l0008 | ||
0001c330:·3422·3e63·7265·6173·652e·683a·3834·3c2f··4">crease.h:84</ | 0001c330:·3422·3e63·7265·6173·652e·683a·3834·3c2f··4">crease.h:84</ | ||
0001c340:·613e·3c2f·6469·763e·3c2f·6469·763e·0a3c··a></div></div>.< | 0001c340:·613e·3c2f·6469·763e·3c2f·6469·763e·0a3c··a></div></div>.< | ||
0001c350:·6469·7620·636c·6173·733d·2274·7463·2220··div·class="ttc"· | 0001c350:·6469·7620·636c·6173·733d·2274·7463·2220··div·class="ttc"· | ||
0001c360:·6964·3d22·6161·3031·3333·335f·6874·6d6c··id="aa01333_html | 0001c360:·6964·3d22·6161·3031·3333·335f·6874·6d6c··id="aa01333_html | ||
0001c370:·5f61·3131·6663·6435·3165·6638·3631·3138··_a11fcd51ef86118 | 0001c370:·5f61·3131·6663·6435·3165·6638·3631·3138··_a11fcd51ef86118 | ||
0001c380:·6636·3565·3630·3363·3134·3734·3337·3761··f65e603c1474377a | 0001c380:·6636·3565·3630·3363·3134·3734·3337·3761··f65e603c1474377a | ||
Offset 7237, 15 lines modified | Offset 7237, 15 lines modified | ||
0001c440:·3a3a·5364·633a·3a43·7265·6173·653a·3a52··::Sdc::Crease::R | 0001c440:·3a3a·5364·633a·3a43·7265·6173·653a·3a52··::Sdc::Crease::R | ||
0001c450:·554c·455f·4352·4541·5345·3c2f·613e·3c2f··ULE_CREASE</a></ | 0001c450:·554c·455f·4352·4541·5345·3c2f·613e·3c2f··ULE_CREASE</a></ | ||
0001c460:·6469·763e·3c64·6976·2063·6c61·7373·3d22··div><div·class=" | 0001c460:·6469·763e·3c64·6976·2063·6c61·7373·3d22··div><div·class=" | ||
0001c470:·7474·6465·6369·223e·4020·5255·4c45·5f43··ttdeci">@·RULE_C | 0001c470:·7474·6465·6369·223e·4020·5255·4c45·5f43··ttdeci">@·RULE_C | ||
0001c480:·5245·4153·453c·2f64·6976·3e3c·6469·7620··REASE</div><div· | 0001c480:·5245·4153·453c·2f64·6976·3e3c·6469·7620··REASE</div><div· | ||
0001c490:·636c·6173·733d·2274·7464·6566·223e·3c62··class="ttdef"><b | 0001c490:·636c·6173·733d·2274·7464·6566·223e·3c62··class="ttdef"><b | ||
0001c4a0:·3e44·6566·696e·6974·696f·6e3c·2f62·3e20··>Definition</b>· | 0001c4a0:·3e44·6566·696e·6974·696f·6e3c·2f62·3e20··>Definition</b>· | ||
0001c4b0:·3c61·2068·7265·663d·2261·3030·373 | 0001c4b0:·3c61·2068·7265·663d·2261·3030·3737·395f··<a·href="a00779_ | ||
0001c4c0:·736f·7572·6365·2e68·746d·6c23·6c30·3030··source.html#l000 | 0001c4c0:·736f·7572·6365·2e68·746d·6c23·6c30·3030··source.html#l000 | ||
0001c4d0:·3836·223e·6372·6561·7365·2e68·3a38·363c··86">crease.h:86< | 0001c4d0:·3836·223e·6372·6561·7365·2e68·3a38·363c··86">crease.h:86< | ||
0001c4e0:·2f61·3e3c·2f64·6976·3e3c·2f64·6976·3e0a··/a></div></div>. | 0001c4e0:·2f61·3e3c·2f64·6976·3e3c·2f64·6976·3e0a··/a></div></div>. | ||
0001c4f0:·3c64·6976·2063·6c61·7373·3d22·7474·6322··<div·class="ttc" | 0001c4f0:·3c64·6976·2063·6c61·7373·3d22·7474·6322··<div·class="ttc" | ||
0001c500:·2069·643d·2261·6130·3133·3333·5f68·746d···id="aa01333_htm | 0001c500:·2069·643d·2261·6130·3133·3333·5f68·746d···id="aa01333_htm | ||
0001c510:·6c5f·6131·3166·6364·3531·6566·3836·3131··l_a11fcd51ef8611 | 0001c510:·6c5f·6131·3166·6364·3531·6566·3836·3131··l_a11fcd51ef8611 | ||
0001c520:·3866·3635·6536·3033·6331·3437·3433·3737··8f65e603c1474377 | 0001c520:·3866·3635·6536·3033·6331·3437·3433·3737··8f65e603c1474377 | ||
Offset 7264, 15 lines modified | Offset 7264, 15 lines modified | ||
0001c5f0:·5255·4c45·5f55·4e4b·4e4f·574e·3c2f·613e··RULE_UNKNOWN</a> | 0001c5f0:·5255·4c45·5f55·4e4b·4e4f·574e·3c2f·613e··RULE_UNKNOWN</a> | ||
0001c600:·3c2f·6469·763e·3c64·6976·2063·6c61·7373··</div><div·class | 0001c600:·3c2f·6469·763e·3c64·6976·2063·6c61·7373··</div><div·class | ||
0001c610:·3d22·7474·6465·6369·223e·4020·5255·4c45··="ttdeci">@·RULE | 0001c610:·3d22·7474·6465·6369·223e·4020·5255·4c45··="ttdeci">@·RULE | ||
0001c620:·5f55·4e4b·4e4f·574e·3c2f·6469·763e·3c64··_UNKNOWN</div><d | 0001c620:·5f55·4e4b·4e4f·574e·3c2f·6469·763e·3c64··_UNKNOWN</div><d | ||
0001c630:·6976·2063·6c61·7373·3d22·7474·6465·6622··iv·class="ttdef" | 0001c630:·6976·2063·6c61·7373·3d22·7474·6465·6622··iv·class="ttdef" | ||
0001c640:·3e3c·623e·4465·6669·6e69·7469·6f6e·3c2f··><b>Definition</ | 0001c640:·3e3c·623e·4465·6669·6e69·7469·6f6e·3c2f··><b>Definition</ | ||
0001c650:·623e·203c·6120·6872·6566·3d22·6130·3037··b>·<a·href="a007 | 0001c650:·623e·203c·6120·6872·6566·3d22·6130·3037··b>·<a·href="a007 | ||
0001c660:·3 | 0001c660:·3739·5f73·6f75·7263·652e·6874·6d6c·236c··79_source.html#l | ||
0001c670:·3030·3038·3322·3e63·7265·6173·652e·683a··00083">crease.h: | 0001c670:·3030·3038·3322·3e63·7265·6173·652e·683a··00083">crease.h: | ||
0001c680:·3833·3c2f·613e·3c2f·6469·763e·3c2f·6469··83</a></div></di | 0001c680:·3833·3c2f·613e·3c2f·6469·763e·3c2f·6469··83</a></div></di | ||
0001c690:·763e·0a3c·6469·7620·636c·6173·733d·2274··v>.<div·class="t | 0001c690:·763e·0a3c·6469·7620·636c·6173·733d·2274··v>.<div·class="t | ||
0001c6a0:·7463·2220·6964·3d22·6161·3031·3333·335f··tc"·id="aa01333_ | 0001c6a0:·7463·2220·6964·3d22·6161·3031·3333·335f··tc"·id="aa01333_ | ||
0001c6b0:·6874·6d6c·5f61·3336·3266·3232·6537·6362··html_a362f22e7cb | 0001c6b0:·6874·6d6c·5f61·3336·3266·3232·6537·6362··html_a362f22e7cb | ||
0001c6c0:·6131·6130·6239·6636·3365·3962·3030·3763··a1a0b9f63e9b007c | 0001c6c0:·6131·6130·6239·6636·3365·3962·3030·3763··a1a0b9f63e9b007c | ||
0001c6d0:·3139·6632·3936·223e·3c64·6976·2063·6c61··19f296"><div·cla | 0001c6d0:·3139·6632·3936·223e·3c64·6976·2063·6c61··19f296"><div·cla | ||
Offset 7293, 15 lines modified | Offset 7293, 15 lines modified | ||
0001c7c0:·6172·706e·6573·732c·2069·6e74·2069·6e63··arpness,·int·inc | 0001c7c0:·6172·706e·6573·732c·2069·6e74·2069·6e63··arpness,·int·inc | ||
0001c7d0:·6964·656e·7445·6467·6543·6f75·6e74·2c20··identEdgeCount,· | 0001c7d0:·6964·656e·7445·6467·6543·6f75·6e74·2c20··identEdgeCount,· | ||
0001c7e0:·696e·7420·7368·6172·7045·6467·6550·6169··int·sharpEdgePai | 0001c7e0:·696e·7420·7368·6172·7045·6467·6550·6169··int·sharpEdgePai | ||
0001c7f0:·725b·325d·2920·636f·6e73·743c·2f64·6976··r[2])·const</div | 0001c7f0:·725b·325d·2920·636f·6e73·743c·2f64·6976··r[2])·const</div | ||
0001c800:·3e3c·6469·7620·636c·6173·733d·2274·7464··><div·class="ttd | 0001c800:·3e3c·6469·7620·636c·6173·733d·2274·7464··><div·class="ttd | ||
0001c810:·6566·223e·3c62·3e44·6566·696e·6974·696f··ef"><b>Definitio | 0001c810:·6566·223e·3c62·3e44·6566·696e·6974·696f··ef"><b>Definitio | ||
0001c820:·6e3c·2f62·3e20·3c61·2068·7265·663d·2261··n</b>·<a·href="a | 0001c820:·6e3c·2f62·3e20·3c61·2068·7265·663d·2261··n</b>·<a·href="a | ||
0001c830:·3030·373 | 0001c830:·3030·3737·395f·736f·7572·6365·2e68·746d··00779_source.htm | ||
0001c840:·6c23·6c30·3032·3238·223e·6372·6561·7365··l#l00228">crease | 0001c840:·6c23·6c30·3032·3238·223e·6372·6561·7365··l#l00228">crease | ||
0001c850:·2e68·3a32·3238·3c2f·613e·3c2f·6469·763e··.h:228</a></div> | 0001c850:·2e68·3a32·3238·3c2f·613e·3c2f·6469·763e··.h:228</a></div> | ||
0001c860:·3c2f·6469·763e·0a3c·6469·7620·636c·6173··</div>.<div·clas | 0001c860:·3c2f·6469·763e·0a3c·6469·7620·636c·6173··</div>.<div·clas | ||
0001c870:·733d·2274·7463·2220·6964·3d22·6161·3031··s="ttc"·id="aa01 | 0001c870:·733d·2274·7463·2220·6964·3d22·6161·3031··s="ttc"·id="aa01 | ||
0001c880:·3333·335f·6874·6d6c·5f61·3431·6562·6237··333_html_a41ebb7 | 0001c880:·3333·335f·6874·6d6c·5f61·3431·6562·6237··333_html_a41ebb7 | ||
0001c890:·3564·3238·6335·3937·3333·3238·6530·6533··5d28c5973328e0e3 | 0001c890:·3564·3238·6335·3937·3333·3238·6530·6533··5d28c5973328e0e3 | ||
0001c8a0:·3838·3334·3935·6165·6261·223e·3c64·6976··883495aeba"><div | 0001c8a0:·3838·3334·3935·6165·6261·223e·3c64·6976··883495aeba"><div | ||
Offset 7339, 15 lines modified | Offset 7339, 15 lines modified | ||
0001caa0:·6e69·666f·726d·3c2f·613e·3c2f·6469·763e··niform</a></div> | 0001caa0:·6e69·666f·726d·3c2f·613e·3c2f·6469·763e··niform</a></div> | ||
0001cab0:·3c64·6976·2063·6c61·7373·3d22·7474·6465··<div·class="ttde | 0001cab0:·3c64·6976·2063·6c61·7373·3d22·7474·6465··<div·class="ttde | ||
0001cac0:·6369·223e·626f·6f6c·2049·7355·6e69·666f··ci">bool·IsUnifo | 0001cac0:·6369·223e·626f·6f6c·2049·7355·6e69·666f··ci">bool·IsUnifo | ||
0001cad0:·726d·2829·2063·6f6e·7374·3c2f·6469·763e··rm()·const</div> | 0001cad0:·726d·2829·2063·6f6e·7374·3c2f·6469·763e··rm()·const</div> | ||
0001cae0:·3c64·6976·2063·6c61·7373·3d22·7474·6465··<div·class="ttde | 0001cae0:·3c64·6976·2063·6c61·7373·3d22·7474·6465··<div·class="ttde | ||
0001caf0:·6622·3e3c·623e·4465·6669·6e69·7469·6f6e··f"><b>Definition | 0001caf0:·6622·3e3c·623e·4465·6669·6e69·7469·6f6e··f"><b>Definition | ||
0001cb00:·3c2f·623e·203c·6120·6872·6566·3d22·6130··</b>·<a·href="a0 | 0001cb00:·3c2f·623e·203c·6120·6872·6566·3d22·6130··</b>·<a·href="a0 | ||
0001cb10:·3037·3 | 0001cb10:·3037·3739·5f73·6f75·7263·652e·6874·6d6c··0779_source.html | ||
0001cb20:·236c·3030·3039·3522·3e63·7265·6173·652e··#l00095">crease. | 0001cb20:·236c·3030·3039·3522·3e63·7265·6173·652e··#l00095">crease. | ||
0001cb30:·683a·3935·3c2f·613e·3c2f·6469·763e·3c2f··h:95</a></div></ | 0001cb30:·683a·3935·3c2f·613e·3c2f·6469·763e·3c2f··h:95</a></div></ | ||
0001cb40:·6469·763e·0a3c·6469·7620·636c·6173·733d··div>.<div·class= | 0001cb40:·6469·763e·0a3c·6469·7620·636c·6173·733d··div>.<div·class= | ||
0001cb50:·2274·7463·2220·6964·3d22·6161·3031·3333··"ttc"·id="aa0133 | 0001cb50:·2274·7463·2220·6964·3d22·6161·3031·3333··"ttc"·id="aa0133 | ||
0001cb60:·335f·6874·6d6c·5f61·6231·3366·3635·3466··3_html_ab13f654f | 0001cb60:·335f·6874·6d6c·5f61·6231·3366·3635·3466··3_html_ab13f654f | ||
0001cb70:·3235·6566·3736·3238·3339·3666·6439·3032··25ef7628396fd902 | 0001cb70:·3235·6566·3736·3238·3339·3666·6439·3032··25ef7628396fd902 | ||
Max diff block lines reached; 0/9162 bytes (0.00%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/sdc/c | 8 | <title>OpenSubdiv:·opensubdiv/sdc/crease.h·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 88, 38 lines modified | Offset 88, 43 lines modified | ||
88 | </div> | 88 | </div> |
89 | </div> | 89 | </div> |
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | ||
94 | <a·href="#namespaces">Namespaces</a>··</div> | 95 | <a·href="#namespaces">Namespaces</a>··</div> |
95 | ··<div·class="headertitle"><div·class="title">c | 96 | ··<div·class="headertitle"><div·class="title">crease.h·File·Reference</div></div> |
96 | </div><!--header--> | 97 | </div><!--header--> |
97 | <div·class="contents"> | 98 | <div·class="contents"> |
98 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
99 | <code>#include·"<a·class="el"·href="a0077 | 100 | <code>#include·"<a·class="el"·href="a00773_source.html">../sdc/options.h</a>"</code><br·/> |
100 | <code>#include·<cassert></code><br·/> | ||
101 | <code>#include·<cmath></code><br·/> | ||
102 | </div> | 101 | </div> |
103 | <p><a·href="a00779_source.html">Go·to·the·source·code·of·this·file.</a></p> | 102 | <p><a·href="a00779_source.html">Go·to·the·source·code·of·this·file.</a></p> |
104 | <table·class="memberdecls"> | 103 | <table·class="memberdecls"> |
104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
105 | Classes</h2></td></tr> | ||
106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01333.html">Crease</a></td></tr> | ||
107 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Types,·constants·and·utilities·related·to·semi-sharp·creasing·–·whose·implementation·is·independent·of·the·subdivision·scheme.··<a·href="a01333.html#details">More...</a><br·/></td></tr> | ||
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
109 | </table><table·class="memberdecls"> | ||
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 110 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
106 | Namespaces</h2></td></tr> | 111 | Namespaces</h2></td></tr> |
107 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 112 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
109 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 114 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
111 | <tr·class="memitem:a00913"·id="r_a00913"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00913.html">OpenSubdiv::OPENSUBDIV_VERSION::Sdc</a></td></tr> | 116 | <tr·class="memitem:a00913"·id="r_a00913"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00913.html">OpenSubdiv::OPENSUBDIV_VERSION::Sdc</a></td></tr> |
112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
113 | </table> | 118 | </table> |
114 | </div><!--·contents·--> | 119 | </div><!--·contents·--> |
115 | </div><!--·doc-content·--> | 120 | </div><!--·doc-content·--> |
116 | <!--·start·footer·part·--> | 121 | <!--·start·footer·part·--> |
117 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 122 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
118 | ··<ul> | 123 | ··<ul> |
119 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_f61368944c63c2c1f8c69bc232e59c39.html">sdc</a></li><li·class="navelem"><a·class="el"·href="a00779.html">c | 124 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_f61368944c63c2c1f8c69bc232e59c39.html">sdc</a></li><li·class="navelem"><a·class="el"·href="a00779.html">crease.h</a></li> |
120 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 125 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
121 | ··</ul> | 126 | ··</ul> |
122 | </div> | 127 | </div> |
123 | </body> | 128 | </body> |
124 | </html> | 129 | </html> |
Offset 1, 22 lines modified | Offset 1, 25 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8C_.l_.a_.s_.s_.e_.s·|·_.N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | c | 6 | crease.h·File·Reference |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8 | 8 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8o_.p_.t_.i_.o_.n_.s_\x8._\x8h" |
9 | #include·<cassert> | ||
10 | #include·<cmath> | ||
11 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
11 | class· ·_\x8C_\x8r_\x8e_\x8a_\x8s_\x8e | ||
12 | ·······Types,·constants·and·utilities·related·to·semi-sharp·creasing·–·whose | ||
13 | ········implementation·is·independent·of·the·subdivision·scheme.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
14 | |||
12 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 15 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
13 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 16 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
14 | 17 | ||
15 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 18 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
16 | 19 | ||
17 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8S_\x8d_\x8c | 20 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8S_\x8d_\x8c |
18 | 21 | ||
19 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 22 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
20 | ····*·_\x8s_\x8d_\x8c | 23 | ····*·_\x8s_\x8d_\x8c |
21 | ····*·_\x8c_\x8 | 24 | ····*·_\x8c_\x8r_.e_.a_.s_\x8e_\x8._\x8h |
22 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 25 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/sdc/c | 8 | <title>OpenSubdiv:·opensubdiv/sdc/crease.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 15 lines modified | Offset 92, 15 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title">c | 98 | ··<div·class="headertitle"><div·class="title">crease.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="a00779.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> | 101 | <a·href="a00779.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div> | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
Offset 118, 566 lines modified | Offset 118, 221 lines modified | ||
118 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div> | 118 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div> |
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_SDC_C | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_SDC_CREASE_H</span></div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_SDC_C | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_SDC_CREASE_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·"../version.h"</span></div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·"../version.h"</span></div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../sdc/ | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../sdc/options.h"</span></div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class=" | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class=" | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> | ||
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> | ||
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | ||
138 | <div·class="line"><a·id="l0003 | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span>Sdc·{</div> |
139 | <div·class="line"><a·id="l0003 | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="comment">//</span></div> | ||
141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="comment">//··Specializations·for·Scheme<SCHEME_CATMARK>:</span></div> | ||
142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="comment">//</span></div> | ||
143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | ||
144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">//</span></div> | ||
145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">//··Catmark·traits:</span></div> | ||
146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="comment">//</span></div> | ||
147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">template</span>·<></div> | ||
148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01341.html#a0e02d297f903bddcf8bc10c0ae17ad3c">···47</a></span><span·class="keyword">inline</span>·<a·class="code·hl_enumeration"·href="a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887b">Split</a>·<a·class="code·hl_function"·href="a01341.html#a14b97ddde5fba31ca7f933508ee649da">Scheme<SCHEME_CATMARK>::GetTopologicalSplitType</a>()·{·<span·class="keywordflow">return</span>·<a·class="code·hl_enumvalue"·href="a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887ba56eed514f6a5971f198c9e421054b513">SPLIT_TO_QUADS</a>;·}</div> | ||
149 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
150 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">template</span>·<></div> | ||
151 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01341.html#a36744b2ac3801874da987d36851be86c">···50</a></span><span·class="keyword">inline</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01341.html#a531004716c07aad5436cb2db27e1ec24">Scheme<SCHEME_CATMARK>::GetRegularFaceSize</a>()·{·<span·class="keywordflow">return</span>·4;·}</div> | ||
152 | <div·class="line"><a·id="l000 | 137 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> |
138 | <div·class="foldopen"·id="foldopen00062"·data-start="{"·data-end="};"> | ||
139 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01333.html">···62</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01333.html">Crease</a>·{</div> | ||
153 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="keyword">public</span>:</div> |
154 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01341.html#ad46ad6c30664729d163c5fcc20cdf917">···53</a></span><span·class="keyword">inline</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01341.html#a8f7e983b2195ac6b388c7a6db17f8cb0">Scheme<SCHEME_CATMARK>::GetRegularVertexValence</a>()·{·<span·class="keywordflow">return</span>·4;·}</div> | ||
155 | <div·class="line"><a·id="l000 | 141 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> |
142 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01333.html#a2f54449f8a8ca460b0ad468b1aa1b4e0">···67</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·<a·class="code·hl_variable"·href="a01333.html#a2f54449f8a8ca460b0ad468b1aa1b4e0">SHARPNESS_SMOOTH</a>;····<span·class="comment">//·=··0.0f,·do·we·really·need·this?</span></div> | ||
143 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01333.html#a3bd7c586b7bf49ac3b1053ba789dae07">···68</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·<a·class="code·hl_variable"·href="a01333.html#a3bd7c586b7bf49ac3b1053ba789dae07">SHARPNESS_INFINITE</a>;··<span·class="comment">//·=·10.0f;</span></div> | ||
156 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">template</span>·<></div> | ||
157 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01341.html#a953430a884584e984c0afbb058091be1">···56</a></span><span·class="keyword">inline</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01341.html#a73cf51e4315ca86e5e0a3954c92f8f74">Scheme<SCHEME_CATMARK>::GetLocalNeighborhoodSize</a>()·{·<span·class="keywordflow">return</span>·1;·}</div> | ||
158 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | ||
159 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> | ||
160 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="comment">//</span></div> | ||
161 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="comment">//··Masks·for·edge-vertices:··the·hard·Crease·mask·does·not·need·to·be·specialized</span></div> | ||
162 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="comment">//··(simply·the·midpoint),·so·all·that·is·left·is·the·Smooth·case:</span></div> | ||
163 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="comment">//</span></div> | ||
164 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="comment">//··The·Smooth·mask·is·complicated·by·the·need·to·support·the·"triangle·subdivision"</span></div> | ||
165 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="comment">//··option,·which·applies·different·weighting·in·the·presence·of·triangles.··It·is</span></div> | ||
166 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="comment">//··up·for·debate·as·to·whether·this·is·useful·or·not·--·we·may·be·able·to·deprecate</span></div> | ||
167 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="comment">//··this·option.</span></div> | ||
168 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="comment">//</span></div> | ||
169 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">template</span>·<></div> | ||
170 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="keyword">template</span>·<<span·class="keyword">typename</span>·EDGE,·<span·class="keyword">typename</span>·MASK></div> | ||
171 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="keyword">inline</span>·<span·class="keywordtype">void</span></div> | ||
172 | <div·class="foldopen"·id="foldopen00071"·data-start="{"·data-end="}"> | ||
173 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01341.html#a16cbaf7f173cf2fdc02c992d3a31c925">···71</a></span><a·class="code·hl_function"·href="a01341.html#a059f5c2c9193be58be31955e987a0600">Scheme<SCHEME_CATMARK>::assignSmoothMaskForEdge</a>(EDGE·<span·class="keyword">const</span>&·edge,·MASK&·mask)<span·class="keyword">·const·</span>{</div> | ||
174 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> | ||
175 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·MASK::Weight·Weight;</div> | ||
176 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | ||
177 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····<span·class="keywordtype">int</span>·faceCount·=·edge.GetNumFaces();</div> | ||
178 | <div·class="line"><a·id="l000 | 144 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> |
179 | <div·class="line"><a·id="l0007 | 145 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01333.html#a4620253f6da5407f55c2b95a727e0f03">···70</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01333.html#a4620[·...·truncated·by·diffoscope;·len:·258,·SHA:·f65df9be8d64320991e9533181c0645b6c35fdc271d2ebf3ce237cdb40ffe9c1·...·]</div> |
146 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01333.html#ac9bfeebd44b0e47bb06c119c3b4ed750">···71</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01333.html#ac9bfeebd44b0e47bb06c119c3b4ed750">IsSharp</a>(<span·class="keywordtype">float</span>·sharpness)·····{·<span·class="keywordflow">return</span>·sharpness·>·<a·class="code·hl_variable"·href="a01333.html#a2f54449f8a8ca460b0ad468b1aa1b4e0">SHARPNESS_SMOOTH</a>;·}</div> | ||
147 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01333.html#a0538e02ac31e9f1118abdd1f272e7982">···72</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01333.html#a0538e02ac31e9f1118abdd1f272e7982">IsInfinite</a>(<span·class="keywordtype">float</span>·sharpness)··{·<span·class="keywordflow">return</span>·sharpness·>=·<a·class="code·hl_variable"·href="a01333.html#a3bd7c586b7bf49ac3b1053ba789dae07">SHARPNESS_INFINITE</a>;·}</div> | ||
148 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01333.html#a694f45be997ab00786d1b80f5bd39d8f">···73</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01333.html#a694f45be997ab00786d1b80f5bd39d8f">IsSemiSharp</a>(<span·class="keywordtype">float</span>·sharpness)·{·<span·class="keywordflow">return</span>·(<a·class="code·hl_variable"·href="a01333.html#a2f54449f8a8ca460b0ad468b1aa1b4e0">SHARPNESS_SMOOTH</a>·<·sharpness)·&&·(sharpness·<·<a·class="code·hl_variable"·href="a01333.html#a3bd7c586b7bf49ac3b1053ba789dae07">SHARPNESS_INFINITE</a>);·}</div> | ||
180 | <div·class="line"><a·id="l0007 | 149 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> |
181 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····mask.SetNumFaceWeights(faceCount);</div> | ||
182 | <div·class=" | 150 | <div·class="foldopen"·id="foldopen00082"·data-start="{"·data-end="};"> |
151 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01333.html#a11fcd51ef86118f65e603c1474377a78">···82</a></span>····<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a01333.html#a11fcd51ef86118f65e603c1474377a78">Rule</a>·{</div> | ||
152 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01333.html#a11fcd51ef86118f65e603c1474377a78ab299aefb26013a79d52191a7887fea53">···83</a></span>········<a·class="code·hl_enumvalue"·href="a01333.html#a11fcd51ef86118f65e603c1474377a78ab299aefb26013a79d52191a7887fea53">RULE_UNKNOWN</a>·=·0,</div> | ||
153 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01333.html#a11fcd51ef86118f65e603c1474377a78a61d137f866997ed3693e3fcad76def5f">···84</a></span>········<a·class="code·hl_enumvalue"·href="a01333.html#a11fcd51ef86118f65e603c1474377a78a61d137f866997ed3693e3fcad76def5f">RULE_SMOOTH</a>··=·(1·<<·0),</div> | ||
154 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01333.html#a11fcd51ef86118f65e603c1474377a78a43469c29d8579a63bc1d6247d2624799">···85</a></span>········<a·class="code·hl_enumvalue"·href="a01333.html#a11fcd51ef86118f65e603c1474377a78a43469c29d8579a63bc1d6247d2624799">RULE_DART</a>····=·(1·<<·1),</div> | ||
155 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01333.html#a11fcd51ef86118f65e603c1474377a78a966fa1ae8aeb8587c498cf6a92cc3335">···86</a></span>········<a·class="code·hl_enumvalue"·href="a01333.html#a11fcd51ef86118f65e603c1474377a78a966fa1ae8aeb8587c498cf6a92cc3335">RULE_CREASE</a>··=·(1·<<·2),</div> | ||
156 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>········<a·class="code·hl_enumvalue"·href="a01333.html#a11fcd51ef86118f65e603c1474377a78a27ed0595212af48db763e461bfdc29ef">RULE_CORNER</a>··=·(1·<<·3)</div> | ||
157 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a01333.html#a11fcd51ef86118f65e603c1474377a78a27ed0595212af48db763e461bfdc29ef">···88</a></span>····};</div> | ||
158 | </div> | ||
183 | <div·class="line"><a·id="l0008 | 159 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> |
184 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="comment">//</span></div> | ||
185 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····<span·class="comment">//··Determine·if·we·need·to·inspect·incident·faces·and·apply·alternate·weighting·for</span></div> | ||
186 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="comment">//··triangles·--·and·if·so,·determine·which·of·the·two·are·triangles.</span></div> | ||
187 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<span·class="comment">//</span></div> | ||
188 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="keywordtype">bool</span>·face0IsTri·=·<span·class="keyword">false</span>;</div> | ||
189 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<span·class="keywordtype">bool</span>·face1IsTri·=·<span·class="keyword">false</span>;</div> | ||
190 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<span·class="keywordtype">bool</span>·useTriangleOption·=·(_options.GetTriangleSubdivision()·==·<a·class="code·hl_enumvalue"·href="a01337.html#a10fe8c2b78e5c59377614876a362c38baf222ead5fa4875f2ea2794c2d765a87d">Options::TRI_SUB_SMOOTH</a>);</div> | ||
191 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····<span·class="keywordflow">if</span>·(useTriangleOption)·{</div> | ||
192 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span> | 160 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="keyword">public</span>:</div> |
161 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a01333.html#a9659c3f2c73b80d9dc22763a6054079b">···91</a></span>····<a·class="code·hl_function"·href="a01333.html#a9659c3f2c73b80d9dc22763a6054079b">Crease</a>()·:·_options()·{·}</div> | ||
162 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01333.html#a75d5d7e54170ccf6481932916e0fa9c1">···92</a></span>····<a·class="code·hl_function"·href="a01333.html#a75d5d7e54170ccf6481932916e0fa9c1">Crease</a>(<a·class="code·hl_class"·href="a01337.html">Options</a>·<span·class="keyword">const</span>&·options)·:·_options(options)·{·}</div> | ||
163 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a01333.html#af6737d6f9be18766c7a993cc9da108a8">···93</a></span>····<a·class="code·hl_function"·href="a01333.html#af6737d6f9be18766c7a993cc9da108a8">~Crease</a>()·{·}</div> | ||
193 | <div·class="line"><a·id="l0009 | 164 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> |
165 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a01333.html#a5dfa6810f510fac1ec621fc9e6b530c4">···95</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01333.html#a5dfa6810f510fac1ec621fc9e6b530c4">IsUniform</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_options.<a·class="code·hl_function"·href="a01337.html#a17dfce050325c0054b6e2fa422cb62b1">GetCreasingMethod</a>()·==·<a·class="code·hl_enumvalue"·href="a01337.html#a16ec522dc0398bf1435a912cd669ffb0a10f2956db48d2975424be2e52ebd544d">Options::CREASE_UNIFORM</a>;·}</div> | ||
Max diff block lines reached; 104911/130199 bytes (80.58%) of diff not shown. |
Offset 1, 1 lines modified | Offset 1, 1 lines modified | ||
1 | u | 1 | utf-8 |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | c | 5 | crease.h |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·2014·DreamWorks·Animation·LLC. | 8 | 2//·Copyright·2014·DreamWorks·Animation·LLC. |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
Offset 23, 592 lines modified | Offset 23, 289 lines modified | ||
23 | 17// | 23 | 17// |
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24#ifndef·OPENSUBDIV3_SDC_C | 30 | 24#ifndef·OPENSUBDIV3_SDC_CREASE_H |
31 | 25#define·OPENSUBDIV3_SDC_C | 31 | 25#define·OPENSUBDIV3_SDC_CREASE_H |
32 | 26 | 32 | 26 |
33 | 27#include·"../version.h" | 33 | 27#include·"../version.h" |
34 | 28 | 34 | 28 |
35 | 29#include·"../sdc/ | 35 | 29#include·"../sdc/options.h" |
36 | 30 | 36 | 30 |
37 | 31#include·<cassert> | ||
38 | 3 | 37 | 31namespace·_.O_.p_.e_.n_.S_.u_.b_.d_.i_.v·{ |
38 | 32namespace·OPENSUBDIV_VERSION·{ | ||
39 | 33 | 39 | 33 |
40 | 34namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | ||
41 | 35namespace·OPENSUBDIV_VERSION·{ | ||
42 | 36 | ||
43 | 3 | 40 | 34namespace·Sdc·{ |
41 | 35 | ||
42 | 61 | ||
43 | _\x86_\x82class·_\x8C_\x8r_\x8e_\x8a_\x8s_\x8e·{ | ||
44 | 63public: | ||
45 | 65 | ||
46 | _\x86_\x87·static·float·const·_\x8S_\x8H_\x8A_\x8R_\x8P_\x8N_\x8E_\x8S_\x8S_\x8__\x8S_\x8M_\x8O_\x8O_\x8T_\x8H;·//·=·0.0f,·do·we·really·need·this? | ||
47 | _\x86_\x88·static·float·const·_\x8S_\x8H_\x8A_\x8R_\x8P_\x8N_\x8E_\x8S_\x8S_\x8__\x8I_\x8N_\x8F_\x8I_\x8N_\x8I_\x8T_\x8E;·//·=·10.0f; | ||
48 | 69 | ||
49 | _\x87_\x80·static·bool·_\x8I_\x8s_\x8S_\x8m_\x8o_\x8o_\x8t_\x8h(float·sharpness)·{·return·sharpness·<= | ||
44 | 38 | ||
45 | 39// | ||
46 | 40//·Specializations·for·Scheme<SCHEME_CATMARK>: | ||
47 | 41// | ||
48 | 42 | ||
49 | 43// | ||
50 | 44//·Catmark·traits: | ||
51 | 45// | ||
52 | 46template·<> | ||
53 | _\x84_\x87inline·_\x8S_\x8p_\x8l_\x8i_\x8t·_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8<_\x8S_\x8C_\x8H_\x8E_\x8M_\x8E_\x8__\x8C_\x8A_\x8T_\x8M_\x8A_\x8R_\x8K_\x8>_\x8:_\x8:_\x8G_\x8e_\x8t_\x8T_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8i_\x8c_\x8a_\x8l_\x8S_\x8p_\x8l_\x8i_\x8t_\x8T_\x8y_\x8p_\x8e()·{·return | ||
54 | _\x8S_\x8P_\x8L_\x8I_\x8T_\x8__\x8T_\x8O_\x8__\x8Q_\x8U_\x8A_\x8D_\x8S;·} | ||
55 | 48 | ||
56 | 49template·<> | ||
57 | _\x85_\x80inline·int·_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8<_\x8S_\x8C_\x8H_\x8E_\x8M_\x8E_\x8__\x8C_\x8A_\x8T_\x8M_\x8A_\x8R_\x8K_\x8>_\x8:_\x8:_\x8G_\x8e_\x8t_\x8R_\x8e_\x8g_\x8u_\x8l_\x8a_\x8r_\x8F_\x8a_\x8c_\x8e_\x8S_\x8i_\x8z_\x8e()·{·return·4;·} | ||
58 | 51 | ||
59 | 52template·<> | ||
60 | _\x85_\x83inline·int·_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8<_\x8S_\x8C_\x8H_\x8E_\x8M_\x8E_\x8__\x8C_\x8A_\x8T_\x8M_\x8A_\x8R_\x8K_\x8>_\x8:_\x8:_\x8G_\x8e_\x8t_\x8R_\x8e_\x8g_\x8u_\x8l_\x8a_\x8r_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8V_\x8a_\x8l_\x8e_\x8n_\x8c_\x8e()·{·return·4;·} | ||
61 | 54 | ||
62 | 55template·<> | ||
63 | _\x85_\x86inline·int·_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8<_\x8S_\x8C_\x8H_\x8E_\x8M_\x8E_\x8__\x8C_\x8A_\x8T_\x8M_\x8A_\x8R_\x8K_\x8>_\x8:_\x8:_\x8G_\x8e_\x8t_\x8L_\x8o_\x8c_\x8a_\x8l_\x8N_\x8e_\x8i_\x8g_\x8h_\x8b_\x8o_\x8r_\x8h_\x8o_\x8o_\x8d_\x8S_\x8i_\x8z_\x8e()·{·return·1;·} | ||
64 | 57 | ||
65 | 58 | ||
66 | 59// | ||
67 | 60//·Masks·for·edge-vertices:·the·hard·Crease·mask·does·not·need·to·be | ||
68 | specialized | ||
69 | 61//·(simply·the·midpoint),·so·all·that·is·left·is·the·Smooth·case: | ||
70 | 62// | ||
71 | 63//·The·Smooth·mask·is·complicated·by·the·need·to·support·the·"triangle | ||
72 | subdivision" | ||
73 | 64//·option,·which·applies·different·weighting·in·the·presence·of·triangles.·It | ||
74 | is | ||
75 | 65//·up·for·debate·as·to·whether·this·is·useful·or·not·--·we·may·be·able·to | ||
76 | deprecate | ||
77 | 66//·this·option. | ||
78 | 67// | ||
79 | 68template·<> | ||
80 | 69template·<typename·EDGE,·typename·MASK> | ||
81 | 70inline·void | ||
82 | _\x87_\x81_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8<_\x8S_\x8C_\x8H_\x8E_\x8M_\x8E_\x8__\x8C_\x8A_\x8T_\x8M_\x8A_\x8R_\x8K_\x8>_\x8:_\x8:_\x8a_\x8s_\x8s_\x8i_\x8g_\x8n_\x8S_\x8m_\x8o_\x8o_\x8t_\x8h_\x8M_\x8a_\x8s_\x8k_\x8F_\x8o_\x8r_\x8E_\x8d_\x8g_\x8e(EDGE·const&·edge,·MASK&·mask) | ||
83 | const·{ | ||
84 | 72 | ||
85 | 73·typedef·typename·MASK::Weight·Weight; | ||
86 | 74 | ||
87 | 75·int·faceCount·=·edge.GetNumFaces(); | ||
88 | 76 | ||
89 | 77·mask.SetNumVertexWeights(2); | ||
90 | 78·mask.SetNumEdgeWeights(0); | ||
91 | 79·mask.SetNumFaceWeights(faceCount); | ||
92 | 80·mask.SetFaceWeightsForFaceCenters(true); | ||
93 | 81 | ||
94 | 82·// | ||
95 | 83·//·Determine·if·we·need·to·inspect·incident·faces·and·apply·alternate | ||
96 | weighting·for | ||
97 | 84·//·triangles·--·and·if·so,·determine·which·of·the·two·are·triangles. | ||
98 | 85·// | ||
99 | 86·bool·face0IsTri·=·false; | ||
100 | 87·bool·face1IsTri·=·false; | ||
101 | 88·bool·useTriangleOption·=·(_options.GetTriangleSubdivision()·==·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s_\x8:_\x8: | ||
102 | _\x8 | 50 | _\x8S_.H_.A_.R_.P_.N_.E_.S_.S_.__.S_.M_.O_.O_.T_.H;·} |
103 | 89·if·(useTriangleOption)·{ | ||
104 | 90·if·(faceCount·==·2)·{ | ||
105 | 91·// | ||
106 | 92·//·Ideally·we·want·to·avoid·this·inspection·when·we·have·already·subdivided | ||
107 | at | ||
108 | 93·//·least·once·--·need·something·in·the·Edge·interface·to·help·avoid·this, | ||
109 | e.g. | ||
110 | 94·//·an·IsRegular()·query,·the·subdivision·level... | ||
111 | 95·// | ||
112 | 96·int·vertsPerFace[2]; | ||
113 | 51 | _.7_.1·static·bool·_.I_.s_.S_.h_.a_.r_.p(float·sharpness)·{·return·sharpness·>·_.S_.H_.A_.R_.P_.N_.E_.S_.S_.__.S_.M_.O_.O_.T_.H; | |
52 | } | ||
53 | _\x87_\x82·static·bool·_\x8I_\x8s_\x8I_\x8n_\x8f_\x8i_\x8n_\x8i_\x8t_\x8e(float·sharpness)·{·return·sharpness·>= | ||
54 | _\x8S_\x8H_\x8A_\x8R_\x8P_\x8N_\x8E_\x8S_\x8S_\x8__\x8I_\x8N_\x8F_\x8I_\x8N_\x8I_\x8T_\x8E;·} | ||
55 | _\x87_\x83·static·bool·_\x8I_\x8s_\x8S_\x8e_\x8m_\x8i_\x8S_\x8h_\x8a_\x8r_\x8p(float·sharpness)·{·return·(_\x8S_\x8H_\x8A_\x8R_\x8P_\x8N_\x8E_\x8S_\x8S_\x8__\x8S_\x8M_\x8O_\x8O_\x8T_\x8H·< | ||
56 | sharpness)·&&·(sharpness·<·_\x8S_\x8H_\x8A_\x8R_\x8P_\x8N_\x8E_\x8S_\x8S_\x8__\x8I_\x8N_\x8F_\x8I_\x8N_\x8I_\x8T_\x8E);·} | ||
57 | 75 | ||
58 | _\x88_\x82·enum·_\x8R_\x8u_\x8l_\x8e·{ | ||
59 | _\x88_\x83·_\x8R_\x8U_\x8L_\x8E_\x8__\x8U_\x8N_\x8K_\x8N_\x8O_\x8W_\x8N·=·0, | ||
60 | _\x88_\x84·_\x8R_\x8U_\x8L_\x8E_\x8__\x8S_\x8M_\x8O_\x8O_\x8T_\x8H·=·(1·<<·0), | ||
61 | _\x88_\x85·_\x8R_\x8U_\x8L_\x8E_\x8__\x8D_\x8A_\x8R_\x8T·=·(1·<<·1), | ||
62 | _\x88_\x86·_\x8R_\x8U_\x8L_\x8E_\x8__\x8C_\x8R_\x8E_\x8A_\x8S_\x8E·=·(1·<<·2), | ||
63 | 87·_\x8R_\x8U_\x8L_\x8E_\x8__\x8C_\x8O_\x8R_\x8N_\x8E_\x8R·=·(1·<<·3) | ||
64 | _\x88_\x88·}; | ||
Max diff block lines reached; 35324/40976 bytes (86.21%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/sdc/cr | 8 | <title>OpenSubdiv:·opensubdiv/sdc/catmarkScheme.h·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 88, 43 lines modified | Offset 88, 38 lines modified | ||
88 | </div> | 88 | </div> |
89 | </div> | 89 | </div> |
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | ||
95 | <a·href="#namespaces">Namespaces</a>··</div> | 94 | <a·href="#namespaces">Namespaces</a>··</div> |
96 | ··<div·class="headertitle"><div·class="title">cr | 95 | ··<div·class="headertitle"><div·class="title">catmarkScheme.h·File·Reference</div></div> |
97 | </div><!--header--> | 96 | </div><!--header--> |
98 | <div·class="contents"> | 97 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 98 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·"<a·class="el"·href="a0077 | 99 | <code>#include·"<a·class="el"·href="a00770_source.html">../sdc/scheme.h</a>"</code><br·/> |
100 | <code>#include·<cassert></code><br·/> | ||
101 | <code>#include·<cmath></code><br·/> | ||
101 | </div> | 102 | </div> |
102 | <p><a·href="a00782_source.html">Go·to·the·source·code·of·this·file.</a></p> | 103 | <p><a·href="a00782_source.html">Go·to·the·source·code·of·this·file.</a></p> |
103 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
105 | Classes</h2></td></tr> | ||
106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01333.html">Crease</a></td></tr> | ||
107 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Types,·constants·and·utilities·related·to·semi-sharp·creasing·–·whose·implementation·is·independent·of·the·subdivision·scheme.··<a·href="a01333.html#details">More...</a><br·/></td></tr> | ||
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
109 | </table><table·class="memberdecls"> | ||
110 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
111 | Namespaces</h2></td></tr> | 106 | Namespaces</h2></td></tr> |
112 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 107 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
114 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 109 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
116 | <tr·class="memitem:a00913"·id="r_a00913"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00913.html">OpenSubdiv::OPENSUBDIV_VERSION::Sdc</a></td></tr> | 111 | <tr·class="memitem:a00913"·id="r_a00913"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00913.html">OpenSubdiv::OPENSUBDIV_VERSION::Sdc</a></td></tr> |
117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
118 | </table> | 113 | </table> |
119 | </div><!--·contents·--> | 114 | </div><!--·contents·--> |
120 | </div><!--·doc-content·--> | 115 | </div><!--·doc-content·--> |
121 | <!--·start·footer·part·--> | 116 | <!--·start·footer·part·--> |
122 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 117 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
123 | ··<ul> | 118 | ··<ul> |
124 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_f61368944c63c2c1f8c69bc232e59c39.html">sdc</a></li><li·class="navelem"><a·class="el"·href="a00782.html">cr | 119 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_f61368944c63c2c1f8c69bc232e59c39.html">sdc</a></li><li·class="navelem"><a·class="el"·href="a00782.html">catmarkScheme.h</a></li> |
125 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 120 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
126 | ··</ul> | 121 | ··</ul> |
127 | </div> | 122 | </div> |
128 | </body> | 123 | </body> |
129 | </html> | 124 | </html> |
Offset 1, 25 lines modified | Offset 1, 22 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8 | 5 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | cr | 6 | catmarkScheme.h·File·Reference |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8 | 8 | #include·"_\x8._\x8._\x8/_\x8s_\x8d_\x8c_\x8/_\x8s_.c_.h_.e_.m_.e_\x8._\x8h" |
9 | #include·<cassert> | ||
10 | #include·<cmath> | ||
9 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 11 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
10 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
11 | class· ·_\x8C_\x8r_\x8e_\x8a_\x8s_\x8e | ||
12 | ·······Types,·constants·and·utilities·related·to·semi-sharp·creasing·–·whose | ||
13 | ········implementation·is·independent·of·the·subdivision·scheme.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
14 | |||
15 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 12 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
16 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 13 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
17 | 14 | ||
18 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 15 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
19 | 16 | ||
20 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8S_\x8d_\x8c | 17 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8S_\x8d_\x8c |
21 | 18 | ||
22 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 19 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
23 | ····*·_\x8s_\x8d_\x8c | 20 | ····*·_\x8s_\x8d_\x8c |
24 | ····*·_\x8c_\x8r_. | 21 | ····*·_\x8c_\x8a_.t_.m_.a_.r_.k_.S_.c_.h_.e_.m_\x8e_\x8._\x8h |
25 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 22 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/sdc/cr | 8 | <title>OpenSubdiv:·opensubdiv/sdc/catmarkScheme.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 15 lines modified | Offset 92, 15 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title">cr | 98 | ··<div·class="headertitle"><div·class="title">catmarkScheme.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="a00782.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> | 101 | <a·href="a00782.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div> | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2014·DreamWorks·Animation·LLC.</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
Offset 118, 221 lines modified | Offset 118, 566 lines modified | ||
118 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div> | 118 | <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//</span></div> |
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_SDC_CR | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_SDC_CATMARK_SCHEME_H</span></div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_SDC_CR | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·OPENSUBDIV3_SDC_CATMARK_SCHEME_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·"../version.h"</span></div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·"../version.h"</span></div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../sdc/ | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../sdc/scheme.h"</span></div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class=" | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·<cassert></span></div> |
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class=" | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·<cmath></span></div> |
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> | ||
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> | ||
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | ||
135 | <div·class="line"><a·id="l0003 | 138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Sdc·{</div> |
136 | <div·class="line"><a·id="l0003 | 139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
137 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | ||
138 | <div·class="foldopen"·id="foldopen00062"·data-start="{"·data-end="};"> | ||
139 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01333.html">···62</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01333.html">Crease</a>·{</div> | ||
140 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="comment">//</span></div> |
141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="comment">//··Specializations·for·Scheme<SCHEME_CATMARK>:</span></div> | ||
141 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | ||
142 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01333.html#a2f54449f8a8ca460b0ad468b1aa1b4e0">···67</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·<a·class="code·hl_variable"·href="a01333.html#a2f54449f8a8ca460b0ad468b1aa1b4e0">SHARPNESS_SMOOTH</a>;····<span·class="comment">//·=··0.0f,·do·we·really·need·this?</span></div> | ||
143 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01333.html#a3bd7c586b7bf49ac3b1053ba789dae07">···68</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·<a·class="code·hl_variable"·href="a01333.html#a3bd7c586b7bf49ac3b1053ba789dae07">SHARPNESS_INFINITE</a>;··<span·class="comment">//·=·10.0f;</span></div> | ||
144 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | ||
145 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01333.html#a4620253f6da5407f55c2b95a727e0f03">···70</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01333.html#a4620253f6da5407f55c2b95a727e0f03">IsSmooth</a>(<span·class="keywordtype">float</span>·sharpness)····{·<span·class="keywordflow">return</span>·sharpness·<=·<a·class="code·hl_variable"·href="a01333.html#a2f54449f8a8ca460b0ad468b1aa1b4e0">SHARPNESS_SMOOTH</a>;·}</div> | ||
146 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01333.html#ac9bfeebd44b0e47bb06c119c3b4ed750">···71</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01333.html#ac9bfeebd44b0e47bb06c119c3b4ed750">IsSharp</a>(<span·class="keywordtype">float</span>·sharpness)·····{·<span·class="keywordflow">return</span>·sharpness·>·<a·class="code·hl_variable"·href="a01333.html#a2f54449f8a8ca460b0ad468b1aa1b4e0">SHARPNESS_SMOOTH</a>;·}</div> | ||
147 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01333.html#a0538e02ac31e9f1118abdd1f272e7982">···72</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01333.html#a0538e02ac31e9f1118abdd1f272e7982">IsInfinite</a>(<span·class="keywordtype">float</span>·sharpness)··{·<span·class="keywordflow">return</span>·sharpness·>=·<a·class="code·hl_variable"·href="a01333.html#a3bd7c586b7bf49ac3b1053ba789dae07">SHARPNESS_INFINITE</a>;·}</div> | ||
148 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01333.html#a694f45be997ab00786d1b80f5bd39d8f">···73</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01333.html#a694f45be997ab00786d1b80f5bd39d8f">IsSemiSharp</a>(<span·class="keywordtype">float</span>·sharpness)·{·<span·class="keywordflow">return</span>·(<a·class="code·hl_variable"·href="a01333.html#a2f54449f8a8ca460b0ad468b1aa1b4e0">SHARPNESS_SMOOTH</a>·<·sharpness)·&&·(sharpness·<·<a·class="code·hl_variable"·href="a01333.html#a3bd7c586b7bf49ac3b1053ba789dae07">SHARPNESS_INFINITE</a>);·}</div> | ||
149 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | ||
150 | <div·class="foldopen"·id="foldopen00082"·data-start="{"·data-end="};"> | ||
151 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01333.html#a11fcd51ef86118f65e603c1474377a78">···82</a></span>····<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a01333.html#a11fcd51ef86118f65e603c1474377a78">Rule</a>·{</div> | ||
152 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01333.html#a11fcd51ef86118f65e603c1474377a78ab299aefb26013a79d52191a7887fea53">···83</a></span>········<a·class="code·hl_enumvalue"·href="a01333.html#a11fcd51ef86118f65e603c1474377a78ab299aefb26013a79d52191a7887fea53">RULE_UNKNOWN</a>·=·0,</div> | ||
153 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01333.html#a11fcd51ef86118f65e603c1474377a78a61d137f866997ed3693e3fcad76def5f">···84</a></span>········<a·class="code·hl_enumvalue"·href="a01333.html#a11fcd51ef86118f65e603c1474377a78a61d137f866997ed3693e3fcad76def5f">RULE_SMOOTH</a>··=·(1·<<·0),</div> | ||
154 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01333.html#a11fcd51ef86118f65e603c1474377a78a43469c29d8579a63bc1d6247d2624799">···85</a></span>········<a·class="code·hl_enumvalue"·href="a01333.html#a11fcd51ef86118f65e603c1474377a78a43469c29d8579a63bc1d6247d2624799">RULE_DART</a>····=·(1·<<·1),</div> | ||
155 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01333.html#a11fcd51ef86118f65e603c1474377a78a966fa1ae8aeb8587c498cf6a92cc3335">···86</a></span>········<a·class="code·hl_enumvalue"·href="a01333.html#a11fcd51ef86118f65e603c1474377a78a966fa1ae8aeb8587c498cf6a92cc3335">RULE_CREASE</a>··=·(1·<<·2),</div> | ||
156 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>········<a·class="code·hl_enumvalue"·href="a01333.html#a11fcd51ef86118f65e603c1474377a78a27ed0595212af48db763e461bfdc29ef">RULE_CORNER</a>··=·(1·<<·3)</div> | ||
157 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a01333.html#a11fcd51ef86118f65e603c1474377a78a27ed0595212af48db763e461bfdc29ef">···88</a></span>····};</div> | ||
158 | </div> | ||
159 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> | ||
160 | <div·class="line"><a·id="l000 | 142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="comment">//</span></div> |
161 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a01333.html#a9659c3f2c73b80d9dc22763a6054079b">···91</a></span>····<a·class="code·hl_function"·href="a01333.html#a9659c3f2c73b80d9dc22763a6054079b">Crease</a>()·:·_options()·{·}</div> | ||
162 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01333.html#a75d5d7e54170ccf6481932916e0fa9c1">···92</a></span>····<a·class="code·hl_function"·href="a01333.html#a75d5d7e54170ccf6481932916e0fa9c1">Crease</a>(<a·class="code·hl_class"·href="a01337.html">Options</a>·<span·class="keyword">const</span>&·options)·:·_options(options)·{·}</div> | ||
163 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a01333.html#af6737d6f9be18766c7a993cc9da108a8">···93</a></span>····<a·class="code·hl_function"·href="a01333.html#af6737d6f9be18766c7a993cc9da108a8">~Crease</a>()·{·}</div> | ||
164 | <div·class="line"><a·id="l000 | 143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
165 | <div·class="line"><a·id="l000 | 144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">//</span></div> |
145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">//··Catmark·traits:</span></div> | ||
146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="comment">//</span></div> | ||
147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">template</span>·<></div> | ||
148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01341.html#a0e02d297f903bddcf8bc10c0ae17ad3c">···47</a></span><span·class="keyword">inline</span>·<a·class="code·hl_enumeration"·href="a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887b">Split</a>·<a·class="code·hl_function"·href="a01341.html#a14b97ddde5fba31ca7f933508ee649da">Scheme<SCHEME_CATMARK>::GetTopologicalSplitType</a>()·{·<span·class="keywordflow">return</span>·<a·class="code·hl_enumvalue"·href="a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887ba56eed514f6a5971f198c9e421054b513">SPLIT_TO_QUADS</a>;·}</div> | ||
149 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
150 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">template</span>·<></div> | ||
151 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01341.html#a36744b2ac3801874da987d36851be86c">···50</a></span><span·class="keyword">inline</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01341.html#a531004716c07aad5436cb2db27e1ec24">Scheme<SCHEME_CATMARK>::GetRegularFaceSize</a>()·{·<span·class="keywordflow">return</span>·4;·}</div> | ||
152 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
153 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">template</span>·<></div> | ||
154 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01341.html#ad46ad6c30664729d163c5fcc20cdf917">···53</a></span><span·class="keyword">inline</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01341.html#a8f7e983b2195ac6b388c7a6db17f8cb0">Scheme<SCHEME_CATMARK>::GetRegularVertexValence</a>()·{·<span·class="keywordflow">return</span>·4;·}</div> | ||
155 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | ||
156 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="keyword">template</span>·<></div> | ||
157 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01341.html#a953430a884584e984c0afbb058091be1">···56</a></span><span·class="keyword">inline</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01341.html#a73cf51e4315ca86e5e0a3954c92f8f74">Scheme<SCHEME_CATMARK>::GetLocalNeighborhoodSize</a>()·{·<span·class="keywordflow">return</span>·1;·}</div> | ||
158 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | ||
159 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> | ||
160 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="comment">//</span></div> | ||
161 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="comment">//··Masks·for·edge-vertices:··the·hard·Crease·mask·does·not·need·to·be·specialized</span></div> | ||
162 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="comment">//··(simply·the·midpoint),·so·all·that·is·left·is·the·Smooth·case:</span></div> | ||
163 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="comment">//</span></div> | ||
164 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="comment">//··The·Smooth·mask·is·complicated·by·the·need·to·support·the·"triangle·subdivision"</span></div> | ||
165 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="comment">//··option,·which·applies·different·weighting·in·the·presence·of·triangles.··It·is</span></div> | ||
166 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="comment">//··up·for·debate·as·to·whether·this·is·useful·or·not·--·we·may·be·able·to·deprecate</span></div> | ||
167 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="comment">//··this·option.</span></div> | ||
168 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="comment">//</span></div> | ||
169 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">template</span>·<></div> | ||
170 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="keyword">template</span>·<<span·class="keyword">typename</span>·EDGE,·<span·class="keyword">typename</span>·MASK></div> | ||
171 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="keyword">inline</span>·<span·class="keywordtype">void</span></div> | ||
172 | <div·class="foldopen"·id="foldopen00071"·data-start="{"·data-end="}"> | ||
173 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01341.html#a16cbaf7f173cf2fdc02c992d3a31c925">···71</a></span><a·class="code·hl_function"·href="a01341.html#a059f5c2c9193be58be31955e987a0600">Scheme<SCHEME_CATMARK>::assignSmoothMaskForEdge</a>(EDGE·<span·class="keyword">const</span>&·edge,·MASK&·mask)<span·class="keyword">·const·</span>{</div> | ||
174 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> | ||
175 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·MASK::Weight·Weight;</div> | ||
176 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | ||
177 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····<span·class="keywordtype">int</span>·faceCount·=·edge.GetNumFaces();</div> | ||
166 | <div·class="line"><a·id="l000 | 178 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> |
179 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····mask.SetNumVertexWeights(2);</div> | ||
180 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····mask.SetNumEdgeWeights(0);</div> | ||
181 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····mask.SetNumFaceWeights(faceCount);</div> | ||
182 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····mask.SetFaceWeightsForFaceCenters(<span·class="keyword">true</span>);</div> | ||
183 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> | ||
184 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="comment">//</span></div> | ||
185 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····<span·class="comment">//··Determine·if·we·need·to·inspect·incident·faces·and·apply·alternate·weighting·for</span></div> | ||
186 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="comment">//··triangles·--·and·if·so,·determine·which·of·the·two·are·triangles.</span></div> | ||
187 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<span·class="comment">//</span></div> | ||
Max diff block lines reached; 104996/130284 bytes (80.59%) of diff not shown. |
Offset 1, 1 lines modified | Offset 1, 1 lines modified | ||
1 | u | 1 | us-ascii |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | cr | 5 | catmarkScheme.h |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·2014·DreamWorks·Animation·LLC. | 8 | 2//·Copyright·2014·DreamWorks·Animation·LLC. |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
Offset 23, 289 lines modified | Offset 23, 592 lines modified | ||
23 | 17// | 23 | 17// |
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24#ifndef·OPENSUBDIV3_SDC_CR | 30 | 24#ifndef·OPENSUBDIV3_SDC_CATMARK_SCHEME_H |
31 | 25#define·OPENSUBDIV3_SDC_CR | 31 | 25#define·OPENSUBDIV3_SDC_CATMARK_SCHEME_H |
32 | 26 | 32 | 26 |
33 | 27#include·"../version.h" | 33 | 27#include·"../version.h" |
34 | 28 | 34 | 28 |
35 | 29#include·"../sdc/ | 35 | 29#include·"../sdc/scheme.h" |
36 | 30 | 36 | 30 |
37 | 31namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | ||
38 | 3 | 37 | 31#include·<cassert> |
38 | 32#include·<cmath> | ||
39 | 33 | 39 | 33 |
40 | 34namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | ||
41 | 35namespace·OPENSUBDIV_VERSION·{ | ||
42 | 36 | ||
40 | 3 | 43 | 37namespace·Sdc·{ |
41 | 35 | ||
42 | 61 | ||
43 | _\x86_\x82class·_\x8C_\x8r_\x8e_\x8a_\x8s_\x8e·{ | ||
44 | 63public: | ||
45 | 65 | ||
46 | _\x86_\x87·static·float·const·_\x8S_\x8H_\x8A_\x8R_\x8P_\x8N_\x8E_\x8S_\x8S_\x8__\x8S_\x8M_\x8O_\x8O_\x8T_\x8H;·//·=·0.0f,·do·we·really·need·this? | ||
47 | _\x86_\x88·static·float·const·_\x8S_\x8H_\x8A_\x8R_\x8P_\x8N_\x8E_\x8S_\x8S_\x8__\x8I_\x8N_\x8F_\x8I_\x8N_\x8I_\x8T_\x8E;·//·=·10.0f; | ||
48 | 69 | ||
49 | _\x87_\x80·static·bool·_\x8I_\x8s_\x8S_\x8m_\x8o_\x8o_\x8t_\x8h(float·sharpness)·{·return·sharpness·<= | ||
50 | _\x8S_\x8H_\x8A_\x8R_\x8P_\x8N_\x8E_\x8S_\x8S_\x8__\x8S_\x8M_\x8O_\x8O_\x8T_\x8H;·} | ||
51 | _\x87_\x81·static·bool·_\x8I_\x8s_\x8S_\x8h_\x8a_\x8r_\x8p(float·sharpness)·{·return·sharpness·>·_\x8S_\x8H_\x8A_\x8R_\x8P_\x8N_\x8E_\x8S_\x8S_\x8__\x8S_\x8M_\x8O_\x8O_\x8T_\x8H; | ||
52 | } | ||
53 | _\x87_\x82·static·bool·_\x8I_\x8s_\x8I_\x8n_\x8f_\x8i_\x8n_\x8i_\x8t_\x8e(float·sharpness)·{·return·sharpness·>= | ||
54 | _\x8S_\x8H_\x8A_\x8R_\x8P_\x8N_\x8E_\x8S_\x8S_\x8__\x8I_\x8N_\x8F_\x8I_\x8N_\x8I_\x8T_\x8E;·} | ||
55 | _\x87_\x83·static·bool·_\x8I_\x8s_\x8S_\x8e_\x8m_\x8i_\x8S_\x8h_\x8a_\x8r_\x8p(float·sharpness)·{·return·(_\x8S_\x8H_\x8A_\x8R_\x8P_\x8N_\x8E_\x8S_\x8S_\x8__\x8S_\x8M_\x8O_\x8O_\x8T_\x8H·< | ||
56 | sharpness)·&&·(sharpness·<·_\x8S_\x8H_\x8A_\x8R_\x8P_\x8N_\x8E_\x8S_\x8S_\x8__\x8I_\x8N_\x8F_\x8I_\x8N_\x8I_\x8T_\x8E);·} | ||
57 | 75 | ||
58 | _\x88_\x82·enum·_\x8R_\x8u_\x8l_\x8e·{ | ||
59 | _\x88_\x83·_\x8R_\x8U_\x8L_\x8E_\x8__\x8U_\x8N_\x8K_\x8N_\x8O_\x8W_\x8N·=·0, | ||
60 | _\x88_\x84·_\x8R_\x8U_\x8L_\x8E_\x8__\x8S_\x8M_\x8O_\x8O_\x8T_\x8H·=·(1·<<·0), | ||
61 | _\x88_\x85·_\x8R_\x8U_\x8L_\x8E_\x8__\x8D_\x8A_\x8R_\x8T·=·(1·<<·1), | ||
62 | _\x88_\x86·_\x8R_\x8U_\x8L_\x8E_\x8__\x8C_\x8R_\x8E_\x8A_\x8S_\x8E·=·(1·<<·2), | ||
63 | 87·_\x8R_\x8U_\x8L_\x8E_\x8__\x8C_\x8O_\x8R_\x8N_\x8E_\x8R·=·(1·<<·3) | ||
64 | _\x88_\x88·}; | ||
65 | 89 | ||
66 | 90public: | ||
67 | _\x89_\x81·_\x8C_\x8r_\x8e_\x8a_\x8s_\x8e()·:·_options()·{·} | ||
68 | _\x89_\x82·_\x8C_\x8r_\x8e_\x8a_\x8s_\x8e(_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s·const&·options)·:·_options(options)·{·} | ||
69 | _\x89_\x83·_\x8~_\x8C_\x8r_\x8e_\x8a_\x8s_\x8e()·{·} | ||
70 | 94 | ||
71 | _\x89_\x85·bool·_\x8I_\x8s_\x8U_\x8n_\x8i_\x8f_\x8o_\x8r_\x8m()·const·{·return·_options._\x8G_\x8e_\x8t_\x8C_\x8r_\x8e_\x8a_\x8s_\x8i_\x8n_\x8g_\x8M_\x8e_\x8t_\x8h_\x8o_\x8d()·==·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s_\x8:_\x8: | ||
72 | _\x8C_\x8R_\x8E_\x8A_\x8S_\x8E_\x8__\x8U_\x8N_\x8I_\x8F_\x8O_\x8R_\x8M;·} | ||
73 | 44 | 38 | |
45 | 39// | ||
46 | 40//·Specializations·for·Scheme<SCHEME_CATMARK>: | ||
47 | 41// | ||
48 | 42 | ||
49 | 43// | ||
50 | 44//·Catmark·traits: | ||
51 | 45// | ||
52 | 46template·<> | ||
53 | _\x84_\x87inline·_\x8S_\x8p_\x8l_\x8i_\x8t·_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8<_\x8S_\x8C_\x8H_\x8E_\x8M_\x8E_\x8__\x8C_\x8A_\x8T_\x8M_\x8A_\x8R_\x8K_\x8>_\x8:_\x8:_\x8G_\x8e_\x8t_\x8T_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8i_\x8c_\x8a_\x8l_\x8S_\x8p_\x8l_\x8i_\x8t_\x8T_\x8y_\x8p_\x8e()·{·return | ||
54 | _\x8S_\x8P_\x8L_\x8I_\x8T_\x8__\x8T_\x8O_\x8__\x8Q_\x8U_\x8A_\x8D_\x8S;·} | ||
55 | 48 | ||
56 | 49template·<> | ||
57 | _\x85_\x80inline·int·_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8<_\x8S_\x8C_\x8H_\x8E_\x8M_\x8E_\x8__\x8C_\x8A_\x8T_\x8M_\x8A_\x8R_\x8K_\x8>_\x8:_\x8:_\x8G_\x8e_\x8t_\x8R_\x8e_\x8g_\x8u_\x8l_\x8a_\x8r_\x8F_\x8a_\x8c_\x8e_\x8S_\x8i_\x8z_\x8e()·{·return·4;·} | ||
58 | 51 | ||
59 | 52template·<> | ||
60 | _\x85_\x83inline·int·_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8<_\x8S_\x8C_\x8H_\x8E_\x8M_\x8E_\x8__\x8C_\x8A_\x8T_\x8M_\x8A_\x8R_\x8K_\x8>_\x8:_\x8:_\x8G_\x8e_\x8t_\x8R_\x8e_\x8g_\x8u_\x8l_\x8a_\x8r_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8V_\x8a_\x8l_\x8e_\x8n_\x8c_\x8e()·{·return·4;·} | ||
61 | 54 | ||
62 | 55template·<> | ||
63 | _\x85_\x86inline·int·_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8<_\x8S_\x8C_\x8H_\x8E_\x8M_\x8E_\x8__\x8C_\x8A_\x8T_\x8M_\x8A_\x8R_\x8K_\x8>_\x8:_\x8:_\x8G_\x8e_\x8t_\x8L_\x8o_\x8c_\x8a_\x8l_\x8N_\x8e_\x8i_\x8g_\x8h_\x8b_\x8o_\x8r_\x8h_\x8o_\x8o_\x8d_\x8S_\x8i_\x8z_\x8e()·{·return·1;·} | ||
64 | 57 | ||
65 | 58 | ||
66 | 59// | ||
67 | 60//·Masks·for·edge-vertices:·the·hard·Crease·mask·does·not·need·to·be | ||
68 | specialized | ||
69 | 61//·(simply·the·midpoint),·so·all·that·is·left·is·the·Smooth·case: | ||
70 | 62// | ||
71 | 63//·The·Smooth·mask·is·complicated·by·the·need·to·support·the·"triangle | ||
72 | subdivision" | ||
73 | 64//·option,·which·applies·different·weighting·in·the·presence·of·triangles.·It | ||
74 | is | ||
75 | 65//·up·for·debate·as·to·whether·this·is·useful·or·not·--·we·may·be·able·to | ||
76 | deprecate | ||
77 | 66//·this·option. | ||
78 | 67// | ||
79 | 68template·<> | ||
80 | 69template·<typename·EDGE,·typename·MASK> | ||
81 | 70inline·void | ||
82 | _\x87_\x81_\x8S_\x8c_\x8h_\x8e_\x8m_\x8e_\x8<_\x8S_\x8C_\x8H_\x8E_\x8M_\x8E_\x8__\x8C_\x8A_\x8T_\x8M_\x8A_\x8R_\x8K_\x8>_\x8:_\x8:_\x8a_\x8s_\x8s_\x8i_\x8g_\x8n_\x8S_\x8m_\x8o_\x8o_\x8t_\x8h_\x8M_\x8a_\x8s_\x8k_\x8F_\x8o_\x8r_\x8E_\x8d_\x8g_\x8e(EDGE·const&·edge,·MASK&·mask) | ||
83 | const·{ | ||
84 | 72 | ||
85 | 73·typedef·typename·MASK::Weight·Weight; | ||
86 | 74 | ||
87 | 75·int·faceCount·=·edge.GetNumFaces(); | ||
88 | 76 | ||
89 | 77·mask.SetNumVertexWeights(2); | ||
90 | 78·mask.SetNumEdgeWeights(0); | ||
91 | 79·mask.SetNumFaceWeights(faceCount); | ||
92 | 80·mask.SetFaceWeightsForFaceCenters(true); | ||
93 | 81 | ||
94 | 82·// | ||
95 | 83·//·Determine·if·we·need·to·inspect·incident·faces·and·apply·alternate | ||
96 | weighting·for | ||
97 | 84·//·triangles·--·and·if·so,·determine·which·of·the·two·are·triangles. | ||
98 | 85·// | ||
99 | 86·bool·face0IsTri·=·false; | ||
100 | 87·bool·face1IsTri·=·false; | ||
101 | 88·bool·useTriangleOption·=·(_options.GetTriangleSubdivision()·==·_\x8O_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s_\x8:_\x8: | ||
102 | _\x8T_\x8R_\x8I_\x8__\x8S_\x8U_\x8B_\x8__\x8S_\x8M_\x8O_\x8O_\x8T_\x8H); | ||
103 | 89·if·(useTriangleOption)·{ | ||
Max diff block lines reached; 35324/40976 bytes (86.21%) of diff not shown. |
Offset 280, 15 lines modified | Offset 280, 15 lines modified | ||
280 | <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> | 280 | <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> |
281 | <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno">··162</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div> | 281 | <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno">··162</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div> |
282 | <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno">··163</span>·</div> | 282 | <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno">··163</span>·</div> |
283 | <div·class="line"><a·id="l00164"·name="l00164"></a><span·class="lineno">··164</span><span·class="preprocessor">#endif·</span><span·class="comment">/*·OPENSUBDIV3_SDC_BILINEAR_SCHEME_H·*/</span><span·class="preprocessor"></span></div> | 283 | <div·class="line"><a·id="l00164"·name="l00164"></a><span·class="lineno">··164</span><span·class="preprocessor">#endif·</span><span·class="comment">/*·OPENSUBDIV3_SDC_BILINEAR_SCHEME_H·*/</span><span·class="preprocessor"></span></div> |
284 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> | 284 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> |
285 | <div·class="ttc"·id="aa00913_html_a61ef2f8f765ba17f8036bcc0f0fa887b"><div·class="ttname"><a·href="a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887b">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Split</a></div><div·class="ttdeci">Split</div><div·class="ttdoc">Enumerated·type·for·all·face·splitting·schemes.</div><div·class="ttdef"><b>Definition</b>·<a·href="a01492_source.html#l00047">types.h:47</a></div></div> | 285 | <div·class="ttc"·id="aa00913_html_a61ef2f8f765ba17f8036bcc0f0fa887b"><div·class="ttname"><a·href="a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887b">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Split</a></div><div·class="ttdeci">Split</div><div·class="ttdoc">Enumerated·type·for·all·face·splitting·schemes.</div><div·class="ttdef"><b>Definition</b>·<a·href="a01492_source.html#l00047">types.h:47</a></div></div> |
286 | <div·class="ttc"·id="aa00913_html_a61ef2f8f765ba17f8036bcc0f0fa887ba56eed514f6a5971f198c9e421054b513"><div·class="ttname"><a·href="a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887ba56eed514f6a5971f198c9e421054b513">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::SPLIT_TO_QUADS</a></div><div·class="ttdeci">@·SPLIT_TO_QUADS</div><div·class="ttdoc">Used·by·Catmark·and·Bilinear.</div><div·class="ttdef"><b>Definition</b>·<a·href="a01492_source.html#l00048">types.h:48</a></div></div> | 286 | <div·class="ttc"·id="aa00913_html_a61ef2f8f765ba17f8036bcc0f0fa887ba56eed514f6a5971f198c9e421054b513"><div·class="ttname"><a·href="a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887ba56eed514f6a5971f198c9e421054b513">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::SPLIT_TO_QUADS</a></div><div·class="ttdeci">@·SPLIT_TO_QUADS</div><div·class="ttdoc">Used·by·Catmark·and·Bilinear.</div><div·class="ttdef"><b>Definition</b>·<a·href="a01492_source.html#l00048">types.h:48</a></div></div> |
287 | <div·class="ttc"·id="aa01333_html_a11fcd51ef86118f65e603c1474377a78"><div·class="ttname"><a·href="a01333.html#a11fcd51ef86118f65e603c1474377a78">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::Rule</a></div><div·class="ttdeci">Rule</div><div·class="ttdef"><b>Definition</b>·<a·href="a007 | 287 | <div·class="ttc"·id="aa01333_html_a11fcd51ef86118f65e603c1474377a78"><div·class="ttname"><a·href="a01333.html#a11fcd51ef86118f65e603c1474377a78">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::Rule</a></div><div·class="ttdeci">Rule</div><div·class="ttdef"><b>Definition</b>·<a·href="a00779_source.html#l00082">crease.h:82</a></div></div> |
288 | <div·class="ttc"·id="aa01341_html_a14b97ddde5fba31ca7f933508ee649da"><div·class="ttname"><a·href="a01341.html#a14b97ddde5fba31ca7f933508ee649da">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme::GetTopologicalSplitType</a></div><div·class="ttdeci">static·Split·GetTopologicalSplitType()</div></div> | 288 | <div·class="ttc"·id="aa01341_html_a14b97ddde5fba31ca7f933508ee649da"><div·class="ttname"><a·href="a01341.html#a14b97ddde5fba31ca7f933508ee649da">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme::GetTopologicalSplitType</a></div><div·class="ttdeci">static·Split·GetTopologicalSplitType()</div></div> |
289 | <div·class="ttc"·id="aa01341_html_a328ca26e6142838c4844b034546fb8c7"><div·class="ttname"><a·href="a01341.html#a328ca26e6142838c4844b034546fb8c7">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme::ComputeVertexVertexMask</a></div><div·class="ttdeci">void·ComputeVertexVertexMask(VERTEX·const·&vertexNeighborhood,·MASK·&vertexVertexMask,·Crease::Rule·parentRule=Crease::RULE_UNKNOWN,·Crease::Rule·childRule=Crease::RULE_UNKNOWN)·const</div><div·class="ttdoc">Vertex-vertex·masks·If·known,·a·single·Rule·or·pair·of·Rules·can·be·specified·(indicating·a·crease·tr...</div><div·class="ttdef"><b>Definition</b>·<a·href="a00770_source.html#l00512">scheme.h:512</a></div></div> | 289 | <div·class="ttc"·id="aa01341_html_a328ca26e6142838c4844b034546fb8c7"><div·class="ttname"><a·href="a01341.html#a328ca26e6142838c4844b034546fb8c7">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme::ComputeVertexVertexMask</a></div><div·class="ttdeci">void·ComputeVertexVertexMask(VERTEX·const·&vertexNeighborhood,·MASK·&vertexVertexMask,·Crease::Rule·parentRule=Crease::RULE_UNKNOWN,·Crease::Rule·childRule=Crease::RULE_UNKNOWN)·const</div><div·class="ttdoc">Vertex-vertex·masks·If·known,·a·single·Rule·or·pair·of·Rules·can·be·specified·(indicating·a·crease·tr...</div><div·class="ttdef"><b>Definition</b>·<a·href="a00770_source.html#l00512">scheme.h:512</a></div></div> |
290 | <div·class="ttc"·id="aa01341_html_a4f8e559b93bbaf26ea0d40b1fa2f194f"><div·class="ttname"><a·href="a01341.html#a4f8e559b93bbaf26ea0d40b1fa2f194f">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme::assignCreaseLimitTangentMasks</a></div><div·class="ttdeci">void·assignCreaseLimitTangentMasks(VERTEX·const·&vertex,·MASK·&tan1,·MASK·&tan2,·int·const·creaseEnds[2])·const</div></div> | 290 | <div·class="ttc"·id="aa01341_html_a4f8e559b93bbaf26ea0d40b1fa2f194f"><div·class="ttname"><a·href="a01341.html#a4f8e559b93bbaf26ea0d40b1fa2f194f">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme::assignCreaseLimitTangentMasks</a></div><div·class="ttdeci">void·assignCreaseLimitTangentMasks(VERTEX·const·&vertex,·MASK·&tan1,·MASK·&tan2,·int·const·creaseEnds[2])·const</div></div> |
291 | <div·class="ttc"·id="aa01341_html_a531004716c07aad5436cb2db27e1ec24"><div·class="ttname"><a·href="a01341.html#a531004716c07aad5436cb2db27e1ec24">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme::GetRegularFaceSize</a></div><div·class="ttdeci">static·int·GetRegularFaceSize()</div></div> | 291 | <div·class="ttc"·id="aa01341_html_a531004716c07aad5436cb2db27e1ec24"><div·class="ttname"><a·href="a01341.html#a531004716c07aad5436cb2db27e1ec24">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme::GetRegularFaceSize</a></div><div·class="ttdeci">static·int·GetRegularFaceSize()</div></div> |
292 | <div·class="ttc"·id="aa01341_html_a5b5a5377a01eb4ba446e174eff9e45ac"><div·class="ttname"><a·href="a01341.html#a5b5a5377a01eb4ba446e174eff9e45ac">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme::ComputeEdgeVertexMask</a></div><div·class="ttdeci">void·ComputeEdgeVertexMask(EDGE·const·&edgeNeighborhood,·MASK·&edgeVertexMask,·Crease::Rule·parentRule=Crease::RULE_UNKNOWN,·Crease::Rule·childRule=Crease::RULE_UNKNOWN)·const</div><div·class="ttdoc">Edge-vertex·masks·If·known,·the·Rule·for·the·edge·and/or·the·derived·vertex·can·be·specified·to·accel...</div><div·class="ttdef"><b>Definition</b>·<a·href="a00770_source.html#l00392">scheme.h:392</a></div></div> | 292 | <div·class="ttc"·id="aa01341_html_a5b5a5377a01eb4ba446e174eff9e45ac"><div·class="ttname"><a·href="a01341.html#a5b5a5377a01eb4ba446e174eff9e45ac">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme::ComputeEdgeVertexMask</a></div><div·class="ttdeci">void·ComputeEdgeVertexMask(EDGE·const·&edgeNeighborhood,·MASK·&edgeVertexMask,·Crease::Rule·parentRule=Crease::RULE_UNKNOWN,·Crease::Rule·childRule=Crease::RULE_UNKNOWN)·const</div><div·class="ttdoc">Edge-vertex·masks·If·known,·the·Rule·for·the·edge·and/or·the·derived·vertex·can·be·specified·to·accel...</div><div·class="ttdef"><b>Definition</b>·<a·href="a00770_source.html#l00392">scheme.h:392</a></div></div> |
293 | <div·class="ttc"·id="aa01341_html_a736c10944cb921b334fbd8b81866d59f"><div·class="ttname"><a·href="a01341.html#a736c10944cb921b334fbd8b81866d59f">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme::assignSmoothLimitMask</a></div><div·class="ttdeci">void·assignSmoothLimitMask(VERTEX·const·&vertex,·MASK·&pos)·const</div></div> | 293 | <div·class="ttc"·id="aa01341_html_a736c10944cb921b334fbd8b81866d59f"><div·class="ttname"><a·href="a01341.html#a736c10944cb921b334fbd8b81866d59f">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme::assignSmoothLimitMask</a></div><div·class="ttdeci">void·assignSmoothLimitMask(VERTEX·const·&vertex,·MASK·&pos)·const</div></div> |
294 | <div·class="ttc"·id="aa01341_html_a73cf51e4315ca86e5e0a3954c92f8f74"><div·class="ttname"><a·href="a01341.html#a73cf51e4315ca86e5e0a3954c92f8f74">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme::GetLocalNeighborhoodSize</a></div><div·class="ttdeci">static·int·GetLocalNeighborhoodSize()</div></div> | 294 | <div·class="ttc"·id="aa01341_html_a73cf51e4315ca86e5e0a3954c92f8f74"><div·class="ttname"><a·href="a01341.html#a73cf51e4315ca86e5e0a3954c92f8f74">OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme::GetLocalNeighborhoodSize</a></div><div·class="ttdeci">static·int·GetLocalNeighborhoodSize()</div></div> |
Offset 209, 15 lines modified | Offset 209, 15 lines modified | ||
209 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> | 209 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> |
210 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> | 210 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> |
211 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>·</div> | 211 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>·</div> |
212 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div> | 212 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div> |
213 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div> | 213 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div> |
214 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_CUDA_PATCH_TABLE_H</span></div> | 214 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_CUDA_PATCH_TABLE_H</span></div> |
215 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> | 215 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> |
216 | <div·class="ttc"·id="aa00993_html"><div·class="ttname"><a·href="a00993.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable</a></div><div·class="ttdoc">Container·for·arrays·of·parametric·patches.</div><div·class="ttdef"><b>Definition</b>·<a·href="a0073 | 216 | <div·class="ttc"·id="aa00993_html"><div·class="ttname"><a·href="a00993.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable</a></div><div·class="ttdoc">Container·for·arrays·of·parametric·patches.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00731_source.html#l00055">patchTable.h:55</a></div></div> |
217 | <div·class="ttc"·id="aa01189_html"><div·class="ttname"><a·href="a01189.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaPatchTable</a></div><div·class="ttdoc">CUDA·patch·table.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00788_source.html#l00051">cudaPatchTable.h:51</a></div></div> | 217 | <div·class="ttc"·id="aa01189_html"><div·class="ttname"><a·href="a01189.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaPatchTable</a></div><div·class="ttdoc">CUDA·patch·table.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00788_source.html#l00051">cudaPatchTable.h:51</a></div></div> |
218 | <div·class="ttc"·id="aa01189_html_a04c544025f2690d1a4973b6ff5273646"><div·class="ttname"><a·href="a01189.html#a04c544025f2690d1a4973b6ff5273646">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaPatchTable::GetFVarPatchArrayBuffer</a></div><div·class="ttdeci">void·*·GetFVarPatchArrayBuffer(int·fvarChannel)·const</div><div·class="ttdoc">Returns·the·cuda·memory·of·the·array·of·Osd::PatchArray·buffer.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00788_source.html#l00081">cudaPatchTable.h:81</a></div></div> | 218 | <div·class="ttc"·id="aa01189_html_a04c544025f2690d1a4973b6ff5273646"><div·class="ttname"><a·href="a01189.html#a04c544025f2690d1a4973b6ff5273646">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaPatchTable::GetFVarPatchArrayBuffer</a></div><div·class="ttdeci">void·*·GetFVarPatchArrayBuffer(int·fvarChannel)·const</div><div·class="ttdoc">Returns·the·cuda·memory·of·the·array·of·Osd::PatchArray·buffer.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00788_source.html#l00081">cudaPatchTable.h:81</a></div></div> |
219 | <div·class="ttc"·id="aa01189_html_a24f6a6d8efcff60c81c635786f88e951"><div·class="ttname"><a·href="a01189.html#a24f6a6d8efcff60c81c635786f88e951">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaPatchTable::_fvarParamBuffers</a></div><div·class="ttdeci">std::vector<·void·*·>·_fvarParamBuffers</div><div·class="ttdef"><b>Definition</b>·<a·href="a00788_source.html#l00109">cudaPatchTable.h:109</a></div></div> | 219 | <div·class="ttc"·id="aa01189_html_a24f6a6d8efcff60c81c635786f88e951"><div·class="ttname"><a·href="a01189.html#a24f6a6d8efcff60c81c635786f88e951">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaPatchTable::_fvarParamBuffers</a></div><div·class="ttdeci">std::vector<·void·*·>·_fvarParamBuffers</div><div·class="ttdef"><b>Definition</b>·<a·href="a00788_source.html#l00109">cudaPatchTable.h:109</a></div></div> |
220 | <div·class="ttc"·id="aa01189_html_a32a8745ae6ebb1fe7c6b0b9f6c3c0eae"><div·class="ttname"><a·href="a01189.html#a32a8745ae6ebb1fe7c6b0b9f6c3c0eae">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaPatchTable::Create</a></div><div·class="ttdeci">static·CudaPatchTable·*·Create(Far::PatchTable·const·*patchTable,·void·*deviceContext=NULL)</div><div·class="ttdoc">Creator.·Returns·NULL·if·error.</div></div> | 220 | <div·class="ttc"·id="aa01189_html_a32a8745ae6ebb1fe7c6b0b9f6c3c0eae"><div·class="ttname"><a·href="a01189.html#a32a8745ae6ebb1fe7c6b0b9f6c3c0eae">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaPatchTable::Create</a></div><div·class="ttdeci">static·CudaPatchTable·*·Create(Far::PatchTable·const·*patchTable,·void·*deviceContext=NULL)</div><div·class="ttdoc">Creator.·Returns·NULL·if·error.</div></div> |
221 | <div·class="ttc"·id="aa01189_html_a372ca54f02d574dc4a20aa2f35277a1d"><div·class="ttname"><a·href="a01189.html#a372ca54f02d574dc4a20aa2f35277a1d">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaPatchTable::_varyingPatchArrays</a></div><div·class="ttdeci">void·*·_varyingPatchArrays</div><div·class="ttdef"><b>Definition</b>·<a·href="a00788_source.html#l00104">cudaPatchTable.h:104</a></div></div> | 221 | <div·class="ttc"·id="aa01189_html_a372ca54f02d574dc4a20aa2f35277a1d"><div·class="ttname"><a·href="a01189.html#a372ca54f02d574dc4a20aa2f35277a1d">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaPatchTable::_varyingPatchArrays</a></div><div·class="ttdeci">void·*·_varyingPatchArrays</div><div·class="ttdef"><b>Definition</b>·<a·href="a00788_source.html#l00104">cudaPatchTable.h:104</a></div></div> |
222 | <div·class="ttc"·id="aa01189_html_a486517cc7e9296c01072ccd51f77da27"><div·class="ttname"><a·href="a01189.html#a486517cc7e9296c01072ccd51f77da27">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaPatchTable::GetVaryingPatchIndexBuffer</a></div><div·class="ttdeci">void·*·GetVaryingPatchIndexBuffer()·const</div><div·class="ttdoc">Returns·the·cuda·memory·of·the·array·of·varying·control·vertices.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00788_source.html#l00073">cudaPatchTable.h:73</a></div></div> | 222 | <div·class="ttc"·id="aa01189_html_a486517cc7e9296c01072ccd51f77da27"><div·class="ttname"><a·href="a01189.html#a486517cc7e9296c01072ccd51f77da27">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaPatchTable::GetVaryingPatchIndexBuffer</a></div><div·class="ttdeci">void·*·GetVaryingPatchIndexBuffer()·const</div><div·class="ttdoc">Returns·the·cuda·memory·of·the·array·of·varying·control·vertices.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00788_source.html#l00073">cudaPatchTable.h:73</a></div></div> |
223 | <div·class="ttc"·id="aa01189_html_a4fd7bd0ad86a18e26331e88d278450d9"><div·class="ttname"><a·href="a01189.html#a4fd7bd0ad86a18e26331e88d278450d9">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaPatchTable::_fvarIndexBuffers</a></div><div·class="ttdeci">std::vector<·void·*·>·_fvarIndexBuffers</div><div·class="ttdef"><b>Definition</b>·<a·href="a00788_source.html#l00108">cudaPatchTable.h:108</a></div></div> | 223 | <div·class="ttc"·id="aa01189_html_a4fd7bd0ad86a18e26331e88d278450d9"><div·class="ttname"><a·href="a01189.html#a4fd7bd0ad86a18e26331e88d278450d9">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CudaPatchTable::_fvarIndexBuffers</a></div><div·class="ttdeci">std::vector<·void·*·>·_fvarIndexBuffers</div><div·class="ttdef"><b>Definition</b>·<a·href="a00788_source.html#l00108">cudaPatchTable.h:108</a></div></div> |
Offset 201, 15 lines modified | Offset 201, 15 lines modified | ||
201 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> | 201 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> |
202 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> | 202 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> |
203 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>·</div> | 203 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>·</div> |
204 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div> | 204 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div> |
205 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div> | 205 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div> |
206 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_CL_PATCH_TABLE_H</span></div> | 206 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_CL_PATCH_TABLE_H</span></div> |
207 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> | 207 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> |
208 | <div·class="ttc"·id="aa00993_html"><div·class="ttname"><a·href="a00993.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable</a></div><div·class="ttdoc">Container·for·arrays·of·parametric·patches.</div><div·class="ttdef"><b>Definition</b>·<a·href="a0073 | 208 | <div·class="ttc"·id="aa00993_html"><div·class="ttname"><a·href="a00993.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable</a></div><div·class="ttdoc">Container·for·arrays·of·parametric·patches.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00731_source.html#l00055">patchTable.h:55</a></div></div> |
209 | <div·class="ttc"·id="aa01153_html"><div·class="ttname"><a·href="a01153.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLPatchTable</a></div><div·class="ttdoc">CL·patch·table.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00800_source.html#l00052">clPatchTable.h:52</a></div></div> | 209 | <div·class="ttc"·id="aa01153_html"><div·class="ttname"><a·href="a01153.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLPatchTable</a></div><div·class="ttdoc">CL·patch·table.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00800_source.html#l00052">clPatchTable.h:52</a></div></div> |
210 | <div·class="ttc"·id="aa01153_html_a0eece245e692b6640c527214e8df756d"><div·class="ttname"><a·href="a01153.html#a0eece245e692b6640c527214e8df756d">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLPatchTable::_fvarPatchArrays</a></div><div·class="ttdeci">std::vector<·cl_mem·>·_fvarPatchArrays</div><div·class="ttdef"><b>Definition</b>·<a·href="a00800_source.html#l00106">clPatchTable.h:106</a></div></div> | 210 | <div·class="ttc"·id="aa01153_html_a0eece245e692b6640c527214e8df756d"><div·class="ttname"><a·href="a01153.html#a0eece245e692b6640c527214e8df756d">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLPatchTable::_fvarPatchArrays</a></div><div·class="ttdeci">std::vector<·cl_mem·>·_fvarPatchArrays</div><div·class="ttdef"><b>Definition</b>·<a·href="a00800_source.html#l00106">clPatchTable.h:106</a></div></div> |
211 | <div·class="ttc"·id="aa01153_html_a214a812acfe800e62954b45e2f2ee15d"><div·class="ttname"><a·href="a01153.html#a214a812acfe800e62954b45e2f2ee15d">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLPatchTable::~CLPatchTable</a></div><div·class="ttdeci">~CLPatchTable()</div><div·class="ttdoc">Destructor.</div></div> | 211 | <div·class="ttc"·id="aa01153_html_a214a812acfe800e62954b45e2f2ee15d"><div·class="ttname"><a·href="a01153.html#a214a812acfe800e62954b45e2f2ee15d">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLPatchTable::~CLPatchTable</a></div><div·class="ttdeci">~CLPatchTable()</div><div·class="ttdoc">Destructor.</div></div> |
212 | <div·class="ttc"·id="aa01153_html_a2d547b12237422c1035f5817e671155c"><div·class="ttname"><a·href="a01153.html#a2d547b12237422c1035f5817e671155c">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLPatchTable::_patchParamBuffer</a></div><div·class="ttdeci">cl_mem·_patchParamBuffer</div><div·class="ttdef"><b>Definition</b>·<a·href="a00800_source.html#l00101">clPatchTable.h:101</a></div></div> | 212 | <div·class="ttc"·id="aa01153_html_a2d547b12237422c1035f5817e671155c"><div·class="ttname"><a·href="a01153.html#a2d547b12237422c1035f5817e671155c">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLPatchTable::_patchParamBuffer</a></div><div·class="ttdeci">cl_mem·_patchParamBuffer</div><div·class="ttdef"><b>Definition</b>·<a·href="a00800_source.html#l00101">clPatchTable.h:101</a></div></div> |
213 | <div·class="ttc"·id="aa01153_html_a48b951719ff4fe3b94b20f997dc1d480"><div·class="ttname"><a·href="a01153.html#a48b951719ff4fe3b94b20f997dc1d480">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLPatchTable::GetPatchParamBuffer</a></div><div·class="ttdeci">cl_mem·GetPatchParamBuffer()·const</div><div·class="ttdoc">Returns·the·CL·memory·of·the·array·of·Osd::PatchParam·buffer.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00800_source.html#l00074">clPatchTable.h:74</a></div></div> | 213 | <div·class="ttc"·id="aa01153_html_a48b951719ff4fe3b94b20f997dc1d480"><div·class="ttname"><a·href="a01153.html#a48b951719ff4fe3b94b20f997dc1d480">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLPatchTable::GetPatchParamBuffer</a></div><div·class="ttdeci">cl_mem·GetPatchParamBuffer()·const</div><div·class="ttdoc">Returns·the·CL·memory·of·the·array·of·Osd::PatchParam·buffer.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00800_source.html#l00074">clPatchTable.h:74</a></div></div> |
214 | <div·class="ttc"·id="aa01153_html_a56bd6edaa10c8b3c718265203430dcb9"><div·class="ttname"><a·href="a01153.html#a56bd6edaa10c8b3c718265203430dcb9">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLPatchTable::_indexBuffer</a></div><div·class="ttdeci">cl_mem·_indexBuffer</div><div·class="ttdef"><b>Definition</b>·<a·href="a00800_source.html#l00100">clPatchTable.h:100</a></div></div> | 214 | <div·class="ttc"·id="aa01153_html_a56bd6edaa10c8b3c718265203430dcb9"><div·class="ttname"><a·href="a01153.html#a56bd6edaa10c8b3c718265203430dcb9">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLPatchTable::_indexBuffer</a></div><div·class="ttdeci">cl_mem·_indexBuffer</div><div·class="ttdef"><b>Definition</b>·<a·href="a00800_source.html#l00100">clPatchTable.h:100</a></div></div> |
215 | <div·class="ttc"·id="aa01153_html_a5956886f3c08959eade5d92c33136ad5"><div·class="ttname"><a·href="a01153.html#a5956886f3c08959eade5d92c33136ad5">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLPatchTable::GetFVarPatchArrayBuffer</a></div><div·class="ttdeci">cl_mem·GetFVarPatchArrayBuffer(int·fvarChannel=0)·const</div><div·class="ttdoc">Returns·the·CL·memory·of·the·array·of·Osd::PatchArray·buffer.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00800_source.html#l00086">clPatchTable.h:86</a></div></div> | 215 | <div·class="ttc"·id="aa01153_html_a5956886f3c08959eade5d92c33136ad5"><div·class="ttname"><a·href="a01153.html#a5956886f3c08959eade5d92c33136ad5">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CLPatchTable::GetFVarPatchArrayBuffer</a></div><div·class="ttdeci">cl_mem·GetFVarPatchArrayBuffer(int·fvarChannel=0)·const</div><div·class="ttdoc">Returns·the·CL·memory·of·the·array·of·Osd::PatchArray·buffer.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00800_source.html#l00086">clPatchTable.h:86</a></div></div> |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/mtl | 8 | <title>OpenSubdiv:·opensubdiv/osd/mtlMesh.h·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 88, 44 lines modified | Offset 88, 43 lines modified | ||
88 | </div> | 88 | </div> |
89 | </div> | 89 | </div> |
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | ||
95 | <a·href="#namespaces">Namespaces</a>· | 94 | <a·href="#namespaces">Namespaces</a>·| |
95 | <a·href="#typedef-members">Typedefs</a>··</div> | ||
96 | ··<div·class="headertitle"><div·class="title">mtl | 96 | ··<div·class="headertitle"><div·class="title">mtlMesh.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·"<a·class="el"·href="a00734_source.html">../far/patchTable.h</a>"</code><br·/> | ||
101 | <code>#include·"../osd/nonCopyable.h"</code><br·/> | ||
102 | <code>#include·"<a·class="el"·href="a008 | 100 | <code>#include·"<a·class="el"·href="a00887_source.html">../osd/mesh.h</a>"</code><br·/> |
101 | <code>#include·"<a·class="el"·href="a00815_source.html">../osd/mtlPatchTable.h</a>"</code><br·/> | ||
103 | </div> | 102 | </div> |
104 | <p><a·href="a00812_source.html">Go·to·the·source·code·of·this·file.</a></p> | 103 | <p><a·href="a00812_source.html">Go·to·the·source·code·of·this·file.</a></p> |
105 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
107 | Classes</h2></td></tr> | ||
108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01297.html">MTLLegacyGregoryPatchTable</a></td></tr> | ||
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | </table><table·class="memberdecls"> | ||
111 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
112 | Namespaces</h2></td></tr> | 106 | Namespaces</h2></td></tr> |
113 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 107 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
115 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 109 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
117 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> | 111 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> |
118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
113 | </table><table·class="memberdecls"> | ||
114 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
115 | Typedefs</h2></td></tr> | ||
116 | <tr·class="memitem:aa41e5b43fe46eeb0f97ff6ebdb1935aa"·id="r_aa41e5b43fe46eeb0f97ff6ebdb1935aa"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01269.html">MeshInterface</a><·<a·class="el"·href="a01305.html">MTLPatchTable</a>·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa">MTLMeshInterface</a></td></tr> | ||
117 | <tr·class="separator:aa41e5b43fe46eeb0f97ff6ebdb1935aa"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
119 | </table> | 118 | </table> |
120 | </div><!--·contents·--> | 119 | </div><!--·contents·--> |
121 | </div><!--·doc-content·--> | 120 | </div><!--·doc-content·--> |
122 | <!--·start·footer·part·--> | 121 | <!--·start·footer·part·--> |
123 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 122 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
124 | ··<ul> | 123 | ··<ul> |
125 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00812.html">mtl | 124 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00812.html">mtlMesh.h</a></li> |
126 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 125 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
127 | ··</ul> | 126 | ··</ul> |
128 | </div> | 127 | </div> |
129 | </body> | 128 | </body> |
130 | </html> | 129 | </html> |
Offset 1, 25 lines modified | Offset 1, 24 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | ||
6 | 5 | _.N_.a_.m_.e_.s_.p_.a_.c_.e_.s·|·_.T_.y_.p_.e_.d_.e_.f_.s | |
6 | mtlMesh.h·File·Reference | ||
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8m_\x8e_\x8s_\x8h_\x8._\x8h" | ||
8 | #include·"_\x8._\x8._\x8/_\x8 | 9 | #include·"_\x8._\x8._\x8/_\x8o_.s_.d_./_.m_.t_.l_.P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e_\x8._\x8h" |
9 | #include·"../osd/nonCopyable.h" | ||
10 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8m_\x8t_\x8l_\x8C_\x8o_\x8m_\x8m_\x8o_\x8n_\x8._\x8h" | ||
11 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
12 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
13 | class· ·_\x8M_\x8T_\x8L_\x8L_\x8e_\x8g_\x8a_\x8c_\x8y_\x8G_\x8r_\x8e_\x8g_\x8o_\x8r_\x8y_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e | ||
14 | |||
15 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 11 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
16 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 12 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
17 | 13 | ||
18 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 14 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
19 | 15 | ||
20 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d | 16 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d |
21 | 17 | ||
18 | T\x8Ty\x8yp\x8pe\x8ed\x8de\x8ef\x8fs\x8s | ||
19 | typedef·_\x8M_\x8e_\x8s_\x8h_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e<·_\x8M_\x8T_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·> ·_\x8M_\x8T_\x8L_\x8M_\x8e_\x8s_\x8h_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e | ||
20 | |||
22 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 21 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
23 | ····*·_\x8o_\x8s_\x8d | 22 | ····*·_\x8o_\x8s_\x8d |
24 | ····*·_\x8m_\x8t_\x8l_\x8 | 23 | ····*·_\x8m_\x8t_\x8l_\x8M_.e_.s_.h_\x8._\x8h |
25 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 24 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | var·a00812·=·[ | 1 | var·a00812·=·[ |
2 | ····["MTL | 2 | ····["MTLMeshInterface",·"a00812.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa",·null] |
3 | ]; | 3 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/mtl | 8 | <title>OpenSubdiv:·opensubdiv/osd/mtlMesh.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 15 lines modified | Offset 92, 15 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title">mtl | 98 | ··<div·class="headertitle"><div·class="title">mtlMesh.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="a00812.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> | 101 | <a·href="a00812.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div> | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
Offset 119, 112 lines modified | Offset 119, 44 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_MTL_ | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_MTL_MESH_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_MTL_ | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_MTL_MESH_H</span></div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../ | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../osd/mesh.h"</span></div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../osd/ | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../osd/mtlPatchTable.h"</span></div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span> | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword"> | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword"> | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> | ||
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> | ||
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
140 | <div·class="line"><a·id="l0003 | 137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>Osd·{</div> |
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a00912.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa">···38</a></span><span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01269.html">MeshInterface<MTLPatchTable></a>·<a·class="code·hl_typedef"·href="a00912.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa">MTLMeshInterface</a>;</div> | ||
140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | ||
141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>}·<span·class="comment">//·end·namespace·Osd</span></div> | ||
141 | <div·class="line"><a·id="l0004 | 142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> |
143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>}·<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> | ||
144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> | ||
142 | <div·class="foldopen"·id="foldopen00041"·data-start="{"·data-end="};"> | ||
143 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01297.html">···41</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01297.html">MTLLegacyGregoryPatchTable</a></div> | ||
144 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>:·<span·class="keyword">private</span>·NonCopyable<MTLLegacyGregoryPatchTable></div> | ||
145 | <div·class="line"><a·id="l0004 | 145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> |
146 | <div·class="line"><a·id="l0004 | 146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div> |
147 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01297.html#aed8ca15f9dfcacfcfc31ab1227b61dcc">···45</a></span>····<a·class="code·hl_function"·href="a01297.html#aed8ca15f9dfcacfcfc31ab1227b61dcc">~MTLLegacyGregoryPatchTable</a>();</div> | ||
148 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | 147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> |
149 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·DEVICE_CONTEXT></div> | ||
150 | <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="}"> | ||
151 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01297.html#a25a5b8f002589cba7fd380492019ece8">···48</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01297.html">MTLLegacyGregoryPatchTable</a>*·<a·class="code·hl_function"·href="a01297.html#a25a5b8f002589cba7fd380492019ece8">Create</a>(<a·class="code·hl_class"·href="a00993.html">Far::PatchTable</a>·<span·class="keyword">const</span>*·farPatchTable,·DEVICE_CONTEXT·context)·{</div> | ||
152 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>········<span·class="keywordflow">return</span>·Create(farPatchTable,·context);</div> | ||
153 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····}</div> | ||
154 | </div> | ||
155 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
156 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01297.html#ac51e7db7abdd0eaaca33d4947bbe41b4">···52</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01297.html">MTLLegacyGregoryPatchTable</a>*·<a·class="code·hl_function"·href="a01297.html#ac51e7db7abdd0eaaca33d4947bbe41b4">Create</a>(<a·class="code·hl_class"·href="a00993.html">Far::PatchTable</a>·<span·class="keyword">const</span>*·farPatchTable,·<a·class="code·hl_class"·href="a01285.html">MTLContext</a>*·context);</div> | ||
157 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> | ||
158 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01297.html#ad922644c53b64f5b60565065f09cbd17">···54</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01297.html#ad922644c53b64f5b60565065f09cbd17">UpdateVertexBuffer</a>(id<MTLBuffer>·vbo,·<span·class="keywordtype">int</span>·numVertices,·<span·class="keywordtype">int</span>·numVertexElements,·<a·class="code·hl_class"·href="a01285.html">MTLContext</a>*·context);</div> | ||
159 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
160 | <div·class="foldopen"·id="foldopen00056"·data-start="{"·data-end="}"> | ||
161 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01297.html#afffd8d6da44d9c7113d9dc190eefdb3d">···56</a></span>····id<MTLBuffer>·<a·class="code·hl_function"·href="a01297.html#afffd8d6da44d9c7113d9dc190eefdb3d">GetVertexBuffer</a>()<span·class="keyword">·const</span></div> | ||
162 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">····</span>{</div> | ||
163 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>········<span·class="keywordflow">return</span>·_vertexBuffer;</div> | ||
164 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····}</div> | ||
165 | </div> | ||
166 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
167 | <div·class="foldopen"·id="foldopen00061"·data-start="{"·data-end="}"> | ||
168 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01297.html#a7e1414cf8ab619f18f532b58f614b123">···61</a></span>····id<MTLBuffer>·<a·class="code·hl_function"·href="a01297.html#a7e1414cf8ab619f18f532b58f614b123">GetVertexValenceBuffer</a>()<span·class="keyword">·const</span></div> | ||
169 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="keyword">····</span>{</div> | ||
170 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········<span·class="keywordflow">return</span>·_vertexValenceBuffer;</div> | ||
171 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····}</div> | ||
172 | </div> | ||
173 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | ||
174 | <div·class="foldopen"·id="foldopen00066"·data-start="{"·data-end="}"> | ||
175 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01297.html#a846f5698d4874b41374c2ac6c52c3ea2">···66</a></span>····id<MTLBuffer>·<a·class="code·hl_function"·href="a01297.html#a846f5698d4874b41374c2ac6c52c3ea2">GetQuadOffsetsBuffer</a>()<span·class="keyword">·const</span></div> | ||
176 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">····</span>{</div> | ||
177 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>········<span·class="keywordflow">return</span>·_quadOffsetsBuffer;</div> | ||
178 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····}</div> | ||
179 | </div> | ||
180 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
181 | <div·class="foldopen"·id="foldopen00071"·data-start="{"·data-end="}"> | ||
182 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01297.html#a176fb87b7ba47d5c2c2a6d332e2687ce">···71</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01297.html#a176fb87b7ba47d5c2c2a6d332e2687ce">GetQuadOffsetsBase</a>(<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type)</div> | ||
183 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····{</div> | ||
184 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>········<span·class="keywordflow">if</span>(type·==·<a·class="code·hl_enumvalue"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7ac4ae10df9c13e44880ca7be341e44f2a">Far::PatchDescriptor::GREGORY_BOUNDARY</a>)</div> | ||
185 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>············<span·class="keywordflow">return</span>·_quadOffsetsBase[1];</div> | ||
186 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········<span·class="keywordflow">return</span>·_quadOffsetsBase[0];</div> | ||
187 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····}</div> | ||
188 | </div> | ||
189 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | ||
190 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="keyword">private</span>:</div> | ||
191 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····id<MTLBuffer>·_vertexBuffer;</div> | ||
192 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····id<MTLBuffer>·_vertexValenceBuffer;</div> | ||
193 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····id<MTLBuffer>·_quadOffsetsBuffer;</div> | ||
194 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keywordtype">int</span>·_quadOffsetsBase[2];</div> | ||
195 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>};</div> | ||
196 | </div> | ||
197 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> | ||
198 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>}·<span·class="comment">//end·namespace·Osd</span></div> | ||
199 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> | ||
200 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>}·<span·class="comment">//end·namespace·OPENSUBDIV_VERSION</span></div> | ||
201 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> | ||
202 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> | ||
203 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>}·<span·class="comment">//end·namespace·OpenSuddiv</span></div> | ||
204 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> | ||
205 | <div·class="line"><a·id="l000 | 148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="preprocessor">#endif·</span><span·class="comment">//·OPENSUBDIV3_OSD_MTL_MESH_H</span></div> |
206 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> | 149 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> |
150 | <div·class="ttc"·id="aa00912_html_aa41e5b43fe46eeb0f97ff6ebdb1935aa"><div·class="ttname"><a·href="a00912.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLMeshInterface</a></div><div·class="ttdeci">MeshInterface<·MTLPatchTable·>·MTLMeshInterface</div><div·class="ttdef"><b>Definition</b>·<a·href="a00812_source.html#l00038">mtlMesh.h:38</a></div></div> | ||
Max diff block lines reached; 965/24761 bytes (3.90%) of diff not shown. |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | mtl | 5 | mtlMesh.h |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·2013·Pixar | 8 | 2//·Copyright·2013·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
Offset 24, 127 lines modified | Offset 24, 41 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_OSD_MTL_LEGACY_GREGORY_PATCH_TABLE_H | ||
32 | 2 | 31 | 25#ifndef·OPENSUBDIV3_OSD_MTL_MESH_H |
32 | 26#define·OPENSUBDIV3_OSD_MTL_MESH_H | ||
33 | 27 | 33 | 27 |
34 | 28#include·"../version.h" | 34 | 28#include·"../version.h" |
35 | 29#include·"../osd/mesh.h" | ||
35 | 36 | 30#include·"../osd/mtlPatchTable.h" | |
37 | 31 | ||
36 | 30#include·"../osd/nonCopyable.h" | ||
37 | 31#include·"../osd/mtlCommon.h" | ||
38 | 32 | 38 | 32 |
39 | 33@protocol·MTLDevice; | ||
40 | 3 | 39 | 33namespace·_.O_.p_.e_.n_.S_.u_.b_.d_.i_.v·{ |
40 | 34namespace·OPENSUBDIV_VERSION·{ | ||
41 | 35 | 41 | 35 |
42 | 36namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | ||
43 | 37namespace·OPENSUBDIV_VERSION·{ | ||
44 | 38 | ||
45 | 3 | 42 | 36namespace·Osd·{ |
46 | 40 | ||
47 | _\x84_\x81class·_\x8M_\x8T_\x8L_\x8L_\x8e_\x8g_\x8a_\x8c_\x8y_\x8G_\x8r_\x8e_\x8g_\x8o_\x8r_\x8y_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e | ||
48 | 42:·private·NonCopyable<MTLLegacyGregoryPatchTable> | ||
49 | 43{ | ||
50 | 44public: | ||
51 | 43 | 37 | |
44 | _\x83_\x88typedef·_\x8M_\x8e_\x8s_\x8h_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e_\x8<_\x8M_\x8T_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e_\x8>·_\x8M_\x8T_\x8L_\x8M_\x8e_\x8s_\x8h_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e; | ||
45 | 39 | ||
46 | 40}·//·end·namespace·Osd | ||
47 | 41 | ||
48 | 42}·//·end·namespace·OPENSUBDIV_VERSION | ||
49 | 43using·namespace·OPENSUBDIV_VERSION; | ||
50 | 44 | ||
51 | 45}·//·end·namespace·OpenSubdiv | ||
52 | 46 | 52 | 46 |
53 | 47#endif·//·OPENSUBDIV3_OSD_MTL_MESH_H | ||
53 | 47·template<typename·DEVICE_CONTEXT> | ||
54 | _\x84_\x88·static·_\x8M_\x8T_\x8L_\x8L_\x8e_\x8g_\x8a_\x8c_\x8y_\x8G_\x8r_\x8e_\x8g_\x8o_\x8r_\x8y_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e*·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·const* | ||
55 | farPatchTable,·DEVICE_CONTEXT·context)·{ | ||
56 | 49·return·Create(farPatchTable,·context); | ||
57 | 50·} | ||
58 | 51 | ||
59 | _\x85_\x82·static·_\x8M_\x8T_\x8L_\x8L_\x8e_\x8g_\x8a_\x8c_\x8y_\x8G_\x8r_\x8e_\x8g_\x8o_\x8r_\x8y_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e*·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·const* | ||
60 | farPatchTable,·_\x8M_\x8T_\x8L_\x8C_\x8o_\x8n_\x8t_\x8e_\x8x_\x8t*·context); | ||
61 | 53 | ||
62 | _\x85_\x84·void·_\x8U_\x8p_\x8d_\x8a_\x8t_\x8e_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r(id<MTLBuffer>·vbo,·int·numVertices,·int | ||
63 | numVertexElements,·_\x8M_\x8T_\x8L_\x8C_\x8o_\x8n_\x8t_\x8e_\x8x_\x8t*·context); | ||
64 | 55 | ||
65 | _\x85_\x86·id<MTLBuffer>·_\x8G_\x8e_\x8t_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const | ||
66 | 57·{ | ||
67 | 58·return·_vertexBuffer; | ||
68 | 59·} | ||
69 | 60 | ||
70 | _\x86_\x81·id<MTLBuffer>·_\x8G_\x8e_\x8t_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8V_\x8a_\x8l_\x8e_\x8n_\x8c_\x8e_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const | ||
71 | 62·{ | ||
72 | 63·return·_vertexValenceBuffer; | ||
73 | 64·} | ||
74 | 65 | ||
75 | _\x86_\x86·id<MTLBuffer>·_\x8G_\x8e_\x8t_\x8Q_\x8u_\x8a_\x8d_\x8O_\x8f_\x8f_\x8s_\x8e_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const | ||
76 | 67·{ | ||
77 | 68·return·_quadOffsetsBuffer; | ||
78 | 69·} | ||
79 | 70 | ||
80 | _\x87_\x81·int·_\x8G_\x8e_\x8t_\x8Q_\x8u_\x8a_\x8d_\x8O_\x8f_\x8f_\x8s_\x8e_\x8t_\x8s_\x8B_\x8a_\x8s_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e·type) | ||
81 | 72·{ | ||
82 | 73·if(type·==·_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8G_\x8R_\x8E_\x8G_\x8O_\x8R_\x8Y_\x8__\x8B_\x8O_\x8U_\x8N_\x8D_\x8A_\x8R_\x8Y) | ||
83 | 74·return·_quadOffsetsBase[1]; | ||
84 | 75·return·_quadOffsetsBase[0]; | ||
85 | 76·} | ||
86 | 77 | ||
87 | 78private: | ||
88 | 79·id<MTLBuffer>·_vertexBuffer; | ||
89 | 80·id<MTLBuffer>·_vertexValenceBuffer; | ||
90 | 81·id<MTLBuffer>·_quadOffsetsBuffer; | ||
91 | 82·int·_quadOffsetsBase[2]; | ||
92 | 83}; | ||
93 | 84 | ||
94 | 85}·//end·namespace·Osd | ||
95 | 86 | ||
96 | 87}·//end·namespace·OPENSUBDIV_VERSION | ||
97 | 88using·namespace·OPENSUBDIV_VERSION; | ||
98 | 89 | ||
99 | 90}·//end·namespace·OpenSuddiv | ||
100 | 91 | ||
101 | 92#endif·//·OPENSUBDIV3_OSD_MTL_LEGACY_GREGORY_PATCH_TABLE_H | ||
102 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 54 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
103 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8l_\x8i_\x8m_\x8i_\x8t_\x8s_\x8._\x8h_\x8:_\x83_\x82 | 55 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8l_\x8i_\x8m_\x8i_\x8t_\x8s_\x8._\x8h_\x8:_\x83_\x82 |
104 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8 | 56 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_.s_.d_.:_.:_.M_.T_.L_.M_.e_.s_.h_.I_.n_.t_.e_.r_.f_.a_.c_\x8e |
105 | T | 57 | MeshInterface<·MTLPatchTable·>·MTLMeshInterface |
106 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8 | 58 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8m_.t_.l_.M_.e_.s_.h_.._.h_.:_.3_\x88 |
107 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8G_\x8R_\x8E_\x8G_\x8O_\x8R_\x8Y_\x8__\x8B_\x8O_\x8U_\x8N_\x8D_\x8A_\x8R_\x8Y | ||
108 | @·GREGORY_BOUNDARY | ||
109 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8p_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8._\x8h_\x8:_\x86_\x81 | ||
110 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e | ||
111 | Container·for·arrays·of·parametric·patches. | ||
112 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8p_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e_\x8._\x8h_\x8:_\x85_\x85 | ||
113 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8M_\x8 | 59 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8M_\x8e_.s_.h_.I_.n_.t_.e_.r_.f_.a_.c_.e |
114 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8m_\x8 | 60 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8m_\x8e_.s_.h_.._.h_.:_.6_.8 |
115 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8M_\x8T_\x8L_\x8L_\x8e_\x8g_\x8a_\x8c_\x8y_\x8G_\x8r_\x8e_\x8g_\x8o_\x8r_\x8y_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e | ||
116 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8m_\x8t_\x8l_\x8L_\x8e_\x8g_\x8a_\x8c_\x8y_\x8G_\x8r_\x8e_\x8g_\x8o_\x8r_\x8y_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e_\x8._\x8h_\x8:_\x84_\x83 | ||
117 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8M_\x8T_\x8L_\x8L_\x8e_\x8g_\x8a_\x8c_\x8y_\x8G_\x8r_\x8e_\x8g_\x8o_\x8r_\x8y_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e_\x8:_\x8: | ||
118 | _\x8G_\x8e_\x8t_\x8Q_\x8u_\x8a_\x8d_\x8O_\x8f_\x8f_\x8s_\x8e_\x8t_\x8s_\x8B_\x8a_\x8s_\x8e | ||
119 | int·GetQuadOffsetsBase(Far::PatchDescriptor::Type·type) | ||
120 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8m_\x8t_\x8l_\x8L_\x8e_\x8g_\x8a_\x8c_\x8y_\x8G_\x8r_\x8e_\x8g_\x8o_\x8r_\x8y_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e_\x8._\x8h_\x8:_\x87_\x81 | ||
121 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8M_\x8T_\x8L_\x8L_\x8e_\x8g_\x8a_\x8c_\x8y_\x8G_\x8r_\x8e_\x8g_\x8o_\x8r_\x8y_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e_\x8:_\x8:_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e | ||
122 | static·MTLLegacyGregoryPatchTable·*·Create(Far::PatchTable·const | ||
123 | *farPatchTable,·DEVICE_CONTEXT·context) | ||
124 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8m_\x8t_\x8l_\x8L_\x8e_\x8g_\x8a_\x8c_\x8y_\x8G_\x8r_\x8e_\x8g_\x8o_\x8r_\x8y_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e_\x8._\x8h_\x8:_\x84_\x88 | ||
Max diff block lines reached; 239/9434 bytes (2.53%) of diff not shown. |
Offset 198, 15 lines modified | Offset 198, 15 lines modified | ||
198 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> | 198 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> |
199 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> | 199 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> |
200 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>}·<span·class="comment">//end·namespace·OpenSubdiv</span></div> | 200 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>}·<span·class="comment">//end·namespace·OpenSubdiv</span></div> |
201 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> | 201 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> |
202 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span><span·class="preprocessor">#endif·</span><span·class="comment">//end·OPENSUBDIV3_OSD_MTL_PATCH_TABLE_H</span></div> | 202 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span><span·class="preprocessor">#endif·</span><span·class="comment">//end·OPENSUBDIV3_OSD_MTL_PATCH_TABLE_H</span></div> |
203 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> | 203 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> |
204 | <div·class="ttc"·id="aa00912_html_a98098cd229f60d2397d84a76fe654a31"><div·class="ttname"><a·href="a00912.html#a98098cd229f60d2397d84a76fe654a31">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchArrayVector</a></div><div·class="ttdeci">std::vector<·PatchArray·>·PatchArrayVector</div><div·class="ttdef"><b>Definition</b>·<a·href="a01489_source.html#l00132">types.h:132</a></div></div> | 204 | <div·class="ttc"·id="aa00912_html_a98098cd229f60d2397d84a76fe654a31"><div·class="ttname"><a·href="a00912.html#a98098cd229f60d2397d84a76fe654a31">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchArrayVector</a></div><div·class="ttdeci">std::vector<·PatchArray·>·PatchArrayVector</div><div·class="ttdef"><b>Definition</b>·<a·href="a01489_source.html#l00132">types.h:132</a></div></div> |
205 | <div·class="ttc"·id="aa00993_html"><div·class="ttname"><a·href="a00993.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable</a></div><div·class="ttdoc">Container·for·arrays·of·parametric·patches.</div><div·class="ttdef"><b>Definition</b>·<a·href="a0073 | 205 | <div·class="ttc"·id="aa00993_html"><div·class="ttname"><a·href="a00993.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable</a></div><div·class="ttdoc">Container·for·arrays·of·parametric·patches.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00731_source.html#l00055">patchTable.h:55</a></div></div> |
206 | <div·class="ttc"·id="aa01285_html"><div·class="ttname"><a·href="a01285.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLContext</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00806_source.html#l00040">mtlCommon.h:40</a></div></div> | 206 | <div·class="ttc"·id="aa01285_html"><div·class="ttname"><a·href="a01285.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLContext</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00806_source.html#l00040">mtlCommon.h:40</a></div></div> |
207 | <div·class="ttc"·id="aa01305_html"><div·class="ttname"><a·href="a01305.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00815_source.html#l00046">mtlPatchTable.h:46</a></div></div> | 207 | <div·class="ttc"·id="aa01305_html"><div·class="ttname"><a·href="a01305.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00815_source.html#l00046">mtlPatchTable.h:46</a></div></div> |
208 | <div·class="ttc"·id="aa01305_html_a18e3d09b0c7b7552f8e419e36788166a"><div·class="ttname"><a·href="a01305.html#a18e3d09b0c7b7552f8e419e36788166a">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable::GetPatchArrays</a></div><div·class="ttdeci">PatchArrayVector·const·&·GetPatchArrays()·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00815_source.html#l00061">mtlPatchTable.h:61</a></div></div> | 208 | <div·class="ttc"·id="aa01305_html_a18e3d09b0c7b7552f8e419e36788166a"><div·class="ttname"><a·href="a01305.html#a18e3d09b0c7b7552f8e419e36788166a">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable::GetPatchArrays</a></div><div·class="ttdeci">PatchArrayVector·const·&·GetPatchArrays()·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00815_source.html#l00061">mtlPatchTable.h:61</a></div></div> |
209 | <div·class="ttc"·id="aa01305_html_a2246e8e016510f81c7ac9ead81d7c6eb"><div·class="ttname"><a·href="a01305.html#a2246e8e016510f81c7ac9ead81d7c6eb">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable::allocate</a></div><div·class="ttdeci">bool·allocate(Far::PatchTable·const·*farPatchTable,·MTLContext·*context)</div></div> | 209 | <div·class="ttc"·id="aa01305_html_a2246e8e016510f81c7ac9ead81d7c6eb"><div·class="ttname"><a·href="a01305.html#a2246e8e016510f81c7ac9ead81d7c6eb">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable::allocate</a></div><div·class="ttdeci">bool·allocate(Far::PatchTable·const·*farPatchTable,·MTLContext·*context)</div></div> |
210 | <div·class="ttc"·id="aa01305_html_a24c34d2b403d22f2d3bcfdf6f5005ee4"><div·class="ttname"><a·href="a01305.html#a24c34d2b403d22f2d3bcfdf6f5005ee4">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable::Create</a></div><div·class="ttdeci">static·MTLPatchTable·*·Create(Far::PatchTable·const·*farPatchTable,·MTLContext·*context)</div></div> | 210 | <div·class="ttc"·id="aa01305_html_a24c34d2b403d22f2d3bcfdf6f5005ee4"><div·class="ttname"><a·href="a01305.html#a24c34d2b403d22f2d3bcfdf6f5005ee4">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable::Create</a></div><div·class="ttdeci">static·MTLPatchTable·*·Create(Far::PatchTable·const·*farPatchTable,·MTLContext·*context)</div></div> |
211 | <div·class="ttc"·id="aa01305_html_a2ad5c87b20355961bc623d1c1ece01f8"><div·class="ttname"><a·href="a01305.html#a2ad5c87b20355961bc623d1c1ece01f8">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable::GetVaryingPatchIndexBuffer</a></div><div·class="ttdeci">id<·MTLBuffer·>·GetVaryingPatchIndexBuffer()·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00815_source.html#l00066">mtlPatchTable.h:66</a></div></div> | 211 | <div·class="ttc"·id="aa01305_html_a2ad5c87b20355961bc623d1c1ece01f8"><div·class="ttname"><a·href="a01305.html#a2ad5c87b20355961bc623d1c1ece01f8">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable::GetVaryingPatchIndexBuffer</a></div><div·class="ttdeci">id<·MTLBuffer·>·GetVaryingPatchIndexBuffer()·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00815_source.html#l00066">mtlPatchTable.h:66</a></div></div> |
212 | <div·class="ttc"·id="aa01305_html_a39ae7f640465cdd116c1f87b81308fb5"><div·class="ttname"><a·href="a01305.html#a39ae7f640465cdd116c1f87b81308fb5">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable::_fvarIndexBuffers</a></div><div·class="ttdeci">std::vector<·id<·MTLBuffer·>·>·_fvarIndexBuffers</div><div·class="ttdef"><b>Definition</b>·<a·href="a00815_source.html#l00086">mtlPatchTable.h:86</a></div></div> | 212 | <div·class="ttc"·id="aa01305_html_a39ae7f640465cdd116c1f87b81308fb5"><div·class="ttname"><a·href="a01305.html#a39ae7f640465cdd116c1f87b81308fb5">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable::_fvarIndexBuffers</a></div><div·class="ttdeci">std::vector<·id<·MTLBuffer·>·>·_fvarIndexBuffers</div><div·class="ttdef"><b>Definition</b>·<a·href="a00815_source.html#l00086">mtlPatchTable.h:86</a></div></div> |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/mtl | 8 | <title>OpenSubdiv:·opensubdiv/osd/mtlLegacyGregoryPatchTable.h·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 90, 46 lines modified | Offset 90, 42 lines modified | ||
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | 94 | <a·href="#nested-classes">Classes</a>·| |
95 | <a·href="#namespaces">Namespaces</a>··</div> | 95 | <a·href="#namespaces">Namespaces</a>··</div> |
96 | ··<div·class="headertitle"><div·class="title">mtl | 96 | ··<div·class="headertitle"><div·class="title">mtlLegacyGregoryPatchTable.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·"<a·class="el"·href="a0 | 100 | <code>#include·"<a·class="el"·href="a00731_source.html">../far/patchTable.h</a>"</code><br·/> |
101 | <code>#include·" | 101 | <code>#include·"../osd/nonCopyable.h"</code><br·/> |
102 | <code>#include·"<a·class="el"·href="a00806_source.html">../osd/mtlCommon.h</a>"</code><br·/> | 102 | <code>#include·"<a·class="el"·href="a00806_source.html">../osd/mtlCommon.h</a>"</code><br·/> |
103 | </div> | 103 | </div> |
104 | <p><a·href="a00818_source.html">Go·to·the·source·code·of·this·file.</a></p> | 104 | <p><a·href="a00818_source.html">Go·to·the·source·code·of·this·file.</a></p> |
105 | <table·class="memberdecls"> | 105 | <table·class="memberdecls"> |
106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
107 | Classes</h2></td></tr> | 107 | Classes</h2></td></tr> |
108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a012 | 108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01297.html">MTLLegacyGregoryPatchTable</a></td></tr> |
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01293.html">MTLComputeEvaluator</a></td></tr> | ||
111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
112 | </table><table·class="memberdecls"> | 110 | </table><table·class="memberdecls"> |
113 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 111 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
114 | Namespaces</h2></td></tr> | 112 | Namespaces</h2></td></tr> |
115 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 113 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
117 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 115 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
119 | <tr·class="memitem:a00908"·id="r_a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr> | ||
120 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
121 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> | 117 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> |
122 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
123 | </table> | 119 | </table> |
124 | </div><!--·contents·--> | 120 | </div><!--·contents·--> |
125 | </div><!--·doc-content·--> | 121 | </div><!--·doc-content·--> |
126 | <!--·start·footer·part·--> | 122 | <!--·start·footer·part·--> |
127 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 123 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
128 | ··<ul> | 124 | ··<ul> |
129 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00818.html">mtl | 125 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00818.html">mtlLegacyGregoryPatchTable.h</a></li> |
130 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 126 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
131 | ··</ul> | 127 | ··</ul> |
132 | </div> | 128 | </div> |
133 | </body> | 129 | </body> |
134 | </html> | 130 | </html> |
Offset 1, 29 lines modified | Offset 1, 25 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | mtl | 6 | mtlLegacyGregoryPatchTable.h·File·Reference |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" | ||
9 | #include·"_\x8._\x8._\x8/_\x8 | 8 | #include·"_\x8._\x8._\x8/_\x8f_.a_.r_./_.p_.a_.t_.c_.h_.T_.a_.b_.l_.e_\x8._\x8h" |
9 | #include·"../osd/nonCopyable.h" | ||
10 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8m_\x8t_\x8l_\x8C_\x8o_\x8m_\x8m_\x8o_\x8n_\x8._\x8h" | 10 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8m_\x8t_\x8l_\x8C_\x8o_\x8m_\x8m_\x8o_\x8n_\x8._\x8h" |
11 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 11 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
12 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 12 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
13 | class· ·_\x8M_\x8T_\x8L_\x8L_\x8e_\x8g_\x8a_\x8c_\x8y_\x8G_\x8r_\x8e_\x8g_\x8o_\x8r_\x8y_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e | ||
13 | class· ·_\x8M_\x8T_\x8L_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e | ||
14 | |||
15 | class· ·_\x8M_\x8T_\x8L_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r | ||
16 | 14 | ||
17 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 15 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
18 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 16 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
19 | 17 | ||
20 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 18 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
21 | 19 | ||
22 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r | ||
23 | |||
24 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d | 20 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d |
25 | 21 | ||
26 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 22 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
27 | ····*·_\x8o_\x8s_\x8d | 23 | ····*·_\x8o_\x8s_\x8d |
28 | ····*·_\x8m_\x8t_\x8l_\x8 | 24 | ····*·_\x8m_\x8t_\x8l_\x8L_.e_.g_.a_.c_.y_.G_.r_.e_.g_.o_.r_.y_.P_.a_.t_.c_.h_.T_.a_.b_.l_.e_\x8._\x8h |
29 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 25 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 4 lines modified | Offset 1, 3 lines modified | ||
1 | var·a00818·=·[ | 1 | var·a00818·=·[ |
2 | ····["MTL | 2 | ····["MTLLegacyGregoryPatchTable",·"a01297.html",·"a01297"] |
3 | ····["MTLComputeEvaluator",·"a01293.html",·"a01293"] | ||
4 | ]; | 3 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/mtl | 8 | <title>OpenSubdiv:·opensubdiv/osd/mtlLegacyGregoryPatchTable.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 15 lines modified | Offset 92, 15 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title">mtl | 98 | ··<div·class="headertitle"><div·class="title">mtlLegacyGregoryPatchTable.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="a00818.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> | 101 | <a·href="a00818.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div> | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
Offset 119, 1138 lines modified | Offset 119, 112 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_MTL_C | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_MTL_LEGACY_GREGORY_PATCH_TABLE_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_MTL_C | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_MTL_LEGACY_GREGORY_PATCH_TABLE_H</span></div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../far/patchTable.h"</span></div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../osd/ | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../osd/nonCopyable.h"</span></div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·"../osd/bufferDescriptor.h"</span></div> | ||
133 | <div·class="line"><a·id="l0003 | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·"../osd/mtlCommon.h"</span></div> |
134 | <div·class="line"><a·id="l0003 | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
135 | <div·class="line"><a·id="l0003 | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">@protocol·</span>MTLDevice;</div> |
136 | <div·class="line"><a·id="l0003 | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">@protocol·</span>MTLBuffer;</div> |
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> | ||
137 | <div·class="line"><a·id="l0003 | 138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">@protocol·</span>MTLComputePipelineState;</div> | ||
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | 139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> | ||
141 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">namespace·</span>Osd·{</div> |
142 | <div·class="line"><a·id="l0004 | 141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> |
142 | <div·class="foldopen"·id="foldopen00041"·data-start="{"·data-end="};"> | ||
143 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01297.html">···41</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01297.html">MTLLegacyGregoryPatchTable</a></div> | ||
144 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>:·<span·class="keyword">private</span>·NonCopyable<MTLLegacyGregoryPatchTable></div> | ||
145 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>{</div> | ||
143 | <div·class="line"><a·id="l0004 | 146 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">public</span>:</div> |
147 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01297.html#aed8ca15f9dfcacfcfc31ab1227b61dcc">···45</a></span>····<a·class="code·hl_function"·href="a01297.html#aed8ca15f9dfcacfcfc31ab1227b61dcc">~MTLLegacyGregoryPatchTable</a>();</div> | ||
144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="keyword">class·</span>PatchTable;</div> | ||
145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">class·</span>StencilTable;</div> | ||
146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keyword">class·</span>LimitStencilTable;</div> | ||
147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span> | 148 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> |
149 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·DEVICE_CONTEXT></div> | ||
148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | ||
149 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">namespace·</span>Osd·{</div> | ||
150 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | ||
151 | <div·class="foldopen"·id="foldopen000 | 150 | <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="}"> |
152 | <div·class="line"><a·id="l000 | 151 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01297.html#a25a5b8f002589cba7fd380492019ece8">···48</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01297.html">MTLLegacyGregoryPatchTable</a>*·<a·class="co[·...·truncated·by·diffoscope;·len:·220,·SHA:·74857a3e76fa072549679585018f37780d6bd50465264aeff302409088c517ea·...·]</div> |
152 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>········<span·class="keywordflow">return</span>·Create(farPatchTable,·context);</div> | ||
153 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····}</div> | ||
154 | </div> | ||
153 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span> | 155 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
156 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01297.html#ac51e7db7abdd0eaaca33d4947bbe41b4">···52</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01297.html">MTLLegacyGregoryPatchTable</a>*·<a·class="code·hl_function"·href="a01297.html#ac51e7db7abdd0eaaca33d4947bbe41b4">Create</a>(<a·class="code·hl_class"·href="a00993.html">Far::PatchTable</a>·<span·class="keyword">const</span>*·farPatchTable,·<a·class="code·hl_class"·href="a01285.html">MTLContext</a>*·context);</div> | ||
154 | <div·class="line"><a·id="l0005 | 157 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> |
155 | <div·class="line"><a·id="l0005 | 158 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01297.html#ad922644c53b64f5b60565065f09cbd17">···54</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01297.html#ad922644c53b64f5b60565065f09cbd17">Update[·...·truncated·by·diffoscope;·len:·216,·SHA:·f2f9cadba0bcc2371b0e0119b60f2e66dc60a0bc9b431f0c18d1977e5775ac80·...·];</div> |
159 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | ||
156 | <div·class="foldopen"·id="foldopen0005 | 160 | <div·class="foldopen"·id="foldopen00056"·data-start="{"·data-end="}"> |
161 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01297.html#afffd8d6da44d9c7113d9dc190eefdb3d">···56</a></span>····id<MTLBuffer>·<a·class="code·hl_function"·href="a01297.html#afffd8d6da44d9c7113d9dc190eefdb3d">GetVertexBuffer</a>()<span·class="keyword">·const</span></div> | ||
157 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01289.html#ad96fc1ad226b46fec987d3b131a87a90">···54</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01289.html">MTLStencilTable</a>*·<a·class="code·hl_function"·href="a01289.html#ad96fc1ad226b46fec987d3b131a87a90">Create</a>(STENCIL_TABLE*·stencilTable,</div> | ||
158 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>···································DEVICE_CONTEXT·context)</div> | ||
159 | <div·class="line"><a·id="l0005 | 162 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="keyword">····</span>{</div> |
160 | <div·class="line"><a·id="l0005 | 163 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>········<span·class="keywordflow">return</span>·_vertexBuffer;</div> |
161 | <div·class="line"><a·id="l0005 | 164 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····}</div> |
162 | </div> | 165 | </div> |
163 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | Diff chunk too large, falling back to line-by-line diff (39 lines added, 1024 lines removed) | |
164 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | 166 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> |
165 | <div·class=" | 167 | <div·class="foldopen"·id="foldopen00061"·data-start="{"·data-end="}"> |
166 | <div·class="line"><a·id="l0006 | 168 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01297.html#a7e1414cf8ab619f18f532b58f614b123">···61</a></span>····id<MTLBuffer>·<a·class="code·hl_function"·href="a01297.html#a7e1414cf8ab619f18f532b58f614b123">GetVertexValenceBuffer</[·...·truncated·by·diffoscope;·len:·39,·SHA:·dd8a94031a584b5cb66c581e1cd2879dbdcdbff03fc9dae60ef3b1d0086fb859·...·]</div> |
167 | <div·class="line"><a·id="l0006 | 169 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="keyword">····</span>{</div> |
168 | <div·class="line"><a·id="l0006 | 170 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········<span·class="keywordflow">return</span>·_vertexValenceBuffer;</div> |
169 | <div·class="line"><a·id="l0006 | 171 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····}</div> |
170 | < | 172 | </div> |
171 | <div·class="line"><a·id="l0006 | 173 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> |
172 | <div·class=" | 174 | <div·class="foldopen"·id="foldopen00066"·data-start="{"·data-end="}"> |
173 | <div·class="line"><a·id="l0006 | 175 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01297.html#a846f5698d4874b41374c2ac6c52c3ea2">···66</a></span>····id<MTLBuffer>·<a·class="code·hl_function"·href="a01297.html#a846f5698d4874b41374c2ac6c52c3ea2">GetQuadOffsetsBuffer</a>[·...·truncated·by·diffoscope;·len:·37,·SHA:·bf9e3c1c7de0610fedacd9acaf77af545d9fc807dc7691eb2e803aae5825fcb5·...·]</div> |
174 | <div·class="line"><a·id="l000 | 176 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="keyword">····</span>{</div> |
175 | <div·class="line"><a·id="l000 | 177 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>········<span·class="keywordflow">return</span>·_quadOffsetsBuffer;</div> |
176 | <div·class="line"><a·id="l000 | 178 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····}</div> |
177 | < | 179 | </div> |
178 | <div·class="line"><a·id="l0007 | 180 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> |
179 | <div·class=" | 181 | <div·class="foldopen"·id="foldopen00071"·data-start="{"·data-end="}"> |
180 | <div·class="line"><a·id="l0007 | 182 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01297.html#a176fb87b7ba47d5c2c2a6d332e2687ce">···71</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01297.html#a176fb87b7ba47d5c2c2a6d332e2687ce">GetQuad[·...·truncated·by·diffoscope;·len:·136,·SHA:·040c2a58812c27274c2ef73cdd4b4773c73ed25e0d6e3b9ed670d54dcb2d3791·...·]</div> |
181 | <div·class="line"><a·id="l0007 | 183 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····{</div> |
182 | <div·class="line"><a·id="l0007 | 184 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>········<span·class="keywordflow">if</span>(type·==·<a·class="code·hl_enumvalue"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7ac4ae10df9c13e44880ca7be341e44f2a">Far::PatchDescriptor::GREGORY_BOUND[·...·truncated·by·diffoscope;·len:·8,·SHA:·e05afa4a3c89249ae1e9f336f1d11691b879b7420376730d6b4e5a9ccda0c60b·...·]</div> |
183 | <div·class="line"><a·id="l0007 | 185 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>············<span·class="keywordflow">return</span>·_quadOffsetsBase[1];</div> |
184 | <div·class="line"><a·id="l000 | 186 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········<span·class="keywordflow">return</span>·_quadOffsetsBase[0];</div> |
185 | <div·class="line"><a·id="l000 | 187 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····}</div> |
186 | < | 188 | </div> |
187 | <div·class="line"><a·id="l000 | 189 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> |
188 | <div·class="line"><a·id="l000 | 190 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="keyword">private</span>:</div> |
189 | <div·class="line"><a·id="l000 | 191 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····id<MTLBuffer>·_vertexBuffer;</div> |
190 | <div·class="line"><a·id="l0008 | 192 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····id<MTLBuffer>·_vertexValenceBuffer;</div> |
191 | <div·class="line"><a·id="l0008 | 193 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····id<MTLBuffer>·_quadOffsetsBuffer;</div> |
192 | <div·class="line"><a·id="l0008 | 194 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keywordtype">int</span>·_quadOffsetsBase[2];</div> |
193 | <div·class="line"><a·id="l0008 | 195 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>};</div> |
194 | </div> | 196 | </div> |
195 | <div·class="line"><a·id="l000 | 197 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> |
196 | <div·class=" | 198 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>}·<span·class="comment">//end·namespace·Osd</span></div> |
197 | <div·class="line"><a·id="l000 | 199 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> |
198 | <div·class="line"><a·id="l000 | 200 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>}·<span·class="comment">//end·namespace·OPENSUBDIV_VERSION</span></div> |
Max diff block lines reached; 41649/236868 bytes (17.58%) of diff not shown. |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | mtl | 5 | mtlLegacyGregoryPatchTable.h |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·2013·Pixar | 8 | 2//·Copyright·2013·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
Offset 24, 1382 lines modified | Offset 24, 127 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_OSD_MTL_COMPUTE_EVALUATOR_H | ||
32 | 2 | 31 | 25#ifndef·OPENSUBDIV3_OSD_MTL_LEGACY_GREGORY_PATCH_TABLE_H |
32 | 26#define·OPENSUBDIV3_OSD_MTL_LEGACY_GREGORY_PATCH_TABLE_H | ||
33 | 27 | 33 | 27 |
34 | 28#include·"../version.h" | 34 | 28#include·"../version.h" |
35 | 29 | 35 | 29#include·"../far/patchTable.h" |
36 | 30#include·"../osd/ | 36 | 30#include·"../osd/nonCopyable.h" |
37 | 31#include·"../osd/bufferDescriptor.h" | ||
38 | 3 | 37 | 31#include·"../osd/mtlCommon.h" |
39 | 3 | 38 | 32 |
40 | 3 | 39 | 33@protocol·MTLDevice; |
41 | 3 | 40 | 34@protocol·MTLBuffer; |
42 | 36@protocol·MTLLibrary; | ||
43 | 3 | 41 | 35 |
42 | 36namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | ||
43 | 37namespace·OPENSUBDIV_VERSION·{ | ||
44 | 38 | 44 | 38 |
45 | 39namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | ||
46 | 40namespace·OPENSUBDIV_VERSION·{ | ||
47 | 41 | ||
48 | 42namespace·Far·{ | ||
49 | 43·class·PatchTable; | ||
50 | 44·class·StencilTable; | ||
51 | 45·class·LimitStencilTable; | ||
52 | 46} | ||
53 | 47 | ||
54 | 45 | 39namespace·Osd·{ | |
55 | 49 | ||
56 | 46 | 40 | |
47 | _\x84_\x81class·_\x8M_\x8T_\x8L_\x8L_\x8e_\x8g_\x8a_\x8c_\x8y_\x8G_\x8r_\x8e_\x8g_\x8o_\x8r_\x8y_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e | ||
48 | 42:·private·NonCopyable<MTLLegacyGregoryPatchTable> | ||
49 | 43{ | ||
50 | 44public: | ||
51 | _\x84_\x85·_\x8~_\x8M_\x8T_\x8L_\x8L_\x8e_\x8g_\x8a_\x8c_\x8y_\x8G_\x8r_\x8e_\x8g_\x8o_\x8r_\x8y_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e(); | ||
52 | 46 | ||
53 | 47·template<typename·DEVICE_CONTEXT> | ||
54 | _\x84_\x88·static·_\x8M_\x8T_\x8L_\x8L_\x8e_\x8g_\x8a_\x8c_\x8y_\x8G_\x8r_\x8e_\x8g_\x8o_\x8r_\x8y_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e*·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·const* | ||
55 | farPatchTable,·DEVICE_CONTEXT·context)·{ | ||
56 | 49·return·Create(farPatchTable,·context); | ||
57 | 50·} | ||
57 | 51 | 58 | 51 |
58 | 52public: | ||
59 | 53·template<typename·STENCIL_TABLE,·typename·DEVICE_CONTEXT> | ||
60 | _\x85_\x84·static·_\x8M_\x8T_\x8L_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e*·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(STENCIL_TABLE*·stencilTable, | ||
61 | 5 | 59 | _.5_.2·static·_.M_.T_.L_.L_.e_.g_.a_.c_.y_.G_.r_.e_.g_.o_.r_.y_.P_.a_.t_.c_.h_.T_.a_.b_.l_.e*·_.C_.r_.e_.a_.t_.e(_.F_.a_.r_.:_.:_.P_.a_.t_.c_.h_.T_.a_.b_.l_.e·const* |
60 | farPatchTable,·_\x8M_\x8T_\x8L_\x8C_\x8o_\x8n_\x8t_\x8e_\x8x_\x8t*·context); | ||
61 | 53 | ||
62 | _\x85_\x84·void·_\x8U_\x8p_\x8d_\x8a_\x8t_\x8e_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r(id<MTLBuffer>·vbo,·int·numVertices,·int | ||
63 | numVertexElements,·_\x8M_\x8T_\x8L_\x8C_\x8o_\x8n_\x8t_\x8e_\x8x_\x8t*·context); | ||
64 | 55 | ||
65 | _\x85_\x86·id<MTLBuffer>·_\x8G_\x8e_\x8t_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const | ||
62 | 5 | 66 | 57·{ |
63 | 5 | 67 | 58·return·_vertexBuffer; |
64 | 5 | 68 | 59·} |
65 | 59 | Diff chunk too large, falling back to line-by-line diff (32 lines added, 974 lines removed) | |
66 | 60 | 69 | 60 |
67 | _\x86_\x81· | 70 | _\x86_\x81·id<MTLBuffer>·_.G_.e_.t_.V_.e_.r_.t_.e_.x_.V_.a_.l_.e_.n_.c_.e_.B_.u_.f_.f_.e_.r()·const |
68 | 71 | 62·{ | |
69 | 72 | 63·return·_vertexValenceBuffer; | |
70 | 73 | 64·} | |
71 | 6 | 74 | 65 |
72 | _\x86_\x8 | 75 | _\x86_\x86·id<MTLBuffer>·_.G_.e_.t_.Q_.u_.a_.d_.O_.f_.f_.s_.e_.t_.s_.B_.u_.f_.f_.e_.r()·const |
73 | 76 | 67·{ | |
74 | 77 | 68·return·_quadOffsetsBuffer; | |
75 | 78 | 69·} | |
76 | 79 | 70 | |
77 | _\x87_\x8 | 80 | _\x87_\x81·int·_.G_.e_.t_.Q_.u_.a_.d_.O_.f_.f_.s_.e_.t_.s_.B_.a_.s_.e(_.F_.a_.r_.:_.:_.P_.a_.t_.c_.h_.D_.e_.s_.c_.r_.i_.p_.t_.o_.r_.:_.:_.T_.y_.p_.e·type) |
78 | 81 | 72·{ | |
79 | _. | 82 | 73·if(type·==·_.F_.a_.r_.:_.:_.P_.a_.t_.c_.h_.D_.e_.s_.c_.r_.i_.p_.t_.o_.r_.:_.:_.G_.R_.E_.G_.O_.R_.Y_.__.B_.O_.U_.N_.D_.A_.R_.Y) |
80 | 83 | 74·return·_quadOffsetsBase[1]; | |
81 | 7 | 84 | 75·return·_quadOffsetsBase[0]; |
82 | 85 | 76·} | |
83 | 7 | 86 | 77 |
84 | 7 | 87 | 78private: |
85 | 7 | 88 | 79·id<MTLBuffer>·_vertexBuffer; |
86 | 89 | 80·id<MTLBuffer>·_vertexValenceBuffer; | |
87 | 8 | 90 | 81·id<MTLBuffer>·_quadOffsetsBuffer; |
88 | 8 | 91 | 82·int·_quadOffsetsBase[2]; |
89 | 8 | 92 | 83}; |
90 | 8 | 93 | 84 |
91 | 8 | 94 | 85}·//end·namespace·Osd |
92 | 8 | 95 | 86 |
93 | 8 | 96 | 87}·//end·namespace·OPENSUBDIV_VERSION |
94 | 8 | 97 | 88using·namespace·OPENSUBDIV_VERSION; |
95 | 8 | 98 | 89 |
96 | 99 | 90}·//end·namespace·OpenSuddiv | |
97 | 9 | 100 | 91 |
98 | 101 | 92#endif·//·OPENSUBDIV3_OSD_MTL_LEGACY_GREGORY_PATCH_TABLE_H | |
99 | 92{ | ||
100 | 93public: | ||
101 | _\x89_\x84·typedef·bool·_\x8I_\x8n_\x8s_\x8t_\x8a_\x8n_\x8t_\x8i_\x8a_\x8t_\x8a_\x8b_\x8l_\x8e; | ||
102 | 95 | ||
103 | _\x89_\x86·static·_\x8M_\x8T_\x8L_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r·*·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
104 | 97·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
105 | 98·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&duDesc, | ||
106 | 99·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dvDesc, | ||
107 | 100·_\x8M_\x8T_\x8L_\x8C_\x8o_\x8n_\x8t_\x8e_\x8x_\x8t*·context); | ||
108 | 101 | ||
109 | _\x81_\x80_\x82·static·_\x8M_\x8T_\x8L_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r·*·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
110 | 103·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
111 | 104·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&duDesc, | ||
112 | 105·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dvDesc, | ||
113 | 106·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&duuDesc, | ||
114 | 107·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&duvDesc, | ||
115 | 108·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dvvDesc, | ||
116 | 109·_\x8M_\x8T_\x8L_\x8C_\x8o_\x8n_\x8t_\x8e_\x8x_\x8t*·context); | ||
Max diff block lines reached; 37113/84066 bytes (44.15%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/mtl | 8 | <title>OpenSubdiv:·opensubdiv/osd/mtlComputeEvaluator.h·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 88, 43 lines modified | Offset 88, 48 lines modified | ||
88 | </div> | 88 | </div> |
89 | </div> | 89 | </div> |
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | ||
94 | <a·href="#namespaces">Namespaces</a>· | 95 | <a·href="#namespaces">Namespaces</a>··</div> |
95 | <a·href="#typedef-members">Typedefs</a>··</div> | ||
96 | ··<div·class="headertitle"><div·class="title">mtl | 96 | ··<div·class="headertitle"><div·class="title">mtlComputeEvaluator.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·"<a·class="el"·href="a0 | 100 | <code>#include·"<a·class="el"·href="a01489_source.html">../osd/types.h</a>"</code><br·/> |
101 | <code>#include·"<a·class="el"·href="a00899_source.html">../osd/bufferDescriptor.h</a>"</code><br·/> | ||
101 | <code>#include·"<a·class="el"·href="a008 | 102 | <code>#include·"<a·class="el"·href="a00806_source.html">../osd/mtlCommon.h</a>"</code><br·/> |
102 | </div> | 103 | </div> |
103 | <p><a·href="a00821_source.html">Go·to·the·source·code·of·this·file.</a></p> | 104 | <p><a·href="a00821_source.html">Go·to·the·source·code·of·this·file.</a></p> |
104 | <table·class="memberdecls"> | 105 | <table·class="memberdecls"> |
106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
107 | Classes</h2></td></tr> | ||
108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01289.html">MTLStencilTable</a></td></tr> | ||
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01293.html">MTLComputeEvaluator</a></td></tr> | ||
111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
112 | </table><table·class="memberdecls"> | ||
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 113 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
106 | Namespaces</h2></td></tr> | 114 | Namespaces</h2></td></tr> |
107 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 115 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
109 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 117 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
119 | <tr·class="memitem:a00908"·id="r_a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr> | ||
120 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
111 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> | 121 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> |
112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 122 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
113 | </table><table·class="memberdecls"> | ||
114 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
115 | Typedefs</h2></td></tr> | ||
116 | <tr·class="memitem:aa41e5b43fe46eeb0f97ff6ebdb1935aa"·id="r_aa41e5b43fe46eeb0f97ff6ebdb1935aa"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01269.html">MeshInterface</a><·<a·class="el"·href="a01305.html">MTLPatchTable</a>·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa">MTLMeshInterface</a></td></tr> | ||
117 | <tr·class="separator:aa41e5b43fe46eeb0f97ff6ebdb1935aa"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
118 | </table> | 123 | </table> |
119 | </div><!--·contents·--> | 124 | </div><!--·contents·--> |
120 | </div><!--·doc-content·--> | 125 | </div><!--·doc-content·--> |
121 | <!--·start·footer·part·--> | 126 | <!--·start·footer·part·--> |
122 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 127 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
123 | ··<ul> | 128 | ··<ul> |
124 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00821.html">mtl | 129 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00821.html">mtlComputeEvaluator.h</a></li> |
125 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 130 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
126 | ··</ul> | 131 | ··</ul> |
127 | </div> | 132 | </div> |
128 | </body> | 133 | </body> |
129 | </html> | 134 | </html> |
Offset 1, 24 lines modified | Offset 1, 29 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8T_\x8y_\x8p_\x8e_\x8d_\x8e_\x8f_\x8s | ||
6 | 5 | _.C_.l_.a_.s_.s_.e_.s·|·_.N_.a_.m_.e_.s_.p_.a_.c_.e_.s | |
6 | mtlComputeEvaluator.h·File·Reference | ||
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8 | 8 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8t_.y_.p_.e_.s_\x8._\x8h" |
9 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8._\x8h" | ||
9 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8m_\x8t_\x8l_\x8 | 10 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8m_\x8t_\x8l_\x8C_.o_.m_.m_.o_.n_\x8._\x8h" |
10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 11 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
12 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
13 | class· ·_\x8M_\x8T_\x8L_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e | ||
14 | |||
15 | class· ·_\x8M_\x8T_\x8L_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r | ||
16 | |||
11 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 17 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
12 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 18 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
13 | 19 | ||
14 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 20 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
15 | 21 | ||
16 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8 | 22 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_.a_.r |
17 | 23 | ||
24 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d | ||
18 | T\x8Ty\x8yp\x8pe\x8ed\x8de\x8ef\x8fs\x8s | ||
19 | typedef·_\x8M_\x8e_\x8s_\x8h_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e<·_\x8M_\x8T_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·> ·_\x8M_\x8T_\x8L_\x8M_\x8e_\x8s_\x8h_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e | ||
20 | 25 | ||
21 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 26 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
22 | ····*·_\x8o_\x8s_\x8d | 27 | ····*·_\x8o_\x8s_\x8d |
23 | ····*·_\x8m_\x8t_\x8l_\x8 | 28 | ····*·_\x8m_\x8t_\x8l_\x8C_.o_.m_.p_.u_.t_.e_.E_.v_.a_.l_.u_.a_.t_.o_.r_\x8._\x8h |
24 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 29 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 3 lines modified | Offset 1, 4 lines modified | ||
1 | var·a00821·=·[ | 1 | var·a00821·=·[ |
2 | ····["MTL | 2 | ····["MTLStencilTable",·"a01289.html",·"a01289"], |
3 | ····["MTLComputeEvaluator",·"a01293.html",·"a01293"] | ||
3 | ]; | 4 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/mtl | 8 | <title>OpenSubdiv:·opensubdiv/osd/mtlComputeEvaluator.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 15 lines modified | Offset 92, 15 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title">mtl | 98 | ··<div·class="headertitle"><div·class="title">mtlComputeEvaluator.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="a00821.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> | 101 | <a·href="a00821.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div> | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
Offset 119, 44 lines modified | Offset 119, 1138 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_MTL_ME | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_MTL_COMPUTE_EVALUATOR_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_MTL_ME | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_MTL_COMPUTE_EVALUATOR_H</span></div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../osd/mesh.h"</span></div> | ||
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../osd/mtlPatchTable.h"</span></div> | ||
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | ||
133 | <div·class="line"><a·id="l000 | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../osd/types.h"</span></div> | ||
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·"../osd/bufferDescriptor.h"</span></div> | ||
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·"../osd/mtlCommon.h"</span></div> | ||
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | ||
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">@protocol·</span>MTLDevice;</div> | ||
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">@protocol·</span>MTLBuffer;</div> | ||
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">@protocol·</span>MTLLibrary;</div> | ||
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">@protocol·</span>MTLComputePipelineState;</div> | ||
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | ||
134 | <div·class="line"><a·id="l0003 | 140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
135 | <div·class="line"><a·id="l000 | 141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | ||
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>Osd·{</div> | ||
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a00912.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa">···38</a></span><span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01269.html">MeshInterface<MTLPatchTable></a>·<a·class="code·hl_typedef"·href="a00912.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa">MTLMeshInterface</a>;</div> | ||
140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | ||
141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>}·<span·class="comment">//·end·namespace·Osd</span></div> | Diff chunk too large, falling back to line-by-line diff (1046 lines added, 6 lines removed) | |
142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | 142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> |
143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span> | 143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">namespace·</span>Far·{</div> |
144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword"> | 144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="keyword">class·</span>PatchTable;</div> |
145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | 145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">class·</span>StencilTable;</div> |
146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span> | 146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keyword">class·</span>LimitStencilTable;</div> |
147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span> | 147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>}</div> |
148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span> | 148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> |
149 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="keyword">namespace·</span>Osd·{</div> | ||
150 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | ||
151 | <div·class="foldopen"·id="foldopen00050"·data-start="{"·data-end="};"> | ||
152 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01289.html">···50</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01289.html">MTLStencilTable</a></div> | ||
153 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>{</div> | ||
154 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">public</span>:</div> | ||
155 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·STENCIL_TABLE,·<span·class="keyword">typename</span>·DEVICE_CONTEXT></div> | ||
156 | <div·class="foldopen"·id="foldopen00054"·data-start="{"·data-end="}"> | ||
157 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01289.html#ad96fc1ad226b46fec987d3b131a87a90">···54</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01289.html">MTLStencilTable</a>*·<a·class="code·hl_function"·href="a01289.html#ad96fc1ad226b46fec987d3b131a87a90">Create</a>(STENCIL_TABLE*·stencilTable,</div> | ||
158 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>···································DEVICE_CONTEXT·context)</div> | ||
159 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····{</div> | ||
160 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········<span·class="keywordflow">return</span>·<span·class="keyword">new</span>·<a·class="code·hl_class"·href="a01289.html">MTLStencilTable</a>(stencilTable,·context);</div> | ||
161 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····}</div> | ||
162 | </div> | ||
163 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | ||
164 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | ||
165 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01289.html#a45e329ffe9fe4e32a1b21bfc89a6763f">···61</a></span>····<a·class="code·hl_function"·href="a01289.html#a45e329ffe9fe4e32a1b21bfc89a6763f">MTLStencilTable</a>(<a·class="code·hl_class"·href="a01065.html">Far::StencilTable</a>·<span·class="keyword">const</span>*·stencilTable,·<a·class="code·hl_class"·href="a01285.html">MTLContext</a>*·context);</div> | ||
166 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01289.html#a015dc72c3360b4841ee2b3feb06c106f">···62</a></span>····<a·class="code·hl_function"·href="a01289.html#a015dc72c3360b4841ee2b3feb06c106f">MTLStencilTable</a>(<a·class="code·hl_class"·href="a01081.html">Far::LimitStencilTable</a>·<span·class="keyword">const</span>*·stencilTable,·<a·class="code·hl_class"·href="a01285.html">MTLContext</a>*·context);</div> | ||
167 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01289.html#a1ace4fd3d4d8b840a5b48415175ea8bc">···63</a></span>····<a·class="code·hl_function"·href="a01289.html#a1ace4fd3d4d8b840a5b48415175ea8bc">~MTLStencilTable</a>();</div> | ||
168 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | ||
169 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01289.html#a9b2f404d67fa83cd4715d2bbbeef6b4c">···65</a></span>····id<MTLBuffer>·<a·class="code·hl_function"·href="a01289.html#a9b2f404d67fa83cd4715d2bbbeef6b4c">GetSizesBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_sizesBuffer;·}</div> | ||
170 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01289.html#aa1aa052f6513bda4c60b0ac423fb34cc">···66</a></span>····id<MTLBuffer>·<a·class="code·hl_function"·href="a01289.html#aa1aa052f6513bda4c60b0ac423fb34cc">GetOffsetsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_offsetsBuffer;·}</div> | ||
171 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01289.html#a860a80d6ea4ec9aec06280c39376683c">···67</a></span>····id<MTLBuffer>·<a·class="code·hl_function"·href="a01289.html#a860a80d6ea4ec9aec06280c39376683c">GetIndicesBuffer</a>()<span·class="keyword">·const··</span>{·<span·class="keywordflow">return</span>·_indicesBuffer;·}</div> | ||
172 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01289.html#ab22907c9cfe58b82ddfcad8241304500">···68</a></span>····id<MTLBuffer>·<a·class="code·hl_function"·href="a01289.html#ab22907c9cfe58b82ddfcad8241304500">GetWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_weightsBuffer;·}</div> | ||
173 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01289.html#a13aa05ad0482bad5182feb3cd75b4168">···69</a></span>····id<MTLBuffer>·<a·class="code·hl_function"·href="a01289.html#a13aa05ad0482bad5182feb3cd75b4168">GetDuWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_duWeightsBuffer;·}</div> | ||
174 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01289.html#ae7df9ee000b676b2afb8b2979c006494">···70</a></span>····id<MTLBuffer>·<a·class="code·hl_function"·href="a01289.html#ae7df9ee000b676b2afb8b2979c006494">GetDvWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_dvWeightsBuffer;·}</div> | ||
175 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01289.html#a4dec46cc7a06c6c1687109e48f04e085">···71</a></span>····id<MTLBuffer>·<a·class="code·hl_function"·href="a01289.html#a4dec46cc7a06c6c1687109e48f04e085">GetDuuWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_duuWeightsBuffer;·}</div> | ||
176 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01289.html#a6175e9daf70e8c27fb5122546df3fb1f">···72</a></span>····id<MTLBuffer>·<a·class="code·hl_function"·href="a01289.html#a6175e9daf70e8c27fb5122546df3fb1f">GetDuvWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_duvWeightsBuffer;·}</div> | ||
177 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01289.html#a2f1e271aba868c291f9e0a9e9d1ace47">···73</a></span>····id<MTLBuffer>·<a·class="code·hl_function"·href="a01289.html#a2f1e271aba868c291f9e0a9e9d1ace47">GetDvvWeightsBuffer</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_dvvWeightsBuffer;·}</div> | ||
178 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | ||
179 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01289.html#a65836d2070b943c8fecbad926d074de2">···75</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01289.html#a65836d2070b943c8fecbad926d074de2">GetNumStencils</a>()<span·class="keyword">·const··</span>{·<span·class="keywordflow">return</span>·_numStencils;·}</div> | ||
180 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | ||
181 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keyword">private</span>:</div> | ||
182 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····id<MTLBuffer>·_sizesBuffer;</div> | ||
183 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····id<MTLBuffer>·_offsetsBuffer;</div> | ||
184 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····id<MTLBuffer>·_indicesBuffer;</div> | ||
185 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····id<MTLBuffer>·_weightsBuffer;</div> | ||
186 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····id<MTLBuffer>·_duWeightsBuffer;</div> | ||
187 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····id<MTLBuffer>·_dvWeightsBuffer;</div> | ||
188 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····id<MTLBuffer>·_duuWeightsBuffer;</div> | ||
189 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····id<MTLBuffer>·_duvWeightsBuffer;</div> | ||
190 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····id<MTLBuffer>·_dvvWeightsBuffer;</div> | ||
191 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> | ||
192 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<span·class="keywordtype">int</span>·_numStencils;</div> | ||
193 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>};</div> | ||
194 | </div> | ||
195 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> | ||
196 | <div·class="foldopen"·id="foldopen00091"·data-start="{"·data-end="};"> | ||
197 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a01293.html">···91</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01293.html">MTLComputeEvaluator</a></div> | ||
198 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>{</div> | ||
199 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span><span·class="keyword">public</span>:</div> | ||
200 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a01293.html#a2c24b70c9312d8dff3fecb9ddea52c44">···94</a></span>····<span·class="keyword">typedef</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_typedef"·href="a01293.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a>;</div> | ||
201 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> | ||
202 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno"><a·class="line"·href="a01293.html#af4625ed1f27d57760257c382ee06a71d">···96</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01293.html">MTLComputeEvaluator</a>·*·<a·class="code·hl_function"·href="a01293.html#af4625ed1f27d57760257c382ee06a71d">Create</a>(<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&srcDesc,</div> | ||
203 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>········································<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDesc,</div> | ||
Max diff block lines reached; 37596/224406 bytes (16.75%) of diff not shown. |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | mtl | 5 | mtlComputeEvaluator.h |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·2013·Pixar | 8 | 2//·Copyright·2013·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
Offset 24, 41 lines modified | Offset 24, 1382 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_OSD_MTL_ME | 31 | 25#ifndef·OPENSUBDIV3_OSD_MTL_COMPUTE_EVALUATOR_H |
32 | 26#define·OPENSUBDIV3_OSD_MTL_ME | 32 | 26#define·OPENSUBDIV3_OSD_MTL_COMPUTE_EVALUATOR_H |
33 | 27 | 33 | 27 |
34 | 28#include·"../version.h" | 34 | 28#include·"../version.h" |
35 | 29 | ||
35 | 36 | 30#include·"../osd/types.h" | |
36 | 30#include·"../osd/mtlPatchTable.h" | ||
37 | 31 | ||
38 | 3 | 37 | 31#include·"../osd/bufferDescriptor.h" |
38 | 32#include·"../osd/mtlCommon.h" | ||
39 | 33 | ||
40 | 34@protocol·MTLDevice; | ||
41 | 35@protocol·MTLBuffer; | ||
42 | 36@protocol·MTLLibrary; | ||
43 | 37@protocol·MTLComputePipelineState; | ||
44 | 38 | ||
39 | 3 | 45 | 39namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ |
40 | 46 | 40namespace·OPENSUBDIV_VERSION·{ | |
41 | 35 | ||
42 | 36namespace·Osd·{ | ||
43 | 37 | ||
44 | _\x83_\x88typedef·_\x8M_\x8e_\x8s_\x8h_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e_\x8<_\x8M_\x8T_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e_\x8>·_\x8M_\x8T_\x8L_\x8M_\x8e_\x8s_\x8h_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e; | ||
45 | 39 | ||
46 | 40}·//·end·namespace·Osd | Diff chunk too large, falling back to line-by-line diff (993 lines added, 6 lines removed) | |
47 | 41 | 47 | 41 |
48 | 42 | 48 | 42namespace·Far·{ |
49 | 43 | 49 | 43·class·PatchTable; |
50 | 44 | 50 | 44·class·StencilTable; |
51 | 45 | 51 | 45·class·LimitStencilTable; |
52 | 46 | 52 | 46} |
53 | 47 | 53 | 47 |
54 | 48namespace·Osd·{ | ||
55 | 49 | ||
56 | _\x85_\x80class·_\x8M_\x8T_\x8L_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e | ||
57 | 51{ | ||
58 | 52public: | ||
59 | 53·template<typename·STENCIL_TABLE,·typename·DEVICE_CONTEXT> | ||
60 | _\x85_\x84·static·_\x8M_\x8T_\x8L_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e*·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(STENCIL_TABLE*·stencilTable, | ||
61 | 55·DEVICE_CONTEXT·context) | ||
62 | 56·{ | ||
63 | 57·return·new·_\x8M_\x8T_\x8L_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e(stencilTable,·context); | ||
64 | 58·} | ||
65 | 59 | ||
66 | 60 | ||
67 | _\x86_\x81·_\x8M_\x8T_\x8L_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·const*·stencilTable,·_\x8M_\x8T_\x8L_\x8C_\x8o_\x8n_\x8t_\x8e_\x8x_\x8t*·context); | ||
68 | _\x86_\x82·_\x8M_\x8T_\x8L_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8L_\x8i_\x8m_\x8i_\x8t_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·const*·stencilTable,·_\x8M_\x8T_\x8L_\x8C_\x8o_\x8n_\x8t_\x8e_\x8x_\x8t* | ||
69 | context); | ||
70 | _\x86_\x83·_\x8~_\x8M_\x8T_\x8L_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e(); | ||
71 | 64 | ||
72 | _\x86_\x85·id<MTLBuffer>·_\x8G_\x8e_\x8t_\x8S_\x8i_\x8z_\x8e_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_sizesBuffer;·} | ||
73 | _\x86_\x86·id<MTLBuffer>·_\x8G_\x8e_\x8t_\x8O_\x8f_\x8f_\x8s_\x8e_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_offsetsBuffer;·} | ||
74 | _\x86_\x87·id<MTLBuffer>·_\x8G_\x8e_\x8t_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_indicesBuffer;·} | ||
75 | _\x86_\x88·id<MTLBuffer>·_\x8G_\x8e_\x8t_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_weightsBuffer;·} | ||
76 | _\x86_\x89·id<MTLBuffer>·_\x8G_\x8e_\x8t_\x8D_\x8u_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_duWeightsBuffer;·} | ||
77 | _\x87_\x80·id<MTLBuffer>·_\x8G_\x8e_\x8t_\x8D_\x8v_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_dvWeightsBuffer;·} | ||
78 | _\x87_\x81·id<MTLBuffer>·_\x8G_\x8e_\x8t_\x8D_\x8u_\x8u_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_duuWeightsBuffer;·} | ||
79 | _\x87_\x82·id<MTLBuffer>·_\x8G_\x8e_\x8t_\x8D_\x8u_\x8v_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_duvWeightsBuffer;·} | ||
80 | _\x87_\x83·id<MTLBuffer>·_\x8G_\x8e_\x8t_\x8D_\x8v_\x8v_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{·return·_dvvWeightsBuffer;·} | ||
81 | 74 | ||
82 | _\x87_\x85·int·_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s()·const·{·return·_numStencils;·} | ||
83 | 76 | ||
84 | 77private: | ||
85 | 78·id<MTLBuffer>·_sizesBuffer; | ||
86 | 79·id<MTLBuffer>·_offsetsBuffer; | ||
87 | 80·id<MTLBuffer>·_indicesBuffer; | ||
88 | 81·id<MTLBuffer>·_weightsBuffer; | ||
89 | 82·id<MTLBuffer>·_duWeightsBuffer; | ||
90 | 83·id<MTLBuffer>·_dvWeightsBuffer; | ||
91 | 84·id<MTLBuffer>·_duuWeightsBuffer; | ||
92 | 85·id<MTLBuffer>·_duvWeightsBuffer; | ||
93 | 86·id<MTLBuffer>·_dvvWeightsBuffer; | ||
94 | 87 | ||
95 | 88·int·_numStencils; | ||
96 | 89}; | ||
97 | 90 | ||
98 | _\x89_\x81class·_\x8M_\x8T_\x8L_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r | ||
99 | 92{ | ||
100 | 93public: | ||
101 | _\x89_\x84·typedef·bool·_\x8I_\x8n_\x8s_\x8t_\x8a_\x8n_\x8t_\x8i_\x8a_\x8t_\x8a_\x8b_\x8l_\x8e; | ||
102 | 95 | ||
103 | _\x89_\x86·static·_\x8M_\x8T_\x8L_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r·*·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
104 | 97·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
105 | 98·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&duDesc, | ||
106 | 99·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dvDesc, | ||
107 | 100·_\x8M_\x8T_\x8L_\x8C_\x8o_\x8n_\x8t_\x8e_\x8x_\x8t*·context); | ||
108 | 101 | ||
109 | _\x81_\x80_\x82·static·_\x8M_\x8T_\x8L_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r·*·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
110 | 103·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
111 | 104·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&duDesc, | ||
112 | 105·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dvDesc, | ||
113 | 106·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&duuDesc, | ||
114 | 107·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&duvDesc, | ||
115 | 108·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dvvDesc, | ||
116 | 109·_\x8M_\x8T_\x8L_\x8C_\x8o_\x8n_\x8t_\x8e_\x8x_\x8t*·context); | ||
117 | 110 | ||
118 | _\x81_\x81_\x81·_\x8M_\x8T_\x8L_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r(); | ||
119 | _\x81_\x81_\x82·_\x8~_\x8M_\x8T_\x8L_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r(); | ||
120 | 113 | ||
121 | 119 | ||
122 | 148·template·<typename·SRC_BUFFER,·typename·DST_BUFFER,·typename·STENCIL_TABLE> | ||
123 | _\x81_\x84_\x89·static·bool·_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s( | ||
124 | 150·SRC_BUFFER·*srcBuffer,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
125 | 151·DST_BUFFER·*dstBuffer,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
126 | 152·STENCIL_TABLE·const·*stencilTable, | ||
127 | 153·_\x8M_\x8T_\x8L_\x8C_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r·const·*instance, | ||
128 | 154·_\x8M_\x8T_\x8L_\x8C_\x8o_\x8n_\x8t_\x8e_\x8x_\x8t*·context) | ||
Max diff block lines reached; 33208/78263 bytes (42.43%) of diff not shown. |
Offset 95, 15 lines modified | Offset 95, 15 lines modified | ||
95 | <a·href="#namespaces">Namespaces</a>·| | 95 | <a·href="#namespaces">Namespaces</a>·| |
96 | <a·href="#typedef-members">Typedefs</a>··</div> | 96 | <a·href="#typedef-members">Typedefs</a>··</div> |
97 | ··<div·class="headertitle"><div·class="title">d3d11Mesh.h·File·Reference</div></div> | 97 | ··<div·class="headertitle"><div·class="title">d3d11Mesh.h·File·Reference</div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 100 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
101 | <code>#include·"<a·class="el"·href="a00887_source.html">../osd/mesh.h</a>"</code><br·/> | 101 | <code>#include·"<a·class="el"·href="a00887_source.html">../osd/mesh.h</a>"</code><br·/> |
102 | <code>#include·"<a·class="el"·href="a0083 | 102 | <code>#include·"<a·class="el"·href="a00836_source.html">../osd/d3d11PatchTable.h</a>"</code><br·/> |
103 | </div> | 103 | </div> |
104 | <p><a·href="a00830_source.html">Go·to·the·source·code·of·this·file.</a></p> | 104 | <p><a·href="a00830_source.html">Go·to·the·source·code·of·this·file.</a></p> |
105 | <table·class="memberdecls"> | 105 | <table·class="memberdecls"> |
106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
107 | Namespaces</h2></td></tr> | 107 | Namespaces</h2></td></tr> |
108 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 108 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/d3d11 | 8 | <title>OpenSubdiv:·opensubdiv/osd/d3d11VertexBuffer.h·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 90, 45 lines modified | Offset 90, 40 lines modified | ||
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | 94 | <a·href="#nested-classes">Classes</a>·| |
95 | <a·href="#namespaces">Namespaces</a>··</div> | 95 | <a·href="#namespaces">Namespaces</a>··</div> |
96 | ··<div·class="headertitle"><div·class="title">d3d11 | 96 | ··<div·class="headertitle"><div·class="title">d3d11VertexBuffer.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·<vector></code><br·/> | ||
101 | <code>#include·"<a·class="el"·href="a00740_source.html">../far/patchDescriptor.h</a>"</code><br·/> | ||
102 | <code>#include·"../osd/nonCopyable.h"</code><br·/> | ||
103 | <code>#include·"<a·class="el"·href="a01489_source.html">../osd/types.h</a>"</code><br·/> | ||
104 | </div> | 100 | </div> |
105 | <p><a·href="a00833_source.html">Go·to·the·source·code·of·this·file.</a></p> | 101 | <p><a·href="a00833_source.html">Go·to·the·source·code·of·this·file.</a></p> |
106 | <table·class="memberdecls"> | 102 | <table·class="memberdecls"> |
107 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 103 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
108 | Classes</h2></td></tr> | 104 | Classes</h2></td></tr> |
109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a012 | 105 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01213.html">D3D11VertexBuffer</a></td></tr> |
106 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Concrete·vertex·buffer·class·for·DirectX·subdivision·and·DirectX·drawing.··<a·href="a01213.html#details">More...</a><br·/></td></tr> | ||
110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
111 | </table><table·class="memberdecls"> | 108 | </table><table·class="memberdecls"> |
112 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 109 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
113 | Namespaces</h2></td></tr> | 110 | Namespaces</h2></td></tr> |
114 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 111 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
116 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 113 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
118 | <tr·class="memitem:a00908"·id="r_a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr> | ||
119 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
120 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> | 115 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> |
121 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
122 | </table> | 117 | </table> |
123 | </div><!--·contents·--> | 118 | </div><!--·contents·--> |
124 | </div><!--·doc-content·--> | 119 | </div><!--·doc-content·--> |
125 | <!--·start·footer·part·--> | 120 | <!--·start·footer·part·--> |
126 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 121 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
127 | ··<ul> | 122 | ··<ul> |
128 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00833.html">d3d11 | 123 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00833.html">d3d11VertexBuffer.h</a></li> |
129 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 124 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
130 | ··</ul> | 125 | ··</ul> |
131 | </div> | 126 | </div> |
132 | </body> | 127 | </body> |
133 | </html> | 128 | </html> |
Offset 1, 28 lines modified | Offset 1, 24 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | d3d11 | 6 | d3d11VertexBuffer.h·File·Reference |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·<vector> | ||
9 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8p_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8._\x8h" | ||
10 | #include·"../osd/nonCopyable.h" | ||
11 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" | ||
12 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 8 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
13 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 9 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
14 | class· ·_\x8D_\x83_\x8D_\x81_\x81_\x8 | 10 | class· ·_\x8D_\x83_\x8D_\x81_\x81_\x8V_.e_.r_.t_.e_.x_.B_.u_.f_.f_.e_.r |
11 | ·······Concrete·vertex·buffer·class·for·DirectX·subdivision·and·DirectX | ||
12 | ········drawing.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
15 | 13 | ||
16 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 14 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
17 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 15 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
18 | 16 | ||
19 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 17 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
20 | 18 | ||
21 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r | ||
22 | |||
23 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d | 19 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d |
24 | 20 | ||
25 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 21 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
26 | ····*·_\x8o_\x8s_\x8d | 22 | ····*·_\x8o_\x8s_\x8d |
27 | ····*·_\x8d_\x83_\x8d_\x81_\x81_\x8 | 23 | ····*·_\x8d_\x83_\x8d_\x81_\x81_\x8V_.e_.r_.t_.e_.x_.B_.u_.f_.f_.e_.r_\x8._\x8h |
28 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 24 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | var·a00833·=·[ | 1 | var·a00833·=·[ |
2 | ····["D3D11 | 2 | ····["D3D11VertexBuffer",·"a01213.html",·"a01213"] |
3 | ]; | 3 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/d3d11 | 8 | <title>OpenSubdiv:·opensubdiv/osd/d3d11VertexBuffer.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 19 lines modified | Offset 92, 19 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title">d3d11 | 98 | ··<div·class="headertitle"><div·class="title">d3d11VertexBuffer.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="a00833.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> | 101 | <a·href="a00833.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·201 | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> | 106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> |
107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> | 107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> |
108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> | 108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> |
109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> | 109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> |
Offset 119, 118 lines modified | Offset 119, 93 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_ | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_D3D11_VERTEX_BUFFER_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_ | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_D3D11_VERTEX_BUFFER_H</span></div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class=" | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">struct·</span>ID3D11Buffer;</div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·"../far/patchDescriptor.h"</span></div> | ||
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·"../osd/nonCopyable.h"</span></div> | ||
134 | <div·class="line"><a·id="l0003 | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">struct·</span>ID3D11Device;</div> |
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">struct·</span>ID3D11DeviceContext;</div> | ||
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">struct·</span>ID3D11UnorderedAccessView;</div> | ||
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> | ||
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> | ||
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
136 | <div·class="line"><a·id="l0003 | 139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span>Osd·{</div> |
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">struct·</span>ID3D11ShaderResourceView;</div> | ||
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">struct·</span>ID3D11Device;</div> | ||
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">struct·</span>ID3D11DeviceContext;</div> | ||
140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | 140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> | ||
142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> | ||
143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | ||
144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Far{</div> | ||
145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">class·</span>PatchTable;</div> | ||
146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>};</div> | ||
147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">namespace·</span>Osd·{</div> | ||
149 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
150 | <div·class="foldopen"·id="foldopen0004 | 141 | <div·class="foldopen"·id="foldopen00046"·data-start="{"·data-end="};"> |
151 | <div·class="line"><a·id="l0004 | 142 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01213.html">···46</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01213.html">D3D11VertexBuffer</a>·{</div> |
152 | <div·class="line"><a·id="l000 | 143 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">public</span>:</div> |
153 | <div·class="line"><a·id="l000 | 144 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01213.html#a915a9d78d36f58b1750237ae40555029">···49</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01213.html">D3D11VertexBuffer</a>·*·<a·class="code·hl_fu[·...·truncated·by·diffoscope;·len:·171,·SHA:·aa7d7e991dd7c9389cb910a5bec867c3cef6dbfc86164859ac207e74392a7570·...·]</div> |
145 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······································ID3D11DeviceContext·*deviceContext);</div> | ||
154 | <div·class="line"><a·id="l0005 | 146 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
147 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01213.html#ad9941ba7019b0fd8aad6e9321d91c26a">···53</a></span>····<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01213.html#ad9941ba7019b0fd8aad6e9321d91c26a">~D3D11VertexBuffer</a>();</div> | ||
155 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01209.html#ac81ed5f09e3d3a2aae5a01802b343a6d">···53</a></span>····<a·class="code·hl_function"·href="a01209.html#ac81ed5f09e3d3a2aae5a01802b343a6d">D3D11PatchTable</a>();</div> | ||
156 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01209.html#a39d5e5c13d54a0f5774047ffa2bb17e4">···54</a></span>····<a·class="code·hl_function"·href="a01209.html#a39d5e5c13d54a0f5774047ffa2bb17e4">~D3D11PatchTable</a>();</div> | ||
157 | <div·class="line"><a·id="l0005 | 148 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> |
149 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01213.html#a8f44858290b870c214ee24afead3e9c3">···57</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01213.html#a8f44858290b870c214ee24afead3e9c3">UpdateData</a>(<span·class="keyword">const</span>·<span·class="keywordtype">float</span>·*src,·<span·class="keywordtype">int</span>·startVertex,·<span·class="keywordtype">int</span>·numVertices,</div> | ||
158 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·DEVICE_CONTEXT></div> | ||
159 | <div·class="foldopen"·id="foldopen00057"·data-start="{"·data-end="}"> | ||
160 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01209.html#a0d96d4b3eaf2b3e453cbcb031340ebca">···57</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01209.html">D3D11PatchTable</a>·*<a·class="code·hl_function"·href="a01209.html#a0d96d4b3eaf2b3e453cbcb031340ebca">Create</a>(<a·class="code·hl_class"·href="a00993.html">Far::PatchTable</a>·<span·class="keyword">const</span>·*farPatchTable,</div> | ||
161 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>···················· | 150 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····················ID3D11DeviceContext·*deviceContext);</div> |
162 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01209.html#a0d96d4b3eaf2b3e453cbcb031340ebca">Create</a>(farPatchTable,·context->GetDeviceContext());</div> | ||
163 | <div·class="line"><a·id="l000 | 151 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> |
164 | </div> | 152 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01213.html#a77cee40767fd4936f20a8f9d9d9ea625">···61</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01213.html#a77cee40767fd[·...·truncated·by·diffoscope;·len:·79,·SHA:·b889bc889274b36cab3ad0f48a4eded43d079dc71045bc5b401f3c4926445be7·...·]/div> |
165 | <div·class="line"><a·id="l0006 | 153 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> |
154 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01213.html#aaf4a32b8a414eff77000c584c2015cb7">···64</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01213.html#aaf4a32b8a414eff77000c584c2015cb7">GetNumVertices</a>()·<span·class="keyword">const</span>;</div> | ||
166 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01209.html#a8d071db2033c568b98a8aed737e563e9">···62</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01209.html">D3D11PatchTable</a>·*<a·class="code·hl_function"·href="a01209.html#a8d071db2033c568b98a8aed737e563e9">Create</a>(<a·class="code·hl_class"·href="a00993.html">Far::PatchTable</a>·<span·class="keyword">const</span>·*farPatchTable,</div> | ||
167 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>···································ID3D11DeviceContext·*deviceContext);</div> | ||
168 | <div·class="line"><a·id="l0006 | 155 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> |
156 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01213.html#ac86f03cfaa5678c28ffce2b69e3fb5bc">···67</a></span>····ID3D11Buffer·*<a·class="code·hl_function"·href="a01213.html#ac86f03cfaa5678c28ffce2b69e3fb5bc">BindD3D11Buffer</a>(ID3D11DeviceContext·*deviceContext);</div> | ||
169 | <div·class="foldopen"·id="foldopen00065"·data-start="{"·data-end="}"> | ||
170 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01209.html#a18e3d09b0c7b7552f8e419e36788166a">···65</a></span>····<a·class="code·hl_typedef"·href="a00912.html#a98098cd229f60d2397d84a76fe654a31">PatchArrayVector</a>·<span·class="keyword">const</span>·&<a·class="code·hl_function"·href="a01209.html#a18e3d09b0c7b7552f8e419e36788166a">GetPatchArrays</a>()<span·class="keyword">·const·</span>{</div> | ||
171 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01209.html#a5dfb6b58580f2dec58e9b5bfdb4ed9f1">_patchArrays</a>;</div> | ||
172 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····}</div> | ||
173 | </div> | ||
174 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | 157 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> |
175 | <div·class="foldopen"·id="foldopen00070"·data-start="{"·data-end="}"> | 158 | <div·class="foldopen"·id="foldopen00070"·data-start="{"·data-end="}"> |
176 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a012 | 159 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01213.html#aedcdb663cc4d3635fb5ba9149fb0d214">···70</a></span>····ID3D11Buffer·*<a·class="code·hl_function"·href="a01213.html#aedcdb663cc4d3635fb5ba9149fb0d214">BindVBO</a>(ID3D11DeviceContext·*deviceContext)·{</div> |
177 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_ | 160 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01213.html#ac86f03cfaa5678c28ffce2b69e3fb5bc">BindD3D11Buffer</a>(deviceContext);</div> |
178 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····}</div> | 161 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····}</div> |
179 | </div> | 162 | </div> |
180 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | 163 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> |
164 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01213.html#adc0a258da9e9ac3bc19ff36418c54510">···75</a></span>····ID3D11UnorderedAccessView·*<a·class="code·hl_function"·href="a01213.html#adc0a258da9e9ac3bc19ff36418c54510">BindD3D11UAV</a>(ID3D11DeviceContext·*deviceContext);</div> | ||
181 | <div·class="foldopen"·id="foldopen00075"·data-start="{"·data-end="}"> | ||
182 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01209.html#ab57fd008d10c0c2c6ed4182bb3f187ee">···75</a></span>····ID3D11ShaderResourceView*·<a·class="code·hl_function"·href="a01209.html#ab57fd008d10c0c2c6ed4182bb3f187ee">GetPatchParamSRV</a>()<span·class="keyword">·const·</span>{</div> | ||
183 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01209.html#a906a11e9011b14e667c4e46e0cb0089c">_patchParamBufferSRV</a>;</div> | ||
184 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····}</div> | ||
185 | </div> | ||
186 | <div·class="line"><a·id="l0007 | 165 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> |
187 | <div·class="line"><a·id="l0007 | 166 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keyword">protected</span>:</div> |
167 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01213.html#aacfe93ef7f7ede21dcf7088b62467742">···79</a></span>····<a·class="code·hl_function"·href="a01213.html#aacfe93ef7f7ede21dcf7088b62467742">D3D11VertexBuffer</a>(<span·class="keywordtype">int</span>·numElements,·<span·class="keywordtype">int</span>·numVertices);</div> | ||
168 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | ||
188 | <div·class="line"><a·id="l0008 | 169 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<span·class="comment">//·Allocates·D3D11·buffer</span></div> |
170 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01213.html#ae61b4ed6cc7cb69826cd0804c2d972b7">···82</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01213.html#ae61b4ed6cc7cb69826cd0804c2d972b7">allocate</a>(ID3D11Device·*device);</div> | ||
189 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01209.html#a281807810d02943d0819c40e111b9144">···81</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01209.html#a281807810d02943d0819c40e111b9144">allocate</a>(<a·class="code·hl_class"·href="a00993.html">Far::PatchTable</a>·<span·class="keyword">const</span>·*farPatchTable,</div> | ||
190 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··················ID3D11DeviceContext·*deviceContext);</div> | ||
191 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> | 171 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> |
192 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"> | 172 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">private</span>:</div> |
173 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<span·class="keywordtype">int</span>·_numElements;</div> | ||
174 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="keywordtype">int</span>·_numVertices;</div> | ||
193 | <div·class="line"><a·id="l0008 | 175 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····ID3D11Buffer·*_buffer;</div> |
Max diff block lines reached; 12767/36915 bytes (34.58%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | d3d11 | 5 | d3d11VertexBuffer.h |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·201 | 8 | 2//·Copyright·2013·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: | 13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: |
14 | 8// | 14 | 8// |
15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade | 15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade |
Offset 24, 134 lines modified | Offset 24, 106 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_OSD_GL_PATCH_TABLE_H | ||
32 | 2 | 31 | 25#ifndef·OPENSUBDIV3_OSD_D3D11_VERTEX_BUFFER_H |
32 | 26#define·OPENSUBDIV3_OSD_D3D11_VERTEX_BUFFER_H | ||
33 | 27 | 33 | 27 |
34 | 28#include·"../version.h" | 34 | 28#include·"../version.h" |
35 | 29 | 35 | 29 |
36 | 30#include·<vector> | ||
37 | 31#include·"../far/patchDescriptor.h" | ||
38 | 32#include·"../osd/nonCopyable.h" | ||
39 | 3 | 36 | 30struct·ID3D11Buffer; |
37 | 31struct·ID3D11Device; | ||
38 | 32struct·ID3D11DeviceContext; | ||
39 | 33struct·ID3D11UnorderedAccessView; | ||
40 | 34 | 40 | 34 |
41 | 35struct·ID3D11Buffer; | ||
42 | 36struct·ID3D11ShaderResourceView; | ||
43 | 37struct·ID3D11Device; | ||
44 | 3 | 41 | 35namespace·_.O_.p_.e_.n_.S_.u_.b_.d_.i_.v·{ |
42 | 36namespace·OPENSUBDIV_VERSION·{ | ||
43 | 37 | ||
44 | 38namespace·Osd·{ | ||
45 | 39 | 45 | 39 |
46 | _\x84_\x86class·_\x8D_\x83_\x8D_\x81_\x81_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r·{ | ||
46 | 40namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | ||
47 | 41namespace·OPENSUBDIV_VERSION·{ | ||
48 | 42 | ||
49 | 43namespace·Far{ | ||
50 | 44·class·PatchTable; | ||
51 | 45}; | ||
52 | 46 | ||
53 | 47namespace·Osd·{ | ||
54 | 48 | ||
55 | _\x84_\x89class·_\x8D_\x83_\x8D_\x81_\x81_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·:·private·NonCopyable<D3D11PatchTable>·{ | ||
56 | 47 | 47public: | |
48 | _\x84_\x89·static·_\x8D_\x83_\x8D_\x81_\x81_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r·*·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(int·numElements,·int·numVertices, | ||
57 | _\x85_\x81·typedef·ID3D11Buffer·*·_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8B_\x8i_\x8n_\x8d_\x8i_\x8n_\x8g; | ||
58 | 52 | ||
59 | _\x85_\x83·_\x8D_\x83_\x8D_\x81_\x81_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e(); | ||
60 | _\x85_\x84·_\x8~_\x8D_\x83_\x8D_\x81_\x81_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e(); | ||
61 | 55 | ||
62 | 56·template<typename·DEVICE_CONTEXT> | ||
63 | _\x85_\x87·static·_\x8D_\x83_\x8D_\x81_\x81_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·*_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·const·*farPatchTable, | ||
64 | 58·DEVICE_CONTEXT·context)·{ | ||
65 | 59·return·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(farPatchTable,·context->GetDeviceContext()); | ||
66 | 60·} | ||
67 | 61 | ||
68 | _\x86_\x82·static·_\x8D_\x83_\x8D_\x81_\x81_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·*_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·const·*farPatchTable, | ||
69 | 49 | 50·ID3D11DeviceContext·*deviceContext); | |
70 | 64 | ||
71 | _\x86_\x85·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y_\x8V_\x8e_\x8c_\x8t_\x8o_\x8r·const·&_\x8G_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y_\x8s()·const·{ | ||
72 | 66·return·_\x8__\x8p_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y_\x8s; | ||
73 | 50 | 51 | |
51 | _\x85_\x83·virtual·_\x8~_\x8D_\x83_\x8D_\x81_\x81_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r(); | ||
52 | 54 | ||
53 | _\x85_\x87·void·_\x8U_\x8p_\x8d_\x8a_\x8t_\x8e_\x8D_\x8a_\x8t_\x8a(const·float·*src,·int·startVertex,·int·numVertices, | ||
54 | 58·ID3D11DeviceContext·*deviceContext); | ||
55 | 59 | ||
56 | _\x86_\x81·int·_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8s()·const; | ||
57 | 62 | ||
58 | _\x86_\x84·int·_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8V_\x8e_\x8r_\x8t_\x8i_\x8c_\x8e_\x8s()·const; | ||
59 | 65 | ||
60 | _\x86_\x87·ID3D11Buffer·*_\x8B_\x8i_\x8n_\x8d_\x8D_\x83_\x8D_\x81_\x81_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r(ID3D11DeviceContext·*deviceContext); | ||
74 | 68 | 61 | 68 |
75 | _\x87_\x80·ID3D11Buffer*·_\x8G_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8I_\x8n_\x8d_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r()·const·{ | ||
76 | 7 | 62 | _.7_.0·ID3D11Buffer·*_.B_.i_.n_.d_.V_.B_.O(ID3D11DeviceContext·*deviceContext)·{ |
63 | 71·return·_\x8B_\x8i_\x8n_\x8d_\x8D_\x83_\x8D_\x81_\x81_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r(deviceContext); | ||
77 | 72·} | 64 | 72·} |
78 | 73 | 65 | 73 |
66 | _\x87_\x85·ID3D11UnorderedAccessView·*_\x8B_\x8i_\x8n_\x8d_\x8D_\x83_\x8D_\x81_\x81_\x8U_\x8A_\x8V(ID3D11DeviceContext·*deviceContext); | ||
67 | 76 | ||
79 | _\x87_\x85·ID3D11ShaderResourceView*·_\x8G_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8P_\x8a_\x8r_\x8a_\x8m_\x8S_\x8R_\x8V()·const·{ | ||
80 | 76·return·_\x8__\x8p_\x8a_\x8t_\x8c_\x8h_\x8P_\x8a_\x8r_\x8a_\x8m_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8S_\x8R_\x8V; | ||
81 | 77·} | ||
82 | 78 | ||
83 | 7 | 68 | 77protected: |
84 | 80·//·allocate·buffers·from·patchTable | ||
85 | _\x88_\x81·bool·_\x8a_\x8l_\x8l_\x8o_\x8c_\x8a_\x8t_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·const·*farPatchTable, | ||
86 | 69 | _.7_.9·_.D_.3_.D_.1_.1_.V_.e_.r_.t_.e_.x_.B_.u_.f_.f_.e_.r(int·numElements,·int·numVertices); | |
70 | 80 | ||
71 | 81·//·Allocates·D3D11·buffer | ||
72 | _\x88_\x82·bool·_\x8a_\x8l_\x8l_\x8o_\x8c_\x8a_\x8t_\x8e(ID3D11Device·*device); | ||
87 | 83 | 73 | 83 |
88 | _\x88_\x84·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y_\x8V_\x8e_\x8c_\x8t_\x8o_\x8r·_\x8__\x8p_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y_\x8s; | ||
89 | 85 | ||
90 | _\x88_\x86·ID3D11Buffer·*_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r; | ||
91 | _\x88_\x87·ID3D11Buffer·*_\x8__\x8p_\x8a_\x8t_\x8c_\x8h_\x8P_\x8a_\x8r_\x8a_\x8m_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r; | ||
92 | 74 | 84private: | |
75 | 85·int·_numElements; | ||
76 | 86·int·_numVertices; | ||
77 | 87·ID3D11Buffer·*_buffer; | ||
78 | 88·ID3D11Buffer·*_uploadBuffer; | ||
79 | 89·ID3D11UnorderedAccessView·*_uav; | ||
93 | 80 | 90}; | |
94 | 90 | ||
95 | 91 | 81 | 91 |
96 | 92}·//·end·namespace·Osd | 82 | 92}·//·end·namespace·Osd |
97 | 93 | 83 | 93 |
98 | 94}·//·end·namespace·OPENSUBDIV_VERSION | 84 | 94}·//·end·namespace·OPENSUBDIV_VERSION |
99 | 95using·namespace·OPENSUBDIV_VERSION; | 85 | 95using·namespace·OPENSUBDIV_VERSION; |
100 | 96 | 86 | 96 |
101 | 97}·//·end·namespace·OpenSubdiv | 87 | 97}·//·end·namespace·OpenSubdiv |
102 | 98 | 88 | 98 |
103 | 99#endif·//·OPENSUBDIV3_OSD_ | 89 | 99#endif·//·OPENSUBDIV3_OSD_D3D11_VERTEX_BUFFER_H |
104 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 90 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
Max diff block lines reached; 8695/14166 bytes (61.38%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/d3d11 | 8 | <title>OpenSubdiv:·opensubdiv/osd/d3d11PatchTable.h·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 90, 40 lines modified | Offset 90, 45 lines modified | ||
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | 94 | <a·href="#nested-classes">Classes</a>·| |
95 | <a·href="#namespaces">Namespaces</a>··</div> | 95 | <a·href="#namespaces">Namespaces</a>··</div> |
96 | ··<div·class="headertitle"><div·class="title">d3d11 | 96 | ··<div·class="headertitle"><div·class="title">d3d11PatchTable.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·<vector></code><br·/> | ||
101 | <code>#include·"<a·class="el"·href="a00740_source.html">../far/patchDescriptor.h</a>"</code><br·/> | ||
102 | <code>#include·"../osd/nonCopyable.h"</code><br·/> | ||
103 | <code>#include·"<a·class="el"·href="a01489_source.html">../osd/types.h</a>"</code><br·/> | ||
100 | </div> | 104 | </div> |
101 | <p><a·href="a00836_source.html">Go·to·the·source·code·of·this·file.</a></p> | 105 | <p><a·href="a00836_source.html">Go·to·the·source·code·of·this·file.</a></p> |
102 | <table·class="memberdecls"> | 106 | <table·class="memberdecls"> |
103 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 107 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
104 | Classes</h2></td></tr> | 108 | Classes</h2></td></tr> |
105 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a012 | 109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01209.html">D3D11PatchTable</a></td></tr> |
106 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Concrete·vertex·buffer·class·for·DirectX·subdivision·and·DirectX·drawing.··<a·href="a01213.html#details">More...</a><br·/></td></tr> | ||
107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
108 | </table><table·class="memberdecls"> | 111 | </table><table·class="memberdecls"> |
109 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 112 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
110 | Namespaces</h2></td></tr> | 113 | Namespaces</h2></td></tr> |
111 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 114 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
113 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 116 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
118 | <tr·class="memitem:a00908"·id="r_a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr> | ||
119 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
115 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> | 120 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> |
116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 121 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
117 | </table> | 122 | </table> |
118 | </div><!--·contents·--> | 123 | </div><!--·contents·--> |
119 | </div><!--·doc-content·--> | 124 | </div><!--·doc-content·--> |
120 | <!--·start·footer·part·--> | 125 | <!--·start·footer·part·--> |
121 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 126 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
122 | ··<ul> | 127 | ··<ul> |
123 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00836.html">d3d11 | 128 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00836.html">d3d11PatchTable.h</a></li> |
124 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 129 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
125 | ··</ul> | 130 | ··</ul> |
126 | </div> | 131 | </div> |
127 | </body> | 132 | </body> |
128 | </html> | 133 | </html> |
Offset 1, 24 lines modified | Offset 1, 28 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | d3d11 | 6 | d3d11PatchTable.h·File·Reference |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·<vector> | ||
9 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8p_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8._\x8h" | ||
10 | #include·"../osd/nonCopyable.h" | ||
11 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" | ||
8 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 12 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
9 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 13 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
10 | class· ·_\x8D_\x83_\x8D_\x81_\x81_\x8 | 14 | class· ·_\x8D_\x83_\x8D_\x81_\x81_\x8P_.a_.t_.c_.h_.T_.a_.b_.l_.e |
11 | ·······Concrete·vertex·buffer·class·for·DirectX·subdivision·and·DirectX | ||
12 | ········drawing.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
13 | 15 | ||
14 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 16 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
15 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 17 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
16 | 18 | ||
17 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 19 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
18 | 20 | ||
21 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r | ||
22 | |||
19 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d | 23 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d |
20 | 24 | ||
21 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 25 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
22 | ····*·_\x8o_\x8s_\x8d | 26 | ····*·_\x8o_\x8s_\x8d |
23 | ····*·_\x8d_\x83_\x8d_\x81_\x81_\x8 | 27 | ····*·_\x8d_\x83_\x8d_\x81_\x81_\x8P_.a_.t_.c_.h_.T_.a_.b_.l_.e_\x8._\x8h |
24 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 28 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | var·a00836·=·[ | 1 | var·a00836·=·[ |
2 | ····["D3D11 | 2 | ····["D3D11PatchTable",·"a01209.html",·"a01209"] |
3 | ]; | 3 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/d3d11 | 8 | <title>OpenSubdiv:·opensubdiv/osd/d3d11PatchTable.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 19 lines modified | Offset 92, 19 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title">d3d11 | 98 | ··<div·class="headertitle"><div·class="title">d3d11PatchTable.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="a00836.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> | 101 | <a·href="a00836.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·201 | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> | 106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> |
107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> | 107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> |
108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> | 108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> |
109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> | 109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> |
Offset 119, 93 lines modified | Offset 119, 118 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_ | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_GL_PATCH_TABLE_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_ | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_GL_PATCH_TABLE_H</span></div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class=" | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·<vector></span></div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class=" | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·"../far/patchDescriptor.h"</span></div> |
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class=" | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·"../osd/nonCopyable.h"</span></div> |
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class=" | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·"../osd/types.h"</span></div> |
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> | ||
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> | ||
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> | ||
139 | <div·class="line"><a·id="l0003 | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">struct·</span>ID3D11Buffer;</div> |
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">struct·</span>ID3D11ShaderResourceView;</div> | ||
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">struct·</span>ID3D11Device;</div> | ||
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">struct·</span>ID3D11DeviceContext;</div> | ||
140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> | 140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> | ||
142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> | ||
143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | ||
144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Far{</div> | ||
145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">class·</span>PatchTable;</div> | ||
146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>};</div> | ||
147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">namespace·</span>Osd·{</div> | ||
149 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> | ||
141 | <div·class="foldopen"·id="foldopen0004 | 150 | <div·class="foldopen"·id="foldopen00049"·data-start="{"·data-end="};"> |
142 | <div·class="line"><a·id="l0004 | 151 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01209.html">···49</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01209.html">D3D11PatchTable</a>·:·<span·class="keyword">private</span>·NonCopyable<D3D11Patch[·...·truncated·by·diffoscope;·len:·9,·SHA:·88523e376d7b9be2d3fabd3921a14de6a3c083cac1473ca0814f60d15714d17b·...·]·{</div> |
143 | <div·class="line"><a·id="l000 | 152 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">public</span>:</div> |
153 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01209.html#a2d85a5ed6ddcef5023c9ef2e6fdd38a5">···51</a></span>····<span·class="keyword">typedef</span>·ID3D11Buffer·*·<a·class="code·hl_typedef"·href="a01209.html#a2d85a5ed6ddcef5023c9ef2e6fdd38a5">VertexBufferBinding</a>;</div> | ||
144 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01213.html#a915a9d78d36f58b1750237ae40555029">···49</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01213.html">D3D11VertexBuffer</a>·*·<a·class="code·hl_function"·href="a01213.html#a915a9d78d36f58b1750237ae40555029">Create</a>(<span·class="keywordtype">int</span>·numElements,·<span·class="keywordtype">int</span>·numVertices,</div> | ||
145 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······································ID3D11DeviceContext·*deviceContext);</div> | ||
146 | <div·class="line"><a·id="l0005 | 154 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
147 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a012 | 155 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01209.html#ac81ed5f09e3d3a2aae5a01802b343a6d">···53</a></span>····<a·class="code·hl_function"·href="a01209.html#ac81ed5f09e3d3a2aae5a01802b343a6d">D3D11PatchTable</a>();</div> |
156 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01209.html#a39d5e5c13d54a0f5774047ffa2bb17e4">···54</a></span>····<a·class="code·hl_function"·href="a01209.html#a39d5e5c13d54a0f5774047ffa2bb17e4">~D3D11PatchTable</a>();</div> | ||
148 | <div·class="line"><a·id="l0005 | 157 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> |
149 | <div·class="line"><a·id="l0005 | 158 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keyword">template</span><<span·class="keyword">typename</span>·DEVICE_CONTEXT></div> |
159 | <div·class="foldopen"·id="foldopen00057"·data-start="{"·data-end="}"> | ||
160 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01209.html#a0d96d4b3eaf2b3e453cbcb031340ebca">···57</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01209.html">D3D11PatchTable</a>·*<a·class="code·hl_function"·href="a01209.html#a0d96d4b3eaf2b3e453cbcb031340ebca">Create</a>(<a·class="code·hl_class"·href="a00993.html">Far::PatchTable</a>·<span·class="keyword">const</span>·*farPatchTable,</div> | ||
150 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>···················· | 161 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>···································DEVICE_CONTEXT·context)·{</div> |
162 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01209.html#a0d96d4b3eaf2b3e453cbcb031340ebca">Create</a>(farPatchTable,·context->GetDeviceContext());</div> | ||
151 | <div·class="line"><a·id="l000 | 163 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····}</div> |
152 | < | 164 | </div> |
153 | <div·class="line"><a·id="l0006 | 165 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> |
154 | <div·class="line"><a·id="l0006 | 166 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01209.html#a8d071db2033c568b98a8aed737e563e9">···62</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01209.html">D3D11PatchTable</a>·*<a·class="code·hl_functi[·...·truncated·by·diffoscope;·len:·182,·SHA:·98fa01e9f66e60c8e756dec6b56cdcf4a16e362f46656158b0eec54fad10718d·...·]</div> |
167 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>···································ID3D11DeviceContext·*deviceContext);</div> | ||
155 | <div·class="line"><a·id="l0006 | 168 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> |
156 | <div·class=" | 169 | <div·class="foldopen"·id="foldopen00065"·data-start="{"·data-end="}"> |
170 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01209.html#a18e3d09b0c7b7552f8e419e36788166a">···65</a></span>····<a·class="code·hl_typedef"·href="a00912.html#a98098cd229f60d2397d84a76fe654a31">PatchArrayVector</a>·<span·class="keyword">const</span>·&<a·class="code·hl_function"·href="a01209.html#a18e3d09b0c7b7552f8e419e36788166a">GetPatchArrays</a>()<span·class="keyword">·const·</span>{</div> | ||
171 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01209.html#a5dfb6b58580f2dec58e9b5bfdb4ed9f1">_patchArrays</a>;</div> | ||
172 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····}</div> | ||
173 | </div> | ||
157 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | 174 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> |
158 | <div·class="foldopen"·id="foldopen00070"·data-start="{"·data-end="}"> | 175 | <div·class="foldopen"·id="foldopen00070"·data-start="{"·data-end="}"> |
159 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01213.html#aedcdb663cc4d3635fb5ba9149fb0d214">···70</a></span>····ID3D11Buffer·*<a·class="code·hl_function"·href="a01213.html#aedcdb663cc4d3635fb5ba9149fb0d214">BindVBO</a>(ID3D11DeviceContext·*deviceContext)·{</div> | ||
160 | <div·class="line"><a·id="l0007 | 176 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a01209.html#a45505c8c99abe0baf8b56981fa0a31e1">···70</a></span>····ID3D11Buffer*·<a·class="code·hl_function"·href="a01209.html#a45505c8c99abe0baf8b56981fa0a31e1">GetPatchIndexBuffer</a>()<span[·...·truncated·by·diffoscope;·len:·32,·SHA:·f1abd3d4f48817eeea5d8ac8acd9515b81755d2388cc9ee4f979004394fc6b69·...·]</div> |
177 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01209.html#a70f9e642d07efb73b8e7dc7a418d6311">_indexBuffer</a>;</div> | ||
161 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····}</div> | 178 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····}</div> |
162 | </div> | 179 | </div> |
163 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | 180 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> |
164 | <div·class=" | 181 | <div·class="foldopen"·id="foldopen00075"·data-start="{"·data-end="}"> |
182 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01209.html#ab57fd008d10c0c2c6ed4182bb3f187ee">···75</a></span>····ID3D11ShaderResourceView*·<a·class="code·hl_function"·href="a01209.html#ab57fd008d10c0c2c6ed4182bb3f187ee">GetPatchParamSRV</a>()<span·class="keyword">·const·</span>{</div> | ||
183 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a01209.html#a906a11e9011b14e667c4e46e0cb0089c">_patchParamBufferSRV</a>;</div> | ||
184 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····}</div> | ||
185 | </div> | ||
165 | <div·class="line"><a·id="l0007 | 186 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> |
166 | <div·class="line"><a·id="l0007 | 187 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="keyword">protected</span>:</div> |
167 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01213.html#aacfe93ef7f7ede21dcf7088b62467742">···79</a></span>····<a·class="code·hl_function"·href="a01213.html#aacfe93ef7f7ede21dcf7088b62467742">D3D11VertexBuffer</a>(<span·class="keywordtype">int</span>·numElements,·<span·class="keywordtype">int</span>·numVertices);</div> | ||
168 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | ||
169 | <div·class="line"><a·id="l0008 | 188 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····<span·class="comment">//·allocate·buffers·from·patchTable</span></div> |
170 | <div·class="line"><a·id="l0008 | 189 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01209.html#a281807810d02943d0819c40e111b9144">···81</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01209.html#a281807810d02943d0819c40e111b9144">alloca[·...·truncated·by·diffoscope;·len:·121,·SHA:·fdcd187311cbb5ce79ca7d9c0cf771c12b9443b5b66d79577c57c51ed761baf1·...·]</div> |
190 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··················ID3D11DeviceContext·*deviceContext);</div> | ||
171 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> | 191 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> |
192 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01209.html#a5dfb6b58580f2dec58e9b5bfdb4ed9f1">···84</a></span>····<a·class="code·hl_typedef"·href="a00912.html#a98098cd229f60d2397d84a76fe654a31">PatchArrayVector</a>·<a·class="code·hl_variable"·href="a01209.html#a5dfb6b58580f2dec58e9b5bfdb4ed9f1">_patchArrays</a>;</div> | ||
172 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">private</span>:</div> | ||
173 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<span·class="keywordtype">int</span>·_numElements;</div> | ||
174 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="keywordtype">int</span>·_numVertices;</div> | ||
175 | <div·class="line"><a·id="l0008 | 193 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> |
176 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····ID3D11Buffer·*_uploadBuffer;</div> | ||
177 | <div·class="line"><a·id="l0008 | 194 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01209.html#a70f9e642d07efb73b8e7dc7a418d6311">···86</a></span>····ID3D11Buffer·············*<a·class="code·hl_variable"·href="a01209.html#a70f9e642d07efb73b8e7dc7a418d6311">_indexBuffer</a>;</div> |
195 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01209.html#a922297765b71fb93103914cb95b76e68">···87</a></span>····ID3D11Buffer·············*<a·class="code·hl_variable"·href="a01209.html#a922297765b71fb93103914cb95b76e68">_patchParamBuffer</a>;</div> | ||
196 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a01209.html#a906a11e9011b14e667c4e46e0cb0089c">···88</a></span>····ID3D11ShaderResourceView·*<a·class="code·hl_variable"·href="a01209.html#a906a11e9011b14e667c4e46e0cb0089c">_patchParamBufferSRV</a>;</div> | ||
178 | <div·class="line"><a·id="l000 | 197 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>};</div> |
Max diff block lines reached; 12767/36915 bytes (34.58%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | d3d11 | 5 | d3d11PatchTable.h |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·201 | 8 | 2//·Copyright·2015·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: | 13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: |
14 | 8// | 14 | 8// |
15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade | 15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade |
Offset 24, 106 lines modified | Offset 24, 134 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_OSD_D3D11_VERTEX_BUFFER_H | ||
32 | 2 | 31 | 25#ifndef·OPENSUBDIV3_OSD_GL_PATCH_TABLE_H |
32 | 26#define·OPENSUBDIV3_OSD_GL_PATCH_TABLE_H | ||
33 | 27 | 33 | 27 |
34 | 28#include·"../version.h" | 34 | 28#include·"../version.h" |
35 | 29 | 35 | 29 |
36 | 30struct·ID3D11Buffer; | ||
37 | 31struct·ID3D11Device; | ||
38 | 32struct·ID3D11DeviceContext; | ||
39 | 3 | 36 | 30#include·<vector> |
37 | 31#include·"../far/patchDescriptor.h" | ||
38 | 32#include·"../osd/nonCopyable.h" | ||
39 | 33#include·"../osd/types.h" | ||
40 | 34 | 40 | 34 |
41 | 35namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | ||
42 | 36namespace·OPENSUBDIV_VERSION·{ | ||
43 | 37 | ||
44 | 3 | 41 | 35struct·ID3D11Buffer; |
42 | 36struct·ID3D11ShaderResourceView; | ||
43 | 37struct·ID3D11Device; | ||
44 | 38struct·ID3D11DeviceContext; | ||
45 | 39 | 45 | 39 |
46 | 46 | 40namespace·_.O_.p_.e_.n_.S_.u_.b_.d_.i_.v·{ | |
47 | 41namespace·OPENSUBDIV_VERSION·{ | ||
48 | 42 | ||
49 | 43namespace·Far{ | ||
50 | 44·class·PatchTable; | ||
51 | 45}; | ||
52 | 46 | ||
53 | 47namespace·Osd·{ | ||
54 | 48 | ||
55 | _\x84_\x89class·_\x8D_\x83_\x8D_\x81_\x81_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·:·private·NonCopyable<D3D11PatchTable>·{ | ||
47 | 56 | 50public: | |
48 | _\x8 | 57 | _\x85_.1·typedef·ID3D11Buffer·*·_.V_.e_.r_.t_.e_.x_.B_.u_.f_.f_.e_.r_.B_.i_.n_.d_.i_.n_.g; |
58 | 52 | ||
59 | _\x85_\x83·_\x8D_\x83_\x8D_\x81_\x81_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e(); | ||
60 | _\x85_\x84·_\x8~_\x8D_\x83_\x8D_\x81_\x81_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e(); | ||
61 | 55 | ||
62 | 56·template<typename·DEVICE_CONTEXT> | ||
63 | _\x85_\x87·static·_\x8D_\x83_\x8D_\x81_\x81_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·*_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·const·*farPatchTable, | ||
64 | 58·DEVICE_CONTEXT·context)·{ | ||
65 | 59·return·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(farPatchTable,·context->GetDeviceContext()); | ||
66 | 60·} | ||
67 | 61 | ||
68 | _\x86_\x82·static·_\x8D_\x83_\x8D_\x81_\x81_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·*_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·const·*farPatchTable, | ||
49 | 69 | 63·ID3D11DeviceContext·*deviceContext); | |
70 | 64 | ||
71 | _\x86_\x85·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y_\x8V_\x8e_\x8c_\x8t_\x8o_\x8r·const·&_\x8G_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y_\x8s()·const·{ | ||
72 | 66·return·_\x8__\x8p_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y_\x8s; | ||
73 | 67·} | ||
50 | 51 | ||
51 | _\x85_\x83·virtual·_\x8~_\x8D_\x83_\x8D_\x81_\x81_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r(); | ||
52 | 54 | ||
53 | _\x85_\x87·void·_\x8U_\x8p_\x8d_\x8a_\x8t_\x8e_\x8D_\x8a_\x8t_\x8a(const·float·*src,·int·startVertex,·int·numVertices, | ||
54 | 58·ID3D11DeviceContext·*deviceContext); | ||
55 | 59 | ||
56 | _\x86_\x81·int·_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8E_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8s()·const; | ||
57 | 62 | ||
58 | _\x86_\x84·int·_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8V_\x8e_\x8r_\x8t_\x8i_\x8c_\x8e_\x8s()·const; | ||
59 | 65 | ||
60 | _\x86_\x87·ID3D11Buffer·*_\x8B_\x8i_\x8n_\x8d_\x8D_\x83_\x8D_\x81_\x81_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r(ID3D11DeviceContext·*deviceContext); | ||
61 | 68 | 74 | 68 |
62 | _\x87_\x80·ID3D11Buffer·*_\x8B_\x8i_\x8n_\x8d_\x8V_\x8B_\x8O(ID3D11DeviceContext·*deviceContext)·{ | ||
63 | 7 | 75 | _.7_.0·ID3D11Buffer*·_.G_.e_.t_.P_.a_.t_.c_.h_.I_.n_.d_.e_.x_.B_.u_.f_.f_.e_.r()·const·{ |
76 | 71·return·_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r; | ||
64 | 72·} | 77 | 72·} |
65 | 73 | 78 | 73 |
66 | _\x87_\x85·ID3D11UnorderedAccessView·*_\x8B_\x8i_\x8n_\x8d_\x8D_\x83_\x8D_\x81_\x81_\x8U_\x8A_\x8V(ID3D11DeviceContext·*deviceContext); | ||
67 | 7 | 79 | _.7_.5·ID3D11ShaderResourceView*·_.G_.e_.t_.P_.a_.t_.c_.h_.P_.a_.r_.a_.m_.S_.R_.V()·const·{ |
80 | 76·return·_\x8__\x8p_\x8a_\x8t_\x8c_\x8h_\x8P_\x8a_\x8r_\x8a_\x8m_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8S_\x8R_\x8V; | ||
81 | 77·} | ||
82 | 78 | ||
68 | 7 | 83 | 79protected: |
84 | 80·//·allocate·buffers·from·patchTable | ||
85 | _\x88_\x81·bool·_\x8a_\x8l_\x8l_\x8o_\x8c_\x8a_\x8t_\x8e(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·const·*farPatchTable, | ||
86 | 82·ID3D11DeviceContext·*deviceContext); | ||
69 | _\x87_\x89·_\x8D_\x83_\x8D_\x81_\x81_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r(int·numElements,·int·numVertices); | ||
70 | 80 | ||
71 | 81·//·Allocates·D3D11·buffer | ||
72 | _\x88_\x82·bool·_\x8a_\x8l_\x8l_\x8o_\x8c_\x8a_\x8t_\x8e(ID3D11Device·*device); | ||
73 | 83 | 87 | 83 |
88 | _\x88_\x84·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y_\x8V_\x8e_\x8c_\x8t_\x8o_\x8r·_\x8__\x8p_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y_\x8s; | ||
89 | 85 | ||
90 | _\x88_\x86·ID3D11Buffer·*_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r; | ||
91 | _\x88_\x87·ID3D11Buffer·*_\x8__\x8p_\x8a_\x8t_\x8c_\x8h_\x8P_\x8a_\x8r_\x8a_\x8m_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r; | ||
92 | _\x88_\x88·ID3D11ShaderResourceView·*_\x8__\x8p_\x8a_\x8t_\x8c_\x8h_\x8P_\x8a_\x8r_\x8a_\x8m_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8S_\x8R_\x8V; | ||
74 | 84private: | ||
75 | 85·int·_numElements; | ||
76 | 86·int·_numVertices; | ||
77 | 87·ID3D11Buffer·*_buffer; | ||
78 | 88·ID3D11Buffer·*_uploadBuffer; | ||
79 | 89·ID3D11UnorderedAccessView·*_uav; | ||
80 | 93 | 89}; | |
94 | 90 | ||
81 | 91 | 95 | 91 |
82 | 92}·//·end·namespace·Osd | 96 | 92}·//·end·namespace·Osd |
83 | 93 | 97 | 93 |
84 | 94}·//·end·namespace·OPENSUBDIV_VERSION | 98 | 94}·//·end·namespace·OPENSUBDIV_VERSION |
85 | 95using·namespace·OPENSUBDIV_VERSION; | 99 | 95using·namespace·OPENSUBDIV_VERSION; |
86 | 96 | 100 | 96 |
87 | 97}·//·end·namespace·OpenSubdiv | 101 | 97}·//·end·namespace·OpenSubdiv |
88 | 98 | 102 | 98 |
89 | 99#endif·//·OPENSUBDIV3_OSD_ | 103 | 99#endif·//·OPENSUBDIV3_OSD_GL_PATCH_TABLE_H |
90 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 104 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
Max diff block lines reached; 8695/14166 bytes (61.38%) of diff not shown. |
Offset 94, 15 lines modified | Offset 94, 15 lines modified | ||
94 | ··<div·class="summary"> | 94 | ··<div·class="summary"> |
95 | <a·href="#nested-classes">Classes</a>·| | 95 | <a·href="#nested-classes">Classes</a>·| |
96 | <a·href="#namespaces">Namespaces</a>··</div> | 96 | <a·href="#namespaces">Namespaces</a>··</div> |
97 | ··<div·class="headertitle"><div·class="title">d3d11LegacyGregoryPatchTable.h·File·Reference</div></div> | 97 | ··<div·class="headertitle"><div·class="title">d3d11LegacyGregoryPatchTable.h·File·Reference</div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 100 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
101 | <code>#include·"<a·class="el"·href="a0073 | 101 | <code>#include·"<a·class="el"·href="a00731_source.html">../far/patchTable.h</a>"</code><br·/> |
102 | <code>#include·"../osd/nonCopyable.h"</code><br·/> | 102 | <code>#include·"../osd/nonCopyable.h"</code><br·/> |
103 | </div> | 103 | </div> |
104 | <p><a·href="a00839_source.html">Go·to·the·source·code·of·this·file.</a></p> | 104 | <p><a·href="a00839_source.html">Go·to·the·source·code·of·this·file.</a></p> |
105 | <table·class="memberdecls"> | 105 | <table·class="memberdecls"> |
106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
107 | Classes</h2></td></tr> | 107 | Classes</h2></td></tr> |
108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01205.html">D3D11LegacyGregoryPatchTable</a></td></tr> | 108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01205.html">D3D11LegacyGregoryPatchTable</a></td></tr> |
Offset 212, 15 lines modified | Offset 212, 15 lines modified | ||
212 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> | 212 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> |
213 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div> | 213 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div> |
214 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> | 214 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> |
215 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_D3D11_LEGACY_GREGORY_PATCH_TABLE_H</span></div> | 215 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_D3D11_LEGACY_GREGORY_PATCH_TABLE_H</span></div> |
216 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> | 216 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> |
217 | <div·class="ttc"·id="aa00973_html_a1d1cfd8ffb84e947f82999c682b666a7"><div·class="ttname"><a·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor::Type</a></div><div·class="ttdeci">Type</div><div·class="ttdef"><b>Definition</b>·<a·href="a00740_source.html#l00048">patchDescriptor.h:48</a></div></div> | 217 | <div·class="ttc"·id="aa00973_html_a1d1cfd8ffb84e947f82999c682b666a7"><div·class="ttname"><a·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor::Type</a></div><div·class="ttdeci">Type</div><div·class="ttdef"><b>Definition</b>·<a·href="a00740_source.html#l00048">patchDescriptor.h:48</a></div></div> |
218 | <div·class="ttc"·id="aa00973_html_a1d1cfd8ffb84e947f82999c682b666a7ac4ae10df9c13e44880ca7be341e44f2a"><div·class="ttname"><a·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7ac4ae10df9c13e44880ca7be341e44f2a">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor::GREGORY_BOUNDARY</a></div><div·class="ttdeci">@·GREGORY_BOUNDARY</div><div·class="ttdef"><b>Definition</b>·<a·href="a00740_source.html#l00061">patchDescriptor.h:61</a></div></div> | 218 | <div·class="ttc"·id="aa00973_html_a1d1cfd8ffb84e947f82999c682b666a7ac4ae10df9c13e44880ca7be341e44f2a"><div·class="ttname"><a·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7ac4ae10df9c13e44880ca7be341e44f2a">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor::GREGORY_BOUNDARY</a></div><div·class="ttdeci">@·GREGORY_BOUNDARY</div><div·class="ttdef"><b>Definition</b>·<a·href="a00740_source.html#l00061">patchDescriptor.h:61</a></div></div> |
219 | <div·class="ttc"·id="aa00993_html"><div·class="ttname"><a·href="a00993.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable</a></div><div·class="ttdoc">Container·for·arrays·of·parametric·patches.</div><div·class="ttdef"><b>Definition</b>·<a·href="a0073 | 219 | <div·class="ttc"·id="aa00993_html"><div·class="ttname"><a·href="a00993.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable</a></div><div·class="ttdoc">Container·for·arrays·of·parametric·patches.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00731_source.html#l00055">patchTable.h:55</a></div></div> |
220 | <div·class="ttc"·id="aa01205_html"><div·class="ttname"><a·href="a01205.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11LegacyGregoryPatchTable</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00839_source.html#l00043">d3d11LegacyGregoryPatchTable.h:44</a></div></div> | 220 | <div·class="ttc"·id="aa01205_html"><div·class="ttname"><a·href="a01205.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11LegacyGregoryPatchTable</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00839_source.html#l00043">d3d11LegacyGregoryPatchTable.h:44</a></div></div> |
221 | <div·class="ttc"·id="aa01205_html_a16aad8981b0b35184b6e44cfb242003d"><div·class="ttname"><a·href="a01205.html#a16aad8981b0b35184b6e44cfb242003d">OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11LegacyGregoryPatchTable::UpdateVertexBuffer</a></div><div·class="ttdeci">void·UpdateVertexBuffer(ID3D11Buffer·*vbo,·int·numVertices,·int·numVertexElements,·ID3D11DeviceContext·*pd3d11DeviceContext)</div></div> | 221 | <div·class="ttc"·id="aa01205_html_a16aad8981b0b35184b6e44cfb242003d"><div·class="ttname"><a·href="a01205.html#a16aad8981b0b35184b6e44cfb242003d">OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11LegacyGregoryPatchTable::UpdateVertexBuffer</a></div><div·class="ttdeci">void·UpdateVertexBuffer(ID3D11Buffer·*vbo,·int·numVertices,·int·numVertexElements,·ID3D11DeviceContext·*pd3d11DeviceContext)</div></div> |
222 | <div·class="ttc"·id="aa01205_html_a176fb87b7ba47d5c2c2a6d332e2687ce"><div·class="ttname"><a·href="a01205.html#a176fb87b7ba47d5c2c2a6d332e2687ce">OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11LegacyGregoryPatchTable::GetQuadOffsetsBase</a></div><div·class="ttdeci">int·GetQuadOffsetsBase(Far::PatchDescriptor::Type·type)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00839_source.html#l00074">d3d11LegacyGregoryPatchTable.h:74</a></div></div> | 222 | <div·class="ttc"·id="aa01205_html_a176fb87b7ba47d5c2c2a6d332e2687ce"><div·class="ttname"><a·href="a01205.html#a176fb87b7ba47d5c2c2a6d332e2687ce">OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11LegacyGregoryPatchTable::GetQuadOffsetsBase</a></div><div·class="ttdeci">int·GetQuadOffsetsBase(Far::PatchDescriptor::Type·type)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00839_source.html#l00074">d3d11LegacyGregoryPatchTable.h:74</a></div></div> |
223 | <div·class="ttc"·id="aa01205_html_a1b73be1e9343a3df3d0dd6027d06fe1b"><div·class="ttname"><a·href="a01205.html#a1b73be1e9343a3df3d0dd6027d06fe1b">OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11LegacyGregoryPatchTable::~D3D11LegacyGregoryPatchTable</a></div><div·class="ttdeci">~D3D11LegacyGregoryPatchTable()</div></div> | 223 | <div·class="ttc"·id="aa01205_html_a1b73be1e9343a3df3d0dd6027d06fe1b"><div·class="ttname"><a·href="a01205.html#a1b73be1e9343a3df3d0dd6027d06fe1b">OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11LegacyGregoryPatchTable::~D3D11LegacyGregoryPatchTable</a></div><div·class="ttdeci">~D3D11LegacyGregoryPatchTable()</div></div> |
224 | <div·class="ttc"·id="aa01205_html_a976374548278711d50993273260df174"><div·class="ttname"><a·href="a01205.html#a976374548278711d50993273260df174">OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11LegacyGregoryPatchTable::Create</a></div><div·class="ttdeci">static·D3D11LegacyGregoryPatchTable·*·Create(Far::PatchTable·const·*farPatchTable,·ID3D11DeviceContext·*deviceContext)</div></div> | 224 | <div·class="ttc"·id="aa01205_html_a976374548278711d50993273260df174"><div·class="ttname"><a·href="a01205.html#a976374548278711d50993273260df174">OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11LegacyGregoryPatchTable::Create</a></div><div·class="ttdeci">static·D3D11LegacyGregoryPatchTable·*·Create(Far::PatchTable·const·*farPatchTable,·ID3D11DeviceContext·*deviceContext)</div></div> |
225 | <div·class="ttc"·id="aa01205_html_ab758c72f33a9e3aa46c1096446c3557e"><div·class="ttname"><a·href="a01205.html#ab758c72f33a9e3aa46c1096446c3557e">OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11LegacyGregoryPatchTable::GetVertexSRV</a></div><div·class="ttdeci">ID3D11ShaderResourceView·*·GetVertexSRV()·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00839_source.html#l00062">d3d11LegacyGregoryPatchTable.h:62</a></div></div> | 225 | <div·class="ttc"·id="aa01205_html_ab758c72f33a9e3aa46c1096446c3557e"><div·class="ttname"><a·href="a01205.html#ab758c72f33a9e3aa46c1096446c3557e">OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11LegacyGregoryPatchTable::GetVertexSRV</a></div><div·class="ttdeci">ID3D11ShaderResourceView·*·GetVertexSRV()·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00839_source.html#l00062">d3d11LegacyGregoryPatchTable.h:62</a></div></div> |
226 | <div·class="ttc"·id="aa01205_html_aca9d1702077da362bc5ba1d046f7853d"><div·class="ttname"><a·href="a01205.html#aca9d1702077da362bc5ba1d046f7853d">OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11LegacyGregoryPatchTable::Create</a></div><div·class="ttdeci">static·D3D11LegacyGregoryPatchTable·*·Create(Far::PatchTable·const·*farPatchTable,·DEVICE_CONTEXT·context)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00839_source.html#l00049">d3d11LegacyGregoryPatchTable.h:49</a></div></div> | 226 | <div·class="ttc"·id="aa01205_html_aca9d1702077da362bc5ba1d046f7853d"><div·class="ttname"><a·href="a01205.html#aca9d1702077da362bc5ba1d046f7853d">OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11LegacyGregoryPatchTable::Create</a></div><div·class="ttdeci">static·D3D11LegacyGregoryPatchTable·*·Create(Far::PatchTable·const·*farPatchTable,·DEVICE_CONTEXT·context)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00839_source.html#l00049">d3d11LegacyGregoryPatchTable.h:49</a></div></div> |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/gl | 8 | <title>OpenSubdiv:·opensubdiv/osd/glXFBEvaluator.h·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 90, 42 lines modified | Offset 90, 47 lines modified | ||
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | 94 | <a·href="#nested-classes">Classes</a>·| |
95 | <a·href="#namespaces">Namespaces</a>··</div> | 95 | <a·href="#namespaces">Namespaces</a>··</div> |
96 | ··<div·class="headertitle"><div·class="title">gl | 96 | ··<div·class="headertitle"><div·class="title">glXFBEvaluator.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·"<a·class="el"·href="a00884_source.html">../osd/opengl.h</a>"</code><br·/> | ||
101 | <code>#include·"<a·class="el"·href="a01489_source.html">../osd/types.h</a>"</code><br·/> | ||
100 | <code>#include·"<a·class="el"·href="a00 | 102 | <code>#include·"<a·class="el"·href="a00899_source.html">../osd/bufferDescriptor.h</a>"</code><br·/> |
101 | <code>#include·<string></code><br·/> | ||
102 | </div> | 103 | </div> |
103 | <p><a·href="a00851_source.html">Go·to·the·source·code·of·this·file.</a></p> | 104 | <p><a·href="a00851_source.html">Go·to·the·source·code·of·this·file.</a></p> |
104 | <table·class="memberdecls"> | 105 | <table·class="memberdecls"> |
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
106 | Classes</h2></td></tr> | 107 | Classes</h2></td></tr> |
108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01249.html">GLStencilTableTBO</a></td></tr> | ||
109 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">GL·TextureBuffer·stencil·table.··<a·href="a01249.html#details">More...</a><br·/></td></tr> | ||
110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a012 | 111 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01253.html">GLXFBEvaluator</a></td></tr> |
108 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Provides·shader·source·which·can·be·used·by·client·code.··<a·href="a01241.html#details">More...</a><br·/></td></tr> | ||
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
110 | </table><table·class="memberdecls"> | 113 | </table><table·class="memberdecls"> |
111 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 114 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
112 | Namespaces</h2></td></tr> | 115 | Namespaces</h2></td></tr> |
113 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 116 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
115 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 118 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 119 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
120 | <tr·class="memitem:a00908"·id="r_a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr> | ||
121 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
117 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> | 122 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> |
118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 123 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
119 | </table> | 124 | </table> |
120 | </div><!--·contents·--> | 125 | </div><!--·contents·--> |
121 | </div><!--·doc-content·--> | 126 | </div><!--·doc-content·--> |
122 | <!--·start·footer·part·--> | 127 | <!--·start·footer·part·--> |
123 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 128 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
124 | ··<ul> | 129 | ··<ul> |
125 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00851.html">gl | 130 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00851.html">glXFBEvaluator.h</a></li> |
126 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 131 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
127 | ··</ul> | 132 | ··</ul> |
128 | </div> | 133 | </div> |
129 | </body> | 134 | </body> |
130 | </html> | 135 | </html> |
Offset 1, 25 lines modified | Offset 1, 30 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | 5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s |
6 | gl | 6 | glXFBEvaluator.h·File·Reference |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8o_\x8p_\x8e_\x8n_\x8g_\x8l_\x8._\x8h" | ||
9 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h" | ||
8 | #include·"_\x8._\x8._\x8/_\x8 | 10 | #include·"_\x8._\x8._\x8/_\x8o_.s_.d_./_.b_.u_.f_.f_.e_.r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8._\x8h" |
9 | #include·<string> | ||
10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 11 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
11 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | 12 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s |
12 | class· ·_\x8G_\x8L_\x8S_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
13 | 13 | class· ·_.G_.L_.S_.t_.e_.n_.c_.i_.l_.T_.a_.b_.l_.e_.T_.B_.O | |
14 | ·······GL·TextureBuffer·stencil·table.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
15 | |||
16 | class· ·_\x8G_\x8L_\x8X_\x8F_\x8B_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r | ||
14 | 17 | ||
15 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 18 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
16 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 19 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
17 | 20 | ||
18 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 21 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
19 | 22 | ||
23 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r | ||
24 | |||
20 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d | 25 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d |
21 | 26 | ||
22 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 27 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
23 | ····*·_\x8o_\x8s_\x8d | 28 | ····*·_\x8o_\x8s_\x8d |
24 | ····*·_\x8g_\x8l_\x8 | 29 | ····*·_\x8g_\x8l_\x8X_.F_.B_.E_.v_.a_.l_.u_.a_.t_.o_.r_\x8._\x8h |
25 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 30 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 3 lines modified | Offset 1, 4 lines modified | ||
1 | var·a00851·=·[ | 1 | var·a00851·=·[ |
2 | ····["GLS | 2 | ····["GLStencilTableTBO",·"a01249.html",·"a01249"], |
3 | ····["GLXFBEvaluator",·"a01253.html",·"a01253"] | ||
3 | ]; | 4 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/gl | 8 | <title>OpenSubdiv:·opensubdiv/osd/glXFBEvaluator.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 15 lines modified | Offset 92, 15 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title">gl | 98 | ··<div·class="headertitle"><div·class="title">glXFBEvaluator.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="a00851.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> | 101 | <a·href="a00851.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div> | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
Offset 119, 71 lines modified | Offset 119, 1205 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_GL | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_GL_XFB_EVALUATOR_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_GL | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_GL_XFB_EVALUATOR_H</span></div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../osd/opengl.h"</span></div> | ||
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·"../osd/types.h"</span></div> | ||
131 | <div·class="line"><a·id="l0003 | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·"../osd/bufferDescriptor.h"</span></div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> | ||
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·<string></span></div> | ||
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> |
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | 137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span> | 138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Far·{</div> |
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">class·</span>PatchTable;</div> | ||
140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keyword">class·</span>StencilTable;</div> | ||
141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">class·</span>LimitStencilTable;</div> | ||
142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>}</div> | ||
139 | <div·class="line"><a·id="l000 | 143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="keyword">namespace·</span>Osd·{</div> | ||
145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | ||
146 | <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="};"> | ||
147 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01249.html">···52</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01249.html">GLStencilTableTBO</a>·{</div> | ||
148 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">public</span>:</div> | ||
140 | <div·class="foldopen"·id="foldopen000 | 149 | <div·class="foldopen"·id="foldopen00054"·data-start="{"·data-end="}"> |
141 | <div·class="line"><a·id="l000 | 150 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01249.html#a24a8210b637a5b0fca2b258de3b8b8a6">···54</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01249.html">GLStencilTableTBO</a>·*<a·class="code·hl_fun[·...·truncated·by·diffoscope;·len:·71,·SHA:·ed5a870ff9a5b3fb038cbb70db5da6d0d639e2800a6f1077f8e51f389d8c6f08·...·]</div> |
151 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········<a·class="code·hl_class"·href="a01065.html">Far::StencilTable</a>·<span·class="keyword">const</span>·*stencilTable,·<span·class="keywordtype">void</span>·*deviceContext·=·NULL)·{</div> | ||
142 | <div·class="line"><a·id="l000 | 152 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········(void)deviceContext;··<span·class="comment">//·unused</span></div> |
153 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········<span·class="keywordflow">return</span>·<span·class="keyword">new</span>·<a·class="code·hl_class"·href="a01249.html">GLStencilTableTBO</a>(stencilTable);</div> | ||
143 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01241.html#ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d">···45</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01241.html#ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d">GetPatchBasisShaderSource</a>();</div> | ||
144 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> | ||
145 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01241.html#a230efce26a4754c94dbeedd435fe471b">···50</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01241.html#a230efce26a4754c94dbeedd435fe471b">GetPatchDrawingShaderSource</a>();</div> | ||
146 | <div·class="line"><a·id="l0005 | 154 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····}</div> |
155 | </div> | ||
147 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | 156 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> |
148 | <div·class=" | 157 | <div·class="foldopen"·id="foldopen00060"·data-start="{"·data-end="}"> |
158 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01249.html#ae38a4728f9debae7733ab48cfadd8312">···60</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01249.html">GLStencilTableTBO</a>·*<a·class="code·hl_function"·href="a01249.html#ae38a4728f9debae7733ab48cfadd8312">Create</a>(</div> | ||
159 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········<a·class="code·hl_class"·href="a01081.html">Far::LimitStencilTable</a>·<span·class="keyword">const</span>·*limitStencilTable,</div> | ||
160 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>········<span·class="keywordtype">void</span>·*deviceContext·=·NULL)·{</div> | ||
161 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········(void)deviceContext;··<span·class="comment">//·unused</span></div> | ||
162 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>········<span·class="keywordflow">return</span>·<span·class="keyword">new</span>·<a·class="code·hl_class"·href="a01249.html">GLStencilTableTBO</a>(limitStencilTable);</div> | ||
163 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····}</div> | ||
164 | </div> | ||
149 | <div·class="line"><a·id="l0006 | 165 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> |
166 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01249.html#abbba46ba67be00a0eac751e3e731db6e">···67</a></span>····<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01249.html#abbba46ba67be00a0eac751e3e731db6e">GLStencilTableTBO</a>(<a·class="code·hl_class"·href="a01065.html">Far::StencilTable</a>·<span·class="keyword">const</span>·*stencilTable);</div> | ||
167 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01249.html#ac74a769daf1fe45575a16b738bb761cd">···68</a></span>····<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01249.html#ac74a769daf1fe45575a16b738bb761cd">GLStencilTableTBO</a>(<a·class="code·hl_class"·href="a01081.html">Far::LimitStencilTable</a>·<span·class="keyword">const</span>·*limitStencilTable);</div> | ||
168 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01249.html#a80dc5a5837edb75950ad0306595cbdcc">···69</a></span>····<a·class="code·hl_function"·href="a01249.html#a80dc5a5837edb75950ad0306595cbdcc">~GLStencilTableTBO</a>();</div> | ||
150 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01241.html#a20cb122b561de15ed3b90d7e4f5176d2">···62</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01241.html#a20cb122b561de15ed3b90d7e4f5176d2">GetVertexShaderSource</a>(</div> | ||
151 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type);</div> | ||
152 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | ||
153 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01241.html#afc38178f7de93f60d4f6c1072c33cc7e">···65</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01241.html#afc38178f7de93f60d4f6c1072c33cc7e">GetTessControlShaderSource</a>(</div> | ||
154 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>········<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type);</div> | ||
155 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | ||
156 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01241.html#a57a46d6848317cc76a02bc166ee05c24">···68</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01241.html#a57a46d6848317cc76a02bc166ee05c24">GetTessEvalShaderSource</a>(</div> | ||
157 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>········<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type);</div> | Diff chunk too large, falling back to line-by-line diff (1071 lines added, 1 lines removed) | |
158 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | 169 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> |
159 | <div·class="line"><a·id="l0007 | 170 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="comment">//·interfaces·needed·for·GLSLTransformFeedbackKernel</span></div> |
171 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01249.html#a233d7a80471d1d90eb2caf732e25115b">···72</a></span>····GLuint·<a·class="code·hl_function"·href="a01249.html#a233d7a80471d1d90eb2caf732e25115b">GetSizesTexture</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_sizes;·}</div> | ||
172 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01249.html#afef26723ecaa12060e3e4744c0e206a9">···73</a></span>····GLuint·<a·class="code·hl_function"·href="a01249.html#afef26723ecaa12060e3e4744c0e206a9">GetOffsetsTexture</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_offsets;·}</div> | ||
173 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01249.html#a809a960b308df1bca3d8f406dbf9f422">···74</a></span>····GLuint·<a·class="code·hl_function"·href="a01249.html#a809a960b308df1bca3d8f406dbf9f422">GetIndicesTexture</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_indices;·}</div> | ||
174 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01249.html#ad5f4a852f17762c50c5d3011b11155cb">···75</a></span>····GLuint·<a·class="code·hl_function"·href="a01249.html#ad5f4a852f17762c50c5d3011b11155cb">GetWeightsTexture</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_weights;·}</div> | ||
175 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01249.html#afd4ff3060d31d9650d6c2820d870fda8">···76</a></span>····GLuint·<a·class="code·hl_function"·href="a01249.html#afd4ff3060d31d9650d6c2820d870fda8">GetDuWeightsTexture</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_duWeights;·}</div> | ||
176 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01249.html#afb1cd9d41b168ceeadd4892bfb3d3f77">···77</a></span>····GLuint·<a·class="code·hl_function"·href="a01249.html#afb1cd9d41b168ceeadd4892bfb3d3f77">GetDvWeightsTexture</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_dvWeights;·}</div> | ||
177 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01249.html#a70fdd6f46c3a89dd4627b67c9a37d02e">···78</a></span>····GLuint·<a·class="code·hl_function"·href="a01249.html#a70fdd6f46c3a89dd4627b67c9a37d02e">GetDuuWeightsTexture</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_duuWeights;·}</div> | ||
178 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01249.html#a6987f68e0e090437e6a28dadce50f566">···79</a></span>····GLuint·<a·class="code·hl_function"·href="a01249.html#a6987f68e0e090437e6a28dadce50f566">GetDuvWeightsTexture</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_duvWeights;·}</div> | ||
179 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01249.html#a5d98fa1e61dcd32b8deb16bc9cf04d52">···80</a></span>····GLuint·<a·class="code·hl_function"·href="a01249.html#a5d98fa1e61dcd32b8deb16bc9cf04d52">GetDvvWeightsTexture</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_dvvWeights;·}</div> | ||
180 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01249.html#a65836d2070b943c8fecbad926d074de2">···81</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01249.html#a65836d2070b943c8fecbad926d074de2">GetNumStencils</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_numStencils;·}</div> | ||
181 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | ||
182 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="keyword">private</span>:</div> | ||
183 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····GLuint·_sizes;</div> | ||
184 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····GLuint·_offsets;</div> | ||
185 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····GLuint·_indices;</div> | ||
186 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····GLuint·_weights;</div> | ||
187 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····GLuint·_duWeights;</div> | ||
188 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····GLuint·_dvWeights;</div> | ||
189 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····GLuint·_duuWeights;</div> | ||
190 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····GLuint·_duvWeights;</div> | ||
191 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····GLuint·_dvvWeights;</div> | ||
192 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····<span·class="keywordtype">int</span>·_numStencils;</div> | ||
193 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>};</div> | ||
194 | </div> | ||
195 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> | ||
196 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span><span·class="comment">//·---------------------------------------------------------------------------</span></div> | ||
197 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> | ||
198 | <div·class="foldopen"·id="foldopen00098"·data-start="{"·data-end="};"> | ||
199 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01253.html">···98</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01253.html">GLXFBEvaluator</a>·{</div> | ||
Max diff block lines reached; 44392/244917 bytes (18.13%) of diff not shown. |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | gl | 5 | glXFBEvaluator.h |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·2015·Pixar | 8 | 2//·Copyright·2015·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
Offset 24, 83 lines modified | Offset 24, 1448 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_OSD_GLSL_PATCH_SHADER_SOURCE_H | ||
32 | 2 | 31 | 25#ifndef·OPENSUBDIV3_OSD_GL_XFB_EVALUATOR_H |
32 | 26#define·OPENSUBDIV3_OSD_GL_XFB_EVALUATOR_H | ||
33 | 27 | 33 | 27 |
34 | 28#include·"../version.h" | 34 | 28#include·"../version.h" |
35 | 29 | 35 | 29 |
36 | 30#include·"../osd/opengl.h" | ||
37 | 31#include·"../osd/types.h" | ||
36 | 3 | 38 | 32#include·"../osd/bufferDescriptor.h" |
37 | 31 | ||
38 | 32#include·<string> | ||
39 | 33 | 39 | 33 |
40 | 34namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ | 40 | 34namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ |
41 | 35namespace·OPENSUBDIV_VERSION·{ | 41 | 35namespace·OPENSUBDIV_VERSION·{ |
42 | 36 | 42 | 36 |
43 | 37namespace·Far·{ | ||
44 | 38·class·PatchTable; | ||
45 | 39·class·StencilTable; | ||
46 | 40·class·LimitStencilTable; | ||
47 | 41} | ||
48 | 42 | ||
43 | 49 | 43namespace·Osd·{ | |
44 | 38 | ||
45 | 50 | 44 | |
51 | _\x85_\x82class·_\x8G_\x8L_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8T_\x8B_\x8O·{ | ||
46 | 52 | 53public: | |
47 | _\x84_\x85·static·std::string·_\x8G_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8B_\x8a_\x8s_\x8i_\x8s_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e(); | ||
48 | 46 | ||
49 | _\x85_\x80·static·std::string·_\x8G_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8r_\x8a_\x8w_\x8i_\x8n_\x8g_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e(); | ||
50 | 5 | 53 | _.5_.4·static·_.G_.L_.S_.t_.e_.n_.c_.i_.l_.T_.a_.b_.l_.e_.T_.B_.O·*_.C_.r_.e_.a_.t_.e( |
54 | 55·_\x8F_\x8a_\x8r_\x8:_\x8:_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·const·*stencilTable,·void·*deviceContext·=·NULL)·{ | ||
55 | 56·(void)deviceContext;·//·unused | ||
56 | 57·return·new·_\x8G_\x8L_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8T_\x8B_\x8O(stencilTable); | ||
57 | 58·} | ||
51 | 59 | 58 | 59 |
52 | _\x86_\x80·static·std::string·_\x8G_\x8e_\x8t_\x8C_\x8o_\x8m_\x8m_\x8o_\x8n_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e(); | ||
53 | 61 | ||
54 | _\x86_\x82·static·std::string·_\x8G_\x8e_\x8t_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e( | ||
55 | 63·_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e·type); | ||
56 | 64 | ||
57 | _\x86_\x85·static·std::string·_\x8G_\x8e_\x8t_\x8T_\x8e_\x8s_\x8s_\x8C_\x8o_\x8n_\x8t_\x8r_\x8o_\x8l_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e( | ||
58 | 66·_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e·type); | ||
59 | 67 | ||
60 | _\x86_\x88·static·std::string·_\x8G_\x8e_\x8t_\x8T_\x8e_\x8s_\x8s_\x8E_\x8v_\x8a_\x8l_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e( | ||
61 | 59 | _.6_.0·static·_.G_.L_.S_.t_.e_.n_.c_.i_.l_.T_.a_.b_.l_.e_.T_.B_.O·*_.C_.r_.e_.a_.t_.e( | |
60 | 61·_\x8F_\x8a_\x8r_\x8:_\x8:_\x8L_\x8i_\x8m_\x8i_\x8t_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·const·*limitStencilTable, | ||
61 | 62·void·*deviceContext·=·NULL)·{ | ||
62 | 63·(void)deviceContext;·//·unused | ||
63 | 64·return·new·_\x8G_\x8L_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8T_\x8B_\x8O(limitStencilTable); | ||
64 | 65·} | ||
65 | 66 | ||
66 | _\x86_\x87·explicit·_\x8G_\x8L_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8T_\x8B_\x8O(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·const·*stencilTable); | ||
67 | _\x86_\x88·explicit·_\x8G_\x8L_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8T_\x8B_\x8O(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8L_\x8i_\x8m_\x8i_\x8t_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·const·*limitStencilTable); | ||
68 | _\x86_\x89·_\x8~_\x8G_\x8L_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8T_\x8B_\x8O(); | Diff chunk too large, falling back to line-by-line diff (1022 lines added, 10 lines removed) | |
62 | 70 | 69 | 70 |
63 | 7 | 70 | 71·//·interfaces·needed·for·GLSLTransformFeedbackKernel |
64 | 7 | 71 | _.7_.2·GLuint·_.G_.e_.t_.S_.i_.z_.e_.s_.T_.e_.x_.t_.u_.r_.e()·const·{·return·_sizes;·} |
65 | 7 | 72 | _.7_.3·GLuint·_.G_.e_.t_.O_.f_.f_.s_.e_.t_.s_.T_.e_.x_.t_.u_.r_.e()·const·{·return·_offsets;·} |
66 | 7 | 73 | _.7_.4·GLuint·_.G_.e_.t_.I_.n_.d_.i_.c_.e_.s_.T_.e_.x_.t_.u_.r_.e()·const·{·return·_indices;·} |
67 | 7 | 74 | _.7_.5·GLuint·_.G_.e_.t_.W_.e_.i_.g_.h_.t_.s_.T_.e_.x_.t_.u_.r_.e()·const·{·return·_weights;·} |
68 | 7 | 75 | _.7_.6·GLuint·_.G_.e_.t_.D_.u_.W_.e_.i_.g_.h_.t_.s_.T_.e_.x_.t_.u_.r_.e()·const·{·return·_duWeights;·} |
69 | 7 | 76 | _.7_.7·GLuint·_.G_.e_.t_.D_.v_.W_.e_.i_.g_.h_.t_.s_.T_.e_.x_.t_.u_.r_.e()·const·{·return·_dvWeights;·} |
70 | 7 | 77 | _.7_.8·GLuint·_.G_.e_.t_.D_.u_.u_.W_.e_.i_.g_.h_.t_.s_.T_.e_.x_.t_.u_.r_.e()·const·{·return·_duuWeights;·} |
71 | 78 | _.7_.9·GLuint·_.G_.e_.t_.D_.u_.v_.W_.e_.i_.g_.h_.t_.s_.T_.e_.x_.t_.u_.r_.e()·const·{·return·_duvWeights;·} | |
72 | 8 | 79 | _.8_.0·GLuint·_.G_.e_.t_.D_.v_.v_.W_.e_.i_.g_.h_.t_.s_.T_.e_.x_.t_.u_.r_.e()·const·{·return·_dvvWeights;·} |
80 | _\x88_\x81·int·_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s()·const·{·return·_numStencils;·} | ||
81 | 82 | ||
82 | 83private: | ||
83 | 84·GLuint·_sizes; | ||
84 | 85·GLuint·_offsets; | ||
85 | 86·GLuint·_indices; | ||
86 | 87·GLuint·_weights; | ||
87 | 88·GLuint·_duWeights; | ||
88 | 89·GLuint·_dvWeights; | ||
89 | 90·GLuint·_duuWeights; | ||
90 | 91·GLuint·_duvWeights; | ||
91 | 92·GLuint·_dvvWeights; | ||
92 | 93·int·_numStencils; | ||
93 | 94}; | ||
94 | 95 | ||
95 | 96//·-------------------------------------------------------------------------- | ||
96 | - | ||
97 | 97 | ||
98 | _\x89_\x88class·_\x8G_\x8L_\x8X_\x8F_\x8B_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r·{ | ||
99 | 99public: | ||
100 | _\x81_\x80_\x80·typedef·bool·_\x8I_\x8n_\x8s_\x8t_\x8a_\x8n_\x8t_\x8i_\x8a_\x8t_\x8a_\x8b_\x8l_\x8e; | ||
101 | 101 | ||
102 | 103·template·<typename·DEVICE_CONTEXT> | ||
103 | _\x81_\x80_\x84·static·_\x8G_\x8L_\x8X_\x8F_\x8B_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r·*_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
104 | 105·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
105 | 106·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&duDesc, | ||
106 | 107·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dvDesc, | ||
107 | 108·DEVICE_CONTEXT·deviceContext)·{ | ||
108 | 109·bool·interleavedDerivativeBuffers·=·deviceContext | ||
109 | 110·?·deviceContext->AreInterleavedDerivativeBuffers() | ||
110 | 111·:·false; | ||
111 | 112·return·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(srcDesc,·dstDesc,·duDesc,·dvDesc, | ||
112 | 113·interleavedDerivativeBuffers); | ||
113 | 114·} | ||
114 | 115 | ||
115 | _\x81_\x81_\x87·static·_\x8G_\x8L_\x8X_\x8F_\x8B_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r·*_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
116 | 118·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
117 | 119·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&duDesc, | ||
118 | 120·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dvDesc, | ||
119 | 121·void·*·deviceContext)·{ | ||
120 | 122·(void)deviceContext;·//·not·used | ||
Max diff block lines reached; 36312/85577 bytes (42.43%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/gl | 8 | <title>OpenSubdiv:·opensubdiv/osd/glMesh.h·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 88, 49 lines modified | Offset 88, 43 lines modified | ||
88 | </div> | 88 | </div> |
89 | </div> | 89 | </div> |
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | ||
95 | <a·href="#namespaces">Namespaces</a>· | 94 | <a·href="#namespaces">Namespaces</a>·| |
95 | <a·href="#typedef-members">Typedefs</a>··</div> | ||
96 | ··<div·class="headertitle"><div·class="title">gl | 96 | ··<div·class="headertitle"><div·class="title">glMesh.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·"<a·class="el"·href="a0088 | 100 | <code>#include·"<a·class="el"·href="a00887_source.html">../osd/mesh.h</a>"</code><br·/> |
101 | <code>#include·"<a·class="el"·href="a0 | 101 | <code>#include·"<a·class="el"·href="a00863_source.html">../osd/glPatchTable.h</a>"</code><br·/> |
102 | <code>#include·"<a·class="el"·href="a00899_source.html">../osd/bufferDescriptor.h</a>"</code><br·/> | ||
103 | </div> | 102 | </div> |
104 | <p><a·href="a00854_source.html">Go·to·the·source·code·of·this·file.</a></p> | 103 | <p><a·href="a00854_source.html">Go·to·the·source·code·of·this·file.</a></p> |
105 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
107 | Classes</h2></td></tr> | ||
108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01249.html">GLStencilTableTBO</a></td></tr> | ||
109 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">GL·TextureBuffer·stencil·table.··<a·href="a01249.html#details">More...</a><br·/></td></tr> | ||
110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
111 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01253.html">GLXFBEvaluator</a></td></tr> | ||
112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
113 | </table><table·class="memberdecls"> | ||
114 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
115 | Namespaces</h2></td></tr> | 106 | Namespaces</h2></td></tr> |
116 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 107 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
118 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 109 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
119 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
120 | <tr·class="memitem:a00908"·id="r_a00908"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00908.html">OpenSubdiv::OPENSUBDIV_VERSION::Far</a></td></tr> | ||
121 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
122 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> | 111 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> |
123 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
113 | </table><table·class="memberdecls"> | ||
114 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
115 | Typedefs</h2></td></tr> | ||
116 | <tr·class="memitem:a7f9cf2b729178bdbb847fc4afd91af9e"·id="r_a7f9cf2b729178bdbb847fc4afd91af9e"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01269.html">MeshInterface</a><·<a·class="el"·href="a01237.html">GLPatchTable</a>·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a7f9cf2b729178bdbb847fc4afd91af9e">GLMeshInterface</a></td></tr> | ||
117 | <tr·class="separator:a7f9cf2b729178bdbb847fc4afd91af9e"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
124 | </table> | 118 | </table> |
125 | </div><!--·contents·--> | 119 | </div><!--·contents·--> |
126 | </div><!--·doc-content·--> | 120 | </div><!--·doc-content·--> |
127 | <!--·start·footer·part·--> | 121 | <!--·start·footer·part·--> |
128 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 122 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
129 | ··<ul> | 123 | ··<ul> |
130 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00854.html">gl | 124 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00854.html">glMesh.h</a></li> |
131 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 125 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
132 | ··</ul> | 126 | ··</ul> |
133 | </div> | 127 | </div> |
134 | </body> | 128 | </body> |
135 | </html> | 129 | </html> |
Offset 1, 30 lines modified | Offset 1, 24 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8C_\x8l_\x8a_\x8s_\x8s_\x8e_\x8s·|·_\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s | ||
6 | 5 | _.N_.a_.m_.e_.s_.p_.a_.c_.e_.s·|·_.T_.y_.p_.e_.d_.e_.f_.s | |
6 | glMesh.h·File·Reference | ||
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8o_\x8p_\x8e_\x8n_\x8g_\x8l_\x8._\x8h" | ||
9 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8 | 8 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8m_.e_.s_.h_\x8._\x8h" |
10 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8 | 9 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8g_.l_.P_.a_.t_.c_.h_.T_.a_.b_.l_.e_\x8._\x8h" |
11 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
12 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
13 | class· ·_\x8G_\x8L_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8T_\x8B_\x8O | ||
14 | ·······GL·TextureBuffer·stencil·table.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
15 | |||
16 | class· ·_\x8G_\x8L_\x8X_\x8F_\x8B_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r | ||
17 | |||
18 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 11 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
19 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 12 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
20 | 13 | ||
21 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 14 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
22 | 15 | ||
23 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r | ||
24 | |||
25 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d | 16 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d |
26 | 17 | ||
18 | T\x8Ty\x8yp\x8pe\x8ed\x8de\x8ef\x8fs\x8s | ||
19 | typedef·_\x8M_\x8e_\x8s_\x8h_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e<·_\x8G_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·> ·_\x8G_\x8L_\x8M_\x8e_\x8s_\x8h_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e | ||
20 | |||
27 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 21 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
28 | ····*·_\x8o_\x8s_\x8d | 22 | ····*·_\x8o_\x8s_\x8d |
29 | ····*·_\x8g_\x8l_\x8 | 23 | ····*·_\x8g_\x8l_\x8M_.e_.s_.h_\x8._\x8h |
30 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 24 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 4 lines modified | Offset 1, 3 lines modified | ||
1 | var·a00854·=·[ | 1 | var·a00854·=·[ |
2 | ····["GLMeshInterface",·"a00854.html#a7f9cf2b729178bdbb847fc4afd91af9e",·null] | ||
2 | ····["GLStencilTableTBO",·"a01249.html",·"a01249"], | ||
3 | ····["GLXFBEvaluator",·"a01253.html",·"a01253"] | ||
4 | ]; | 3 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/gl | 8 | <title>OpenSubdiv:·opensubdiv/osd/glMesh.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 19 lines modified | Offset 92, 19 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title">gl | 98 | ··<div·class="headertitle"><div·class="title">glMesh.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="a00854.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> | 101 | <a·href="a00854.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·201 | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> | 106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> |
107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> | 107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> |
108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> | 108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> |
109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> | 109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> |
Offset 119, 1205 lines modified | Offset 119, 45 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_GL_ | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_GL_MESH_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_GL_ | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_GL_MESH_H</span></div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../osd/ | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../osd/mesh.h"</span></div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·"../osd/t | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·"../osd/glPatchTable.h"</span></div> |
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·"../osd/bufferDescriptor.h"</span></div> | ||
134 | <div·class="line"><a·id="l0003 | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> |
135 | <div·class="line"><a·id="l0003 | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
136 | <div·class="line"><a·id="l0003 | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
137 | <div·class="line"><a·id="l0003 | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
138 | <div·class="line"><a·id="l0003 | 137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span>Osd·{</div> |
139 | <div·class="line"><a·id="l0003 | 138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> |
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a00912.html#a7f9cf2b729178bdbb847fc4afd91af9e">···38</a></span><span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01269.html">MeshInterface<GLPatchTable></a>·<a·class="code·hl_typedef"·href="a00912.html#a7f9cf2b729178bdbb847fc4afd91af9e">GLMeshInterface</a>;</div> | ||
140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>· | 140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> |
141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">class·</span>LimitStencilTable;</div> | ||
142 | <div·class="line"><a·id="l0004 | 141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> |
142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>}·<span·class="comment">//·end·namespace·Osd</span></div> | Diff chunk too large, falling back to line-by-line diff (6 lines added, 1108 lines removed) | |
143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | 143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class=" | 144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>}·<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> |
145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> | 145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> |
146 | <div·class=" | 146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> |
147 | <div·class="line"><a·id="l000 | 147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div> |
148 | <div·class="line"><a·id="l000 | 148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> |
149 | <div·class=" | 149 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_GL_MESH_H</span></div> |
150 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01249.html#a24a8210b637a5b0fca2b258de3b8b8a6">···54</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01249.html">GLStencilTableTBO</a>·*<a·class="code·hl_function"·href="a01249.html#a24a8210b637a5b0fca2b258de3b8b8a6">Create</a>(</div> | ||
151 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········<a·class="code·hl_class"·href="a01065.html">Far::StencilTable</a>·<span·class="keyword">const</span>·*stencilTable,·<span·class="keywordtype">void</span>·*deviceContext·=·NULL)·{</div> | ||
152 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········(void)deviceContext;··<span·class="comment">//·unused</span></div> | ||
153 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········<span·class="keywordflow">return</span>·<span·class="keyword">new</span>·<a·class="code·hl_class"·href="a01249.html">GLStencilTableTBO</a>(stencilTable);</div> | ||
154 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····}</div> | ||
155 | </div> | ||
156 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | ||
157 | <div·class="foldopen"·id="foldopen00060"·data-start="{"·data-end="}"> | ||
158 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01249.html#ae38a4728f9debae7733ab48cfadd8312">···60</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01249.html">GLStencilTableTBO</a>·*<a·class="code·hl_function"·href="a01249.html#ae38a4728f9debae7733ab48cfadd8312">Create</a>(</div> | ||
159 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········<a·class="code·hl_class"·href="a01081.html">Far::LimitStencilTable</a>·<span·class="keyword">const</span>·*limitStencilTable,</div> | ||
160 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>········<span·class="keywordtype">void</span>·*deviceContext·=·NULL)·{</div> | ||
161 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········(void)deviceContext;··<span·class="comment">//·unused</span></div> | ||
162 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>········<span·class="keywordflow">return</span>·<span·class="keyword">new</span>·<a·class="code·hl_class"·href="a01249.html">GLStencilTableTBO</a>(limitStencilTable);</div> | ||
163 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····}</div> | ||
164 | </div> | ||
165 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> | ||
166 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01249.html#abbba46ba67be00a0eac751e3e731db6e">···67</a></span>····<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01249.html#abbba46ba67be00a0eac751e3e731db6e">GLStencilTableTBO</a>(<a·class="code·hl_class"·href="a01065.html">Far::StencilTable</a>·<span·class="keyword">const</span>·*stencilTable);</div> | ||
167 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01249.html#ac74a769daf1fe45575a16b738bb761cd">···68</a></span>····<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01249.html#ac74a769daf1fe45575a16b738bb761cd">GLStencilTableTBO</a>(<a·class="code·hl_class"·href="a01081.html">Far::LimitStencilTable</a>·<span·class="keyword">const</span>·*limitStencilTable);</div> | ||
168 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01249.html#a80dc5a5837edb75950ad0306595cbdcc">···69</a></span>····<a·class="code·hl_function"·href="a01249.html#a80dc5a5837edb75950ad0306595cbdcc">~GLStencilTableTBO</a>();</div> | ||
169 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
170 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="comment">//·interfaces·needed·for·GLSLTransformFeedbackKernel</span></div> | ||
171 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01249.html#a233d7a80471d1d90eb2caf732e25115b">···72</a></span>····GLuint·<a·class="code·hl_function"·href="a01249.html#a233d7a80471d1d90eb2caf732e25115b">GetSizesTexture</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_sizes;·}</div> | ||
172 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01249.html#afef26723ecaa12060e3e4744c0e206a9">···73</a></span>····GLuint·<a·class="code·hl_function"·href="a01249.html#afef26723ecaa12060e3e4744c0e206a9">GetOffsetsTexture</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_offsets;·}</div> | ||
173 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01249.html#a809a960b308df1bca3d8f406dbf9f422">···74</a></span>····GLuint·<a·class="code·hl_function"·href="a01249.html#a809a960b308df1bca3d8f406dbf9f422">GetIndicesTexture</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_indices;·}</div> | ||
174 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01249.html#ad5f4a852f17762c50c5d3011b11155cb">···75</a></span>····GLuint·<a·class="code·hl_function"·href="a01249.html#ad5f4a852f17762c50c5d3011b11155cb">GetWeightsTexture</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_weights;·}</div> | ||
175 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01249.html#afd4ff3060d31d9650d6c2820d870fda8">···76</a></span>····GLuint·<a·class="code·hl_function"·href="a01249.html#afd4ff3060d31d9650d6c2820d870fda8">GetDuWeightsTexture</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_duWeights;·}</div> | ||
176 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01249.html#afb1cd9d41b168ceeadd4892bfb3d3f77">···77</a></span>····GLuint·<a·class="code·hl_function"·href="a01249.html#afb1cd9d41b168ceeadd4892bfb3d3f77">GetDvWeightsTexture</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_dvWeights;·}</div> | ||
177 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01249.html#a70fdd6f46c3a89dd4627b67c9a37d02e">···78</a></span>····GLuint·<a·class="code·hl_function"·href="a01249.html#a70fdd6f46c3a89dd4627b67c9a37d02e">GetDuuWeightsTexture</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_duuWeights;·}</div> | ||
178 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01249.html#a6987f68e0e090437e6a28dadce50f566">···79</a></span>····GLuint·<a·class="code·hl_function"·href="a01249.html#a6987f68e0e090437e6a28dadce50f566">GetDuvWeightsTexture</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_duvWeights;·}</div> | ||
179 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01249.html#a5d98fa1e61dcd32b8deb16bc9cf04d52">···80</a></span>····GLuint·<a·class="code·hl_function"·href="a01249.html#a5d98fa1e61dcd32b8deb16bc9cf04d52">GetDvvWeightsTexture</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_dvvWeights;·}</div> | ||
180 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01249.html#a65836d2070b943c8fecbad926d074de2">···81</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01249.html#a65836d2070b943c8fecbad926d074de2">GetNumStencils</a>()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·_numStencils;·}</div> | ||
181 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | ||
182 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="keyword">private</span>:</div> | ||
183 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····GLuint·_sizes;</div> | ||
184 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····GLuint·_offsets;</div> | ||
185 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····GLuint·_indices;</div> | ||
186 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····GLuint·_weights;</div> | ||
187 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····GLuint·_duWeights;</div> | ||
188 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····GLuint·_dvWeights;</div> | ||
189 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····GLuint·_duuWeights;</div> | ||
190 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····GLuint·_duvWeights;</div> | ||
191 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····GLuint·_dvvWeights;</div> | ||
192 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····<span·class="keywordtype">int</span>·_numStencils;</div> | ||
193 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>};</div> | ||
194 | </div> | ||
195 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> | ||
196 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span><span·class="comment">//·---------------------------------------------------------------------------</span></div> | ||
197 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> | ||
198 | <div·class="foldopen"·id="foldopen00098"·data-start="{"·data-end="};"> | ||
199 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01253.html">···98</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01253.html">GLXFBEvaluator</a>·{</div> | ||
200 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span><span·class="keyword">public</span>:</div> | ||
201 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a01253.html#a2c24b70c9312d8dff3fecb9ddea52c44">··100</a></span>····<span·class="keyword">typedef</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_typedef"·href="a01253.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a>;</div> | ||
202 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> | ||
203 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····<span·class="keyword">template</span>·<<span·class="keyword">typename</span>·DEVICE_CONTEXT></div> | ||
204 | <div·class="foldopen"·id="foldopen00104"·data-start="{"·data-end="}"> | ||
205 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a01253.html#a5be617906ad76ddcc4795dd6557a79f7">··104</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01253.html">GLXFBEvaluator</a>·*<a·class="code·hl_function"·href="a01253.html#a5be617906ad76ddcc4795dd6557a79f7">Create</a>(<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&srcDesc,</div> | ||
206 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··································<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDesc,</div> | ||
Max diff block lines reached; 39385/240537 bytes (16.37%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | gl | 5 | glMesh.h |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·201 | 8 | 2//·Copyright·2013·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: | 13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: |
14 | 8// | 14 | 8// |
15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade | 15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade |
Offset 24, 1448 lines modified | Offset 24, 42 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_OSD_GL_ | 31 | 25#ifndef·OPENSUBDIV3_OSD_GL_MESH_H |
32 | 26#define·OPENSUBDIV3_OSD_GL_ | 32 | 26#define·OPENSUBDIV3_OSD_GL_MESH_H |
33 | 27 | 33 | 27 |
34 | 28#include·"../version.h" | 34 | 28#include·"../version.h" |
35 | 29 | 35 | 29 |
36 | 30#include·"../osd/opengl.h" | ||
37 | 3 | 36 | 30#include·"../osd/mesh.h" |
38 | 32#include·"../osd/bufferDescriptor.h" | ||
39 | 3 | 37 | 31#include·"../osd/glPatchTable.h" |
38 | 32 | ||
40 | 3 | 39 | 33namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ |
41 | 3 | 40 | 34namespace·OPENSUBDIV_VERSION·{ |
42 | 3 | 41 | 35 |
43 | 3 | 42 | 36namespace·Osd·{ |
44 | 38·class·PatchTable; | ||
45 | 39·class·StencilTable; | ||
46 | 40·class·LimitStencilTable; | ||
47 | 43 | 37 | |
44 | _\x83_\x88typedef·_\x8M_\x8e_\x8s_\x8h_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e_\x8<_\x8G_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e_\x8>·_\x8G_\x8L_\x8M_\x8e_\x8s_\x8h_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e; | ||
45 | 39 | ||
46 | 40 | ||
47 | 41}·//·end·namespace·Osd | Diff chunk too large, falling back to line-by-line diff (6 lines added, 1043 lines removed) | |
48 | 42 | 48 | 42 |
49 | 43namespace·O | 49 | 43}·//·end·namespace·OPENSUBDIV_VERSION |
50 | 44 | 50 | 44using·namespace·OPENSUBDIV_VERSION; |
51 | 51 | 45 | |
52 | 52 | 46}·//·end·namespace·OpenSubdiv | |
53 | 53 | 47 | |
54 | 54 | 48#endif·//·OPENSUBDIV3_OSD_GL_MESH_H | |
55 | 56·(void)deviceContext;·//·unused | ||
56 | 57·return·new·_\x8G_\x8L_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8T_\x8B_\x8O(stencilTable); | ||
57 | 58·} | ||
58 | 59 | ||
59 | _\x86_\x80·static·_\x8G_\x8L_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8T_\x8B_\x8O·*_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e( | ||
60 | 61·_\x8F_\x8a_\x8r_\x8:_\x8:_\x8L_\x8i_\x8m_\x8i_\x8t_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·const·*limitStencilTable, | ||
61 | 62·void·*deviceContext·=·NULL)·{ | ||
62 | 63·(void)deviceContext;·//·unused | ||
63 | 64·return·new·_\x8G_\x8L_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8T_\x8B_\x8O(limitStencilTable); | ||
64 | 65·} | ||
65 | 66 | ||
66 | _\x86_\x87·explicit·_\x8G_\x8L_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8T_\x8B_\x8O(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·const·*stencilTable); | ||
67 | _\x86_\x88·explicit·_\x8G_\x8L_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8T_\x8B_\x8O(_\x8F_\x8a_\x8r_\x8:_\x8:_\x8L_\x8i_\x8m_\x8i_\x8t_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e·const·*limitStencilTable); | ||
68 | _\x86_\x89·_\x8~_\x8G_\x8L_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8T_\x8a_\x8b_\x8l_\x8e_\x8T_\x8B_\x8O(); | ||
69 | 70 | ||
70 | 71·//·interfaces·needed·for·GLSLTransformFeedbackKernel | ||
71 | _\x87_\x82·GLuint·_\x8G_\x8e_\x8t_\x8S_\x8i_\x8z_\x8e_\x8s_\x8T_\x8e_\x8x_\x8t_\x8u_\x8r_\x8e()·const·{·return·_sizes;·} | ||
72 | _\x87_\x83·GLuint·_\x8G_\x8e_\x8t_\x8O_\x8f_\x8f_\x8s_\x8e_\x8t_\x8s_\x8T_\x8e_\x8x_\x8t_\x8u_\x8r_\x8e()·const·{·return·_offsets;·} | ||
73 | _\x87_\x84·GLuint·_\x8G_\x8e_\x8t_\x8I_\x8n_\x8d_\x8i_\x8c_\x8e_\x8s_\x8T_\x8e_\x8x_\x8t_\x8u_\x8r_\x8e()·const·{·return·_indices;·} | ||
74 | _\x87_\x85·GLuint·_\x8G_\x8e_\x8t_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8T_\x8e_\x8x_\x8t_\x8u_\x8r_\x8e()·const·{·return·_weights;·} | ||
75 | _\x87_\x86·GLuint·_\x8G_\x8e_\x8t_\x8D_\x8u_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8T_\x8e_\x8x_\x8t_\x8u_\x8r_\x8e()·const·{·return·_duWeights;·} | ||
76 | _\x87_\x87·GLuint·_\x8G_\x8e_\x8t_\x8D_\x8v_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8T_\x8e_\x8x_\x8t_\x8u_\x8r_\x8e()·const·{·return·_dvWeights;·} | ||
77 | _\x87_\x88·GLuint·_\x8G_\x8e_\x8t_\x8D_\x8u_\x8u_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8T_\x8e_\x8x_\x8t_\x8u_\x8r_\x8e()·const·{·return·_duuWeights;·} | ||
78 | _\x87_\x89·GLuint·_\x8G_\x8e_\x8t_\x8D_\x8u_\x8v_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8T_\x8e_\x8x_\x8t_\x8u_\x8r_\x8e()·const·{·return·_duvWeights;·} | ||
79 | _\x88_\x80·GLuint·_\x8G_\x8e_\x8t_\x8D_\x8v_\x8v_\x8W_\x8e_\x8i_\x8g_\x8h_\x8t_\x8s_\x8T_\x8e_\x8x_\x8t_\x8u_\x8r_\x8e()·const·{·return·_dvvWeights;·} | ||
80 | _\x88_\x81·int·_\x8G_\x8e_\x8t_\x8N_\x8u_\x8m_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s()·const·{·return·_numStencils;·} | ||
81 | 82 | ||
82 | 83private: | ||
83 | 84·GLuint·_sizes; | ||
84 | 85·GLuint·_offsets; | ||
85 | 86·GLuint·_indices; | ||
86 | 87·GLuint·_weights; | ||
87 | 88·GLuint·_duWeights; | ||
88 | 89·GLuint·_dvWeights; | ||
89 | 90·GLuint·_duuWeights; | ||
90 | 91·GLuint·_duvWeights; | ||
91 | 92·GLuint·_dvvWeights; | ||
92 | 93·int·_numStencils; | ||
93 | 94}; | ||
94 | 95 | ||
95 | 96//·-------------------------------------------------------------------------- | ||
96 | - | ||
97 | 97 | ||
98 | _\x89_\x88class·_\x8G_\x8L_\x8X_\x8F_\x8B_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r·{ | ||
99 | 99public: | ||
100 | _\x81_\x80_\x80·typedef·bool·_\x8I_\x8n_\x8s_\x8t_\x8a_\x8n_\x8t_\x8i_\x8a_\x8t_\x8a_\x8b_\x8l_\x8e; | ||
101 | 101 | ||
102 | 103·template·<typename·DEVICE_CONTEXT> | ||
103 | _\x81_\x80_\x84·static·_\x8G_\x8L_\x8X_\x8F_\x8B_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r·*_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
104 | 105·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
105 | 106·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&duDesc, | ||
106 | 107·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dvDesc, | ||
107 | 108·DEVICE_CONTEXT·deviceContext)·{ | ||
108 | 109·bool·interleavedDerivativeBuffers·=·deviceContext | ||
109 | 110·?·deviceContext->AreInterleavedDerivativeBuffers() | ||
110 | 111·:·false; | ||
111 | 112·return·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(srcDesc,·dstDesc,·duDesc,·dvDesc, | ||
112 | 113·interleavedDerivativeBuffers); | ||
113 | 114·} | ||
114 | 115 | ||
115 | _\x81_\x81_\x87·static·_\x8G_\x8L_\x8X_\x8F_\x8B_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r·*_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
116 | 118·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
117 | 119·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&duDesc, | ||
118 | 120·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dvDesc, | ||
119 | 121·void·*·deviceContext)·{ | ||
120 | 122·(void)deviceContext;·//·not·used | ||
121 | 123·return·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(srcDesc,·dstDesc,·duDesc,·dvDesc); | ||
122 | 124·} | ||
123 | 125 | ||
124 | _\x81_\x82_\x86·static·_\x8G_\x8L_\x8X_\x8F_\x8B_\x8E_\x8v_\x8a_\x8l_\x8u_\x8a_\x8t_\x8o_\x8r·*·_\x8C_\x8r_\x8e_\x8a_\x8t_\x8e(_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
125 | 127·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
126 | 128·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&duDesc, | ||
127 | 129·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dvDesc, | ||
128 | 130·bool·interleavedDerivativeBuffers·=·false)·{ | ||
Max diff block lines reached; 34009/82612 bytes (41.17%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/gl | 8 | <title>OpenSubdiv:·opensubdiv/osd/glslPatchShaderSource.h·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 88, 43 lines modified | Offset 88, 44 lines modified | ||
88 | </div> | 88 | </div> |
89 | </div> | 89 | </div> |
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#nested-classes">Classes</a>·| | ||
94 | <a·href="#namespaces">Namespaces</a>· | 95 | <a·href="#namespaces">Namespaces</a>··</div> |
95 | <a·href="#typedef-members">Typedefs</a>··</div> | ||
96 | ··<div·class="headertitle"><div·class="title">gl | 96 | ··<div·class="headertitle"><div·class="title">glslPatchShaderSource.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·"<a·class="el"·href="a00 | 100 | <code>#include·"<a·class="el"·href="a00740_source.html">../far/patchDescriptor.h</a>"</code><br·/> |
101 | <code>#include·& | 101 | <code>#include·<string></code><br·/> |
102 | </div> | 102 | </div> |
103 | <p><a·href="a00857_source.html">Go·to·the·source·code·of·this·file.</a></p> | 103 | <p><a·href="a00857_source.html">Go·to·the·source·code·of·this·file.</a></p> |
104 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | ||
106 | Classes</h2></td></tr> | ||
107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01241.html">GLSLPatchShaderSource</a></td></tr> | ||
108 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Provides·shader·source·which·can·be·used·by·client·code.··<a·href="a01241.html#details">More...</a><br·/></td></tr> | ||
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
110 | </table><table·class="memberdecls"> | ||
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 111 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
106 | Namespaces</h2></td></tr> | 112 | Namespaces</h2></td></tr> |
107 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 113 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 114 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
109 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 115 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 116 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
111 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> | 117 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> |
112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 118 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
113 | </table><table·class="memberdecls"> | ||
114 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> | ||
115 | Typedefs</h2></td></tr> | ||
116 | <tr·class="memitem:a7f9cf2b729178bdbb847fc4afd91af9e"·id="r_a7f9cf2b729178bdbb847fc4afd91af9e"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01269.html">MeshInterface</a><·<a·class="el"·href="a01237.html">GLPatchTable</a>·> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a7f9cf2b729178bdbb847fc4afd91af9e">GLMeshInterface</a></td></tr> | ||
117 | <tr·class="separator:a7f9cf2b729178bdbb847fc4afd91af9e"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
118 | </table> | 119 | </table> |
119 | </div><!--·contents·--> | 120 | </div><!--·contents·--> |
120 | </div><!--·doc-content·--> | 121 | </div><!--·doc-content·--> |
121 | <!--·start·footer·part·--> | 122 | <!--·start·footer·part·--> |
122 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 123 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
123 | ··<ul> | 124 | ··<ul> |
124 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00857.html">gl | 125 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00857.html">glslPatchShaderSource.h</a></li> |
125 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 126 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
126 | ··</ul> | 127 | ··</ul> |
127 | </div> | 128 | </div> |
128 | </body> | 129 | </body> |
129 | </html> | 130 | </html> |
Offset 1, 24 lines modified | Offset 1, 25 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8T_\x8y_\x8p_\x8e_\x8d_\x8e_\x8f_\x8s | ||
6 | 5 | _.C_.l_.a_.s_.s_.e_.s·|·_.N_.a_.m_.e_.s_.p_.a_.c_.e_.s | |
6 | glslPatchShaderSource.h·File·Reference | ||
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8o_\x8s_\x8d_\x8/_\x8m_\x8e_\x8s_\x8h_\x8._\x8h" | ||
9 | #include·"_\x8._\x8._\x8/_\x8 | 8 | #include·"_\x8._\x8._\x8/_\x8f_.a_.r_./_.p_.a_.t_.c_.h_.D_.e_.s_.c_.r_.i_.p_.t_.o_.r_\x8._\x8h" |
9 | #include·<string> | ||
10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
11 | C\x8Cl\x8la\x8as\x8ss\x8se\x8es\x8s | ||
12 | class· ·_\x8G_\x8L_\x8S_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
13 | ·······Provides·shader·source·which·can·be·used·by·client·code.·_\x8M_\x8o_\x8r_\x8e_\x8._\x8._\x8. | ||
14 | |||
11 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 15 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
12 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 16 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
13 | 17 | ||
14 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 18 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
15 | 19 | ||
16 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d | 20 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d |
17 | 21 | ||
18 | T\x8Ty\x8yp\x8pe\x8ed\x8de\x8ef\x8fs\x8s | ||
19 | typedef·_\x8M_\x8e_\x8s_\x8h_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e<·_\x8G_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e·> ·_\x8G_\x8L_\x8M_\x8e_\x8s_\x8h_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e | ||
20 | |||
21 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 22 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
22 | ····*·_\x8o_\x8s_\x8d | 23 | ····*·_\x8o_\x8s_\x8d |
23 | ····*·_\x8g_\x8l_\x8 | 24 | ····*·_\x8g_\x8l_\x8s_.l_.P_.a_.t_.c_.h_.S_.h_.a_.d_.e_.r_.S_.o_.u_.r_.c_.e_\x8._\x8h |
24 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 25 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | var·a00857·=·[ | 1 | var·a00857·=·[ |
2 | ····["GL | 2 | ····["GLSLPatchShaderSource",·"a01241.html",·null] |
3 | ]; | 3 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/gl | 8 | <title>OpenSubdiv:·opensubdiv/osd/glslPatchShaderSource.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 19 lines modified | Offset 92, 19 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title">gl | 98 | ··<div·class="headertitle"><div·class="title">glslPatchShaderSource.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="a00857.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> | 101 | <a·href="a00857.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·201 | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2015·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> | 106 | <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="comment">//···compliance·with·the·Apache·License·and·the·following·modification·to·it:</span></div> |
107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> | 107 | <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="comment">//···Section·6.·Trademarks.·is·deleted·and·replaced·with:</span></div> |
108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> | 108 | <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="comment">//</span></div> |
109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> | 109 | <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//···6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade</span></div> |
Offset 119, 45 lines modified | Offset 119, 71 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_GL_ | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_GLSL_PATCH_SHADER_SOURCE_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_GL_ | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_GLSL_PATCH_SHADER_SOURCE_H</span></div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../ | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../far/patchDescriptor.h"</span></div> |
132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·"../osd/glPatchTable.h"</span></div> | ||
133 | <div·class="line"><a·id="l0003 | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·<string></span></div> | ||
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> | ||
134 | <div·class="line"><a·id="l0003 | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
135 | <div·class="line"><a·id="l0003 | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
136 | <div·class="line"><a·id="l0003 | 137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
137 | <div·class="line"><a·id="l0003 | 138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>Osd·{</div> |
138 | <div·class="line"><a·id="l0003 | 139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
139 | <div·class=" | 140 | <div·class="foldopen"·id="foldopen00040"·data-start="{"·data-end="};"> |
141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01241.html">···40</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a01241.html">GLSLPatchShaderSource</a>·{</div> | ||
140 | <div·class="line"><a·id="l000 | 142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">public</span>:</div> |
143 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01241.html#ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d">···45</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01241.html#ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d">GetPatchBasisShaderSource</a>();</div> | ||
141 | <div·class="line"><a·id="l0004 | 144 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> |
145 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01241.html#a230efce26a4754c94dbeedd435fe471b">···50</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01241.html#a230efce26a4754c94dbeedd435fe471b">GetPatchDrawingShaderSource</a>();</div> | ||
146 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | ||
147 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | ||
148 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01241.html#ad5f427d2655d384980715874209345e7">···60</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01241.html#ad5f427d2655d384980715874209345e7">GetCommonShaderSource</a>();</div> | ||
149 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> | ||
150 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01241.html#a20cb122b561de15ed3b90d7e4f5176d2">···62</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01241.html#a20cb122b561de15ed3b90d7e4f5176d2">GetVertexShaderSource</a>(</div> | ||
151 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type);</div> | ||
152 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | ||
153 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01241.html#afc38178f7de93f60d4f6c1072c33cc7e">···65</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01241.html#afc38178f7de93f60d4f6c1072c33cc7e">GetTessControlShaderSource</a>(</div> | ||
154 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>········<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type);</div> | ||
155 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | ||
156 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01241.html#a57a46d6848317cc76a02bc166ee05c24">···68</a></span>····<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a01241.html#a57a46d6848317cc76a02bc166ee05c24">GetTessEvalShaderSource</a>(</div> | ||
157 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>········<a·class="code·hl_enumeration"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type);</div> | ||
158 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> | ||
159 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>};</div> | ||
160 | </div> | ||
161 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> | ||
142 | <div·class="line"><a·id="l000 | 162 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>}··<span·class="comment">//·end·namespace·Osd</span></div> |
143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | ||
144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>}·<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> | ||
145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> | ||
146 | <div·class="line"><a·id="l000 | 163 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> |
147 | <div·class="line"><a·id="l000 | 164 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> |
165 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> | ||
148 | <div·class="line"><a·id="l000 | 166 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> |
167 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>}·<span·class="comment">//·end·namespace·OpenSubdiv</span></div> | ||
168 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | ||
149 | <div·class="line"><a·id="l000 | 169 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_GLSL_PATCH_SHADER_SOURCE</span></div> |
150 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> | 170 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> |
151 | <div·class="ttc"·id="aa00912_html_a7f9cf2b729178bdbb847fc4afd91af9e"><div·class="ttname"><a·href="a00912.html#a7f9cf2b729178bdbb847fc4afd91af9e">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLMeshInterface</a></div><div·class="ttdeci">MeshInterface<·GLPatchTable·>·GLMeshInterface</div><div·class="ttdef"><b>Definition</b>·<a·href="a00857_source.html#l00038">glMesh.h:38</a></div></div> | ||
152 | <div·class="ttc"·id="aa0 | 171 | <div·class="ttc"·id="aa00973_html_a1d1cfd8ffb84e947f82999c682b666a7"><div·class="ttname"><a·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor::Type</a></div><div·class="ttdeci">Type</div><div·class="ttdef"><b>Definition</b>·[·...·truncated·by·diffoscope;·len:·55,·SHA:·0a396286e1f4f434198bdc2a82e4de6c857346eb94cf6ce541fa11952fb9afbf·...·]8</a></div></div> |
172 | <div·class="ttc"·id="aa01241_html"><div·class="ttname"><a·href="a01241.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLSLPatchShaderSource</a></div><div·class="ttdoc">Provides·shader·source·which·can·be·used·by·client·code.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00857_source.html#l00040">glslPatchShaderSource.h:40</a></div></div> | ||
173 | <div·class="ttc"·id="aa01241_html_a20cb122b561de15ed3b90d7e4f5176d2"><div·class="ttname"><a·href="a01241.html#a20cb122b561de15ed3b90d7e4f5176d2">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLSLPatchShaderSource::GetVertexShaderSource</a></div><div·class="ttdeci">static·std::string·GetVertexShaderSource(Far::PatchDescriptor::Type·type)</div></div> | ||
174 | <div·class="ttc"·id="aa01241_html_a230efce26a4754c94dbeedd435fe471b"><div·class="ttname"><a·href="a01241.html#a230efce26a4754c94dbeedd435fe471b">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLSLPatchShaderSource::GetPatchDrawingShaderSource</a></div><div·class="ttdeci">static·std::string·GetPatchDrawingShaderSource()</div><div·class="ttdoc">Returns·shader·source·which·can·be·used·while·drawing·piecewise·parametric·patches·resulting·from·sub...</div></div> | ||
175 | <div·class="ttc"·id="aa01241_html_a57a46d6848317cc76a02bc166ee05c24"><div·class="ttname"><a·href="a01241.html#a57a46d6848317cc76a02bc166ee05c24">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLSLPatchShaderSource::GetTessEvalShaderSource</a></div><div·class="ttdeci">static·std::string·GetTessEvalShaderSource(Far::PatchDescriptor::Type·type)</div></div> | ||
176 | <div·class="ttc"·id="aa01241_html_ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"><div·class="ttname"><a·href="a01241.html#ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLSLPatchShaderSource::GetPatchBasisShaderSource</a></div><div·class="ttdeci">static·std::string·GetPatchBasisShaderSource()</div><div·class="ttdoc">Returns·shader·source·which·can·be·used·to·evaluate·position·and·first·and·second·derivatives·on·piec...</div></div> | ||
177 | <div·class="ttc"·id="aa01241_html_ad5f427d2655d384980715874209345e7"><div·class="ttname"><a·href="a01241.html#ad5f427d2655d384980715874209345e7">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLSLPatchShaderSource::GetCommonShaderSource</a></div><div·class="ttdeci">static·std::string·GetCommonShaderSource()</div></div> | ||
178 | <div·class="ttc"·id="aa01241_html_afc38178f7de93f60d4f6c1072c33cc7e"><div·class="ttname"><a·href="a01241.html#afc38178f7de93f60d4f6c1072c33cc7e">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLSLPatchShaderSource::GetTessControlShaderSource</a></div><div·class="ttdeci">static·std::string·GetTessControlShaderSource(Far::PatchDescriptor::Type·type)</div></div> | ||
153 | </div><!--·fragment·--></div><!--·contents·--> | 179 | </div><!--·fragment·--></div><!--·contents·--> |
154 | </div><!--·doc-content·--> | 180 | </div><!--·doc-content·--> |
155 | <!--·start·footer·part·--> | 181 | <!--·start·footer·part·--> |
156 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 182 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
157 | ··<ul> | 183 | ··<ul> |
158 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00857.html">gl | 184 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00857.html">glslPatchShaderSource.h</a></li> |
159 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 185 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
160 | ··</ul> | 186 | ··</ul> |
161 | </div> | 187 | </div> |
162 | </body> | 188 | </body> |
163 | </html> | 189 | </html> |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | gl | 5 | glslPatchShaderSource.h |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·201 | 8 | 2//·Copyright·2015·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: | 13 | 7//·Section·6.·Trademarks.·is·deleted·and·replaced·with: |
14 | 8// | 14 | 8// |
15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade | 15 | 9//·6.·Trademarks.·This·License·does·not·grant·permission·to·use·the·trade |
Offset 24, 42 lines modified | Offset 24, 83 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_OSD_GL_ | 31 | 25#ifndef·OPENSUBDIV3_OSD_GLSL_PATCH_SHADER_SOURCE_H |
32 | 26#define·OPENSUBDIV3_OSD_GL_ | 32 | 26#define·OPENSUBDIV3_OSD_GLSL_PATCH_SHADER_SOURCE_H |
33 | 27 | 33 | 27 |
34 | 28#include·"../version.h" | 34 | 28#include·"../version.h" |
35 | 29 | 35 | 29 |
36 | 30#include·"../osd/mesh.h" | ||
37 | 31#include·"../osd/glPatchTable.h" | ||
38 | 3 | 36 | 30#include·"../far/patchDescriptor.h" |
37 | 31 | ||
38 | 32#include·<string> | ||
39 | 33 | ||
39 | 3 | 40 | 34namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ |
40 | 3 | 41 | 35namespace·OPENSUBDIV_VERSION·{ |
41 | 3 | 42 | 36 |
42 | 3 | 43 | 37namespace·Osd·{ |
43 | 37 | ||
44 | _\x83_\x88typedef·_\x8M_\x8e_\x8s_\x8h_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e_\x8<_\x8G_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8T_\x8a_\x8b_\x8l_\x8e_\x8>·_\x8G_\x8L_\x8M_\x8e_\x8s_\x8h_\x8I_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e; | ||
45 | 39 | ||
46 | 44 | 38 | |
45 | _\x84_\x80class·_\x8G_\x8L_\x8S_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e·{ | ||
46 | 41public: | ||
47 | _\x84_\x85·static·std::string·_\x8G_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8B_\x8a_\x8s_\x8i_\x8s_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e(); | ||
48 | 46 | ||
49 | _\x85_\x80·static·std::string·_\x8G_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8r_\x8a_\x8w_\x8i_\x8n_\x8g_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e(); | ||
50 | 51 | ||
51 | 59 | ||
52 | _\x86_\x80·static·std::string·_\x8G_\x8e_\x8t_\x8C_\x8o_\x8m_\x8m_\x8o_\x8n_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e(); | ||
53 | 61 | ||
54 | _\x86_\x82·static·std::string·_\x8G_\x8e_\x8t_\x8V_\x8e_\x8r_\x8t_\x8e_\x8x_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e( | ||
55 | 63·_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e·type); | ||
56 | 64 | ||
57 | _\x86_\x85·static·std::string·_\x8G_\x8e_\x8t_\x8T_\x8e_\x8s_\x8s_\x8C_\x8o_\x8n_\x8t_\x8r_\x8o_\x8l_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e( | ||
58 | 66·_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e·type); | ||
59 | 67 | ||
60 | _\x86_\x88·static·std::string·_\x8G_\x8e_\x8t_\x8T_\x8e_\x8s_\x8s_\x8E_\x8v_\x8a_\x8l_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e( | ||
61 | 69·_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e·type); | ||
62 | 70 | ||
63 | 72}; | ||
64 | 73 | ||
47 | 65 | 74}·//·end·namespace·Osd | |
48 | 66 | 75 | |
49 | 67 | 76}·//·end·namespace·OPENSUBDIV_VERSION | |
50 | 68 | 77using·namespace·OPENSUBDIV_VERSION; | |
51 | 69 | 78 | |
52 | 70 | 79}·//·end·namespace·OpenSubdiv | |
53 | 47 | ||
54 | 71 | 80 | |
72 | 81#endif·//·OPENSUBDIV3_OSD_GLSL_PATCH_SHADER_SOURCE | ||
55 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 73 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
56 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8l_\x8i_\x8m_\x8i_\x8t_\x8s_\x8._\x8h_\x8:_\x83_\x82 | 74 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8l_\x8i_\x8m_\x8i_\x8t_\x8s_\x8._\x8h_\x8:_\x83_\x82 |
75 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8F_\x8a_\x8r_\x8:_\x8:_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8:_\x8:_\x8T_\x8y_\x8p_\x8e | ||
76 | Type | ||
77 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8p_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8._\x8h_\x8:_\x84_\x88 | ||
57 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8G_\x8L_\x8 | 78 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8G_\x8L_\x8S_.L_.P_.a_.t_.c_.h_.S_.h_.a_.d_.e_.r_.S_.o_.u_.r_\x8c_\x8e |
58 | MeshInterface<·GLPatchTable·>·GLMeshInterface | ||
59 | 79 | Provides·shader·source·which·can·be·used·by·client·code. | |
80 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8g_\x8l_\x8s_\x8l_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8._\x8h_\x8:_\x84_\x80 | ||
60 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8 | 81 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8G_.L_.S_.L_.P_.a_.t_.c_.h_.S_.h_.a_.d_.e_.r_.S_.o_.u_.r_.c_.e_.:_.: |
61 | 82 | _.G_.e_.t_.V_.e_.r_.t_.e_.x_.S_.h_.a_.d_.e_.r_.S_.o_.u_.r_.c_.e | |
83 | static·std::string·GetVertexShaderSource(Far::PatchDescriptor::Type·type) | ||
84 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8G_\x8L_\x8S_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8:_\x8: | ||
85 | _\x8G_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8D_\x8r_\x8a_\x8w_\x8i_\x8n_\x8g_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
86 | static·std::string·GetPatchDrawingShaderSource() | ||
87 | Returns·shader·source·which·can·be·used·while·drawing·piecewise·parametric | ||
88 | patches·resulting·from·sub... | ||
89 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8G_\x8L_\x8S_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8:_\x8: | ||
90 | _\x8G_\x8e_\x8t_\x8T_\x8e_\x8s_\x8s_\x8E_\x8v_\x8a_\x8l_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
91 | static·std::string·GetTessEvalShaderSource(Far::PatchDescriptor::Type·type) | ||
92 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8G_\x8L_\x8S_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8:_\x8: | ||
93 | _\x8G_\x8e_\x8t_\x8P_\x8a_\x8t_\x8c_\x8h_\x8B_\x8a_\x8s_\x8i_\x8s_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
94 | static·std::string·GetPatchBasisShaderSource() | ||
95 | Returns·shader·source·which·can·be·used·to·evaluate·position·and·first·and | ||
96 | second·derivatives·on·piec... | ||
97 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8G_\x8L_\x8S_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8:_\x8: | ||
98 | _\x8G_\x8e_\x8t_\x8C_\x8o_\x8m_\x8m_\x8o_\x8n_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
99 | static·std::string·GetCommonShaderSource() | ||
100 | _\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d_\x8:_\x8:_\x8G_\x8L_\x8S_\x8L_\x8P_\x8a_\x8t_\x8c_\x8h_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8:_\x8: | ||
101 | _\x8G_\x8e_\x8t_\x8T_\x8e_\x8s_\x8s_\x8C_\x8o_\x8n_\x8t_\x8r_\x8o_\x8l_\x8S_\x8h_\x8a_\x8d_\x8e_\x8r_\x8S_\x8o_\x8u_\x8r_\x8c_\x8e | ||
102 | static·std::string·GetTessControlShaderSource(Far::PatchDescriptor::Type·type) | ||
62 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 103 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
63 | ····*·_\x8o_\x8s_\x8d | 104 | ····*·_\x8o_\x8s_\x8d |
64 | ····*·_\x8g_\x8l_\x8 | 105 | ····*·_\x8g_\x8l_\x8s_.l_.P_.a_.t_.c_.h_.S_.h_.a_.d_.e_.r_.S_.o_.u_.r_.c_.e_\x8._\x8h |
65 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 106 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 267, 15 lines modified | Offset 267, 15 lines modified | ||
267 | <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> | 267 | <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> |
268 | <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>·</div> | 268 | <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>·</div> |
269 | <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div> | 269 | <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div> |
270 | <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno">··155</span>·</div> | 270 | <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno">··155</span>·</div> |
271 | <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_GL_PATCH_TABLE_H</span></div> | 271 | <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_GL_PATCH_TABLE_H</span></div> |
272 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> | 272 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> |
273 | <div·class="ttc"·id="aa00912_html_a98098cd229f60d2397d84a76fe654a31"><div·class="ttname"><a·href="a00912.html#a98098cd229f60d2397d84a76fe654a31">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchArrayVector</a></div><div·class="ttdeci">std::vector<·PatchArray·>·PatchArrayVector</div><div·class="ttdef"><b>Definition</b>·<a·href="a01489_source.html#l00132">types.h:132</a></div></div> | 273 | <div·class="ttc"·id="aa00912_html_a98098cd229f60d2397d84a76fe654a31"><div·class="ttname"><a·href="a00912.html#a98098cd229f60d2397d84a76fe654a31">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchArrayVector</a></div><div·class="ttdeci">std::vector<·PatchArray·>·PatchArrayVector</div><div·class="ttdef"><b>Definition</b>·<a·href="a01489_source.html#l00132">types.h:132</a></div></div> |
274 | <div·class="ttc"·id="aa00993_html"><div·class="ttname"><a·href="a00993.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable</a></div><div·class="ttdoc">Container·for·arrays·of·parametric·patches.</div><div·class="ttdef"><b>Definition</b>·<a·href="a0073 | 274 | <div·class="ttc"·id="aa00993_html"><div·class="ttname"><a·href="a00993.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable</a></div><div·class="ttdoc">Container·for·arrays·of·parametric·patches.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00731_source.html#l00055">patchTable.h:55</a></div></div> |
275 | <div·class="ttc"·id="aa01237_html"><div·class="ttname"><a·href="a01237.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLPatchTable</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00863_source.html#l00045">glPatchTable.h:45</a></div></div> | 275 | <div·class="ttc"·id="aa01237_html"><div·class="ttname"><a·href="a01237.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLPatchTable</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00863_source.html#l00045">glPatchTable.h:45</a></div></div> |
276 | <div·class="ttc"·id="aa01237_html_a02af2ea2e9328a776b5b0bb3edf88864"><div·class="ttname"><a·href="a01237.html#a02af2ea2e9328a776b5b0bb3edf88864">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLPatchTable::VertexBufferBinding</a></div><div·class="ttdeci">GLuint·VertexBufferBinding</div><div·class="ttdef"><b>Definition</b>·<a·href="a00863_source.html#l00047">glPatchTable.h:47</a></div></div> | 276 | <div·class="ttc"·id="aa01237_html_a02af2ea2e9328a776b5b0bb3edf88864"><div·class="ttname"><a·href="a01237.html#a02af2ea2e9328a776b5b0bb3edf88864">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLPatchTable::VertexBufferBinding</a></div><div·class="ttdeci">GLuint·VertexBufferBinding</div><div·class="ttdef"><b>Definition</b>·<a·href="a00863_source.html#l00047">glPatchTable.h:47</a></div></div> |
277 | <div·class="ttc"·id="aa01237_html_a0e48596d8f2ffc1ce58bcf64cea7ec06"><div·class="ttname"><a·href="a01237.html#a0e48596d8f2ffc1ce58bcf64cea7ec06">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLPatchTable::_fvarIndexBuffers</a></div><div·class="ttdeci">std::vector<·GLuint·>·_fvarIndexBuffers</div><div·class="ttdef"><b>Definition</b>·<a·href="a00863_source.html#l00141">glPatchTable.h:141</a></div></div> | 277 | <div·class="ttc"·id="aa01237_html_a0e48596d8f2ffc1ce58bcf64cea7ec06"><div·class="ttname"><a·href="a01237.html#a0e48596d8f2ffc1ce58bcf64cea7ec06">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLPatchTable::_fvarIndexBuffers</a></div><div·class="ttdeci">std::vector<·GLuint·>·_fvarIndexBuffers</div><div·class="ttdef"><b>Definition</b>·<a·href="a00863_source.html#l00141">glPatchTable.h:141</a></div></div> |
278 | <div·class="ttc"·id="aa01237_html_a18e3d09b0c7b7552f8e419e36788166a"><div·class="ttname"><a·href="a01237.html#a18e3d09b0c7b7552f8e419e36788166a">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLPatchTable::GetPatchArrays</a></div><div·class="ttdeci">PatchArrayVector·const·&·GetPatchArrays()·const</div><div·class="ttdoc">Returns·the·patch·arrays·for·vertex·index·buffer·data.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00863_source.html#l00055">glPatchTable.h:55</a></div></div> | 278 | <div·class="ttc"·id="aa01237_html_a18e3d09b0c7b7552f8e419e36788166a"><div·class="ttname"><a·href="a01237.html#a18e3d09b0c7b7552f8e419e36788166a">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLPatchTable::GetPatchArrays</a></div><div·class="ttdeci">PatchArrayVector·const·&·GetPatchArrays()·const</div><div·class="ttdoc">Returns·the·patch·arrays·for·vertex·index·buffer·data.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00863_source.html#l00055">glPatchTable.h:55</a></div></div> |
279 | <div·class="ttc"·id="aa01237_html_a2657089828a2062a96ae15b4ea2d9bbf"><div·class="ttname"><a·href="a01237.html#a2657089828a2062a96ae15b4ea2d9bbf">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLPatchTable::GetFVarPatchIndexBuffer</a></div><div·class="ttdeci">GLuint·GetFVarPatchIndexBuffer(int·fvarChannel=0)·const</div><div·class="ttdoc">Returns·the·GL·index·buffer·containing·face-varying·control·vertices.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00863_source.html#l00103">glPatchTable.h:103</a></div></div> | 279 | <div·class="ttc"·id="aa01237_html_a2657089828a2062a96ae15b4ea2d9bbf"><div·class="ttname"><a·href="a01237.html#a2657089828a2062a96ae15b4ea2d9bbf">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLPatchTable::GetFVarPatchIndexBuffer</a></div><div·class="ttdeci">GLuint·GetFVarPatchIndexBuffer(int·fvarChannel=0)·const</div><div·class="ttdoc">Returns·the·GL·index·buffer·containing·face-varying·control·vertices.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00863_source.html#l00103">glPatchTable.h:103</a></div></div> |
280 | <div·class="ttc"·id="aa01237_html_a27e3bbc29608fb5ded788e1a6d068da7"><div·class="ttname"><a·href="a01237.html#a27e3bbc29608fb5ded788e1a6d068da7">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLPatchTable::~GLPatchTable</a></div><div·class="ttdeci">~GLPatchTable()</div></div> | 280 | <div·class="ttc"·id="aa01237_html_a27e3bbc29608fb5ded788e1a6d068da7"><div·class="ttname"><a·href="a01237.html#a27e3bbc29608fb5ded788e1a6d068da7">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLPatchTable::~GLPatchTable</a></div><div·class="ttdeci">~GLPatchTable()</div></div> |
281 | <div·class="ttc"·id="aa01237_html_a2a8e1501f85608c6309e00955b6197dc"><div·class="ttname"><a·href="a01237.html#a2a8e1501f85608c6309e00955b6197dc">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLPatchTable::_fvarParamBuffers</a></div><div·class="ttdeci">std::vector<·GLuint·>·_fvarParamBuffers</div><div·class="ttdef"><b>Definition</b>·<a·href="a00863_source.html#l00144">glPatchTable.h:144</a></div></div> | 281 | <div·class="ttc"·id="aa01237_html_a2a8e1501f85608c6309e00955b6197dc"><div·class="ttname"><a·href="a01237.html#a2a8e1501f85608c6309e00955b6197dc">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLPatchTable::_fvarParamBuffers</a></div><div·class="ttdeci">std::vector<·GLuint·>·_fvarParamBuffers</div><div·class="ttdef"><b>Definition</b>·<a·href="a00863_source.html#l00144">glPatchTable.h:144</a></div></div> |
Offset 94, 15 lines modified | Offset 94, 15 lines modified | ||
94 | ··<div·class="summary"> | 94 | ··<div·class="summary"> |
95 | <a·href="#nested-classes">Classes</a>·| | 95 | <a·href="#nested-classes">Classes</a>·| |
96 | <a·href="#namespaces">Namespaces</a>··</div> | 96 | <a·href="#namespaces">Namespaces</a>··</div> |
97 | ··<div·class="headertitle"><div·class="title">glLegacyGregoryPatchTable.h·File·Reference</div></div> | 97 | ··<div·class="headertitle"><div·class="title">glLegacyGregoryPatchTable.h·File·Reference</div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 100 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
101 | <code>#include·"<a·class="el"·href="a0073 | 101 | <code>#include·"<a·class="el"·href="a00731_source.html">../far/patchTable.h</a>"</code><br·/> |
102 | <code>#include·"../osd/nonCopyable.h"</code><br·/> | 102 | <code>#include·"../osd/nonCopyable.h"</code><br·/> |
103 | <code>#include·"<a·class="el"·href="a00884_source.html">../osd/opengl.h</a>"</code><br·/> | 103 | <code>#include·"<a·class="el"·href="a00884_source.html">../osd/opengl.h</a>"</code><br·/> |
104 | </div> | 104 | </div> |
105 | <p><a·href="a00866_source.html">Go·to·the·source·code·of·this·file.</a></p> | 105 | <p><a·href="a00866_source.html">Go·to·the·source·code·of·this·file.</a></p> |
106 | <table·class="memberdecls"> | 106 | <table·class="memberdecls"> |
107 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 107 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
108 | Classes</h2></td></tr> | 108 | Classes</h2></td></tr> |
Offset 194, 15 lines modified | Offset 194, 15 lines modified | ||
194 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> | 194 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> |
195 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div> | 195 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div> |
196 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> | 196 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> |
197 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_GL_LEGACY_GREGORY_PATCH_TABLE_H</span></div> | 197 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_GL_LEGACY_GREGORY_PATCH_TABLE_H</span></div> |
198 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> | 198 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> |
199 | <div·class="ttc"·id="aa00973_html_a1d1cfd8ffb84e947f82999c682b666a7"><div·class="ttname"><a·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor::Type</a></div><div·class="ttdeci">Type</div><div·class="ttdef"><b>Definition</b>·<a·href="a00740_source.html#l00048">patchDescriptor.h:48</a></div></div> | 199 | <div·class="ttc"·id="aa00973_html_a1d1cfd8ffb84e947f82999c682b666a7"><div·class="ttname"><a·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor::Type</a></div><div·class="ttdeci">Type</div><div·class="ttdef"><b>Definition</b>·<a·href="a00740_source.html#l00048">patchDescriptor.h:48</a></div></div> |
200 | <div·class="ttc"·id="aa00973_html_a1d1cfd8ffb84e947f82999c682b666a7ac4ae10df9c13e44880ca7be341e44f2a"><div·class="ttname"><a·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7ac4ae10df9c13e44880ca7be341e44f2a">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor::GREGORY_BOUNDARY</a></div><div·class="ttdeci">@·GREGORY_BOUNDARY</div><div·class="ttdef"><b>Definition</b>·<a·href="a00740_source.html#l00061">patchDescriptor.h:61</a></div></div> | 200 | <div·class="ttc"·id="aa00973_html_a1d1cfd8ffb84e947f82999c682b666a7ac4ae10df9c13e44880ca7be341e44f2a"><div·class="ttname"><a·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7ac4ae10df9c13e44880ca7be341e44f2a">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor::GREGORY_BOUNDARY</a></div><div·class="ttdeci">@·GREGORY_BOUNDARY</div><div·class="ttdef"><b>Definition</b>·<a·href="a00740_source.html#l00061">patchDescriptor.h:61</a></div></div> |
201 | <div·class="ttc"·id="aa00993_html"><div·class="ttname"><a·href="a00993.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable</a></div><div·class="ttdoc">Container·for·arrays·of·parametric·patches.</div><div·class="ttdef"><b>Definition</b>·<a·href="a0073 | 201 | <div·class="ttc"·id="aa00993_html"><div·class="ttname"><a·href="a00993.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable</a></div><div·class="ttdoc">Container·for·arrays·of·parametric·patches.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00731_source.html#l00055">patchTable.h:55</a></div></div> |
202 | <div·class="ttc"·id="aa01233_html"><div·class="ttname"><a·href="a01233.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLLegacyGregoryPatchTable</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00866_source.html#l00039">glLegacyGregoryPatchTable.h:40</a></div></div> | 202 | <div·class="ttc"·id="aa01233_html"><div·class="ttname"><a·href="a01233.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLLegacyGregoryPatchTable</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00866_source.html#l00039">glLegacyGregoryPatchTable.h:40</a></div></div> |
203 | <div·class="ttc"·id="aa01233_html_a36f9d327f21d3dee80bb225000403cce"><div·class="ttname"><a·href="a01233.html#a36f9d327f21d3dee80bb225000403cce">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLLegacyGregoryPatchTable::GetVertexValenceTextureBuffer</a></div><div·class="ttdeci">GLuint·GetVertexValenceTextureBuffer()·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00866_source.html#l00052">glLegacyGregoryPatchTable.h:52</a></div></div> | 203 | <div·class="ttc"·id="aa01233_html_a36f9d327f21d3dee80bb225000403cce"><div·class="ttname"><a·href="a01233.html#a36f9d327f21d3dee80bb225000403cce">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLLegacyGregoryPatchTable::GetVertexValenceTextureBuffer</a></div><div·class="ttdeci">GLuint·GetVertexValenceTextureBuffer()·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00866_source.html#l00052">glLegacyGregoryPatchTable.h:52</a></div></div> |
204 | <div·class="ttc"·id="aa01233_html_a4968ced94d61cc4d5e8f0e9883fd2116"><div·class="ttname"><a·href="a01233.html#a4968ced94d61cc4d5e8f0e9883fd2116">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLLegacyGregoryPatchTable::GetQuadOffsetsTextureBuffer</a></div><div·class="ttdeci">GLuint·GetQuadOffsetsTextureBuffer()·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00866_source.html#l00056">glLegacyGregoryPatchTable.h:56</a></div></div> | 204 | <div·class="ttc"·id="aa01233_html_a4968ced94d61cc4d5e8f0e9883fd2116"><div·class="ttname"><a·href="a01233.html#a4968ced94d61cc4d5e8f0e9883fd2116">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLLegacyGregoryPatchTable::GetQuadOffsetsTextureBuffer</a></div><div·class="ttdeci">GLuint·GetQuadOffsetsTextureBuffer()·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00866_source.html#l00056">glLegacyGregoryPatchTable.h:56</a></div></div> |
205 | <div·class="ttc"·id="aa01233_html_a51fd18f3671b7b6c473a039d75808067"><div·class="ttname"><a·href="a01233.html#a51fd18f3671b7b6c473a039d75808067">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLLegacyGregoryPatchTable::~GLLegacyGregoryPatchTable</a></div><div·class="ttdeci">~GLLegacyGregoryPatchTable()</div></div> | 205 | <div·class="ttc"·id="aa01233_html_a51fd18f3671b7b6c473a039d75808067"><div·class="ttname"><a·href="a01233.html#a51fd18f3671b7b6c473a039d75808067">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLLegacyGregoryPatchTable::~GLLegacyGregoryPatchTable</a></div><div·class="ttdeci">~GLLegacyGregoryPatchTable()</div></div> |
206 | <div·class="ttc"·id="aa01233_html_a5b78188b846b316c5c0cdb42f4ee9563"><div·class="ttname"><a·href="a01233.html#a5b78188b846b316c5c0cdb42f4ee9563">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLLegacyGregoryPatchTable::GLLegacyGregoryPatchTable</a></div><div·class="ttdeci">GLLegacyGregoryPatchTable()</div></div> | 206 | <div·class="ttc"·id="aa01233_html_a5b78188b846b316c5c0cdb42f4ee9563"><div·class="ttname"><a·href="a01233.html#a5b78188b846b316c5c0cdb42f4ee9563">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLLegacyGregoryPatchTable::GLLegacyGregoryPatchTable</a></div><div·class="ttdeci">GLLegacyGregoryPatchTable()</div></div> |
207 | <div·class="ttc"·id="aa01233_html_a733eda5d63a4d77324d7d50d704eaf3a"><div·class="ttname"><a·href="a01233.html#a733eda5d63a4d77324d7d50d704eaf3a">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLLegacyGregoryPatchTable::UpdateVertexBuffer</a></div><div·class="ttdeci">void·UpdateVertexBuffer(GLuint·vbo)</div></div> | 207 | <div·class="ttc"·id="aa01233_html_a733eda5d63a4d77324d7d50d704eaf3a"><div·class="ttname"><a·href="a01233.html#a733eda5d63a4d77324d7d50d704eaf3a">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLLegacyGregoryPatchTable::UpdateVertexBuffer</a></div><div·class="ttdeci">void·UpdateVertexBuffer(GLuint·vbo)</div></div> |
208 | <div·class="ttc"·id="aa01233_html_a7d706a485061caef58778fdc8a7348d1"><div·class="ttname"><a·href="a01233.html#a7d706a485061caef58778fdc8a7348d1">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLLegacyGregoryPatchTable::GetQuadOffsetsBase</a></div><div·class="ttdeci">GLuint·GetQuadOffsetsBase(Far::PatchDescriptor::Type·type)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00866_source.html#l00060">glLegacyGregoryPatchTable.h:60</a></div></div> | 208 | <div·class="ttc"·id="aa01233_html_a7d706a485061caef58778fdc8a7348d1"><div·class="ttname"><a·href="a01233.html#a7d706a485061caef58778fdc8a7348d1">OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLLegacyGregoryPatchTable::GetQuadOffsetsBase</a></div><div·class="ttdeci">GLuint·GetQuadOffsetsBase(Far::PatchDescriptor::Type·type)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00866_source.html#l00060">glLegacyGregoryPatchTable.h:60</a></div></div> |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/ | 8 | <title>OpenSubdiv:·opensubdiv/osd/tbbKernel.h·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 90, 43 lines modified | Offset 90, 49 lines modified | ||
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#namespaces">Namespaces</a>·| | 94 | <a·href="#namespaces">Namespaces</a>·| |
95 | <a·href="#func-members">Functions</a>··</div> | 95 | <a·href="#func-members">Functions</a>··</div> |
96 | ··<div·class="headertitle"><div·class="title"> | 96 | ··<div·class="headertitle"><div·class="title">tbbKernel.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·"<a·class="el"·href="a00740_source.html">../far/patchDescriptor.h</a>"</code><br·/> | ||
101 | <code>#include·"<a·class="el"·href="a00737_source.html">../far/patchParam.h</a>"</code><br·/> | ||
100 | </div> | 102 | </div> |
101 | <p><a·href="a00872_source.html">Go·to·the·source·code·of·this·file.</a></p> | 103 | <p><a·href="a00872_source.html">Go·to·the·source·code·of·this·file.</a></p> |
102 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
103 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
104 | Namespaces</h2></td></tr> | 106 | Namespaces</h2></td></tr> |
105 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 107 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
107 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 109 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
109 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> | 111 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> |
110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
111 | </table><table·class="memberdecls"> | 113 | </table><table·class="memberdecls"> |
112 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 114 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
113 | Functions</h2></td></tr> | 115 | Functions</h2></td></tr> |
114 | <tr·class="memitem:a | 116 | <tr·class="memitem:a4a6a0fcc01638f2a0316b32ad158b485"·id="r_a4a6a0fcc01638f2a0316b32ad158b485"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a4a6a0fcc01638f2a0316b32ad158b485">TbbEvalStencils</a>·(float·const·*src,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&srcDesc,·float·*dst,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·int·start,·int·end)</td></tr> |
115 | <tr·class="separator:a | 117 | <tr·class="separator:a4a6a0fcc01638f2a0316b32ad158b485"><td·class="memSeparator"·colspan="2"> </td></tr> |
116 | <tr·class="memitem:a | 118 | <tr·class="memitem:af23c35537952bfdd493441e5c42ff2ed"·id="r_af23c35537952bfdd493441e5c42ff2ed"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#af23c35537952bfdd493441e5c42ff2ed">TbbEvalStencils</a>·(float·const·*src,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&srcDesc,·float·*dst,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDesc,·float·*dstDu,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDuDesc,·float·*dstDv,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDvDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·float·const·*duWeights,·float·const·*dvWeights,·int·start,·int·end)</td></tr> |
117 | <tr·class="separator:a | 119 | <tr·class="separator:af23c35537952bfdd493441e5c42ff2ed"><td·class="memSeparator"·colspan="2"> </td></tr> |
118 | <tr·class="memitem:a | 120 | <tr·class="memitem:aa65ed860a2fa5935d99129a898a8f0b6"·id="r_aa65ed860a2fa5935d99129a898a8f0b6"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#aa65ed860a2fa5935d99129a898a8f0b6">TbbEvalStencils</a>·(float·const·*src,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&srcDesc,·float·*dst,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDesc,·float·*dstDu,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDuDesc,·float·*dstDv,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDvDesc,·float·*dstDuu,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDuuDesc,·float·*dstDuv,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDuvDesc,·float·*dstDvv,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDvvDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·float·const·*duWeights,·float·const·*dvWeights,·float·const·*duuWeights,·float·const·*duvWeights,·float·const·*dvvWeights,·int·start,·int·end)</td></tr> |
119 | <tr·class="separator:a | 121 | <tr·class="separator:aa65ed860a2fa5935d99129a898a8f0b6"><td·class="memSeparator"·colspan="2"> </td></tr> |
122 | <tr·class="memitem:a20e08be34d6183b6943ed7a1586eca4a"·id="r_a20e08be34d6183b6943ed7a1586eca4a"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a20e08be34d6183b6943ed7a1586eca4a">TbbEvalPatches</a>·(float·const·*src,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&srcDesc,·float·*dst,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDesc,·float·*dstDu,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDuDesc,·float·*dstDv,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDvDesc,·int·numPatchCoords,·const·<a·class="el"·href="a01321.html">PatchCoord</a>·*patchCoords,·const·<a·class="el"·href="a01325.html">PatchArray</a>·*patchArrayBuffer,·const·int·*patchIndexBuffer,·const·<a·class="el"·href="a01329.html">PatchParam</a>·*patchParamBuffer)</td></tr> | ||
123 | <tr·class="separator:a20e08be34d6183b6943ed7a1586eca4a"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
124 | <tr·class="memitem:aa0c3c264a43eeddc5cb3a58b006d3d32"·id="r_aa0c3c264a43eeddc5cb3a58b006d3d32"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#aa0c3c264a43eeddc5cb3a58b006d3d32">TbbEvalPatches</a>·(float·const·*src,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&srcDesc,·float·*dst,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDesc,·float·*dstDu,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDuDesc,·float·*dstDv,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDvDesc,·float·*dstDuu,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDuuDesc,·float·*dstDuv,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDuvDesc,·float·*dstDvv,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDvvDesc,·int·numPatchCoords,·const·<a·class="el"·href="a01321.html">PatchCoord</a>·*patchCoords,·const·<a·class="el"·href="a01325.html">PatchArray</a>·*patchArrayBuffer,·const·int·*patchIndexBuffer,·const·<a·class="el"·href="a01329.html">PatchParam</a>·*patchParamBuffer)</td></tr> | ||
125 | <tr·class="separator:aa0c3c264a43eeddc5cb3a58b006d3d32"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
120 | </table> | 126 | </table> |
121 | </div><!--·contents·--> | 127 | </div><!--·contents·--> |
122 | </div><!--·doc-content·--> | 128 | </div><!--·doc-content·--> |
123 | <!--·start·footer·part·--> | 129 | <!--·start·footer·part·--> |
124 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 130 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
125 | ··<ul> | 131 | ··<ul> |
126 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00872.html"> | 132 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00872.html">tbbKernel.h</a></li> |
127 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 133 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
128 | ··</ul> | 134 | ··</ul> |
129 | </div> | 135 | </div> |
130 | </body> | 136 | </body> |
131 | </html> | 137 | </html> |
Offset 1, 41 lines modified | Offset 1, 59 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8F_\x8u_\x8n_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s | 5 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8F_\x8u_\x8n_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s |
6 | 6 | tbbKernel.h·File·Reference | |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8p_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8._\x8h" | ||
9 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8p_\x8a_\x8t_\x8c_\x8h_\x8P_\x8a_\x8r_\x8a_\x8m_\x8._\x8h" | ||
8 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
9 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 11 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
10 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 12 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
11 | 13 | ||
12 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 14 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
13 | 15 | ||
14 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d | 16 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d |
15 | 17 | ||
16 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | 18 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s |
17 | void ·_\x8 | 19 | void ·_\x8T_.b_.b_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s·(float·const·*src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc,·float |
18 | ······*dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc,·int·const·*sizes,·int·const | 20 | ······*dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc,·int·const·*sizes,·int·const |
19 | ······*offsets,·int·const·*indices,·float·const·*weights,·int·start,·int·end) | 21 | ······*offsets,·int·const·*indices,·float·const·*weights,·int·start,·int·end) |
20 | 22 | ||
21 | void ·_\x8 | 23 | void ·_\x8T_.b_.b_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s·(float·const·*src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc,·float |
22 | ······*dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc,·float·*dstDu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r | 24 | ······*dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc,·float·*dstDu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r |
23 | ······const·&dstDuDesc,·float·*dstDv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvDesc,·int | 25 | ······const·&dstDuDesc,·float·*dstDv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvDesc,·int |
24 | ······const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const | 26 | ······const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const |
25 | ······*weights,·float·const·*duWeights,·float·const·*dvWeights,·int·start,·int | 27 | ······*weights,·float·const·*duWeights,·float·const·*dvWeights,·int·start,·int |
26 | ······end) | 28 | ······end) |
27 | 29 | ||
28 | void ·_\x8 | 30 | void ·_\x8T_.b_.b_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s·(float·const·*src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc,·float |
29 | ······*dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc,·float·*dstDu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r | 31 | ······*dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc,·float·*dstDu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r |
30 | ······const·&dstDuDesc,·float·*dstDv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvDesc,·float | 32 | ······const·&dstDuDesc,·float·*dstDv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvDesc,·float |
31 | ······*dstDuu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuuDesc,·float·*dstDuv, | 33 | ······*dstDuu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuuDesc,·float·*dstDuv, |
32 | ······_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuvDesc,·float·*dstDvv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const | 34 | ······_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuvDesc,·float·*dstDvv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const |
33 | ······&dstDvvDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices, | 35 | ······&dstDvvDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices, |
34 | ······float·const·*weights,·float·const·*duWeights,·float·const·*dvWeights, | 36 | ······float·const·*weights,·float·const·*duWeights,·float·const·*dvWeights, |
35 | ······float·const·*duuWeights,·float·const·*duvWeights,·float·const | 37 | ······float·const·*duuWeights,·float·const·*duvWeights,·float·const |
36 | ······*dvvWeights,·int·start,·int·end) | 38 | ······*dvvWeights,·int·start,·int·end) |
37 | 39 | ||
40 | void ·_\x8T_\x8b_\x8b_\x8E_\x8v_\x8a_\x8l_\x8P_\x8a_\x8t_\x8c_\x8h_\x8e_\x8s·(float·const·*src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc,·float | ||
41 | ······*dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc,·float·*dstDu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r | ||
42 | ······const·&dstDuDesc,·float·*dstDv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvDesc,·int | ||
43 | ······numPatchCoords,·const·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8C_\x8o_\x8o_\x8r_\x8d·*patchCoords,·const·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y | ||
44 | ······*patchArrayBuffer,·const·int·*patchIndexBuffer,·const·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8P_\x8a_\x8r_\x8a_\x8m | ||
45 | ······*patchParamBuffer) | ||
46 | |||
47 | void ·_\x8T_\x8b_\x8b_\x8E_\x8v_\x8a_\x8l_\x8P_\x8a_\x8t_\x8c_\x8h_\x8e_\x8s·(float·const·*src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc,·float | ||
48 | ······*dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc,·float·*dstDu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r | ||
49 | ······const·&dstDuDesc,·float·*dstDv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvDesc,·float | ||
50 | ······*dstDuu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuuDesc,·float·*dstDuv, | ||
51 | ······_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuvDesc,·float·*dstDvv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const | ||
52 | ······&dstDvvDesc,·int·numPatchCoords,·const·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8C_\x8o_\x8o_\x8r_\x8d·*patchCoords,·const | ||
53 | ······_\x8P_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y·*patchArrayBuffer,·const·int·*patchIndexBuffer,·const | ||
54 | ······_\x8P_\x8a_\x8t_\x8c_\x8h_\x8P_\x8a_\x8r_\x8a_\x8m·*patchParamBuffer) | ||
55 | |||
38 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 56 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
39 | ····*·_\x8o_\x8s_\x8d | 57 | ····*·_\x8o_\x8s_\x8d |
40 | ····*·_\x8 | 58 | ····*·_\x8t_.b_.b_\x8K_\x8e_\x8r_\x8n_\x8e_\x8l_\x8._\x8h |
41 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 59 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 5 lines modified | Offset 1, 7 lines modified | ||
1 | var·a00872·=·[ | 1 | var·a00872·=·[ |
2 | ····["OmpEvalStencils",·"a00872.html#a44a05502feb5015035bc81b93cffb99c",·null], | ||
3 | ····["OmpEvalStencils",·"a00872.html#a907dc53421460557871ddc35f77751f5",·null], | ||
4 | ····[" | 2 | ····["TbbEvalPatches",·"a00872.html#aa0c3c264a43eeddc5cb3a58b006d3d32",·null], |
3 | ····["TbbEvalPatches",·"a00872.html#a20e08be34d6183b6943ed7a1586eca4a",·null], | ||
4 | ····["TbbEvalStencils",·"a00872.html#aa65ed860a2fa5935d99129a898a8f0b6",·null], | ||
5 | ····["TbbEvalStencils",·"a00872.html#af23c35537952bfdd493441e5c42ff2ed",·null], | ||
6 | ····["TbbEvalStencils",·"a00872.html#a4a6a0fcc01638f2a0316b32ad158b485",·null] | ||
5 | ]; | 7 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/ | 8 | <title>OpenSubdiv:·opensubdiv/osd/tbbKernel.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 15 lines modified | Offset 92, 15 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title"> | 98 | ··<div·class="headertitle"><div·class="title">tbbKernel.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="a00872.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> | 101 | <a·href="a00872.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div> | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
Offset 119, 82 lines modified | Offset 119, 116 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_ | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_TBB_KERNEL_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_ | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_TBB_KERNEL_H</span></div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../far/patchDescriptor.h"</span></div> | ||
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../far/patchParam.h"</span></div> | ||
130 | <div·class="line"><a·id="l000 | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> |
131 | <div·class="line"><a·id="l0003 | 133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
132 | <div·class="line"><a·id="l0003 | 134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>Osd·{</div> | ||
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword"> | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">namespace·</span>Osd·{</div> |
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | 137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">struct·</span>PatchArray;</div> | ||
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">struct·</span>PatchCoord;</div> | ||
140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">struct·</span>PatchParam;</div> | ||
141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">struct·</span>BufferDescriptor;</div> | ||
142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | ||
138 | <div·class="line"><a·id="l000 | 143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keywordtype">void</span></div> |
139 | <div·class="line"><a·id="l000 | 144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a00912.html#a4a6a0fcc01638f2a0316b32ad158b485">···43</a></span><a·class="code·hl_function"·href="a00912.html#a4a6a0fcc01638f2a0316b32ad158b485">TbbEvalStencils</a>(<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·src,·<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&srcDesc,</div> |
140 | <div·class="line"><a·id="l000 | 145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>················<span·class="keywordtype">float</span>·*·dst,·······<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDesc,</div> |
141 | <div·class="line"><a·id="l0004 | 146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·sizes,</div> |
142 | <div·class="line"><a·id="l0004 | 147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·offsets,</div> |
143 | <div·class="line"><a·id="l0004 | 148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·indices,</div> |
144 | <div·class="line"><a·id="l0004 | 149 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·weights,</div> |
145 | <div·class="line"><a·id="l0004 | 150 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>················<span·class="keywordtype">int</span>·start,·<span·class="keywordtype">int</span>·end);</div> |
146 | <div·class="line"><a·id="l000 | 151 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
147 | <div·class="line"><a·id="l000 | 152 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keywordtype">void</span></div> |
148 | <div·class="line"><a·id="l000 | 153 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a00912.html#af23c35537952bfdd493441e5c42ff2ed">···52</a></span><a·class="code·hl_function"·href="a00912.html#a4a6a0fcc01638f2a0316b32ad158b485">TbbEvalStencils</a>(<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·src,·<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&srcDesc,</div> |
149 | <div·class="line"><a·id="l000 | 154 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>················<span·class="keywordtype">float</span>·*·dst,·······<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDesc,</div> |
150 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>················<span·class="keywordtype">float</span>·*·dstDu,·····<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDuDesc,</div> | ||
151 | <div·class="line"><a·id="l0005 | 155 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>················<span·class="keywordtype">float</span>·*·dstDu,·····<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDuDesc,</div> |
156 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>················<span·class="keywordtype">float</span>·*·dstDv,·····<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDvDesc,</div> | ||
152 | <div·class="line"><a·id="l0005 | 157 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·sizes,</div> |
153 | <div·class="line"><a·id="l0005 | 158 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·offsets,</div> |
154 | <div·class="line"><a·id="l0005 | 159 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·indices,</div> |
155 | <div·class="line"><a·id="l0005 | 160 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·weights,</div> |
156 | <div·class="line"><a·id="l000 | 161 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·duWeights,</div> |
157 | <div·class="line"><a·id="l000 | 162 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·dvWeights,</div> |
158 | <div·class="line"><a·id="l000 | 163 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>················<span·class="keywordtype">int</span>·start,·<span·class="keywordtype">int</span>·end);</div> |
159 | <div·class="line"><a·id="l000 | 164 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> |
160 | <div·class="line"><a·id="l000 | 165 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="keywordtype">void</span></div> |
161 | <div·class="line"><a·id="l0006 | 166 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a00912.html#aa65ed860a2fa5935d99129a898a8f0b6">···65</a></span><a·class="code·hl_function"·href="a00912.html#a4a6a0fcc01638f2a0316b32ad158b485">TbbEvalStencils</a>(<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·src,·<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&srcDesc,</div> |
162 | <div·class="line"><a·id="l0006 | 167 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>················<span·class="keywordtype">float</span>·*·dst,·······<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDesc,</div> |
163 | <div·class="line"><a·id="l0006 | 168 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>················<span·class="keywordtype">float</span>·*·dstDu,·····<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDuDesc,</div> |
164 | <div·class="line"><a·id="l0006 | 169 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>················<span·class="keywordtype">float</span>·*·dstDv,·····<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDvDesc,</div> |
165 | <div·class="line"><a·id="l0006 | 170 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>················<span·class="keywordtype">float</span>·*·dstDuu,····<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDuuDesc,</div> |
166 | <div·class="line"><a·id="l000 | 171 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>················<span·class="keywordtype">float</span>·*·dstDuv,····<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDuvDesc,</div> |
167 | <div·class="line"><a·id="l000 | 172 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>················<span·class="keywordtype">float</span>·*·dstDvv,····<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDvvDesc,</div> |
168 | <div·class="line"><a·id="l000 | 173 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·sizes,</div> |
169 | <div·class="line"><a·id="l000 | 174 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·offsets,</div> |
170 | <div·class="line"><a·id="l000 | 175 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·indices,</div> |
171 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·weights,</div> | ||
172 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·duWeights,</div> | ||
173 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·dvWeights,</div> | ||
174 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·duuWeights,</div> | ||
175 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·duvWeights,</div> | ||
176 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*· | 176 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·weights,</div> |
177 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·duWeights,</div> | ||
178 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·dvWeights,</div> | ||
179 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·duuWeights,</div> | ||
180 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·duvWeights,</div> | ||
181 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·dvvWeights,</div> | ||
177 | <div·class="line"><a·id="l000 | 182 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>················<span·class="keywordtype">int</span>·start,·<span·class="keywordtype">int</span>·end);</div> |
178 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | ||
179 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>}·<span·class="comment">//·end·namespace·Osd</span></div> | ||
180 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> | ||
181 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> | ||
182 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> | ||
183 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | 183 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> |
184 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="keywordtype">void</span></div> | ||
185 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a00912.html#a20e08be34d6183b6943ed7a1586eca4a">···84</a></span><a·class="code·hl_function"·href="a00912.html#a20e08be34d6183b6943ed7a1586eca4a">TbbEvalPatches</a>(<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*src,·<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&srcDesc,</div> | ||
186 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>···············<span·class="keywordtype">float</span>·*dst,·······<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDesc,</div> | ||
187 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>···············<span·class="keywordtype">float</span>·*dstDu,·····<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDuDesc,</div> | ||
188 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>···············<span·class="keywordtype">float</span>·*dstDv,·····<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDvDesc,</div> | ||
189 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>···············<span·class="keywordtype">int</span>·numPatchCoords,</div> | ||
190 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>···············<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a01321.html">PatchCoord</a>·*patchCoords,</div> | ||
191 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>···············<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a01325.html">PatchArray</a>·*patchArrayBuffer,</div> | ||
192 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>···············<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·*patchIndexBuffer,</div> | ||
193 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>···············<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a01329.html">PatchParam</a>·*patchParamBuffer);</div> | ||
194 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> | ||
195 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="keywordtype">void</span></div> | ||
196 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a00912.html#aa0c3c264a43eeddc5cb3a58b006d3d32">···95</a></span><a·class="code·hl_function"·href="a00912.html#a20e08be34d6183b6943ed7a1586eca4a">TbbEvalPatches</a>(<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*src,·<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&srcDesc,</div> | ||
197 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>···············<span·class="keywordtype">float</span>·*dst,·······<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDesc,</div> | ||
198 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>···············<span·class="keywordtype">float</span>·*dstDu,·····<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDuDesc,</div> | ||
199 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>···············<span·class="keywordtype">float</span>·*dstDv,·····<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDvDesc,</div> | ||
200 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>···············<span·class="keywordtype">float</span>·*dstDuu,····<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDuuDesc,</div> | ||
Max diff block lines reached; 3682/36758 bytes (10.02%) of diff not shown. |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | 5 | tbbKernel.h | |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·2013·Pixar | 8 | 2//·Copyright·2013·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
Offset 24, 82 lines modified | Offset 24, 126 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_OSD_ | 31 | 25#ifndef·OPENSUBDIV3_OSD_TBB_KERNEL_H |
32 | 26#define·OPENSUBDIV3_OSD_ | 32 | 26#define·OPENSUBDIV3_OSD_TBB_KERNEL_H |
33 | 27 | 33 | 27 |
34 | 28#include·"../version.h" | 34 | 28#include·"../version.h" |
35 | 29 | 35 | 29#include·"../far/patchDescriptor.h" |
36 | 30#include·"../far/patchParam.h" | ||
37 | 31 | ||
36 | 3 | 38 | 32namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ |
37 | 3 | 39 | 33namespace·OPENSUBDIV_VERSION·{ |
38 | 32 | ||
39 | 33namespace·Osd·{ | ||
40 | 34 | 40 | 34 |
41 | 35 | 41 | 35namespace·Osd·{ |
42 | 36 | 42 | 36 |
43 | 37struct·PatchArray; | ||
44 | 38struct·PatchCoord; | ||
45 | 39struct·PatchParam; | ||
46 | 40struct·BufferDescriptor; | ||
47 | 41 | ||
43 | 37void | ||
44 | _\x83_\x88_\x8O_\x8m_\x8p_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s(float·const·*·src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
45 | 39·float·*·dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
46 | 40·int·const·*·sizes, | ||
47 | 41·int·const·*·offsets, | ||
48 | 42·int·const·*·indices, | ||
49 | 43·float·const·*·weights, | ||
50 | 44·int·start,·int·end); | ||
51 | 45 | ||
52 | 4 | 48 | 42void |
53 | _\x84_\x8 | 49 | _\x84_\x83_.T_.b_.b_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s(float·const·*·src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, |
54 | 4 | 50 | 44·float·*·dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, |
51 | 45·int·const·*·sizes, | ||
52 | 46·int·const·*·offsets, | ||
53 | 47·int·const·*·indices, | ||
54 | 48·float·const·*·weights, | ||
55 | 49·int·start,·int·end); | ||
56 | 50 | ||
57 | 51void | ||
58 | _\x85_\x82_\x8T_\x8b_\x8b_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s(float·const·*·src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
59 | 53·float·*·dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
55 | 60 | 54·float·*·dstDu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuDesc, | |
56 | 5 | 61 | 55·float·*·dstDv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvDesc, |
57 | 5 | 62 | 56·int·const·*·sizes, |
58 | 5 | 63 | 57·int·const·*·offsets, |
59 | 5 | 64 | 58·int·const·*·indices, |
60 | 5 | 65 | 59·float·const·*·weights, |
61 | 66 | 60·float·const·*·duWeights, | |
62 | 67 | 61·float·const·*·dvWeights, | |
63 | 68 | 62·int·start,·int·end); | |
64 | 58 | ||
65 | 69 | 63 | |
70 | 64void | ||
66 | _\x86_\x8 | 71 | _\x86_\x85_.T_.b_.b_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s(float·const·*·src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, |
67 | 6 | 72 | 66·float·*·dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, |
68 | 6 | 73 | 67·float·*·dstDu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuDesc, |
69 | 6 | 74 | 68·float·*·dstDv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvDesc, |
70 | 6 | 75 | 69·float·*·dstDuu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuuDesc, |
71 | 76 | 70·float·*·dstDuv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuvDesc, | |
72 | 77 | 71·float·*·dstDvv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvvDesc, | |
73 | 78 | 72·int·const·*·sizes, | |
74 | 79 | 73·int·const·*·offsets, | |
75 | 80 | 74·int·const·*·indices, | |
76 | 7 | 81 | 75·float·const·*·weights, |
77 | 7 | 82 | 76·float·const·*·duWeights, |
78 | 7 | 83 | 77·float·const·*·dvWeights, |
79 | 7 | 84 | 78·float·const·*·duuWeights, |
80 | 7 | 85 | 79·float·const·*·duvWeights, |
81 | 86 | 80·float·const·*·dvvWeights, | |
82 | 87 | 81·int·start,·int·end); | |
83 | 77 | ||
84 | 78}·//·end·namespace·Osd | ||
85 | 79 | ||
86 | 80}·//·end·namespace·OPENSUBDIV_VERSION | ||
87 | 81using·namespace·OPENSUBDIV_VERSION; | ||
88 | 82 | 88 | 82 |
89 | 83void | ||
90 | _\x88_\x84_\x8T_\x8b_\x8b_\x8E_\x8v_\x8a_\x8l_\x8P_\x8a_\x8t_\x8c_\x8h_\x8e_\x8s(float·const·*src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
91 | 85·float·*dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
92 | 86·float·*dstDu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuDesc, | ||
93 | 87·float·*dstDv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvDesc, | ||
94 | 88·int·numPatchCoords, | ||
95 | 89·const·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8C_\x8o_\x8o_\x8r_\x8d·*patchCoords, | ||
96 | 90·const·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y·*patchArrayBuffer, | ||
97 | 91·const·int·*patchIndexBuffer, | ||
98 | 92·const·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8P_\x8a_\x8r_\x8a_\x8m·*patchParamBuffer); | ||
99 | 93 | ||
100 | 94void | ||
101 | _\x89_\x85_\x8T_\x8b_\x8b_\x8E_\x8v_\x8a_\x8l_\x8P_\x8a_\x8t_\x8c_\x8h_\x8e_\x8s(float·const·*src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
102 | 96·float·*dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
103 | 97·float·*dstDu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuDesc, | ||
104 | 98·float·*dstDv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvDesc, | ||
105 | 99·float·*dstDuu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuuDesc, | ||
106 | 100·float·*dstDuv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuvDesc, | ||
107 | 101·float·*dstDvv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvvDesc, | ||
108 | 102·int·numPatchCoords, | ||
109 | 103·const·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8C_\x8o_\x8o_\x8r_\x8d·*patchCoords, | ||
110 | 104·const·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y·*patchArrayBuffer, | ||
111 | 105·const·int·*patchIndexBuffer, | ||
112 | 106·const·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8P_\x8a_\x8r_\x8a_\x8m·*patchParamBuffer); | ||
113 | 107 | ||
114 | 108}·//·end·namespace·Osd | ||
115 | 109 | ||
116 | 110}·//·end·namespace·OPENSUBDIV_VERSION | ||
117 | 111using·namespace·OPENSUBDIV_VERSION; | ||
118 | 112 | ||
89 | 119 | 113}·//·end·namespace·OpenSubdiv | |
90 | 120 | 114 | |
Max diff block lines reached; 2448/9662 bytes (25.34%) of diff not shown. |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/ | 8 | <title>OpenSubdiv:·opensubdiv/osd/ompKernel.h·File·Reference</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 90, 49 lines modified | Offset 90, 43 lines modified | ||
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | <div·class="header"> | 92 | <div·class="header"> |
93 | ··<div·class="summary"> | 93 | ··<div·class="summary"> |
94 | <a·href="#namespaces">Namespaces</a>·| | 94 | <a·href="#namespaces">Namespaces</a>·| |
95 | <a·href="#func-members">Functions</a>··</div> | 95 | <a·href="#func-members">Functions</a>··</div> |
96 | ··<div·class="headertitle"><div·class="title"> | 96 | ··<div·class="headertitle"><div·class="title">ompKernel.h·File·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 99 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
100 | <code>#include·"<a·class="el"·href="a00740_source.html">../far/patchDescriptor.h</a>"</code><br·/> | ||
101 | <code>#include·"<a·class="el"·href="a00737_source.html">../far/patchParam.h</a>"</code><br·/> | ||
102 | </div> | 100 | </div> |
103 | <p><a·href="a00878_source.html">Go·to·the·source·code·of·this·file.</a></p> | 101 | <p><a·href="a00878_source.html">Go·to·the·source·code·of·this·file.</a></p> |
104 | <table·class="memberdecls"> | 102 | <table·class="memberdecls"> |
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> | 103 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> |
106 | Namespaces</h2></td></tr> | 104 | Namespaces</h2></td></tr> |
107 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> | 105 | <tr·class="memitem:a00905"·id="r_a00905"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00905.html">OpenSubdiv</a></td></tr> |
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
109 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> | 107 | <tr·class="memitem:a00906"·id="r_a00906"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00906.html">OpenSubdiv::OPENSUBDIV_VERSION</a></td></tr> |
110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
111 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> | 109 | <tr·class="memitem:a00912"·id="r_a00912"><td·class="memItemLeft"·align="right"·valign="top">namespace· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd</a></td></tr> |
112 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
113 | </table><table·class="memberdecls"> | 111 | </table><table·class="memberdecls"> |
114 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> | 112 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> |
115 | Functions</h2></td></tr> | 113 | Functions</h2></td></tr> |
116 | <tr·class="memitem:a | 114 | <tr·class="memitem:a870745ff3e883b32547d4db42b3be2bd"·id="r_a870745ff3e883b32547d4db42b3be2bd"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a870745ff3e883b32547d4db42b3be2bd">OmpEvalStencils</a>·(float·const·*src,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&srcDesc,·float·*dst,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·int·start,·int·end)</td></tr> |
117 | <tr·class="separator:a | 115 | <tr·class="separator:a870745ff3e883b32547d4db42b3be2bd"><td·class="memSeparator"·colspan="2"> </td></tr> |
118 | <tr·class="memitem:a | 116 | <tr·class="memitem:a907dc53421460557871ddc35f77751f5"·id="r_a907dc53421460557871ddc35f77751f5"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a907dc53421460557871ddc35f77751f5">OmpEvalStencils</a>·(float·const·*src,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&srcDesc,·float·*dst,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDesc,·float·*dstDu,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDuDesc,·float·*dstDv,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDvDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·float·const·*duWeights,·float·const·*dvWeights,·int·start,·int·end)</td></tr> |
119 | <tr·class="separator:a | 117 | <tr·class="separator:a907dc53421460557871ddc35f77751f5"><td·class="memSeparator"·colspan="2"> </td></tr> |
120 | <tr·class="memitem:aa | 118 | <tr·class="memitem:a44a05502feb5015035bc81b93cffb99c"·id="r_a44a05502feb5015035bc81b93cffb99c"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a44a05502feb5015035bc81b93cffb99c">OmpEvalStencils</a>·(float·const·*src,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&srcDesc,·float·*dst,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDesc,·float·*dstDu,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDuDesc,·float·*dstDv,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDvDesc,·float·*dstDuu,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDuuDesc,·float·*dstDuv,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDuvDesc,·float·*dstDvv,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDvvDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·float·const·*duWeights,·float·const·*dvWeights,·float·const·*duuWeights,·float·const·*duvWeights,·float·const·*dvvWeights,·int·start,·int·end)</td></tr> |
121 | <tr·class="separator:aa | 119 | <tr·class="separator:a44a05502feb5015035bc81b93cffb99c"><td·class="memSeparator"·colspan="2"> </td></tr> |
122 | <tr·class="memitem:a20e08be34d6183b6943ed7a1586eca4a"·id="r_a20e08be34d6183b6943ed7a1586eca4a"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#a20e08be34d6183b6943ed7a1586eca4a">TbbEvalPatches</a>·(float·const·*src,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&srcDesc,·float·*dst,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDesc,·float·*dstDu,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDuDesc,·float·*dstDv,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDvDesc,·int·numPatchCoords,·const·<a·class="el"·href="a01321.html">PatchCoord</a>·*patchCoords,·const·<a·class="el"·href="a01325.html">PatchArray</a>·*patchArrayBuffer,·const·int·*patchIndexBuffer,·const·<a·class="el"·href="a01329.html">PatchParam</a>·*patchParamBuffer)</td></tr> | ||
123 | <tr·class="separator:a20e08be34d6183b6943ed7a1586eca4a"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
124 | <tr·class="memitem:aa0c3c264a43eeddc5cb3a58b006d3d32"·id="r_aa0c3c264a43eeddc5cb3a58b006d3d32"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00912.html#aa0c3c264a43eeddc5cb3a58b006d3d32">TbbEvalPatches</a>·(float·const·*src,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&srcDesc,·float·*dst,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDesc,·float·*dstDu,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDuDesc,·float·*dstDv,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDvDesc,·float·*dstDuu,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDuuDesc,·float·*dstDuv,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDuvDesc,·float·*dstDvv,·<a·class="el"·href="a01141.html">BufferDescriptor</a>·const·&dstDvvDesc,·int·numPatchCoords,·const·<a·class="el"·href="a01321.html">PatchCoord</a>·*patchCoords,·const·<a·class="el"·href="a01325.html">PatchArray</a>·*patchArrayBuffer,·const·int·*patchIndexBuffer,·const·<a·class="el"·href="a01329.html">PatchParam</a>·*patchParamBuffer)</td></tr> | ||
125 | <tr·class="separator:aa0c3c264a43eeddc5cb3a58b006d3d32"><td·class="memSeparator"·colspan="2"> </td></tr> | ||
126 | </table> | 120 | </table> |
127 | </div><!--·contents·--> | 121 | </div><!--·contents·--> |
128 | </div><!--·doc-content·--> | 122 | </div><!--·doc-content·--> |
129 | <!--·start·footer·part·--> | 123 | <!--·start·footer·part·--> |
130 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 124 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
131 | ··<ul> | 125 | ··<ul> |
132 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00878.html"> | 126 | ····<li·class="navelem"><a·class="el"·href="dir_92d32ed2ee5a5189c247727c83e4b0fa.html">opensubdiv</a></li><li·class="navelem"><a·class="el"·href="dir_2483050b711c1829a6434006d0beb10c.html">osd</a></li><li·class="navelem"><a·class="el"·href="a00878.html">ompKernel.h</a></li> |
133 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> | 127 | ····<li·class="footer">Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8·</li> |
134 | ··</ul> | 128 | ··</ul> |
135 | </div> | 129 | </div> |
136 | </body> | 130 | </body> |
137 | </html> | 131 | </html> |
Offset 1, 59 lines modified | Offset 1, 41 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8F_\x8u_\x8n_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s | 5 | _\x8N_\x8a_\x8m_\x8e_\x8s_\x8p_\x8a_\x8c_\x8e_\x8s·|·_\x8F_\x8u_\x8n_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s |
6 | 6 | ompKernel.h·File·Reference | |
7 | #include·"../version.h" | 7 | #include·"../version.h" |
8 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8p_\x8a_\x8t_\x8c_\x8h_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r_\x8._\x8h" | ||
9 | #include·"_\x8._\x8._\x8/_\x8f_\x8a_\x8r_\x8/_\x8p_\x8a_\x8t_\x8c_\x8h_\x8P_\x8a_\x8r_\x8a_\x8m_\x8._\x8h" | ||
10 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 8 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
11 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s | 9 | N\x8Na\x8am\x8me\x8es\x8sp\x8pa\x8ac\x8ce\x8es\x8s |
12 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v | 10 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v |
13 | 11 | ||
14 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N | 12 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N |
15 | 13 | ||
16 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d | 14 | namespace· ·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v_\x8:_\x8:_\x8O_\x8P_\x8E_\x8N_\x8S_\x8U_\x8B_\x8D_\x8I_\x8V_\x8__\x8V_\x8E_\x8R_\x8S_\x8I_\x8O_\x8N_\x8:_\x8:_\x8O_\x8s_\x8d |
17 | 15 | ||
18 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s | 16 | F\x8Fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8ns\x8s |
19 | void ·_\x8 | 17 | void ·_\x8O_.m_.p_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s·(float·const·*src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc,·float |
20 | ······*dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc,·int·const·*sizes,·int·const | 18 | ······*dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc,·int·const·*sizes,·int·const |
21 | ······*offsets,·int·const·*indices,·float·const·*weights,·int·start,·int·end) | 19 | ······*offsets,·int·const·*indices,·float·const·*weights,·int·start,·int·end) |
22 | 20 | ||
23 | void ·_\x8 | 21 | void ·_\x8O_.m_.p_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s·(float·const·*src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc,·float |
24 | ······*dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc,·float·*dstDu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r | 22 | ······*dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc,·float·*dstDu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r |
25 | ······const·&dstDuDesc,·float·*dstDv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvDesc,·int | 23 | ······const·&dstDuDesc,·float·*dstDv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvDesc,·int |
26 | ······const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const | 24 | ······const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const |
27 | ······*weights,·float·const·*duWeights,·float·const·*dvWeights,·int·start,·int | 25 | ······*weights,·float·const·*duWeights,·float·const·*dvWeights,·int·start,·int |
28 | ······end) | 26 | ······end) |
29 | 27 | ||
30 | void ·_\x8 | 28 | void ·_\x8O_.m_.p_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s·(float·const·*src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc,·float |
31 | ······*dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc,·float·*dstDu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r | 29 | ······*dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc,·float·*dstDu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r |
32 | ······const·&dstDuDesc,·float·*dstDv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvDesc,·float | 30 | ······const·&dstDuDesc,·float·*dstDv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvDesc,·float |
33 | ······*dstDuu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuuDesc,·float·*dstDuv, | 31 | ······*dstDuu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuuDesc,·float·*dstDuv, |
34 | ······_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuvDesc,·float·*dstDvv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const | 32 | ······_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuvDesc,·float·*dstDvv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const |
35 | ······&dstDvvDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices, | 33 | ······&dstDvvDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices, |
36 | ······float·const·*weights,·float·const·*duWeights,·float·const·*dvWeights, | 34 | ······float·const·*weights,·float·const·*duWeights,·float·const·*dvWeights, |
37 | ······float·const·*duuWeights,·float·const·*duvWeights,·float·const | 35 | ······float·const·*duuWeights,·float·const·*duvWeights,·float·const |
38 | ······*dvvWeights,·int·start,·int·end) | 36 | ······*dvvWeights,·int·start,·int·end) |
39 | 37 | ||
40 | void ·_\x8T_\x8b_\x8b_\x8E_\x8v_\x8a_\x8l_\x8P_\x8a_\x8t_\x8c_\x8h_\x8e_\x8s·(float·const·*src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc,·float | ||
41 | ······*dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc,·float·*dstDu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r | ||
42 | ······const·&dstDuDesc,·float·*dstDv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvDesc,·int | ||
43 | ······numPatchCoords,·const·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8C_\x8o_\x8o_\x8r_\x8d·*patchCoords,·const·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y | ||
44 | ······*patchArrayBuffer,·const·int·*patchIndexBuffer,·const·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8P_\x8a_\x8r_\x8a_\x8m | ||
45 | ······*patchParamBuffer) | ||
46 | |||
47 | void ·_\x8T_\x8b_\x8b_\x8E_\x8v_\x8a_\x8l_\x8P_\x8a_\x8t_\x8c_\x8h_\x8e_\x8s·(float·const·*src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc,·float | ||
48 | ······*dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc,·float·*dstDu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r | ||
49 | ······const·&dstDuDesc,·float·*dstDv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvDesc,·float | ||
50 | ······*dstDuu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuuDesc,·float·*dstDuv, | ||
51 | ······_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuvDesc,·float·*dstDvv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const | ||
52 | ······&dstDvvDesc,·int·numPatchCoords,·const·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8C_\x8o_\x8o_\x8r_\x8d·*patchCoords,·const | ||
53 | ······_\x8P_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y·*patchArrayBuffer,·const·int·*patchIndexBuffer,·const | ||
54 | ······_\x8P_\x8a_\x8t_\x8c_\x8h_\x8P_\x8a_\x8r_\x8a_\x8m·*patchParamBuffer) | ||
55 | |||
56 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v | 38 | ····*·_\x8o_\x8p_\x8e_\x8n_\x8s_\x8u_\x8b_\x8d_\x8i_\x8v |
57 | ····*·_\x8o_\x8s_\x8d | 39 | ····*·_\x8o_\x8s_\x8d |
58 | ····*·_\x8 | 40 | ····*·_\x8o_.m_.p_\x8K_\x8e_\x8r_\x8n_\x8e_\x8l_\x8._\x8h |
59 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 | 41 | ····*·Generated·on·Thu·Jan·2·2025·08:47:46·for·OpenSubdiv·by·_\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]1.9.8 |
Offset 1, 7 lines modified | Offset 1, 5 lines modified | ||
1 | var·a00878·=·[ | 1 | var·a00878·=·[ |
2 | ····["OmpEvalStencils",·"a00878.html#a44a05502feb5015035bc81b93cffb99c",·null], | ||
3 | ····["OmpEvalStencils",·"a00878.html#a907dc53421460557871ddc35f77751f5",·null], | ||
4 | ····["OmpEvalStencils",·"a00878.html#a870745ff3e883b32547d4db42b3be2bd",·null] | ||
2 | ····["TbbEvalPatches",·"a00878.html#aa0c3c264a43eeddc5cb3a58b006d3d32",·null], | ||
3 | ····["TbbEvalPatches",·"a00878.html#a20e08be34d6183b6943ed7a1586eca4a",·null], | ||
4 | ····["TbbEvalStencils",·"a00878.html#aa65ed860a2fa5935d99129a898a8f0b6",·null], | ||
5 | ····["TbbEvalStencils",·"a00878.html#af23c35537952bfdd493441e5c42ff2ed",·null], | ||
6 | ····["TbbEvalStencils",·"a00878.html#a4a6a0fcc01638f2a0316b32ad158b485",·null] | ||
7 | ]; | 5 | ]; |
Offset 1, 15 lines modified | Offset 1, 15 lines modified | ||
1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 1 | <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> | 2 | <html·xmlns="http://www.w3.org/1999/xhtml"·lang="en-US"> |
3 | <head> | 3 | <head> |
4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> | 4 | <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/> |
5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> | 5 | <meta·http-equiv="X-UA-Compatible"·content="IE=11"/> |
6 | <meta·name="generator"·content="Doxygen·1.9.8"/> | 6 | <meta·name="generator"·content="Doxygen·1.9.8"/> |
7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> | 7 | <meta·name="viewport"·content="width=device-width,·initial-scale=1"/> |
8 | <title>OpenSubdiv:·opensubdiv/osd/ | 8 | <title>OpenSubdiv:·opensubdiv/osd/ompKernel.h·Source·File</title> |
9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> | 9 | <link·href="tabs.css"·rel="stylesheet"·type="text/css"/> |
10 | <script·type="text/javascript"·src="jquery.js"></script> | 10 | <script·type="text/javascript"·src="jquery.js"></script> |
11 | <script·type="text/javascript"·src="dynsections.js"></script> | 11 | <script·type="text/javascript"·src="dynsections.js"></script> |
12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> | 12 | <link·href="navtree.css"·rel="stylesheet"·type="text/css"/> |
13 | <script·type="text/javascript"·src="resize.js"></script> | 13 | <script·type="text/javascript"·src="resize.js"></script> |
14 | <script·type="text/javascript"·src="navtreedata.js"></script> | 14 | <script·type="text/javascript"·src="navtreedata.js"></script> |
15 | <script·type="text/javascript"·src="navtree.js"></script> | 15 | <script·type="text/javascript"·src="navtree.js"></script> |
Offset 92, 15 lines modified | Offset 92, 15 lines modified | ||
92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> | 92 | <div·class="SRStatus"·id="NoMatches">No·Matches</div> |
93 | </div> | 93 | </div> |
94 | </div> | 94 | </div> |
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | <div·class="header"> | 97 | <div·class="header"> |
98 | ··<div·class="headertitle"><div·class="title"> | 98 | ··<div·class="headertitle"><div·class="title">ompKernel.h</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <a·href="a00878.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> | 101 | <a·href="a00878.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//</span></div> |
102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div> | 102 | <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//···Copyright·2013·Pixar</span></div> |
103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> | 103 | <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//</span></div> |
104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> | 104 | <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//···Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License")</span></div> |
105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> | 105 | <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="comment">//···with·the·following·modification;·you·may·not·use·this·file·except·in</span></div> |
Offset 119, 116 lines modified | Offset 119, 82 lines modified | ||
119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> | 119 | <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="comment">//···Unless·required·by·applicable·law·or·agreed·to·in·writing,·software</span></div> |
120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> | 120 | <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//···distributed·under·the·Apache·License·with·the·above·modification·is</span></div> |
121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> | 121 | <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//···distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY</span></div> |
122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> | 122 | <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">//···KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific</span></div> |
123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> | 123 | <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">//···language·governing·permissions·and·limitations·under·the·Apache·License.</span></div> |
124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> | 124 | <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="comment">//</span></div> |
125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> | 125 | <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> |
126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_ | 126 | <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#ifndef·OPENSUBDIV3_OSD_OMP_KERNEL_H</span></div> |
127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_ | 127 | <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#define·OPENSUBDIV3_OSD_OMP_KERNEL_H</span></div> |
128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> | 128 | <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> |
129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> | 129 | <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·"../version.h"</span></div> |
130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·"../far/patchDescriptor.h"</span></div> | ||
131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·"../far/patchParam.h"</span></div> | ||
132 | <div·class="line"><a·id="l000 | 130 | <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> |
133 | <div·class="line"><a·id="l0003 | 131 | <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00905.html">OpenSubdiv</a>·{</div> |
134 | <div·class="line"><a·id="l0003 | 132 | <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">namespace·</span>OPENSUBDIV_VERSION·{</div> |
133 | <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> | ||
134 | <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span>Osd·{</div> | ||
135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> | 135 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> |
136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword"> | 136 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">struct·</span>BufferDescriptor;</div> |
137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> | 137 | <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> |
138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">struct·</span>PatchArray;</div> | ||
139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">struct·</span>PatchCoord;</div> | ||
140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">struct·</span>PatchParam;</div> | ||
141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="keyword">struct·</span>BufferDescriptor;</div> | ||
142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> | ||
143 | <div·class="line"><a·id="l000 | 138 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keywordtype">void</span></div> |
144 | <div·class="line"><a·id="l000 | 139 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a00912.html#a870745ff3e883b32547d4db42b3be2bd">···38</a></span><a·class="code·hl_function"·href="a00912.html#a870745ff3e883b32547d4db42b3be2bd">OmpEvalStencils</a>(<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·src,·<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&srcDesc,</div> |
145 | <div·class="line"><a·id="l000 | 140 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>················<span·class="keywordtype">float</span>·*·dst,·······<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDesc,</div> |
146 | <div·class="line"><a·id="l0004 | 141 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·sizes,</div> |
147 | <div·class="line"><a·id="l0004 | 142 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·offsets,</div> |
148 | <div·class="line"><a·id="l0004 | 143 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·indices,</div> |
149 | <div·class="line"><a·id="l0004 | 144 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·weights,</div> |
150 | <div·class="line"><a·id="l0004 | 145 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>················<span·class="keywordtype">int</span>·start,·<span·class="keywordtype">int</span>·end);</div> |
151 | <div·class="line"><a·id="l000 | 146 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> |
152 | <div·class="line"><a·id="l000 | 147 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keywordtype">void</span></div> |
153 | <div·class="line"><a·id="l000 | 148 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a00912.html#a907dc53421460557871ddc35f77751f5">···47</a></span><a·class="code·hl_function"·href="a00912.html#a870745ff3e883b32547d4db42b3be2bd">OmpEvalStencils</a>(<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·src,·<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&srcDesc,</div> |
154 | <div·class="line"><a·id="l000 | 149 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>················<span·class="keywordtype">float</span>·*·dst,·······<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDesc,</div> |
150 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>················<span·class="keywordtype">float</span>·*·dstDu,·····<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDuDesc,</div> | ||
155 | <div·class="line"><a·id="l0005 | 151 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>················<span·class="keywordtype">float</span>·*·dstDv,·····<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDvDesc,</div> |
156 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>················<span·class="keywordtype">float</span>·*·dstDv,·····<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDvDesc,</div> | ||
157 | <div·class="line"><a·id="l0005 | 152 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·sizes,</div> |
158 | <div·class="line"><a·id="l0005 | 153 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·offsets,</div> |
159 | <div·class="line"><a·id="l0005 | 154 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·indices,</div> |
160 | <div·class="line"><a·id="l0005 | 155 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·weights,</div> |
161 | <div·class="line"><a·id="l000 | 156 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·duWeights,</div> |
162 | <div·class="line"><a·id="l000 | 157 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·dvWeights,</div> |
163 | <div·class="line"><a·id="l000 | 158 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>················<span·class="keywordtype">int</span>·start,·<span·class="keywordtype">int</span>·end);</div> |
164 | <div·class="line"><a·id="l000 | 159 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> |
165 | <div·class="line"><a·id="l000 | 160 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keywordtype">void</span></div> |
166 | <div·class="line"><a·id="l0006 | 161 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a00912.html#a44a05502feb5015035bc81b93cffb99c">···60</a></span><a·class="code·hl_function"·href="a00912.html#a870745ff3e883b32547d4db42b3be2bd">OmpEvalStencils</a>(<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·src,·<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&srcDesc,</div> |
167 | <div·class="line"><a·id="l0006 | 162 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>················<span·class="keywordtype">float</span>·*·dst,·······<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDesc,</div> |
168 | <div·class="line"><a·id="l0006 | 163 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>················<span·class="keywordtype">float</span>·*·dstDu,·····<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDuDesc,</div> |
169 | <div·class="line"><a·id="l0006 | 164 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>················<span·class="keywordtype">float</span>·*·dstDv,·····<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDvDesc,</div> |
170 | <div·class="line"><a·id="l0006 | 165 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>················<span·class="keywordtype">float</span>·*·dstDuu,····<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDuuDesc,</div> |
171 | <div·class="line"><a·id="l000 | 166 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>················<span·class="keywordtype">float</span>·*·dstDuv,····<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDuvDesc,</div> |
172 | <div·class="line"><a·id="l000 | 167 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>················<span·class="keywordtype">float</span>·*·dstDvv,····<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDvvDesc,</div> |
173 | <div·class="line"><a·id="l000 | 168 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·sizes,</div> |
174 | <div·class="line"><a·id="l000 | 169 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·offsets,</div> |
175 | <div·class="line"><a·id="l000 | 170 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>················<span·class="keywordtype">int</span>·<span·class="keyword">const</span>·*·indices,</div> |
171 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·weights,</div> | ||
172 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·duWeights,</div> | ||
173 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·dvWeights,</div> | ||
174 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·duuWeights,</div> | ||
175 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·duvWeights,</div> | ||
176 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*· | 176 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·dvvWeights,</div> |
177 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·duWeights,</div> | ||
178 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·dvWeights,</div> | ||
179 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·duuWeights,</div> | ||
180 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·duvWeights,</div> | ||
181 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>················<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*·dvvWeights,</div> | ||
182 | <div·class="line"><a·id="l000 | 177 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>················<span·class="keywordtype">int</span>·start,·<span·class="keywordtype">int</span>·end);</div> |
178 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | ||
179 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>}·<span·class="comment">//·end·namespace·Osd</span></div> | ||
180 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> | ||
181 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>}··<span·class="comment">//·end·namespace·OPENSUBDIV_VERSION</span></div> | ||
182 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">using·namespace·</span>OPENSUBDIV_VERSION;</div> | ||
183 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | 183 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> |
184 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="keywordtype">void</span></div> | ||
185 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a00912.html#a20e08be34d6183b6943ed7a1586eca4a">···84</a></span><a·class="code·hl_function"·href="a00912.html#a20e08be34d6183b6943ed7a1586eca4a">TbbEvalPatches</a>(<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*src,·<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&srcDesc,</div> | ||
186 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>···············<span·class="keywordtype">float</span>·*dst,·······<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDesc,</div> | ||
187 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>···············<span·class="keywordtype">float</span>·*dstDu,·····<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDuDesc,</div> | ||
188 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>···············<span·class="keywordtype">float</span>·*dstDv,·····<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDvDesc,</div> | ||
189 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>···············<span·class="keywordtype">int</span>·numPatchCoords,</div> | ||
190 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>···············<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a01321.html">PatchCoord</a>·*patchCoords,</div> | ||
191 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>···············<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a01325.html">PatchArray</a>·*patchArrayBuffer,</div> | ||
192 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>···············<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·*patchIndexBuffer,</div> | ||
193 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>···············<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a01329.html">PatchParam</a>·*patchParamBuffer);</div> | ||
194 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> | ||
195 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="keywordtype">void</span></div> | ||
196 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a00912.html#aa0c3c264a43eeddc5cb3a58b006d3d32">···95</a></span><a·class="code·hl_function"·href="a00912.html#a20e08be34d6183b6943ed7a1586eca4a">TbbEvalPatches</a>(<span·class="keywordtype">float</span>·<span·class="keyword">const</span>·*src,·<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&srcDesc,</div> | ||
197 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>···············<span·class="keywordtype">float</span>·*dst,·······<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDesc,</div> | ||
198 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>···············<span·class="keywordtype">float</span>·*dstDu,·····<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDuDesc,</div> | ||
199 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>···············<span·class="keywordtype">float</span>·*dstDv,·····<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDvDesc,</div> | ||
200 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>···············<span·class="keywordtype">float</span>·*dstDuu,····<a·class="code·hl_struct"·href="a01141.html">BufferDescriptor</a>·<span·class="keyword">const</span>·&dstDuuDesc,</div> | ||
Max diff block lines reached; 3682/36758 bytes (10.02%) of diff not shown. |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | [Logo]·OpenSubdiv | 1 | [Logo]·OpenSubdiv |
2 | Loading... | 2 | Loading... |
3 | Searching... | 3 | Searching... |
4 | No·Matches | 4 | No·Matches |
5 | 5 | ompKernel.h | |
6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. | 6 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8i_\x8l_\x8e_\x8. |
7 | 1// | 7 | 1// |
8 | 2//·Copyright·2013·Pixar | 8 | 2//·Copyright·2013·Pixar |
9 | 3// | 9 | 3// |
10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") | 10 | 4//·Licensed·under·the·Apache·License,·Version·2.0·(the·"Apache·License") |
11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in | 11 | 5//·with·the·following·modification;·you·may·not·use·this·file·except·in |
12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: | 12 | 6//·compliance·with·the·Apache·License·and·the·following·modification·to·it: |
Offset 24, 126 lines modified | Offset 24, 82 lines modified | ||
24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software | 24 | 18//·Unless·required·by·applicable·law·or·agreed·to·in·writing,·software |
25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is | 25 | 19//·distributed·under·the·Apache·License·with·the·above·modification·is |
26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY | 26 | 20//·distributed·on·an·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY |
27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific | 27 | 21//·KIND,·either·express·or·implied.·See·the·Apache·License·for·the·specific |
28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. | 28 | 22//·language·governing·permissions·and·limitations·under·the·Apache·License. |
29 | 23// | 29 | 23// |
30 | 24 | 30 | 24 |
31 | 25#ifndef·OPENSUBDIV3_OSD_ | 31 | 25#ifndef·OPENSUBDIV3_OSD_OMP_KERNEL_H |
32 | 26#define·OPENSUBDIV3_OSD_ | 32 | 26#define·OPENSUBDIV3_OSD_OMP_KERNEL_H |
33 | 27 | 33 | 27 |
34 | 28#include·"../version.h" | 34 | 28#include·"../version.h" |
35 | 29 | ||
35 | 29#include·"../far/patchDescriptor.h" | ||
36 | 30#include·"../far/patchParam.h" | ||
37 | 31 | ||
38 | 3 | 36 | 30namespace·_\x8O_\x8p_\x8e_\x8n_\x8S_\x8u_\x8b_\x8d_\x8i_\x8v·{ |
39 | 3 | 37 | 31namespace·OPENSUBDIV_VERSION·{ |
38 | 32 | ||
39 | 33namespace·Osd·{ | ||
40 | 34 | 40 | 34 |
41 | 35 | 41 | 35struct·BufferDescriptor; |
42 | 36 | 42 | 36 |
43 | 37void | ||
43 | 37struct·PatchArray; | ||
44 | 38struct·PatchCoord; | ||
45 | 39struct·PatchParam; | ||
46 | 40struct·BufferDescriptor; | ||
47 | 41 | ||
48 | 42void | ||
49 | _\x84_\x83_\x8T_\x8b_\x8b_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s(float·const·*·src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
50 | 44·float·*·dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
51 | 45·int·const·*·sizes, | ||
52 | 46·int·const·*·offsets, | ||
53 | 47·int·const·*·indices, | ||
54 | 48·float·const·*·weights, | ||
55 | 49·int·start,·int·end); | ||
56 | 50 | ||
57 | 51void | ||
58 | _\x8 | 44 | _\x83_.8_.O_.m_.p_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s(float·const·*·src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, |
59 | 45 | 39·float·*·dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | |
46 | 40·int·const·*·sizes, | ||
47 | 41·int·const·*·offsets, | ||
48 | 42·int·const·*·indices, | ||
49 | 43·float·const·*·weights, | ||
50 | 44·int·start,·int·end); | ||
51 | 45 | ||
52 | 46void | ||
53 | _\x84_\x87_\x8O_\x8m_\x8p_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s(float·const·*·src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
54 | 48·float·*·dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
60 | 55 | 49·float·*·dstDu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuDesc, | |
61 | 5 | 56 | 50·float·*·dstDv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvDesc, |
62 | 5 | 57 | 51·int·const·*·sizes, |
63 | 5 | 58 | 52·int·const·*·offsets, |
64 | 5 | 59 | 53·int·const·*·indices, |
65 | 5 | 60 | 54·float·const·*·weights, |
66 | 61 | 55·float·const·*·duWeights, | |
67 | 62 | 56·float·const·*·dvWeights, | |
68 | 63 | 57·int·start,·int·end); | |
69 | 63 | ||
70 | 64 | 58 | |
65 | 59void | ||
71 | _\x86_\x8 | 66 | _\x86_\x80_.O_.m_.p_\x8E_\x8v_\x8a_\x8l_\x8S_\x8t_\x8e_\x8n_\x8c_\x8i_\x8l_\x8s(float·const·*·src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, |
72 | 6 | 67 | 61·float·*·dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, |
73 | 6 | 68 | 62·float·*·dstDu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuDesc, |
74 | 6 | 69 | 63·float·*·dstDv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvDesc, |
75 | 6 | 70 | 64·float·*·dstDuu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuuDesc, |
76 | 71 | 65·float·*·dstDuv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuvDesc, | |
77 | 72 | 66·float·*·dstDvv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvvDesc, | |
78 | 73 | 67·int·const·*·sizes, | |
79 | 74 | 68·int·const·*·offsets, | |
80 | 75 | 69·int·const·*·indices, | |
81 | 7 | 76 | 70·float·const·*·weights, |
82 | 7 | 77 | 71·float·const·*·duWeights, |
83 | 7 | 78 | 72·float·const·*·dvWeights, |
84 | 7 | 79 | 73·float·const·*·duuWeights, |
85 | 7 | 80 | 74·float·const·*·duvWeights, |
86 | 81 | 75·float·const·*·dvvWeights, | |
87 | 82 | 76·int·start,·int·end); | |
83 | 77 | ||
84 | 78}·//·end·namespace·Osd | ||
85 | 79 | ||
86 | 80}·//·end·namespace·OPENSUBDIV_VERSION | ||
87 | 81using·namespace·OPENSUBDIV_VERSION; | ||
88 | 82 | 88 | 82 |
89 | 83void | ||
90 | _\x88_\x84_\x8T_\x8b_\x8b_\x8E_\x8v_\x8a_\x8l_\x8P_\x8a_\x8t_\x8c_\x8h_\x8e_\x8s(float·const·*src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
91 | 85·float·*dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
92 | 86·float·*dstDu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuDesc, | ||
93 | 87·float·*dstDv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvDesc, | ||
94 | 88·int·numPatchCoords, | ||
95 | 89·const·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8C_\x8o_\x8o_\x8r_\x8d·*patchCoords, | ||
96 | 90·const·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y·*patchArrayBuffer, | ||
97 | 91·const·int·*patchIndexBuffer, | ||
98 | 92·const·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8P_\x8a_\x8r_\x8a_\x8m·*patchParamBuffer); | ||
99 | 93 | ||
100 | 94void | ||
101 | _\x89_\x85_\x8T_\x8b_\x8b_\x8E_\x8v_\x8a_\x8l_\x8P_\x8a_\x8t_\x8c_\x8h_\x8e_\x8s(float·const·*src,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&srcDesc, | ||
102 | 96·float·*dst,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDesc, | ||
103 | 97·float·*dstDu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuDesc, | ||
104 | 98·float·*dstDv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvDesc, | ||
105 | 99·float·*dstDuu,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuuDesc, | ||
106 | 100·float·*dstDuv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDuvDesc, | ||
107 | 101·float·*dstDvv,·_\x8B_\x8u_\x8f_\x8f_\x8e_\x8r_\x8D_\x8e_\x8s_\x8c_\x8r_\x8i_\x8p_\x8t_\x8o_\x8r·const·&dstDvvDesc, | ||
108 | 102·int·numPatchCoords, | ||
109 | 103·const·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8C_\x8o_\x8o_\x8r_\x8d·*patchCoords, | ||
110 | 104·const·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8A_\x8r_\x8r_\x8a_\x8y·*patchArrayBuffer, | ||
111 | 105·const·int·*patchIndexBuffer, | ||
112 | 106·const·_\x8P_\x8a_\x8t_\x8c_\x8h_\x8P_\x8a_\x8r_\x8a_\x8m·*patchParamBuffer); | ||
113 | 107 | ||
114 | 108}·//·end·namespace·Osd | ||
115 | 109 | ||
116 | 110}·//·end·namespace·OPENSUBDIV_VERSION | ||
117 | 111using·namespace·OPENSUBDIV_VERSION; | ||
118 | 112 | ||
Max diff block lines reached; 2448/9662 bytes (25.34%) of diff not shown. |
Offset 895, 18 lines modified | Offset 895, 18 lines modified | ||
895 | <div·class="ttc"·id="aa00912_html_a1af6b50e9f8ae13d3d2f9d5b03b35492ab32b8ef595539e14041e2fb0e619e3f9"><div·class="ttname"><a·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492ab32b8ef595539e14041e2fb0e619e3f9">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshUseSmoothCornerPatch</a></div><div·class="ttdeci">@·MeshUseSmoothCornerPatch</div><div·class="ttdef"><b>Definition</b>·<a·href="a00887_source.html#l00054">mesh.h:54</a></div></div> | 895 | <div·class="ttc"·id="aa00912_html_a1af6b50e9f8ae13d3d2f9d5b03b35492ab32b8ef595539e14041e2fb0e619e3f9"><div·class="ttname"><a·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492ab32b8ef595539e14041e2fb0e619e3f9">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshUseSmoothCornerPatch</a></div><div·class="ttdeci">@·MeshUseSmoothCornerPatch</div><div·class="ttdef"><b>Definition</b>·<a·href="a00887_source.html#l00054">mesh.h:54</a></div></div> |
896 | <div·class="ttc"·id="aa00912_html_a1af6b50e9f8ae13d3d2f9d5b03b35492ac10e41fef659f3b3a1b730319bdedb45"><div·class="ttname"><a·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492ac10e41fef659f3b3a1b730319bdedb45">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshFVarData</a></div><div·class="ttdeci">@·MeshFVarData</div><div·class="ttdef"><b>Definition</b>·<a·href="a00887_source.html#l00052">mesh.h:52</a></div></div> | 896 | <div·class="ttc"·id="aa00912_html_a1af6b50e9f8ae13d3d2f9d5b03b35492ac10e41fef659f3b3a1b730319bdedb45"><div·class="ttname"><a·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492ac10e41fef659f3b3a1b730319bdedb45">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshFVarData</a></div><div·class="ttdeci">@·MeshFVarData</div><div·class="ttdef"><b>Definition</b>·<a·href="a00887_source.html#l00052">mesh.h:52</a></div></div> |
897 | <div·class="ttc"·id="aa00912_html_a1af6b50e9f8ae13d3d2f9d5b03b35492adef344bcbdd50a1a93136eb53183c718"><div·class="ttname"><a·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492adef344bcbdd50a1a93136eb53183c718">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshAdaptive</a></div><div·class="ttdeci">@·MeshAdaptive</div><div·class="ttdef"><b>Definition</b>·<a·href="a00887_source.html#l00050">mesh.h:50</a></div></div> | 897 | <div·class="ttc"·id="aa00912_html_a1af6b50e9f8ae13d3d2f9d5b03b35492adef344bcbdd50a1a93136eb53183c718"><div·class="ttname"><a·href="a00912.html#a1af6b50e9f8ae13d3d2f9d5b03b35492adef344bcbdd50a1a93136eb53183c718">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshAdaptive</a></div><div·class="ttdeci">@·MeshAdaptive</div><div·class="ttdef"><b>Definition</b>·<a·href="a00887_source.html#l00050">mesh.h:50</a></div></div> |
898 | <div·class="ttc"·id="aa00912_html_a33f9830228f847fae1c30c9dffe02b5a"><div·class="ttname"><a·href="a00912.html#a33f9830228f847fae1c30c9dffe02b5a">OpenSubdiv::OPENSUBDIV_VERSION::Osd::convertToCompatibleStencilTable<·Far::StencilTable,·Far::StencilTable,·void·></a></div><div·class="ttdeci">Far::StencilTable·const·*·convertToCompatibleStencilTable<·Far::StencilTable,·Far::StencilTable,·void·>(Far::StencilTable·const·*table,·void·*)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00887_source.html#l00148">mesh.h:149</a></div></div> | 898 | <div·class="ttc"·id="aa00912_html_a33f9830228f847fae1c30c9dffe02b5a"><div·class="ttname"><a·href="a00912.html#a33f9830228f847fae1c30c9dffe02b5a">OpenSubdiv::OPENSUBDIV_VERSION::Osd::convertToCompatibleStencilTable<·Far::StencilTable,·Far::StencilTable,·void·></a></div><div·class="ttdeci">Far::StencilTable·const·*·convertToCompatibleStencilTable<·Far::StencilTable,·Far::StencilTable,·void·>(Far::StencilTable·const·*table,·void·*)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00887_source.html#l00148">mesh.h:149</a></div></div> |
899 | <div·class="ttc"·id="aa00912_html_a4c2520cc1a8a5a03e3f53584629d7318"><div·class="ttname"><a·href="a00912.html#a4c2520cc1a8a5a03e3f53584629d7318">OpenSubdiv::OPENSUBDIV_VERSION::Osd::convertToCompatibleStencilTable<·Far::LimitStencilTable,·Far::LimitStencilTable,·void·></a></div><div·class="ttdeci">Far::LimitStencilTable·const·*·convertToCompatibleStencilTable<·Far::LimitStencilTable,·Far::LimitStencilTable,·void·>(Far::LimitStencilTable·const·*table,·void·*)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00887_source.html#l00158">mesh.h:159</a></div></div> | 899 | <div·class="ttc"·id="aa00912_html_a4c2520cc1a8a5a03e3f53584629d7318"><div·class="ttname"><a·href="a00912.html#a4c2520cc1a8a5a03e3f53584629d7318">OpenSubdiv::OPENSUBDIV_VERSION::Osd::convertToCompatibleStencilTable<·Far::LimitStencilTable,·Far::LimitStencilTable,·void·></a></div><div·class="ttdeci">Far::LimitStencilTable·const·*·convertToCompatibleStencilTable<·Far::LimitStencilTable,·Far::LimitStencilTable,·void·>(Far::LimitStencilTable·const·*table,·void·*)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00887_source.html#l00158">mesh.h:159</a></div></div> |
900 | <div·class="ttc"·id="aa00912_html_a85ba9df501aea9af1ec9da1558c255bc"><div·class="ttname"><a·href="a00912.html#a85ba9df501aea9af1ec9da1558c255bc">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshBitset</a></div><div·class="ttdeci">std::bitset<·NUM_MESH_BITS·>·MeshBitset</div><div·class="ttdef"><b>Definition</b>·<a·href="a00887_source.html#l00063">mesh.h:63</a></div></div> | 900 | <div·class="ttc"·id="aa00912_html_a85ba9df501aea9af1ec9da1558c255bc"><div·class="ttname"><a·href="a00912.html#a85ba9df501aea9af1ec9da1558c255bc">OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshBitset</a></div><div·class="ttdeci">std::bitset<·NUM_MESH_BITS·>·MeshBitset</div><div·class="ttdef"><b>Definition</b>·<a·href="a00887_source.html#l00063">mesh.h:63</a></div></div> |
901 | <div·class="ttc"·id="aa00912_html_ab5753a2b0a0995c8e2259d2c4765f7df"><div·class="ttname"><a·href="a00912.html#ab5753a2b0a0995c8e2259d2c4765f7df">OpenSubdiv::OPENSUBDIV_VERSION::Osd::convertToCompatibleStencilTable<·Far::StencilTable,·Far::StencilTable,·ID3D11DeviceContext·></a></div><div·class="ttdeci">Far::StencilTable·const·*·convertToCompatibleStencilTable<·Far::StencilTable,·Far::StencilTable,·ID3D11DeviceContext·>(Far::StencilTable·const·*table,·ID3D11DeviceContext·*)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00887_source.html#l00168">mesh.h:169</a></div></div> | 901 | <div·class="ttc"·id="aa00912_html_ab5753a2b0a0995c8e2259d2c4765f7df"><div·class="ttname"><a·href="a00912.html#ab5753a2b0a0995c8e2259d2c4765f7df">OpenSubdiv::OPENSUBDIV_VERSION::Osd::convertToCompatibleStencilTable<·Far::StencilTable,·Far::StencilTable,·ID3D11DeviceContext·></a></div><div·class="ttdeci">Far::StencilTable·const·*·convertToCompatibleStencilTable<·Far::StencilTable,·Far::StencilTable,·ID3D11DeviceContext·>(Far::StencilTable·const·*table,·ID3D11DeviceContext·*)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00887_source.html#l00168">mesh.h:169</a></div></div> |
902 | <div·class="ttc"·id="aa00993_html"><div·class="ttname"><a·href="a00993.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable</a></div><div·class="ttdoc">Container·for·arrays·of·parametric·patches.</div><div·class="ttdef"><b>Definition</b>·<a·href="a0073 | 902 | <div·class="ttc"·id="aa00993_html"><div·class="ttname"><a·href="a00993.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable</a></div><div·class="ttdoc">Container·for·arrays·of·parametric·patches.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00731_source.html#l00055">patchTable.h:55</a></div></div> |
903 | <div·class="ttc"·id="aa00993_html_a14bf987459715b918b370247bb24a61c"><div·class="ttname"><a·href="a00993.html#a14bf987459715b918b370247bb24a61c">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::GetMaxValence</a></div><div·class="ttdeci">int·GetMaxValence()·const</div><div·class="ttdoc">Returns·max·vertex·valence.</div><div·class="ttdef"><b>Definition</b>·<a·href="a0073 | 903 | <div·class="ttc"·id="aa00993_html_a14bf987459715b918b370247bb24a61c"><div·class="ttname"><a·href="a00993.html#a14bf987459715b918b370247bb24a61c">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::GetMaxValence</a></div><div·class="ttdeci">int·GetMaxValence()·const</div><div·class="ttdoc">Returns·max·vertex·valence.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00731_source.html#l00092">patchTable.h:92</a></div></div> |
904 | <div·class="ttc"·id="aa00993_html_a1d27edb01bfb68ba50776b25aa437783"><div·class="ttname"><a·href="a00993.html#a1d27edb01bfb68ba50776b25aa437783">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::GetLocalPointStencilTable</a></div><div·class="ttdeci">StencilTable·const·*·GetLocalPointStencilTable()·const</div><div·class="ttdoc">Returns·the·stencil·table·to·compute·local·point·vertex·values.</div><div·class="ttdef"><b>Definition</b>·<a·href="a0073 | 904 | <div·class="ttc"·id="aa00993_html_a1d27edb01bfb68ba50776b25aa437783"><div·class="ttname"><a·href="a00993.html#a1d27edb01bfb68ba50776b25aa437783">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::GetLocalPointStencilTable</a></div><div·class="ttdeci">StencilTable·const·*·GetLocalPointStencilTable()·const</div><div·class="ttdoc">Returns·the·stencil·table·to·compute·local·point·vertex·values.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00731_source.html#l00778">patchTable.h:778</a></div></div> |
905 | <div·class="ttc"·id="aa00993_html_ad6bafe91da1dcf5b8fb1f7c8cb4ed619"><div·class="ttname"><a·href="a00993.html#ad6bafe91da1dcf5b8fb1f7c8cb4ed619">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::GetLocalPointVaryingStencilTable</a></div><div·class="ttdeci">StencilTable·const·*·GetLocalPointVaryingStencilTable()·const</div><div·class="ttdoc">Returns·the·stencil·table·to·compute·local·point·varying·values.</div><div·class="ttdef"><b>Definition</b>·<a·href="a0073 | 905 | <div·class="ttc"·id="aa00993_html_ad6bafe91da1dcf5b8fb1f7c8cb4ed619"><div·class="ttname"><a·href="a00993.html#ad6bafe91da1dcf5b8fb1f7c8cb4ed619">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::GetLocalPointVaryingStencilTable</a></div><div·class="ttdeci">StencilTable·const·*·GetLocalPointVaryingStencilTable()·const</div><div·class="ttdoc">Returns·the·stencil·table·to·compute·local·point·varying·values.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00731_source.html#l00783">patchTable.h:783</a></div></div> |
906 | <div·class="ttc"·id="aa01017_html_a6ad8881e91652a8fe4d68d18ac16a435"><div·class="ttname"><a·href="a01017.html#a6ad8881e91652a8fe4d68d18ac16a435">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Create</a></div><div·class="ttdeci">static·PatchTable·*·Create(TopologyRefiner·const·&refiner,·Options·options=Options(),·ConstIndexArray·selectedFaces=ConstIndexArray())</div><div·class="ttdoc">Instantiates·a·PatchTable·from·a·client-provided·TopologyRefiner.</div></div> | 906 | <div·class="ttc"·id="aa01017_html_a6ad8881e91652a8fe4d68d18ac16a435"><div·class="ttname"><a·href="a01017.html#a6ad8881e91652a8fe4d68d18ac16a435">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Create</a></div><div·class="ttdeci">static·PatchTable·*·Create(TopologyRefiner·const·&refiner,·Options·options=Options(),·ConstIndexArray·selectedFaces=ConstIndexArray())</div><div·class="ttdoc">Instantiates·a·PatchTable·from·a·client-provided·TopologyRefiner.</div></div> |
907 | <div·class="ttc"·id="aa01021_html"><div·class="ttname"><a·href="a01021.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options</a></div><div·class="ttdoc">Public·options·for·the·PatchTable·factory.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00728_source.html#l00045">patchTableFactory.h:45</a></div></div> | 907 | <div·class="ttc"·id="aa01021_html"><div·class="ttname"><a·href="a01021.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options</a></div><div·class="ttdoc">Public·options·for·the·PatchTable·factory.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00728_source.html#l00045">patchTableFactory.h:45</a></div></div> |
908 | <div·class="ttc"·id="aa01021_html_aebc767d646011ab7d5bc7d6d49adf535a0c0d3d9e480d64f20f1b32d599c88aa5"><div·class="ttname"><a·href="a01021.html#aebc767d646011ab7d5bc7d6d49adf535a0c0d3d9e480d64f20f1b32d599c88aa5">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options::ENDCAP_LEGACY_GREGORY</a></div><div·class="ttdeci">@·ENDCAP_LEGACY_GREGORY</div><div·class="ttdoc">legacy·option·for·2.x·style·Gregory·patches·(Catmark·only)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00728_source.html#l00061">patchTableFactory.h:60</a></div></div> | 908 | <div·class="ttc"·id="aa01021_html_aebc767d646011ab7d5bc7d6d49adf535a0c0d3d9e480d64f20f1b32d599c88aa5"><div·class="ttname"><a·href="a01021.html#aebc767d646011ab7d5bc7d6d49adf535a0c0d3d9e480d64f20f1b32d599c88aa5">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options::ENDCAP_LEGACY_GREGORY</a></div><div·class="ttdeci">@·ENDCAP_LEGACY_GREGORY</div><div·class="ttdoc">legacy·option·for·2.x·style·Gregory·patches·(Catmark·only)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00728_source.html#l00061">patchTableFactory.h:60</a></div></div> |
909 | <div·class="ttc"·id="aa01021_html_aebc767d646011ab7d5bc7d6d49adf535a2e89c8e5ac21dbd024ec902de51566b0"><div·class="ttname"><a·href="a01021.html#aebc767d646011ab7d5bc7d6d49adf535a2e89c8e5ac21dbd024ec902de51566b0">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options::ENDCAP_GREGORY_BASIS</a></div><div·class="ttdeci">@·ENDCAP_GREGORY_BASIS</div><div·class="ttdoc">use·Gregory·patches·(highest·quality,·recommended·default)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00728_source.html#l00059">patchTableFactory.h:59</a></div></div> | 909 | <div·class="ttc"·id="aa01021_html_aebc767d646011ab7d5bc7d6d49adf535a2e89c8e5ac21dbd024ec902de51566b0"><div·class="ttname"><a·href="a01021.html#aebc767d646011ab7d5bc7d6d49adf535a2e89c8e5ac21dbd024ec902de51566b0">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options::ENDCAP_GREGORY_BASIS</a></div><div·class="ttdeci">@·ENDCAP_GREGORY_BASIS</div><div·class="ttdoc">use·Gregory·patches·(highest·quality,·recommended·default)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00728_source.html#l00059">patchTableFactory.h:59</a></div></div> |
910 | <div·class="ttc"·id="aa01021_html_aebc767d646011ab7d5bc7d6d49adf535a90f0e9a2c992889cefdf1db954f9d98f"><div·class="ttname"><a·href="a01021.html#aebc767d646011ab7d5bc7d6d49adf535a90f0e9a2c992889cefdf1db954f9d98f">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options::ENDCAP_BILINEAR_BASIS</a></div><div·class="ttdeci">@·ENDCAP_BILINEAR_BASIS</div><div·class="ttdoc">use·linear·patches·(simple·quads·or·tris)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00728_source.html#l00057">patchTableFactory.h:57</a></div></div> | 910 | <div·class="ttc"·id="aa01021_html_aebc767d646011ab7d5bc7d6d49adf535a90f0e9a2c992889cefdf1db954f9d98f"><div·class="ttname"><a·href="a01021.html#aebc767d646011ab7d5bc7d6d49adf535a90f0e9a2c992889cefdf1db954f9d98f">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options::ENDCAP_BILINEAR_BASIS</a></div><div·class="ttdeci">@·ENDCAP_BILINEAR_BASIS</div><div·class="ttdoc">use·linear·patches·(simple·quads·or·tris)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00728_source.html#l00057">patchTableFactory.h:57</a></div></div> |
911 | <div·class="ttc"·id="aa01021_html_aebc767d646011ab7d5bc7d6d49adf535ac3fc1d183b0bdfbc7bf1cce613c4ff04"><div·class="ttname"><a·href="a01021.html#aebc767d646011ab7d5bc7d6d49adf535ac3fc1d183b0bdfbc7bf1cce613c4ff04">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options::ENDCAP_BSPLINE_BASIS</a></div><div·class="ttdeci">@·ENDCAP_BSPLINE_BASIS</div><div·class="ttdoc">use·BSpline-like·patches·(same·patch·type·as·regular)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00728_source.html#l00058">patchTableFactory.h:58</a></div></div> | 911 | <div·class="ttc"·id="aa01021_html_aebc767d646011ab7d5bc7d6d49adf535ac3fc1d183b0bdfbc7bf1cce613c4ff04"><div·class="ttname"><a·href="a01021.html#aebc767d646011ab7d5bc7d6d49adf535ac3fc1d183b0bdfbc7bf1cce613c4ff04">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options::ENDCAP_BSPLINE_BASIS</a></div><div·class="ttdeci">@·ENDCAP_BSPLINE_BASIS</div><div·class="ttdoc">use·BSpline-like·patches·(same·patch·type·as·regular)</div><div·class="ttdef"><b>Definition</b>·<a·href="a00728_source.html#l00058">patchTableFactory.h:58</a></div></div> |
912 | <div·class="ttc"·id="aa01045_html_a46c8a310cf4c094f8c80e1cb8dc1f911ab18c20abfc04611ab0aec5e1c81bb2ab"><div·class="ttname"><a·href="a01045.html#a46c8a310cf4c094f8c80e1cb8dc1f911ab18c20abfc04611ab0aec5e1c81bb2ab">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal<·float·>::INTERPOLATE_VARYING</a></div><div·class="ttdeci">@·INTERPOLATE_VARYING</div><div·class="ttdoc">varying·primvar·stencils</div><div·class="ttdef"><b>Definition</b>·<a·href="a00716_source.html#l00057">stencilTableFactory.h:57</a></div></div> | 912 | <div·class="ttc"·id="aa01045_html_a46c8a310cf4c094f8c80e1cb8dc1f911ab18c20abfc04611ab0aec5e1c81bb2ab"><div·class="ttname"><a·href="a01045.html#a46c8a310cf4c094f8c80e1cb8dc1f911ab18c20abfc04611ab0aec5e1c81bb2ab">OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal<·float·>::INTERPOLATE_VARYING</a></div><div·class="ttdeci">@·INTERPOLATE_VARYING</div><div·class="ttdoc">varying·primvar·stencils</div><div·class="ttdef"><b>Definition</b>·<a·href="a00716_source.html#l00057">stencilTableFactory.h:57</a></div></div> |
Offset 264, 15 lines modified | Offset 264, 15 lines modified | ||
264 | <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>·</div> | 264 | <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>·</div> |
265 | <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div> | 265 | <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>}··<span·class="comment">//·end·namespace·OpenSubdiv</span></div> |
266 | <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>·</div> | 266 | <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>·</div> |
267 | <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_CPU_PATCH_TABLE_H</span></div> | 267 | <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_CPU_PATCH_TABLE_H</span></div> |
268 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> | 268 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> |
269 | <div·class="ttc"·id="aa00912_html_a1e22001c627b0364d6c6d62a3ed05fee"><div·class="ttname"><a·href="a00912.html#a1e22001c627b0364d6c6d62a3ed05fee">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchParamVector</a></div><div·class="ttdeci">std::vector<·PatchParam·>·PatchParamVector</div><div·class="ttdef"><b>Definition</b>·<a·href="a01489_source.html#l00133">types.h:133</a></div></div> | 269 | <div·class="ttc"·id="aa00912_html_a1e22001c627b0364d6c6d62a3ed05fee"><div·class="ttname"><a·href="a00912.html#a1e22001c627b0364d6c6d62a3ed05fee">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchParamVector</a></div><div·class="ttdeci">std::vector<·PatchParam·>·PatchParamVector</div><div·class="ttdef"><b>Definition</b>·<a·href="a01489_source.html#l00133">types.h:133</a></div></div> |
270 | <div·class="ttc"·id="aa00912_html_a98098cd229f60d2397d84a76fe654a31"><div·class="ttname"><a·href="a00912.html#a98098cd229f60d2397d84a76fe654a31">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchArrayVector</a></div><div·class="ttdeci">std::vector<·PatchArray·>·PatchArrayVector</div><div·class="ttdef"><b>Definition</b>·<a·href="a01489_source.html#l00132">types.h:132</a></div></div> | 270 | <div·class="ttc"·id="aa00912_html_a98098cd229f60d2397d84a76fe654a31"><div·class="ttname"><a·href="a00912.html#a98098cd229f60d2397d84a76fe654a31">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchArrayVector</a></div><div·class="ttdeci">std::vector<·PatchArray·>·PatchArrayVector</div><div·class="ttdef"><b>Definition</b>·<a·href="a01489_source.html#l00132">types.h:132</a></div></div> |
271 | <div·class="ttc"·id="aa00993_html"><div·class="ttname"><a·href="a00993.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable</a></div><div·class="ttdoc">Container·for·arrays·of·parametric·patches.</div><div·class="ttdef"><b>Definition</b>·<a·href="a0073 | 271 | <div·class="ttc"·id="aa00993_html"><div·class="ttname"><a·href="a00993.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable</a></div><div·class="ttdoc">Container·for·arrays·of·parametric·patches.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00731_source.html#l00055">patchTable.h:55</a></div></div> |
272 | <div·class="ttc"·id="aa01173_html"><div·class="ttname"><a·href="a01173.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuPatchTable</a></div><div·class="ttdoc">Cpu·patch·table.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00893_source.html#l00059">cpuPatchTable.h:59</a></div></div> | 272 | <div·class="ttc"·id="aa01173_html"><div·class="ttname"><a·href="a01173.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuPatchTable</a></div><div·class="ttdoc">Cpu·patch·table.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00893_source.html#l00059">cpuPatchTable.h:59</a></div></div> |
273 | <div·class="ttc"·id="aa01173_html_a025630c8fdb360ed195aef08547f1235"><div·class="ttname"><a·href="a01173.html#a025630c8fdb360ed195aef08547f1235">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuPatchTable::GetFVarPatchArrayBuffer</a></div><div·class="ttdeci">const·PatchArray·*·GetFVarPatchArrayBuffer(int·fvarChannel=0)·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00893_source.html#l00109">cpuPatchTable.h:109</a></div></div> | 273 | <div·class="ttc"·id="aa01173_html_a025630c8fdb360ed195aef08547f1235"><div·class="ttname"><a·href="a01173.html#a025630c8fdb360ed195aef08547f1235">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuPatchTable::GetFVarPatchArrayBuffer</a></div><div·class="ttdeci">const·PatchArray·*·GetFVarPatchArrayBuffer(int·fvarChannel=0)·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00893_source.html#l00109">cpuPatchTable.h:109</a></div></div> |
274 | <div·class="ttc"·id="aa01173_html_a0cfc50b227edbe9872586c2b4ab89dec"><div·class="ttname"><a·href="a01173.html#a0cfc50b227edbe9872586c2b4ab89dec">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuPatchTable::GetVaryingPatchIndexBuffer</a></div><div·class="ttdeci">const·int·*·GetVaryingPatchIndexBuffer()·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00893_source.html#l00096">cpuPatchTable.h:96</a></div></div> | 274 | <div·class="ttc"·id="aa01173_html_a0cfc50b227edbe9872586c2b4ab89dec"><div·class="ttname"><a·href="a01173.html#a0cfc50b227edbe9872586c2b4ab89dec">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuPatchTable::GetVaryingPatchIndexBuffer</a></div><div·class="ttdeci">const·int·*·GetVaryingPatchIndexBuffer()·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00893_source.html#l00096">cpuPatchTable.h:96</a></div></div> |
275 | <div·class="ttc"·id="aa01173_html_a0ff57b15e0b6f9c4ecd676fd76ae1ba1"><div·class="ttname"><a·href="a01173.html#a0ff57b15e0b6f9c4ecd676fd76ae1ba1">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuPatchTable::_varyingIndexBuffer</a></div><div·class="ttdeci">std::vector<·int·>·_varyingIndexBuffer</div><div·class="ttdef"><b>Definition</b>·<a·href="a00893_source.html#l00131">cpuPatchTable.h:131</a></div></div> | 275 | <div·class="ttc"·id="aa01173_html_a0ff57b15e0b6f9c4ecd676fd76ae1ba1"><div·class="ttname"><a·href="a01173.html#a0ff57b15e0b6f9c4ecd676fd76ae1ba1">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuPatchTable::_varyingIndexBuffer</a></div><div·class="ttdeci">std::vector<·int·>·_varyingIndexBuffer</div><div·class="ttdef"><b>Definition</b>·<a·href="a00893_source.html#l00131">cpuPatchTable.h:131</a></div></div> |
276 | <div·class="ttc"·id="aa01173_html_a154f068140b02b8324cfa70cdbe1191c"><div·class="ttname"><a·href="a01173.html#a154f068140b02b8324cfa70cdbe1191c">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuPatchTable::GetFVarPatchParamSize</a></div><div·class="ttdeci">size_t·GetFVarPatchParamSize(int·fvarChannel=0)·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00893_source.html#l00121">cpuPatchTable.h:121</a></div></div> | 276 | <div·class="ttc"·id="aa01173_html_a154f068140b02b8324cfa70cdbe1191c"><div·class="ttname"><a·href="a01173.html#a154f068140b02b8324cfa70cdbe1191c">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuPatchTable::GetFVarPatchParamSize</a></div><div·class="ttdeci">size_t·GetFVarPatchParamSize(int·fvarChannel=0)·const</div><div·class="ttdef"><b>Definition</b>·<a·href="a00893_source.html#l00121">cpuPatchTable.h:121</a></div></div> |
277 | <div·class="ttc"·id="aa01173_html_a16142cac8dd0880ad2451586633a7999"><div·class="ttname"><a·href="a01173.html#a16142cac8dd0880ad2451586633a7999">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuPatchTable::~CpuPatchTable</a></div><div·class="ttdeci">~CpuPatchTable()</div><div·class="ttdef"><b>Definition</b>·<a·href="a00893_source.html#l00068">cpuPatchTable.h:68</a></div></div> | 277 | <div·class="ttc"·id="aa01173_html_a16142cac8dd0880ad2451586633a7999"><div·class="ttname"><a·href="a01173.html#a16142cac8dd0880ad2451586633a7999">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuPatchTable::~CpuPatchTable</a></div><div·class="ttdeci">~CpuPatchTable()</div><div·class="ttdef"><b>Definition</b>·<a·href="a00893_source.html#l00068">cpuPatchTable.h:68</a></div></div> |
278 | <div·class="ttc"·id="aa01173_html_a18d45929d48a1738134292a7f0b27377"><div·class="ttname"><a·href="a01173.html#a18d45929d48a1738134292a7f0b27377">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuPatchTable::_patchParamBuffer</a></div><div·class="ttdeci">PatchParamVector·_patchParamBuffer</div><div·class="ttdef"><b>Definition</b>·<a·href="a00893_source.html#l00128">cpuPatchTable.h:128</a></div></div> | 278 | <div·class="ttc"·id="aa01173_html_a18d45929d48a1738134292a7f0b27377"><div·class="ttname"><a·href="a01173.html#a18d45929d48a1738134292a7f0b27377">OpenSubdiv::OPENSUBDIV_VERSION::Osd::CpuPatchTable::_patchParamBuffer</a></div><div·class="ttdeci">PatchParamVector·_patchParamBuffer</div><div·class="ttdef"><b>Definition</b>·<a·href="a00893_source.html#l00128">cpuPatchTable.h:128</a></div></div> |
Offset 310, 15 lines modified | Offset 310, 15 lines modified | ||
310 | ······<table·class="memname"> | 310 | ······<table·class="memname"> |
311 | ········<tr> | 311 | ········<tr> |
312 | ··········<td·class="memname">typedef·<a·class="el"·href="a01269.html">MeshInterface</a><<a·class="el"·href="a01237.html">GLPatchTable</a>>·<a·class="el"·href="a00912.html#a7f9cf2b729178bdbb847fc4afd91af9e">GLMeshInterface</a></td> | 312 | ··········<td·class="memname">typedef·<a·class="el"·href="a01269.html">MeshInterface</a><<a·class="el"·href="a01237.html">GLPatchTable</a>>·<a·class="el"·href="a00912.html#a7f9cf2b729178bdbb847fc4afd91af9e">GLMeshInterface</a></td> |
313 | ········</tr> | 313 | ········</tr> |
314 | ······</table> | 314 | ······</table> |
315 | </div><div·class="memdoc"> | 315 | </div><div·class="memdoc"> |
316 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0085 | 316 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00854_source.html#l00038">38</a>·of·file·<a·class="el"·href="a00854_source.html">glMesh.h</a>.</p> |
317 | </div> | 317 | </div> |
318 | </div> | 318 | </div> |
319 | <a·id="a85ba9df501aea9af1ec9da1558c255bc"·name="a85ba9df501aea9af1ec9da1558c255bc"></a> | 319 | <a·id="a85ba9df501aea9af1ec9da1558c255bc"·name="a85ba9df501aea9af1ec9da1558c255bc"></a> |
320 | <h2·class="memtitle"><span·class="permalink"><a·href="#a85ba9df501aea9af1ec9da1558c255bc">◆ </a></span>MeshBitset</h2> | 320 | <h2·class="memtitle"><span·class="permalink"><a·href="#a85ba9df501aea9af1ec9da1558c255bc">◆ </a></span>MeshBitset</h2> |
321 | <div·class="memitem"> | 321 | <div·class="memitem"> |
Offset 342, 15 lines modified | Offset 342, 15 lines modified | ||
342 | ······<table·class="memname"> | 342 | ······<table·class="memname"> |
343 | ········<tr> | 343 | ········<tr> |
344 | ··········<td·class="memname">typedef·<a·class="el"·href="a01269.html">MeshInterface</a><<a·class="el"·href="a01305.html">MTLPatchTable</a>>·<a·class="el"·href="a00912.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa">MTLMeshInterface</a></td> | 344 | ··········<td·class="memname">typedef·<a·class="el"·href="a01269.html">MeshInterface</a><<a·class="el"·href="a01305.html">MTLPatchTable</a>>·<a·class="el"·href="a00912.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa">MTLMeshInterface</a></td> |
345 | ········</tr> | 345 | ········</tr> |
346 | ······</table> | 346 | ······</table> |
347 | </div><div·class="memdoc"> | 347 | </div><div·class="memdoc"> |
348 | <p·class="definition">Definition·at·line·<a·class="el"·href="a008 | 348 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00812_source.html#l00038">38</a>·of·file·<a·class="el"·href="a00812_source.html">mtlMesh.h</a>.</p> |
349 | </div> | 349 | </div> |
350 | </div> | 350 | </div> |
351 | <a·id="a98098cd229f60d2397d84a76fe654a31"·name="a98098cd229f60d2397d84a76fe654a31"></a> | 351 | <a·id="a98098cd229f60d2397d84a76fe654a31"·name="a98098cd229f60d2397d84a76fe654a31"></a> |
352 | <h2·class="memtitle"><span·class="permalink"><a·href="#a98098cd229f60d2397d84a76fe654a31">◆ </a></span>PatchArrayVector</h2> | 352 | <h2·class="memtitle"><span·class="permalink"><a·href="#a98098cd229f60d2397d84a76fe654a31">◆ </a></span>PatchArrayVector</h2> |
353 | <div·class="memitem"> | 353 | <div·class="memitem"> |
Offset 97, 15 lines modified | Offset 97, 15 lines modified | ||
97 | ··<div·class="headertitle"><div·class="title">Tessellation·Class·Reference</div></div> | 97 | ··<div·class="headertitle"><div·class="title">Tessellation·Class·Reference</div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <p>Encapsulates·a·specific·tessellation·pattern·of·a·<a·class="el"·href="a00921.html"·title="Simple·class·defining·the·2D·parameterization·of·a·face.">Parameterization</a>.·· | 100 | <p>Encapsulates·a·specific·tessellation·pattern·of·a·<a·class="el"·href="a00921.html"·title="Simple·class·defining·the·2D·parameterization·of·a·face.">Parameterization</a>.·· |
101 | ·<a·href="a00961.html#details">More...</a></p> | 101 | ·<a·href="a00961.html#details">More...</a></p> |
102 | <p><code>#include·<<a·class="el"·href="a0067 | 102 | <p><code>#include·<<a·class="el"·href="a00677_source.html">tessellation.h</a>></code></p> |
103 | <table·class="memberdecls"> | 103 | <table·class="memberdecls"> |
104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
105 | Classes</h2></td></tr> | 105 | Classes</h2></td></tr> |
106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00965.html">Options</a></td></tr> | 106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00965.html">Options</a></td></tr> |
107 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00965.html"·title="Options·configure·a·Tessellation·to·specify·the·nature·of·both·its·results·and·the·structure·of·the·c...">Options</a>·configure·a·<a·class="el"·href="a00961.html"·title="Encapsulates·a·specific·tessellation·pattern·of·a·Parameterization.">Tessellation</a>·to·specify·the·nature·of·both·its·results·and·the·structure·of·the·coordinate·and·facet·index·arrays·that·its·methods·will·populate.··<a·href="a00965.html#details">More...</a><br·/></td></tr> | 107 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight"><a·class="el"·href="a00965.html"·title="Options·configure·a·Tessellation·to·specify·the·nature·of·both·its·results·and·the·structure·of·the·c...">Options</a>·configure·a·<a·class="el"·href="a00961.html"·title="Encapsulates·a·specific·tessellation·pattern·of·a·Parameterization.">Tessellation</a>·to·specify·the·nature·of·both·its·results·and·the·structure·of·the·coordinate·and·facet·index·arrays·that·its·methods·will·populate.··<a·href="a00965.html#details">More...</a><br·/></td></tr> |
108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
109 | </table><table·class="memberdecls"> | 109 | </table><table·class="memberdecls"> |
Offset 219, 15 lines modified | Offset 219, 15 lines modified | ||
219 | <tr·class="separator:a2651a3405daf40d1ffbd47c57233d3c3"><td·class="memSeparator"·colspan="2"> </td></tr> | 219 | <tr·class="separator:a2651a3405daf40d1ffbd47c57233d3c3"><td·class="memSeparator"·colspan="2"> </td></tr> |
220 | </table> | 220 | </table> |
221 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 221 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
222 | <div·class="textblock"><p>Encapsulates·a·specific·tessellation·pattern·of·a·<a·class="el"·href="a00921.html"·title="Simple·class·defining·the·2D·parameterization·of·a·face.">Parameterization</a>.·</p> | 222 | <div·class="textblock"><p>Encapsulates·a·specific·tessellation·pattern·of·a·<a·class="el"·href="a00921.html"·title="Simple·class·defining·the·2D·parameterization·of·a·face.">Parameterization</a>.·</p> |
223 | <p><a·class="el"·href="a00961.html"·title="Encapsulates·a·specific·tessellation·pattern·of·a·Parameterization.">Tessellation</a>·is·a·simple·class·that·encapsulates·a·specified·tessellation·pattern·for·a·given·<a·class="el"·href="a00921.html"·title="Simple·class·defining·the·2D·parameterization·of·a·face.">Parameterization</a>.·<a·class="el"·href="a00961.html"·title="Encapsulates·a·specific·tessellation·pattern·of·a·Parameterization.">Tessellation</a>·parameters·are·given·on·construction·and·are·fixed·for·its·lifetime.</p> | 223 | <p><a·class="el"·href="a00961.html"·title="Encapsulates·a·specific·tessellation·pattern·of·a·Parameterization.">Tessellation</a>·is·a·simple·class·that·encapsulates·a·specified·tessellation·pattern·for·a·given·<a·class="el"·href="a00921.html"·title="Simple·class·defining·the·2D·parameterization·of·a·face.">Parameterization</a>.·<a·class="el"·href="a00961.html"·title="Encapsulates·a·specific·tessellation·pattern·of·a·Parameterization.">Tessellation</a>·parameters·are·given·on·construction·and·are·fixed·for·its·lifetime.</p> |
224 | <p>Methods·allow·inspection·of·the·pattern·in·terms·of·the·2D·coordinates·of·the·points·comprising·the·pattern·and·the·faces·that·connect·them.·The·2D·coordinates·are·referred·to·both·in·the·documentation·and·the·interface·as·"coords"·while·the·faces·connecting·them·are·referred·to·as·"facets"·(to·distinguish·from·the·faces·of·the·mesh,·to·which·a·<a·class="el"·href="a00961.html"·title="Encapsulates·a·specific·tessellation·pattern·of·a·Parameterization.">Tessellation</a>·is·applied).·</p> | 224 | <p>Methods·allow·inspection·of·the·pattern·in·terms·of·the·2D·coordinates·of·the·points·comprising·the·pattern·and·the·faces·that·connect·them.·The·2D·coordinates·are·referred·to·both·in·the·documentation·and·the·interface·as·"coords"·while·the·faces·connecting·them·are·referred·to·as·"facets"·(to·distinguish·from·the·faces·of·the·mesh,·to·which·a·<a·class="el"·href="a00961.html"·title="Encapsulates·a·specific·tessellation·pattern·of·a·Parameterization.">Tessellation</a>·is·applied).·</p> |
225 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0067 | 225 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00677_source.html#l00051">51</a>·of·file·<a·class="el"·href="a00677_source.html">tessellation.h</a>.</p> |
226 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 226 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
227 | <a·id="a7f0af117d53701f7ca6e3eb2368b89bb"·name="a7f0af117d53701f7ca6e3eb2368b89bb"></a> | 227 | <a·id="a7f0af117d53701f7ca6e3eb2368b89bb"·name="a7f0af117d53701f7ca6e3eb2368b89bb"></a> |
228 | <h2·class="memtitle"><span·class="permalink"><a·href="#a7f0af117d53701f7ca6e3eb2368b89bb">◆ </a></span>Tessellation()·<span·class="overload">[1/4]</span></h2> | 228 | <h2·class="memtitle"><span·class="permalink"><a·href="#a7f0af117d53701f7ca6e3eb2368b89bb">◆ </a></span>Tessellation()·<span·class="overload">[1/4]</span></h2> |
229 | <div·class="memitem"> | 229 | <div·class="memitem"> |
230 | <div·class="memproto"> | 230 | <div·class="memproto"> |
231 | ······<table·class="memname"> | 231 | ······<table·class="memname"> |
Offset 445, 15 lines modified | Offset 445, 15 lines modified | ||
445 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 445 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
446 | ··</tr> | 446 | ··</tr> |
447 | </table> | 447 | </table> |
448 | </div><div·class="memdoc"> | 448 | </div><div·class="memdoc"> |
449 | <p>Retrieve·the·coordinates·for·the·entire·pattern.·</p> | 449 | <p>Retrieve·the·coordinates·for·the·entire·pattern.·</p> |
450 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0067 | 450 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00677_source.html#l00372">372</a>·of·file·<a·class="el"·href="a00677_source.html">tessellation.h</a>.</p> |
451 | </div> | 451 | </div> |
452 | </div> | 452 | </div> |
453 | <a·id="a3f642ed70a22d6d9d3d2fe79029653f5"·name="a3f642ed70a22d6d9d3d2fe79029653f5"></a> | 453 | <a·id="a3f642ed70a22d6d9d3d2fe79029653f5"·name="a3f642ed70a22d6d9d3d2fe79029653f5"></a> |
454 | <h2·class="memtitle"><span·class="permalink"><a·href="#a3f642ed70a22d6d9d3d2fe79029653f5">◆ </a></span>GetCoordStride()</h2> | 454 | <h2·class="memtitle"><span·class="permalink"><a·href="#a3f642ed70a22d6d9d3d2fe79029653f5">◆ </a></span>GetCoordStride()</h2> |
455 | <div·class="memitem"> | 455 | <div·class="memitem"> |
Offset 474, 15 lines modified | Offset 474, 15 lines modified | ||
474 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 474 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
475 | ··</tr> | 475 | ··</tr> |
476 | </table> | 476 | </table> |
477 | </div><div·class="memdoc"> | 477 | </div><div·class="memdoc"> |
478 | <p>Return·the·number·of·elements·between·each·coordinate.·</p> | 478 | <p>Return·the·number·of·elements·between·each·coordinate.·</p> |
479 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0067 | 479 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00677_source.html#l00208">208</a>·of·file·<a·class="el"·href="a00677_source.html">tessellation.h</a>.</p> |
480 | </div> | 480 | </div> |
481 | </div> | 481 | </div> |
482 | <a·id="aefe76150c0f45fa43a4211b9f4cb4bc2"·name="aefe76150c0f45fa43a4211b9f4cb4bc2"></a> | 482 | <a·id="aefe76150c0f45fa43a4211b9f4cb4bc2"·name="aefe76150c0f45fa43a4211b9f4cb4bc2"></a> |
483 | <h2·class="memtitle"><span·class="permalink"><a·href="#aefe76150c0f45fa43a4211b9f4cb4bc2">◆ </a></span>GetEdgeCoords()</h2> | 483 | <h2·class="memtitle"><span·class="permalink"><a·href="#aefe76150c0f45fa43a4211b9f4cb4bc2">◆ </a></span>GetEdgeCoords()</h2> |
484 | <div·class="memitem"> | 484 | <div·class="memitem"> |
Offset 535, 15 lines modified | Offset 535, 15 lines modified | ||
535 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 535 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
536 | ··</tr> | 536 | ··</tr> |
537 | </table> | 537 | </table> |
538 | </div><div·class="memdoc"> | 538 | </div><div·class="memdoc"> |
539 | <p>Return·the·size·of·the·face.·</p> | 539 | <p>Return·the·size·of·the·face.·</p> |
540 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0067 | 540 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00677_source.html#l00182">182</a>·of·file·<a·class="el"·href="a00677_source.html">tessellation.h</a>.</p> |
541 | </div> | 541 | </div> |
542 | </div> | 542 | </div> |
543 | <a·id="a8deec91fff8094f942051dc22769402e"·name="a8deec91fff8094f942051dc22769402e"></a> | 543 | <a·id="a8deec91fff8094f942051dc22769402e"·name="a8deec91fff8094f942051dc22769402e"></a> |
544 | <h2·class="memtitle"><span·class="permalink"><a·href="#a8deec91fff8094f942051dc22769402e">◆ </a></span>GetFacets()</h2> | 544 | <h2·class="memtitle"><span·class="permalink"><a·href="#a8deec91fff8094f942051dc22769402e">◆ </a></span>GetFacets()</h2> |
545 | <div·class="memitem"> | 545 | <div·class="memitem"> |
Offset 584, 15 lines modified | Offset 584, 15 lines modified | ||
584 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 584 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
585 | ··</tr> | 585 | ··</tr> |
586 | </table> | 586 | </table> |
587 | </div><div·class="memdoc"> | 587 | </div><div·class="memdoc"> |
588 | <p>Return·the·number·of·indices·assigned·to·each·facet.·</p> | 588 | <p>Return·the·number·of·indices·assigned·to·each·facet.·</p> |
589 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0067 | 589 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00677_source.html#l00258">258</a>·of·file·<a·class="el"·href="a00677_source.html">tessellation.h</a>.</p> |
590 | </div> | 590 | </div> |
591 | </div> | 591 | </div> |
592 | <a·id="a54b068769e4e728e78528f9bdde25b86"·name="a54b068769e4e728e78528f9bdde25b86"></a> | 592 | <a·id="a54b068769e4e728e78528f9bdde25b86"·name="a54b068769e4e728e78528f9bdde25b86"></a> |
593 | <h2·class="memtitle"><span·class="permalink"><a·href="#a54b068769e4e728e78528f9bdde25b86">◆ </a></span>GetFacetStride()</h2> | 593 | <h2·class="memtitle"><span·class="permalink"><a·href="#a54b068769e4e728e78528f9bdde25b86">◆ </a></span>GetFacetStride()</h2> |
594 | <div·class="memitem"> | 594 | <div·class="memitem"> |
Offset 613, 15 lines modified | Offset 613, 15 lines modified | ||
613 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 613 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
614 | ··</tr> | 614 | ··</tr> |
615 | </table> | 615 | </table> |
616 | </div><div·class="memdoc"> | 616 | </div><div·class="memdoc"> |
617 | <p>Return·the·number·of·elements·between·each·facet.·</p> | 617 | <p>Return·the·number·of·elements·between·each·facet.·</p> |
618 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0067 | 618 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00677_source.html#l00261">261</a>·of·file·<a·class="el"·href="a00677_source.html">tessellation.h</a>.</p> |
619 | </div> | 619 | </div> |
620 | </div> | 620 | </div> |
621 | <a·id="a539f9a4fad8037e34e12ad9454f70ba1"·name="a539f9a4fad8037e34e12ad9454f70ba1"></a> | 621 | <a·id="a539f9a4fad8037e34e12ad9454f70ba1"·name="a539f9a4fad8037e34e12ad9454f70ba1"></a> |
622 | <h2·class="memtitle"><span·class="permalink"><a·href="#a539f9a4fad8037e34e12ad9454f70ba1">◆ </a></span>GetInteriorCoords()</h2> | 622 | <h2·class="memtitle"><span·class="permalink"><a·href="#a539f9a4fad8037e34e12ad9454f70ba1">◆ </a></span>GetInteriorCoords()</h2> |
623 | <div·class="memitem"> | 623 | <div·class="memitem"> |
Offset 664, 15 lines modified | Offset 664, 15 lines modified | ||
664 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 664 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
665 | ··</tr> | 665 | ··</tr> |
666 | </table> | 666 | </table> |
667 | </div><div·class="memdoc"> | 667 | </div><div·class="memdoc"> |
668 | <p>Return·the·number·of·boundary·coordinates.·</p> | 668 | <p>Return·the·number·of·boundary·coordinates.·</p> |
669 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0067 | 669 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00677_source.html#l00211">211</a>·of·file·<a·class="el"·href="a00677_source.html">tessellation.h</a>.</p> |
670 | </div> | 670 | </div> |
671 | </div> | 671 | </div> |
672 | <a·id="a5e16c9ef594c36629fb3fb0955101db6"·name="a5e16c9ef594c36629fb3fb0955101db6"></a> | 672 | <a·id="a5e16c9ef594c36629fb3fb0955101db6"·name="a5e16c9ef594c36629fb3fb0955101db6"></a> |
673 | <h2·class="memtitle"><span·class="permalink"><a·href="#a5e16c9ef594c36629fb3fb0955101db6">◆ </a></span>GetNumCoords()</h2> | 673 | <h2·class="memtitle"><span·class="permalink"><a·href="#a5e16c9ef594c36629fb3fb0955101db6">◆ </a></span>GetNumCoords()</h2> |
674 | <div·class="memitem"> | 674 | <div·class="memitem"> |
Max diff block lines reached; 7447/16128 bytes (46.17%) of diff not shown. |
Offset 97, 15 lines modified | Offset 97, 15 lines modified | ||
97 | ··<div·class="headertitle"><div·class="title">Tessellation::Options·Class·Reference</div></div> | 97 | ··<div·class="headertitle"><div·class="title">Tessellation::Options·Class·Reference</div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <p><a·class="el"·href="a00965.html"·title="Options·configure·a·Tessellation·to·specify·the·nature·of·both·its·results·and·the·structure·of·the·c...">Options</a>·configure·a·<a·class="el"·href="a00961.html"·title="Encapsulates·a·specific·tessellation·pattern·of·a·Parameterization.">Tessellation</a>·to·specify·the·nature·of·both·its·results·and·the·structure·of·the·coordinate·and·facet·index·arrays·that·its·methods·will·populate.·· | 100 | <p><a·class="el"·href="a00965.html"·title="Options·configure·a·Tessellation·to·specify·the·nature·of·both·its·results·and·the·structure·of·the·c...">Options</a>·configure·a·<a·class="el"·href="a00961.html"·title="Encapsulates·a·specific·tessellation·pattern·of·a·Parameterization.">Tessellation</a>·to·specify·the·nature·of·both·its·results·and·the·structure·of·the·coordinate·and·facet·index·arrays·that·its·methods·will·populate.·· |
101 | ·<a·href="a00965.html#details">More...</a></p> | 101 | ·<a·href="a00965.html#details">More...</a></p> |
102 | <p><code>#include·<<a·class="el"·href="a0067 | 102 | <p><code>#include·<<a·class="el"·href="a00677_source.html">tessellation.h</a>></code></p> |
103 | <table·class="memberdecls"> | 103 | <table·class="memberdecls"> |
104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
105 | Public·Member·Functions</h2></td></tr> | 105 | Public·Member·Functions</h2></td></tr> |
106 | <tr·class="memitem:a28d39a844c3a37ab61d32ab7c6352f09"·id="r_a28d39a844c3a37ab61d32ab7c6352f09"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00965.html#a28d39a844c3a37ab61d32ab7c6352f09">Options</a>·()</td></tr> | 106 | <tr·class="memitem:a28d39a844c3a37ab61d32ab7c6352f09"·id="r_a28d39a844c3a37ab61d32ab7c6352f09"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00965.html#a28d39a844c3a37ab61d32ab7c6352f09">Options</a>·()</td></tr> |
107 | <tr·class="separator:a28d39a844c3a37ab61d32ab7c6352f09"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:a28d39a844c3a37ab61d32ab7c6352f09"><td·class="memSeparator"·colspan="2"> </td></tr> |
108 | <tr·class="memitem:a98820ec764e776bd556a9b80b872b78f"·id="r_a98820ec764e776bd556a9b80b872b78f"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00965.html">Options</a>·& </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00965.html#a98820ec764e776bd556a9b80b872b78f">PreserveQuads</a>·(bool·on)</td></tr> | 108 | <tr·class="memitem:a98820ec764e776bd556a9b80b872b78f"·id="r_a98820ec764e776bd556a9b80b872b78f"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00965.html">Options</a>·& </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00965.html#a98820ec764e776bd556a9b80b872b78f">PreserveQuads</a>·(bool·on)</td></tr> |
109 | <tr·class="memdesc:a98820ec764e776bd556a9b80b872b78f"><td·class="mdescLeft"> </td><td·class="mdescRight">Select·preservation·of·quads·for·quad-based·subdivision·(requires·4-sided·facets,·default·is·off)··<br·/></td></tr> | 109 | <tr·class="memdesc:a98820ec764e776bd556a9b80b872b78f"><td·class="mdescLeft"> </td><td·class="mdescRight">Select·preservation·of·quads·for·quad-based·subdivision·(requires·4-sided·facets,·default·is·off)··<br·/></td></tr> |
Offset 132, 15 lines modified | Offset 132, 15 lines modified | ||
132 | <tr·class="separator:a3f642ed70a22d6d9d3d2fe79029653f5"><td·class="memSeparator"·colspan="2"> </td></tr> | 132 | <tr·class="separator:a3f642ed70a22d6d9d3d2fe79029653f5"><td·class="memSeparator"·colspan="2"> </td></tr> |
133 | </table> | 133 | </table> |
134 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 134 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
135 | <div·class="textblock"><p><a·class="el"·href="a00965.html"·title="Options·configure·a·Tessellation·to·specify·the·nature·of·both·its·results·and·the·structure·of·the·c...">Options</a>·configure·a·<a·class="el"·href="a00961.html"·title="Encapsulates·a·specific·tessellation·pattern·of·a·Parameterization.">Tessellation</a>·to·specify·the·nature·of·both·its·results·and·the·structure·of·the·coordinate·and·facet·index·arrays·that·its·methods·will·populate.·</p> | 135 | <div·class="textblock"><p><a·class="el"·href="a00965.html"·title="Options·configure·a·Tessellation·to·specify·the·nature·of·both·its·results·and·the·structure·of·the·c...">Options</a>·configure·a·<a·class="el"·href="a00961.html"·title="Encapsulates·a·specific·tessellation·pattern·of·a·Parameterization.">Tessellation</a>·to·specify·the·nature·of·both·its·results·and·the·structure·of·the·coordinate·and·facet·index·arrays·that·its·methods·will·populate.·</p> |
136 | <p>The·sizes·and·strides·of·the·target·arrays·should·be·specified·explicitly·as·they·are·not·inferred·by·the·presence·of·other·options.</p> | 136 | <p>The·sizes·and·strides·of·the·target·arrays·should·be·specified·explicitly·as·they·are·not·inferred·by·the·presence·of·other·options.</p> |
137 | <p>Modifiers·of·<a·class="el"·href="a00965.html"·title="Options·configure·a·Tessellation·to·specify·the·nature·of·both·its·results·and·the·structure·of·the·c...">Options</a>·return·a·reference·to·itself·to·facilitate·inline·usage.·</p> | 137 | <p>Modifiers·of·<a·class="el"·href="a00965.html"·title="Options·configure·a·Tessellation·to·specify·the·nature·of·both·its·results·and·the·structure·of·the·c...">Options</a>·return·a·reference·to·itself·to·facilitate·inline·usage.·</p> |
138 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0067 | 138 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00677_source.html#l00065">65</a>·of·file·<a·class="el"·href="a00677_source.html">tessellation.h</a>.</p> |
139 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 139 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
140 | <a·id="a28d39a844c3a37ab61d32ab7c6352f09"·name="a28d39a844c3a37ab61d32ab7c6352f09"></a> | 140 | <a·id="a28d39a844c3a37ab61d32ab7c6352f09"·name="a28d39a844c3a37ab61d32ab7c6352f09"></a> |
141 | <h2·class="memtitle"><span·class="permalink"><a·href="#a28d39a844c3a37ab61d32ab7c6352f09">◆ </a></span>Options()</h2> | 141 | <h2·class="memtitle"><span·class="permalink"><a·href="#a28d39a844c3a37ab61d32ab7c6352f09">◆ </a></span>Options()</h2> |
142 | <div·class="memitem"> | 142 | <div·class="memitem"> |
143 | <div·class="memproto"> | 143 | <div·class="memproto"> |
144 | <table·class="mlabels"> | 144 | <table·class="mlabels"> |
Offset 157, 15 lines modified | Offset 157, 15 lines modified | ||
157 | ··</td> | 157 | ··</td> |
158 | ··<td·class="mlabels-right"> | 158 | ··<td·class="mlabels-right"> |
159 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 159 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
160 | ··</tr> | 160 | ··</tr> |
161 | </table> | 161 | </table> |
162 | </div><div·class="memdoc"> | 162 | </div><div·class="memdoc"> |
163 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0067 | 163 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00677_source.html#l00067">67</a>·of·file·<a·class="el"·href="a00677_source.html">tessellation.h</a>.</p> |
164 | </div> | 164 | </div> |
165 | </div> | 165 | </div> |
166 | <h2·class="groupheader">Member·Function·Documentation</h2> | 166 | <h2·class="groupheader">Member·Function·Documentation</h2> |
167 | <a·id="a3f642ed70a22d6d9d3d2fe79029653f5"·name="a3f642ed70a22d6d9d3d2fe79029653f5"></a> | 167 | <a·id="a3f642ed70a22d6d9d3d2fe79029653f5"·name="a3f642ed70a22d6d9d3d2fe79029653f5"></a> |
168 | <h2·class="memtitle"><span·class="permalink"><a·href="#a3f642ed70a22d6d9d3d2fe79029653f5">◆ </a></span>GetCoordStride()</h2> | 168 | <h2·class="memtitle"><span·class="permalink"><a·href="#a3f642ed70a22d6d9d3d2fe79029653f5">◆ </a></span>GetCoordStride()</h2> |
Offset 187, 15 lines modified | Offset 187, 15 lines modified | ||
187 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 187 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
188 | ··</tr> | 188 | ··</tr> |
189 | </table> | 189 | </table> |
190 | </div><div·class="memdoc"> | 190 | </div><div·class="memdoc"> |
191 | <p>Return·the·stride·between·(u,v)·pairs.·</p> | 191 | <p>Return·the·stride·between·(u,v)·pairs.·</p> |
192 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0067 | 192 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00677_source.html#l00090">90</a>·of·file·<a·class="el"·href="a00677_source.html">tessellation.h</a>.</p> |
193 | </div> | 193 | </div> |
194 | </div> | 194 | </div> |
195 | <a·id="a671621e55bfbc48db77919d5fd31744f"·name="a671621e55bfbc48db77919d5fd31744f"></a> | 195 | <a·id="a671621e55bfbc48db77919d5fd31744f"·name="a671621e55bfbc48db77919d5fd31744f"></a> |
196 | <h2·class="memtitle"><span·class="permalink"><a·href="#a671621e55bfbc48db77919d5fd31744f">◆ </a></span>GetFacetSize()</h2> | 196 | <h2·class="memtitle"><span·class="permalink"><a·href="#a671621e55bfbc48db77919d5fd31744f">◆ </a></span>GetFacetSize()</h2> |
197 | <div·class="memitem"> | 197 | <div·class="memitem"> |
Offset 214, 15 lines modified | Offset 214, 15 lines modified | ||
214 | ··</td> | 214 | ··</td> |
215 | ··<td·class="mlabels-right"> | 215 | ··<td·class="mlabels-right"> |
216 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 216 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
217 | ··</tr> | 217 | ··</tr> |
218 | </table> | 218 | </table> |
219 | </div><div·class="memdoc"> | 219 | </div><div·class="memdoc"> |
220 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0067 | 220 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00677_source.html#l00080">80</a>·of·file·<a·class="el"·href="a00677_source.html">tessellation.h</a>.</p> |
221 | </div> | 221 | </div> |
222 | </div> | 222 | </div> |
223 | <a·id="a54b068769e4e728e78528f9bdde25b86"·name="a54b068769e4e728e78528f9bdde25b86"></a> | 223 | <a·id="a54b068769e4e728e78528f9bdde25b86"·name="a54b068769e4e728e78528f9bdde25b86"></a> |
224 | <h2·class="memtitle"><span·class="permalink"><a·href="#a54b068769e4e728e78528f9bdde25b86">◆ </a></span>GetFacetStride()</h2> | 224 | <h2·class="memtitle"><span·class="permalink"><a·href="#a54b068769e4e728e78528f9bdde25b86">◆ </a></span>GetFacetStride()</h2> |
225 | <div·class="memitem"> | 225 | <div·class="memitem"> |
Offset 243, 15 lines modified | Offset 243, 15 lines modified | ||
243 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 243 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
244 | ··</tr> | 244 | ··</tr> |
245 | </table> | 245 | </table> |
246 | </div><div·class="memdoc"> | 246 | </div><div·class="memdoc"> |
247 | <p>Return·the·stride·between·facets.·</p> | 247 | <p>Return·the·stride·between·facets.·</p> |
248 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0067 | 248 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00677_source.html#l00085">85</a>·of·file·<a·class="el"·href="a00677_source.html">tessellation.h</a>.</p> |
249 | </div> | 249 | </div> |
250 | </div> | 250 | </div> |
251 | <a·id="ae2ec197b850e8bd12878cc67a503a07a"·name="ae2ec197b850e8bd12878cc67a503a07a"></a> | 251 | <a·id="ae2ec197b850e8bd12878cc67a503a07a"·name="ae2ec197b850e8bd12878cc67a503a07a"></a> |
252 | <h2·class="memtitle"><span·class="permalink"><a·href="#ae2ec197b850e8bd12878cc67a503a07a">◆ </a></span>PreserveQuads()·<span·class="overload">[1/2]</span></h2> | 252 | <h2·class="memtitle"><span·class="permalink"><a·href="#ae2ec197b850e8bd12878cc67a503a07a">◆ </a></span>PreserveQuads()·<span·class="overload">[1/2]</span></h2> |
253 | <div·class="memitem"> | 253 | <div·class="memitem"> |
Offset 272, 15 lines modified | Offset 272, 15 lines modified | ||
272 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 272 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
273 | ··</tr> | 273 | ··</tr> |
274 | </table> | 274 | </table> |
275 | </div><div·class="memdoc"> | 275 | </div><div·class="memdoc"> |
276 | <p>Return·if·preservation·of·quads·is·set.·</p> | 276 | <p>Return·if·preservation·of·quads·is·set.·</p> |
277 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0067 | 277 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00677_source.html#l00074">74</a>·of·file·<a·class="el"·href="a00677_source.html">tessellation.h</a>.</p> |
278 | </div> | 278 | </div> |
279 | </div> | 279 | </div> |
280 | <a·id="a98820ec764e776bd556a9b80b872b78f"·name="a98820ec764e776bd556a9b80b872b78f"></a> | 280 | <a·id="a98820ec764e776bd556a9b80b872b78f"·name="a98820ec764e776bd556a9b80b872b78f"></a> |
281 | <h2·class="memtitle"><span·class="permalink"><a·href="#a98820ec764e776bd556a9b80b872b78f">◆ </a></span>PreserveQuads()·<span·class="overload">[2/2]</span></h2> | 281 | <h2·class="memtitle"><span·class="permalink"><a·href="#a98820ec764e776bd556a9b80b872b78f">◆ </a></span>PreserveQuads()·<span·class="overload">[2/2]</span></h2> |
282 | <div·class="memitem"> | 282 | <div·class="memitem"> |
Offset 302, 15 lines modified | Offset 302, 15 lines modified | ||
302 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 302 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
303 | ··</tr> | 303 | ··</tr> |
304 | </table> | 304 | </table> |
305 | </div><div·class="memdoc"> | 305 | </div><div·class="memdoc"> |
306 | <p>Select·preservation·of·quads·for·quad-based·subdivision·(requires·4-sided·facets,·default·is·off)·</p> | 306 | <p>Select·preservation·of·quads·for·quad-based·subdivision·(requires·4-sided·facets,·default·is·off)·</p> |
307 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0067 | 307 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00677_source.html#l00343">343</a>·of·file·<a·class="el"·href="a00677_source.html">tessellation.h</a>.</p> |
308 | </div> | 308 | </div> |
309 | </div> | 309 | </div> |
310 | <a·id="aa7688afdaece2c387e8963d634752aa6"·name="aa7688afdaece2c387e8963d634752aa6"></a> | 310 | <a·id="aa7688afdaece2c387e8963d634752aa6"·name="aa7688afdaece2c387e8963d634752aa6"></a> |
311 | <h2·class="memtitle"><span·class="permalink"><a·href="#aa7688afdaece2c387e8963d634752aa6">◆ </a></span>SetCoordStride()</h2> | 311 | <h2·class="memtitle"><span·class="permalink"><a·href="#aa7688afdaece2c387e8963d634752aa6">◆ </a></span>SetCoordStride()</h2> |
312 | <div·class="memitem"> | 312 | <div·class="memitem"> |
Max diff block lines reached; 2981/11709 bytes (25.46%) of diff not shown. |
Offset 96, 15 lines modified | Offset 96, 15 lines modified | ||
96 | ··<div·class="headertitle"><div·class="title">VertexDescriptor·Class·Reference</div></div> | 96 | ··<div·class="headertitle"><div·class="title">VertexDescriptor·Class·Reference</div></div> |
97 | </div><!--header--> | 97 | </div><!--header--> |
98 | <div·class="contents"> | 98 | <div·class="contents"> |
99 | <p>Simple·class·used·by·subclasses·of·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·to·describe·a·vertex.·· | 99 | <p>Simple·class·used·by·subclasses·of·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·to·describe·a·vertex.·· |
100 | ·<a·href="a00969.html#details">More...</a></p> | 100 | ·<a·href="a00969.html#details">More...</a></p> |
101 | <p><code>#include·<<a·class="el"·href="a0067 | 101 | <p><code>#include·<<a·class="el"·href="a00674_source.html">vertexDescriptor.h</a>></code></p> |
102 | <table·class="memberdecls"> | 102 | <table·class="memberdecls"> |
103 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 103 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
104 | Public·Member·Functions</h2></td></tr> | 104 | Public·Member·Functions</h2></td></tr> |
105 | <tr><td·colspan="2"><div·class="groupHeader">Methods·to·begin·and·end·specification</div></td></tr> | 105 | <tr><td·colspan="2"><div·class="groupHeader">Methods·to·begin·and·end·specification</div></td></tr> |
106 | <tr><td·colspan="2"><div·class="groupText"><p>Partially·constructed·instances·are·populated·using·a·set·of·methods·between·calls·to·<a·class="el"·href="a00969.html#a1d4a38a2944a3705bfbd325766bda216"·title="Initialize·specification·with·the·number·of·incident·faces.">Initialize()</a>·and·<a·class="el"·href="a00969.html#a0cb0c1f4fa225637898cf1c7420bc064"·title="Terminate·the·sequence·of·specifications.">Finalize()</a>.·Both·return·false·to·indicate·failure·due·to·invalid·input,·or·the·instance·can·be·inspected·after·each·to·determine·if·valid.·</p> | 106 | <tr><td·colspan="2"><div·class="groupText"><p>Partially·constructed·instances·are·populated·using·a·set·of·methods·between·calls·to·<a·class="el"·href="a00969.html#a1d4a38a2944a3705bfbd325766bda216"·title="Initialize·specification·with·the·number·of·incident·faces.">Initialize()</a>·and·<a·class="el"·href="a00969.html#a0cb0c1f4fa225637898cf1c7420bc064"·title="Terminate·the·sequence·of·specifications.">Finalize()</a>.·Both·return·false·to·indicate·failure·due·to·invalid·input,·or·the·instance·can·be·inspected·after·each·to·determine·if·valid.·</p> |
107 | </div></td></tr> | 107 | </div></td></tr> |
108 | <tr·class="memitem:a1d4a38a2944a3705bfbd325766bda216"·id="r_a1d4a38a2944a3705bfbd325766bda216"><td·class="memItemLeft"·align="right"·valign="top">bool </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00969.html#a1d4a38a2944a3705bfbd325766bda216">Initialize</a>·(int·numIncidentFaces)</td></tr> | 108 | <tr·class="memitem:a1d4a38a2944a3705bfbd325766bda216"·id="r_a1d4a38a2944a3705bfbd325766bda216"><td·class="memItemLeft"·align="right"·valign="top">bool </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00969.html#a1d4a38a2944a3705bfbd325766bda216">Initialize</a>·(int·numIncidentFaces)</td></tr> |
Offset 178, 15 lines modified | Offset 178, 15 lines modified | ||
178 | <tr·class="separator:aa57d6053ca61cdf53b36937812b09307"><td·class="memSeparator"·colspan="2"> </td></tr> | 178 | <tr·class="separator:aa57d6053ca61cdf53b36937812b09307"><td·class="memSeparator"·colspan="2"> </td></tr> |
179 | </table> | 179 | </table> |
180 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 180 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
181 | <div·class="textblock"><p>Simple·class·used·by·subclasses·of·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·to·describe·a·vertex.·</p> | 181 | <div·class="textblock"><p>Simple·class·used·by·subclasses·of·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·to·describe·a·vertex.·</p> |
182 | <p><a·class="el"·href="a00969.html"·title="Simple·class·used·by·subclasses·of·SurfaceFactory·to·describe·a·vertex.">VertexDescriptor</a>·is·a·simple·class·used·by·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·and·its·subclasses·to·provide·a·complete·topological·description·around·the·vertex·of·a·face,·i.e.·its·valence,·the·sizes·of·its·incident·faces,·sharpness·values,·etc.</p> | 182 | <p><a·class="el"·href="a00969.html"·title="Simple·class·used·by·subclasses·of·SurfaceFactory·to·describe·a·vertex.">VertexDescriptor</a>·is·a·simple·class·used·by·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·and·its·subclasses·to·provide·a·complete·topological·description·around·the·vertex·of·a·face,·i.e.·its·valence,·the·sizes·of·its·incident·faces,·sharpness·values,·etc.</p> |
183 | <p>Instances·are·created·and·partially·initialized·by·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·before·being·passed·to·its·subclasses·to·be·fully·populated.·So·public·construction·is·not·available·(or·useful).·</p> | 183 | <p>Instances·are·created·and·partially·initialized·by·<a·class="el"·href="a00941.html"·title="Base·class·providing·initialization·of·a·Surface·for·each·face·of·a·mesh.">SurfaceFactory</a>·before·being·passed·to·its·subclasses·to·be·fully·populated.·So·public·construction·is·not·available·(or·useful).·</p> |
184 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0067 | 184 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00674_source.html#l00131">131</a>·of·file·<a·class="el"·href="a00674_source.html">vertexDescriptor.h</a>.</p> |
185 | </div><h2·class="groupheader">Member·Function·Documentation</h2> | 185 | </div><h2·class="groupheader">Member·Function·Documentation</h2> |
186 | <a·id="a831025d6d817c4afb1df7d5a705af378"·name="a831025d6d817c4afb1df7d5a705af378"></a> | 186 | <a·id="a831025d6d817c4afb1df7d5a705af378"·name="a831025d6d817c4afb1df7d5a705af378"></a> |
187 | <h2·class="memtitle"><span·class="permalink"><a·href="#a831025d6d817c4afb1df7d5a705af378">◆ </a></span>ClearEdgeSharpness()</h2> | 187 | <h2·class="memtitle"><span·class="permalink"><a·href="#a831025d6d817c4afb1df7d5a705af378">◆ </a></span>ClearEdgeSharpness()</h2> |
188 | <div·class="memitem"> | 188 | <div·class="memitem"> |
189 | <div·class="memproto"> | 189 | <div·class="memproto"> |
190 | <table·class="mlabels"> | 190 | <table·class="mlabels"> |
Offset 205, 15 lines modified | Offset 205, 15 lines modified | ||
205 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 205 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
206 | ··</tr> | 206 | ··</tr> |
207 | </table> | 207 | </table> |
208 | </div><div·class="memdoc"> | 208 | </div><div·class="memdoc"> |
209 | <p>Remove·any·sharpness·assigned·to·the·incident·edges.·</p> | 209 | <p>Remove·any·sharpness·assigned·to·the·incident·edges.·</p> |
210 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0067 | 210 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00674_source.html#l00398">398</a>·of·file·<a·class="el"·href="a00674_source.html">vertexDescriptor.h</a>.</p> |
211 | </div> | 211 | </div> |
212 | </div> | 212 | </div> |
213 | <a·id="a5c719e43580059139938a6ed0f851853"·name="a5c719e43580059139938a6ed0f851853"></a> | 213 | <a·id="a5c719e43580059139938a6ed0f851853"·name="a5c719e43580059139938a6ed0f851853"></a> |
214 | <h2·class="memtitle"><span·class="permalink"><a·href="#a5c719e43580059139938a6ed0f851853">◆ </a></span>ClearIncidentFaceSizes()</h2> | 214 | <h2·class="memtitle"><span·class="permalink"><a·href="#a5c719e43580059139938a6ed0f851853">◆ </a></span>ClearIncidentFaceSizes()</h2> |
215 | <div·class="memitem"> | 215 | <div·class="memitem"> |
Offset 234, 15 lines modified | Offset 234, 15 lines modified | ||
234 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 234 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
235 | ··</tr> | 235 | ··</tr> |
236 | </table> | 236 | </table> |
237 | </div><div·class="memdoc"> | 237 | </div><div·class="memdoc"> |
238 | <p>Remove·any·assigned·sizes·of·incident·faces.·</p> | 238 | <p>Remove·any·assigned·sizes·of·incident·faces.·</p> |
239 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0067 | 239 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00674_source.html#l00350">350</a>·of·file·<a·class="el"·href="a00674_source.html">vertexDescriptor.h</a>.</p> |
240 | </div> | 240 | </div> |
241 | </div> | 241 | </div> |
242 | <a·id="a68afc60df5a617f5d7e1580548b72f9b"·name="a68afc60df5a617f5d7e1580548b72f9b"></a> | 242 | <a·id="a68afc60df5a617f5d7e1580548b72f9b"·name="a68afc60df5a617f5d7e1580548b72f9b"></a> |
243 | <h2·class="memtitle"><span·class="permalink"><a·href="#a68afc60df5a617f5d7e1580548b72f9b">◆ </a></span>ClearVertexSharpness()</h2> | 243 | <h2·class="memtitle"><span·class="permalink"><a·href="#a68afc60df5a617f5d7e1580548b72f9b">◆ </a></span>ClearVertexSharpness()</h2> |
244 | <div·class="memitem"> | 244 | <div·class="memitem"> |
Offset 263, 15 lines modified | Offset 263, 15 lines modified | ||
263 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 263 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
264 | ··</tr> | 264 | ··</tr> |
265 | </table> | 265 | </table> |
266 | </div><div·class="memdoc"> | 266 | </div><div·class="memdoc"> |
267 | <p>Remove·any·sharpness·assigned·to·the·vertex.·</p> | 267 | <p>Remove·any·sharpness·assigned·to·the·vertex.·</p> |
268 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0067 | 268 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00674_source.html#l00377">377</a>·of·file·<a·class="el"·href="a00674_source.html">vertexDescriptor.h</a>.</p> |
269 | </div> | 269 | </div> |
270 | </div> | 270 | </div> |
271 | <a·id="a0cb0c1f4fa225637898cf1c7420bc064"·name="a0cb0c1f4fa225637898cf1c7420bc064"></a> | 271 | <a·id="a0cb0c1f4fa225637898cf1c7420bc064"·name="a0cb0c1f4fa225637898cf1c7420bc064"></a> |
272 | <h2·class="memtitle"><span·class="permalink"><a·href="#a0cb0c1f4fa225637898cf1c7420bc064">◆ </a></span>Finalize()</h2> | 272 | <h2·class="memtitle"><span·class="permalink"><a·href="#a0cb0c1f4fa225637898cf1c7420bc064">◆ </a></span>Finalize()</h2> |
273 | <div·class="memitem"> | 273 | <div·class="memitem"> |
Offset 328, 15 lines modified | Offset 328, 15 lines modified | ||
328 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 328 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
329 | ··</tr> | 329 | ··</tr> |
330 | </table> | 330 | </table> |
331 | </div><div·class="memdoc"> | 331 | </div><div·class="memdoc"> |
332 | <p>Return·the·sharpness·assigned·to·edges·of·an·incident·face.·</p> | 332 | <p>Return·the·sharpness·assigned·to·edges·of·an·incident·face.·</p> |
333 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0067 | 333 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00674_source.html#l00436">436</a>·of·file·<a·class="el"·href="a00674_source.html">vertexDescriptor.h</a>.</p> |
334 | </div> | 334 | </div> |
335 | </div> | 335 | </div> |
336 | <a·id="a434afb577a5e287b615364d94d124e84"·name="a434afb577a5e287b615364d94d124e84"></a> | 336 | <a·id="a434afb577a5e287b615364d94d124e84"·name="a434afb577a5e287b615364d94d124e84"></a> |
337 | <h2·class="memtitle"><span·class="permalink"><a·href="#a434afb577a5e287b615364d94d124e84">◆ </a></span>GetIncidentFaceSize()</h2> | 337 | <h2·class="memtitle"><span·class="permalink"><a·href="#a434afb577a5e287b615364d94d124e84">◆ </a></span>GetIncidentFaceSize()</h2> |
338 | <div·class="memitem"> | 338 | <div·class="memitem"> |
Offset 358, 15 lines modified | Offset 358, 15 lines modified | ||
358 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 358 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
359 | ··</tr> | 359 | ··</tr> |
360 | </table> | 360 | </table> |
361 | </div><div·class="memdoc"> | 361 | </div><div·class="memdoc"> |
362 | <p>Return·the·size·of·an·incident·face.·</p> | 362 | <p>Return·the·size·of·an·incident·face.·</p> |
363 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0067 | 363 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00674_source.html#l00362">362</a>·of·file·<a·class="el"·href="a00674_source.html">vertexDescriptor.h</a>.</p> |
364 | </div> | 364 | </div> |
365 | </div> | 365 | </div> |
366 | <a·id="a460ea7c821fd4c2522de6503f9c25866"·name="a460ea7c821fd4c2522de6503f9c25866"></a> | 366 | <a·id="a460ea7c821fd4c2522de6503f9c25866"·name="a460ea7c821fd4c2522de6503f9c25866"></a> |
367 | <h2·class="memtitle"><span·class="permalink"><a·href="#a460ea7c821fd4c2522de6503f9c25866">◆ </a></span>GetManifoldEdgeSharpness()</h2> | 367 | <h2·class="memtitle"><span·class="permalink"><a·href="#a460ea7c821fd4c2522de6503f9c25866">◆ </a></span>GetManifoldEdgeSharpness()</h2> |
368 | <div·class="memitem"> | 368 | <div·class="memitem"> |
Offset 388, 15 lines modified | Offset 388, 15 lines modified | ||
388 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 388 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
389 | ··</tr> | 389 | ··</tr> |
390 | </table> | 390 | </table> |
391 | </div><div·class="memdoc"> | 391 | </div><div·class="memdoc"> |
392 | <p>Return·the·sharpness·assigned·to·a·manifold·edge.·</p> | 392 | <p>Return·the·sharpness·assigned·to·a·manifold·edge.·</p> |
393 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0067 | 393 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00674_source.html#l00420">420</a>·of·file·<a·class="el"·href="a00674_source.html">vertexDescriptor.h</a>.</p> |
394 | </div> | 394 | </div> |
395 | </div> | 395 | </div> |
396 | <a·id="a03588bdc24a8240380aa0972ecae0ea1"·name="a03588bdc24a8240380aa0972ecae0ea1"></a> | 396 | <a·id="a03588bdc24a8240380aa0972ecae0ea1"·name="a03588bdc24a8240380aa0972ecae0ea1"></a> |
397 | <h2·class="memtitle"><span·class="permalink"><a·href="#a03588bdc24a8240380aa0972ecae0ea1">◆ </a></span>GetVertexSharpness()</h2> | 397 | <h2·class="memtitle"><span·class="permalink"><a·href="#a03588bdc24a8240380aa0972ecae0ea1">◆ </a></span>GetVertexSharpness()</h2> |
398 | <div·class="memitem"> | 398 | <div·class="memitem"> |
Max diff block lines reached; 11443/20117 bytes (56.88%) of diff not shown. |
Offset 99, 15 lines modified | Offset 99, 15 lines modified | ||
99 | ··<div·class="headertitle"><div·class="title">PatchMap·Class·Reference</div></div> | 99 | ··<div·class="headertitle"><div·class="title">PatchMap·Class·Reference</div></div> |
100 | </div><!--header--> | 100 | </div><!--header--> |
101 | <div·class="contents"> | 101 | <div·class="contents"> |
102 | <p>An·quadtree-based·map·connecting·coarse·faces·to·their·sub-patches.·· | 102 | <p>An·quadtree-based·map·connecting·coarse·faces·to·their·sub-patches.·· |
103 | ·<a·href="a00977.html#details">More...</a></p> | 103 | ·<a·href="a00977.html#details">More...</a></p> |
104 | <p><code>#include·<<a·class="el"·href="a0073 | 104 | <p><code>#include·<<a·class="el"·href="a00734_source.html">patchMap.h</a>></code></p> |
105 | <table·class="memberdecls"> | 105 | <table·class="memberdecls"> |
106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
107 | Public·Types</h2></td></tr> | 107 | Public·Types</h2></td></tr> |
108 | <tr·class="memitem:ae83a6047fa1e373c7943d54b6dc46402"·id="r_ae83a6047fa1e373c7943d54b6dc46402"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a00997.html">PatchTable::PatchHandle</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00977.html#ae83a6047fa1e373c7943d54b6dc46402">Handle</a></td></tr> | 108 | <tr·class="memitem:ae83a6047fa1e373c7943d54b6dc46402"·id="r_ae83a6047fa1e373c7943d54b6dc46402"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a00997.html">PatchTable::PatchHandle</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00977.html#ae83a6047fa1e373c7943d54b6dc46402">Handle</a></td></tr> |
109 | <tr·class="separator:ae83a6047fa1e373c7943d54b6dc46402"><td·class="memSeparator"·colspan="2"> </td></tr> | 109 | <tr·class="separator:ae83a6047fa1e373c7943d54b6dc46402"><td·class="memSeparator"·colspan="2"> </td></tr> |
110 | </table><table·class="memberdecls"> | 110 | </table><table·class="memberdecls"> |
111 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 111 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
Offset 120, 29 lines modified | Offset 120, 29 lines modified | ||
120 | <tr·class="separator:abc70f9419d5f26ef85cbef5c5b6451f0"><td·class="memSeparator"·colspan="2"> </td></tr> | 120 | <tr·class="separator:abc70f9419d5f26ef85cbef5c5b6451f0"><td·class="memSeparator"·colspan="2"> </td></tr> |
121 | </table> | 121 | </table> |
122 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 122 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
123 | <div·class="textblock"><p>An·quadtree-based·map·connecting·coarse·faces·to·their·sub-patches.·</p> | 123 | <div·class="textblock"><p>An·quadtree-based·map·connecting·coarse·faces·to·their·sub-patches.·</p> |
124 | <p>PatchTable::PatchArrays·contain·lists·of·patches·that·represent·the·limit·surface·of·a·mesh,·sorted·by·their·topological·type.·These·arrays·break·the·connection·between·coarse·faces·and·their·sub-patches.</p> | 124 | <p>PatchTable::PatchArrays·contain·lists·of·patches·that·represent·the·limit·surface·of·a·mesh,·sorted·by·their·topological·type.·These·arrays·break·the·connection·between·coarse·faces·and·their·sub-patches.</p> |
125 | <p>The·<a·class="el"·href="a00977.html"·title="An·quadtree-based·map·connecting·coarse·faces·to·their·sub-patches.">PatchMap</a>·provides·a·quad-tree·based·lookup·structure·that,·given·a·singular·parametric·location,·can·efficiently·return·a·handle·to·the·sub-patch·that·contains·this·location.·</p> | 125 | <p>The·<a·class="el"·href="a00977.html"·title="An·quadtree-based·map·connecting·coarse·faces·to·their·sub-patches.">PatchMap</a>·provides·a·quad-tree·based·lookup·structure·that,·given·a·singular·parametric·location,·can·efficiently·return·a·handle·to·the·sub-patch·that·contains·this·location.·</p> |
126 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0073 | 126 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00734_source.html#l00049">49</a>·of·file·<a·class="el"·href="a00734_source.html">patchMap.h</a>.</p> |
127 | </div><h2·class="groupheader">Member·Typedef·Documentation</h2> | 127 | </div><h2·class="groupheader">Member·Typedef·Documentation</h2> |
128 | <a·id="ae83a6047fa1e373c7943d54b6dc46402"·name="ae83a6047fa1e373c7943d54b6dc46402"></a> | 128 | <a·id="ae83a6047fa1e373c7943d54b6dc46402"·name="ae83a6047fa1e373c7943d54b6dc46402"></a> |
129 | <h2·class="memtitle"><span·class="permalink"><a·href="#ae83a6047fa1e373c7943d54b6dc46402">◆ </a></span>Handle</h2> | 129 | <h2·class="memtitle"><span·class="permalink"><a·href="#ae83a6047fa1e373c7943d54b6dc46402">◆ </a></span>Handle</h2> |
130 | <div·class="memitem"> | 130 | <div·class="memitem"> |
131 | <div·class="memproto"> | 131 | <div·class="memproto"> |
132 | ······<table·class="memname"> | 132 | ······<table·class="memname"> |
133 | ········<tr> | 133 | ········<tr> |
134 | ··········<td·class="memname">typedef·<a·class="el"·href="a00997.html">PatchTable::PatchHandle</a>·<a·class="el"·href="a00977.html#ae83a6047fa1e373c7943d54b6dc46402">Handle</a></td> | 134 | ··········<td·class="memname">typedef·<a·class="el"·href="a00997.html">PatchTable::PatchHandle</a>·<a·class="el"·href="a00977.html#ae83a6047fa1e373c7943d54b6dc46402">Handle</a></td> |
135 | ········</tr> | 135 | ········</tr> |
136 | ······</table> | 136 | ······</table> |
137 | </div><div·class="memdoc"> | 137 | </div><div·class="memdoc"> |
138 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0073 | 138 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00734_source.html#l00052">52</a>·of·file·<a·class="el"·href="a00734_source.html">patchMap.h</a>.</p> |
139 | </div> | 139 | </div> |
140 | </div> | 140 | </div> |
141 | <h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 141 | <h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
142 | <a·id="a016619de52fd79dbcdb879cc12b79200"·name="a016619de52fd79dbcdb879cc12b79200"></a> | 142 | <a·id="a016619de52fd79dbcdb879cc12b79200"·name="a016619de52fd79dbcdb879cc12b79200"></a> |
143 | <h2·class="memtitle"><span·class="permalink"><a·href="#a016619de52fd79dbcdb879cc12b79200">◆ </a></span>PatchMap()</h2> | 143 | <h2·class="memtitle"><span·class="permalink"><a·href="#a016619de52fd79dbcdb879cc12b79200">◆ </a></span>PatchMap()</h2> |
Offset 218, 20 lines modified | Offset 218, 20 lines modified | ||
218 | ····<tr><td·class="paramname">u</td><td>Local·u·parameter</td></tr> | 218 | ····<tr><td·class="paramname">u</td><td>Local·u·parameter</td></tr> |
219 | ····<tr><td·class="paramname">v</td><td>Local·v·parameter</td></tr> | 219 | ····<tr><td·class="paramname">v</td><td>Local·v·parameter</td></tr> |
220 | ··</table> | 220 | ··</table> |
221 | ··</dd> | 221 | ··</dd> |
222 | </dl> | 222 | </dl> |
223 | <dl·class="section·return"><dt>Returns</dt><dd>A·patch·handle·or·0·if·the·face·is·not·supported·(index·out·of·bounds)·or·is·tagged·as·a·hole·</dd></dl> | 223 | <dl·class="section·return"><dt>Returns</dt><dd>A·patch·handle·or·0·if·the·face·is·not·supported·(index·out·of·bounds)·or·is·tagged·as·a·hole·</dd></dl> |
224 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0073 | 224 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00734_source.html#l00193">193</a>·of·file·<a·class="el"·href="a00734_source.html">patchMap.h</a>.</p> |
225 | </div> | 225 | </div> |
226 | </div> | 226 | </div> |
227 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 227 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
228 | <li>opensubdiv/far/<a·class="el"·href="a0073 | 228 | <li>opensubdiv/far/<a·class="el"·href="a00734_source.html">patchMap.h</a></li> |
229 | </ul> | 229 | </ul> |
230 | </div><!--·contents·--> | 230 | </div><!--·contents·--> |
231 | </div><!--·doc-content·--> | 231 | </div><!--·doc-content·--> |
232 | <!--·start·footer·part·--> | 232 | <!--·start·footer·part·--> |
233 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 233 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
234 | ··<ul> | 234 | ··<ul> |
235 | ····<li·class="navelem"><a·class="el"·href="a00905.html">OpenSubdiv</a></li><li·class="navelem"><a·class="el"·href="a00906.html">OPENSUBDIV_VERSION</a></li><li·class="navelem"><a·class="el"·href="a00908.html">Far</a></li><li·class="navelem"><a·class="el"·href="a00977.html">PatchMap</a></li> | 235 | ····<li·class="navelem"><a·class="el"·href="a00905.html">OpenSubdiv</a></li><li·class="navelem"><a·class="el"·href="a00906.html">OPENSUBDIV_VERSION</a></li><li·class="navelem"><a·class="el"·href="a00908.html">Far</a></li><li·class="navelem"><a·class="el"·href="a00977.html">PatchMap</a></li> |
Offset 94, 42 lines modified | Offset 94, 42 lines modified | ||
94 | ··<div·class="summary"> | 94 | ··<div·class="summary"> |
95 | <a·href="#pub-attribs">Public·Attributes</a>·| | 95 | <a·href="#pub-attribs">Public·Attributes</a>·| |
96 | <a·href="a00982.html">List·of·all·members</a>··</div> | 96 | <a·href="a00982.html">List·of·all·members</a>··</div> |
97 | ··<div·class="headertitle"><div·class="title">PatchMap::QuadNode::Child·Struct·Reference</div></div> | 97 | ··<div·class="headertitle"><div·class="title">PatchMap::QuadNode::Child·Struct·Reference</div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <p><code>#include·<<a·class="el"·href="a0073 | 100 | <p><code>#include·<<a·class="el"·href="a00734_source.html">patchMap.h</a>></code></p> |
101 | <table·class="memberdecls"> | 101 | <table·class="memberdecls"> |
102 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> | 102 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> |
103 | Public·Attributes</h2></td></tr> | 103 | Public·Attributes</h2></td></tr> |
104 | <tr·class="memitem:ad3e71fff03a23f93fef41adc5d367435"·id="r_ad3e71fff03a23f93fef41adc5d367435"><td·class="memItemLeft"·align="right"·valign="top">unsigned·int </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00985.html#ad3e71fff03a23f93fef41adc5d367435">isSet</a>:·1</td></tr> | 104 | <tr·class="memitem:ad3e71fff03a23f93fef41adc5d367435"·id="r_ad3e71fff03a23f93fef41adc5d367435"><td·class="memItemLeft"·align="right"·valign="top">unsigned·int </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00985.html#ad3e71fff03a23f93fef41adc5d367435">isSet</a>:·1</td></tr> |
105 | <tr·class="separator:ad3e71fff03a23f93fef41adc5d367435"><td·class="memSeparator"·colspan="2"> </td></tr> | 105 | <tr·class="separator:ad3e71fff03a23f93fef41adc5d367435"><td·class="memSeparator"·colspan="2"> </td></tr> |
106 | <tr·class="memitem:a07e7a9f4469398070886a336d833daa9"·id="r_a07e7a9f4469398070886a336d833daa9"><td·class="memItemLeft"·align="right"·valign="top">unsigned·int </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00985.html#a07e7a9f4469398070886a336d833daa9">isLeaf</a>:·1</td></tr> | 106 | <tr·class="memitem:a07e7a9f4469398070886a336d833daa9"·id="r_a07e7a9f4469398070886a336d833daa9"><td·class="memItemLeft"·align="right"·valign="top">unsigned·int </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00985.html#a07e7a9f4469398070886a336d833daa9">isLeaf</a>:·1</td></tr> |
107 | <tr·class="separator:a07e7a9f4469398070886a336d833daa9"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:a07e7a9f4469398070886a336d833daa9"><td·class="memSeparator"·colspan="2"> </td></tr> |
108 | <tr·class="memitem:a589d64202487f78e3cc30dd2e04c5201"·id="r_a589d64202487f78e3cc30dd2e04c5201"><td·class="memItemLeft"·align="right"·valign="top">unsigned·int </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00985.html#a589d64202487f78e3cc30dd2e04c5201">index</a>:·30</td></tr> | 108 | <tr·class="memitem:a589d64202487f78e3cc30dd2e04c5201"·id="r_a589d64202487f78e3cc30dd2e04c5201"><td·class="memItemLeft"·align="right"·valign="top">unsigned·int </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00985.html#a589d64202487f78e3cc30dd2e04c5201">index</a>:·30</td></tr> |
109 | <tr·class="separator:a589d64202487f78e3cc30dd2e04c5201"><td·class="memSeparator"·colspan="2"> </td></tr> | 109 | <tr·class="separator:a589d64202487f78e3cc30dd2e04c5201"><td·class="memSeparator"·colspan="2"> </td></tr> |
110 | </table> | 110 | </table> |
111 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 111 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
112 | <div·class="textblock"> | 112 | <div·class="textblock"> |
113 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0073 | 113 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00734_source.html#l00085">85</a>·of·file·<a·class="el"·href="a00734_source.html">patchMap.h</a>.</p> |
114 | </div><h2·class="groupheader">Member·Data·Documentation</h2> | 114 | </div><h2·class="groupheader">Member·Data·Documentation</h2> |
115 | <a·id="a589d64202487f78e3cc30dd2e04c5201"·name="a589d64202487f78e3cc30dd2e04c5201"></a> | 115 | <a·id="a589d64202487f78e3cc30dd2e04c5201"·name="a589d64202487f78e3cc30dd2e04c5201"></a> |
116 | <h2·class="memtitle"><span·class="permalink"><a·href="#a589d64202487f78e3cc30dd2e04c5201">◆ </a></span>index</h2> | 116 | <h2·class="memtitle"><span·class="permalink"><a·href="#a589d64202487f78e3cc30dd2e04c5201">◆ </a></span>index</h2> |
117 | <div·class="memitem"> | 117 | <div·class="memitem"> |
118 | <div·class="memproto"> | 118 | <div·class="memproto"> |
119 | ······<table·class="memname"> | 119 | ······<table·class="memname"> |
120 | ········<tr> | 120 | ········<tr> |
121 | ··········<td·class="memname">unsigned·int·index</td> | 121 | ··········<td·class="memname">unsigned·int·index</td> |
122 | ········</tr> | 122 | ········</tr> |
123 | ······</table> | 123 | ······</table> |
124 | </div><div·class="memdoc"> | 124 | </div><div·class="memdoc"> |
125 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0073 | 125 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00734_source.html#l00088">88</a>·of·file·<a·class="el"·href="a00734_source.html">patchMap.h</a>.</p> |
126 | </div> | 126 | </div> |
127 | </div> | 127 | </div> |
128 | <a·id="a07e7a9f4469398070886a336d833daa9"·name="a07e7a9f4469398070886a336d833daa9"></a> | 128 | <a·id="a07e7a9f4469398070886a336d833daa9"·name="a07e7a9f4469398070886a336d833daa9"></a> |
129 | <h2·class="memtitle"><span·class="permalink"><a·href="#a07e7a9f4469398070886a336d833daa9">◆ </a></span>isLeaf</h2> | 129 | <h2·class="memtitle"><span·class="permalink"><a·href="#a07e7a9f4469398070886a336d833daa9">◆ </a></span>isLeaf</h2> |
130 | <div·class="memitem"> | 130 | <div·class="memitem"> |
Offset 137, 15 lines modified | Offset 137, 15 lines modified | ||
137 | ······<table·class="memname"> | 137 | ······<table·class="memname"> |
138 | ········<tr> | 138 | ········<tr> |
139 | ··········<td·class="memname">unsigned·int·isLeaf</td> | 139 | ··········<td·class="memname">unsigned·int·isLeaf</td> |
140 | ········</tr> | 140 | ········</tr> |
141 | ······</table> | 141 | ······</table> |
142 | </div><div·class="memdoc"> | 142 | </div><div·class="memdoc"> |
143 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0073 | 143 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00734_source.html#l00087">87</a>·of·file·<a·class="el"·href="a00734_source.html">patchMap.h</a>.</p> |
144 | </div> | 144 | </div> |
145 | </div> | 145 | </div> |
146 | <a·id="ad3e71fff03a23f93fef41adc5d367435"·name="ad3e71fff03a23f93fef41adc5d367435"></a> | 146 | <a·id="ad3e71fff03a23f93fef41adc5d367435"·name="ad3e71fff03a23f93fef41adc5d367435"></a> |
147 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad3e71fff03a23f93fef41adc5d367435">◆ </a></span>isSet</h2> | 147 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad3e71fff03a23f93fef41adc5d367435">◆ </a></span>isSet</h2> |
148 | <div·class="memitem"> | 148 | <div·class="memitem"> |
Offset 153, 20 lines modified | Offset 153, 20 lines modified | ||
153 | ······<table·class="memname"> | 153 | ······<table·class="memname"> |
154 | ········<tr> | 154 | ········<tr> |
155 | ··········<td·class="memname">unsigned·int·isSet</td> | 155 | ··········<td·class="memname">unsigned·int·isSet</td> |
156 | ········</tr> | 156 | ········</tr> |
157 | ······</table> | 157 | ······</table> |
158 | </div><div·class="memdoc"> | 158 | </div><div·class="memdoc"> |
159 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0073 | 159 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00734_source.html#l00086">86</a>·of·file·<a·class="el"·href="a00734_source.html">patchMap.h</a>.</p> |
160 | </div> | 160 | </div> |
161 | </div> | 161 | </div> |
162 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> | 162 | <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul> |
163 | <li>opensubdiv/far/<a·class="el"·href="a0073 | 163 | <li>opensubdiv/far/<a·class="el"·href="a00734_source.html">patchMap.h</a></li> |
164 | </ul> | 164 | </ul> |
165 | </div><!--·contents·--> | 165 | </div><!--·contents·--> |
166 | </div><!--·doc-content·--> | 166 | </div><!--·doc-content·--> |
167 | <!--·start·footer·part·--> | 167 | <!--·start·footer·part·--> |
168 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 168 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
169 | ··<ul> | 169 | ··<ul> |
170 | ····<li·class="navelem"><a·class="el"·href="a00905.html">OpenSubdiv</a></li><li·class="navelem"><a·class="el"·href="a00906.html">OPENSUBDIV_VERSION</a></li><li·class="navelem"><a·class="el"·href="a00908.html">Far</a></li><li·class="navelem"><a·class="el"·href="a00977.html">PatchMap</a></li><li·class="navelem"><b>QuadNode</b></li><li·class="navelem"><a·class="el"·href="a00985.html">Child</a></li> | 170 | ····<li·class="navelem"><a·class="el"·href="a00905.html">OpenSubdiv</a></li><li·class="navelem"><a·class="el"·href="a00906.html">OPENSUBDIV_VERSION</a></li><li·class="navelem"><a·class="el"·href="a00908.html">Far</a></li><li·class="navelem"><a·class="el"·href="a00977.html">PatchMap</a></li><li·class="navelem"><b>QuadNode</b></li><li·class="navelem"><a·class="el"·href="a00985.html">Child</a></li> |
Offset 98, 15 lines modified | Offset 98, 15 lines modified | ||
98 | ··<div·class="headertitle"><div·class="title">PatchTable·Class·Reference</div></div> | 98 | ··<div·class="headertitle"><div·class="title">PatchTable·Class·Reference</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <p>Container·for·arrays·of·parametric·patches.·· | 101 | <p>Container·for·arrays·of·parametric·patches.·· |
102 | ·<a·href="a00993.html#details">More...</a></p> | 102 | ·<a·href="a00993.html#details">More...</a></p> |
103 | <p><code>#include·<<a·class="el"·href="a0073 | 103 | <p><code>#include·<<a·class="el"·href="a00731_source.html">patchTable.h</a>></code></p> |
104 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
106 | Classes</h2></td></tr> | 106 | Classes</h2></td></tr> |
107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00997.html">PatchHandle</a></td></tr> | 107 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00997.html">PatchHandle</a></td></tr> |
108 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Handle·that·can·be·used·as·unique·patch·identifier·within·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">PatchTable</a>.··<a·href="a00997.html#details">More...</a><br·/></td></tr> | 108 | <tr·class="memdesc:"><td·class="mdescLeft"> </td><td·class="mdescRight">Handle·that·can·be·used·as·unique·patch·identifier·within·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">PatchTable</a>.··<a·href="a00997.html#details">More...</a><br·/></td></tr> |
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
110 | </table><table·class="memberdecls"> | 110 | </table><table·class="memberdecls"> |
Offset 420, 15 lines modified | Offset 420, 15 lines modified | ||
420 | </table> | 420 | </table> |
421 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 421 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
422 | <div·class="textblock"><p>Container·for·arrays·of·parametric·patches.·</p> | 422 | <div·class="textblock"><p>Container·for·arrays·of·parametric·patches.·</p> |
423 | <p><a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">PatchTable</a>·contains·topology·and·parametric·information·about·the·patches·generated·by·the·Refinement·process.·Patches·in·the·table·are·sorted·into·arrays·based·on·their·<a·class="el"·href="a00973.html"·title="Describes·the·type·of·a·patch.">PatchDescriptor</a>·Type.</p> | 423 | <p><a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">PatchTable</a>·contains·topology·and·parametric·information·about·the·patches·generated·by·the·Refinement·process.·Patches·in·the·table·are·sorted·into·arrays·based·on·their·<a·class="el"·href="a00973.html"·title="Describes·the·type·of·a·patch.">PatchDescriptor</a>·Type.</p> |
424 | <p>Note·:·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">PatchTable</a>·can·be·accessed·either·using·a·<a·class="el"·href="a00997.html"·title="Handle·that·can·be·used·as·unique·patch·identifier·within·PatchTable.">PatchHandle</a>·or·a·combination·of·array·and·patch·indices.</p> | 424 | <p>Note·:·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">PatchTable</a>·can·be·accessed·either·using·a·<a·class="el"·href="a00997.html"·title="Handle·that·can·be·used·as·unique·patch·identifier·within·PatchTable.">PatchHandle</a>·or·a·combination·of·array·and·patch·indices.</p> |
425 | <p>XXXX·manuelk·we·should·add·a·PatchIterator·that·can·dereference·into·a·<a·class="el"·href="a00997.html"·title="Handle·that·can·be·used·as·unique·patch·identifier·within·PatchTable.">PatchHandle</a>·for·fast·linear·traversal·of·the·table·</p> | 425 | <p>XXXX·manuelk·we·should·add·a·PatchIterator·that·can·dereference·into·a·<a·class="el"·href="a00997.html"·title="Handle·that·can·be·used·as·unique·patch·identifier·within·PatchTable.">PatchHandle</a>·for·fast·linear·traversal·of·the·table·</p> |
426 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0073 | 426 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00731_source.html#l00055">55</a>·of·file·<a·class="el"·href="a00731_source.html">patchTable.h</a>.</p> |
427 | </div><h2·class="groupheader">Member·Typedef·Documentation</h2> | 427 | </div><h2·class="groupheader">Member·Typedef·Documentation</h2> |
428 | <a·id="ab72c4254f74c932eeb7d7b08805932c5"·name="ab72c4254f74c932eeb7d7b08805932c5"></a> | 428 | <a·id="ab72c4254f74c932eeb7d7b08805932c5"·name="ab72c4254f74c932eeb7d7b08805932c5"></a> |
429 | <h2·class="memtitle"><span·class="permalink"><a·href="#ab72c4254f74c932eeb7d7b08805932c5">◆ </a></span>ConstQuadOffsetsArray</h2> | 429 | <h2·class="memtitle"><span·class="permalink"><a·href="#ab72c4254f74c932eeb7d7b08805932c5">◆ </a></span>ConstQuadOffsetsArray</h2> |
430 | <div·class="memitem"> | 430 | <div·class="memitem"> |
431 | <div·class="memproto"> | 431 | <div·class="memproto"> |
432 | ······<table·class="memname"> | 432 | ······<table·class="memname"> |
Offset 436, 15 lines modified | Offset 436, 15 lines modified | ||
436 | ··········<td·class="memname">typedef·<a·class="el"·href="a01353.html">Vtr::ConstArray</a><unsigned·int>·<a·class="el"·href="a00993.html#ab72c4254f74c932eeb7d7b08805932c5">ConstQuadOffsetsArray</a></td> | 436 | ··········<td·class="memname">typedef·<a·class="el"·href="a01353.html">Vtr::ConstArray</a><unsigned·int>·<a·class="el"·href="a00993.html#ab72c4254f74c932eeb7d7b08805932c5">ConstQuadOffsetsArray</a></td> |
437 | ········</tr> | 437 | ········</tr> |
438 | ······</table> | 438 | ······</table> |
439 | </div><div·class="memdoc"> | 439 | </div><div·class="memdoc"> |
440 | <p>Accessors·for·the·gregory·patch·evaluation·buffers.·These·methods·will·be·deprecated.·</p> | 440 | <p>Accessors·for·the·gregory·patch·evaluation·buffers.·These·methods·will·be·deprecated.·</p> |
441 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0073 | 441 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00731_source.html#l00259">259</a>·of·file·<a·class="el"·href="a00731_source.html">patchTable.h</a>.</p> |
442 | </div> | 442 | </div> |
443 | </div> | 443 | </div> |
444 | <a·id="a9484ab8a323750c2f639ee8709b1349b"·name="a9484ab8a323750c2f639ee8709b1349b"></a> | 444 | <a·id="a9484ab8a323750c2f639ee8709b1349b"·name="a9484ab8a323750c2f639ee8709b1349b"></a> |
445 | <h2·class="memtitle"><span·class="permalink"><a·href="#a9484ab8a323750c2f639ee8709b1349b">◆ </a></span>PatchVertsTable</h2> | 445 | <h2·class="memtitle"><span·class="permalink"><a·href="#a9484ab8a323750c2f639ee8709b1349b">◆ </a></span>PatchVertsTable</h2> |
446 | <div·class="memitem"> | 446 | <div·class="memitem"> |
Offset 452, 15 lines modified | Offset 452, 15 lines modified | ||
452 | ······<table·class="memname"> | 452 | ······<table·class="memname"> |
453 | ········<tr> | 453 | ········<tr> |
454 | ··········<td·class="memname">typedef·std::vector<<a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>>·<a·class="el"·href="a00993.html#a9484ab8a323750c2f639ee8709b1349b">PatchVertsTable</a></td> | 454 | ··········<td·class="memname">typedef·std::vector<<a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>>·<a·class="el"·href="a00993.html#a9484ab8a323750c2f639ee8709b1349b">PatchVertsTable</a></td> |
455 | ········</tr> | 455 | ········</tr> |
456 | ······</table> | 456 | ······</table> |
457 | </div><div·class="memdoc"> | 457 | </div><div·class="memdoc"> |
458 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0073 | 458 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00731_source.html#l00375">375</a>·of·file·<a·class="el"·href="a00731_source.html">patchTable.h</a>.</p> |
459 | </div> | 459 | </div> |
460 | </div> | 460 | </div> |
461 | <a·id="ad71e6ae07059dc39b0550c98cfcee291"·name="ad71e6ae07059dc39b0550c98cfcee291"></a> | 461 | <a·id="ad71e6ae07059dc39b0550c98cfcee291"·name="ad71e6ae07059dc39b0550c98cfcee291"></a> |
462 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad71e6ae07059dc39b0550c98cfcee291">◆ </a></span>QuadOffsetsTable</h2> | 462 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad71e6ae07059dc39b0550c98cfcee291">◆ </a></span>QuadOffsetsTable</h2> |
463 | <div·class="memitem"> | 463 | <div·class="memitem"> |
Offset 468, 15 lines modified | Offset 468, 15 lines modified | ||
468 | ······<table·class="memname"> | 468 | ······<table·class="memname"> |
469 | ········<tr> | 469 | ········<tr> |
470 | ··········<td·class="memname">typedef·std::vector<unsigned·int>·<a·class="el"·href="a00993.html#ad71e6ae07059dc39b0550c98cfcee291">QuadOffsetsTable</a></td> | 470 | ··········<td·class="memname">typedef·std::vector<unsigned·int>·<a·class="el"·href="a00993.html#ad71e6ae07059dc39b0550c98cfcee291">QuadOffsetsTable</a></td> |
471 | ········</tr> | 471 | ········</tr> |
472 | ······</table> | 472 | ······</table> |
473 | </div><div·class="memdoc"> | 473 | </div><div·class="memdoc"> |
474 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0073 | 474 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00731_source.html#l00389">389</a>·of·file·<a·class="el"·href="a00731_source.html">patchTable.h</a>.</p> |
475 | </div> | 475 | </div> |
476 | </div> | 476 | </div> |
477 | <a·id="a2fbf111cac9d122eeaec5c0cb73fa77d"·name="a2fbf111cac9d122eeaec5c0cb73fa77d"></a> | 477 | <a·id="a2fbf111cac9d122eeaec5c0cb73fa77d"·name="a2fbf111cac9d122eeaec5c0cb73fa77d"></a> |
478 | <h2·class="memtitle"><span·class="permalink"><a·href="#a2fbf111cac9d122eeaec5c0cb73fa77d">◆ </a></span>VertexValenceTable</h2> | 478 | <h2·class="memtitle"><span·class="permalink"><a·href="#a2fbf111cac9d122eeaec5c0cb73fa77d">◆ </a></span>VertexValenceTable</h2> |
479 | <div·class="memitem"> | 479 | <div·class="memitem"> |
Offset 484, 15 lines modified | Offset 484, 15 lines modified | ||
484 | ······<table·class="memname"> | 484 | ······<table·class="memname"> |
485 | ········<tr> | 485 | ········<tr> |
486 | ··········<td·class="memname">typedef·std::vector<<a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>>·<a·class="el"·href="a00993.html#a2fbf111cac9d122eeaec5c0cb73fa77d">VertexValenceTable</a></td> | 486 | ··········<td·class="memname">typedef·std::vector<<a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>>·<a·class="el"·href="a00993.html#a2fbf111cac9d122eeaec5c0cb73fa77d">VertexValenceTable</a></td> |
487 | ········</tr> | 487 | ········</tr> |
488 | ······</table> | 488 | ······</table> |
489 | </div><div·class="memdoc"> | 489 | </div><div·class="memdoc"> |
490 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0073 | 490 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00731_source.html#l00264">264</a>·of·file·<a·class="el"·href="a00731_source.html">patchTable.h</a>.</p> |
491 | </div> | 491 | </div> |
492 | </div> | 492 | </div> |
493 | <h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 493 | <h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
494 | <a·id="a3419c5d57330d6787f8c14a7677b8d9b"·name="a3419c5d57330d6787f8c14a7677b8d9b"></a> | 494 | <a·id="a3419c5d57330d6787f8c14a7677b8d9b"·name="a3419c5d57330d6787f8c14a7677b8d9b"></a> |
495 | <h2·class="memtitle"><span·class="permalink"><a·href="#a3419c5d57330d6787f8c14a7677b8d9b">◆ </a></span>PatchTable()·<span·class="overload">[1/2]</span></h2> | 495 | <h2·class="memtitle"><span·class="permalink"><a·href="#a3419c5d57330d6787f8c14a7677b8d9b">◆ </a></span>PatchTable()·<span·class="overload">[1/2]</span></h2> |
Offset 601, 15 lines modified | Offset 601, 15 lines modified | ||
601 | ····<tr><td·class="paramname">src</td><td>Buffer·with·primvar·data·for·the·base·and·refined·vertex·values</td></tr> | 601 | ····<tr><td·class="paramname">src</td><td>Buffer·with·primvar·data·for·the·base·and·refined·vertex·values</td></tr> |
602 | ····<tr><td·class="paramname">dst</td><td>Destination·buffer·for·the·computed·local·point·vertex·values</td></tr> | 602 | ····<tr><td·class="paramname">dst</td><td>Destination·buffer·for·the·computed·local·point·vertex·values</td></tr> |
603 | ··</table> | 603 | ··</table> |
604 | ··</dd> | 604 | ··</dd> |
605 | </dl> | 605 | </dl> |
606 | <p>For·more·flexibility·computing·local·vertex·points,·retrieval·of·the·local·point·stencil·table·and·use·of·its·public·methods·is·recommended·or·often·required.·</p> | 606 | <p>For·more·flexibility·computing·local·vertex·points,·retrieval·of·the·local·point·stencil·table·and·use·of·its·public·methods·is·recommended·or·often·required.·</p> |
607 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0073 | 607 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00731_source.html#l00826">826</a>·of·file·<a·class="el"·href="a00731_source.html">patchTable.h</a>.</p> |
608 | </div> | 608 | </div> |
609 | </div> | 609 | </div> |
610 | <a·id="a059c9506f9ef8ebf24a68fc298be58be"·name="a059c9506f9ef8ebf24a68fc298be58be"></a> | 610 | <a·id="a059c9506f9ef8ebf24a68fc298be58be"·name="a059c9506f9ef8ebf24a68fc298be58be"></a> |
611 | <h2·class="memtitle"><span·class="permalink"><a·href="#a059c9506f9ef8ebf24a68fc298be58be">◆ </a></span>ComputeLocalPointValuesFaceVarying()</h2> | 611 | <h2·class="memtitle"><span·class="permalink"><a·href="#a059c9506f9ef8ebf24a68fc298be58be">◆ </a></span>ComputeLocalPointValuesFaceVarying()</h2> |
612 | <div·class="memitem"> | 612 | <div·class="memitem"> |
Offset 658, 15 lines modified | Offset 658, 15 lines modified | ||
658 | ····<tr><td·class="paramname">dst</td><td>Destination·buffer·for·the·computed·local·point·face-varying·values</td></tr> | 658 | ····<tr><td·class="paramname">dst</td><td>Destination·buffer·for·the·computed·local·point·face-varying·values</td></tr> |
659 | ····<tr><td·class="paramname">channel</td><td>face-varying·channel</td></tr> | 659 | ····<tr><td·class="paramname">channel</td><td>face-varying·channel</td></tr> |
660 | ··</table> | 660 | ··</table> |
661 | ··</dd> | 661 | ··</dd> |
662 | </dl> | 662 | </dl> |
663 | <p>For·more·flexibility·computing·local·face-varying·points,·retrieval·of·the·local·point·face-varying·stencil·table·and·use·of·its·public·methods·is·recommended·or·often·required.·</p> | 663 | <p>For·more·flexibility·computing·local·face-varying·points,·retrieval·of·the·local·point·face-varying·stencil·table·and·use·of·its·public·methods·is·recommended·or·often·required.·</p> |
664 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0073 | 664 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00731_source.html#l00844">844</a>·of·file·<a·class="el"·href="a00731_source.html">patchTable.h</a>.</p> |
665 | </div> | 665 | </div> |
666 | </div> | 666 | </div> |
667 | <a·id="a08ccda63d26e5b06957be5f5eec75d01"·name="a08ccda63d26e5b06957be5f5eec75d01"></a> | 667 | <a·id="a08ccda63d26e5b06957be5f5eec75d01"·name="a08ccda63d26e5b06957be5f5eec75d01"></a> |
668 | <h2·class="memtitle"><span·class="permalink"><a·href="#a08ccda63d26e5b06957be5f5eec75d01">◆ </a></span>ComputeLocalPointValuesVarying()</h2> | 668 | <h2·class="memtitle"><span·class="permalink"><a·href="#a08ccda63d26e5b06957be5f5eec75d01">◆ </a></span>ComputeLocalPointValuesVarying()</h2> |
669 | <div·class="memitem"> | 669 | <div·class="memitem"> |
Max diff block lines reached; 25294/34379 bytes (73.57%) of diff not shown. |
Offset 98, 15 lines modified | Offset 98, 15 lines modified | ||
98 | ··<div·class="headertitle"><div·class="title">PatchTable::PatchHandle·Class·Reference</div></div> | 98 | ··<div·class="headertitle"><div·class="title">PatchTable::PatchHandle·Class·Reference</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <p>Handle·that·can·be·used·as·unique·patch·identifier·within·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">PatchTable</a>.·· | 101 | <p>Handle·that·can·be·used·as·unique·patch·identifier·within·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">PatchTable</a>.·· |
102 | ·<a·href="a00997.html#details">More...</a></p> | 102 | ·<a·href="a00997.html#details">More...</a></p> |
103 | <p><code>#include·<<a·class="el"·href="a0073 | 103 | <p><code>#include·<<a·class="el"·href="a00731_source.html">patchTable.h</a>></code></p> |
104 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> | 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a> |
106 | Public·Attributes</h2></td></tr> | 106 | Public·Attributes</h2></td></tr> |
107 | <tr·class="memitem:a4430ecde7e1d784b2bef6dc4c2ff04c2"·id="r_a4430ecde7e1d784b2bef6dc4c2ff04c2"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00997.html#a4430ecde7e1d784b2bef6dc4c2ff04c2">arrayIndex</a></td></tr> | 107 | <tr·class="memitem:a4430ecde7e1d784b2bef6dc4c2ff04c2"·id="r_a4430ecde7e1d784b2bef6dc4c2ff04c2"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00997.html#a4430ecde7e1d784b2bef6dc4c2ff04c2">arrayIndex</a></td></tr> |
108 | <tr·class="separator:a4430ecde7e1d784b2bef6dc4c2ff04c2"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:a4430ecde7e1d784b2bef6dc4c2ff04c2"><td·class="memSeparator"·colspan="2"> </td></tr> |
109 | <tr·class="memitem:a31bdf15525ab73560c2b725ff7f8ae3a"·id="r_a31bdf15525ab73560c2b725ff7f8ae3a"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00997.html#a31bdf15525ab73560c2b725ff7f8ae3a">patchIndex</a></td></tr> | 109 | <tr·class="memitem:a31bdf15525ab73560c2b725ff7f8ae3a"·id="r_a31bdf15525ab73560c2b725ff7f8ae3a"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00997.html#a31bdf15525ab73560c2b725ff7f8ae3a">patchIndex</a></td></tr> |
110 | <tr·class="separator:a31bdf15525ab73560c2b725ff7f8ae3a"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:a31bdf15525ab73560c2b725ff7f8ae3a"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 119, 15 lines modified | Offset 119, 15 lines modified | ||
119 | <tr·class="separator:ad4867d502f9704b7e45a7974e8918dc3"><td·class="memSeparator"·colspan="2"> </td></tr> | 119 | <tr·class="separator:ad4867d502f9704b7e45a7974e8918dc3"><td·class="memSeparator"·colspan="2"> </td></tr> |
120 | <tr·class="memitem:aff380d8d7f072959898c0a4e25150d2a"·id="r_aff380d8d7f072959898c0a4e25150d2a"><td·class="memItemLeft"·align="right"·valign="top">class </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00997.html#aff380d8d7f072959898c0a4e25150d2a">PatchMap</a></td></tr> | 120 | <tr·class="memitem:aff380d8d7f072959898c0a4e25150d2a"·id="r_aff380d8d7f072959898c0a4e25150d2a"><td·class="memItemLeft"·align="right"·valign="top">class </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00997.html#aff380d8d7f072959898c0a4e25150d2a">PatchMap</a></td></tr> |
121 | <tr·class="separator:aff380d8d7f072959898c0a4e25150d2a"><td·class="memSeparator"·colspan="2"> </td></tr> | 121 | <tr·class="separator:aff380d8d7f072959898c0a4e25150d2a"><td·class="memSeparator"·colspan="2"> </td></tr> |
122 | </table> | 122 | </table> |
123 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 123 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
124 | <div·class="textblock"><p>Handle·that·can·be·used·as·unique·patch·identifier·within·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">PatchTable</a>.·</p> | 124 | <div·class="textblock"><p>Handle·that·can·be·used·as·unique·patch·identifier·within·<a·class="el"·href="a00993.html"·title="Container·for·arrays·of·parametric·patches.">PatchTable</a>.·</p> |
125 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0073 | 125 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00731_source.html#l00060">60</a>·of·file·<a·class="el"·href="a00731_source.html">patchTable.h</a>.</p> |
126 | </div><h2·class="groupheader">Friends·And·Related·Symbol·Documentation</h2> | 126 | </div><h2·class="groupheader">Friends·And·Related·Symbol·Documentation</h2> |
127 | <a·id="aff380d8d7f072959898c0a4e25150d2a"·name="aff380d8d7f072959898c0a4e25150d2a"></a> | 127 | <a·id="aff380d8d7f072959898c0a4e25150d2a"·name="aff380d8d7f072959898c0a4e25150d2a"></a> |
128 | <h2·class="memtitle"><span·class="permalink"><a·href="#aff380d8d7f072959898c0a4e25150d2a">◆ </a></span>PatchMap</h2> | 128 | <h2·class="memtitle"><span·class="permalink"><a·href="#aff380d8d7f072959898c0a4e25150d2a">◆ </a></span>PatchMap</h2> |
129 | <div·class="memitem"> | 129 | <div·class="memitem"> |
130 | <div·class="memproto"> | 130 | <div·class="memproto"> |
131 | <table·class="mlabels"> | 131 | <table·class="mlabels"> |
Offset 141, 15 lines modified | Offset 141, 15 lines modified | ||
141 | ··</td> | 141 | ··</td> |
142 | ··<td·class="mlabels-right"> | 142 | ··<td·class="mlabels-right"> |
143 | <span·class="mlabels"><span·class="mlabel">friend</span></span>··</td> | 143 | <span·class="mlabels"><span·class="mlabel">friend</span></span>··</td> |
144 | ··</tr> | 144 | ··</tr> |
145 | </table> | 145 | </table> |
146 | </div><div·class="memdoc"> | 146 | </div><div·class="memdoc"> |
147 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0073 | 147 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00731_source.html#l00065">65</a>·of·file·<a·class="el"·href="a00731_source.html">patchTable.h</a>.</p> |
148 | </div> | 148 | </div> |
149 | </div> | 149 | </div> |
150 | <a·id="ad4867d502f9704b7e45a7974e8918dc3"·name="ad4867d502f9704b7e45a7974e8918dc3"></a> | 150 | <a·id="ad4867d502f9704b7e45a7974e8918dc3"·name="ad4867d502f9704b7e45a7974e8918dc3"></a> |
151 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad4867d502f9704b7e45a7974e8918dc3">◆ </a></span>PatchTable</h2> | 151 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad4867d502f9704b7e45a7974e8918dc3">◆ </a></span>PatchTable</h2> |
152 | <div·class="memitem"> | 152 | <div·class="memitem"> |
Offset 165, 15 lines modified | Offset 165, 15 lines modified | ||
165 | ··</td> | 165 | ··</td> |
166 | ··<td·class="mlabels-right"> | 166 | ··<td·class="mlabels-right"> |
167 | <span·class="mlabels"><span·class="mlabel">friend</span></span>··</td> | 167 | <span·class="mlabels"><span·class="mlabel">friend</span></span>··</td> |
168 | ··</tr> | 168 | ··</tr> |
169 | </table> | 169 | </table> |
170 | </div><div·class="memdoc"> | 170 | </div><div·class="memdoc"> |
171 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0073 | 171 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00731_source.html#l00064">64</a>·of·file·<a·class="el"·href="a00731_source.html">patchTable.h</a>.</p> |
172 | </div> | 172 | </div> |
173 | </div> | 173 | </div> |
174 | <h2·class="groupheader">Member·Data·Documentation</h2> | 174 | <h2·class="groupheader">Member·Data·Documentation</h2> |
175 | <a·id="a4430ecde7e1d784b2bef6dc4c2ff04c2"·name="a4430ecde7e1d784b2bef6dc4c2ff04c2"></a> | 175 | <a·id="a4430ecde7e1d784b2bef6dc4c2ff04c2"·name="a4430ecde7e1d784b2bef6dc4c2ff04c2"></a> |
176 | <h2·class="memtitle"><span·class="permalink"><a·href="#a4430ecde7e1d784b2bef6dc4c2ff04c2">◆ </a></span>arrayIndex</h2> | 176 | <h2·class="memtitle"><span·class="permalink"><a·href="#a4430ecde7e1d784b2bef6dc4c2ff04c2">◆ </a></span>arrayIndex</h2> |
Offset 182, 15 lines modified | Offset 182, 15 lines modified | ||
182 | ······<table·class="memname"> | 182 | ······<table·class="memname"> |
183 | ········<tr> | 183 | ········<tr> |
184 | ··········<td·class="memname"><a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·arrayIndex</td> | 184 | ··········<td·class="memname"><a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·arrayIndex</td> |
185 | ········</tr> | 185 | ········</tr> |
186 | ······</table> | 186 | ······</table> |
187 | </div><div·class="memdoc"> | 187 | </div><div·class="memdoc"> |
188 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0073 | 188 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00731_source.html#l00067">67</a>·of·file·<a·class="el"·href="a00731_source.html">patchTable.h</a>.</p> |
189 | </div> | 189 | </div> |
190 | </div> | 190 | </div> |
191 | <a·id="a31bdf15525ab73560c2b725ff7f8ae3a"·name="a31bdf15525ab73560c2b725ff7f8ae3a"></a> | 191 | <a·id="a31bdf15525ab73560c2b725ff7f8ae3a"·name="a31bdf15525ab73560c2b725ff7f8ae3a"></a> |
192 | <h2·class="memtitle"><span·class="permalink"><a·href="#a31bdf15525ab73560c2b725ff7f8ae3a">◆ </a></span>patchIndex</h2> | 192 | <h2·class="memtitle"><span·class="permalink"><a·href="#a31bdf15525ab73560c2b725ff7f8ae3a">◆ </a></span>patchIndex</h2> |
193 | <div·class="memitem"> | 193 | <div·class="memitem"> |
Offset 198, 15 lines modified | Offset 198, 15 lines modified | ||
198 | ······<table·class="memname"> | 198 | ······<table·class="memname"> |
199 | ········<tr> | 199 | ········<tr> |
200 | ··········<td·class="memname"><a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·patchIndex</td> | 200 | ··········<td·class="memname"><a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·patchIndex</td> |
201 | ········</tr> | 201 | ········</tr> |
202 | ······</table> | 202 | ······</table> |
203 | </div><div·class="memdoc"> | 203 | </div><div·class="memdoc"> |
204 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0073 | 204 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00731_source.html#l00068">68</a>·of·file·<a·class="el"·href="a00731_source.html">patchTable.h</a>.</p> |
205 | </div> | 205 | </div> |
206 | </div> | 206 | </div> |
207 | <a·id="a46d1a8129375c3ee40a33a81d44b685a"·name="a46d1a8129375c3ee40a33a81d44b685a"></a> | 207 | <a·id="a46d1a8129375c3ee40a33a81d44b685a"·name="a46d1a8129375c3ee40a33a81d44b685a"></a> |
208 | <h2·class="memtitle"><span·class="permalink"><a·href="#a46d1a8129375c3ee40a33a81d44b685a">◆ </a></span>vertIndex</h2> | 208 | <h2·class="memtitle"><span·class="permalink"><a·href="#a46d1a8129375c3ee40a33a81d44b685a">◆ </a></span>vertIndex</h2> |
209 | <div·class="memitem"> | 209 | <div·class="memitem"> |
Offset 214, 20 lines modified | Offset 214, 20 lines modified | ||
214 | ······<table·class="memname"> | 214 | ······<table·class="memname"> |
215 | ········<tr> | 215 | ········<tr> |
216 | ··········<td·class="memname"><a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·vertIndex</td> | 216 | ··········<td·class="memname"><a·class="el"·href="a00908.html#ab34c85a48f33dfe7b8bf4d966fdebbf2">Index</a>·vertIndex</td> |
217 | ········</tr> | 217 | ········</tr> |
218 | ······</table> | 218 | ······</table> |
219 | </div><div·class="memdoc"> | 219 | </div><div·class="memdoc"> |
220 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0073 | 220 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00731_source.html#l00069">69</a>·of·file·<a·class="el"·href="a00731_source.html">patchTable.h</a>.</p> |
221 | </div> | 221 | </div> |
222 | </div> | 222 | </div> |
223 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 223 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
224 | <li>opensubdiv/far/<a·class="el"·href="a0073 | 224 | <li>opensubdiv/far/<a·class="el"·href="a00731_source.html">patchTable.h</a></li> |
225 | </ul> | 225 | </ul> |
226 | </div><!--·contents·--> | 226 | </div><!--·contents·--> |
227 | </div><!--·doc-content·--> | 227 | </div><!--·doc-content·--> |
228 | <!--·start·footer·part·--> | 228 | <!--·start·footer·part·--> |
229 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 229 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
230 | ··<ul> | 230 | ··<ul> |
231 | ····<li·class="navelem"><a·class="el"·href="a00905.html">OpenSubdiv</a></li><li·class="navelem"><a·class="el"·href="a00906.html">OPENSUBDIV_VERSION</a></li><li·class="navelem"><a·class="el"·href="a00908.html">Far</a></li><li·class="navelem"><a·class="el"·href="a00993.html">PatchTable</a></li><li·class="navelem"><a·class="el"·href="a00997.html">PatchHandle</a></li> | 231 | ····<li·class="navelem"><a·class="el"·href="a00905.html">OpenSubdiv</a></li><li·class="navelem"><a·class="el"·href="a00906.html">OPENSUBDIV_VERSION</a></li><li·class="navelem"><a·class="el"·href="a00908.html">Far</a></li><li·class="navelem"><a·class="el"·href="a00993.html">PatchTable</a></li><li·class="navelem"><a·class="el"·href="a00997.html">PatchHandle</a></li> |
Offset 98, 15 lines modified | Offset 98, 15 lines modified | ||
98 | <a·href="#pro-methods">Protected·Member·Functions</a>·| | 98 | <a·href="#pro-methods">Protected·Member·Functions</a>·| |
99 | <a·href="#pro-attribs">Protected·Attributes</a>·| | 99 | <a·href="#pro-attribs">Protected·Attributes</a>·| |
100 | <a·href="a01206.html">List·of·all·members</a>··</div> | 100 | <a·href="a01206.html">List·of·all·members</a>··</div> |
101 | ··<div·class="headertitle"><div·class="title">D3D11PatchTable·Class·Reference</div></div> | 101 | ··<div·class="headertitle"><div·class="title">D3D11PatchTable·Class·Reference</div></div> |
102 | </div><!--header--> | 102 | </div><!--header--> |
103 | <div·class="contents"> | 103 | <div·class="contents"> |
104 | <p><code>#include·<<a·class="el"·href="a0083 | 104 | <p><code>#include·<<a·class="el"·href="a00836_source.html">d3d11PatchTable.h</a>></code></p> |
105 | <div·class="dynheader"> | 105 | <div·class="dynheader"> |
106 | Inheritance·diagram·for·D3D11PatchTable:</div> | 106 | Inheritance·diagram·for·D3D11PatchTable:</div> |
107 | <div·class="dyncontent"> | 107 | <div·class="dyncontent"> |
108 | ·<div·class="center"> | 108 | ·<div·class="center"> |
109 | ··<img·src="a01209.png"·alt=""/> | 109 | ··<img·src="a01209.png"·alt=""/> |
110 | ·</div></div> | 110 | ·</div></div> |
111 | <table·class="memberdecls"> | 111 | <table·class="memberdecls"> |
Offset 152, 29 lines modified | Offset 152, 29 lines modified | ||
152 | <tr·class="memitem:a922297765b71fb93103914cb95b76e68"·id="r_a922297765b71fb93103914cb95b76e68"><td·class="memItemLeft"·align="right"·valign="top">ID3D11Buffer·* </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01209.html#a922297765b71fb93103914cb95b76e68">_patchParamBuffer</a></td></tr> | 152 | <tr·class="memitem:a922297765b71fb93103914cb95b76e68"·id="r_a922297765b71fb93103914cb95b76e68"><td·class="memItemLeft"·align="right"·valign="top">ID3D11Buffer·* </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01209.html#a922297765b71fb93103914cb95b76e68">_patchParamBuffer</a></td></tr> |
153 | <tr·class="separator:a922297765b71fb93103914cb95b76e68"><td·class="memSeparator"·colspan="2"> </td></tr> | 153 | <tr·class="separator:a922297765b71fb93103914cb95b76e68"><td·class="memSeparator"·colspan="2"> </td></tr> |
154 | <tr·class="memitem:a906a11e9011b14e667c4e46e0cb0089c"·id="r_a906a11e9011b14e667c4e46e0cb0089c"><td·class="memItemLeft"·align="right"·valign="top">ID3D11ShaderResourceView·* </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01209.html#a906a11e9011b14e667c4e46e0cb0089c">_patchParamBufferSRV</a></td></tr> | 154 | <tr·class="memitem:a906a11e9011b14e667c4e46e0cb0089c"·id="r_a906a11e9011b14e667c4e46e0cb0089c"><td·class="memItemLeft"·align="right"·valign="top">ID3D11ShaderResourceView·* </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01209.html#a906a11e9011b14e667c4e46e0cb0089c">_patchParamBufferSRV</a></td></tr> |
155 | <tr·class="separator:a906a11e9011b14e667c4e46e0cb0089c"><td·class="memSeparator"·colspan="2"> </td></tr> | 155 | <tr·class="separator:a906a11e9011b14e667c4e46e0cb0089c"><td·class="memSeparator"·colspan="2"> </td></tr> |
156 | </table> | 156 | </table> |
157 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 157 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
158 | <div·class="textblock"> | 158 | <div·class="textblock"> |
159 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0083 | 159 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00836_source.html#l00049">49</a>·of·file·<a·class="el"·href="a00836_source.html">d3d11PatchTable.h</a>.</p> |
160 | </div><h2·class="groupheader">Member·Typedef·Documentation</h2> | 160 | </div><h2·class="groupheader">Member·Typedef·Documentation</h2> |
161 | <a·id="a2d85a5ed6ddcef5023c9ef2e6fdd38a5"·name="a2d85a5ed6ddcef5023c9ef2e6fdd38a5"></a> | 161 | <a·id="a2d85a5ed6ddcef5023c9ef2e6fdd38a5"·name="a2d85a5ed6ddcef5023c9ef2e6fdd38a5"></a> |
162 | <h2·class="memtitle"><span·class="permalink"><a·href="#a2d85a5ed6ddcef5023c9ef2e6fdd38a5">◆ </a></span>VertexBufferBinding</h2> | 162 | <h2·class="memtitle"><span·class="permalink"><a·href="#a2d85a5ed6ddcef5023c9ef2e6fdd38a5">◆ </a></span>VertexBufferBinding</h2> |
163 | <div·class="memitem"> | 163 | <div·class="memitem"> |
164 | <div·class="memproto"> | 164 | <div·class="memproto"> |
165 | ······<table·class="memname"> | 165 | ······<table·class="memname"> |
166 | ········<tr> | 166 | ········<tr> |
167 | ··········<td·class="memname">typedef·ID3D11Buffer*·<a·class="el"·href="a01209.html#a2d85a5ed6ddcef5023c9ef2e6fdd38a5">VertexBufferBinding</a></td> | 167 | ··········<td·class="memname">typedef·ID3D11Buffer*·<a·class="el"·href="a01209.html#a2d85a5ed6ddcef5023c9ef2e6fdd38a5">VertexBufferBinding</a></td> |
168 | ········</tr> | 168 | ········</tr> |
169 | ······</table> | 169 | ······</table> |
170 | </div><div·class="memdoc"> | 170 | </div><div·class="memdoc"> |
171 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0083 | 171 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00836_source.html#l00051">51</a>·of·file·<a·class="el"·href="a00836_source.html">d3d11PatchTable.h</a>.</p> |
172 | </div> | 172 | </div> |
173 | </div> | 173 | </div> |
174 | <h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 174 | <h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
175 | <a·id="ac81ed5f09e3d3a2aae5a01802b343a6d"·name="ac81ed5f09e3d3a2aae5a01802b343a6d"></a> | 175 | <a·id="ac81ed5f09e3d3a2aae5a01802b343a6d"·name="ac81ed5f09e3d3a2aae5a01802b343a6d"></a> |
176 | <h2·class="memtitle"><span·class="permalink"><a·href="#ac81ed5f09e3d3a2aae5a01802b343a6d">◆ </a></span>D3D11PatchTable()</h2> | 176 | <h2·class="memtitle"><span·class="permalink"><a·href="#ac81ed5f09e3d3a2aae5a01802b343a6d">◆ </a></span>D3D11PatchTable()</h2> |
Offset 278, 15 lines modified | Offset 278, 15 lines modified | ||
278 | ··</td> | 278 | ··</td> |
279 | ··<td·class="mlabels-right"> | 279 | ··<td·class="mlabels-right"> |
280 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> | 280 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> |
281 | ··</tr> | 281 | ··</tr> |
282 | </table> | 282 | </table> |
283 | </div><div·class="memdoc"> | 283 | </div><div·class="memdoc"> |
284 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0083 | 284 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00836_source.html#l00057">57</a>·of·file·<a·class="el"·href="a00836_source.html">d3d11PatchTable.h</a>.</p> |
285 | </div> | 285 | </div> |
286 | </div> | 286 | </div> |
287 | <a·id="a8d071db2033c568b98a8aed737e563e9"·name="a8d071db2033c568b98a8aed737e563e9"></a> | 287 | <a·id="a8d071db2033c568b98a8aed737e563e9"·name="a8d071db2033c568b98a8aed737e563e9"></a> |
288 | <h2·class="memtitle"><span·class="permalink"><a·href="#a8d071db2033c568b98a8aed737e563e9">◆ </a></span>Create()·<span·class="overload">[2/2]</span></h2> | 288 | <h2·class="memtitle"><span·class="permalink"><a·href="#a8d071db2033c568b98a8aed737e563e9">◆ </a></span>Create()·<span·class="overload">[2/2]</span></h2> |
289 | <div·class="memitem"> | 289 | <div·class="memitem"> |
Offset 341, 15 lines modified | Offset 341, 15 lines modified | ||
341 | ··</td> | 341 | ··</td> |
342 | ··<td·class="mlabels-right"> | 342 | ··<td·class="mlabels-right"> |
343 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 343 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
344 | ··</tr> | 344 | ··</tr> |
345 | </table> | 345 | </table> |
346 | </div><div·class="memdoc"> | 346 | </div><div·class="memdoc"> |
347 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0083 | 347 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00836_source.html#l00065">65</a>·of·file·<a·class="el"·href="a00836_source.html">d3d11PatchTable.h</a>.</p> |
348 | </div> | 348 | </div> |
349 | </div> | 349 | </div> |
350 | <a·id="a45505c8c99abe0baf8b56981fa0a31e1"·name="a45505c8c99abe0baf8b56981fa0a31e1"></a> | 350 | <a·id="a45505c8c99abe0baf8b56981fa0a31e1"·name="a45505c8c99abe0baf8b56981fa0a31e1"></a> |
351 | <h2·class="memtitle"><span·class="permalink"><a·href="#a45505c8c99abe0baf8b56981fa0a31e1">◆ </a></span>GetPatchIndexBuffer()</h2> | 351 | <h2·class="memtitle"><span·class="permalink"><a·href="#a45505c8c99abe0baf8b56981fa0a31e1">◆ </a></span>GetPatchIndexBuffer()</h2> |
352 | <div·class="memitem"> | 352 | <div·class="memitem"> |
Offset 370, 15 lines modified | Offset 370, 15 lines modified | ||
370 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 370 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
371 | ··</tr> | 371 | ··</tr> |
372 | </table> | 372 | </table> |
373 | </div><div·class="memdoc"> | 373 | </div><div·class="memdoc"> |
374 | <p>Returns·the·index·buffer·containing·the·patch·control·vertices.·</p> | 374 | <p>Returns·the·index·buffer·containing·the·patch·control·vertices.·</p> |
375 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0083 | 375 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00836_source.html#l00070">70</a>·of·file·<a·class="el"·href="a00836_source.html">d3d11PatchTable.h</a>.</p> |
376 | </div> | 376 | </div> |
377 | </div> | 377 | </div> |
378 | <a·id="ab57fd008d10c0c2c6ed4182bb3f187ee"·name="ab57fd008d10c0c2c6ed4182bb3f187ee"></a> | 378 | <a·id="ab57fd008d10c0c2c6ed4182bb3f187ee"·name="ab57fd008d10c0c2c6ed4182bb3f187ee"></a> |
379 | <h2·class="memtitle"><span·class="permalink"><a·href="#ab57fd008d10c0c2c6ed4182bb3f187ee">◆ </a></span>GetPatchParamSRV()</h2> | 379 | <h2·class="memtitle"><span·class="permalink"><a·href="#ab57fd008d10c0c2c6ed4182bb3f187ee">◆ </a></span>GetPatchParamSRV()</h2> |
380 | <div·class="memitem"> | 380 | <div·class="memitem"> |
Offset 399, 15 lines modified | Offset 399, 15 lines modified | ||
399 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 399 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
400 | ··</tr> | 400 | ··</tr> |
401 | </table> | 401 | </table> |
402 | </div><div·class="memdoc"> | 402 | </div><div·class="memdoc"> |
403 | <p>Returns·the·SRV·containing·the·patch·parameter.·</p> | 403 | <p>Returns·the·SRV·containing·the·patch·parameter.·</p> |
404 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0083 | 404 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00836_source.html#l00075">75</a>·of·file·<a·class="el"·href="a00836_source.html">d3d11PatchTable.h</a>.</p> |
405 | </div> | 405 | </div> |
406 | </div> | 406 | </div> |
407 | <h2·class="groupheader">Member·Data·Documentation</h2> | 407 | <h2·class="groupheader">Member·Data·Documentation</h2> |
408 | <a·id="a70f9e642d07efb73b8e7dc7a418d6311"·name="a70f9e642d07efb73b8e7dc7a418d6311"></a> | 408 | <a·id="a70f9e642d07efb73b8e7dc7a418d6311"·name="a70f9e642d07efb73b8e7dc7a418d6311"></a> |
409 | <h2·class="memtitle"><span·class="permalink"><a·href="#a70f9e642d07efb73b8e7dc7a418d6311">◆ </a></span>_indexBuffer</h2> | 409 | <h2·class="memtitle"><span·class="permalink"><a·href="#a70f9e642d07efb73b8e7dc7a418d6311">◆ </a></span>_indexBuffer</h2> |
Offset 424, 15 lines modified | Offset 424, 15 lines modified | ||
424 | ··</td> | 424 | ··</td> |
425 | ··<td·class="mlabels-right"> | 425 | ··<td·class="mlabels-right"> |
426 | <span·class="mlabels"><span·class="mlabel">protected</span></span>··</td> | 426 | <span·class="mlabels"><span·class="mlabel">protected</span></span>··</td> |
427 | ··</tr> | 427 | ··</tr> |
428 | </table> | 428 | </table> |
429 | </div><div·class="memdoc"> | 429 | </div><div·class="memdoc"> |
430 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0083 | 430 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00836_source.html#l00086">86</a>·of·file·<a·class="el"·href="a00836_source.html">d3d11PatchTable.h</a>.</p> |
431 | </div> | 431 | </div> |
432 | </div> | 432 | </div> |
433 | <a·id="a5dfb6b58580f2dec58e9b5bfdb4ed9f1"·name="a5dfb6b58580f2dec58e9b5bfdb4ed9f1"></a> | 433 | <a·id="a5dfb6b58580f2dec58e9b5bfdb4ed9f1"·name="a5dfb6b58580f2dec58e9b5bfdb4ed9f1"></a> |
434 | <h2·class="memtitle"><span·class="permalink"><a·href="#a5dfb6b58580f2dec58e9b5bfdb4ed9f1">◆ </a></span>_patchArrays</h2> | 434 | <h2·class="memtitle"><span·class="permalink"><a·href="#a5dfb6b58580f2dec58e9b5bfdb4ed9f1">◆ </a></span>_patchArrays</h2> |
435 | <div·class="memitem"> | 435 | <div·class="memitem"> |
Offset 448, 15 lines modified | Offset 448, 15 lines modified | ||
448 | ··</td> | 448 | ··</td> |
Max diff block lines reached; 2814/10330 bytes (27.24%) of diff not shown. |
Offset 99, 15 lines modified | Offset 99, 15 lines modified | ||
99 | ··<div·class="headertitle"><div·class="title">D3D11VertexBuffer·Class·Reference</div></div> | 99 | ··<div·class="headertitle"><div·class="title">D3D11VertexBuffer·Class·Reference</div></div> |
100 | </div><!--header--> | 100 | </div><!--header--> |
101 | <div·class="contents"> | 101 | <div·class="contents"> |
102 | <p>Concrete·vertex·buffer·class·for·DirectX·subdivision·and·DirectX·drawing.·· | 102 | <p>Concrete·vertex·buffer·class·for·DirectX·subdivision·and·DirectX·drawing.·· |
103 | ·<a·href="a01213.html#details">More...</a></p> | 103 | ·<a·href="a01213.html#details">More...</a></p> |
104 | <p><code>#include·<<a·class="el"·href="a0083 | 104 | <p><code>#include·<<a·class="el"·href="a00833_source.html">d3d11VertexBuffer.h</a>></code></p> |
105 | <table·class="memberdecls"> | 105 | <table·class="memberdecls"> |
106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 106 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
107 | Public·Member·Functions</h2></td></tr> | 107 | Public·Member·Functions</h2></td></tr> |
108 | <tr·class="memitem:ad9941ba7019b0fd8aad6e9321d91c26a"·id="r_ad9941ba7019b0fd8aad6e9321d91c26a"><td·class="memItemLeft"·align="right"·valign="top">virtual </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01213.html#ad9941ba7019b0fd8aad6e9321d91c26a">~D3D11VertexBuffer</a>·()</td></tr> | 108 | <tr·class="memitem:ad9941ba7019b0fd8aad6e9321d91c26a"·id="r_ad9941ba7019b0fd8aad6e9321d91c26a"><td·class="memItemLeft"·align="right"·valign="top">virtual </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01213.html#ad9941ba7019b0fd8aad6e9321d91c26a">~D3D11VertexBuffer</a>·()</td></tr> |
109 | <tr·class="memdesc:ad9941ba7019b0fd8aad6e9321d91c26a"><td·class="mdescLeft"> </td><td·class="mdescRight">Destructor.··<br·/></td></tr> | 109 | <tr·class="memdesc:ad9941ba7019b0fd8aad6e9321d91c26a"><td·class="mdescLeft"> </td><td·class="mdescRight">Destructor.··<br·/></td></tr> |
110 | <tr·class="separator:ad9941ba7019b0fd8aad6e9321d91c26a"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:ad9941ba7019b0fd8aad6e9321d91c26a"><td·class="memSeparator"·colspan="2"> </td></tr> |
111 | <tr·class="memitem:a8f44858290b870c214ee24afead3e9c3"·id="r_a8f44858290b870c214ee24afead3e9c3"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01213.html#a8f44858290b870c214ee24afead3e9c3">UpdateData</a>·(const·float·*src,·int·startVertex,·int·numVertices,·ID3D11DeviceContext·*deviceContext)</td></tr> | 111 | <tr·class="memitem:a8f44858290b870c214ee24afead3e9c3"·id="r_a8f44858290b870c214ee24afead3e9c3"><td·class="memItemLeft"·align="right"·valign="top">void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01213.html#a8f44858290b870c214ee24afead3e9c3">UpdateData</a>·(const·float·*src,·int·startVertex,·int·numVertices,·ID3D11DeviceContext·*deviceContext)</td></tr> |
Offset 142, 15 lines modified | Offset 142, 15 lines modified | ||
142 | <tr·class="memitem:ae61b4ed6cc7cb69826cd0804c2d972b7"·id="r_ae61b4ed6cc7cb69826cd0804c2d972b7"><td·class="memItemLeft"·align="right"·valign="top">bool </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01213.html#ae61b4ed6cc7cb69826cd0804c2d972b7">allocate</a>·(ID3D11Device·*device)</td></tr> | 142 | <tr·class="memitem:ae61b4ed6cc7cb69826cd0804c2d972b7"·id="r_ae61b4ed6cc7cb69826cd0804c2d972b7"><td·class="memItemLeft"·align="right"·valign="top">bool </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01213.html#ae61b4ed6cc7cb69826cd0804c2d972b7">allocate</a>·(ID3D11Device·*device)</td></tr> |
143 | <tr·class="separator:ae61b4ed6cc7cb69826cd0804c2d972b7"><td·class="memSeparator"·colspan="2"> </td></tr> | 143 | <tr·class="separator:ae61b4ed6cc7cb69826cd0804c2d972b7"><td·class="memSeparator"·colspan="2"> </td></tr> |
144 | </table> | 144 | </table> |
145 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 145 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
146 | <div·class="textblock"><p>Concrete·vertex·buffer·class·for·DirectX·subdivision·and·DirectX·drawing.·</p> | 146 | <div·class="textblock"><p>Concrete·vertex·buffer·class·for·DirectX·subdivision·and·DirectX·drawing.·</p> |
147 | <p><a·class="el"·href="a01213.html"·title="Concrete·vertex·buffer·class·for·DirectX·subdivision·and·DirectX·drawing.">D3D11VertexBuffer</a>·implements·D3D11VertexBufferInterface.·An·instance·of·this·buffer·class·can·be·passed·to·<a·class="el"·href="a01201.html">D3D11ComputeEvaluator</a>.·</p> | 147 | <p><a·class="el"·href="a01213.html"·title="Concrete·vertex·buffer·class·for·DirectX·subdivision·and·DirectX·drawing.">D3D11VertexBuffer</a>·implements·D3D11VertexBufferInterface.·An·instance·of·this·buffer·class·can·be·passed·to·<a·class="el"·href="a01201.html">D3D11ComputeEvaluator</a>.·</p> |
148 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0083 | 148 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00833_source.html#l00046">46</a>·of·file·<a·class="el"·href="a00833_source.html">d3d11VertexBuffer.h</a>.</p> |
149 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 149 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
150 | <a·id="ad9941ba7019b0fd8aad6e9321d91c26a"·name="ad9941ba7019b0fd8aad6e9321d91c26a"></a> | 150 | <a·id="ad9941ba7019b0fd8aad6e9321d91c26a"·name="ad9941ba7019b0fd8aad6e9321d91c26a"></a> |
151 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad9941ba7019b0fd8aad6e9321d91c26a">◆ </a></span>~D3D11VertexBuffer()</h2> | 151 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad9941ba7019b0fd8aad6e9321d91c26a">◆ </a></span>~D3D11VertexBuffer()</h2> |
152 | <div·class="memitem"> | 152 | <div·class="memitem"> |
153 | <div·class="memproto"> | 153 | <div·class="memproto"> |
154 | <table·class="mlabels"> | 154 | <table·class="mlabels"> |
Offset 302, 15 lines modified | Offset 302, 15 lines modified | ||
302 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 302 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
303 | ··</tr> | 303 | ··</tr> |
304 | </table> | 304 | </table> |
305 | </div><div·class="memdoc"> | 305 | </div><div·class="memdoc"> |
306 | <p>Returns·the·D3D11·buffer·object·(for·<a·class="el"·href="a01281.html">Osd::Mesh</a>·interface)·</p> | 306 | <p>Returns·the·D3D11·buffer·object·(for·<a·class="el"·href="a01281.html">Osd::Mesh</a>·interface)·</p> |
307 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0083 | 307 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00833_source.html#l00070">70</a>·of·file·<a·class="el"·href="a00833_source.html">d3d11VertexBuffer.h</a>.</p> |
308 | </div> | 308 | </div> |
309 | </div> | 309 | </div> |
310 | <a·id="a915a9d78d36f58b1750237ae40555029"·name="a915a9d78d36f58b1750237ae40555029"></a> | 310 | <a·id="a915a9d78d36f58b1750237ae40555029"·name="a915a9d78d36f58b1750237ae40555029"></a> |
311 | <h2·class="memtitle"><span·class="permalink"><a·href="#a915a9d78d36f58b1750237ae40555029">◆ </a></span>Create()</h2> | 311 | <h2·class="memtitle"><span·class="permalink"><a·href="#a915a9d78d36f58b1750237ae40555029">◆ </a></span>Create()</h2> |
312 | <div·class="memitem"> | 312 | <div·class="memitem"> |
Offset 430, 15 lines modified | Offset 430, 15 lines modified | ||
430 | ······</table> | 430 | ······</table> |
431 | </div><div·class="memdoc"> | 431 | </div><div·class="memdoc"> |
432 | <p>This·method·is·meant·to·be·used·in·client·code·in·order·to·provide·coarse·vertices·data·to·<a·class="el"·href="a00912.html">Osd</a>.·</p> | 432 | <p>This·method·is·meant·to·be·used·in·client·code·in·order·to·provide·coarse·vertices·data·to·<a·class="el"·href="a00912.html">Osd</a>.·</p> |
433 | </div> | 433 | </div> |
434 | </div> | 434 | </div> |
435 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 435 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
436 | <li>opensubdiv/osd/<a·class="el"·href="a0083 | 436 | <li>opensubdiv/osd/<a·class="el"·href="a00833_source.html">d3d11VertexBuffer.h</a></li> |
437 | </ul> | 437 | </ul> |
438 | </div><!--·contents·--> | 438 | </div><!--·contents·--> |
439 | </div><!--·doc-content·--> | 439 | </div><!--·doc-content·--> |
440 | <!--·start·footer·part·--> | 440 | <!--·start·footer·part·--> |
441 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 441 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
442 | ··<ul> | 442 | ··<ul> |
443 | ····<li·class="navelem"><a·class="el"·href="a00905.html">OpenSubdiv</a></li><li·class="navelem"><a·class="el"·href="a00906.html">OPENSUBDIV_VERSION</a></li><li·class="navelem"><a·class="el"·href="a00912.html">Osd</a></li><li·class="navelem"><a·class="el"·href="a01213.html">D3D11VertexBuffer</a></li> | 443 | ····<li·class="navelem"><a·class="el"·href="a00905.html">OpenSubdiv</a></li><li·class="navelem"><a·class="el"·href="a00906.html">OPENSUBDIV_VERSION</a></li><li·class="navelem"><a·class="el"·href="a00912.html">Osd</a></li><li·class="navelem"><a·class="el"·href="a01213.html">D3D11VertexBuffer</a></li> |
Offset 97, 15 lines modified | Offset 97, 15 lines modified | ||
97 | ··<div·class="headertitle"><div·class="title">GLSLPatchShaderSource·Class·Reference</div></div> | 97 | ··<div·class="headertitle"><div·class="title">GLSLPatchShaderSource·Class·Reference</div></div> |
98 | </div><!--header--> | 98 | </div><!--header--> |
99 | <div·class="contents"> | 99 | <div·class="contents"> |
100 | <p>Provides·shader·source·which·can·be·used·by·client·code.·· | 100 | <p>Provides·shader·source·which·can·be·used·by·client·code.·· |
101 | ·<a·href="a01241.html#details">More...</a></p> | 101 | ·<a·href="a01241.html#details">More...</a></p> |
102 | <p><code>#include·<<a·class="el"·href="a0085 | 102 | <p><code>#include·<<a·class="el"·href="a00857_source.html">glslPatchShaderSource.h</a>></code></p> |
103 | <table·class="memberdecls"> | 103 | <table·class="memberdecls"> |
104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a> | 104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a> |
105 | Static·Public·Member·Functions</h2></td></tr> | 105 | Static·Public·Member·Functions</h2></td></tr> |
106 | <tr·class="memitem:ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"·id="r_ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"><td·class="memItemLeft"·align="right"·valign="top">static·std::string </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01241.html#ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d">GetPatchBasisShaderSource</a>·()</td></tr> | 106 | <tr·class="memitem:ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"·id="r_ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"><td·class="memItemLeft"·align="right"·valign="top">static·std::string </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01241.html#ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d">GetPatchBasisShaderSource</a>·()</td></tr> |
107 | <tr·class="memdesc:ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"><td·class="mdescLeft"> </td><td·class="mdescRight">Returns·shader·source·which·can·be·used·to·evaluate·position·and·first·and·second·derivatives·on·piecewise·parametric·patches·resulting·from·subdivision·refinement.··<br·/></td></tr> | 107 | <tr·class="memdesc:ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"><td·class="mdescLeft"> </td><td·class="mdescRight">Returns·shader·source·which·can·be·used·to·evaluate·position·and·first·and·second·derivatives·on·piecewise·parametric·patches·resulting·from·subdivision·refinement.··<br·/></td></tr> |
108 | <tr·class="separator:ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:ad41c6e1dc4a5cd6ee4f33fc5a8e15d1d"><td·class="memSeparator"·colspan="2"> </td></tr> |
109 | <tr·class="memitem:a230efce26a4754c94dbeedd435fe471b"·id="r_a230efce26a4754c94dbeedd435fe471b"><td·class="memItemLeft"·align="right"·valign="top">static·std::string </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01241.html#a230efce26a4754c94dbeedd435fe471b">GetPatchDrawingShaderSource</a>·()</td></tr> | 109 | <tr·class="memitem:a230efce26a4754c94dbeedd435fe471b"·id="r_a230efce26a4754c94dbeedd435fe471b"><td·class="memItemLeft"·align="right"·valign="top">static·std::string </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01241.html#a230efce26a4754c94dbeedd435fe471b">GetPatchDrawingShaderSource</a>·()</td></tr> |
Offset 122, 15 lines modified | Offset 122, 15 lines modified | ||
122 | <tr·class="separator:afc38178f7de93f60d4f6c1072c33cc7e"><td·class="memSeparator"·colspan="2"> </td></tr> | 122 | <tr·class="separator:afc38178f7de93f60d4f6c1072c33cc7e"><td·class="memSeparator"·colspan="2"> </td></tr> |
123 | <tr·class="memitem:a57a46d6848317cc76a02bc166ee05c24"·id="r_a57a46d6848317cc76a02bc166ee05c24"><td·class="memItemLeft"·align="right"·valign="top">static·std::string </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01241.html#a57a46d6848317cc76a02bc166ee05c24">GetTessEvalShaderSource</a>·(<a·class="el"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type)</td></tr> | 123 | <tr·class="memitem:a57a46d6848317cc76a02bc166ee05c24"·id="r_a57a46d6848317cc76a02bc166ee05c24"><td·class="memItemLeft"·align="right"·valign="top">static·std::string </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01241.html#a57a46d6848317cc76a02bc166ee05c24">GetTessEvalShaderSource</a>·(<a·class="el"·href="a00973.html#a1d1cfd8ffb84e947f82999c682b666a7">Far::PatchDescriptor::Type</a>·type)</td></tr> |
124 | <tr·class="separator:a57a46d6848317cc76a02bc166ee05c24"><td·class="memSeparator"·colspan="2"> </td></tr> | 124 | <tr·class="separator:a57a46d6848317cc76a02bc166ee05c24"><td·class="memSeparator"·colspan="2"> </td></tr> |
125 | </table> | 125 | </table> |
126 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 126 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
127 | <div·class="textblock"><p>Provides·shader·source·which·can·be·used·by·client·code.·</p> | 127 | <div·class="textblock"><p>Provides·shader·source·which·can·be·used·by·client·code.·</p> |
128 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0085 | 128 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00857_source.html#l00040">40</a>·of·file·<a·class="el"·href="a00857_source.html">glslPatchShaderSource.h</a>.</p> |
129 | </div><h2·class="groupheader">Member·Function·Documentation</h2> | 129 | </div><h2·class="groupheader">Member·Function·Documentation</h2> |
130 | <a·id="ad5f427d2655d384980715874209345e7"·name="ad5f427d2655d384980715874209345e7"></a> | 130 | <a·id="ad5f427d2655d384980715874209345e7"·name="ad5f427d2655d384980715874209345e7"></a> |
131 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad5f427d2655d384980715874209345e7">◆ </a></span>GetCommonShaderSource()</h2> | 131 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad5f427d2655d384980715874209345e7">◆ </a></span>GetCommonShaderSource()</h2> |
132 | <div·class="memitem"> | 132 | <div·class="memitem"> |
133 | <div·class="memproto"> | 133 | <div·class="memproto"> |
134 | <table·class="mlabels"> | 134 | <table·class="mlabels"> |
Offset 282, 15 lines modified | Offset 282, 15 lines modified | ||
282 | ··</tr> | 282 | ··</tr> |
283 | </table> | 283 | </table> |
284 | </div><div·class="memdoc"> | 284 | </div><div·class="memdoc"> |
285 | </div> | 285 | </div> |
286 | </div> | 286 | </div> |
287 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 287 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
288 | <li>opensubdiv/osd/<a·class="el"·href="a0085 | 288 | <li>opensubdiv/osd/<a·class="el"·href="a00857_source.html">glslPatchShaderSource.h</a></li> |
289 | </ul> | 289 | </ul> |
290 | </div><!--·contents·--> | 290 | </div><!--·contents·--> |
291 | </div><!--·doc-content·--> | 291 | </div><!--·doc-content·--> |
292 | <!--·start·footer·part·--> | 292 | <!--·start·footer·part·--> |
293 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 293 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
294 | ··<ul> | 294 | ··<ul> |
295 | ····<li·class="navelem"><a·class="el"·href="a00905.html">OpenSubdiv</a></li><li·class="navelem"><a·class="el"·href="a00906.html">OPENSUBDIV_VERSION</a></li><li·class="navelem"><a·class="el"·href="a00912.html">Osd</a></li><li·class="navelem"><a·class="el"·href="a01241.html">GLSLPatchShaderSource</a></li> | 295 | ····<li·class="navelem"><a·class="el"·href="a00905.html">OpenSubdiv</a></li><li·class="navelem"><a·class="el"·href="a00906.html">OPENSUBDIV_VERSION</a></li><li·class="navelem"><a·class="el"·href="a00912.html">Osd</a></li><li·class="navelem"><a·class="el"·href="a01241.html">GLSLPatchShaderSource</a></li> |
Offset 98, 15 lines modified | Offset 98, 15 lines modified | ||
98 | ··<div·class="headertitle"><div·class="title">GLStencilTableTBO·Class·Reference</div></div> | 98 | ··<div·class="headertitle"><div·class="title">GLStencilTableTBO·Class·Reference</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <p>GL·TextureBuffer·stencil·table.·· | 101 | <p>GL·TextureBuffer·stencil·table.·· |
102 | ·<a·href="a01249.html#details">More...</a></p> | 102 | ·<a·href="a01249.html#details">More...</a></p> |
103 | <p><code>#include·<<a·class="el"·href="a0085 | 103 | <p><code>#include·<<a·class="el"·href="a00851_source.html">glXFBEvaluator.h</a>></code></p> |
104 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
106 | Public·Member·Functions</h2></td></tr> | 106 | Public·Member·Functions</h2></td></tr> |
107 | <tr·class="memitem:abbba46ba67be00a0eac751e3e731db6e"·id="r_abbba46ba67be00a0eac751e3e731db6e"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01249.html#abbba46ba67be00a0eac751e3e731db6e">GLStencilTableTBO</a>·(<a·class="el"·href="a01065.html">Far::StencilTable</a>·const·*stencilTable)</td></tr> | 107 | <tr·class="memitem:abbba46ba67be00a0eac751e3e731db6e"·id="r_abbba46ba67be00a0eac751e3e731db6e"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01249.html#abbba46ba67be00a0eac751e3e731db6e">GLStencilTableTBO</a>·(<a·class="el"·href="a01065.html">Far::StencilTable</a>·const·*stencilTable)</td></tr> |
108 | <tr·class="separator:abbba46ba67be00a0eac751e3e731db6e"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:abbba46ba67be00a0eac751e3e731db6e"><td·class="memSeparator"·colspan="2"> </td></tr> |
109 | <tr·class="memitem:ac74a769daf1fe45575a16b738bb761cd"·id="r_ac74a769daf1fe45575a16b738bb761cd"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01249.html#ac74a769daf1fe45575a16b738bb761cd">GLStencilTableTBO</a>·(<a·class="el"·href="a01081.html">Far::LimitStencilTable</a>·const·*limitStencilTable)</td></tr> | 109 | <tr·class="memitem:ac74a769daf1fe45575a16b738bb761cd"·id="r_ac74a769daf1fe45575a16b738bb761cd"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01249.html#ac74a769daf1fe45575a16b738bb761cd">GLStencilTableTBO</a>·(<a·class="el"·href="a01081.html">Far::LimitStencilTable</a>·const·*limitStencilTable)</td></tr> |
110 | <tr·class="separator:ac74a769daf1fe45575a16b738bb761cd"><td·class="memSeparator"·colspan="2"> </td></tr> | 110 | <tr·class="separator:ac74a769daf1fe45575a16b738bb761cd"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 141, 15 lines modified | Offset 141, 15 lines modified | ||
141 | <tr·class="separator:ae38a4728f9debae7733ab48cfadd8312"><td·class="memSeparator"·colspan="2"> </td></tr> | 141 | <tr·class="separator:ae38a4728f9debae7733ab48cfadd8312"><td·class="memSeparator"·colspan="2"> </td></tr> |
142 | </table> | 142 | </table> |
143 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 143 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
144 | <div·class="textblock"><p>GL·TextureBuffer·stencil·table.·</p> | 144 | <div·class="textblock"><p>GL·TextureBuffer·stencil·table.·</p> |
145 | <p>This·class·is·a·GL·Texture·Buffer·representation·of·<a·class="el"·href="a01065.html"·title="Stencil·table·class·wrapping·the·template·for·compatibility.">Far::StencilTable</a>.</p> | 145 | <p>This·class·is·a·GL·Texture·Buffer·representation·of·<a·class="el"·href="a01065.html"·title="Stencil·table·class·wrapping·the·template·for·compatibility.">Far::StencilTable</a>.</p> |
146 | <p>GLSLTransformFeedback·consumes·this·table·to·apply·stencils·</p> | 146 | <p>GLSLTransformFeedback·consumes·this·table·to·apply·stencils·</p> |
147 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0085 | 147 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00851_source.html#l00052">52</a>·of·file·<a·class="el"·href="a00851_source.html">glXFBEvaluator.h</a>.</p> |
148 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 148 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
149 | <a·id="abbba46ba67be00a0eac751e3e731db6e"·name="abbba46ba67be00a0eac751e3e731db6e"></a> | 149 | <a·id="abbba46ba67be00a0eac751e3e731db6e"·name="abbba46ba67be00a0eac751e3e731db6e"></a> |
150 | <h2·class="memtitle"><span·class="permalink"><a·href="#abbba46ba67be00a0eac751e3e731db6e">◆ </a></span>GLStencilTableTBO()·<span·class="overload">[1/2]</span></h2> | 150 | <h2·class="memtitle"><span·class="permalink"><a·href="#abbba46ba67be00a0eac751e3e731db6e">◆ </a></span>GLStencilTableTBO()·<span·class="overload">[1/2]</span></h2> |
151 | <div·class="memitem"> | 151 | <div·class="memitem"> |
152 | <div·class="memproto"> | 152 | <div·class="memproto"> |
153 | <table·class="mlabels"> | 153 | <table·class="mlabels"> |
Offset 247, 15 lines modified | Offset 247, 15 lines modified | ||
247 | ··</td> | 247 | ··</td> |
248 | ··<td·class="mlabels-right"> | 248 | ··<td·class="mlabels-right"> |
249 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> | 249 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> |
250 | ··</tr> | 250 | ··</tr> |
251 | </table> | 251 | </table> |
252 | </div><div·class="memdoc"> | 252 | </div><div·class="memdoc"> |
253 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0085 | 253 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00851_source.html#l00060">60</a>·of·file·<a·class="el"·href="a00851_source.html">glXFBEvaluator.h</a>.</p> |
254 | </div> | 254 | </div> |
255 | </div> | 255 | </div> |
256 | <a·id="a24a8210b637a5b0fca2b258de3b8b8a6"·name="a24a8210b637a5b0fca2b258de3b8b8a6"></a> | 256 | <a·id="a24a8210b637a5b0fca2b258de3b8b8a6"·name="a24a8210b637a5b0fca2b258de3b8b8a6"></a> |
257 | <h2·class="memtitle"><span·class="permalink"><a·href="#a24a8210b637a5b0fca2b258de3b8b8a6">◆ </a></span>Create()·<span·class="overload">[2/2]</span></h2> | 257 | <h2·class="memtitle"><span·class="permalink"><a·href="#a24a8210b637a5b0fca2b258de3b8b8a6">◆ </a></span>Create()·<span·class="overload">[2/2]</span></h2> |
258 | <div·class="memitem"> | 258 | <div·class="memitem"> |
Offset 285, 15 lines modified | Offset 285, 15 lines modified | ||
285 | ··</td> | 285 | ··</td> |
286 | ··<td·class="mlabels-right"> | 286 | ··<td·class="mlabels-right"> |
287 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> | 287 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> |
288 | ··</tr> | 288 | ··</tr> |
289 | </table> | 289 | </table> |
290 | </div><div·class="memdoc"> | 290 | </div><div·class="memdoc"> |
291 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0085 | 291 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00851_source.html#l00054">54</a>·of·file·<a·class="el"·href="a00851_source.html">glXFBEvaluator.h</a>.</p> |
292 | </div> | 292 | </div> |
293 | </div> | 293 | </div> |
294 | <a·id="a70fdd6f46c3a89dd4627b67c9a37d02e"·name="a70fdd6f46c3a89dd4627b67c9a37d02e"></a> | 294 | <a·id="a70fdd6f46c3a89dd4627b67c9a37d02e"·name="a70fdd6f46c3a89dd4627b67c9a37d02e"></a> |
295 | <h2·class="memtitle"><span·class="permalink"><a·href="#a70fdd6f46c3a89dd4627b67c9a37d02e">◆ </a></span>GetDuuWeightsTexture()</h2> | 295 | <h2·class="memtitle"><span·class="permalink"><a·href="#a70fdd6f46c3a89dd4627b67c9a37d02e">◆ </a></span>GetDuuWeightsTexture()</h2> |
296 | <div·class="memitem"> | 296 | <div·class="memitem"> |
Offset 312, 15 lines modified | Offset 312, 15 lines modified | ||
312 | ··</td> | 312 | ··</td> |
313 | ··<td·class="mlabels-right"> | 313 | ··<td·class="mlabels-right"> |
314 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 314 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
315 | ··</tr> | 315 | ··</tr> |
316 | </table> | 316 | </table> |
317 | </div><div·class="memdoc"> | 317 | </div><div·class="memdoc"> |
318 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0085 | 318 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00851_source.html#l00078">78</a>·of·file·<a·class="el"·href="a00851_source.html">glXFBEvaluator.h</a>.</p> |
319 | </div> | 319 | </div> |
320 | </div> | 320 | </div> |
321 | <a·id="a6987f68e0e090437e6a28dadce50f566"·name="a6987f68e0e090437e6a28dadce50f566"></a> | 321 | <a·id="a6987f68e0e090437e6a28dadce50f566"·name="a6987f68e0e090437e6a28dadce50f566"></a> |
322 | <h2·class="memtitle"><span·class="permalink"><a·href="#a6987f68e0e090437e6a28dadce50f566">◆ </a></span>GetDuvWeightsTexture()</h2> | 322 | <h2·class="memtitle"><span·class="permalink"><a·href="#a6987f68e0e090437e6a28dadce50f566">◆ </a></span>GetDuvWeightsTexture()</h2> |
323 | <div·class="memitem"> | 323 | <div·class="memitem"> |
Offset 339, 15 lines modified | Offset 339, 15 lines modified | ||
339 | ··</td> | 339 | ··</td> |
340 | ··<td·class="mlabels-right"> | 340 | ··<td·class="mlabels-right"> |
341 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 341 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
342 | ··</tr> | 342 | ··</tr> |
343 | </table> | 343 | </table> |
344 | </div><div·class="memdoc"> | 344 | </div><div·class="memdoc"> |
345 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0085 | 345 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00851_source.html#l00079">79</a>·of·file·<a·class="el"·href="a00851_source.html">glXFBEvaluator.h</a>.</p> |
346 | </div> | 346 | </div> |
347 | </div> | 347 | </div> |
348 | <a·id="afd4ff3060d31d9650d6c2820d870fda8"·name="afd4ff3060d31d9650d6c2820d870fda8"></a> | 348 | <a·id="afd4ff3060d31d9650d6c2820d870fda8"·name="afd4ff3060d31d9650d6c2820d870fda8"></a> |
349 | <h2·class="memtitle"><span·class="permalink"><a·href="#afd4ff3060d31d9650d6c2820d870fda8">◆ </a></span>GetDuWeightsTexture()</h2> | 349 | <h2·class="memtitle"><span·class="permalink"><a·href="#afd4ff3060d31d9650d6c2820d870fda8">◆ </a></span>GetDuWeightsTexture()</h2> |
350 | <div·class="memitem"> | 350 | <div·class="memitem"> |
Offset 366, 15 lines modified | Offset 366, 15 lines modified | ||
366 | ··</td> | 366 | ··</td> |
367 | ··<td·class="mlabels-right"> | 367 | ··<td·class="mlabels-right"> |
368 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 368 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
369 | ··</tr> | 369 | ··</tr> |
370 | </table> | 370 | </table> |
371 | </div><div·class="memdoc"> | 371 | </div><div·class="memdoc"> |
372 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0085 | 372 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00851_source.html#l00076">76</a>·of·file·<a·class="el"·href="a00851_source.html">glXFBEvaluator.h</a>.</p> |
373 | </div> | 373 | </div> |
374 | </div> | 374 | </div> |
375 | <a·id="a5d98fa1e61dcd32b8deb16bc9cf04d52"·name="a5d98fa1e61dcd32b8deb16bc9cf04d52"></a> | 375 | <a·id="a5d98fa1e61dcd32b8deb16bc9cf04d52"·name="a5d98fa1e61dcd32b8deb16bc9cf04d52"></a> |
376 | <h2·class="memtitle"><span·class="permalink"><a·href="#a5d98fa1e61dcd32b8deb16bc9cf04d52">◆ </a></span>GetDvvWeightsTexture()</h2> | 376 | <h2·class="memtitle"><span·class="permalink"><a·href="#a5d98fa1e61dcd32b8deb16bc9cf04d52">◆ </a></span>GetDvvWeightsTexture()</h2> |
377 | <div·class="memitem"> | 377 | <div·class="memitem"> |
Offset 393, 15 lines modified | Offset 393, 15 lines modified | ||
393 | ··</td> | 393 | ··</td> |
394 | ··<td·class="mlabels-right"> | 394 | ··<td·class="mlabels-right"> |
395 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 395 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
396 | ··</tr> | 396 | ··</tr> |
397 | </table> | 397 | </table> |
398 | </div><div·class="memdoc"> | 398 | </div><div·class="memdoc"> |
399 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0085 | 399 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00851_source.html#l00080">80</a>·of·file·<a·class="el"·href="a00851_source.html">glXFBEvaluator.h</a>.</p> |
400 | </div> | 400 | </div> |
401 | </div> | 401 | </div> |
402 | <a·id="afb1cd9d41b168ceeadd4892bfb3d3f77"·name="afb1cd9d41b168ceeadd4892bfb3d3f77"></a> | 402 | <a·id="afb1cd9d41b168ceeadd4892bfb3d3f77"·name="afb1cd9d41b168ceeadd4892bfb3d3f77"></a> |
403 | <h2·class="memtitle"><span·class="permalink"><a·href="#afb1cd9d41b168ceeadd4892bfb3d3f77">◆ </a></span>GetDvWeightsTexture()</h2> | 403 | <h2·class="memtitle"><span·class="permalink"><a·href="#afb1cd9d41b168ceeadd4892bfb3d3f77">◆ </a></span>GetDvWeightsTexture()</h2> |
404 | <div·class="memitem"> | 404 | <div·class="memitem"> |
Max diff block lines reached; 5216/13017 bytes (40.07%) of diff not shown. |
Offset 97, 15 lines modified | Offset 97, 15 lines modified | ||
97 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 97 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
98 | <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·| | 98 | <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·| |
99 | <a·href="a01250.html">List·of·all·members</a>··</div> | 99 | <a·href="a01250.html">List·of·all·members</a>··</div> |
100 | ··<div·class="headertitle"><div·class="title">GLXFBEvaluator·Class·Reference</div></div> | 100 | ··<div·class="headertitle"><div·class="title">GLXFBEvaluator·Class·Reference</div></div> |
101 | </div><!--header--> | 101 | </div><!--header--> |
102 | <div·class="contents"> | 102 | <div·class="contents"> |
103 | <p><code>#include·<<a·class="el"·href="a0085 | 103 | <p><code>#include·<<a·class="el"·href="a00851_source.html">glXFBEvaluator.h</a>></code></p> |
104 | <table·class="memberdecls"> | 104 | <table·class="memberdecls"> |
105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 105 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
106 | Public·Types</h2></td></tr> | 106 | Public·Types</h2></td></tr> |
107 | <tr·class="memitem:a2c24b70c9312d8dff3fecb9ddea52c44"·id="r_a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memItemLeft"·align="right"·valign="top">typedef·bool </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01253.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td></tr> | 107 | <tr·class="memitem:a2c24b70c9312d8dff3fecb9ddea52c44"·id="r_a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memItemLeft"·align="right"·valign="top">typedef·bool </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01253.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td></tr> |
108 | <tr·class="separator:a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memSeparator"·colspan="2"> </td></tr> |
109 | </table><table·class="memberdecls"> | 109 | </table><table·class="memberdecls"> |
110 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 110 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
Offset 247, 29 lines modified | Offset 247, 29 lines modified | ||
247 | <tr·class="separator:afb7e2a0c3a861f3dcd410ba0d5b2046e"><td·class="memSeparator"·colspan="2"> </td></tr> | 247 | <tr·class="separator:afb7e2a0c3a861f3dcd410ba0d5b2046e"><td·class="memSeparator"·colspan="2"> </td></tr> |
248 | <tr·class="memitem:a631211712e30cb07dc6d6cc51bb1db15"·id="r_a631211712e30cb07dc6d6cc51bb1db15"><td·class="memItemLeft"·align="right"·valign="top">static·void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01253.html#a631211712e30cb07dc6d6cc51bb1db15">Synchronize</a>·(void·*kernel)</td></tr> | 248 | <tr·class="memitem:a631211712e30cb07dc6d6cc51bb1db15"·id="r_a631211712e30cb07dc6d6cc51bb1db15"><td·class="memItemLeft"·align="right"·valign="top">static·void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01253.html#a631211712e30cb07dc6d6cc51bb1db15">Synchronize</a>·(void·*kernel)</td></tr> |
249 | <tr·class="memdesc:a631211712e30cb07dc6d6cc51bb1db15"><td·class="mdescLeft"> </td><td·class="mdescRight">Wait·the·dispatched·kernel·finishes.··<br·/></td></tr> | 249 | <tr·class="memdesc:a631211712e30cb07dc6d6cc51bb1db15"><td·class="mdescLeft"> </td><td·class="mdescRight">Wait·the·dispatched·kernel·finishes.··<br·/></td></tr> |
250 | <tr·class="separator:a631211712e30cb07dc6d6cc51bb1db15"><td·class="memSeparator"·colspan="2"> </td></tr> | 250 | <tr·class="separator:a631211712e30cb07dc6d6cc51bb1db15"><td·class="memSeparator"·colspan="2"> </td></tr> |
251 | </table> | 251 | </table> |
252 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 252 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
253 | <div·class="textblock"> | 253 | <div·class="textblock"> |
254 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0085 | 254 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00851_source.html#l00098">98</a>·of·file·<a·class="el"·href="a00851_source.html">glXFBEvaluator.h</a>.</p> |
255 | </div><h2·class="groupheader">Member·Typedef·Documentation</h2> | 255 | </div><h2·class="groupheader">Member·Typedef·Documentation</h2> |
256 | <a·id="a2c24b70c9312d8dff3fecb9ddea52c44"·name="a2c24b70c9312d8dff3fecb9ddea52c44"></a> | 256 | <a·id="a2c24b70c9312d8dff3fecb9ddea52c44"·name="a2c24b70c9312d8dff3fecb9ddea52c44"></a> |
257 | <h2·class="memtitle"><span·class="permalink"><a·href="#a2c24b70c9312d8dff3fecb9ddea52c44">◆ </a></span>Instantiatable</h2> | 257 | <h2·class="memtitle"><span·class="permalink"><a·href="#a2c24b70c9312d8dff3fecb9ddea52c44">◆ </a></span>Instantiatable</h2> |
258 | <div·class="memitem"> | 258 | <div·class="memitem"> |
259 | <div·class="memproto"> | 259 | <div·class="memproto"> |
260 | ······<table·class="memname"> | 260 | ······<table·class="memname"> |
261 | ········<tr> | 261 | ········<tr> |
262 | ··········<td·class="memname">typedef·bool·<a·class="el"·href="a01253.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td> | 262 | ··········<td·class="memname">typedef·bool·<a·class="el"·href="a01253.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td> |
263 | ········</tr> | 263 | ········</tr> |
264 | ······</table> | 264 | ······</table> |
265 | </div><div·class="memdoc"> | 265 | </div><div·class="memdoc"> |
266 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0085 | 266 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00851_source.html#l00100">100</a>·of·file·<a·class="el"·href="a00851_source.html">glXFBEvaluator.h</a>.</p> |
267 | </div> | 267 | </div> |
268 | </div> | 268 | </div> |
269 | <h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 269 | <h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
270 | <a·id="a1932f725b28e271ab11ca768ba3bb01e"·name="a1932f725b28e271ab11ca768ba3bb01e"></a> | 270 | <a·id="a1932f725b28e271ab11ca768ba3bb01e"·name="a1932f725b28e271ab11ca768ba3bb01e"></a> |
271 | <h2·class="memtitle"><span·class="permalink"><a·href="#a1932f725b28e271ab11ca768ba3bb01e">◆ </a></span>GLXFBEvaluator()</h2> | 271 | <h2·class="memtitle"><span·class="permalink"><a·href="#a1932f725b28e271ab11ca768ba3bb01e">◆ </a></span>GLXFBEvaluator()</h2> |
Offset 421, 15 lines modified | Offset 421, 15 lines modified | ||
421 | ··</td> | 421 | ··</td> |
422 | ··<td·class="mlabels-right"> | 422 | ··<td·class="mlabels-right"> |
423 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> | 423 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> |
424 | ··</tr> | 424 | ··</tr> |
425 | </table> | 425 | </table> |
426 | </div><div·class="memdoc"> | 426 | </div><div·class="memdoc"> |
427 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0085 | 427 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00851_source.html#l00126">126</a>·of·file·<a·class="el"·href="a00851_source.html">glXFBEvaluator.h</a>.</p> |
428 | </div> | 428 | </div> |
429 | </div> | 429 | </div> |
430 | <a·id="a3a08d0f058b0d8dde7c853734ee446c7"·name="a3a08d0f058b0d8dde7c853734ee446c7"></a> | 430 | <a·id="a3a08d0f058b0d8dde7c853734ee446c7"·name="a3a08d0f058b0d8dde7c853734ee446c7"></a> |
431 | <h2·class="memtitle"><span·class="permalink"><a·href="#a3a08d0f058b0d8dde7c853734ee446c7">◆ </a></span>Create()·<span·class="overload">[2/6]</span></h2> | 431 | <h2·class="memtitle"><span·class="permalink"><a·href="#a3a08d0f058b0d8dde7c853734ee446c7">◆ </a></span>Create()·<span·class="overload">[2/6]</span></h2> |
432 | <div·class="memitem"> | 432 | <div·class="memitem"> |
Offset 495, 15 lines modified | Offset 495, 15 lines modified | ||
495 | ··</td> | 495 | ··</td> |
496 | ··<td·class="mlabels-right"> | 496 | ··<td·class="mlabels-right"> |
497 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> | 497 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> |
498 | ··</tr> | 498 | ··</tr> |
499 | </table> | 499 | </table> |
500 | </div><div·class="memdoc"> | 500 | </div><div·class="memdoc"> |
501 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0085 | 501 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00851_source.html#l00170">170</a>·of·file·<a·class="el"·href="a00851_source.html">glXFBEvaluator.h</a>.</p> |
502 | </div> | 502 | </div> |
503 | </div> | 503 | </div> |
504 | <a·id="a591dd44e4e7d35454ab63664150137a3"·name="a591dd44e4e7d35454ab63664150137a3"></a> | 504 | <a·id="a591dd44e4e7d35454ab63664150137a3"·name="a591dd44e4e7d35454ab63664150137a3"></a> |
505 | <h2·class="memtitle"><span·class="permalink"><a·href="#a591dd44e4e7d35454ab63664150137a3">◆ </a></span>Create()·<span·class="overload">[3/6]</span></h2> | 505 | <h2·class="memtitle"><span·class="permalink"><a·href="#a591dd44e4e7d35454ab63664150137a3">◆ </a></span>Create()·<span·class="overload">[3/6]</span></h2> |
506 | <div·class="memitem"> | 506 | <div·class="memitem"> |
Offset 573, 15 lines modified | Offset 573, 15 lines modified | ||
573 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> | 573 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> |
574 | ··</tr> | 574 | ··</tr> |
575 | </table> | 575 | </table> |
576 | </div><div·class="memdoc"> | 576 | </div><div·class="memdoc"> |
577 | <p>Generic·creator·template.·</p> | 577 | <p>Generic·creator·template.·</p> |
578 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0085 | 578 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00851_source.html#l00140">140</a>·of·file·<a·class="el"·href="a00851_source.html">glXFBEvaluator.h</a>.</p> |
579 | </div> | 579 | </div> |
580 | </div> | 580 | </div> |
581 | <a·id="aaf7aeae38dd52386c15108d7e94eb30f"·name="aaf7aeae38dd52386c15108d7e94eb30f"></a> | 581 | <a·id="aaf7aeae38dd52386c15108d7e94eb30f"·name="aaf7aeae38dd52386c15108d7e94eb30f"></a> |
582 | <h2·class="memtitle"><span·class="permalink"><a·href="#aaf7aeae38dd52386c15108d7e94eb30f">◆ </a></span>Create()·<span·class="overload">[4/6]</span></h2> | 582 | <h2·class="memtitle"><span·class="permalink"><a·href="#aaf7aeae38dd52386c15108d7e94eb30f">◆ </a></span>Create()·<span·class="overload">[4/6]</span></h2> |
583 | <div·class="memitem"> | 583 | <div·class="memitem"> |
Offset 649, 15 lines modified | Offset 649, 15 lines modified | ||
649 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> | 649 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> |
650 | ··</tr> | 650 | ··</tr> |
651 | </table> | 651 | </table> |
652 | </div><div·class="memdoc"> | 652 | </div><div·class="memdoc"> |
653 | <p>Specialization·to·allow·creation·without·a·device·context.·</p> | 653 | <p>Specialization·to·allow·creation·without·a·device·context.·</p> |
654 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0085 | 654 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00851_source.html#l00157">157</a>·of·file·<a·class="el"·href="a00851_source.html">glXFBEvaluator.h</a>.</p> |
655 | </div> | 655 | </div> |
656 | </div> | 656 | </div> |
657 | <a·id="a5be617906ad76ddcc4795dd6557a79f7"·name="a5be617906ad76ddcc4795dd6557a79f7"></a> | 657 | <a·id="a5be617906ad76ddcc4795dd6557a79f7"·name="a5be617906ad76ddcc4795dd6557a79f7"></a> |
658 | <h2·class="memtitle"><span·class="permalink"><a·href="#a5be617906ad76ddcc4795dd6557a79f7">◆ </a></span>Create()·<span·class="overload">[5/6]</span></h2> | 658 | <h2·class="memtitle"><span·class="permalink"><a·href="#a5be617906ad76ddcc4795dd6557a79f7">◆ </a></span>Create()·<span·class="overload">[5/6]</span></h2> |
659 | <div·class="memitem"> | 659 | <div·class="memitem"> |
Offset 709, 15 lines modified | Offset 709, 15 lines modified | ||
709 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> | 709 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> |
710 | ··</tr> | 710 | ··</tr> |
711 | </table> | 711 | </table> |
712 | </div><div·class="memdoc"> | 712 | </div><div·class="memdoc"> |
713 | <p>Generic·creator·template.·</p> | 713 | <p>Generic·creator·template.·</p> |
714 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0085 | 714 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00851_source.html#l00104">104</a>·of·file·<a·class="el"·href="a00851_source.html">glXFBEvaluator.h</a>.</p> |
715 | </div> | 715 | </div> |
716 | </div> | 716 | </div> |
717 | <a·id="a429f25fc87b709736f619fb76bd6c47f"·name="a429f25fc87b709736f619fb76bd6c47f"></a> | 717 | <a·id="a429f25fc87b709736f619fb76bd6c47f"·name="a429f25fc87b709736f619fb76bd6c47f"></a> |
718 | <h2·class="memtitle"><span·class="permalink"><a·href="#a429f25fc87b709736f619fb76bd6c47f">◆ </a></span>Create()·<span·class="overload">[6/6]</span></h2> | 718 | <h2·class="memtitle"><span·class="permalink"><a·href="#a429f25fc87b709736f619fb76bd6c47f">◆ </a></span>Create()·<span·class="overload">[6/6]</span></h2> |
719 | <div·class="memitem"> | 719 | <div·class="memitem"> |
Offset 767, 15 lines modified | Offset 767, 15 lines modified | ||
767 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> | 767 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> |
Max diff block lines reached; 29670/37799 bytes (78.49%) of diff not shown. |
Offset 95, 15 lines modified | Offset 95, 15 lines modified | ||
95 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 95 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
96 | <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·| | 96 | <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·| |
97 | <a·href="a01286.html">List·of·all·members</a>··</div> | 97 | <a·href="a01286.html">List·of·all·members</a>··</div> |
98 | ··<div·class="headertitle"><div·class="title">MTLStencilTable·Class·Reference</div></div> | 98 | ··<div·class="headertitle"><div·class="title">MTLStencilTable·Class·Reference</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <p><code>#include·<<a·class="el"·href="a008 | 101 | <p><code>#include·<<a·class="el"·href="a00821_source.html">mtlComputeEvaluator.h</a>></code></p> |
102 | <table·class="memberdecls"> | 102 | <table·class="memberdecls"> |
103 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 103 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
104 | Public·Member·Functions</h2></td></tr> | 104 | Public·Member·Functions</h2></td></tr> |
105 | <tr·class="memitem:a45e329ffe9fe4e32a1b21bfc89a6763f"·id="r_a45e329ffe9fe4e32a1b21bfc89a6763f"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01289.html#a45e329ffe9fe4e32a1b21bfc89a6763f">MTLStencilTable</a>·(<a·class="el"·href="a01065.html">Far::StencilTable</a>·const·*stencilTable,·<a·class="el"·href="a01285.html">MTLContext</a>·*context)</td></tr> | 105 | <tr·class="memitem:a45e329ffe9fe4e32a1b21bfc89a6763f"·id="r_a45e329ffe9fe4e32a1b21bfc89a6763f"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01289.html#a45e329ffe9fe4e32a1b21bfc89a6763f">MTLStencilTable</a>·(<a·class="el"·href="a01065.html">Far::StencilTable</a>·const·*stencilTable,·<a·class="el"·href="a01285.html">MTLContext</a>·*context)</td></tr> |
106 | <tr·class="separator:a45e329ffe9fe4e32a1b21bfc89a6763f"><td·class="memSeparator"·colspan="2"> </td></tr> | 106 | <tr·class="separator:a45e329ffe9fe4e32a1b21bfc89a6763f"><td·class="memSeparator"·colspan="2"> </td></tr> |
107 | <tr·class="memitem:a015dc72c3360b4841ee2b3feb06c106f"·id="r_a015dc72c3360b4841ee2b3feb06c106f"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01289.html#a015dc72c3360b4841ee2b3feb06c106f">MTLStencilTable</a>·(<a·class="el"·href="a01081.html">Far::LimitStencilTable</a>·const·*stencilTable,·<a·class="el"·href="a01285.html">MTLContext</a>·*context)</td></tr> | 107 | <tr·class="memitem:a015dc72c3360b4841ee2b3feb06c106f"·id="r_a015dc72c3360b4841ee2b3feb06c106f"><td·class="memItemLeft"·align="right"·valign="top"> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01289.html#a015dc72c3360b4841ee2b3feb06c106f">MTLStencilTable</a>·(<a·class="el"·href="a01081.html">Far::LimitStencilTable</a>·const·*stencilTable,·<a·class="el"·href="a01285.html">MTLContext</a>·*context)</td></tr> |
108 | <tr·class="separator:a015dc72c3360b4841ee2b3feb06c106f"><td·class="memSeparator"·colspan="2"> </td></tr> | 108 | <tr·class="separator:a015dc72c3360b4841ee2b3feb06c106f"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 134, 15 lines modified | Offset 134, 15 lines modified | ||
134 | Static·Public·Member·Functions</h2></td></tr> | 134 | Static·Public·Member·Functions</h2></td></tr> |
135 | <tr·class="memitem:ad96fc1ad226b46fec987d3b131a87a90"·id="r_ad96fc1ad226b46fec987d3b131a87a90"><td·class="memTemplParams"·colspan="2">template<typename·STENCIL_TABLE·,·typename·DEVICE_CONTEXT·>·</td></tr> | 135 | <tr·class="memitem:ad96fc1ad226b46fec987d3b131a87a90"·id="r_ad96fc1ad226b46fec987d3b131a87a90"><td·class="memTemplParams"·colspan="2">template<typename·STENCIL_TABLE·,·typename·DEVICE_CONTEXT·>·</td></tr> |
136 | <tr·class="memitem:ad96fc1ad226b46fec987d3b131a87a90"><td·class="memTemplItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01289.html">MTLStencilTable</a>·* </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01289.html#ad96fc1ad226b46fec987d3b131a87a90">Create</a>·(STENCIL_TABLE·*stencilTable,·DEVICE_CONTEXT·context)</td></tr> | 136 | <tr·class="memitem:ad96fc1ad226b46fec987d3b131a87a90"><td·class="memTemplItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01289.html">MTLStencilTable</a>·* </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01289.html#ad96fc1ad226b46fec987d3b131a87a90">Create</a>·(STENCIL_TABLE·*stencilTable,·DEVICE_CONTEXT·context)</td></tr> |
137 | <tr·class="separator:ad96fc1ad226b46fec987d3b131a87a90"><td·class="memSeparator"·colspan="2"> </td></tr> | 137 | <tr·class="separator:ad96fc1ad226b46fec987d3b131a87a90"><td·class="memSeparator"·colspan="2"> </td></tr> |
138 | </table> | 138 | </table> |
139 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 139 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
140 | <div·class="textblock"> | 140 | <div·class="textblock"> |
141 | <p·class="definition">Definition·at·line·<a·class="el"·href="a008 | 141 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00821_source.html#l00050">50</a>·of·file·<a·class="el"·href="a00821_source.html">mtlComputeEvaluator.h</a>.</p> |
142 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 142 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
143 | <a·id="a45e329ffe9fe4e32a1b21bfc89a6763f"·name="a45e329ffe9fe4e32a1b21bfc89a6763f"></a> | 143 | <a·id="a45e329ffe9fe4e32a1b21bfc89a6763f"·name="a45e329ffe9fe4e32a1b21bfc89a6763f"></a> |
144 | <h2·class="memtitle"><span·class="permalink"><a·href="#a45e329ffe9fe4e32a1b21bfc89a6763f">◆ </a></span>MTLStencilTable()·<span·class="overload">[1/2]</span></h2> | 144 | <h2·class="memtitle"><span·class="permalink"><a·href="#a45e329ffe9fe4e32a1b21bfc89a6763f">◆ </a></span>MTLStencilTable()·<span·class="overload">[1/2]</span></h2> |
145 | <div·class="memitem"> | 145 | <div·class="memitem"> |
146 | <div·class="memproto"> | 146 | <div·class="memproto"> |
147 | ······<table·class="memname"> | 147 | ······<table·class="memname"> |
Offset 246, 15 lines modified | Offset 246, 15 lines modified | ||
246 | ··</td> | 246 | ··</td> |
247 | ··<td·class="mlabels-right"> | 247 | ··<td·class="mlabels-right"> |
248 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> | 248 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> |
249 | ··</tr> | 249 | ··</tr> |
250 | </table> | 250 | </table> |
251 | </div><div·class="memdoc"> | 251 | </div><div·class="memdoc"> |
252 | <p·class="definition">Definition·at·line·<a·class="el"·href="a008 | 252 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00821_source.html#l00054">54</a>·of·file·<a·class="el"·href="a00821_source.html">mtlComputeEvaluator.h</a>.</p> |
253 | </div> | 253 | </div> |
254 | </div> | 254 | </div> |
255 | <a·id="a4dec46cc7a06c6c1687109e48f04e085"·name="a4dec46cc7a06c6c1687109e48f04e085"></a> | 255 | <a·id="a4dec46cc7a06c6c1687109e48f04e085"·name="a4dec46cc7a06c6c1687109e48f04e085"></a> |
256 | <h2·class="memtitle"><span·class="permalink"><a·href="#a4dec46cc7a06c6c1687109e48f04e085">◆ </a></span>GetDuuWeightsBuffer()</h2> | 256 | <h2·class="memtitle"><span·class="permalink"><a·href="#a4dec46cc7a06c6c1687109e48f04e085">◆ </a></span>GetDuuWeightsBuffer()</h2> |
257 | <div·class="memitem"> | 257 | <div·class="memitem"> |
Offset 273, 15 lines modified | Offset 273, 15 lines modified | ||
273 | ··</td> | 273 | ··</td> |
274 | ··<td·class="mlabels-right"> | 274 | ··<td·class="mlabels-right"> |
275 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 275 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
276 | ··</tr> | 276 | ··</tr> |
277 | </table> | 277 | </table> |
278 | </div><div·class="memdoc"> | 278 | </div><div·class="memdoc"> |
279 | <p·class="definition">Definition·at·line·<a·class="el"·href="a008 | 279 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00821_source.html#l00071">71</a>·of·file·<a·class="el"·href="a00821_source.html">mtlComputeEvaluator.h</a>.</p> |
280 | </div> | 280 | </div> |
281 | </div> | 281 | </div> |
282 | <a·id="a6175e9daf70e8c27fb5122546df3fb1f"·name="a6175e9daf70e8c27fb5122546df3fb1f"></a> | 282 | <a·id="a6175e9daf70e8c27fb5122546df3fb1f"·name="a6175e9daf70e8c27fb5122546df3fb1f"></a> |
283 | <h2·class="memtitle"><span·class="permalink"><a·href="#a6175e9daf70e8c27fb5122546df3fb1f">◆ </a></span>GetDuvWeightsBuffer()</h2> | 283 | <h2·class="memtitle"><span·class="permalink"><a·href="#a6175e9daf70e8c27fb5122546df3fb1f">◆ </a></span>GetDuvWeightsBuffer()</h2> |
284 | <div·class="memitem"> | 284 | <div·class="memitem"> |
Offset 300, 15 lines modified | Offset 300, 15 lines modified | ||
300 | ··</td> | 300 | ··</td> |
301 | ··<td·class="mlabels-right"> | 301 | ··<td·class="mlabels-right"> |
302 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 302 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
303 | ··</tr> | 303 | ··</tr> |
304 | </table> | 304 | </table> |
305 | </div><div·class="memdoc"> | 305 | </div><div·class="memdoc"> |
306 | <p·class="definition">Definition·at·line·<a·class="el"·href="a008 | 306 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00821_source.html#l00072">72</a>·of·file·<a·class="el"·href="a00821_source.html">mtlComputeEvaluator.h</a>.</p> |
307 | </div> | 307 | </div> |
308 | </div> | 308 | </div> |
309 | <a·id="a13aa05ad0482bad5182feb3cd75b4168"·name="a13aa05ad0482bad5182feb3cd75b4168"></a> | 309 | <a·id="a13aa05ad0482bad5182feb3cd75b4168"·name="a13aa05ad0482bad5182feb3cd75b4168"></a> |
310 | <h2·class="memtitle"><span·class="permalink"><a·href="#a13aa05ad0482bad5182feb3cd75b4168">◆ </a></span>GetDuWeightsBuffer()</h2> | 310 | <h2·class="memtitle"><span·class="permalink"><a·href="#a13aa05ad0482bad5182feb3cd75b4168">◆ </a></span>GetDuWeightsBuffer()</h2> |
311 | <div·class="memitem"> | 311 | <div·class="memitem"> |
Offset 327, 15 lines modified | Offset 327, 15 lines modified | ||
327 | ··</td> | 327 | ··</td> |
328 | ··<td·class="mlabels-right"> | 328 | ··<td·class="mlabels-right"> |
329 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 329 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
330 | ··</tr> | 330 | ··</tr> |
331 | </table> | 331 | </table> |
332 | </div><div·class="memdoc"> | 332 | </div><div·class="memdoc"> |
333 | <p·class="definition">Definition·at·line·<a·class="el"·href="a008 | 333 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00821_source.html#l00069">69</a>·of·file·<a·class="el"·href="a00821_source.html">mtlComputeEvaluator.h</a>.</p> |
334 | </div> | 334 | </div> |
335 | </div> | 335 | </div> |
336 | <a·id="a2f1e271aba868c291f9e0a9e9d1ace47"·name="a2f1e271aba868c291f9e0a9e9d1ace47"></a> | 336 | <a·id="a2f1e271aba868c291f9e0a9e9d1ace47"·name="a2f1e271aba868c291f9e0a9e9d1ace47"></a> |
337 | <h2·class="memtitle"><span·class="permalink"><a·href="#a2f1e271aba868c291f9e0a9e9d1ace47">◆ </a></span>GetDvvWeightsBuffer()</h2> | 337 | <h2·class="memtitle"><span·class="permalink"><a·href="#a2f1e271aba868c291f9e0a9e9d1ace47">◆ </a></span>GetDvvWeightsBuffer()</h2> |
338 | <div·class="memitem"> | 338 | <div·class="memitem"> |
Offset 354, 15 lines modified | Offset 354, 15 lines modified | ||
354 | ··</td> | 354 | ··</td> |
355 | ··<td·class="mlabels-right"> | 355 | ··<td·class="mlabels-right"> |
356 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 356 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
357 | ··</tr> | 357 | ··</tr> |
358 | </table> | 358 | </table> |
359 | </div><div·class="memdoc"> | 359 | </div><div·class="memdoc"> |
360 | <p·class="definition">Definition·at·line·<a·class="el"·href="a008 | 360 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00821_source.html#l00073">73</a>·of·file·<a·class="el"·href="a00821_source.html">mtlComputeEvaluator.h</a>.</p> |
361 | </div> | 361 | </div> |
362 | </div> | 362 | </div> |
363 | <a·id="ae7df9ee000b676b2afb8b2979c006494"·name="ae7df9ee000b676b2afb8b2979c006494"></a> | 363 | <a·id="ae7df9ee000b676b2afb8b2979c006494"·name="ae7df9ee000b676b2afb8b2979c006494"></a> |
364 | <h2·class="memtitle"><span·class="permalink"><a·href="#ae7df9ee000b676b2afb8b2979c006494">◆ </a></span>GetDvWeightsBuffer()</h2> | 364 | <h2·class="memtitle"><span·class="permalink"><a·href="#ae7df9ee000b676b2afb8b2979c006494">◆ </a></span>GetDvWeightsBuffer()</h2> |
365 | <div·class="memitem"> | 365 | <div·class="memitem"> |
Offset 381, 15 lines modified | Offset 381, 15 lines modified | ||
381 | ··</td> | 381 | ··</td> |
382 | ··<td·class="mlabels-right"> | 382 | ··<td·class="mlabels-right"> |
383 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 383 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
384 | ··</tr> | 384 | ··</tr> |
385 | </table> | 385 | </table> |
386 | </div><div·class="memdoc"> | 386 | </div><div·class="memdoc"> |
387 | <p·class="definition">Definition·at·line·<a·class="el"·href="a008 | 387 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00821_source.html#l00070">70</a>·of·file·<a·class="el"·href="a00821_source.html">mtlComputeEvaluator.h</a>.</p> |
388 | </div> | 388 | </div> |
389 | </div> | 389 | </div> |
390 | <a·id="a860a80d6ea4ec9aec06280c39376683c"·name="a860a80d6ea4ec9aec06280c39376683c"></a> | 390 | <a·id="a860a80d6ea4ec9aec06280c39376683c"·name="a860a80d6ea4ec9aec06280c39376683c"></a> |
391 | <h2·class="memtitle"><span·class="permalink"><a·href="#a860a80d6ea4ec9aec06280c39376683c">◆ </a></span>GetIndicesBuffer()</h2> | 391 | <h2·class="memtitle"><span·class="permalink"><a·href="#a860a80d6ea4ec9aec06280c39376683c">◆ </a></span>GetIndicesBuffer()</h2> |
392 | <div·class="memitem"> | 392 | <div·class="memitem"> |
Max diff block lines reached; 4477/12836 bytes (34.88%) of diff not shown. |
Offset 96, 15 lines modified | Offset 96, 15 lines modified | ||
96 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 96 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
97 | <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·| | 97 | <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·| |
98 | <a·href="a01290.html">List·of·all·members</a>··</div> | 98 | <a·href="a01290.html">List·of·all·members</a>··</div> |
99 | ··<div·class="headertitle"><div·class="title">MTLComputeEvaluator·Class·Reference</div></div> | 99 | ··<div·class="headertitle"><div·class="title">MTLComputeEvaluator·Class·Reference</div></div> |
100 | </div><!--header--> | 100 | </div><!--header--> |
101 | <div·class="contents"> | 101 | <div·class="contents"> |
102 | <p><code>#include·<<a·class="el"·href="a008 | 102 | <p><code>#include·<<a·class="el"·href="a00821_source.html">mtlComputeEvaluator.h</a>></code></p> |
103 | <table·class="memberdecls"> | 103 | <table·class="memberdecls"> |
104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 104 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
105 | Public·Types</h2></td></tr> | 105 | Public·Types</h2></td></tr> |
106 | <tr·class="memitem:a2c24b70c9312d8dff3fecb9ddea52c44"·id="r_a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memItemLeft"·align="right"·valign="top">typedef·bool </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01293.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td></tr> | 106 | <tr·class="memitem:a2c24b70c9312d8dff3fecb9ddea52c44"·id="r_a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memItemLeft"·align="right"·valign="top">typedef·bool </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01293.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td></tr> |
107 | <tr·class="separator:a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:a2c24b70c9312d8dff3fecb9ddea52c44"><td·class="memSeparator"·colspan="2"> </td></tr> |
108 | </table><table·class="memberdecls"> | 108 | </table><table·class="memberdecls"> |
109 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> | 109 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a> |
Offset 231, 29 lines modified | Offset 231, 29 lines modified | ||
231 | <tr·class="separator:a0b18216ba91299d39434a936ff58309b"><td·class="memSeparator"·colspan="2"> </td></tr> | 231 | <tr·class="separator:a0b18216ba91299d39434a936ff58309b"><td·class="memSeparator"·colspan="2"> </td></tr> |
232 | <tr·class="memitem:a7e02041f843415c1056ea2ca3f7d0b62"·id="r_a7e02041f843415c1056ea2ca3f7d0b62"><td·class="memItemLeft"·align="right"·valign="top">static·void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01293.html#a7e02041f843415c1056ea2ca3f7d0b62">Synchronize</a>·(<a·class="el"·href="a01285.html">MTLContext</a>·*context)</td></tr> | 232 | <tr·class="memitem:a7e02041f843415c1056ea2ca3f7d0b62"·id="r_a7e02041f843415c1056ea2ca3f7d0b62"><td·class="memItemLeft"·align="right"·valign="top">static·void </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01293.html#a7e02041f843415c1056ea2ca3f7d0b62">Synchronize</a>·(<a·class="el"·href="a01285.html">MTLContext</a>·*context)</td></tr> |
233 | <tr·class="memdesc:a7e02041f843415c1056ea2ca3f7d0b62"><td·class="mdescLeft"> </td><td·class="mdescRight">Wait·for·the·dispatched·kernel·to·finish.··<br·/></td></tr> | 233 | <tr·class="memdesc:a7e02041f843415c1056ea2ca3f7d0b62"><td·class="mdescLeft"> </td><td·class="mdescRight">Wait·for·the·dispatched·kernel·to·finish.··<br·/></td></tr> |
234 | <tr·class="separator:a7e02041f843415c1056ea2ca3f7d0b62"><td·class="memSeparator"·colspan="2"> </td></tr> | 234 | <tr·class="separator:a7e02041f843415c1056ea2ca3f7d0b62"><td·class="memSeparator"·colspan="2"> </td></tr> |
235 | </table> | 235 | </table> |
236 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 236 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
237 | <div·class="textblock"> | 237 | <div·class="textblock"> |
238 | <p·class="definition">Definition·at·line·<a·class="el"·href="a008 | 238 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00821_source.html#l00091">91</a>·of·file·<a·class="el"·href="a00821_source.html">mtlComputeEvaluator.h</a>.</p> |
239 | </div><h2·class="groupheader">Member·Typedef·Documentation</h2> | 239 | </div><h2·class="groupheader">Member·Typedef·Documentation</h2> |
240 | <a·id="a2c24b70c9312d8dff3fecb9ddea52c44"·name="a2c24b70c9312d8dff3fecb9ddea52c44"></a> | 240 | <a·id="a2c24b70c9312d8dff3fecb9ddea52c44"·name="a2c24b70c9312d8dff3fecb9ddea52c44"></a> |
241 | <h2·class="memtitle"><span·class="permalink"><a·href="#a2c24b70c9312d8dff3fecb9ddea52c44">◆ </a></span>Instantiatable</h2> | 241 | <h2·class="memtitle"><span·class="permalink"><a·href="#a2c24b70c9312d8dff3fecb9ddea52c44">◆ </a></span>Instantiatable</h2> |
242 | <div·class="memitem"> | 242 | <div·class="memitem"> |
243 | <div·class="memproto"> | 243 | <div·class="memproto"> |
244 | ······<table·class="memname"> | 244 | ······<table·class="memname"> |
245 | ········<tr> | 245 | ········<tr> |
246 | ··········<td·class="memname">typedef·bool·<a·class="el"·href="a01293.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td> | 246 | ··········<td·class="memname">typedef·bool·<a·class="el"·href="a01293.html#a2c24b70c9312d8dff3fecb9ddea52c44">Instantiatable</a></td> |
247 | ········</tr> | 247 | ········</tr> |
248 | ······</table> | 248 | ······</table> |
249 | </div><div·class="memdoc"> | 249 | </div><div·class="memdoc"> |
250 | <p·class="definition">Definition·at·line·<a·class="el"·href="a008 | 250 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00821_source.html#l00094">94</a>·of·file·<a·class="el"·href="a00821_source.html">mtlComputeEvaluator.h</a>.</p> |
251 | </div> | 251 | </div> |
252 | </div> | 252 | </div> |
253 | <h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 253 | <h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
254 | <a·id="a10015b2c4f90f3a11e60cc88dcbb9d6b"·name="a10015b2c4f90f3a11e60cc88dcbb9d6b"></a> | 254 | <a·id="a10015b2c4f90f3a11e60cc88dcbb9d6b"·name="a10015b2c4f90f3a11e60cc88dcbb9d6b"></a> |
255 | <h2·class="memtitle"><span·class="permalink"><a·href="#a10015b2c4f90f3a11e60cc88dcbb9d6b">◆ </a></span>MTLComputeEvaluator()</h2> | 255 | <h2·class="memtitle"><span·class="permalink"><a·href="#a10015b2c4f90f3a11e60cc88dcbb9d6b">◆ </a></span>MTLComputeEvaluator()</h2> |
Offset 877, 15 lines modified | Offset 877, 15 lines modified | ||
877 | ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01305.html">MTLPatchTable</a>·or·equivalent</td></tr> | 877 | ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01305.html">MTLPatchTable</a>·or·equivalent</td></tr> |
878 | ····<tr><td·class="paramname">instance</td><td>cached·compiled·instance.·Clients·are·supposed·to·pre-compile·an·instance·of·this·class·and·provide·to·this·function.·If·it's·null·the·kernel·still·compute·by·instantiating·on-demand·kernel·although·it·may·cause·a·performance·problem.</td></tr> | 878 | ····<tr><td·class="paramname">instance</td><td>cached·compiled·instance.·Clients·are·supposed·to·pre-compile·an·instance·of·this·class·and·provide·to·this·function.·If·it's·null·the·kernel·still·compute·by·instantiating·on-demand·kernel·although·it·may·cause·a·performance·problem.</td></tr> |
879 | ····<tr><td·class="paramname">context</td><td>used·to·obtain·the·MTLDevice·object·and·command·queue·to·obtain·command·buffers·from.·</td></tr> | 879 | ····<tr><td·class="paramname">context</td><td>used·to·obtain·the·MTLDevice·object·and·command·queue·to·obtain·command·buffers·from.·</td></tr> |
880 | ··</table> | 880 | ··</table> |
881 | ··</dd> | 881 | ··</dd> |
882 | </dl> | 882 | </dl> |
883 | <p·class="definition">Definition·at·line·<a·class="el"·href="a008 | 883 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00821_source.html#l00889">889</a>·of·file·<a·class="el"·href="a00821_source.html">mtlComputeEvaluator.h</a>.</p> |
884 | </div> | 884 | </div> |
885 | </div> | 885 | </div> |
886 | <a·id="add1df0176df3d03028f001f041f26d5c"·name="add1df0176df3d03028f001f041f26d5c"></a> | 886 | <a·id="add1df0176df3d03028f001f041f26d5c"·name="add1df0176df3d03028f001f041f26d5c"></a> |
887 | <h2·class="memtitle"><span·class="permalink"><a·href="#add1df0176df3d03028f001f041f26d5c">◆ </a></span>EvalPatches()·<span·class="overload">[4/8]</span></h2> | 887 | <h2·class="memtitle"><span·class="permalink"><a·href="#add1df0176df3d03028f001f041f26d5c">◆ </a></span>EvalPatches()·<span·class="overload">[4/8]</span></h2> |
888 | <div·class="memitem"> | 888 | <div·class="memitem"> |
Offset 1038, 15 lines modified | Offset 1038, 15 lines modified | ||
1038 | ····<tr><td·class="paramname">patchCoords</td><td>array·of·locations·to·be·evaluated.</td></tr> | 1038 | ····<tr><td·class="paramname">patchCoords</td><td>array·of·locations·to·be·evaluated.</td></tr> |
1039 | ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01305.html">MTLPatchTable</a>·or·equivalent</td></tr> | 1039 | ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01305.html">MTLPatchTable</a>·or·equivalent</td></tr> |
1040 | ····<tr><td·class="paramname">context</td><td>used·to·obtain·the·MTLDevice·object·and·command·queue·to·obtain·command·buffers·from.·</td></tr> | 1040 | ····<tr><td·class="paramname">context</td><td>used·to·obtain·the·MTLDevice·object·and·command·queue·to·obtain·command·buffers·from.·</td></tr> |
1041 | ··</table> | 1041 | ··</table> |
1042 | ··</dd> | 1042 | ··</dd> |
1043 | </dl> | 1043 | </dl> |
1044 | <p·class="definition">Definition·at·line·<a·class="el"·href="a008 | 1044 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00821_source.html#l01104">1104</a>·of·file·<a·class="el"·href="a00821_source.html">mtlComputeEvaluator.h</a>.</p> |
1045 | </div> | 1045 | </div> |
1046 | </div> | 1046 | </div> |
1047 | <a·id="a04f16e003e67523aaa60a18a7104a83b"·name="a04f16e003e67523aaa60a18a7104a83b"></a> | 1047 | <a·id="a04f16e003e67523aaa60a18a7104a83b"·name="a04f16e003e67523aaa60a18a7104a83b"></a> |
1048 | <h2·class="memtitle"><span·class="permalink"><a·href="#a04f16e003e67523aaa60a18a7104a83b">◆ </a></span>EvalPatches()·<span·class="overload">[5/8]</span></h2> | 1048 | <h2·class="memtitle"><span·class="permalink"><a·href="#a04f16e003e67523aaa60a18a7104a83b">◆ </a></span>EvalPatches()·<span·class="overload">[5/8]</span></h2> |
1049 | <div·class="memitem"> | 1049 | <div·class="memitem"> |
Offset 1164, 15 lines modified | Offset 1164, 15 lines modified | ||
1164 | ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01305.html">MTLPatchTable</a>·or·equivalent</td></tr> | 1164 | ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01305.html">MTLPatchTable</a>·or·equivalent</td></tr> |
1165 | ····<tr><td·class="paramname">instance</td><td>cached·compiled·instance.·Clients·are·supposed·to·pre-compile·an·instance·of·this·class·and·provide·to·this·function.·If·it's·null·the·kernel·still·compute·by·instantiating·on-demand·kernel·although·it·may·cause·a·performance·problem.</td></tr> | 1165 | ····<tr><td·class="paramname">instance</td><td>cached·compiled·instance.·Clients·are·supposed·to·pre-compile·an·instance·of·this·class·and·provide·to·this·function.·If·it's·null·the·kernel·still·compute·by·instantiating·on-demand·kernel·although·it·may·cause·a·performance·problem.</td></tr> |
1166 | ····<tr><td·class="paramname">context</td><td>used·to·obtain·the·MTLDevice·object·and·command·queue·to·obtain·command·buffers·from.·</td></tr> | 1166 | ····<tr><td·class="paramname">context</td><td>used·to·obtain·the·MTLDevice·object·and·command·queue·to·obtain·command·buffers·from.·</td></tr> |
1167 | ··</table> | 1167 | ··</table> |
1168 | ··</dd> | 1168 | ··</dd> |
1169 | </dl> | 1169 | </dl> |
1170 | <p·class="definition">Definition·at·line·<a·class="el"·href="a008 | 1170 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00821_source.html#l00786">786</a>·of·file·<a·class="el"·href="a00821_source.html">mtlComputeEvaluator.h</a>.</p> |
1171 | </div> | 1171 | </div> |
1172 | </div> | 1172 | </div> |
1173 | <a·id="ade51863a5d2d4b642f8c78b9e85faf38"·name="ade51863a5d2d4b642f8c78b9e85faf38"></a> | 1173 | <a·id="ade51863a5d2d4b642f8c78b9e85faf38"·name="ade51863a5d2d4b642f8c78b9e85faf38"></a> |
1174 | <h2·class="memtitle"><span·class="permalink"><a·href="#ade51863a5d2d4b642f8c78b9e85faf38">◆ </a></span>EvalPatches()·<span·class="overload">[6/8]</span></h2> | 1174 | <h2·class="memtitle"><span·class="permalink"><a·href="#ade51863a5d2d4b642f8c78b9e85faf38">◆ </a></span>EvalPatches()·<span·class="overload">[6/8]</span></h2> |
1175 | <div·class="memitem"> | 1175 | <div·class="memitem"> |
Offset 1283, 15 lines modified | Offset 1283, 15 lines modified | ||
1283 | ····<tr><td·class="paramname">patchCoords</td><td>array·of·locations·to·be·evaluated.</td></tr> | 1283 | ····<tr><td·class="paramname">patchCoords</td><td>array·of·locations·to·be·evaluated.</td></tr> |
1284 | ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01305.html">MTLPatchTable</a>·or·equivalent</td></tr> | 1284 | ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01305.html">MTLPatchTable</a>·or·equivalent</td></tr> |
1285 | ····<tr><td·class="paramname">context</td><td>used·to·obtain·the·MTLDevice·object·and·command·queue·to·obtain·command·buffers·from.·</td></tr> | 1285 | ····<tr><td·class="paramname">context</td><td>used·to·obtain·the·MTLDevice·object·and·command·queue·to·obtain·command·buffers·from.·</td></tr> |
1286 | ··</table> | 1286 | ··</table> |
1287 | ··</dd> | 1287 | ··</dd> |
1288 | </dl> | 1288 | </dl> |
1289 | <p·class="definition">Definition·at·line·<a·class="el"·href="a008 | 1289 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00821_source.html#l01025">1025</a>·of·file·<a·class="el"·href="a00821_source.html">mtlComputeEvaluator.h</a>.</p> |
1290 | </div> | 1290 | </div> |
1291 | </div> | 1291 | </div> |
1292 | <a·id="a1e8b40a131056bb2e3868d4dd4a94ba6"·name="a1e8b40a131056bb2e3868d4dd4a94ba6"></a> | 1292 | <a·id="a1e8b40a131056bb2e3868d4dd4a94ba6"·name="a1e8b40a131056bb2e3868d4dd4a94ba6"></a> |
1293 | <h2·class="memtitle"><span·class="permalink"><a·href="#a1e8b40a131056bb2e3868d4dd4a94ba6">◆ </a></span>EvalPatches()·<span·class="overload">[7/8]</span></h2> | 1293 | <h2·class="memtitle"><span·class="permalink"><a·href="#a1e8b40a131056bb2e3868d4dd4a94ba6">◆ </a></span>EvalPatches()·<span·class="overload">[7/8]</span></h2> |
1294 | <div·class="memitem"> | 1294 | <div·class="memitem"> |
Offset 1384, 15 lines modified | Offset 1384, 15 lines modified | ||
1384 | ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01305.html">MTLPatchTable</a>·or·equivalent</td></tr> | 1384 | ····<tr><td·class="paramname">patchTable</td><td><a·class="el"·href="a01305.html">MTLPatchTable</a>·or·equivalent</td></tr> |
1385 | ····<tr><td·class="paramname">instance</td><td>cached·compiled·instance.·Clients·are·supposed·to·pre-compile·an·instance·of·this·class·and·provide·to·this·function.·If·it's·null·the·kernel·still·compute·by·instantiating·on-demand·kernel·although·it·may·cause·a·performance·problem.</td></tr> | 1385 | ····<tr><td·class="paramname">instance</td><td>cached·compiled·instance.·Clients·are·supposed·to·pre-compile·an·instance·of·this·class·and·provide·to·this·function.·If·it's·null·the·kernel·still·compute·by·instantiating·on-demand·kernel·although·it·may·cause·a·performance·problem.</td></tr> |
1386 | ····<tr><td·class="paramname">context</td><td>used·to·obtain·the·MTLDevice·object·and·command·queue·to·obtain·command·buffers·from.·</td></tr> | 1386 | ····<tr><td·class="paramname">context</td><td>used·to·obtain·the·MTLDevice·object·and·command·queue·to·obtain·command·buffers·from.·</td></tr> |
1387 | ··</table> | 1387 | ··</table> |
1388 | ··</dd> | 1388 | ··</dd> |
1389 | </dl> | 1389 | </dl> |
1390 | <p·class="definition">Definition·at·line·<a·class="el"·href="a008 | 1390 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00821_source.html#l00705">705</a>·of·file·<a·class="el"·href="a00821_source.html">mtlComputeEvaluator.h</a>.</p> |
1391 | </div> | 1391 | </div> |
1392 | </div> | 1392 | </div> |
1393 | <a·id="aab3cbda7289b76b077b371b92e9afaf3"·name="aab3cbda7289b76b077b371b92e9afaf3"></a> | 1393 | <a·id="aab3cbda7289b76b077b371b92e9afaf3"·name="aab3cbda7289b76b077b371b92e9afaf3"></a> |
1394 | <h2·class="memtitle"><span·class="permalink"><a·href="#aab3cbda7289b76b077b371b92e9afaf3">◆ </a></span>EvalPatches()·<span·class="overload">[8/8]</span></h2> | 1394 | <h2·class="memtitle"><span·class="permalink"><a·href="#aab3cbda7289b76b077b371b92e9afaf3">◆ </a></span>EvalPatches()·<span·class="overload">[8/8]</span></h2> |
1395 | <div·class="memitem"> | 1395 | <div·class="memitem"> |
Offset 1475, 15 lines modified | Offset 1475, 15 lines modified | ||
1475 | ····<tr><td·class="paramname">patchCoords</td><td>array·of·locations·to·be·evaluated.·must·have·BindVBO()·method·returning·an·array·of·<a·class="el"·href="a01321.html"·title="Coordinates·set·on·a·patch·table.">PatchCoord</a>·struct·in·VBO.</td></tr> | 1475 | ····<tr><td·class="paramname">patchCoords</td><td>array·of·locations·to·be·evaluated.·must·have·BindVBO()·method·returning·an·array·of·<a·class="el"·href="a01321.html"·title="Coordinates·set·on·a·patch·table.">PatchCoord</a>·struct·in·VBO.</td></tr> |
Max diff block lines reached; 23313/33450 bytes (69.70%) of diff not shown. |
Offset 95, 15 lines modified | Offset 95, 15 lines modified | ||
95 | <a·href="#pub-methods">Public·Member·Functions</a>·| | 95 | <a·href="#pub-methods">Public·Member·Functions</a>·| |
96 | <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·| | 96 | <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·| |
97 | <a·href="a01294.html">List·of·all·members</a>··</div> | 97 | <a·href="a01294.html">List·of·all·members</a>··</div> |
98 | ··<div·class="headertitle"><div·class="title">MTLLegacyGregoryPatchTable·Class·Reference</div></div> | 98 | ··<div·class="headertitle"><div·class="title">MTLLegacyGregoryPatchTable·Class·Reference</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <p><code>#include·<<a·class="el"·href="a0081 | 101 | <p><code>#include·<<a·class="el"·href="a00818_source.html">mtlLegacyGregoryPatchTable.h</a>></code></p> |
102 | <div·class="dynheader"> | 102 | <div·class="dynheader"> |
103 | Inheritance·diagram·for·MTLLegacyGregoryPatchTable:</div> | 103 | Inheritance·diagram·for·MTLLegacyGregoryPatchTable:</div> |
104 | <div·class="dyncontent"> | 104 | <div·class="dyncontent"> |
105 | ·<div·class="center"> | 105 | ·<div·class="center"> |
106 | ··<img·src="a01297.png"·alt=""/> | 106 | ··<img·src="a01297.png"·alt=""/> |
107 | ·</div></div> | 107 | ·</div></div> |
108 | <table·class="memberdecls"> | 108 | <table·class="memberdecls"> |
Offset 128, 15 lines modified | Offset 128, 15 lines modified | ||
128 | <tr·class="memitem:a25a5b8f002589cba7fd380492019ece8"><td·class="memTemplItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01297.html">MTLLegacyGregoryPatchTable</a>·* </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01297.html#a25a5b8f002589cba7fd380492019ece8">Create</a>·(<a·class="el"·href="a00993.html">Far::PatchTable</a>·const·*farPatchTable,·DEVICE_CONTEXT·context)</td></tr> | 128 | <tr·class="memitem:a25a5b8f002589cba7fd380492019ece8"><td·class="memTemplItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01297.html">MTLLegacyGregoryPatchTable</a>·* </td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01297.html#a25a5b8f002589cba7fd380492019ece8">Create</a>·(<a·class="el"·href="a00993.html">Far::PatchTable</a>·const·*farPatchTable,·DEVICE_CONTEXT·context)</td></tr> |
129 | <tr·class="separator:a25a5b8f002589cba7fd380492019ece8"><td·class="memSeparator"·colspan="2"> </td></tr> | 129 | <tr·class="separator:a25a5b8f002589cba7fd380492019ece8"><td·class="memSeparator"·colspan="2"> </td></tr> |
130 | <tr·class="memitem:ac51e7db7abdd0eaaca33d4947bbe41b4"·id="r_ac51e7db7abdd0eaaca33d4947bbe41b4"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01297.html">MTLLegacyGregoryPatchTable</a>·* </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01297.html#ac51e7db7abdd0eaaca33d4947bbe41b4">Create</a>·(<a·class="el"·href="a00993.html">Far::PatchTable</a>·const·*farPatchTable,·<a·class="el"·href="a01285.html">MTLContext</a>·*context)</td></tr> | 130 | <tr·class="memitem:ac51e7db7abdd0eaaca33d4947bbe41b4"·id="r_ac51e7db7abdd0eaaca33d4947bbe41b4"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01297.html">MTLLegacyGregoryPatchTable</a>·* </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01297.html#ac51e7db7abdd0eaaca33d4947bbe41b4">Create</a>·(<a·class="el"·href="a00993.html">Far::PatchTable</a>·const·*farPatchTable,·<a·class="el"·href="a01285.html">MTLContext</a>·*context)</td></tr> |
131 | <tr·class="separator:ac51e7db7abdd0eaaca33d4947bbe41b4"><td·class="memSeparator"·colspan="2"> </td></tr> | 131 | <tr·class="separator:ac51e7db7abdd0eaaca33d4947bbe41b4"><td·class="memSeparator"·colspan="2"> </td></tr> |
132 | </table> | 132 | </table> |
133 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 133 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
134 | <div·class="textblock"> | 134 | <div·class="textblock"> |
135 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0081 | 135 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00818_source.html#l00041">41</a>·of·file·<a·class="el"·href="a00818_source.html">mtlLegacyGregoryPatchTable.h</a>.</p> |
136 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 136 | </div><h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
137 | <a·id="aed8ca15f9dfcacfcfc31ab1227b61dcc"·name="aed8ca15f9dfcacfcfc31ab1227b61dcc"></a> | 137 | <a·id="aed8ca15f9dfcacfcfc31ab1227b61dcc"·name="aed8ca15f9dfcacfcfc31ab1227b61dcc"></a> |
138 | <h2·class="memtitle"><span·class="permalink"><a·href="#aed8ca15f9dfcacfcfc31ab1227b61dcc">◆ </a></span>~MTLLegacyGregoryPatchTable()</h2> | 138 | <h2·class="memtitle"><span·class="permalink"><a·href="#aed8ca15f9dfcacfcfc31ab1227b61dcc">◆ </a></span>~MTLLegacyGregoryPatchTable()</h2> |
139 | <div·class="memitem"> | 139 | <div·class="memitem"> |
140 | <div·class="memproto"> | 140 | <div·class="memproto"> |
141 | ······<table·class="memname"> | 141 | ······<table·class="memname"> |
Offset 184, 15 lines modified | Offset 184, 15 lines modified | ||
184 | ··</td> | 184 | ··</td> |
185 | ··<td·class="mlabels-right"> | 185 | ··<td·class="mlabels-right"> |
186 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> | 186 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td> |
187 | ··</tr> | 187 | ··</tr> |
188 | </table> | 188 | </table> |
189 | </div><div·class="memdoc"> | 189 | </div><div·class="memdoc"> |
190 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0081 | 190 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00818_source.html#l00048">48</a>·of·file·<a·class="el"·href="a00818_source.html">mtlLegacyGregoryPatchTable.h</a>.</p> |
191 | </div> | 191 | </div> |
192 | </div> | 192 | </div> |
193 | <a·id="ac51e7db7abdd0eaaca33d4947bbe41b4"·name="ac51e7db7abdd0eaaca33d4947bbe41b4"></a> | 193 | <a·id="ac51e7db7abdd0eaaca33d4947bbe41b4"·name="ac51e7db7abdd0eaaca33d4947bbe41b4"></a> |
194 | <h2·class="memtitle"><span·class="permalink"><a·href="#ac51e7db7abdd0eaaca33d4947bbe41b4">◆ </a></span>Create()·<span·class="overload">[2/2]</span></h2> | 194 | <h2·class="memtitle"><span·class="permalink"><a·href="#ac51e7db7abdd0eaaca33d4947bbe41b4">◆ </a></span>Create()·<span·class="overload">[2/2]</span></h2> |
195 | <div·class="memitem"> | 195 | <div·class="memitem"> |
Offset 248, 15 lines modified | Offset 248, 15 lines modified | ||
248 | ··</td> | 248 | ··</td> |
249 | ··<td·class="mlabels-right"> | 249 | ··<td·class="mlabels-right"> |
250 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 250 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
251 | ··</tr> | 251 | ··</tr> |
252 | </table> | 252 | </table> |
253 | </div><div·class="memdoc"> | 253 | </div><div·class="memdoc"> |
254 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0081 | 254 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00818_source.html#l00071">71</a>·of·file·<a·class="el"·href="a00818_source.html">mtlLegacyGregoryPatchTable.h</a>.</p> |
255 | </div> | 255 | </div> |
256 | </div> | 256 | </div> |
257 | <a·id="a846f5698d4874b41374c2ac6c52c3ea2"·name="a846f5698d4874b41374c2ac6c52c3ea2"></a> | 257 | <a·id="a846f5698d4874b41374c2ac6c52c3ea2"·name="a846f5698d4874b41374c2ac6c52c3ea2"></a> |
258 | <h2·class="memtitle"><span·class="permalink"><a·href="#a846f5698d4874b41374c2ac6c52c3ea2">◆ </a></span>GetQuadOffsetsBuffer()</h2> | 258 | <h2·class="memtitle"><span·class="permalink"><a·href="#a846f5698d4874b41374c2ac6c52c3ea2">◆ </a></span>GetQuadOffsetsBuffer()</h2> |
259 | <div·class="memitem"> | 259 | <div·class="memitem"> |
Offset 275, 15 lines modified | Offset 275, 15 lines modified | ||
275 | ··</td> | 275 | ··</td> |
276 | ··<td·class="mlabels-right"> | 276 | ··<td·class="mlabels-right"> |
277 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 277 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
278 | ··</tr> | 278 | ··</tr> |
279 | </table> | 279 | </table> |
280 | </div><div·class="memdoc"> | 280 | </div><div·class="memdoc"> |
281 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0081 | 281 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00818_source.html#l00066">66</a>·of·file·<a·class="el"·href="a00818_source.html">mtlLegacyGregoryPatchTable.h</a>.</p> |
282 | </div> | 282 | </div> |
283 | </div> | 283 | </div> |
284 | <a·id="afffd8d6da44d9c7113d9dc190eefdb3d"·name="afffd8d6da44d9c7113d9dc190eefdb3d"></a> | 284 | <a·id="afffd8d6da44d9c7113d9dc190eefdb3d"·name="afffd8d6da44d9c7113d9dc190eefdb3d"></a> |
285 | <h2·class="memtitle"><span·class="permalink"><a·href="#afffd8d6da44d9c7113d9dc190eefdb3d">◆ </a></span>GetVertexBuffer()</h2> | 285 | <h2·class="memtitle"><span·class="permalink"><a·href="#afffd8d6da44d9c7113d9dc190eefdb3d">◆ </a></span>GetVertexBuffer()</h2> |
286 | <div·class="memitem"> | 286 | <div·class="memitem"> |
Offset 302, 15 lines modified | Offset 302, 15 lines modified | ||
302 | ··</td> | 302 | ··</td> |
303 | ··<td·class="mlabels-right"> | 303 | ··<td·class="mlabels-right"> |
304 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 304 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
305 | ··</tr> | 305 | ··</tr> |
306 | </table> | 306 | </table> |
307 | </div><div·class="memdoc"> | 307 | </div><div·class="memdoc"> |
308 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0081 | 308 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00818_source.html#l00056">56</a>·of·file·<a·class="el"·href="a00818_source.html">mtlLegacyGregoryPatchTable.h</a>.</p> |
309 | </div> | 309 | </div> |
310 | </div> | 310 | </div> |
311 | <a·id="a7e1414cf8ab619f18f532b58f614b123"·name="a7e1414cf8ab619f18f532b58f614b123"></a> | 311 | <a·id="a7e1414cf8ab619f18f532b58f614b123"·name="a7e1414cf8ab619f18f532b58f614b123"></a> |
312 | <h2·class="memtitle"><span·class="permalink"><a·href="#a7e1414cf8ab619f18f532b58f614b123">◆ </a></span>GetVertexValenceBuffer()</h2> | 312 | <h2·class="memtitle"><span·class="permalink"><a·href="#a7e1414cf8ab619f18f532b58f614b123">◆ </a></span>GetVertexValenceBuffer()</h2> |
313 | <div·class="memitem"> | 313 | <div·class="memitem"> |
Offset 329, 15 lines modified | Offset 329, 15 lines modified | ||
329 | ··</td> | 329 | ··</td> |
330 | ··<td·class="mlabels-right"> | 330 | ··<td·class="mlabels-right"> |
331 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 331 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
332 | ··</tr> | 332 | ··</tr> |
333 | </table> | 333 | </table> |
334 | </div><div·class="memdoc"> | 334 | </div><div·class="memdoc"> |
335 | <p·class="definition">Definition·at·line·<a·class="el"·href="a0081 | 335 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00818_source.html#l00061">61</a>·of·file·<a·class="el"·href="a00818_source.html">mtlLegacyGregoryPatchTable.h</a>.</p> |
336 | </div> | 336 | </div> |
337 | </div> | 337 | </div> |
338 | <a·id="ad922644c53b64f5b60565065f09cbd17"·name="ad922644c53b64f5b60565065f09cbd17"></a> | 338 | <a·id="ad922644c53b64f5b60565065f09cbd17"·name="ad922644c53b64f5b60565065f09cbd17"></a> |
339 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad922644c53b64f5b60565065f09cbd17">◆ </a></span>UpdateVertexBuffer()</h2> | 339 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad922644c53b64f5b60565065f09cbd17">◆ </a></span>UpdateVertexBuffer()</h2> |
340 | <div·class="memitem"> | 340 | <div·class="memitem"> |
Offset 374, 15 lines modified | Offset 374, 15 lines modified | ||
374 | ········</tr> | 374 | ········</tr> |
375 | ······</table> | 375 | ······</table> |
376 | </div><div·class="memdoc"> | 376 | </div><div·class="memdoc"> |
377 | </div> | 377 | </div> |
378 | </div> | 378 | </div> |
379 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 379 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
380 | <li>opensubdiv/osd/<a·class="el"·href="a0081 | 380 | <li>opensubdiv/osd/<a·class="el"·href="a00818_source.html">mtlLegacyGregoryPatchTable.h</a></li> |
381 | </ul> | 381 | </ul> |
382 | </div><!--·contents·--> | 382 | </div><!--·contents·--> |
383 | </div><!--·doc-content·--> | 383 | </div><!--·doc-content·--> |
384 | <!--·start·footer·part·--> | 384 | <!--·start·footer·part·--> |
385 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 385 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
386 | ··<ul> | 386 | ··<ul> |
387 | ····<li·class="navelem"><a·class="el"·href="a00905.html">OpenSubdiv</a></li><li·class="navelem"><a·class="el"·href="a00906.html">OPENSUBDIV_VERSION</a></li><li·class="navelem"><a·class="el"·href="a00912.html">Osd</a></li><li·class="navelem"><a·class="el"·href="a01297.html">MTLLegacyGregoryPatchTable</a></li> | 387 | ····<li·class="navelem"><a·class="el"·href="a00905.html">OpenSubdiv</a></li><li·class="navelem"><a·class="el"·href="a00906.html">OPENSUBDIV_VERSION</a></li><li·class="navelem"><a·class="el"·href="a00912.html">Osd</a></li><li·class="navelem"><a·class="el"·href="a01297.html">MTLLegacyGregoryPatchTable</a></li> |
Max diff block lines reached; -1/7858 bytes (-0.01%) of diff not shown. |
Offset 101, 15 lines modified | Offset 101, 15 lines modified | ||
101 | ··<div·class="headertitle"><div·class="title">Crease·Class·Reference</div></div> | 101 | ··<div·class="headertitle"><div·class="title">Crease·Class·Reference</div></div> |
102 | </div><!--header--> | 102 | </div><!--header--> |
103 | <div·class="contents"> | 103 | <div·class="contents"> |
104 | <p>Types,·constants·and·utilities·related·to·semi-sharp·creasing·–·whose·implementation·is·independent·of·the·subdivision·scheme.·· | 104 | <p>Types,·constants·and·utilities·related·to·semi-sharp·creasing·–·whose·implementation·is·independent·of·the·subdivision·scheme.·· |
105 | ·<a·href="a01333.html#details">More...</a></p> | 105 | ·<a·href="a01333.html#details">More...</a></p> |
106 | <p><code>#include·<<a·class="el"·href="a007 | 106 | <p><code>#include·<<a·class="el"·href="a00779_source.html">crease.h</a>></code></p> |
107 | <table·class="memberdecls"> | 107 | <table·class="memberdecls"> |
108 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> | 108 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a> |
109 | Public·Types</h2></td></tr> | 109 | Public·Types</h2></td></tr> |
110 | <tr·class="memitem:a11fcd51ef86118f65e603c1474377a78"·id="r_a11fcd51ef86118f65e603c1474377a78"><td·class="memItemLeft"·align="right"·valign="top">enum· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01333.html#a11fcd51ef86118f65e603c1474377a78">Rule</a>·{·<br·/> | 110 | <tr·class="memitem:a11fcd51ef86118f65e603c1474377a78"·id="r_a11fcd51ef86118f65e603c1474377a78"><td·class="memItemLeft"·align="right"·valign="top">enum· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01333.html#a11fcd51ef86118f65e603c1474377a78">Rule</a>·{·<br·/> |
111 |   <a·class="el"·href="a01333.html#a11fcd51ef86118f65e603c1474377a78ab299aefb26013a79d52191a7887fea53">RULE_UNKNOWN</a>·=·0 | 111 |   <a·class="el"·href="a01333.html#a11fcd51ef86118f65e603c1474377a78ab299aefb26013a79d52191a7887fea53">RULE_UNKNOWN</a>·=·0 |
112 | ,·<br·/> | 112 | ,·<br·/> |
113 |   <a·class="el"·href="a01333.html#a11fcd51ef86118f65e603c1474377a78a61d137f866997ed3693e3fcad76def5f">RULE_SMOOTH</a>·=·(1·<<·0) | 113 |   <a·class="el"·href="a01333.html#a11fcd51ef86118f65e603c1474377a78a61d137f866997ed3693e3fcad76def5f">RULE_SMOOTH</a>·=·(1·<<·0) |
Offset 180, 15 lines modified | Offset 180, 15 lines modified | ||
180 | </table> | 180 | </table> |
181 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> | 181 | <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> |
182 | <div·class="textblock"><p>Types,·constants·and·utilities·related·to·semi-sharp·creasing·–·whose·implementation·is·independent·of·the·subdivision·scheme.·</p> | 182 | <div·class="textblock"><p>Types,·constants·and·utilities·related·to·semi-sharp·creasing·–·whose·implementation·is·independent·of·the·subdivision·scheme.·</p> |
183 | <p><a·class="el"·href="a01333.html"·title="Types,·constants·and·utilities·related·to·semi-sharp·creasing·–·whose·implementation·is·independent·o...">Crease</a>·is·intended·to·be·a·light-weight,·trivially·constructed·class·that·computes·crease-related·properties·–·typically·sharpness·values·and·associated·interpolation·weights.·An·instance·of·<a·class="el"·href="a01333.html"·title="Types,·constants·and·utilities·related·to·semi-sharp·creasing·–·whose·implementation·is·independent·o...">Crease</a>·is·defined·with·a·set·of·options·that·include·current·and·future·variations·that·will·impact·computations·involving·sharpness·values.</p> | 183 | <p><a·class="el"·href="a01333.html"·title="Types,·constants·and·utilities·related·to·semi-sharp·creasing·–·whose·implementation·is·independent·o...">Crease</a>·is·intended·to·be·a·light-weight,·trivially·constructed·class·that·computes·crease-related·properties·–·typically·sharpness·values·and·associated·interpolation·weights.·An·instance·of·<a·class="el"·href="a01333.html"·title="Types,·constants·and·utilities·related·to·semi-sharp·creasing·–·whose·implementation·is·independent·o...">Crease</a>·is·defined·with·a·set·of·options·that·include·current·and·future·variations·that·will·impact·computations·involving·sharpness·values.</p> |
184 | <p>The·<a·class="el"·href="a01333.html"·title="Types,·constants·and·utilities·related·to·semi-sharp·creasing·–·whose·implementation·is·independent·o...">Crease</a>·methods·do·not·use·topological·neighborhoods·as·input.·The·methods·here·rely·more·on·the·sharpness·values·and·less·on·the·topology,·so·we·choose·to·work·directly·with·the·sharpness·values.·We·also·follow·the·trend·of·using·primitive·arrays·in·the·interface·to·encourage·local·gathering·for·re-use.</p> | 184 | <p>The·<a·class="el"·href="a01333.html"·title="Types,·constants·and·utilities·related·to·semi-sharp·creasing·–·whose·implementation·is·independent·o...">Crease</a>·methods·do·not·use·topological·neighborhoods·as·input.·The·methods·here·rely·more·on·the·sharpness·values·and·less·on·the·topology,·so·we·choose·to·work·directly·with·the·sharpness·values.·We·also·follow·the·trend·of·using·primitive·arrays·in·the·interface·to·encourage·local·gathering·for·re-use.</p> |
185 | <p>Note·on·the·need·for·and·use·of·sharpness·values:·In·general,·mask·queries·rely·on·the·sharpness·values.·The·common·case·of·a·smooth·vertex,·when·known,·avoids·the·need·to·inspect·them,·but·unless·the·rules·are·well·understood,·users·will·be·expected·to·provided·them·–·particularly·when·they·expect·the·mask·queries·to·do·all·of·the·work·(just·determining·if·a·vertex·is·smooth·will·require·inspection·of·incident·edge·sharpness).·Mask·queries·will·occasionally·require·the·subdivided·sharpness·values·around·the·child·vertex.·So·users·will·be·expected·to·either·provide·them·up·front·when·known,·or·to·be·gathered·on·demand.·Any·implementation·of·subdivision·with·creasing·cannot·avoid·subdividing·the·sharpness·values·first,·so·keeping·them·available·for·re-use·is·a·worthwhile·consideration.·</p> | 185 | <p>Note·on·the·need·for·and·use·of·sharpness·values:·In·general,·mask·queries·rely·on·the·sharpness·values.·The·common·case·of·a·smooth·vertex,·when·known,·avoids·the·need·to·inspect·them,·but·unless·the·rules·are·well·understood,·users·will·be·expected·to·provided·them·–·particularly·when·they·expect·the·mask·queries·to·do·all·of·the·work·(just·determining·if·a·vertex·is·smooth·will·require·inspection·of·incident·edge·sharpness).·Mask·queries·will·occasionally·require·the·subdivided·sharpness·values·around·the·child·vertex.·So·users·will·be·expected·to·either·provide·them·up·front·when·known,·or·to·be·gathered·on·demand.·Any·implementation·of·subdivision·with·creasing·cannot·avoid·subdividing·the·sharpness·values·first,·so·keeping·them·available·for·re-use·is·a·worthwhile·consideration.·</p> |
186 | <p·class="definition">Definition·at·line·<a·class="el"·href="a007 | 186 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00779_source.html#l00062">62</a>·of·file·<a·class="el"·href="a00779_source.html">crease.h</a>.</p> |
187 | </div><h2·class="groupheader">Member·Enumeration·Documentation</h2> | 187 | </div><h2·class="groupheader">Member·Enumeration·Documentation</h2> |
188 | <a·id="a11fcd51ef86118f65e603c1474377a78"·name="a11fcd51ef86118f65e603c1474377a78"></a> | 188 | <a·id="a11fcd51ef86118f65e603c1474377a78"·name="a11fcd51ef86118f65e603c1474377a78"></a> |
189 | <h2·class="memtitle"><span·class="permalink"><a·href="#a11fcd51ef86118f65e603c1474377a78">◆ </a></span>Rule</h2> | 189 | <h2·class="memtitle"><span·class="permalink"><a·href="#a11fcd51ef86118f65e603c1474377a78">◆ </a></span>Rule</h2> |
190 | <div·class="memitem"> | 190 | <div·class="memitem"> |
191 | <div·class="memproto"> | 191 | <div·class="memproto"> |
192 | ······<table·class="memname"> | 192 | ······<table·class="memname"> |
Offset 202, 15 lines modified | Offset 202, 15 lines modified | ||
202 | <tr><th·colspan="2">Enumerator</th></tr><tr><td·class="fieldname"><a·id="a11fcd51ef86118f65e603c1474377a78ab299aefb26013a79d52191a7887fea53"·name="a11fcd51ef86118f65e603c1474377a78ab299aefb26013a79d52191a7887fea53"></a>RULE_UNKNOWN </td><td·class="fielddoc"></td></tr> | 202 | <tr><th·colspan="2">Enumerator</th></tr><tr><td·class="fieldname"><a·id="a11fcd51ef86118f65e603c1474377a78ab299aefb26013a79d52191a7887fea53"·name="a11fcd51ef86118f65e603c1474377a78ab299aefb26013a79d52191a7887fea53"></a>RULE_UNKNOWN </td><td·class="fielddoc"></td></tr> |
203 | <tr><td·class="fieldname"><a·id="a11fcd51ef86118f65e603c1474377a78a61d137f866997ed3693e3fcad76def5f"·name="a11fcd51ef86118f65e603c1474377a78a61d137f866997ed3693e3fcad76def5f"></a>RULE_SMOOTH </td><td·class="fielddoc"></td></tr> | 203 | <tr><td·class="fieldname"><a·id="a11fcd51ef86118f65e603c1474377a78a61d137f866997ed3693e3fcad76def5f"·name="a11fcd51ef86118f65e603c1474377a78a61d137f866997ed3693e3fcad76def5f"></a>RULE_SMOOTH </td><td·class="fielddoc"></td></tr> |
204 | <tr><td·class="fieldname"><a·id="a11fcd51ef86118f65e603c1474377a78a43469c29d8579a63bc1d6247d2624799"·name="a11fcd51ef86118f65e603c1474377a78a43469c29d8579a63bc1d6247d2624799"></a>RULE_DART </td><td·class="fielddoc"></td></tr> | 204 | <tr><td·class="fieldname"><a·id="a11fcd51ef86118f65e603c1474377a78a43469c29d8579a63bc1d6247d2624799"·name="a11fcd51ef86118f65e603c1474377a78a43469c29d8579a63bc1d6247d2624799"></a>RULE_DART </td><td·class="fielddoc"></td></tr> |
205 | <tr><td·class="fieldname"><a·id="a11fcd51ef86118f65e603c1474377a78a966fa1ae8aeb8587c498cf6a92cc3335"·name="a11fcd51ef86118f65e603c1474377a78a966fa1ae8aeb8587c498cf6a92cc3335"></a>RULE_CREASE </td><td·class="fielddoc"></td></tr> | 205 | <tr><td·class="fieldname"><a·id="a11fcd51ef86118f65e603c1474377a78a966fa1ae8aeb8587c498cf6a92cc3335"·name="a11fcd51ef86118f65e603c1474377a78a966fa1ae8aeb8587c498cf6a92cc3335"></a>RULE_CREASE </td><td·class="fielddoc"></td></tr> |
206 | <tr><td·class="fieldname"><a·id="a11fcd51ef86118f65e603c1474377a78a27ed0595212af48db763e461bfdc29ef"·name="a11fcd51ef86118f65e603c1474377a78a27ed0595212af48db763e461bfdc29ef"></a>RULE_CORNER </td><td·class="fielddoc"></td></tr> | 206 | <tr><td·class="fieldname"><a·id="a11fcd51ef86118f65e603c1474377a78a27ed0595212af48db763e461bfdc29ef"·name="a11fcd51ef86118f65e603c1474377a78a27ed0595212af48db763e461bfdc29ef"></a>RULE_CORNER </td><td·class="fielddoc"></td></tr> |
207 | </table> | 207 | </table> |
208 | <p·class="definition">Definition·at·line·<a·class="el"·href="a007 | 208 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00779_source.html#l00082">82</a>·of·file·<a·class="el"·href="a00779_source.html">crease.h</a>.</p> |
209 | </div> | 209 | </div> |
210 | </div> | 210 | </div> |
211 | <h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> | 211 | <h2·class="groupheader">Constructor·&·Destructor·Documentation</h2> |
212 | <a·id="a9659c3f2c73b80d9dc22763a6054079b"·name="a9659c3f2c73b80d9dc22763a6054079b"></a> | 212 | <a·id="a9659c3f2c73b80d9dc22763a6054079b"·name="a9659c3f2c73b80d9dc22763a6054079b"></a> |
213 | <h2·class="memtitle"><span·class="permalink"><a·href="#a9659c3f2c73b80d9dc22763a6054079b">◆ </a></span>Crease()·<span·class="overload">[1/2]</span></h2> | 213 | <h2·class="memtitle"><span·class="permalink"><a·href="#a9659c3f2c73b80d9dc22763a6054079b">◆ </a></span>Crease()·<span·class="overload">[1/2]</span></h2> |
Offset 230, 15 lines modified | Offset 230, 15 lines modified | ||
230 | ··</td> | 230 | ··</td> |
231 | ··<td·class="mlabels-right"> | 231 | ··<td·class="mlabels-right"> |
232 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 232 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
233 | ··</tr> | 233 | ··</tr> |
234 | </table> | 234 | </table> |
235 | </div><div·class="memdoc"> | 235 | </div><div·class="memdoc"> |
236 | <p·class="definition">Definition·at·line·<a·class="el"·href="a007 | 236 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00779_source.html#l00091">91</a>·of·file·<a·class="el"·href="a00779_source.html">crease.h</a>.</p> |
237 | </div> | 237 | </div> |
238 | </div> | 238 | </div> |
239 | <a·id="a75d5d7e54170ccf6481932916e0fa9c1"·name="a75d5d7e54170ccf6481932916e0fa9c1"></a> | 239 | <a·id="a75d5d7e54170ccf6481932916e0fa9c1"·name="a75d5d7e54170ccf6481932916e0fa9c1"></a> |
240 | <h2·class="memtitle"><span·class="permalink"><a·href="#a75d5d7e54170ccf6481932916e0fa9c1">◆ </a></span>Crease()·<span·class="overload">[2/2]</span></h2> | 240 | <h2·class="memtitle"><span·class="permalink"><a·href="#a75d5d7e54170ccf6481932916e0fa9c1">◆ </a></span>Crease()·<span·class="overload">[2/2]</span></h2> |
241 | <div·class="memitem"> | 241 | <div·class="memitem"> |
Offset 258, 15 lines modified | Offset 258, 15 lines modified | ||
258 | ··</td> | 258 | ··</td> |
259 | ··<td·class="mlabels-right"> | 259 | ··<td·class="mlabels-right"> |
260 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 260 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
261 | ··</tr> | 261 | ··</tr> |
262 | </table> | 262 | </table> |
263 | </div><div·class="memdoc"> | 263 | </div><div·class="memdoc"> |
264 | <p·class="definition">Definition·at·line·<a·class="el"·href="a007 | 264 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00779_source.html#l00092">92</a>·of·file·<a·class="el"·href="a00779_source.html">crease.h</a>.</p> |
265 | </div> | 265 | </div> |
266 | </div> | 266 | </div> |
267 | <a·id="af6737d6f9be18766c7a993cc9da108a8"·name="af6737d6f9be18766c7a993cc9da108a8"></a> | 267 | <a·id="af6737d6f9be18766c7a993cc9da108a8"·name="af6737d6f9be18766c7a993cc9da108a8"></a> |
268 | <h2·class="memtitle"><span·class="permalink"><a·href="#af6737d6f9be18766c7a993cc9da108a8">◆ </a></span>~Crease()</h2> | 268 | <h2·class="memtitle"><span·class="permalink"><a·href="#af6737d6f9be18766c7a993cc9da108a8">◆ </a></span>~Crease()</h2> |
269 | <div·class="memitem"> | 269 | <div·class="memitem"> |
Offset 285, 15 lines modified | Offset 285, 15 lines modified | ||
285 | ··</td> | 285 | ··</td> |
286 | ··<td·class="mlabels-right"> | 286 | ··<td·class="mlabels-right"> |
287 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 287 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
288 | ··</tr> | 288 | ··</tr> |
289 | </table> | 289 | </table> |
290 | </div><div·class="memdoc"> | 290 | </div><div·class="memdoc"> |
291 | <p·class="definition">Definition·at·line·<a·class="el"·href="a007 | 291 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00779_source.html#l00093">93</a>·of·file·<a·class="el"·href="a00779_source.html">crease.h</a>.</p> |
292 | </div> | 292 | </div> |
293 | </div> | 293 | </div> |
294 | <h2·class="groupheader">Member·Function·Documentation</h2> | 294 | <h2·class="groupheader">Member·Function·Documentation</h2> |
295 | <a·id="ab13f654f25ef7628396fd902291b8f96"·name="ab13f654f25ef7628396fd902291b8f96"></a> | 295 | <a·id="ab13f654f25ef7628396fd902291b8f96"·name="ab13f654f25ef7628396fd902291b8f96"></a> |
296 | <h2·class="memtitle"><span·class="permalink"><a·href="#ab13f654f25ef7628396fd902291b8f96">◆ </a></span>ComputeFractionalWeightAtVertex()</h2> | 296 | <h2·class="memtitle"><span·class="permalink"><a·href="#ab13f654f25ef7628396fd902291b8f96">◆ </a></span>ComputeFractionalWeightAtVertex()</h2> |
Offset 362, 15 lines modified | Offset 362, 15 lines modified | ||
362 | ··</td> | 362 | ··</td> |
363 | ··<td·class="mlabels-right"> | 363 | ··<td·class="mlabels-right"> |
364 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> | 364 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> |
365 | ··</tr> | 365 | ··</tr> |
366 | </table> | 366 | </table> |
367 | </div><div·class="memdoc"> | 367 | </div><div·class="memdoc"> |
368 | <p·class="definition">Definition·at·line·<a·class="el"·href="a007 | 368 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00779_source.html#l00207">207</a>·of·file·<a·class="el"·href="a00779_source.html">crease.h</a>.</p> |
369 | </div> | 369 | </div> |
370 | </div> | 370 | </div> |
371 | <a·id="a41ebb75d28c5973328e0e3883495aeba"·name="a41ebb75d28c5973328e0e3883495aeba"></a> | 371 | <a·id="a41ebb75d28c5973328e0e3883495aeba"·name="a41ebb75d28c5973328e0e3883495aeba"></a> |
372 | <h2·class="memtitle"><span·class="permalink"><a·href="#a41ebb75d28c5973328e0e3883495aeba">◆ </a></span>DetermineVertexVertexRule()·<span·class="overload">[1/2]</span></h2> | 372 | <h2·class="memtitle"><span·class="permalink"><a·href="#a41ebb75d28c5973328e0e3883495aeba">◆ </a></span>DetermineVertexVertexRule()·<span·class="overload">[1/2]</span></h2> |
373 | <div·class="memitem"> | 373 | <div·class="memitem"> |
Offset 469, 15 lines modified | Offset 469, 15 lines modified | ||
469 | ··</td> | 469 | ··</td> |
470 | ··<td·class="mlabels-right"> | 470 | ··<td·class="mlabels-right"> |
471 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> | 471 | <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td> |
472 | ··</tr> | 472 | ··</tr> |
473 | </table> | 473 | </table> |
474 | </div><div·class="memdoc"> | 474 | </div><div·class="memdoc"> |
475 | <p·class="definition">Definition·at·line·<a·class="el"·href="a007 | 475 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00779_source.html#l00228">228</a>·of·file·<a·class="el"·href="a00779_source.html">crease.h</a>.</p> |
476 | </div> | 476 | </div> |
477 | </div> | 477 | </div> |
478 | <a·id="a0538e02ac31e9f1118abdd1f272e7982"·name="a0538e02ac31e9f1118abdd1f272e7982"></a> | 478 | <a·id="a0538e02ac31e9f1118abdd1f272e7982"·name="a0538e02ac31e9f1118abdd1f272e7982"></a> |
479 | <h2·class="memtitle"><span·class="permalink"><a·href="#a0538e02ac31e9f1118abdd1f272e7982">◆ </a></span>IsInfinite()</h2> | 479 | <h2·class="memtitle"><span·class="permalink"><a·href="#a0538e02ac31e9f1118abdd1f272e7982">◆ </a></span>IsInfinite()</h2> |
480 | <div·class="memitem"> | 480 | <div·class="memitem"> |
Max diff block lines reached; 10028/20154 bytes (49.76%) of diff not shown. |
Offset 407, 15 lines modified | Offset 407, 15 lines modified | ||
407 | ··</td> | 407 | ··</td> |
408 | ··<td·class="mlabels-right"> | 408 | ··<td·class="mlabels-right"> |
409 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> | 409 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> |
410 | ··</tr> | 410 | ··</tr> |
411 | </table> | 411 | </table> |
412 | </div><div·class="memdoc"> | 412 | </div><div·class="memdoc"> |
413 | <p·class="definition">Definition·at·line·<a·class="el"·href="a007 | 413 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00782_source.html#l00208">208</a>·of·file·<a·class="el"·href="a00782_source.html">catmarkScheme.h</a>.</p> |
414 | </div> | 414 | </div> |
415 | </div> | 415 | </div> |
416 | <a·id="ab38c56ce6121aed94f2796bf5df894be"·name="ab38c56ce6121aed94f2796bf5df894be"></a> | 416 | <a·id="ab38c56ce6121aed94f2796bf5df894be"·name="ab38c56ce6121aed94f2796bf5df894be"></a> |
417 | <h2·class="memtitle"><span·class="permalink"><a·href="#ab38c56ce6121aed94f2796bf5df894be">◆ </a></span>assignCornerLimitMask()·<span·class="overload">[3/4]</span></h2> | 417 | <h2·class="memtitle"><span·class="permalink"><a·href="#ab38c56ce6121aed94f2796bf5df894be">◆ </a></span>assignCornerLimitMask()·<span·class="overload">[3/4]</span></h2> |
418 | <div·class="memitem"> | 418 | <div·class="memitem"> |
Offset 619, 15 lines modified | Offset 619, 15 lines modified | ||
619 | ··</td> | 619 | ··</td> |
620 | ··<td·class="mlabels-right"> | 620 | ··<td·class="mlabels-right"> |
621 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> | 621 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> |
622 | ··</tr> | 622 | ··</tr> |
623 | </table> | 623 | </table> |
624 | </div><div·class="memdoc"> | 624 | </div><div·class="memdoc"> |
625 | <p·class="definition">Definition·at·line·<a·class="el"·href="a007 | 625 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00782_source.html#l00301">301</a>·of·file·<a·class="el"·href="a00782_source.html">catmarkScheme.h</a>.</p> |
626 | </div> | 626 | </div> |
627 | </div> | 627 | </div> |
628 | <a·id="adfe86b1bf62ea328adddf4e5c4b01049"·name="adfe86b1bf62ea328adddf4e5c4b01049"></a> | 628 | <a·id="adfe86b1bf62ea328adddf4e5c4b01049"·name="adfe86b1bf62ea328adddf4e5c4b01049"></a> |
629 | <h2·class="memtitle"><span·class="permalink"><a·href="#adfe86b1bf62ea328adddf4e5c4b01049">◆ </a></span>assignCornerLimitTangentMasks()·<span·class="overload">[4/4]</span></h2> | 629 | <h2·class="memtitle"><span·class="permalink"><a·href="#adfe86b1bf62ea328adddf4e5c4b01049">◆ </a></span>assignCornerLimitTangentMasks()·<span·class="overload">[4/4]</span></h2> |
630 | <div·class="memitem"> | 630 | <div·class="memitem"> |
Offset 833, 15 lines modified | Offset 833, 15 lines modified | ||
833 | ··</td> | 833 | ··</td> |
834 | ··<td·class="mlabels-right"> | 834 | ··<td·class="mlabels-right"> |
835 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> | 835 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> |
836 | ··</tr> | 836 | ··</tr> |
837 | </table> | 837 | </table> |
838 | </div><div·class="memdoc"> | 838 | </div><div·class="memdoc"> |
839 | <p·class="definition">Definition·at·line·<a·class="el"·href="a007 | 839 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00782_source.html#l00221">221</a>·of·file·<a·class="el"·href="a00782_source.html">catmarkScheme.h</a>.</p> |
840 | </div> | 840 | </div> |
841 | </div> | 841 | </div> |
842 | <a·id="ad439ba00463a7af51cf821692d6cc2e3"·name="ad439ba00463a7af51cf821692d6cc2e3"></a> | 842 | <a·id="ad439ba00463a7af51cf821692d6cc2e3"·name="ad439ba00463a7af51cf821692d6cc2e3"></a> |
843 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad439ba00463a7af51cf821692d6cc2e3">◆ </a></span>assignCreaseLimitMask()·<span·class="overload">[3/4]</span></h2> | 843 | <h2·class="memtitle"><span·class="permalink"><a·href="#ad439ba00463a7af51cf821692d6cc2e3">◆ </a></span>assignCreaseLimitMask()·<span·class="overload">[3/4]</span></h2> |
844 | <div·class="memitem"> | 844 | <div·class="memitem"> |
Offset 1023, 15 lines modified | Offset 1023, 15 lines modified | ||
1023 | ··</td> | 1023 | ··</td> |
1024 | ··<td·class="mlabels-right"> | 1024 | ··<td·class="mlabels-right"> |
1025 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> | 1025 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> |
1026 | ··</tr> | 1026 | ··</tr> |
1027 | </table> | 1027 | </table> |
1028 | </div><div·class="memdoc"> | 1028 | </div><div·class="memdoc"> |
1029 | <p·class="definition">Definition·at·line·<a·class="el"·href="a007 | 1029 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00782_source.html#l00334">334</a>·of·file·<a·class="el"·href="a00782_source.html">catmarkScheme.h</a>.</p> |
1030 | </div> | 1030 | </div> |
1031 | </div> | 1031 | </div> |
1032 | <a·id="a2ef69ac92171507161acb0c0af01d6f2"·name="a2ef69ac92171507161acb0c0af01d6f2"></a> | 1032 | <a·id="a2ef69ac92171507161acb0c0af01d6f2"·name="a2ef69ac92171507161acb0c0af01d6f2"></a> |
1033 | <h2·class="memtitle"><span·class="permalink"><a·href="#a2ef69ac92171507161acb0c0af01d6f2">◆ </a></span>assignCreaseLimitTangentMasks()·<span·class="overload">[3/4]</span></h2> | 1033 | <h2·class="memtitle"><span·class="permalink"><a·href="#a2ef69ac92171507161acb0c0af01d6f2">◆ </a></span>assignCreaseLimitTangentMasks()·<span·class="overload">[3/4]</span></h2> |
1034 | <div·class="memitem"> | 1034 | <div·class="memitem"> |
Offset 1293, 15 lines modified | Offset 1293, 15 lines modified | ||
1293 | ··</td> | 1293 | ··</td> |
1294 | ··<td·class="mlabels-right"> | 1294 | ··<td·class="mlabels-right"> |
1295 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> | 1295 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> |
1296 | ··</tr> | 1296 | ··</tr> |
1297 | </table> | 1297 | </table> |
1298 | </div><div·class="memdoc"> | 1298 | </div><div·class="memdoc"> |
1299 | <p·class="definition">Definition·at·line·<a·class="el"·href="a007 | 1299 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00782_source.html#l00148">148</a>·of·file·<a·class="el"·href="a00782_source.html">catmarkScheme.h</a>.</p> |
1300 | </div> | 1300 | </div> |
1301 | </div> | 1301 | </div> |
1302 | <a·id="aae024a2b2e5e40f3f35c836beaee2acf"·name="aae024a2b2e5e40f3f35c836beaee2acf"></a> | 1302 | <a·id="aae024a2b2e5e40f3f35c836beaee2acf"·name="aae024a2b2e5e40f3f35c836beaee2acf"></a> |
1303 | <h2·class="memtitle"><span·class="permalink"><a·href="#aae024a2b2e5e40f3f35c836beaee2acf">◆ </a></span>assignCreaseMaskForVertex()·<span·class="overload">[3/3]</span></h2> | 1303 | <h2·class="memtitle"><span·class="permalink"><a·href="#aae024a2b2e5e40f3f35c836beaee2acf">◆ </a></span>assignCreaseMaskForVertex()·<span·class="overload">[3/3]</span></h2> |
1304 | <div·class="memitem"> | 1304 | <div·class="memitem"> |
Offset 1453, 15 lines modified | Offset 1453, 15 lines modified | ||
1453 | ··</td> | 1453 | ··</td> |
1454 | ··<td·class="mlabels-right"> | 1454 | ··<td·class="mlabels-right"> |
1455 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> | 1455 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> |
1456 | ··</tr> | 1456 | ··</tr> |
1457 | </table> | 1457 | </table> |
1458 | </div><div·class="memdoc"> | 1458 | </div><div·class="memdoc"> |
1459 | <p·class="definition">Definition·at·line·<a·class="el"·href="a007 | 1459 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00782_source.html#l00247">247</a>·of·file·<a·class="el"·href="a00782_source.html">catmarkScheme.h</a>.</p> |
1460 | </div> | 1460 | </div> |
1461 | </div> | 1461 | </div> |
1462 | <a·id="adbc763184791a8854374af8b123fa242"·name="adbc763184791a8854374af8b123fa242"></a> | 1462 | <a·id="adbc763184791a8854374af8b123fa242"·name="adbc763184791a8854374af8b123fa242"></a> |
1463 | <h2·class="memtitle"><span·class="permalink"><a·href="#adbc763184791a8854374af8b123fa242">◆ </a></span>assignSmoothLimitMask()·<span·class="overload">[4/4]</span></h2> | 1463 | <h2·class="memtitle"><span·class="permalink"><a·href="#adbc763184791a8854374af8b123fa242">◆ </a></span>assignSmoothLimitMask()·<span·class="overload">[4/4]</span></h2> |
1464 | <div·class="memitem"> | 1464 | <div·class="memitem"> |
Offset 1625, 15 lines modified | Offset 1625, 15 lines modified | ||
1625 | ··</td> | 1625 | ··</td> |
1626 | ··<td·class="mlabels-right"> | 1626 | ··<td·class="mlabels-right"> |
1627 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> | 1627 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> |
1628 | ··</tr> | 1628 | ··</tr> |
1629 | </table> | 1629 | </table> |
1630 | </div><div·class="memdoc"> | 1630 | </div><div·class="memdoc"> |
1631 | <p·class="definition">Definition·at·line·<a·class="el"·href="a007 | 1631 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00782_source.html#l00453">453</a>·of·file·<a·class="el"·href="a00782_source.html">catmarkScheme.h</a>.</p> |
1632 | </div> | 1632 | </div> |
1633 | </div> | 1633 | </div> |
1634 | <a·id="a15a82416378d985afe049eaebc185e7d"·name="a15a82416378d985afe049eaebc185e7d"></a> | 1634 | <a·id="a15a82416378d985afe049eaebc185e7d"·name="a15a82416378d985afe049eaebc185e7d"></a> |
1635 | <h2·class="memtitle"><span·class="permalink"><a·href="#a15a82416378d985afe049eaebc185e7d">◆ </a></span>assignSmoothLimitTangentMasks()·<span·class="overload">[4/4]</span></h2> | 1635 | <h2·class="memtitle"><span·class="permalink"><a·href="#a15a82416378d985afe049eaebc185e7d">◆ </a></span>assignSmoothLimitTangentMasks()·<span·class="overload">[4/4]</span></h2> |
1636 | <div·class="memitem"> | 1636 | <div·class="memitem"> |
Offset 1707, 15 lines modified | Offset 1707, 15 lines modified | ||
1707 | ··</td> | 1707 | ··</td> |
1708 | ··<td·class="mlabels-right"> | 1708 | ··<td·class="mlabels-right"> |
1709 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> | 1709 | <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">protected</span></span>··</td> |
1710 | ··</tr> | 1710 | ··</tr> |
1711 | </table> | 1711 | </table> |
1712 | </div><div·class="memdoc"> | 1712 | </div><div·class="memdoc"> |
1713 | <p·class="definition">Definition·at·line·<a·class="el"·href="a007 | 1713 | <p·class="definition">Definition·at·line·<a·class="el"·href="a00782_source.html#l00071">71</a>·of·file·<a·class="el"·href="a00782_source.html">catmarkScheme.h</a>.</p> |
1714 | </div> | 1714 | </div> |
1715 | </div> | 1715 | </div> |
1716 | <a·id="a16cbaf7f173cf2fdc02c992d3a31c925"·name="a16cbaf7f173cf2fdc02c992d3a31c925"></a> | 1716 | <a·id="a16cbaf7f173cf2fdc02c992d3a31c925"·name="a16cbaf7f173cf2fdc02c992d3a31c925"></a> |
1717 | <h2·class="memtitle"><span·class="permalink"><a·href="#a16cbaf7f173cf2fdc02c992d3a31c925">◆ </a></span>assignSmoothMaskForEdge()·<span·class="overload">[2/3]</span></h2> | 1717 | <h2·class="memtitle"><span·class="permalink"><a·href="#a16cbaf7f173cf2fdc02c992d3a31c925">◆ </a></span>assignSmoothMaskForEdge()·<span·class="overload">[2/3]</span></h2> |
1718 | <div·class="memitem"> | 1718 | <div·class="memitem"> |
Max diff block lines reached; 4193/11223 bytes (37.36%) of diff not shown. |
Offset 95, 15 lines modified | Offset 95, 15 lines modified | ||
95 | <a·href="#nested-classes">Classes</a>·| | 95 | <a·href="#nested-classes">Classes</a>·| |
96 | <a·href="#namespaces">Namespaces</a>·| | 96 | <a·href="#namespaces">Namespaces</a>·| |
97 | <a·href="#typedef-members">Typedefs</a>··</div> | 97 | <a·href="#typedef-members">Typedefs</a>··</div> |
98 | ··<div·class="headertitle"><div·class="title">types.h·File·Reference</div></div> | 98 | ··<div·class="headertitle"><div·class="title">types.h·File·Reference</div></div> |
99 | </div><!--header--> | 99 | </div><!--header--> |
100 | <div·class="contents"> | 100 | <div·class="contents"> |
101 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> | 101 | <div·class="textblock"><code>#include·"../version.h"</code><br·/> |
102 | <code>#include·"<a·class="el"·href="a0073 | 102 | <code>#include·"<a·class="el"·href="a00731_source.html">../far/patchTable.h</a>"</code><br·/> |
103 | <code>#include·<algorithm></code><br·/> | 103 | <code>#include·<algorithm></code><br·/> |
104 | </div> | 104 | </div> |
105 | <p><a·href="a01489_source.html">Go·to·the·source·code·of·this·file.</a></p> | 105 | <p><a·href="a01489_source.html">Go·to·the·source·code·of·this·file.</a></p> |
106 | <table·class="memberdecls"> | 106 | <table·class="memberdecls"> |
107 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> | 107 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> |
108 | Classes</h2></td></tr> | 108 | Classes</h2></td></tr> |
109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01321.html">PatchCoord</a></td></tr> | 109 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct· </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01321.html">PatchCoord</a></td></tr> |
Offset 266, 18 lines modified | Offset 266, 18 lines modified | ||
266 | <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_TYPES_H</span></div> | 266 | <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span><span·class="preprocessor">#endif··</span><span·class="comment">//·OPENSUBDIV3_OSD_TYPES_H</span></div> |
267 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> | 267 | <div·class="ttc"·id="aa00905_html"><div·class="ttname"><a·href="a00905.html">OpenSubdiv</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a00698_source.html#l00032">limits.h:32</a></div></div> |
268 | <div·class="ttc"·id="aa00912_html_a1e22001c627b0364d6c6d62a3ed05fee"><div·class="ttname"><a·href="a00912.html#a1e22001c627b0364d6c6d62a3ed05fee">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchParamVector</a></div><div·class="ttdeci">std::vector<·PatchParam·>·PatchParamVector</div><div·class="ttdef"><b>Definition</b>·<a·href="a01489_source.html#l00133">types.h:133</a></div></div> | 268 | <div·class="ttc"·id="aa00912_html_a1e22001c627b0364d6c6d62a3ed05fee"><div·class="ttname"><a·href="a00912.html#a1e22001c627b0364d6c6d62a3ed05fee">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchParamVector</a></div><div·class="ttdeci">std::vector<·PatchParam·>·PatchParamVector</div><div·class="ttdef"><b>Definition</b>·<a·href="a01489_source.html#l00133">types.h:133</a></div></div> |
269 | <div·class="ttc"·id="aa00912_html_a98098cd229f60d2397d84a76fe654a31"><div·class="ttname"><a·href="a00912.html#a98098cd229f60d2397d84a76fe654a31">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchArrayVector</a></div><div·class="ttdeci">std::vector<·PatchArray·>·PatchArrayVector</div><div·class="ttdef"><b>Definition</b>·<a·href="a01489_source.html#l00132">types.h:132</a></div></div> | 269 | <div·class="ttc"·id="aa00912_html_a98098cd229f60d2397d84a76fe654a31"><div·class="ttname"><a·href="a00912.html#a98098cd229f60d2397d84a76fe654a31">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchArrayVector</a></div><div·class="ttdeci">std::vector<·PatchArray·>·PatchArrayVector</div><div·class="ttdef"><b>Definition</b>·<a·href="a01489_source.html#l00132">types.h:132</a></div></div> |
270 | <div·class="ttc"·id="aa00973_html"><div·class="ttname"><a·href="a00973.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor</a></div><div·class="ttdoc">Describes·the·type·of·a·patch.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00740_source.html#l00044">patchDescriptor.h:44</a></div></div> | 270 | <div·class="ttc"·id="aa00973_html"><div·class="ttname"><a·href="a00973.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor</a></div><div·class="ttdoc">Describes·the·type·of·a·patch.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00740_source.html#l00044">patchDescriptor.h:44</a></div></div> |
271 | <div·class="ttc"·id="aa00973_html_a485decc00facb0972f8775a8a20851fa"><div·class="ttname"><a·href="a00973.html#a485decc00facb0972f8775a8a20851fa">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor::GetType</a></div><div·class="ttdeci">Type·GetType()·const</div><div·class="ttdoc">Returns·the·type·of·the·patch.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00740_source.html#l00087">patchDescriptor.h:87</a></div></div> | 271 | <div·class="ttc"·id="aa00973_html_a485decc00facb0972f8775a8a20851fa"><div·class="ttname"><a·href="a00973.html#a485decc00facb0972f8775a8a20851fa">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor::GetType</a></div><div·class="ttdeci">Type·GetType()·const</div><div·class="ttdoc">Returns·the·type·of·the·patch.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00740_source.html#l00087">patchDescriptor.h:87</a></div></div> |
272 | <div·class="ttc"·id="aa00989_html"><div·class="ttname"><a·href="a00989.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchParam</a></div><div·class="ttdoc">Patch·parameterization.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00737_source.html#l00152">patchParam.h:152</a></div></div> | 272 | <div·class="ttc"·id="aa00989_html"><div·class="ttname"><a·href="a00989.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchParam</a></div><div·class="ttdoc">Patch·parameterization.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00737_source.html#l00152">patchParam.h:152</a></div></div> |
273 | <div·class="ttc"·id="aa00997_html"><div·class="ttname"><a·href="a00997.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::PatchHandle</a></div><div·class="ttdoc">Handle·that·can·be·used·as·unique·patch·identifier·within·PatchTable.</div><div·class="ttdef"><b>Definition</b>·<a·href="a0073 | 273 | <div·class="ttc"·id="aa00997_html"><div·class="ttname"><a·href="a00997.html">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::PatchHandle</a></div><div·class="ttdoc">Handle·that·can·be·used·as·unique·patch·identifier·within·PatchTable.</div><div·class="ttdef"><b>Definition</b>·<a·href="a00731_source.html#l00060">patchTable.h:60</a></div></div> |
274 | <div·class="ttc"·id="aa00997_html_a31bdf15525ab73560c2b725ff7f8ae3a"><div·class="ttname"><a·href="a00997.html#a31bdf15525ab73560c2b725ff7f8ae3a">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::PatchHandle::patchIndex</a></div><div·class="ttdeci">Index·patchIndex</div><div·class="ttdef"><b>Definition</b>·<a·href="a0073 | 274 | <div·class="ttc"·id="aa00997_html_a31bdf15525ab73560c2b725ff7f8ae3a"><div·class="ttname"><a·href="a00997.html#a31bdf15525ab73560c2b725ff7f8ae3a">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::PatchHandle::patchIndex</a></div><div·class="ttdeci">Index·patchIndex</div><div·class="ttdef"><b>Definition</b>·<a·href="a00731_source.html#l00068">patchTable.h:68</a></div></div> |
275 | <div·class="ttc"·id="aa00997_html_a4430ecde7e1d784b2bef6dc4c2ff04c2"><div·class="ttname"><a·href="a00997.html#a4430ecde7e1d784b2bef6dc4c2ff04c2">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::PatchHandle::arrayIndex</a></div><div·class="ttdeci">Index·arrayIndex</div><div·class="ttdef"><b>Definition</b>·<a·href="a0073 | 275 | <div·class="ttc"·id="aa00997_html_a4430ecde7e1d784b2bef6dc4c2ff04c2"><div·class="ttname"><a·href="a00997.html#a4430ecde7e1d784b2bef6dc4c2ff04c2">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::PatchHandle::arrayIndex</a></div><div·class="ttdeci">Index·arrayIndex</div><div·class="ttdef"><b>Definition</b>·<a·href="a00731_source.html#l00067">patchTable.h:67</a></div></div> |
276 | <div·class="ttc"·id="aa00997_html_a46d1a8129375c3ee40a33a81d44b685a"><div·class="ttname"><a·href="a00997.html#a46d1a8129375c3ee40a33a81d44b685a">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::PatchHandle::vertIndex</a></div><div·class="ttdeci">Index·vertIndex</div><div·class="ttdef"><b>Definition</b>·<a·href="a0073 | 276 | <div·class="ttc"·id="aa00997_html_a46d1a8129375c3ee40a33a81d44b685a"><div·class="ttname"><a·href="a00997.html#a46d1a8129375c3ee40a33a81d44b685a">OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::PatchHandle::vertIndex</a></div><div·class="ttdeci">Index·vertIndex</div><div·class="ttdef"><b>Definition</b>·<a·href="a00731_source.html#l00069">patchTable.h:69</a></div></div> |
277 | <div·class="ttc"·id="aa01321_html"><div·class="ttname"><a·href="a01321.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchCoord</a></div><div·class="ttdoc">Coordinates·set·on·a·patch·table.</div><div·class="ttdef"><b>Definition</b>·<a·href="a01489_source.html#l00042">types.h:42</a></div></div> | 277 | <div·class="ttc"·id="aa01321_html"><div·class="ttname"><a·href="a01321.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchCoord</a></div><div·class="ttdoc">Coordinates·set·on·a·patch·table.</div><div·class="ttdef"><b>Definition</b>·<a·href="a01489_source.html#l00042">types.h:42</a></div></div> |
278 | <div·class="ttc"·id="aa01321_html_a06ae6afa9ea8e2028021f8ee3f28b824"><div·class="ttname"><a·href="a01321.html#a06ae6afa9ea8e2028021f8ee3f28b824">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchCoord::handle</a></div><div·class="ttdeci">Far::PatchTable::PatchHandle·handle</div><div·class="ttdoc">patch·handle</div><div·class="ttdef"><b>Definition</b>·<a·href="a01489_source.html#l00062">types.h:62</a></div></div> | 278 | <div·class="ttc"·id="aa01321_html_a06ae6afa9ea8e2028021f8ee3f28b824"><div·class="ttname"><a·href="a01321.html#a06ae6afa9ea8e2028021f8ee3f28b824">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchCoord::handle</a></div><div·class="ttdeci">Far::PatchTable::PatchHandle·handle</div><div·class="ttdoc">patch·handle</div><div·class="ttdef"><b>Definition</b>·<a·href="a01489_source.html#l00062">types.h:62</a></div></div> |
279 | <div·class="ttc"·id="aa01321_html_a5e6a814c3f060dc9575af4082f4d905e"><div·class="ttname"><a·href="a01321.html#a5e6a814c3f060dc9575af4082f4d905e">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchCoord::PatchCoord</a></div><div·class="ttdeci">PatchCoord()</div><div·class="ttdef"><b>Definition</b>·<a·href="a01489_source.html#l00056">types.h:56</a></div></div> | 279 | <div·class="ttc"·id="aa01321_html_a5e6a814c3f060dc9575af4082f4d905e"><div·class="ttname"><a·href="a01321.html#a5e6a814c3f060dc9575af4082f4d905e">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchCoord::PatchCoord</a></div><div·class="ttdeci">PatchCoord()</div><div·class="ttdef"><b>Definition</b>·<a·href="a01489_source.html#l00056">types.h:56</a></div></div> |
280 | <div·class="ttc"·id="aa01321_html_a874f74a4dc1c9a0cd9c6e0d79c298f55"><div·class="ttname"><a·href="a01321.html#a874f74a4dc1c9a0cd9c6e0d79c298f55">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchCoord::s</a></div><div·class="ttdeci">float·s</div><div·class="ttdef"><b>Definition</b>·<a·href="a01489_source.html#l00063">types.h:63</a></div></div> | 280 | <div·class="ttc"·id="aa01321_html_a874f74a4dc1c9a0cd9c6e0d79c298f55"><div·class="ttname"><a·href="a01321.html#a874f74a4dc1c9a0cd9c6e0d79c298f55">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchCoord::s</a></div><div·class="ttdeci">float·s</div><div·class="ttdef"><b>Definition</b>·<a·href="a01489_source.html#l00063">types.h:63</a></div></div> |
281 | <div·class="ttc"·id="aa01321_html_abe64006c4fe55b720f483bd7711bf216"><div·class="ttname"><a·href="a01321.html#abe64006c4fe55b720f483bd7711bf216">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchCoord::PatchCoord</a></div><div·class="ttdeci">PatchCoord(Far::PatchTable::PatchHandle·handleArg,·float·sArg,·float·tArg)</div><div·class="ttdoc">Constructor.</div><div·class="ttdef"><b>Definition</b>·<a·href="a01489_source.html#l00053">types.h:53</a></div></div> | 281 | <div·class="ttc"·id="aa01321_html_abe64006c4fe55b720f483bd7711bf216"><div·class="ttname"><a·href="a01321.html#abe64006c4fe55b720f483bd7711bf216">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchCoord::PatchCoord</a></div><div·class="ttdeci">PatchCoord(Far::PatchTable::PatchHandle·handleArg,·float·sArg,·float·tArg)</div><div·class="ttdoc">Constructor.</div><div·class="ttdef"><b>Definition</b>·<a·href="a01489_source.html#l00053">types.h:53</a></div></div> |
282 | <div·class="ttc"·id="aa01321_html_afea36502e9d227ff62c5fb2719a246f2"><div·class="ttname"><a·href="a01321.html#afea36502e9d227ff62c5fb2719a246f2">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchCoord::t</a></div><div·class="ttdeci">float·t</div><div·class="ttdoc">parametric·location·on·patch</div><div·class="ttdef"><b>Definition</b>·<a·href="a01489_source.html#l00063">types.h:63</a></div></div> | 282 | <div·class="ttc"·id="aa01321_html_afea36502e9d227ff62c5fb2719a246f2"><div·class="ttname"><a·href="a01321.html#afea36502e9d227ff62c5fb2719a246f2">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchCoord::t</a></div><div·class="ttdeci">float·t</div><div·class="ttdoc">parametric·location·on·patch</div><div·class="ttdef"><b>Definition</b>·<a·href="a01489_source.html#l00063">types.h:63</a></div></div> |
283 | <div·class="ttc"·id="aa01325_html"><div·class="ttname"><a·href="a01325.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchArray</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a01489_source.html#l00066">types.h:66</a></div></div> | 283 | <div·class="ttc"·id="aa01325_html"><div·class="ttname"><a·href="a01325.html">OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchArray</a></div><div·class="ttdef"><b>Definition</b>·<a·href="a01489_source.html#l00066">types.h:66</a></div></div> |
Offset 123, 61 lines modified | Offset 123, 61 lines modified | ||
123 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 123 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
124 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00842_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00842.html">d3d11ComputeEvaluator.h</a></td></tr> | 124 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00842_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00842.html">d3d11ComputeEvaluator.h</a></td></tr> |
125 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 125 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
126 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00839_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00839.html">d3d11LegacyGregoryPatchTable.h</a></td></tr> | 126 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00839_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00839.html">d3d11LegacyGregoryPatchTable.h</a></td></tr> |
127 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 127 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
128 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00830_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00830.html">d3d11Mesh.h</a></td></tr> | 128 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00830_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00830.html">d3d11Mesh.h</a></td></tr> |
129 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 129 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
130 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0083 | 130 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00836_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00836.html">d3d11PatchTable.h</a></td></tr> |
131 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 131 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
132 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0083 | 132 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00833_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00833.html">d3d11VertexBuffer.h</a></td></tr> |
133 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 133 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
134 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00848_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00848.html">glComputeEvaluator.h</a></td></tr> | 134 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00848_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00848.html">glComputeEvaluator.h</a></td></tr> |
135 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 135 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
136 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00866_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00866.html">glLegacyGregoryPatchTable.h</a></td></tr> | 136 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00866_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00866.html">glLegacyGregoryPatchTable.h</a></td></tr> |
137 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 137 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
138 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0085 | 138 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00854_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00854.html">glMesh.h</a></td></tr> |
139 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 139 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
140 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00863_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00863.html">glPatchTable.h</a></td></tr> | 140 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00863_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00863.html">glPatchTable.h</a></td></tr> |
141 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 141 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
142 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0085 | 142 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00857_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00857.html">glslPatchShaderSource.h</a></td></tr> |
143 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 143 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
144 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00860_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00860.html">glVertexBuffer.h</a></td></tr> | 144 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00860_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00860.html">glVertexBuffer.h</a></td></tr> |
145 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 145 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
146 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0085 | 146 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00851_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00851.html">glXFBEvaluator.h</a></td></tr> |
147 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 147 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
148 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00827_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00827.html">hlslPatchShaderSource.h</a></td></tr> | 148 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00827_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00827.html">hlslPatchShaderSource.h</a></td></tr> |
149 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 149 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
150 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00887_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00887.html">mesh.h</a></td></tr> | 150 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00887_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00887.html">mesh.h</a></td></tr> |
151 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 151 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
152 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00806_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00806.html">mtlCommon.h</a></td></tr> | 152 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00806_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00806.html">mtlCommon.h</a></td></tr> |
153 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 153 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
154 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a008 | 154 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00821_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00821.html">mtlComputeEvaluator.h</a></td></tr> |
155 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 155 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
156 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0081 | 156 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00818_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00818.html">mtlLegacyGregoryPatchTable.h</a></td></tr> |
157 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 157 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
158 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a008 | 158 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00812_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00812.html">mtlMesh.h</a></td></tr> |
159 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 159 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
160 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00809_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00809.html">mtlPatchShaderSource.h</a></td></tr> | 160 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00809_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00809.html">mtlPatchShaderSource.h</a></td></tr> |
161 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 161 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
162 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00815_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00815.html">mtlPatchTable.h</a></td></tr> | 162 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00815_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00815.html">mtlPatchTable.h</a></td></tr> |
163 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 163 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
164 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00824_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00824.html">mtlVertexBuffer.h</a></td></tr> | 164 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00824_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00824.html">mtlVertexBuffer.h</a></td></tr> |
165 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 165 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
166 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00881_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00881.html">ompEvaluator.h</a></td></tr> | 166 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00881_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00881.html">ompEvaluator.h</a></td></tr> |
167 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 167 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
168 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0087 | 168 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00878_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00878.html">ompKernel.h</a></td></tr> |
169 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 169 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
170 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00794_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00794.html">opencl.h</a></td></tr> | 170 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00794_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00794.html">opencl.h</a></td></tr> |
171 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 171 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
172 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00884_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00884.html">opengl.h</a></td></tr> | 172 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00884_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00884.html">opengl.h</a></td></tr> |
173 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 173 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
174 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00875_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00875.html">tbbEvaluator.h</a></td></tr> | 174 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00875_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00875.html">tbbEvaluator.h</a></td></tr> |
175 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 175 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
176 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0087 | 176 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00872_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00872.html">tbbKernel.h</a></td></tr> |
177 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 177 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
178 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a01489_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01489.html">types.h</a></td></tr> | 178 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a01489_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01489.html">types.h</a></td></tr> |
179 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 179 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
180 | </table> | 180 | </table> |
181 | </div><!--·contents·--> | 181 | </div><!--·contents·--> |
182 | </div><!--·doc-content·--> | 182 | </div><!--·doc-content·--> |
183 | <!--·start·footer·part·--> | 183 | <!--·start·footer·part·--> |
Offset 10, 33 lines modified | Offset 10, 33 lines modified | ||
10 | ····["cpuVertexBuffer.h",·"a00890.html",·"a00890"], | 10 | ····["cpuVertexBuffer.h",·"a00890.html",·"a00890"], |
11 | ····["cudaEvaluator.h",·"a00791.html",·"a00791"], | 11 | ····["cudaEvaluator.h",·"a00791.html",·"a00791"], |
12 | ····["cudaPatchTable.h",·"a00788.html",·"a00788"], | 12 | ····["cudaPatchTable.h",·"a00788.html",·"a00788"], |
13 | ····["cudaVertexBuffer.h",·"a00902.html",·"a00902"], | 13 | ····["cudaVertexBuffer.h",·"a00902.html",·"a00902"], |
14 | ····["d3d11ComputeEvaluator.h",·"a00842.html",·"a00842"], | 14 | ····["d3d11ComputeEvaluator.h",·"a00842.html",·"a00842"], |
15 | ····["d3d11LegacyGregoryPatchTable.h",·"a00839.html",·"a00839"], | 15 | ····["d3d11LegacyGregoryPatchTable.h",·"a00839.html",·"a00839"], |
16 | ····["d3d11Mesh.h",·"a00830.html",·"a00830"], | 16 | ····["d3d11Mesh.h",·"a00830.html",·"a00830"], |
17 | ····["d3d11PatchTable.h",·"a0083 | 17 | ····["d3d11PatchTable.h",·"a00836.html",·"a00836"], |
18 | ····["d3d11VertexBuffer.h",·"a0083 | 18 | ····["d3d11VertexBuffer.h",·"a00833.html",·"a00833"], |
19 | ····["glComputeEvaluator.h",·"a00848.html",·"a00848"], | 19 | ····["glComputeEvaluator.h",·"a00848.html",·"a00848"], |
20 | ····["glLegacyGregoryPatchTable.h",·"a00866.html",·"a00866"], | 20 | ····["glLegacyGregoryPatchTable.h",·"a00866.html",·"a00866"], |
21 | ····["glMesh.h",·"a0085 | 21 | ····["glMesh.h",·"a00854.html",·"a00854"], |
22 | ····["glPatchTable.h",·"a00863.html",·"a00863"], | 22 | ····["glPatchTable.h",·"a00863.html",·"a00863"], |
23 | ····["glslPatchShaderSource.h",·"a0085 | 23 | ····["glslPatchShaderSource.h",·"a00857.html",·"a00857"], |
24 | ····["glVertexBuffer.h",·"a00860.html",·"a00860"], | 24 | ····["glVertexBuffer.h",·"a00860.html",·"a00860"], |
25 | ····["glXFBEvaluator.h",·"a0085 | 25 | ····["glXFBEvaluator.h",·"a00851.html",·"a00851"], |
26 | ····["hlslPatchShaderSource.h",·"a00827.html",·"a00827"], | 26 | ····["hlslPatchShaderSource.h",·"a00827.html",·"a00827"], |
27 | ····["mesh.h",·"a00887.html",·"a00887"], | 27 | ····["mesh.h",·"a00887.html",·"a00887"], |
28 | ····["mtlCommon.h",·"a00806.html",·"a00806"], | 28 | ····["mtlCommon.h",·"a00806.html",·"a00806"], |
29 | ····["mtlComputeEvaluator.h",·"a008 | 29 | ····["mtlComputeEvaluator.h",·"a00821.html",·"a00821"], |
30 | ····["mtlLegacyGregoryPatchTable.h",·"a0081 | 30 | ····["mtlLegacyGregoryPatchTable.h",·"a00818.html",·"a00818"], |
31 | ····["mtlMesh.h",·"a008 | 31 | ····["mtlMesh.h",·"a00812.html",·"a00812"], |
32 | ····["mtlPatchShaderSource.h",·"a00809.html",·"a00809"], | 32 | ····["mtlPatchShaderSource.h",·"a00809.html",·"a00809"], |
33 | ····["mtlPatchTable.h",·"a00815.html",·"a00815"], | 33 | ····["mtlPatchTable.h",·"a00815.html",·"a00815"], |
34 | ····["mtlVertexBuffer.h",·"a00824.html",·"a00824"], | 34 | ····["mtlVertexBuffer.h",·"a00824.html",·"a00824"], |
35 | ····["ompEvaluator.h",·"a00881.html",·"a00881"], | 35 | ····["ompEvaluator.h",·"a00881.html",·"a00881"], |
36 | ····["ompKernel.h",·"a0087 | 36 | ····["ompKernel.h",·"a00878.html",·"a00878"], |
37 | ····["opencl.h",·"a00794.html",·null], | 37 | ····["opencl.h",·"a00794.html",·null], |
38 | ····["opengl.h",·"a00884.html",·null], | 38 | ····["opengl.h",·"a00884.html",·null], |
39 | ····["tbbEvaluator.h",·"a00875.html",·"a00875"], | 39 | ····["tbbEvaluator.h",·"a00875.html",·"a00875"], |
40 | ····["tbbKernel.h",·"a0087 | 40 | ····["tbbKernel.h",·"a00872.html",·"a00872"], |
41 | ····["types.h",·"a01489.html",·"a01489"] | 41 | ····["types.h",·"a01489.html",·"a01489"] |
42 | ]; | 42 | ]; |
Offset 97, 19 lines modified | Offset 97, 19 lines modified | ||
97 | <table·class="memberdecls"> | 97 | <table·class="memberdecls"> |
98 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> | 98 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> |
99 | Files</h2></td></tr> | 99 | Files</h2></td></tr> |
100 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00743_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00743.html">error.h</a></td></tr> | 100 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00743_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00743.html">error.h</a></td></tr> |
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00740_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00740.html">patchDescriptor.h</a></td></tr> | 102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00740_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00740.html">patchDescriptor.h</a></td></tr> |
103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
104 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0073 | 104 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00734_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00734.html">patchMap.h</a></td></tr> |
105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00737_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00737.html">patchParam.h</a></td></tr> | 106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00737_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00737.html">patchParam.h</a></td></tr> |
107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0073 | 108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00731_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00731.html">patchTable.h</a></td></tr> |
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00728_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00728.html">patchTableFactory.h</a></td></tr> | 110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00728_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00728.html">patchTableFactory.h</a></td></tr> |
111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
112 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00725_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00725.html">primvarRefiner.h</a></td></tr> | 112 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00725_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00725.html">primvarRefiner.h</a></td></tr> |
113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
114 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00722_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00722.html">ptexIndices.h</a></td></tr> | 114 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00722_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00722.html">ptexIndices.h</a></td></tr> |
115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 1, 13 lines modified | Offset 1, 13 lines modified | ||
1 | var·dir_7f420b72a822828cfa8b0561c695a5cc·=·[ | 1 | var·dir_7f420b72a822828cfa8b0561c695a5cc·=·[ |
2 | ····["error.h",·"a00743.html",·"a00743"], | 2 | ····["error.h",·"a00743.html",·"a00743"], |
3 | ····["patchDescriptor.h",·"a00740.html",·"a00740"], | 3 | ····["patchDescriptor.h",·"a00740.html",·"a00740"], |
4 | ····["patchMap.h",·"a0073 | 4 | ····["patchMap.h",·"a00734.html",·"a00734"], |
5 | ····["patchParam.h",·"a00737.html",·"a00737"], | 5 | ····["patchParam.h",·"a00737.html",·"a00737"], |
6 | ····["patchTable.h",·"a0073 | 6 | ····["patchTable.h",·"a00731.html",·"a00731"], |
7 | ····["patchTableFactory.h",·"a00728.html",·"a00728"], | 7 | ····["patchTableFactory.h",·"a00728.html",·"a00728"], |
8 | ····["primvarRefiner.h",·"a00725.html",·"a00725"], | 8 | ····["primvarRefiner.h",·"a00725.html",·"a00725"], |
9 | ····["ptexIndices.h",·"a00722.html",·"a00722"], | 9 | ····["ptexIndices.h",·"a00722.html",·"a00722"], |
10 | ····["stencilTable.h",·"a00719.html",·"a00719"], | 10 | ····["stencilTable.h",·"a00719.html",·"a00719"], |
11 | ····["stencilTableFactory.h",·"a00716.html",·"a00716"], | 11 | ····["stencilTableFactory.h",·"a00716.html",·"a00716"], |
12 | ····["topologyDescriptor.h",·"a00713.html",·"a00713"], | 12 | ····["topologyDescriptor.h",·"a00713.html",·"a00713"], |
13 | ····["topologyLevel.h",·"a00710.html",·"a00710"], | 13 | ····["topologyLevel.h",·"a00710.html",·"a00710"], |
Offset 99, 21 lines modified | Offset 99, 21 lines modified | ||
99 | Files</h2></td></tr> | 99 | Files</h2></td></tr> |
100 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00767_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00767.html">array.h</a></td></tr> | 100 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00767_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00767.html">array.h</a></td></tr> |
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00764_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00764.html">componentInterfaces.h</a></td></tr> | 102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00764_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00764.html">componentInterfaces.h</a></td></tr> |
103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
104 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00761_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00761.html">fvarLevel.h</a></td></tr> | 104 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00761_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00761.html">fvarLevel.h</a></td></tr> |
105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0075 | 106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00758_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00758.html">fvarRefinement.h</a></td></tr> |
107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0075 | 108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00755_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00755.html">level.h</a></td></tr> |
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a007 | 110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00749_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00749.html">refinement.h</a></td></tr> |
111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
112 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a007 | 112 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00752_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00752.html">sparseSelector.h</a></td></tr> |
113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
114 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00746_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00746.html">stackBuffer.h</a></td></tr> | 114 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00746_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00746.html">stackBuffer.h</a></td></tr> |
115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
116 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a01495_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01495.html">types.h</a></td></tr> | 116 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a01495_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01495.html">types.h</a></td></tr> |
117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
118 | </table> | 118 | </table> |
119 | </div><!--·contents·--> | 119 | </div><!--·contents·--> |
Offset 1, 11 lines modified | Offset 1, 11 lines modified | ||
1 | var·dir_bd5473d7d5841d48919aaa9ad0cb1f9b·=·[ | 1 | var·dir_bd5473d7d5841d48919aaa9ad0cb1f9b·=·[ |
2 | ····["array.h",·"a00767.html",·"a00767"], | 2 | ····["array.h",·"a00767.html",·"a00767"], |
3 | ····["componentInterfaces.h",·"a00764.html",·null], | 3 | ····["componentInterfaces.h",·"a00764.html",·null], |
4 | ····["fvarLevel.h",·"a00761.html",·null], | 4 | ····["fvarLevel.h",·"a00761.html",·null], |
5 | ····["fvarRefinement.h",·"a0075 | 5 | ····["fvarRefinement.h",·"a00758.html",·null], |
6 | ····["level.h",·"a0075 | 6 | ····["level.h",·"a00755.html",·null], |
7 | ····["refinement.h",·"a007 | 7 | ····["refinement.h",·"a00749.html",·null], |
8 | ····["sparseSelector.h",·"a007 | 8 | ····["sparseSelector.h",·"a00752.html",·null], |
9 | ····["stackBuffer.h",·"a00746.html",·null], | 9 | ····["stackBuffer.h",·"a00746.html",·null], |
10 | ····["types.h",·"a01495.html",·"a01495"] | 10 | ····["types.h",·"a01495.html",·"a01495"] |
11 | ]; | 11 | ]; |
Offset 95, 17 lines modified | Offset 95, 17 lines modified | ||
95 | </div><!--header--> | 95 | </div><!--header--> |
96 | <div·class="contents"> | 96 | <div·class="contents"> |
97 | <table·class="memberdecls"> | 97 | <table·class="memberdecls"> |
98 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> | 98 | <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a> |
99 | Files</h2></td></tr> | 99 | Files</h2></td></tr> |
100 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00785_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00785.html">bilinearScheme.h</a></td></tr> | 100 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00785_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00785.html">bilinearScheme.h</a></td></tr> |
101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 101 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a007 | 102 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00782_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00782.html">catmarkScheme.h</a></td></tr> |
103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 103 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
104 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a007 | 104 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00779_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00779.html">crease.h</a></td></tr> |
105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 105 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00776_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00776.html">loopScheme.h</a></td></tr> | 106 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00776_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00776.html">loopScheme.h</a></td></tr> |
107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00773_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00773.html">options.h</a></td></tr> | 108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00773_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00773.html">options.h</a></td></tr> |
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00770_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00770.html">scheme.h</a></td></tr> | 110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00770_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00770.html">scheme.h</a></td></tr> |
111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
Offset 1, 9 lines modified | Offset 1, 9 lines modified | ||
1 | var·dir_f61368944c63c2c1f8c69bc232e59c39·=·[ | 1 | var·dir_f61368944c63c2c1f8c69bc232e59c39·=·[ |
2 | ····["bilinearScheme.h",·"a00785.html",·null], | 2 | ····["bilinearScheme.h",·"a00785.html",·null], |
3 | ····["catmarkScheme.h",·"a007 | 3 | ····["catmarkScheme.h",·"a00782.html",·null], |
4 | ····["crease.h",·"a007 | 4 | ····["crease.h",·"a00779.html",·"a00779"], |
5 | ····["loopScheme.h",·"a00776.html",·null], | 5 | ····["loopScheme.h",·"a00776.html",·null], |
6 | ····["options.h",·"a00773.html",·"a00773"], | 6 | ····["options.h",·"a00773.html",·"a00773"], |
7 | ····["scheme.h",·"a00770.html",·"a00770"], | 7 | ····["scheme.h",·"a00770.html",·"a00770"], |
8 | ····["types.h",·"a01492.html",·"a01492"] | 8 | ····["types.h",·"a01492.html",·"a01492"] |
9 | ]; | 9 | ]; |
Offset 107, 17 lines modified | Offset 107, 17 lines modified | ||
107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 107 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00686_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00686.html">surfaceFactory.h</a></td></tr> | 108 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00686_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00686.html">surfaceFactory.h</a></td></tr> |
109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 109 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00680_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00680.html">surfaceFactoryCache.h</a></td></tr> | 110 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00680_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00680.html">surfaceFactoryCache.h</a></td></tr> |
111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 111 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
112 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00683_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00683.html">surfaceFactoryMeshAdapter.h</a></td></tr> | 112 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00683_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00683.html">surfaceFactoryMeshAdapter.h</a></td></tr> |
113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 113 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
114 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0067 | 114 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00677_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00677.html">tessellation.h</a></td></tr> |
115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 115 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
116 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a0067 | 116 | <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top"><a·href="a00674_source.html"><span·class="icondoc"></span></a> </td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00674.html">vertexDescriptor.h</a></td></tr> |
117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> | 117 | <tr·class="separator:"><td·class="memSeparator"·colspan="2"> </td></tr> |
118 | </table> | 118 | </table> |
119 | </div><!--·contents·--> | 119 | </div><!--·contents·--> |
120 | </div><!--·doc-content·--> | 120 | </div><!--·doc-content·--> |
121 | <!--·start·footer·part·--> | 121 | <!--·start·footer·part·--> |
122 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> | 122 | <div·id="nav-path"·class="navpath"><!--·id·is·needed·for·treeview·function!·--> |
123 | ··<ul> | 123 | ··<ul> |
Offset 2, 10 lines modified | Offset 2, 10 lines modified | ||
2 | ····["limits.h",·"a00698.html",·"a00698"], | 2 | ····["limits.h",·"a00698.html",·"a00698"], |
3 | ····["parameterization.h",·"a00695.html",·"a00695"], | 3 | ····["parameterization.h",·"a00695.html",·"a00695"], |
4 | ····["refinerSurfaceFactory.h",·"a00692.html",·"a00692"], | 4 | ····["refinerSurfaceFactory.h",·"a00692.html",·"a00692"], |
5 | ····["surface.h",·"a00689.html",·"a00689"], | 5 | ····["surface.h",·"a00689.html",·"a00689"], |
6 | ····["surfaceFactory.h",·"a00686.html",·"a00686"], | 6 | ····["surfaceFactory.h",·"a00686.html",·"a00686"], |
7 | ····["surfaceFactoryCache.h",·"a00680.html",·"a00680"], | 7 | ····["surfaceFactoryCache.h",·"a00680.html",·"a00680"], |
8 | ····["surfaceFactoryMeshAdapter.h",·"a00683.html",·"a00683"], | 8 | ····["surfaceFactoryMeshAdapter.h",·"a00683.html",·"a00683"], |
9 | ····["tessellation.h",·"a0067 | 9 | ····["tessellation.h",·"a00677.html",·"a00677"], |
10 | ····["vertexDescriptor.h",·"a0067 | 10 | ····["vertexDescriptor.h",·"a00674.html",·"a00674"] |
11 | ]; | 11 | ]; |
Offset 101, 22 lines modified | Offset 101, 22 lines modified | ||
101 | <tr·id="row_0_0_0_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00698_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00698.html"·target="_self">limits.h</a></td><td·class="desc"></td></tr> | 101 | <tr·id="row_0_0_0_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00698_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00698.html"·target="_self">limits.h</a></td><td·class="desc"></td></tr> |
102 | <tr·id="row_0_0_1_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00695_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00695.html"·target="_self">parameterization.h</a></td><td·class="desc"></td></tr> | 102 | <tr·id="row_0_0_1_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00695_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00695.html"·target="_self">parameterization.h</a></td><td·class="desc"></td></tr> |
103 | <tr·id="row_0_0_2_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00692_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00692.html"·target="_self">refinerSurfaceFactory.h</a></td><td·class="desc"></td></tr> | 103 | <tr·id="row_0_0_2_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00692_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00692.html"·target="_self">refinerSurfaceFactory.h</a></td><td·class="desc"></td></tr> |
104 | <tr·id="row_0_0_3_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00689_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00689.html"·target="_self">surface.h</a></td><td·class="desc"></td></tr> | 104 | <tr·id="row_0_0_3_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00689_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00689.html"·target="_self">surface.h</a></td><td·class="desc"></td></tr> |
105 | <tr·id="row_0_0_4_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00686_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00686.html"·target="_self">surfaceFactory.h</a></td><td·class="desc"></td></tr> | 105 | <tr·id="row_0_0_4_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00686_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00686.html"·target="_self">surfaceFactory.h</a></td><td·class="desc"></td></tr> |
106 | <tr·id="row_0_0_5_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00680_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00680.html"·target="_self">surfaceFactoryCache.h</a></td><td·class="desc"></td></tr> | 106 | <tr·id="row_0_0_5_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00680_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00680.html"·target="_self">surfaceFactoryCache.h</a></td><td·class="desc"></td></tr> |
107 | <tr·id="row_0_0_6_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00683_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00683.html"·target="_self">surfaceFactoryMeshAdapter.h</a></td><td·class="desc"></td></tr> | 107 | <tr·id="row_0_0_6_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00683_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00683.html"·target="_self">surfaceFactoryMeshAdapter.h</a></td><td·class="desc"></td></tr> |
108 | <tr·id="row_0_0_7_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0067 | 108 | <tr·id="row_0_0_7_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00677_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00677.html"·target="_self">tessellation.h</a></td><td·class="desc"></td></tr> |
109 | <tr·id="row_0_0_8_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0067 | 109 | <tr·id="row_0_0_8_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00674_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00674.html"·target="_self">vertexDescriptor.h</a></td><td·class="desc"></td></tr> |
110 | <tr·id="row_0_1_"·class="odd"><td·class="entry"><span·style="width:16px;display:inline-block;"> </span><span·id="arr_0_1_"·class="arrow"·onclick="toggleFolder('0_1_')">▼</span><span·id="img_0_1_"·class="iconfopen"·onclick="toggleFolder('0_1_')"> </span><a·class="el"·href="dir_7f420b72a822828cfa8b0561c695a5cc.html"·target="_self">far</a></td><td·class="desc"></td></tr> | 110 | <tr·id="row_0_1_"·class="odd"><td·class="entry"><span·style="width:16px;display:inline-block;"> </span><span·id="arr_0_1_"·class="arrow"·onclick="toggleFolder('0_1_')">▼</span><span·id="img_0_1_"·class="iconfopen"·onclick="toggleFolder('0_1_')"> </span><a·class="el"·href="dir_7f420b72a822828cfa8b0561c695a5cc.html"·target="_self">far</a></td><td·class="desc"></td></tr> |
111 | <tr·id="row_0_1_0_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00743_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00743.html"·target="_self">error.h</a></td><td·class="desc"></td></tr> | 111 | <tr·id="row_0_1_0_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00743_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00743.html"·target="_self">error.h</a></td><td·class="desc"></td></tr> |
112 | <tr·id="row_0_1_1_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00740_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00740.html"·target="_self">patchDescriptor.h</a></td><td·class="desc"></td></tr> | 112 | <tr·id="row_0_1_1_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00740_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00740.html"·target="_self">patchDescriptor.h</a></td><td·class="desc"></td></tr> |
113 | <tr·id="row_0_1_2_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0073 | 113 | <tr·id="row_0_1_2_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00734_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00734.html"·target="_self">patchMap.h</a></td><td·class="desc"></td></tr> |
114 | <tr·id="row_0_1_3_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00737_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00737.html"·target="_self">patchParam.h</a></td><td·class="desc"></td></tr> | 114 | <tr·id="row_0_1_3_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00737_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00737.html"·target="_self">patchParam.h</a></td><td·class="desc"></td></tr> |
115 | <tr·id="row_0_1_4_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0073 | 115 | <tr·id="row_0_1_4_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00731_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00731.html"·target="_self">patchTable.h</a></td><td·class="desc"></td></tr> |
116 | <tr·id="row_0_1_5_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00728_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00728.html"·target="_self">patchTableFactory.h</a></td><td·class="desc"></td></tr> | 116 | <tr·id="row_0_1_5_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00728_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00728.html"·target="_self">patchTableFactory.h</a></td><td·class="desc"></td></tr> |
117 | <tr·id="row_0_1_6_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00725_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00725.html"·target="_self">primvarRefiner.h</a></td><td·class="desc"></td></tr> | 117 | <tr·id="row_0_1_6_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00725_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00725.html"·target="_self">primvarRefiner.h</a></td><td·class="desc"></td></tr> |
118 | <tr·id="row_0_1_7_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00722_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00722.html"·target="_self">ptexIndices.h</a></td><td·class="desc"></td></tr> | 118 | <tr·id="row_0_1_7_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00722_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00722.html"·target="_self">ptexIndices.h</a></td><td·class="desc"></td></tr> |
119 | <tr·id="row_0_1_8_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00719_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00719.html"·target="_self">stencilTable.h</a></td><td·class="desc"></td></tr> | 119 | <tr·id="row_0_1_8_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00719_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00719.html"·target="_self">stencilTable.h</a></td><td·class="desc"></td></tr> |
120 | <tr·id="row_0_1_9_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00716_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00716.html"·target="_self">stencilTableFactory.h</a></td><td·class="desc"></td></tr> | 120 | <tr·id="row_0_1_9_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00716_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00716.html"·target="_self">stencilTableFactory.h</a></td><td·class="desc"></td></tr> |
121 | <tr·id="row_0_1_10_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00713_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00713.html"·target="_self">topologyDescriptor.h</a></td><td·class="desc"></td></tr> | 121 | <tr·id="row_0_1_10_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00713_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00713.html"·target="_self">topologyDescriptor.h</a></td><td·class="desc"></td></tr> |
122 | <tr·id="row_0_1_11_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00710_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00710.html"·target="_self">topologyLevel.h</a></td><td·class="desc"></td></tr> | 122 | <tr·id="row_0_1_11_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00710_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00710.html"·target="_self">topologyLevel.h</a></td><td·class="desc"></td></tr> |
Offset 135, 55 lines modified | Offset 135, 55 lines modified | ||
135 | <tr·id="row_0_2_8_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00890_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00890.html"·target="_self">cpuVertexBuffer.h</a></td><td·class="desc"></td></tr> | 135 | <tr·id="row_0_2_8_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00890_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00890.html"·target="_self">cpuVertexBuffer.h</a></td><td·class="desc"></td></tr> |
136 | <tr·id="row_0_2_9_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00791_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00791.html"·target="_self">cudaEvaluator.h</a></td><td·class="desc"></td></tr> | 136 | <tr·id="row_0_2_9_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00791_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00791.html"·target="_self">cudaEvaluator.h</a></td><td·class="desc"></td></tr> |
137 | <tr·id="row_0_2_10_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00788_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00788.html"·target="_self">cudaPatchTable.h</a></td><td·class="desc"></td></tr> | 137 | <tr·id="row_0_2_10_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00788_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00788.html"·target="_self">cudaPatchTable.h</a></td><td·class="desc"></td></tr> |
138 | <tr·id="row_0_2_11_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00902_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00902.html"·target="_self">cudaVertexBuffer.h</a></td><td·class="desc"></td></tr> | 138 | <tr·id="row_0_2_11_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00902_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00902.html"·target="_self">cudaVertexBuffer.h</a></td><td·class="desc"></td></tr> |
139 | <tr·id="row_0_2_12_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00842_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00842.html"·target="_self">d3d11ComputeEvaluator.h</a></td><td·class="desc"></td></tr> | 139 | <tr·id="row_0_2_12_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00842_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00842.html"·target="_self">d3d11ComputeEvaluator.h</a></td><td·class="desc"></td></tr> |
140 | <tr·id="row_0_2_13_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00839_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00839.html"·target="_self">d3d11LegacyGregoryPatchTable.h</a></td><td·class="desc"></td></tr> | 140 | <tr·id="row_0_2_13_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00839_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00839.html"·target="_self">d3d11LegacyGregoryPatchTable.h</a></td><td·class="desc"></td></tr> |
141 | <tr·id="row_0_2_14_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00830_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00830.html"·target="_self">d3d11Mesh.h</a></td><td·class="desc"></td></tr> | 141 | <tr·id="row_0_2_14_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00830_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00830.html"·target="_self">d3d11Mesh.h</a></td><td·class="desc"></td></tr> |
142 | <tr·id="row_0_2_15_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0083 | 142 | <tr·id="row_0_2_15_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00836_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00836.html"·target="_self">d3d11PatchTable.h</a></td><td·class="desc"></td></tr> |
143 | <tr·id="row_0_2_16_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0083 | 143 | <tr·id="row_0_2_16_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00833_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00833.html"·target="_self">d3d11VertexBuffer.h</a></td><td·class="desc"></td></tr> |
144 | <tr·id="row_0_2_17_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00848_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00848.html"·target="_self">glComputeEvaluator.h</a></td><td·class="desc"></td></tr> | 144 | <tr·id="row_0_2_17_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00848_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00848.html"·target="_self">glComputeEvaluator.h</a></td><td·class="desc"></td></tr> |
145 | <tr·id="row_0_2_18_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00866_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00866.html"·target="_self">glLegacyGregoryPatchTable.h</a></td><td·class="desc"></td></tr> | 145 | <tr·id="row_0_2_18_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00866_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00866.html"·target="_self">glLegacyGregoryPatchTable.h</a></td><td·class="desc"></td></tr> |
146 | <tr·id="row_0_2_19_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0085 | 146 | <tr·id="row_0_2_19_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00854_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00854.html"·target="_self">glMesh.h</a></td><td·class="desc"></td></tr> |
147 | <tr·id="row_0_2_20_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00863_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00863.html"·target="_self">glPatchTable.h</a></td><td·class="desc"></td></tr> | 147 | <tr·id="row_0_2_20_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00863_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00863.html"·target="_self">glPatchTable.h</a></td><td·class="desc"></td></tr> |
148 | <tr·id="row_0_2_21_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0085 | 148 | <tr·id="row_0_2_21_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00857_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00857.html"·target="_self">glslPatchShaderSource.h</a></td><td·class="desc"></td></tr> |
149 | <tr·id="row_0_2_22_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00860_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00860.html"·target="_self">glVertexBuffer.h</a></td><td·class="desc"></td></tr> | 149 | <tr·id="row_0_2_22_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00860_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00860.html"·target="_self">glVertexBuffer.h</a></td><td·class="desc"></td></tr> |
150 | <tr·id="row_0_2_23_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0085 | 150 | <tr·id="row_0_2_23_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00851_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00851.html"·target="_self">glXFBEvaluator.h</a></td><td·class="desc"></td></tr> |
151 | <tr·id="row_0_2_24_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00827_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00827.html"·target="_self">hlslPatchShaderSource.h</a></td><td·class="desc"></td></tr> | 151 | <tr·id="row_0_2_24_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00827_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00827.html"·target="_self">hlslPatchShaderSource.h</a></td><td·class="desc"></td></tr> |
152 | <tr·id="row_0_2_25_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00887_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00887.html"·target="_self">mesh.h</a></td><td·class="desc"></td></tr> | 152 | <tr·id="row_0_2_25_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00887_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00887.html"·target="_self">mesh.h</a></td><td·class="desc"></td></tr> |
153 | <tr·id="row_0_2_26_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00806_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00806.html"·target="_self">mtlCommon.h</a></td><td·class="desc"></td></tr> | 153 | <tr·id="row_0_2_26_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00806_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00806.html"·target="_self">mtlCommon.h</a></td><td·class="desc"></td></tr> |
154 | <tr·id="row_0_2_27_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a008 | 154 | <tr·id="row_0_2_27_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00821_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00821.html"·target="_self">mtlComputeEvaluator.h</a></td><td·class="desc"></td></tr> |
155 | <tr·id="row_0_2_28_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0081 | 155 | <tr·id="row_0_2_28_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00818_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00818.html"·target="_self">mtlLegacyGregoryPatchTable.h</a></td><td·class="desc"></td></tr> |
156 | <tr·id="row_0_2_29_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a008 | 156 | <tr·id="row_0_2_29_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00812_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00812.html"·target="_self">mtlMesh.h</a></td><td·class="desc"></td></tr> |
157 | <tr·id="row_0_2_30_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00809_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00809.html"·target="_self">mtlPatchShaderSource.h</a></td><td·class="desc"></td></tr> | 157 | <tr·id="row_0_2_30_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00809_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00809.html"·target="_self">mtlPatchShaderSource.h</a></td><td·class="desc"></td></tr> |
158 | <tr·id="row_0_2_31_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00815_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00815.html"·target="_self">mtlPatchTable.h</a></td><td·class="desc"></td></tr> | 158 | <tr·id="row_0_2_31_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00815_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00815.html"·target="_self">mtlPatchTable.h</a></td><td·class="desc"></td></tr> |
159 | <tr·id="row_0_2_32_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00824_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00824.html"·target="_self">mtlVertexBuffer.h</a></td><td·class="desc"></td></tr> | 159 | <tr·id="row_0_2_32_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00824_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00824.html"·target="_self">mtlVertexBuffer.h</a></td><td·class="desc"></td></tr> |
160 | <tr·id="row_0_2_33_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00881_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00881.html"·target="_self">ompEvaluator.h</a></td><td·class="desc"></td></tr> | 160 | <tr·id="row_0_2_33_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00881_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00881.html"·target="_self">ompEvaluator.h</a></td><td·class="desc"></td></tr> |
161 | <tr·id="row_0_2_34_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0087 | 161 | <tr·id="row_0_2_34_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00878_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00878.html"·target="_self">ompKernel.h</a></td><td·class="desc"></td></tr> |
162 | <tr·id="row_0_2_35_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00794_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00794.html"·target="_self">opencl.h</a></td><td·class="desc"></td></tr> | 162 | <tr·id="row_0_2_35_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00794_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00794.html"·target="_self">opencl.h</a></td><td·class="desc"></td></tr> |
163 | <tr·id="row_0_2_36_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00884_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00884.html"·target="_self">opengl.h</a></td><td·class="desc"></td></tr> | 163 | <tr·id="row_0_2_36_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00884_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00884.html"·target="_self">opengl.h</a></td><td·class="desc"></td></tr> |
164 | <tr·id="row_0_2_37_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00875_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00875.html"·target="_self">tbbEvaluator.h</a></td><td·class="desc"></td></tr> | 164 | <tr·id="row_0_2_37_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00875_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00875.html"·target="_self">tbbEvaluator.h</a></td><td·class="desc"></td></tr> |
165 | <tr·id="row_0_2_38_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0087 | 165 | <tr·id="row_0_2_38_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00872_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00872.html"·target="_self">tbbKernel.h</a></td><td·class="desc"></td></tr> |
166 | <tr·id="row_0_2_39_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a01489_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a01489.html"·target="_self">types.h</a></td><td·class="desc"></td></tr> | 166 | <tr·id="row_0_2_39_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a01489_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a01489.html"·target="_self">types.h</a></td><td·class="desc"></td></tr> |
167 | <tr·id="row_0_3_"·class="even"><td·class="entry"><span·style="width:16px;display:inline-block;"> </span><span·id="arr_0_3_"·class="arrow"·onclick="toggleFolder('0_3_')">▼</span><span·id="img_0_3_"·class="iconfopen"·onclick="toggleFolder('0_3_')"> </span><a·class="el"·href="dir_f61368944c63c2c1f8c69bc232e59c39.html"·target="_self">sdc</a></td><td·class="desc"></td></tr> | 167 | <tr·id="row_0_3_"·class="even"><td·class="entry"><span·style="width:16px;display:inline-block;"> </span><span·id="arr_0_3_"·class="arrow"·onclick="toggleFolder('0_3_')">▼</span><span·id="img_0_3_"·class="iconfopen"·onclick="toggleFolder('0_3_')"> </span><a·class="el"·href="dir_f61368944c63c2c1f8c69bc232e59c39.html"·target="_self">sdc</a></td><td·class="desc"></td></tr> |
168 | <tr·id="row_0_3_0_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00785_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00785.html"·target="_self">bilinearScheme.h</a></td><td·class="desc"></td></tr> | 168 | <tr·id="row_0_3_0_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00785_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00785.html"·target="_self">bilinearScheme.h</a></td><td·class="desc"></td></tr> |
169 | <tr·id="row_0_3_1_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a007 | 169 | <tr·id="row_0_3_1_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00782_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00782.html"·target="_self">catmarkScheme.h</a></td><td·class="desc"></td></tr> |
170 | <tr·id="row_0_3_2_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a007 | 170 | <tr·id="row_0_3_2_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00779_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00779.html"·target="_self">crease.h</a></td><td·class="desc"></td></tr> |
171 | <tr·id="row_0_3_3_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00776_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00776.html"·target="_self">loopScheme.h</a></td><td·class="desc"></td></tr> | 171 | <tr·id="row_0_3_3_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00776_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00776.html"·target="_self">loopScheme.h</a></td><td·class="desc"></td></tr> |
172 | <tr·id="row_0_3_4_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00773_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00773.html"·target="_self">options.h</a></td><td·class="desc"></td></tr> | 172 | <tr·id="row_0_3_4_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00773_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00773.html"·target="_self">options.h</a></td><td·class="desc"></td></tr> |
173 | <tr·id="row_0_3_5_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00770_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00770.html"·target="_self">scheme.h</a></td><td·class="desc"></td></tr> | 173 | <tr·id="row_0_3_5_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00770_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00770.html"·target="_self">scheme.h</a></td><td·class="desc"></td></tr> |
174 | <tr·id="row_0_3_6_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a01492_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a01492.html"·target="_self">types.h</a></td><td·class="desc"></td></tr> | 174 | <tr·id="row_0_3_6_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a01492_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a01492.html"·target="_self">types.h</a></td><td·class="desc"></td></tr> |
175 | <tr·id="row_0_4_"·class="even"><td·class="entry"><span·style="width:16px;display:inline-block;"> </span><span·id="arr_0_4_"·class="arrow"·onclick="toggleFolder('0_4_')">▼</span><span·id="img_0_4_"·class="iconfopen"·onclick="toggleFolder('0_4_')"> </span><a·class="el"·href="dir_bd5473d7d5841d48919aaa9ad0cb1f9b.html"·target="_self">vtr</a></td><td·class="desc"></td></tr> | 175 | <tr·id="row_0_4_"·class="even"><td·class="entry"><span·style="width:16px;display:inline-block;"> </span><span·id="arr_0_4_"·class="arrow"·onclick="toggleFolder('0_4_')">▼</span><span·id="img_0_4_"·class="iconfopen"·onclick="toggleFolder('0_4_')"> </span><a·class="el"·href="dir_bd5473d7d5841d48919aaa9ad0cb1f9b.html"·target="_self">vtr</a></td><td·class="desc"></td></tr> |
176 | <tr·id="row_0_4_0_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00767_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00767.html"·target="_self">array.h</a></td><td·class="desc"></td></tr> | 176 | <tr·id="row_0_4_0_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00767_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00767.html"·target="_self">array.h</a></td><td·class="desc"></td></tr> |
177 | <tr·id="row_0_4_1_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00764_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00764.html"·target="_self">componentInterfaces.h</a></td><td·class="desc"></td></tr> | 177 | <tr·id="row_0_4_1_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00764_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00764.html"·target="_self">componentInterfaces.h</a></td><td·class="desc"></td></tr> |
178 | <tr·id="row_0_4_2_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00761_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00761.html"·target="_self">fvarLevel.h</a></td><td·class="desc"></td></tr> | 178 | <tr·id="row_0_4_2_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00761_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00761.html"·target="_self">fvarLevel.h</a></td><td·class="desc"></td></tr> |
179 | <tr·id="row_0_4_3_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0075 | 179 | <tr·id="row_0_4_3_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00758_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00758.html"·target="_self">fvarRefinement.h</a></td><td·class="desc"></td></tr> |
180 | <tr·id="row_0_4_4_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a0075 | 180 | <tr·id="row_0_4_4_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00755_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00755.html"·target="_self">level.h</a></td><td·class="desc"></td></tr> |
181 | <tr·id="row_0_4_5_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a007 | 181 | <tr·id="row_0_4_5_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00749_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00749.html"·target="_self">refinement.h</a></td><td·class="desc"></td></tr> |
182 | <tr·id="row_0_4_6_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a007 | 182 | <tr·id="row_0_4_6_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00752_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00752.html"·target="_self">sparseSelector.h</a></td><td·class="desc"></td></tr> |
183 | <tr·id="row_0_4_7_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00746_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00746.html"·target="_self">stackBuffer.h</a></td><td·class="desc"></td></tr> | 183 | <tr·id="row_0_4_7_"·class="even"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a00746_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00746.html"·target="_self">stackBuffer.h</a></td><td·class="desc"></td></tr> |
184 | <tr·id="row_0_4_8_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a01495_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a01495.html"·target="_self">types.h</a></td><td·class="desc"></td></tr> | 184 | <tr·id="row_0_4_8_"·class="odd"><td·class="entry"><span·style="width:48px;display:inline-block;"> </span><a·href="a01495_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a01495.html"·target="_self">types.h</a></td><td·class="desc"></td></tr> |
185 | </table> | 185 | </table> |
186 | </div><!--·directory·--> | 186 | </div><!--·directory·--> |
187 | </div><!--·contents·--> | 187 | </div><!--·contents·--> |
188 | </div><!--·doc-content·--> | 188 | </div><!--·doc-content·--> |
189 | <!--·start·footer·part·--> | 189 | <!--·start·footer·part·--> |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | var·NAVTREEINDEX0·=·{ | 1 | var·NAVTREEINDEX0·=·{ |
2 | ····"a00674.html":·[2,·0,·0,·0,· | 2 | ····"a00674.html":·[2,·0,·0,·0,·8], |
3 | ····"a00674_source.html":·[2,·0,·0,·0,· | 3 | ····"a00674_source.html":·[2,·0,·0,·0,·8], |
4 | ····"a00677.html":·[2,·0,·0,·0,· | 4 | ····"a00677.html":·[2,·0,·0,·0,·7], |
5 | ····"a00677_source.html":·[2,·0,·0,·0,· | 5 | ····"a00677_source.html":·[2,·0,·0,·0,·7], |
6 | ····"a00680.html":·[2,·0,·0,·0,·5], | 6 | ····"a00680.html":·[2,·0,·0,·0,·5], |
7 | ····"a00680_source.html":·[2,·0,·0,·0,·5], | 7 | ····"a00680_source.html":·[2,·0,·0,·0,·5], |
8 | ····"a00683.html":·[2,·0,·0,·0,·6], | 8 | ····"a00683.html":·[2,·0,·0,·0,·6], |
9 | ····"a00683_source.html":·[2,·0,·0,·0,·6], | 9 | ····"a00683_source.html":·[2,·0,·0,·0,·6], |
10 | ····"a00686.html":·[2,·0,·0,·0,·4], | 10 | ····"a00686.html":·[2,·0,·0,·0,·4], |
11 | ····"a00686_source.html":·[2,·0,·0,·0,·4], | 11 | ····"a00686_source.html":·[2,·0,·0,·0,·4], |
12 | ····"a00689.html":·[2,·0,·0,·0,·3], | 12 | ····"a00689.html":·[2,·0,·0,·0,·3], |
Offset 31, 18 lines modified | Offset 31, 18 lines modified | ||
31 | ····"a00719_source.html":·[2,·0,·0,·1,·8], | 31 | ····"a00719_source.html":·[2,·0,·0,·1,·8], |
32 | ····"a00722.html":·[2,·0,·0,·1,·7], | 32 | ····"a00722.html":·[2,·0,·0,·1,·7], |
33 | ····"a00722_source.html":·[2,·0,·0,·1,·7], | 33 | ····"a00722_source.html":·[2,·0,·0,·1,·7], |
34 | ····"a00725.html":·[2,·0,·0,·1,·6], | 34 | ····"a00725.html":·[2,·0,·0,·1,·6], |
35 | ····"a00725_source.html":·[2,·0,·0,·1,·6], | 35 | ····"a00725_source.html":·[2,·0,·0,·1,·6], |
36 | ····"a00728.html":·[2,·0,·0,·1,·5], | 36 | ····"a00728.html":·[2,·0,·0,·1,·5], |
37 | ····"a00728_source.html":·[2,·0,·0,·1,·5], | 37 | ····"a00728_source.html":·[2,·0,·0,·1,·5], |
38 | ····"a00731.html":·[2,·0,·0,·1,· | 38 | ····"a00731.html":·[2,·0,·0,·1,·4], |
39 | ····"a00731_source.html":·[2,·0,·0,·1,· | 39 | ····"a00731_source.html":·[2,·0,·0,·1,·4], |
40 | ····"a00734.html":·[2,·0,·0,·1,· | 40 | ····"a00734.html":·[2,·0,·0,·1,·2], |
41 | ····"a00734_source.html":·[2,·0,·0,·1,· | 41 | ····"a00734_source.html":·[2,·0,·0,·1,·2], |
42 | ····"a00737.html":·[2,·0,·0,·1,·3], | 42 | ····"a00737.html":·[2,·0,·0,·1,·3], |
43 | ····"a00737.html#a3139c7c52ddf26b2403e8e95ff63eeb3":·[2,·0,·0,·1,·3,·1], | 43 | ····"a00737.html#a3139c7c52ddf26b2403e8e95ff63eeb3":·[2,·0,·0,·1,·3,·1], |
44 | ····"a00737.html#a46ea68db89cc3d55c4191ef7648281ce":·[2,·0,·0,·1,·3,·3], | 44 | ····"a00737.html#a46ea68db89cc3d55c4191ef7648281ce":·[2,·0,·0,·1,·3,·3], |
45 | ····"a00737.html#abe07210a029a01571c54276ae28b4d88":·[2,·0,·0,·1,·3,·2], | 45 | ····"a00737.html#abe07210a029a01571c54276ae28b4d88":·[2,·0,·0,·1,·3,·2], |
46 | ····"a00737_source.html":·[2,·0,·0,·1,·3], | 46 | ····"a00737_source.html":·[2,·0,·0,·1,·3], |
47 | ····"a00740.html":·[2,·0,·0,·1,·1], | 47 | ····"a00740.html":·[2,·0,·0,·1,·1], |
48 | ····"a00740.html#ad258c2d8f7871bc0d40cf3a9ded6e08a":·[2,·0,·0,·1,·1,·1], | 48 | ····"a00740.html#ad258c2d8f7871bc0d40cf3a9ded6e08a":·[2,·0,·0,·1,·1,·1], |
Offset 59, 38 lines modified | Offset 59, 38 lines modified | ||
59 | ····"a00743.html#ab0df38968e4f03a3f1f6d6df0f31f45aa3efe6cb2ec7e23769d53919dfb3291b5":·[2,·0,·0,·1,·0,·2,·2], | 59 | ····"a00743.html#ab0df38968e4f03a3f1f6d6df0f31f45aa3efe6cb2ec7e23769d53919dfb3291b5":·[2,·0,·0,·1,·0,·2,·2], |
60 | ····"a00743.html#ab0df38968e4f03a3f1f6d6df0f31f45aa9b2839feb039937015e9668f601e4d32":·[2,·0,·0,·1,·0,·2,·3], | 60 | ····"a00743.html#ab0df38968e4f03a3f1f6d6df0f31f45aa9b2839feb039937015e9668f601e4d32":·[2,·0,·0,·1,·0,·2,·3], |
61 | ····"a00743.html#ab0df38968e4f03a3f1f6d6df0f31f45aabeca977bc439b451aea1325f48a52a0b":·[2,·0,·0,·1,·0,·2,·0], | 61 | ····"a00743.html#ab0df38968e4f03a3f1f6d6df0f31f45aabeca977bc439b451aea1325f48a52a0b":·[2,·0,·0,·1,·0,·2,·0], |
62 | ····"a00743.html#ab0df38968e4f03a3f1f6d6df0f31f45aac565fa39d681e2766584dd87246c3bdd":·[2,·0,·0,·1,·0,·2,·4], | 62 | ····"a00743.html#ab0df38968e4f03a3f1f6d6df0f31f45aac565fa39d681e2766584dd87246c3bdd":·[2,·0,·0,·1,·0,·2,·4], |
63 | ····"a00743_source.html":·[2,·0,·0,·1,·0], | 63 | ····"a00743_source.html":·[2,·0,·0,·1,·0], |
64 | ····"a00746.html":·[2,·0,·0,·4,·7], | 64 | ····"a00746.html":·[2,·0,·0,·4,·7], |
65 | ····"a00746_source.html":·[2,·0,·0,·4,·7], | 65 | ····"a00746_source.html":·[2,·0,·0,·4,·7], |
66 | ····"a00749.html":·[2,·0,·0,·4,· | 66 | ····"a00749.html":·[2,·0,·0,·4,·5], |
67 | ····"a00749_source.html":·[2,·0,·0,·4,· | 67 | ····"a00749_source.html":·[2,·0,·0,·4,·5], |
68 | ····"a00752.html":·[2,·0,·0,·4,· | 68 | ····"a00752.html":·[2,·0,·0,·4,·6], |
69 | ····"a00752_source.html":·[2,·0,·0,·4,· | 69 | ····"a00752_source.html":·[2,·0,·0,·4,·6], |
70 | ····"a00755.html":·[2,·0,·0,·4,· | 70 | ····"a00755.html":·[2,·0,·0,·4,·4], |
71 | ····"a00755_source.html":·[2,·0,·0,·4,· | 71 | ····"a00755_source.html":·[2,·0,·0,·4,·4], |
72 | ····"a00758.html":·[2,·0,·0,·4,· | 72 | ····"a00758.html":·[2,·0,·0,·4,·3], |
73 | ····"a00758_source.html":·[2,·0,·0,·4,· | 73 | ····"a00758_source.html":·[2,·0,·0,·4,·3], |
74 | ····"a00761.html":·[2,·0,·0,·4,·2], | 74 | ····"a00761.html":·[2,·0,·0,·4,·2], |
75 | ····"a00761_source.html":·[2,·0,·0,·4,·2], | 75 | ····"a00761_source.html":·[2,·0,·0,·4,·2], |
76 | ····"a00764.html":·[2,·0,·0,·4,·1], | 76 | ····"a00764.html":·[2,·0,·0,·4,·1], |
77 | ····"a00764_source.html":·[2,·0,·0,·4,·1], | 77 | ····"a00764_source.html":·[2,·0,·0,·4,·1], |
78 | ····"a00767.html":·[2,·0,·0,·4,·0], | 78 | ····"a00767.html":·[2,·0,·0,·4,·0], |
79 | ····"a00767_source.html":·[2,·0,·0,·4,·0], | 79 | ····"a00767_source.html":·[2,·0,·0,·4,·0], |
80 | ····"a00770.html":·[2,·0,·0,·3,·5], | 80 | ····"a00770.html":·[2,·0,·0,·3,·5], |
81 | ····"a00770_source.html":·[2,·0,·0,·3,·5], | 81 | ····"a00770_source.html":·[2,·0,·0,·3,·5], |
82 | ····"a00773.html":·[2,·0,·0,·3,·4], | 82 | ····"a00773.html":·[2,·0,·0,·3,·4], |
83 | ····"a00773_source.html":·[2,·0,·0,·3,·4], | 83 | ····"a00773_source.html":·[2,·0,·0,·3,·4], |
84 | ····"a00776.html":·[2,·0,·0,·3,·3], | 84 | ····"a00776.html":·[2,·0,·0,·3,·3], |
85 | ····"a00776_source.html":·[2,·0,·0,·3,·3], | 85 | ····"a00776_source.html":·[2,·0,·0,·3,·3], |
86 | ····"a00779.html":·[2,·0,·0,·3,· | 86 | ····"a00779.html":·[2,·0,·0,·3,·2], |
87 | ····"a00779_source.html":·[2,·0,·0,·3,· | 87 | ····"a00779_source.html":·[2,·0,·0,·3,·2], |
88 | ····"a00782.html":·[2,·0,·0,·3,· | 88 | ····"a00782.html":·[2,·0,·0,·3,·1], |
89 | ····"a00782_source.html":·[2,·0,·0,·3,· | 89 | ····"a00782_source.html":·[2,·0,·0,·3,·1], |
90 | ····"a00785.html":·[2,·0,·0,·3,·0], | 90 | ····"a00785.html":·[2,·0,·0,·3,·0], |
91 | ····"a00785_source.html":·[2,·0,·0,·3,·0], | 91 | ····"a00785_source.html":·[2,·0,·0,·3,·0], |
92 | ····"a00788.html":·[2,·0,·0,·2,·10], | 92 | ····"a00788.html":·[2,·0,·0,·2,·10], |
93 | ····"a00788_source.html":·[2,·0,·0,·2,·10], | 93 | ····"a00788_source.html":·[2,·0,·0,·2,·10], |
94 | ····"a00791.html":·[2,·0,·0,·2,·9], | 94 | ····"a00791.html":·[2,·0,·0,·2,·9], |
95 | ····"a00791_source.html":·[2,·0,·0,·2,·9], | 95 | ····"a00791_source.html":·[2,·0,·0,·2,·9], |
96 | ····"a00794.html":·[2,·0,·0,·2,·35], | 96 | ····"a00794.html":·[2,·0,·0,·2,·35], |
Offset 101, 71 lines modified | Offset 101, 71 lines modified | ||
101 | ····"a00800_source.html":·[2,·0,·0,·2,·2], | 101 | ····"a00800_source.html":·[2,·0,·0,·2,·2], |
102 | ····"a00803.html":·[2,·0,·0,·2,·1], | 102 | ····"a00803.html":·[2,·0,·0,·2,·1], |
103 | ····"a00803_source.html":·[2,·0,·0,·2,·1], | 103 | ····"a00803_source.html":·[2,·0,·0,·2,·1], |
104 | ····"a00806.html":·[2,·0,·0,·2,·26], | 104 | ····"a00806.html":·[2,·0,·0,·2,·26], |
105 | ····"a00806_source.html":·[2,·0,·0,·2,·26], | 105 | ····"a00806_source.html":·[2,·0,·0,·2,·26], |
106 | ····"a00809.html":·[2,·0,·0,·2,·30], | 106 | ····"a00809.html":·[2,·0,·0,·2,·30], |
107 | ····"a00809_source.html":·[2,·0,·0,·2,·30], | 107 | ····"a00809_source.html":·[2,·0,·0,·2,·30], |
108 | ····"a00812.html":·[2,·0,·0,·2,·2 | 108 | ····"a00812.html":·[2,·0,·0,·2,·29], |
109 | ····"a00812.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa":·[2,·0,·0,·2,·29,·0], | ||
109 | ····"a00812_source.html":·[2,·0,·0,·2,·2 | 110 | ····"a00812_source.html":·[2,·0,·0,·2,·29], |
110 | ····"a00815.html":·[2,·0,·0,·2,·31], | 111 | ····"a00815.html":·[2,·0,·0,·2,·31], |
111 | ····"a00815_source.html":·[2,·0,·0,·2,·31], | 112 | ····"a00815_source.html":·[2,·0,·0,·2,·31], |
112 | ····"a00818.html":·[2,·0,·0,·2,·2 | 113 | ····"a00818.html":·[2,·0,·0,·2,·28], |
113 | ····"a00818_source.html":·[2,·0,·0,·2,·2 | 114 | ····"a00818_source.html":·[2,·0,·0,·2,·28], |
114 | ····"a00821.html":·[2,·0,·0,·2,·2 | 115 | ····"a00821.html":·[2,·0,·0,·2,·27], |
115 | ····"a00821.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa":·[2,·0,·0,·2,·29,·0], | ||
116 | ····"a00821_source.html":·[2,·0,·0,·2,·2 | 116 | ····"a00821_source.html":·[2,·0,·0,·2,·27], |
117 | ····"a00824.html":·[2,·0,·0,·2,·32], | 117 | ····"a00824.html":·[2,·0,·0,·2,·32], |
118 | ····"a00824_source.html":·[2,·0,·0,·2,·32], | 118 | ····"a00824_source.html":·[2,·0,·0,·2,·32], |
119 | ····"a00827.html":·[2,·0,·0,·2,·24], | 119 | ····"a00827.html":·[2,·0,·0,·2,·24], |
120 | ····"a00827_source.html":·[2,·0,·0,·2,·24], | 120 | ····"a00827_source.html":·[2,·0,·0,·2,·24], |
121 | ····"a00830.html":·[2,·0,·0,·2,·14], | 121 | ····"a00830.html":·[2,·0,·0,·2,·14], |
122 | ····"a00830.html#ae5c8e80d05d6eaee105d8eecfa9ab609":·[2,·0,·0,·2,·14,·0], | 122 | ····"a00830.html#ae5c8e80d05d6eaee105d8eecfa9ab609":·[2,·0,·0,·2,·14,·0], |
123 | ····"a00830_source.html":·[2,·0,·0,·2,·14], | 123 | ····"a00830_source.html":·[2,·0,·0,·2,·14], |
124 | ····"a00833.html":·[2,·0,·0,·2,·1 | 124 | ····"a00833.html":·[2,·0,·0,·2,·16], |
125 | ····"a00833_source.html":·[2,·0,·0,·2,·1 | 125 | ····"a00833_source.html":·[2,·0,·0,·2,·16], |
126 | ····"a00836.html":·[2,·0,·0,·2,·1 | 126 | ····"a00836.html":·[2,·0,·0,·2,·15], |
127 | ····"a00836_source.html":·[2,·0,·0,·2,·1 | 127 | ····"a00836_source.html":·[2,·0,·0,·2,·15], |
128 | ····"a00839.html":·[2,·0,·0,·2,·13], | 128 | ····"a00839.html":·[2,·0,·0,·2,·13], |
129 | ····"a00839_source.html":·[2,·0,·0,·2,·13], | 129 | ····"a00839_source.html":·[2,·0,·0,·2,·13], |
130 | ····"a00842.html":·[2,·0,·0,·2,·12], | 130 | ····"a00842.html":·[2,·0,·0,·2,·12], |
131 | ····"a00842_source.html":·[2,·0,·0,·2,·12], | 131 | ····"a00842_source.html":·[2,·0,·0,·2,·12], |
132 | ····"a00845.html":·[2,·0,·0,·2,·4], | 132 | ····"a00845.html":·[2,·0,·0,·2,·4], |
133 | ····"a00845_source.html":·[2,·0,·0,·2,·4], | 133 | ····"a00845_source.html":·[2,·0,·0,·2,·4], |
134 | ····"a00848.html":·[2,·0,·0,·2,·17], | 134 | ····"a00848.html":·[2,·0,·0,·2,·17], |
135 | ····"a00848_source.html":·[2,·0,·0,·2,·17], | 135 | ····"a00848_source.html":·[2,·0,·0,·2,·17], |
136 | ····"a00851.html":·[2,·0,·0,·2,·2 | 136 | ····"a00851.html":·[2,·0,·0,·2,·23], |
137 | ····"a00851_source.html":·[2,·0,·0,·2,·2 | 137 | ····"a00851_source.html":·[2,·0,·0,·2,·23], |
138 | ····"a00854.html":·[2,·0,·0,·2,·23], | ||
139 | ····"a00854_source.html":·[2,·0,·0,·2,·23], | ||
140 | ····"a0085 | 138 | ····"a00854.html":·[2,·0,·0,·2,·19], |
141 | ····"a0085 | 139 | ····"a00854.html#a7f9cf2b729178bdbb847fc4afd91af9e":·[2,·0,·0,·2,·19,·0], |
142 | ····"a0085 | 140 | ····"a00854_source.html":·[2,·0,·0,·2,·19], |
141 | ····"a00857.html":·[2,·0,·0,·2,·21], | ||
142 | ····"a00857_source.html":·[2,·0,·0,·2,·21], | ||
143 | ····"a00860.html":·[2,·0,·0,·2,·22], | 143 | ····"a00860.html":·[2,·0,·0,·2,·22], |
144 | ····"a00860_source.html":·[2,·0,·0,·2,·22], | 144 | ····"a00860_source.html":·[2,·0,·0,·2,·22], |
145 | ····"a00863.html":·[2,·0,·0,·2,·20], | 145 | ····"a00863.html":·[2,·0,·0,·2,·20], |
146 | ····"a00863_source.html":·[2,·0,·0,·2,·20], | 146 | ····"a00863_source.html":·[2,·0,·0,·2,·20], |
147 | ····"a00866.html":·[2,·0,·0,·2,·18], | 147 | ····"a00866.html":·[2,·0,·0,·2,·18], |
148 | ····"a00866_source.html":·[2,·0,·0,·2,·18], | 148 | ····"a00866_source.html":·[2,·0,·0,·2,·18], |
149 | ····"a00869.html":·[2,·0,·0,·2,·6], | 149 | ····"a00869.html":·[2,·0,·0,·2,·6], |
150 | ····"a00869_source.html":·[2,·0,·0,·2,·6], | 150 | ····"a00869_source.html":·[2,·0,·0,·2,·6], |
151 | ····"a00872.html":·[2,·0,·0,·2,·3 | 151 | ····"a00872.html":·[2,·0,·0,·2,·38], |
152 | ····"a00872.html#a44a05502feb5015035bc81b93cffb99c":·[2,·0,·0,·2,·34,·0], | ||
153 | ····"a00872.html#a870745ff3e883b32547d4db42b3be2bd":·[2,·0,·0,·2,·34,·2], | ||
Max diff block lines reached; 1165/8993 bytes (12.95%) of diff not shown. |
Offset 2, 15 lines modified | Offset 2, 15 lines modified | ||
2 | ····['reference_0',·['reference',·['../a01353.html#a9025ff89fc9afe7d9054abb58123bbda',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Vtr::ConstArray::reference'], | 2 | ····['reference_0',·['reference',·['../a01353.html#a9025ff89fc9afe7d9054abb58123bbda',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Vtr::ConstArray::reference'], |
3 | ········['../a01357.html#a9025ff89fc9afe7d9054abb58123bbda',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Vtr::Array::reference'] | 3 | ········['../a01357.html#a9025ff89fc9afe7d9054abb58123bbda',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Vtr::Array::reference'] |
4 | ····]], | 4 | ····]], |
5 | ····['refine_1',·['refine',·['../a01269.html#a9a90398ba2073fe3da454f6b00deb33c',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshInterface::Refine()'], | 5 | ····['refine_1',·['refine',·['../a01269.html#a9a90398ba2073fe3da454f6b00deb33c',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshInterface::Refine()'], |
6 | ········['../a01281.html#a32c8d641fe9ea1565be646a10c5d6c85',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::Mesh::Refine()'] | 6 | ········['../a01281.html#a32c8d641fe9ea1565be646a10c5d6c85',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::Mesh::Refine()'] |
7 | ····]], | 7 | ····]], |
8 | ····['refineadaptive_2',·['RefineAdaptive',·['../a01121.html#aff92309935db19988908471bee4fef4d',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner']]], | 8 | ····['refineadaptive_2',·['RefineAdaptive',·['../a01121.html#aff92309935db19988908471bee4fef4d',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner']]], |
9 | ····['refinement_2eh_3',·['refinement.h',·['../a007 | 9 | ····['refinement_2eh_3',·['refinement.h',·['../a00749.html',·1,·'']]], |
10 | ····['refinementlevel_4',·['refinementLevel',·['../a01125.html#a240d1e5f5b743486e8122db6223d4562',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::UniformOptions']]], | 10 | ····['refinementlevel_4',·['refinementLevel',·['../a01125.html#a240d1e5f5b743486e8122db6223d4562',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::UniformOptions']]], |
11 | ····['refinemesh_5',·['refinemesh',·['../a01269.html#a51f237c3f08f6ddc2ea7ba5cb0d00b36',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshInterface::refineMesh(Far::TopologyRefiner·&refiner,·int·level,·bool·adaptive,·bool·singleCreasePatch)'], | 11 | ····['refinemesh_5',·['refinemesh',·['../a01269.html#a51f237c3f08f6ddc2ea7ba5cb0d00b36',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshInterface::refineMesh(Far::TopologyRefiner·&refiner,·int·level,·bool·adaptive,·bool·singleCreasePatch)'], |
12 | ········['../a01269.html#a173851f742adc30ac139af96fe63732d',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshInterface::refineMesh(Far::TopologyRefiner·&refiner,·int·level,·MeshBitset·bits)'] | 12 | ········['../a01269.html#a173851f742adc30ac139af96fe63732d',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshInterface::refineMesh(Far::TopologyRefiner·&refiner,·int·level,·MeshBitset·bits)'] |
13 | ····]], | 13 | ····]], |
14 | ····['refinersurfacefactory_6',·['refinersurfacefactory',·['../a00929.html#af74dafe122d798d4069b675c52f6665a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::RefinerSurfaceFactory::RefinerSurfaceFactory()'], | 14 | ····['refinersurfacefactory_6',·['refinersurfacefactory',·['../a00929.html#af74dafe122d798d4069b675c52f6665a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::RefinerSurfaceFactory::RefinerSurfaceFactory()'], |
15 | ········['../a00929.html',·1,·'RefinerSurfaceFactory<·CACHE_TYPE·>'] | 15 | ········['../a00929.html',·1,·'RefinerSurfaceFactory<·CACHE_TYPE·>'] |
16 | ····]], | 16 | ····]], |
Offset 77, 15 lines modified | Offset 77, 15 lines modified | ||
77 | ····['shrinktofit_62',·['shrinkToFit',·['../a01061.html#a84fb9ead4f0f7458491b5d310592cea9',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableReal']]], | 77 | ····['shrinktofit_62',·['shrinkToFit',·['../a01061.html#a84fb9ead4f0f7458491b5d310592cea9',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableReal']]], |
78 | ····['size_63',·['size',·['../a00937.html#a439227feff9d7f55384e8780cfc2eb82',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::PointDescriptor::size'], | 78 | ····['size_63',·['size',·['../a00937.html#a439227feff9d7f55384e8780cfc2eb82',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::PointDescriptor::size'], |
79 | ········['../a01353.html#a60304b65bf89363bcc3165d3cde67f86',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Vtr::ConstArray::size()·const'] | 79 | ········['../a01353.html#a60304b65bf89363bcc3165d3cde67f86',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Vtr::ConstArray::size()·const'] |
80 | ····]], | 80 | ····]], |
81 | ····['size_5ftype_64',·['size_type',·['../a01353.html#aafd1e3ba4133ad908bdbc99c4b356e5f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Vtr::ConstArray::size_type'], | 81 | ····['size_5ftype_64',·['size_type',·['../a01353.html#aafd1e3ba4133ad908bdbc99c4b356e5f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Vtr::ConstArray::size_type'], |
82 | ········['../a01357.html#aafd1e3ba4133ad908bdbc99c4b356e5f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Vtr::Array::size_type'] | 82 | ········['../a01357.html#aafd1e3ba4133ad908bdbc99c4b356e5f',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Vtr::Array::size_type'] |
83 | ····]], | 83 | ····]], |
84 | ····['sparseselector_2eh_65',·['sparseSelector.h',·['../a007 | 84 | ····['sparseselector_2eh_65',·['sparseSelector.h',·['../a00752.html',·1,·'']]], |
85 | ····['split_66',·['Split',·['../a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc']]], | 85 | ····['split_66',·['Split',·['../a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc']]], |
86 | ····['split_5fhybrid_67',·['SPLIT_HYBRID',·['../a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887ba6ebca125aa2292ebbdfd6539d3656d28',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc']]], | 86 | ····['split_5fhybrid_67',·['SPLIT_HYBRID',·['../a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887ba6ebca125aa2292ebbdfd6539d3656d28',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc']]], |
87 | ····['split_5fto_5fquads_68',·['SPLIT_TO_QUADS',·['../a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887ba56eed514f6a5971f198c9e421054b513',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc']]], | 87 | ····['split_5fto_5fquads_68',·['SPLIT_TO_QUADS',·['../a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887ba56eed514f6a5971f198c9e421054b513',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc']]], |
88 | ····['split_5fto_5ftris_69',·['SPLIT_TO_TRIS',·['../a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887ba31959b36c678fcb560f478ecb7c051f5',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc']]], | 88 | ····['split_5fto_5ftris_69',·['SPLIT_TO_TRIS',·['../a00913.html#a61ef2f8f765ba17f8036bcc0f0fa887ba31959b36c678fcb560f478ecb7c051f5',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc']]], |
89 | ····['srcdesc_70',·['srcDesc',·['../a01277.html#a5d0b0430c7584408dbcd788f52b80fd4',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::EvaluatorCacheT::Entry']]], | 89 | ····['srcdesc_70',·['srcDesc',·['../a01277.html#a5d0b0430c7584408dbcd788f52b80fd4',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::EvaluatorCacheT::Entry']]], |
90 | ····['stackbuffer_2eh_71',·['stackBuffer.h',·['../a00746.html',·1,·'']]], | 90 | ····['stackbuffer_2eh_71',·['stackBuffer.h',·['../a00746.html',·1,·'']]], |
91 | ····['stencil_72',·['stencil',·['../a01057.html',·1,·'Stencil'], | 91 | ····['stencil_72',·['stencil',·['../a01057.html',·1,·'Stencil'], |
Offset 7, 22 lines modified | Offset 7, 22 lines modified | ||
7 | ····]], | 7 | ····]], |
8 | ····['tbbevalstencils_2',·['tbbevalstencils',·['../a00912.html#aa65ed860a2fa5935d99129a898a8f0b6',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::TbbEvalStencils(float·const·*src,·BufferDescriptor·const·&srcDesc,·float·*dst,·BufferDescriptor·const·&dstDesc,·float·*dstDu,·BufferDescriptor·const·&dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&dstDvDesc,·float·*dstDuu,·BufferDescriptor·const·&dstDuuDesc,·float·*dstDuv,·BufferDescriptor·const·&dstDuvDesc,·float·*dstDvv,·BufferDescriptor·const·&dstDvvDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·float·const·*duWeights,·float·const·*dvWeights,·float·const·*duuWeights,·float·const·*duvWeights,·float·const·*dvvWeights,·int·start,·int·end)'], | 8 | ····['tbbevalstencils_2',·['tbbevalstencils',·['../a00912.html#aa65ed860a2fa5935d99129a898a8f0b6',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::TbbEvalStencils(float·const·*src,·BufferDescriptor·const·&srcDesc,·float·*dst,·BufferDescriptor·const·&dstDesc,·float·*dstDu,·BufferDescriptor·const·&dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&dstDvDesc,·float·*dstDuu,·BufferDescriptor·const·&dstDuuDesc,·float·*dstDuv,·BufferDescriptor·const·&dstDuvDesc,·float·*dstDvv,·BufferDescriptor·const·&dstDvvDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·float·const·*duWeights,·float·const·*dvWeights,·float·const·*duuWeights,·float·const·*duvWeights,·float·const·*dvvWeights,·int·start,·int·end)'], |
9 | ········['../a00912.html#af23c35537952bfdd493441e5c42ff2ed',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::TbbEvalStencils(float·const·*src,·BufferDescriptor·const·&srcDesc,·float·*dst,·BufferDescriptor·const·&dstDesc,·float·*dstDu,·BufferDescriptor·const·&dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&dstDvDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·float·const·*duWeights,·float·const·*dvWeights,·int·start,·int·end)'], | 9 | ········['../a00912.html#af23c35537952bfdd493441e5c42ff2ed',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::TbbEvalStencils(float·const·*src,·BufferDescriptor·const·&srcDesc,·float·*dst,·BufferDescriptor·const·&dstDesc,·float·*dstDu,·BufferDescriptor·const·&dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&dstDvDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·float·const·*duWeights,·float·const·*dvWeights,·int·start,·int·end)'], |
10 | ········['../a00912.html#a4a6a0fcc01638f2a0316b32ad158b485',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::TbbEvalStencils(float·const·*src,·BufferDescriptor·const·&srcDesc,·float·*dst,·BufferDescriptor·const·&dstDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·int·start,·int·end)'] | 10 | ········['../a00912.html#a4a6a0fcc01638f2a0316b32ad158b485',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::TbbEvalStencils(float·const·*src,·BufferDescriptor·const·&srcDesc,·float·*dst,·BufferDescriptor·const·&dstDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·int·start,·int·end)'] |
11 | ····]], | 11 | ····]], |
12 | ····['tbbevaluator_3',·['TbbEvaluator',·['../a01317.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], | 12 | ····['tbbevaluator_3',·['TbbEvaluator',·['../a01317.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], |
13 | ····['tbbevaluator_2eh_4',·['tbbEvaluator.h',·['../a00875.html',·1,·'']]], | 13 | ····['tbbevaluator_2eh_4',·['tbbEvaluator.h',·['../a00875.html',·1,·'']]], |
14 | ····['tbbkernel_2eh_5',·['tbbKernel.h',·['../a0087 | 14 | ····['tbbkernel_2eh_5',·['tbbKernel.h',·['../a00872.html',·1,·'']]], |
15 | ····['tessellation_6',·['tessellation',·['../a00961.html',·1,·'Tessellation'], | 15 | ····['tessellation_6',·['tessellation',·['../a00961.html',·1,·'Tessellation'], |
16 | ········['../a00961.html#ab03191ef31cf0d8b0bcc44f226804e87',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::Tessellation(Tessellation·const·&)=delete'], | 16 | ········['../a00961.html#ab03191ef31cf0d8b0bcc44f226804e87',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::Tessellation(Tessellation·const·&)=delete'], |
17 | ········['../a00961.html#a7a3e89992f3cc492804ec9bc184a1674',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::Tessellation()=delete'], | 17 | ········['../a00961.html#a7a3e89992f3cc492804ec9bc184a1674',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::Tessellation()=delete'], |
18 | ········['../a00961.html#a65ee652b3607c97bb2b04a64c55d7f99',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::Tessellation(Parameterization·const·&p,·int·numRates,·int·const·rates[],·Options·const·&options=Options())'], | 18 | ········['../a00961.html#a65ee652b3607c97bb2b04a64c55d7f99',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::Tessellation(Parameterization·const·&p,·int·numRates,·int·const·rates[],·Options·const·&options=Options())'], |
19 | ········['../a00961.html#a7f0af117d53701f7ca6e3eb2368b89bb',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::Tessellation(Parameterization·const·&p,·int·uniformRate,·Options·const·&options=Options())'] | 19 | ········['../a00961.html#a7f0af117d53701f7ca6e3eb2368b89bb',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Tessellation::Tessellation(Parameterization·const·&p,·int·uniformRate,·Options·const·&options=Options())'] |
20 | ····]], | 20 | ····]], |
21 | ····['tessellation_2eh_7',·['tessellation.h',·['../a0067 | 21 | ····['tessellation_2eh_7',·['tessellation.h',·['../a00677.html',·1,·'']]], |
22 | ····['topologycallback_8',·['TopologyCallback',·['../a01133.html#a896a964625491e084b3d776acd10f053',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefinerFactoryBase']]], | 22 | ····['topologycallback_8',·['TopologyCallback',·['../a01133.html#a896a964625491e084b3d776acd10f053',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefinerFactoryBase']]], |
23 | ····['topologydescriptor_9',·['topologydescriptor',·['../a01105.html',·1,·'TopologyDescriptor'], | 23 | ····['topologydescriptor_9',·['topologydescriptor',·['../a01105.html',·1,·'TopologyDescriptor'], |
24 | ········['../a01105.html#a8209f1b69b0162ee2e7065d91088113d',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor::TopologyDescriptor()'] | 24 | ········['../a01105.html#a8209f1b69b0162ee2e7065d91088113d',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor::TopologyDescriptor()'] |
25 | ····]], | 25 | ····]], |
26 | ····['topologydescriptor_2eh_10',·['topologyDescriptor.h',·['../a00713.html',·1,·'']]], | 26 | ····['topologydescriptor_2eh_10',·['topologyDescriptor.h',·['../a00713.html',·1,·'']]], |
27 | ····['topologyerror_11',·['TopologyError',·['../a01117.html#a5458be6ce3f2e63c8d8555f4ab3b2b62',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefinerFactory']]], | 27 | ····['topologyerror_11',·['TopologyError',·['../a01117.html#a5458be6ce3f2e63c8d8555f4ab3b2b62',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefinerFactory']]], |
28 | ····['topologylevel_12',·['topologylevel',·['../a01113.html',·1,·'TopologyLevel'], | 28 | ····['topologylevel_12',·['topologylevel',·['../a01113.html',·1,·'TopologyLevel'], |
Offset 9, 15 lines modified | Offset 9, 15 lines modified | ||
9 | ····['vertexbufferbinding_5',·['vertexbufferbinding',·['../a01209.html#a2d85a5ed6ddcef5023c9ef2e6fdd38a5',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11PatchTable::VertexBufferBinding'], | 9 | ····['vertexbufferbinding_5',·['vertexbufferbinding',·['../a01209.html#a2d85a5ed6ddcef5023c9ef2e6fdd38a5',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11PatchTable::VertexBufferBinding'], |
10 | ········['../a01237.html#a02af2ea2e9328a776b5b0bb3edf88864',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLPatchTable::VertexBufferBinding'], | 10 | ········['../a01237.html#a02af2ea2e9328a776b5b0bb3edf88864',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLPatchTable::VertexBufferBinding'], |
11 | ········['../a01269.html#a9cf40ecf1b9b5c29507fe92a03f37a3c',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshInterface::VertexBufferBinding'], | 11 | ········['../a01269.html#a9cf40ecf1b9b5c29507fe92a03f37a3c',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshInterface::VertexBufferBinding'], |
12 | ········['../a01281.html#a9cf40ecf1b9b5c29507fe92a03f37a3c',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::Mesh::VertexBufferBinding'], | 12 | ········['../a01281.html#a9cf40ecf1b9b5c29507fe92a03f37a3c',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::Mesh::VertexBufferBinding'], |
13 | ········['../a01305.html#aa00654dc321a5c8dc370a900b0f404da',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable::VertexBufferBinding'] | 13 | ········['../a01305.html#aa00654dc321a5c8dc370a900b0f404da',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable::VertexBufferBinding'] |
14 | ····]], | 14 | ····]], |
15 | ····['vertexdescriptor_6',·['VertexDescriptor',·['../a00969.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr']]], | 15 | ····['vertexdescriptor_6',·['VertexDescriptor',·['../a00969.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr']]], |
16 | ····['vertexdescriptor_2eh_7',·['vertexDescriptor.h',·['../a0067 | 16 | ····['vertexdescriptor_2eh_7',·['vertexDescriptor.h',·['../a00674.html',·1,·'']]], |
17 | ····['vertexvalencetable_8',·['VertexValenceTable',·['../a00993.html#a2fbf111cac9d122eeaec5c0cb73fa77d',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable']]], | 17 | ····['vertexvalencetable_8',·['VertexValenceTable',·['../a00993.html#a2fbf111cac9d122eeaec5c0cb73fa77d',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable']]], |
18 | ····['vertexweight_9',·['vertexweight',·['../a01345.html#aec5c2abfdfbde4dd934c061625994791',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme::LocalMask::VertexWeight(int·index)·const'], | 18 | ····['vertexweight_9',·['vertexweight',·['../a01345.html#aec5c2abfdfbde4dd934c061625994791',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme::LocalMask::VertexWeight(int·index)·const'], |
19 | ········['../a01345.html#a92e98987f9a4220b9edd041401c9ed76',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme::LocalMask::VertexWeight(int·index)'] | 19 | ········['../a01345.html#a92e98987f9a4220b9edd041401c9ed76',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Scheme::LocalMask::VertexWeight(int·index)'] |
20 | ····]], | 20 | ····]], |
21 | ····['vertindex_10',·['vertIndex',·['../a00997.html#a46d1a8129375c3ee40a33a81d44b685a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::PatchHandle']]], | 21 | ····['vertindex_10',·['vertIndex',·['../a00997.html#a46d1a8129375c3ee40a33a81d44b685a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::PatchHandle']]], |
22 | ····['vertindicesperface_11',·['vertIndicesPerFace',·['../a01105.html#a3f2274c4d3dd54c4e24144e504972b34',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor']]], | 22 | ····['vertindicesperface_11',·['vertIndicesPerFace',·['../a01105.html#a3f2274c4d3dd54c4e24144e504972b34',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor']]], |
23 | ····['vtx_5fboundary_5fedge_5fand_5fcorner_12',·['VTX_BOUNDARY_EDGE_AND_CORNER',·['../a01337.html#acbf78f1a6abfc8db080ef7fb3c3f417eac6e5f52f358d3b6d62cc2b708a5a8757',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Options']]], | 23 | ····['vtx_5fboundary_5fedge_5fand_5fcorner_12',·['VTX_BOUNDARY_EDGE_AND_CORNER',·['../a01337.html#acbf78f1a6abfc8db080ef7fb3c3f417eac6e5f52f358d3b6d62cc2b708a5a8757',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Options']]], |
Offset 1, 9 lines modified | Offset 1, 9 lines modified | ||
1 | var·searchData·=·[ | 1 | var·searchData·=·[ |
2 | ····['catmarkscheme_2eh_0',·['catmarkScheme.h',·['../a007 | 2 | ····['catmarkscheme_2eh_0',·['catmarkScheme.h',·['../a00782.html',·1,·'']]], |
3 | ····['child_1',·['Child',·['../a00985.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchMap::QuadNode']]], | 3 | ····['child_1',·['Child',·['../a00985.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchMap::QuadNode']]], |
4 | ····['clear_2',·['clear',·['../a01025.html#ac8bb3912a3ce86b15842e79d0b421204',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::PatchFaceTag::clear()'], | 4 | ····['clear_2',·['clear',·['../a01025.html#ac8bb3912a3ce86b15842e79d0b421204',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::PatchFaceTag::clear()'], |
5 | ········['../a01077.html#aa71d36872f416feaa853788a7a7a7ef8',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTableReal::Clear()'], | 5 | ········['../a01077.html#aa71d36872f416feaa853788a7a7a7ef8',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTableReal::Clear()'], |
6 | ········['../a01061.html#aa71d36872f416feaa853788a7a7a7ef8',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableReal::Clear()'], | 6 | ········['../a01061.html#aa71d36872f416feaa853788a7a7a7ef8',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableReal::Clear()'], |
7 | ········['../a00989.html#aa71d36872f416feaa853788a7a7a7ef8',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchParam::Clear()'], | 7 | ········['../a00989.html#aa71d36872f416feaa853788a7a7a7ef8',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchParam::Clear()'], |
8 | ········['../a00933.html#aa71d36872f416feaa853788a7a7a7ef8',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::Clear()'] | 8 | ········['../a00933.html#aa71d36872f416feaa853788a7a7a7ef8',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::Surface::Clear()'] |
9 | ····]], | 9 | ····]], |
Offset 99, 15 lines modified | Offset 99, 15 lines modified | ||
99 | ········['../a01177.html',·1,·'CpuVertexBuffer'] | 99 | ········['../a01177.html',·1,·'CpuVertexBuffer'] |
100 | ····]], | 100 | ····]], |
101 | ····['cpuvertexbuffer_2eh_55',·['cpuVertexBuffer.h',·['../a00890.html',·1,·'']]], | 101 | ····['cpuvertexbuffer_2eh_55',·['cpuVertexBuffer.h',·['../a00890.html',·1,·'']]], |
102 | ····['crease_56',·['crease',·['../a01333.html#a9659c3f2c73b80d9dc22763a6054079b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::Crease()'], | 102 | ····['crease_56',·['crease',·['../a01333.html#a9659c3f2c73b80d9dc22763a6054079b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::Crease()'], |
103 | ········['../a01333.html#a75d5d7e54170ccf6481932916e0fa9c1',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::Crease(Options·const·&options)'], | 103 | ········['../a01333.html#a75d5d7e54170ccf6481932916e0fa9c1',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::Crease(Options·const·&options)'], |
104 | ········['../a01333.html',·1,·'Crease'] | 104 | ········['../a01333.html',·1,·'Crease'] |
105 | ····]], | 105 | ····]], |
106 | ····['crease_2eh_57',·['crease.h',·['../a007 | 106 | ····['crease_2eh_57',·['crease.h',·['../a00779.html',·1,·'']]], |
107 | ····['crease_5fchaikin_58',·['CREASE_CHAIKIN',·['../a01337.html#a16ec522dc0398bf1435a912cd669ffb0a1e31a583663dd65a7b2feffeb24268b5',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Options']]], | 107 | ····['crease_5fchaikin_58',·['CREASE_CHAIKIN',·['../a01337.html#a16ec522dc0398bf1435a912cd669ffb0a1e31a583663dd65a7b2feffeb24268b5',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Options']]], |
108 | ····['crease_5funiform_59',·['CREASE_UNIFORM',·['../a01337.html#a16ec522dc0398bf1435a912cd669ffb0a10f2956db48d2975424be2e52ebd544d',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Options']]], | 108 | ····['crease_5funiform_59',·['CREASE_UNIFORM',·['../a01337.html#a16ec522dc0398bf1435a912cd669ffb0a10f2956db48d2975424be2e52ebd544d',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Options']]], |
109 | ····['creasevertexindexpairs_60',·['creaseVertexIndexPairs',·['../a01105.html#a411a2a927b0270c9e4753dc219763ba5',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor']]], | 109 | ····['creasevertexindexpairs_60',·['creaseVertexIndexPairs',·['../a01105.html#a411a2a927b0270c9e4753dc219763ba5',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor']]], |
110 | ····['creaseweights_61',·['creaseWeights',·['../a01105.html#a8cd977015d3ffffc1146c5a4e17d65e0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor']]], | 110 | ····['creaseweights_61',·['creaseWeights',·['../a01105.html#a8cd977015d3ffffc1146c5a4e17d65e0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor']]], |
111 | ····['creasingmethod_62',·['CreasingMethod',·['../a01337.html#a16ec522dc0398bf1435a912cd669ffb0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Options']]], | 111 | ····['creasingmethod_62',·['CreasingMethod',·['../a01337.html#a16ec522dc0398bf1435a912cd669ffb0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Options']]], |
112 | ····['create_63',·['create',·['../a01249.html#ae38a4728f9debae7733ab48cfadd8312',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableTBO::Create(Far::LimitStencilTable·const·*limitStencilTable,·void·*deviceContext=NULL)'], | 112 | ····['create_63',·['create',·['../a01249.html#ae38a4728f9debae7733ab48cfadd8312',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableTBO::Create(Far::LimitStencilTable·const·*limitStencilTable,·void·*deviceContext=NULL)'], |
113 | ········['../a01249.html#a24a8210b637a5b0fca2b258de3b8b8a6',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableTBO::Create(Far::StencilTable·const·*stencilTable,·void·*deviceContext=NULL)'], | 113 | ········['../a01249.html#a24a8210b637a5b0fca2b258de3b8b8a6',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableTBO::Create(Far::StencilTable·const·*stencilTable,·void·*deviceContext=NULL)'], |
Offset 8, 22 lines modified | Offset 8, 22 lines modified | ||
8 | ····]], | 8 | ····]], |
9 | ····['d3d11legacygregorypatchtable_2eh_3',·['d3d11LegacyGregoryPatchTable.h',·['../a00839.html',·1,·'']]], | 9 | ····['d3d11legacygregorypatchtable_2eh_3',·['d3d11LegacyGregoryPatchTable.h',·['../a00839.html',·1,·'']]], |
10 | ····['d3d11mesh_2eh_4',·['d3d11Mesh.h',·['../a00830.html',·1,·'']]], | 10 | ····['d3d11mesh_2eh_4',·['d3d11Mesh.h',·['../a00830.html',·1,·'']]], |
11 | ····['d3d11meshinterface_5',·['D3D11MeshInterface',·['../a00912.html#ae5c8e80d05d6eaee105d8eecfa9ab609',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], | 11 | ····['d3d11meshinterface_5',·['D3D11MeshInterface',·['../a00912.html#ae5c8e80d05d6eaee105d8eecfa9ab609',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], |
12 | ····['d3d11patchtable_6',·['d3d11patchtable',·['../a01209.html#ac81ed5f09e3d3a2aae5a01802b343a6d',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11PatchTable::D3D11PatchTable()'], | 12 | ····['d3d11patchtable_6',·['d3d11patchtable',·['../a01209.html#ac81ed5f09e3d3a2aae5a01802b343a6d',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11PatchTable::D3D11PatchTable()'], |
13 | ········['../a01209.html',·1,·'D3D11PatchTable'] | 13 | ········['../a01209.html',·1,·'D3D11PatchTable'] |
14 | ····]], | 14 | ····]], |
15 | ····['d3d11patchtable_2eh_7',·['d3d11PatchTable.h',·['../a0083 | 15 | ····['d3d11patchtable_2eh_7',·['d3d11PatchTable.h',·['../a00836.html',·1,·'']]], |
16 | ····['d3d11stenciltable_8',·['d3d11stenciltable',·['../a01197.html',·1,·'D3D11StencilTable'], | 16 | ····['d3d11stenciltable_8',·['d3d11stenciltable',·['../a01197.html',·1,·'D3D11StencilTable'], |
17 | ········['../a01197.html#a7e3a2f5c281c55308400138222797dbc',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11StencilTable::D3D11StencilTable()'] | 17 | ········['../a01197.html#a7e3a2f5c281c55308400138222797dbc',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11StencilTable::D3D11StencilTable()'] |
18 | ····]], | 18 | ····]], |
19 | ····['d3d11vertexbuffer_9',·['d3d11vertexbuffer',·['../a01213.html',·1,·'D3D11VertexBuffer'], | 19 | ····['d3d11vertexbuffer_9',·['d3d11vertexbuffer',·['../a01213.html',·1,·'D3D11VertexBuffer'], |
20 | ········['../a01213.html#aacfe93ef7f7ede21dcf7088b62467742',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11VertexBuffer::D3D11VertexBuffer()'] | 20 | ········['../a01213.html#aacfe93ef7f7ede21dcf7088b62467742',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::D3D11VertexBuffer::D3D11VertexBuffer()'] |
21 | ····]], | 21 | ····]], |
22 | ····['d3d11vertexbuffer_2eh_10',·['d3d11VertexBuffer.h',·['../a0083 | 22 | ····['d3d11vertexbuffer_2eh_10',·['d3d11VertexBuffer.h',·['../a00833.html',·1,·'']]], |
23 | ····['decrementsharpness_11',·['decrementSharpness',·['../a01333.html#a453a232c0edcafd9d484197d46ed39ec',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease']]], | 23 | ····['decrementsharpness_11',·['decrementSharpness',·['../a01333.html#a453a232c0edcafd9d484197d46ed39ec',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease']]], |
24 | ····['desc_12',·['desc',·['../a01325.html#ac84ff682fda703f1f552a05977050f20',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchArray']]], | 24 | ····['desc_12',·['desc',·['../a01325.html#ac84ff682fda703f1f552a05977050f20',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::PatchArray']]], |
25 | ····['determinevertexvertexrule_13',·['determinevertexvertexrule',·['../a01333.html#a41ebb75d28c5973328e0e3883495aeba',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::DetermineVertexVertexRule(float·vertexSharpness,·int·incidentEdgeCount,·float·const·*incidentEdgeSharpness)·const'], | 25 | ····['determinevertexvertexrule_13',·['determinevertexvertexrule',·['../a01333.html#a41ebb75d28c5973328e0e3883495aeba',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::DetermineVertexVertexRule(float·vertexSharpness,·int·incidentEdgeCount,·float·const·*incidentEdgeSharpness)·const'], |
26 | ········['../a01333.html#a500fadaa8cec78ab9690ad7331dba3d6',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::DetermineVertexVertexRule(float·vertexSharpness,·int·sharpEdgeCount)·const'] | 26 | ········['../a01333.html#a500fadaa8cec78ab9690ad7331dba3d6',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Crease::DetermineVertexVertexRule(float·vertexSharpness,·int·sharpEdgeCount)·const'] |
27 | ····]], | 27 | ····]], |
28 | ····['device_14',·['device',·['../a01285.html#a7d70f5acf4efd89092645b4c44e480cf',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLContext']]], | 28 | ····['device_14',·['device',·['../a01285.html#a7d70f5acf4efd89092645b4c44e480cf',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLContext']]], |
29 | ····['devicecontext_15',·['DeviceContext',·['../a01281.html#a3e2f358c45731eceb819ae70e7c8ca6e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::Mesh']]], | 29 | ····['devicecontext_15',·['DeviceContext',·['../a01281.html#a3e2f358c45731eceb819ae70e7c8ca6e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::Mesh']]], |
Offset 34, 9 lines modified | Offset 34, 9 lines modified | ||
34 | ····]], | 34 | ····]], |
35 | ····['fvarchannelindices_25',·['fvarChannelIndices',·['../a01021.html#a4c1ba8119a16ea0682a870ee7a8282a5',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options']]], | 35 | ····['fvarchannelindices_25',·['fvarChannelIndices',·['../a01021.html#a4c1ba8119a16ea0682a870ee7a8282a5',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options']]], |
36 | ····['fvarchannels_26',·['fvarChannels',·['../a01105.html#a222697ec045f92879ae194eb2d92b526',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor']]], | 36 | ····['fvarchannels_26',·['fvarChannels',·['../a01105.html#a222697ec045f92879ae194eb2d92b526',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyDescriptor']]], |
37 | ····['fvarid_27',·['FVarID',·['../a00957.html#af98288d7b5176d7295be622a10c6c64e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter']]], | 37 | ····['fvarid_27',·['FVarID',·['../a00957.html#af98288d7b5176d7295be622a10c6c64e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr::SurfaceFactoryMeshAdapter']]], |
38 | ····['fvarlevel_2eh_28',·['fvarLevel.h',·['../a00761.html',·1,·'']]], | 38 | ····['fvarlevel_2eh_28',·['fvarLevel.h',·['../a00761.html',·1,·'']]], |
39 | ····['fvarlinearinterpolation_29',·['FVarLinearInterpolation',·['../a01337.html#a5b87eaca6ca0833462c9d4ad84df167b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Options']]], | 39 | ····['fvarlinearinterpolation_29',·['FVarLinearInterpolation',·['../a01337.html#a5b87eaca6ca0833462c9d4ad84df167b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Sdc::Options']]], |
40 | ····['fvarpatchprecisiondouble_30',·['fvarPatchPrecisionDouble',·['../a01021.html#a3f663e5c2b7e65976b6521c21ea59130',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options']]], | 40 | ····['fvarpatchprecisiondouble_30',·['fvarPatchPrecisionDouble',·['../a01021.html#a3f663e5c2b7e65976b6521c21ea59130',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory::Options']]], |
41 | ····['fvarrefinement_2eh_31',·['fvarRefinement.h',·['../a0075 | 41 | ····['fvarrefinement_2eh_31',·['fvarRefinement.h',·['../a00758.html',·1,·'']]] |
42 | ]; | 42 | ]; |
Offset 530, 22 lines modified | Offset 530, 22 lines modified | ||
530 | ········['../a01221.html',·1,·'GLComputeEvaluator'] | 530 | ········['../a01221.html',·1,·'GLComputeEvaluator'] |
531 | ····]], | 531 | ····]], |
532 | ····['glcomputeevaluator_2eh_270',·['glComputeEvaluator.h',·['../a00848.html',·1,·'']]], | 532 | ····['glcomputeevaluator_2eh_270',·['glComputeEvaluator.h',·['../a00848.html',·1,·'']]], |
533 | ····['gllegacygregorypatchtable_271',·['gllegacygregorypatchtable',·['../a01233.html#a5b78188b846b316c5c0cdb42f4ee9563',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLLegacyGregoryPatchTable::GLLegacyGregoryPatchTable()'], | 533 | ····['gllegacygregorypatchtable_271',·['gllegacygregorypatchtable',·['../a01233.html#a5b78188b846b316c5c0cdb42f4ee9563',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLLegacyGregoryPatchTable::GLLegacyGregoryPatchTable()'], |
534 | ········['../a01233.html',·1,·'GLLegacyGregoryPatchTable'] | 534 | ········['../a01233.html',·1,·'GLLegacyGregoryPatchTable'] |
535 | ····]], | 535 | ····]], |
536 | ····['gllegacygregorypatchtable_2eh_272',·['glLegacyGregoryPatchTable.h',·['../a00866.html',·1,·'']]], | 536 | ····['gllegacygregorypatchtable_2eh_272',·['glLegacyGregoryPatchTable.h',·['../a00866.html',·1,·'']]], |
537 | ····['glmesh_2eh_273',·['glMesh.h',·['../a0085 | 537 | ····['glmesh_2eh_273',·['glMesh.h',·['../a00854.html',·1,·'']]], |
538 | ····['glmeshinterface_274',·['GLMeshInterface',·['../a00912.html#a7f9cf2b729178bdbb847fc4afd91af9e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], | 538 | ····['glmeshinterface_274',·['GLMeshInterface',·['../a00912.html#a7f9cf2b729178bdbb847fc4afd91af9e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], |
539 | ····['glpatchtable_275',·['glpatchtable',·['../a01237.html#a88c12681f62189c398c1d2dc32111264',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLPatchTable::GLPatchTable()'], | 539 | ····['glpatchtable_275',·['glpatchtable',·['../a01237.html#a88c12681f62189c398c1d2dc32111264',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLPatchTable::GLPatchTable()'], |
540 | ········['../a01237.html',·1,·'GLPatchTable'] | 540 | ········['../a01237.html',·1,·'GLPatchTable'] |
541 | ····]], | 541 | ····]], |
542 | ····['glpatchtable_2eh_276',·['glPatchTable.h',·['../a00863.html',·1,·'']]], | 542 | ····['glpatchtable_2eh_276',·['glPatchTable.h',·['../a00863.html',·1,·'']]], |
543 | ····['glslpatchshadersource_277',·['GLSLPatchShaderSource',·['../a01241.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], | 543 | ····['glslpatchshadersource_277',·['GLSLPatchShaderSource',·['../a01241.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], |
544 | ····['glslpatchshadersource_2eh_278',·['glslPatchShaderSource.h',·['../a0085 | 544 | ····['glslpatchshadersource_2eh_278',·['glslPatchShaderSource.h',·['../a00857.html',·1,·'']]], |
545 | ····['glstenciltablessbo_279',·['glstenciltablessbo',·['../a01217.html',·1,·'GLStencilTableSSBO'], | 545 | ····['glstenciltablessbo_279',·['glstenciltablessbo',·['../a01217.html',·1,·'GLStencilTableSSBO'], |
546 | ········['../a01217.html#aaacee6173a99bb3d7bbfb0a352ef9828',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableSSBO::GLStencilTableSSBO(Far::StencilTable·const·*stencilTable)'], | 546 | ········['../a01217.html#aaacee6173a99bb3d7bbfb0a352ef9828',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableSSBO::GLStencilTableSSBO(Far::StencilTable·const·*stencilTable)'], |
547 | ········['../a01217.html#a27a911fea9736fbe935c0edc4de9b998',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableSSBO::GLStencilTableSSBO(Far::LimitStencilTable·const·*limitStencilTable)'] | 547 | ········['../a01217.html#a27a911fea9736fbe935c0edc4de9b998',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableSSBO::GLStencilTableSSBO(Far::LimitStencilTable·const·*limitStencilTable)'] |
548 | ····]], | 548 | ····]], |
549 | ····['glstenciltabletbo_280',·['glstenciltabletbo',·['../a01249.html',·1,·'GLStencilTableTBO'], | 549 | ····['glstenciltabletbo_280',·['glstenciltabletbo',·['../a01249.html',·1,·'GLStencilTableTBO'], |
550 | ········['../a01249.html#abbba46ba67be00a0eac751e3e731db6e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableTBO::GLStencilTableTBO(Far::StencilTable·const·*stencilTable)'], | 550 | ········['../a01249.html#abbba46ba67be00a0eac751e3e731db6e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableTBO::GLStencilTableTBO(Far::StencilTable·const·*stencilTable)'], |
551 | ········['../a01249.html#ac74a769daf1fe45575a16b738bb761cd',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableTBO::GLStencilTableTBO(Far::LimitStencilTable·const·*limitStencilTable)'] | 551 | ········['../a01249.html#ac74a769daf1fe45575a16b738bb761cd',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLStencilTableTBO::GLStencilTableTBO(Far::LimitStencilTable·const·*limitStencilTable)'] |
Offset 553, 13 lines modified | Offset 553, 13 lines modified | ||
553 | ····['glvertexbuffer_281',·['glvertexbuffer',·['../a01245.html',·1,·'GLVertexBuffer'], | 553 | ····['glvertexbuffer_281',·['glvertexbuffer',·['../a01245.html',·1,·'GLVertexBuffer'], |
554 | ········['../a01245.html#aa6f38a53fba4a64d600b9c4695477049',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLVertexBuffer::GLVertexBuffer()'] | 554 | ········['../a01245.html#aa6f38a53fba4a64d600b9c4695477049',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLVertexBuffer::GLVertexBuffer()'] |
555 | ····]], | 555 | ····]], |
556 | ····['glvertexbuffer_2eh_282',·['glVertexBuffer.h',·['../a00860.html',·1,·'']]], | 556 | ····['glvertexbuffer_2eh_282',·['glVertexBuffer.h',·['../a00860.html',·1,·'']]], |
557 | ····['glxfbevaluator_283',·['glxfbevaluator',·['../a01253.html#a1932f725b28e271ab11ca768ba3bb01e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLXFBEvaluator::GLXFBEvaluator()'], | 557 | ····['glxfbevaluator_283',·['glxfbevaluator',·['../a01253.html#a1932f725b28e271ab11ca768ba3bb01e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::GLXFBEvaluator::GLXFBEvaluator()'], |
558 | ········['../a01253.html',·1,·'GLXFBEvaluator'] | 558 | ········['../a01253.html',·1,·'GLXFBEvaluator'] |
559 | ····]], | 559 | ····]], |
560 | ····['glxfbevaluator_2eh_284',·['glXFBEvaluator.h',·['../a0085 | 560 | ····['glxfbevaluator_2eh_284',·['glXFBEvaluator.h',·['../a00851.html',·1,·'']]], |
561 | ····['gregory_285',·['GREGORY',·['../a00973.html#a1d1cfd8ffb84e947f82999c682b666a7ae765e809376e5557d348d3e991a7273e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor']]], | 561 | ····['gregory_285',·['GREGORY',·['../a00973.html#a1d1cfd8ffb84e947f82999c682b666a7ae765e809376e5557d348d3e991a7273e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor']]], |
562 | ····['gregory_5fbasis_286',·['GREGORY_BASIS',·['../a00973.html#a1d1cfd8ffb84e947f82999c682b666a7ad7d1a88a40ae8938e07af7a7745054b0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor']]], | 562 | ····['gregory_5fbasis_286',·['GREGORY_BASIS',·['../a00973.html#a1d1cfd8ffb84e947f82999c682b666a7ad7d1a88a40ae8938e07af7a7745054b0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor']]], |
563 | ····['gregory_5fboundary_287',·['GREGORY_BOUNDARY',·['../a00973.html#a1d1cfd8ffb84e947f82999c682b666a7ac4ae10df9c13e44880ca7be341e44f2a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor']]], | 563 | ····['gregory_5fboundary_287',·['GREGORY_BOUNDARY',·['../a00973.html#a1d1cfd8ffb84e947f82999c682b666a7ac4ae10df9c13e44880ca7be341e44f2a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor']]], |
564 | ····['gregory_5ftriangle_288',·['GREGORY_TRIANGLE',·['../a00973.html#a1d1cfd8ffb84e947f82999c682b666a7a8bf2cfb939c78155cae7549621ea73f6',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor']]] | 564 | ····['gregory_5ftriangle_288',·['GREGORY_TRIANGLE',·['../a00973.html#a1d1cfd8ffb84e947f82999c682b666a7a8bf2cfb939c78155cae7549621ea73f6',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchDescriptor']]] |
565 | ]; | 565 | ]; |
Offset 1, 10 lines modified | Offset 1, 10 lines modified | ||
1 | var·searchData·=·[ | 1 | var·searchData·=·[ |
2 | ····['length_0',·['length',·['../a01141.html#a9f59b34b1f25fe00023291b678246bcc',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::BufferDescriptor']]], | 2 | ····['length_0',·['length',·['../a01141.html#a9f59b34b1f25fe00023291b678246bcc',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::BufferDescriptor']]], |
3 | ····['level_2eh_1',·['level.h',·['../a0075 | 3 | ····['level_2eh_1',·['level.h',·['../a00755.html',·1,·'']]], |
4 | ····['limit_2',·['limit',·['../a01029.html#a2cf4c50a1117c44ba4d11db92b067401',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefinerReal::Limit(T·const·&src,·U·&dstPos,·U1·&dstTan1,·U2·&dstTan2)·const'], | 4 | ····['limit_2',·['limit',·['../a01029.html#a2cf4c50a1117c44ba4d11db92b067401',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefinerReal::Limit(T·const·&src,·U·&dstPos,·U1·&dstTan1,·U2·&dstTan2)·const'], |
5 | ········['../a01029.html#a0357839a7fabaa02f1d6d6a3c75e1ec2',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefinerReal::Limit(T·const·&src,·U·&dstPos)·const'] | 5 | ········['../a01029.html#a0357839a7fabaa02f1d6d6a3c75e1ec2',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefinerReal::Limit(T·const·&src,·U·&dstPos)·const'] |
6 | ····]], | 6 | ····]], |
7 | ····['limitfacevarying_3',·['LimitFaceVarying',·['../a01029.html#afdee0e9e9c6edd34c96892efff808a87',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefinerReal']]], | 7 | ····['limitfacevarying_3',·['LimitFaceVarying',·['../a01029.html#afdee0e9e9c6edd34c96892efff808a87',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PrimvarRefinerReal']]], |
8 | ····['limits_4',·['Limits',·['../a00917.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr']]], | 8 | ····['limits_4',·['Limits',·['../a00917.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Bfr']]], |
9 | ····['limits_2eh_5',·['limits.h',·['../a00698.html',·1,·'']]], | 9 | ····['limits_2eh_5',·['limits.h',·['../a00698.html',·1,·'']]], |
10 | ····['limitstencil_6',·['limitstencil',·['../a01073.html',·1,·'LimitStencil'], | 10 | ····['limitstencil_6',·['limitstencil',·['../a01073.html',·1,·'LimitStencil'], |
Offset 26, 19 lines modified | Offset 26, 19 lines modified | ||
26 | ····['mode_20',·['mode',·['../a01045.html#a46c8a310cf4c094f8c80e1cb8dc1f911',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal::Mode'], | 26 | ····['mode_20',·['mode',·['../a01045.html#a46c8a310cf4c094f8c80e1cb8dc1f911',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::StencilTableFactoryReal::Mode'], |
27 | ········['../a01049.html#a46c8a310cf4c094f8c80e1cb8dc1f911',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTableFactoryReal::Mode'] | 27 | ········['../a01049.html#a46c8a310cf4c094f8c80e1cb8dc1f911',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::LimitStencilTableFactoryReal::Mode'] |
28 | ····]], | 28 | ····]], |
29 | ····['mtlcommon_2eh_21',·['mtlCommon.h',·['../a00806.html',·1,·'']]], | 29 | ····['mtlcommon_2eh_21',·['mtlCommon.h',·['../a00806.html',·1,·'']]], |
30 | ····['mtlcomputeevaluator_22',·['mtlcomputeevaluator',·['../a01293.html#a10015b2c4f90f3a11e60cc88dcbb9d6b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLComputeEvaluator::MTLComputeEvaluator()'], | 30 | ····['mtlcomputeevaluator_22',·['mtlcomputeevaluator',·['../a01293.html#a10015b2c4f90f3a11e60cc88dcbb9d6b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLComputeEvaluator::MTLComputeEvaluator()'], |
31 | ········['../a01293.html',·1,·'MTLComputeEvaluator'] | 31 | ········['../a01293.html',·1,·'MTLComputeEvaluator'] |
32 | ····]], | 32 | ····]], |
33 | ····['mtlcomputeevaluator_2eh_23',·['mtlComputeEvaluator.h',·['../a008 | 33 | ····['mtlcomputeevaluator_2eh_23',·['mtlComputeEvaluator.h',·['../a00821.html',·1,·'']]], |
34 | ····['mtlcontext_24',·['MTLContext',·['../a01285.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], | 34 | ····['mtlcontext_24',·['MTLContext',·['../a01285.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], |
35 | ····['mtllegacygregorypatchtable_25',·['MTLLegacyGregoryPatchTable',·['../a01297.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], | 35 | ····['mtllegacygregorypatchtable_25',·['MTLLegacyGregoryPatchTable',·['../a01297.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], |
36 | ····['mtllegacygregorypatchtable_2eh_26',·['mtlLegacyGregoryPatchTable.h',·['../a0081 | 36 | ····['mtllegacygregorypatchtable_2eh_26',·['mtlLegacyGregoryPatchTable.h',·['../a00818.html',·1,·'']]], |
37 | ····['mtlmesh_2eh_27',·['mtlMesh.h',·['../a008 | 37 | ····['mtlmesh_2eh_27',·['mtlMesh.h',·['../a00812.html',·1,·'']]], |
38 | ····['mtlmeshinterface_28',·['MTLMeshInterface',·['../a00912.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], | 38 | ····['mtlmeshinterface_28',·['MTLMeshInterface',·['../a00912.html#aa41e5b43fe46eeb0f97ff6ebdb1935aa',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], |
39 | ····['mtlpatchshadersource_29',·['MTLPatchShaderSource',·['../a01301.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], | 39 | ····['mtlpatchshadersource_29',·['MTLPatchShaderSource',·['../a01301.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], |
40 | ····['mtlpatchshadersource_2eh_30',·['mtlPatchShaderSource.h',·['../a00809.html',·1,·'']]], | 40 | ····['mtlpatchshadersource_2eh_30',·['mtlPatchShaderSource.h',·['../a00809.html',·1,·'']]], |
41 | ····['mtlpatchtable_31',·['mtlpatchtable',·['../a01305.html',·1,·'MTLPatchTable'], | 41 | ····['mtlpatchtable_31',·['mtlpatchtable',·['../a01305.html',·1,·'MTLPatchTable'], |
42 | ········['../a01305.html#a3f197c2ae3862390d72e7443a2525187',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable::MTLPatchTable()'] | 42 | ········['../a01305.html#a3f197c2ae3862390d72e7443a2525187',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLPatchTable::MTLPatchTable()'] |
43 | ····]], | 43 | ····]], |
44 | ····['mtlpatchtable_2eh_32',·['mtlPatchTable.h',·['../a00815.html',·1,·'']]], | 44 | ····['mtlpatchtable_2eh_32',·['mtlPatchTable.h',·['../a00815.html',·1,·'']]], |
Offset 2, 15 lines modified | Offset 2, 15 lines modified | ||
2 | ····['offset_0',·['offset',·['../a01141.html#aed7ea92f45bd273dde380a45ddced592',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::BufferDescriptor']]], | 2 | ····['offset_0',·['offset',·['../a01141.html#aed7ea92f45bd273dde380a45ddced592',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::BufferDescriptor']]], |
3 | ····['ompevalstencils_1',·['ompevalstencils',·['../a00912.html#a44a05502feb5015035bc81b93cffb99c',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::OmpEvalStencils(float·const·*src,·BufferDescriptor·const·&srcDesc,·float·*dst,·BufferDescriptor·const·&dstDesc,·float·*dstDu,·BufferDescriptor·const·&dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&dstDvDesc,·float·*dstDuu,·BufferDescriptor·const·&dstDuuDesc,·float·*dstDuv,·BufferDescriptor·const·&dstDuvDesc,·float·*dstDvv,·BufferDescriptor·const·&dstDvvDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·float·const·*duWeights,·float·const·*dvWeights,·float·const·*duuWeights,·float·const·*duvWeights,·float·const·*dvvWeights,·int·start,·int·end)'], | 3 | ····['ompevalstencils_1',·['ompevalstencils',·['../a00912.html#a44a05502feb5015035bc81b93cffb99c',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::OmpEvalStencils(float·const·*src,·BufferDescriptor·const·&srcDesc,·float·*dst,·BufferDescriptor·const·&dstDesc,·float·*dstDu,·BufferDescriptor·const·&dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&dstDvDesc,·float·*dstDuu,·BufferDescriptor·const·&dstDuuDesc,·float·*dstDuv,·BufferDescriptor·const·&dstDuvDesc,·float·*dstDvv,·BufferDescriptor·const·&dstDvvDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·float·const·*duWeights,·float·const·*dvWeights,·float·const·*duuWeights,·float·const·*duvWeights,·float·const·*dvvWeights,·int·start,·int·end)'], |
4 | ········['../a00912.html#a907dc53421460557871ddc35f77751f5',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::OmpEvalStencils(float·const·*src,·BufferDescriptor·const·&srcDesc,·float·*dst,·BufferDescriptor·const·&dstDesc,·float·*dstDu,·BufferDescriptor·const·&dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&dstDvDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·float·const·*duWeights,·float·const·*dvWeights,·int·start,·int·end)'], | 4 | ········['../a00912.html#a907dc53421460557871ddc35f77751f5',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::OmpEvalStencils(float·const·*src,·BufferDescriptor·const·&srcDesc,·float·*dst,·BufferDescriptor·const·&dstDesc,·float·*dstDu,·BufferDescriptor·const·&dstDuDesc,·float·*dstDv,·BufferDescriptor·const·&dstDvDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·float·const·*duWeights,·float·const·*dvWeights,·int·start,·int·end)'], |
5 | ········['../a00912.html#a870745ff3e883b32547d4db42b3be2bd',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::OmpEvalStencils(float·const·*src,·BufferDescriptor·const·&srcDesc,·float·*dst,·BufferDescriptor·const·&dstDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·int·start,·int·end)'] | 5 | ········['../a00912.html#a870745ff3e883b32547d4db42b3be2bd',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::OmpEvalStencils(float·const·*src,·BufferDescriptor·const·&srcDesc,·float·*dst,·BufferDescriptor·const·&dstDesc,·int·const·*sizes,·int·const·*offsets,·int·const·*indices,·float·const·*weights,·int·start,·int·end)'] |
6 | ····]], | 6 | ····]], |
7 | ····['ompevaluator_2',·['OmpEvaluator',·['../a01313.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], | 7 | ····['ompevaluator_2',·['OmpEvaluator',·['../a01313.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], |
8 | ····['ompevaluator_2eh_3',·['ompEvaluator.h',·['../a00881.html',·1,·'']]], | 8 | ····['ompevaluator_2eh_3',·['ompEvaluator.h',·['../a00881.html',·1,·'']]], |
9 | ····['ompkernel_2eh_4',·['ompKernel.h',·['../a0087 | 9 | ····['ompkernel_2eh_4',·['ompKernel.h',·['../a00878.html',·1,·'']]], |
10 | ····['opencl_2eh_5',·['opencl.h',·['../a00794.html',·1,·'']]], | 10 | ····['opencl_2eh_5',·['opencl.h',·['../a00794.html',·1,·'']]], |
11 | ····['opengl_2eh_6',·['opengl.h',·['../a00884.html',·1,·'']]], | 11 | ····['opengl_2eh_6',·['opengl.h',·['../a00884.html',·1,·'']]], |
12 | ····['opensubdiv_7',·['OpenSubdiv',·['../a00905.html',·1,·'']]], | 12 | ····['opensubdiv_7',·['OpenSubdiv',·['../a00905.html',·1,·'']]], |
13 | ····['opensubdiv_3a_3aopensubdiv_5fversion_8',·['OPENSUBDIV_VERSION',·['../a00906.html',·1,·'OpenSubdiv']]], | 13 | ····['opensubdiv_3a_3aopensubdiv_5fversion_8',·['OPENSUBDIV_VERSION',·['../a00906.html',·1,·'OpenSubdiv']]], |
14 | ····['opensubdiv_3a_3aopensubdiv_5fversion_3a_3abfr_9',·['Bfr',·['../a00907.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION']]], | 14 | ····['opensubdiv_3a_3aopensubdiv_5fversion_3a_3abfr_9',·['Bfr',·['../a00907.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION']]], |
15 | ····['opensubdiv_3a_3aopensubdiv_5fversion_3a_3afar_10',·['Far',·['../a00908.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION']]], | 15 | ····['opensubdiv_3a_3aopensubdiv_5fversion_3a_3afar_10',·['Far',·['../a00908.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION']]], |
16 | ····['opensubdiv_3a_3aopensubdiv_5fversion_3a_3aosd_11',·['Osd',·['../a00912.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION']]], | 16 | ····['opensubdiv_3a_3aopensubdiv_5fversion_3a_3aosd_11',·['Osd',·['../a00912.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION']]], |
Offset 24, 15 lines modified | Offset 24, 15 lines modified | ||
24 | ····['patchfacetag_8',·['PatchFaceTag',·['../a01025.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory']]], | 24 | ····['patchfacetag_8',·['PatchFaceTag',·['../a01025.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory']]], |
25 | ····['patchhandle_9',·['PatchHandle',·['../a00997.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable']]], | 25 | ····['patchhandle_9',·['PatchHandle',·['../a00997.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable']]], |
26 | ····['patchindex_10',·['patchIndex',·['../a00997.html#a31bdf15525ab73560c2b725ff7f8ae3a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::PatchHandle']]], | 26 | ····['patchindex_10',·['patchIndex',·['../a00997.html#a31bdf15525ab73560c2b725ff7f8ae3a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::PatchHandle']]], |
27 | ····['patchmap_11',·['patchmap',·['../a00977.html#a016619de52fd79dbcdb879cc12b79200',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchMap::PatchMap()'], | 27 | ····['patchmap_11',·['patchmap',·['../a00977.html#a016619de52fd79dbcdb879cc12b79200',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchMap::PatchMap()'], |
28 | ········['../a00977.html',·1,·'PatchMap'], | 28 | ········['../a00977.html',·1,·'PatchMap'], |
29 | ········['../a00997.html#aff380d8d7f072959898c0a4e25150d2a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::PatchHandle::PatchMap'] | 29 | ········['../a00997.html#aff380d8d7f072959898c0a4e25150d2a',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::PatchHandle::PatchMap'] |
30 | ····]], | 30 | ····]], |
31 | ····['patchmap_2eh_12',·['patchMap.h',·['../a0073 | 31 | ····['patchmap_2eh_12',·['patchMap.h',·['../a00734.html',·1,·'']]], |
32 | ····['patchparam_13',·['patchparam',·['../a01329.html',·1,·'PatchParam'], | 32 | ····['patchparam_13',·['patchparam',·['../a01329.html',·1,·'PatchParam'], |
33 | ········['../a00989.html',·1,·'PatchParam'] | 33 | ········['../a00989.html',·1,·'PatchParam'] |
34 | ····]], | 34 | ····]], |
35 | ····['patchparam_2eh_14',·['patchParam.h',·['../a00737.html',·1,·'']]], | 35 | ····['patchparam_2eh_14',·['patchParam.h',·['../a00737.html',·1,·'']]], |
36 | ····['patchparamarray_15',·['PatchParamArray',·['../a00908.html#abe07210a029a01571c54276ae28b4d88',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far']]], | 36 | ····['patchparamarray_15',·['PatchParamArray',·['../a00908.html#abe07210a029a01571c54276ae28b4d88',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far']]], |
37 | ····['patchparamtable_16',·['PatchParamTable',·['../a00908.html#a46ea68db89cc3d55c4191ef7648281ce',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far']]], | 37 | ····['patchparamtable_16',·['PatchParamTable',·['../a00908.html#a46ea68db89cc3d55c4191ef7648281ce',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far']]], |
38 | ····['patchparamvector_17',·['PatchParamVector',·['../a00912.html#a1e22001c627b0364d6c6d62a3ed05fee',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], | 38 | ····['patchparamvector_17',·['PatchParamVector',·['../a00912.html#a1e22001c627b0364d6c6d62a3ed05fee',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd']]], |
Offset 40, 15 lines modified | Offset 40, 15 lines modified | ||
40 | ····['patchtable_19',·['patchtable',·['../a00993.html',·1,·'PatchTable'], | 40 | ····['patchtable_19',·['patchtable',·['../a00993.html',·1,·'PatchTable'], |
41 | ········['../a00993.html#a37e24b0244219eef61cc1ab2a5a5450e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::PatchTable(int·maxvalence)'], | 41 | ········['../a00993.html#a37e24b0244219eef61cc1ab2a5a5450e',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::PatchTable(int·maxvalence)'], |
42 | ········['../a00993.html#a3419c5d57330d6787f8c14a7677b8d9b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::PatchTable(PatchTable·const·&src)'], | 42 | ········['../a00993.html#a3419c5d57330d6787f8c14a7677b8d9b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::PatchTable(PatchTable·const·&src)'], |
43 | ········['../a00997.html#ad4867d502f9704b7e45a7974e8918dc3',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::PatchHandle::PatchTable'], | 43 | ········['../a00997.html#ad4867d502f9704b7e45a7974e8918dc3',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::PatchHandle::PatchTable'], |
44 | ········['../a01281.html#adf9352136d44e5999629c6b4530bf4e0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::Mesh::PatchTable'], | 44 | ········['../a01281.html#adf9352136d44e5999629c6b4530bf4e0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::Mesh::PatchTable'], |
45 | ········['../a01269.html#adf9352136d44e5999629c6b4530bf4e0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshInterface::PatchTable'] | 45 | ········['../a01269.html#adf9352136d44e5999629c6b4530bf4e0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Osd::MeshInterface::PatchTable'] |
46 | ····]], | 46 | ····]], |
47 | ····['patchtable_2eh_20',·['patchTable.h',·['../a0073 | 47 | ····['patchtable_2eh_20',·['patchTable.h',·['../a00731.html',·1,·'']]], |
48 | ····['patchtablebuilder_21',·['patchtablebuilder',·['../a00993.html#ad452cef79832abb71eef0c3d88acc1a0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::PatchTableBuilder'], | 48 | ····['patchtablebuilder_21',·['patchtablebuilder',·['../a00993.html#ad452cef79832abb71eef0c3d88acc1a0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable::PatchTableBuilder'], |
49 | ········['../a01121.html#ad452cef79832abb71eef0c3d88acc1a0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::PatchTableBuilder'] | 49 | ········['../a01121.html#ad452cef79832abb71eef0c3d88acc1a0',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::TopologyRefiner::PatchTableBuilder'] |
50 | ····]], | 50 | ····]], |
51 | ····['patchtablefactory_22',·['PatchTableFactory',·['../a01017.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far']]], | 51 | ····['patchtablefactory_22',·['PatchTableFactory',·['../a01017.html',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far']]], |
52 | ····['patchtablefactory_2eh_23',·['patchTableFactory.h',·['../a00728.html',·1,·'']]], | 52 | ····['patchtablefactory_2eh_23',·['patchTableFactory.h',·['../a00728.html',·1,·'']]], |
53 | ····['patchtagvector_24',·['PatchTagVector',·['../a01017.html#a37218ea13f75caee4c93cc4e94d26060',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory']]], | 53 | ····['patchtagvector_24',·['PatchTagVector',·['../a01017.html#a37218ea13f75caee4c93cc4e94d26060',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTableFactory']]], |
54 | ····['patchvertstable_25',·['PatchVertsTable',·['../a00993.html#a9484ab8a323750c2f639ee8709b1349b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable']]], | 54 | ····['patchvertstable_25',·['PatchVertsTable',·['../a00993.html#a9484ab8a323750c2f639ee8709b1349b',·1,·'OpenSubdiv::OPENSUBDIV_VERSION::Far::PatchTable']]], |
Offset 1, 16 lines modified | Offset 1, 16 lines modified | ||
1 | var·searchData·=·[ | 1 | var·searchData·=·[ |
2 | ····['catmarkscheme_2eh_0',·['catmarkScheme.h',·['../a007 | 2 | ····['catmarkscheme_2eh_0',·['catmarkScheme.h',·['../a00782.html',·1,·'']]], |
3 | ····['clevaluator_2eh_1',·['clEvaluator.h',·['../a00803.html',·1,·'']]], | 3 | ····['clevaluator_2eh_1',·['clEvaluator.h',·['../a00803.html',·1,·'']]], |
4 | ····['clpatchtable_2eh_2',·['clPatchTable.h',·['../a00800.html',·1,·'']]], | 4 | ····['clpatchtable_2eh_2',·['clPatchTable.h',·['../a00800.html',·1,·'']]], |
5 | ····['clvertexbuffer_2eh_3',·['clVertexBuffer.h',·['../a00797.html',·1,·'']]], | 5 | ····['clvertexbuffer_2eh_3',·['clVertexBuffer.h',·['../a00797.html',·1,·'']]], |
6 | ····['componentinterfaces_2eh_4',·['componentInterfaces.h',·['../a00764.html',·1,·'']]], | 6 | ····['componentinterfaces_2eh_4',·['componentInterfaces.h',·['../a00764.html',·1,·'']]], |
7 | ····['cpud3d11vertexbuffer_2eh_5',·['cpuD3D11VertexBuffer.h',·['../a00845.html',·1,·'']]], | 7 | ····['cpud3d11vertexbuffer_2eh_5',·['cpuD3D11VertexBuffer.h',·['../a00845.html',·1,·'']]], |
8 | ····['cpuevaluator_2eh_6',·['cpuEvaluator.h',·['../a00896.html',·1,·'']]], | 8 | ····['cpuevaluator_2eh_6',·['cpuEvaluator.h',·['../a00896.html',·1,·'']]], |
9 | ····['cpuglvertexbuffer_2eh_7',·['cpuGLVertexBuffer.h',·['../a00869.html',·1,·'']]], | 9 | ····['cpuglvertexbuffer_2eh_7',·['cpuGLVertexBuffer.h',·['../a00869.html',·1,·'']]], |
10 | ····['cpupatchtable_2eh_8',·['cpuPatchTable.h',·['../a00893.html',·1,·'']]], | 10 | ····['cpupatchtable_2eh_8',·['cpuPatchTable.h',·['../a00893.html',·1,·'']]], |
11 | ····['cpuvertexbuffer_2eh_9',·['cpuVertexBuffer.h',·['../a00890.html',·1,·'']]], | 11 | ····['cpuvertexbuffer_2eh_9',·['cpuVertexBuffer.h',·['../a00890.html',·1,·'']]], |
12 | ····['crease_2eh_10',·['crease.h',·['../a007 | 12 | ····['crease_2eh_10',·['crease.h',·['../a00779.html',·1,·'']]], |
13 | ····['cudaevaluator_2eh_11',·['cudaEvaluator.h',·['../a00791.html',·1,·'']]], | 13 | ····['cudaevaluator_2eh_11',·['cudaEvaluator.h',·['../a00791.html',·1,·'']]], |
14 | ····['cudapatchtable_2eh_12',·['cudaPatchTable.h',·['../a00788.html',·1,·'']]], | 14 | ····['cudapatchtable_2eh_12',·['cudaPatchTable.h',·['../a00788.html',·1,·'']]], |
15 | ····['cudavertexbuffer_2eh_13',·['cudaVertexBuffer.h',·['../a00902.html',·1,·'']]] | 15 | ····['cudavertexbuffer_2eh_13',·['cudaVertexBuffer.h',·['../a00902.html',·1,·'']]] |
16 | ]; | 16 | ]; |
Offset 1, 7 lines modified | Offset 1, 7 lines modified | ||
1 | var·searchData·=·[ | 1 | var·searchData·=·[ |
2 | ····['d3d11computeevaluator_2eh_0',·['d3d11ComputeEvaluator.h',·['../a00842.html',·1,·'']]], | 2 | ····['d3d11computeevaluator_2eh_0',·['d3d11ComputeEvaluator.h',·['../a00842.html',·1,·'']]], |
3 | ····['d3d11legacygregorypatchtable_2eh_1',·['d3d11LegacyGregoryPatchTable.h',·['../a00839.html',·1,·'']]], | 3 | ····['d3d11legacygregorypatchtable_2eh_1',·['d3d11LegacyGregoryPatchTable.h',·['../a00839.html',·1,·'']]], |
4 | ····['d3d11mesh_2eh_2',·['d3d11Mesh.h',·['../a00830.html',·1,·'']]], | 4 | ····['d3d11mesh_2eh_2',·['d3d11Mesh.h',·['../a00830.html',·1,·'']]], |
5 | ····['d3d11patchtable_2eh_3',·['d3d11PatchTable.h',·['../a0083 | 5 | ····['d3d11patchtable_2eh_3',·['d3d11PatchTable.h',·['../a00836.html',·1,·'']]], |
6 | ····['d3d11vertexbuffer_2eh_4',·['d3d11VertexBuffer.h',·['../a0083 | 6 | ····['d3d11vertexbuffer_2eh_4',·['d3d11VertexBuffer.h',·['../a00833.html',·1,·'']]] |
7 | ]; | 7 | ]; |
Offset 1, 4 lines modified | Offset 1, 4 lines modified | ||
1 | var·searchData·=·[ | 1 | var·searchData·=·[ |
2 | ····['fvarlevel_2eh_0',·['fvarLevel.h',·['../a00761.html',·1,·'']]], | 2 | ····['fvarlevel_2eh_0',·['fvarLevel.h',·['../a00761.html',·1,·'']]], |
3 | ····['fvarrefinement_2eh_1',·['fvarRefinement.h',·['../a0075 | 3 | ····['fvarrefinement_2eh_1',·['fvarRefinement.h',·['../a00758.html',·1,·'']]] |
4 | ]; | 4 | ]; |
Offset 1, 9 lines modified | Offset 1, 9 lines modified | ||
1 | var·searchData·=·[ | 1 | var·searchData·=·[ |
2 | ····['glcomputeevaluator_2eh_0',·['glComputeEvaluator.h',·['../a00848.html',·1,·'']]], | 2 | ····['glcomputeevaluator_2eh_0',·['glComputeEvaluator.h',·['../a00848.html',·1,·'']]], |
3 | ····['gllegacygregorypatchtable_2eh_1',·['glLegacyGregoryPatchTable.h',·['../a00866.html',·1,·'']]], | 3 | ····['gllegacygregorypatchtable_2eh_1',·['glLegacyGregoryPatchTable.h',·['../a00866.html',·1,·'']]], |
4 | ····['glmesh_2eh_2',·['glMesh.h',·['../a0085 | 4 | ····['glmesh_2eh_2',·['glMesh.h',·['../a00854.html',·1,·'']]], |
5 | ····['glpatchtable_2eh_3',·['glPatchTable.h',·['../a00863.html',·1,·'']]], | 5 | ····['glpatchtable_2eh_3',·['glPatchTable.h',·['../a00863.html',·1,·'']]], |
6 | ····['glslpatchshadersource_2eh_4',·['glslPatchShaderSource.h',·['../a0085 | 6 | ····['glslpatchshadersource_2eh_4',·['glslPatchShaderSource.h',·['../a00857.html',·1,·'']]], |
7 | ····['glvertexbuffer_2eh_5',·['glVertexBuffer.h',·['../a00860.html',·1,·'']]], | 7 | ····['glvertexbuffer_2eh_5',·['glVertexBuffer.h',·['../a00860.html',·1,·'']]], |
8 | ····['glxfbevaluator_2eh_6',·['glXFBEvaluator.h',·['../a0085 | 8 | ····['glxfbevaluator_2eh_6',·['glXFBEvaluator.h',·['../a00851.html',·1,·'']]] |
9 | ]; | 9 | ]; |
Offset 1, 5 lines modified | Offset 1, 5 lines modified | ||
1 | var·searchData·=·[ | 1 | var·searchData·=·[ |
2 | ····['level_2eh_0',·['level.h',·['../a0075 | 2 | ····['level_2eh_0',·['level.h',·['../a00755.html',·1,·'']]], |
3 | ····['limits_2eh_1',·['limits.h',·['../a00698.html',·1,·'']]], | 3 | ····['limits_2eh_1',·['limits.h',·['../a00698.html',·1,·'']]], |
4 | ····['loopscheme_2eh_2',·['loopScheme.h',·['../a00776.html',·1,·'']]] | 4 | ····['loopscheme_2eh_2',·['loopScheme.h',·['../a00776.html',·1,·'']]] |
5 | ]; | 5 | ]; |
Offset 1, 10 lines modified | Offset 1, 10 lines modified | ||
1 | var·searchData·=·[ | 1 | var·searchData·=·[ |
2 | ····['mesh_2eh_0',·['mesh.h',·['../a00887.html',·1,·'']]], | 2 | ····['mesh_2eh_0',·['mesh.h',·['../a00887.html',·1,·'']]], |
3 | ····['mtlcommon_2eh_1',·['mtlCommon.h',·['../a00806.html',·1,·'']]], | 3 | ····['mtlcommon_2eh_1',·['mtlCommon.h',·['../a00806.html',·1,·'']]], |
4 | ····['mtlcomputeevaluator_2eh_2',·['mtlComputeEvaluator.h',·['../a008 | 4 | ····['mtlcomputeevaluator_2eh_2',·['mtlComputeEvaluator.h',·['../a00821.html',·1,·'']]], |
5 | ····['mtllegacygregorypatchtable_2eh_3',·['mtlLegacyGregoryPatchTable.h',·['../a0081 | 5 | ····['mtllegacygregorypatchtable_2eh_3',·['mtlLegacyGregoryPatchTable.h',·['../a00818.html',·1,·'']]], |
6 | ····['mtlmesh_2eh_4',·['mtlMesh.h',·['../a008 | 6 | ····['mtlmesh_2eh_4',·['mtlMesh.h',·['../a00812.html',·1,·'']]], |
7 | ····['mtlpatchshadersource_2eh_5',·['mtlPatchShaderSource.h',·['../a00809.html',·1,·'']]], | 7 | ····['mtlpatchshadersource_2eh_5',·['mtlPatchShaderSource.h',·['../a00809.html',·1,·'']]], |
8 | ····['mtlpatchtable_2eh_6',·['mtlPatchTable.h',·['../a00815.html',·1,·'']]], | 8 | ····['mtlpatchtable_2eh_6',·['mtlPatchTable.h',·['../a00815.html',·1,·'']]], |
9 | ····['mtlvertexbuffer_2eh_7',·['mtlVertexBuffer.h',·['../a00824.html',·1,·'']]] | 9 | ····['mtlvertexbuffer_2eh_7',·['mtlVertexBuffer.h',·['../a00824.html',·1,·'']]] |
10 | ]; | 10 | ]; |
Offset 1, 7 lines modified | Offset 1, 7 lines modified | ||
1 | var·searchData·=·[ | 1 | var·searchData·=·[ |
2 | ····['ompevaluator_2eh_0',·['ompEvaluator.h',·['../a00881.html',·1,·'']]], | 2 | ····['ompevaluator_2eh_0',·['ompEvaluator.h',·['../a00881.html',·1,·'']]], |
3 | ····['ompkernel_2eh_1',·['ompKernel.h',·['../a0087 | 3 | ····['ompkernel_2eh_1',·['ompKernel.h',·['../a00878.html',·1,·'']]], |
4 | ····['opencl_2eh_2',·['opencl.h',·['../a00794.html',·1,·'']]], | 4 | ····['opencl_2eh_2',·['opencl.h',·['../a00794.html',·1,·'']]], |
5 | ····['opengl_2eh_3',·['opengl.h',·['../a00884.html',·1,·'']]], | 5 | ····['opengl_2eh_3',·['opengl.h',·['../a00884.html',·1,·'']]], |
6 | ····['options_2eh_4',·['options.h',·['../a00773.html',·1,·'']]] | 6 | ····['options_2eh_4',·['options.h',·['../a00773.html',·1,·'']]] |
7 | ]; | 7 | ]; |
Offset 1, 10 lines modified | Offset 1, 10 lines modified | ||
1 | var·searchData·=·[ | 1 | var·searchData·=·[ |
2 | ····['parameterization_2eh_0',·['parameterization.h',·['../a00695.html',·1,·'']]], | 2 | ····['parameterization_2eh_0',·['parameterization.h',·['../a00695.html',·1,·'']]], |
3 | ····['patchdescriptor_2eh_1',·['patchDescriptor.h',·['../a00740.html',·1,·'']]], | 3 | ····['patchdescriptor_2eh_1',·['patchDescriptor.h',·['../a00740.html',·1,·'']]], |
4 | ····['patchmap_2eh_2',·['patchMap.h',·['../a0073 | 4 | ····['patchmap_2eh_2',·['patchMap.h',·['../a00734.html',·1,·'']]], |
5 | ····['patchparam_2eh_3',·['patchParam.h',·['../a00737.html',·1,·'']]], | 5 | ····['patchparam_2eh_3',·['patchParam.h',·['../a00737.html',·1,·'']]], |
6 | ····['patchtable_2eh_4',·['patchTable.h',·['../a0073 | 6 | ····['patchtable_2eh_4',·['patchTable.h',·['../a00731.html',·1,·'']]], |
7 | ····['patchtablefactory_2eh_5',·['patchTableFactory.h',·['../a00728.html',·1,·'']]], | 7 | ····['patchtablefactory_2eh_5',·['patchTableFactory.h',·['../a00728.html',·1,·'']]], |
8 | ····['primvarrefiner_2eh_6',·['primvarRefiner.h',·['../a00725.html',·1,·'']]], | 8 | ····['primvarrefiner_2eh_6',·['primvarRefiner.h',·['../a00725.html',·1,·'']]], |
9 | ····['ptexindices_2eh_7',·['ptexIndices.h',·['../a00722.html',·1,·'']]] | 9 | ····['ptexindices_2eh_7',·['ptexIndices.h',·['../a00722.html',·1,·'']]] |
10 | ]; | 10 | ]; |
Offset 1, 4 lines modified | Offset 1, 4 lines modified | ||
1 | var·searchData·=·[ | 1 | var·searchData·=·[ |
2 | ····['refinement_2eh_0',·['refinement.h',·['../a007 | 2 | ····['refinement_2eh_0',·['refinement.h',·['../a00749.html',·1,·'']]], |
3 | ····['refinersurfacefactory_2eh_1',·['refinerSurfaceFactory.h',·['../a00692.html',·1,·'']]] | 3 | ····['refinersurfacefactory_2eh_1',·['refinerSurfaceFactory.h',·['../a00692.html',·1,·'']]] |
4 | ]; | 4 | ]; |
Offset 1, 10 lines modified | Offset 1, 10 lines modified | ||
1 | var·searchData·=·[ | 1 | var·searchData·=·[ |
2 | ····['scheme_2eh_0',·['scheme.h',·['../a00770.html',·1,·'']]], | 2 | ····['scheme_2eh_0',·['scheme.h',·['../a00770.html',·1,·'']]], |
3 | ····['sparseselector_2eh_1',·['sparseSelector.h',·['../a007 | 3 | ····['sparseselector_2eh_1',·['sparseSelector.h',·['../a00752.html',·1,·'']]], |
4 | ····['stackbuffer_2eh_2',·['stackBuffer.h',·['../a00746.html',·1,·'']]], | 4 | ····['stackbuffer_2eh_2',·['stackBuffer.h',·['../a00746.html',·1,·'']]], |
5 | ····['stenciltable_2eh_3',·['stencilTable.h',·['../a00719.html',·1,·'']]], | 5 | ····['stenciltable_2eh_3',·['stencilTable.h',·['../a00719.html',·1,·'']]], |
6 | ····['stenciltablefactory_2eh_4',·['stencilTableFactory.h',·['../a00716.html',·1,·'']]], | 6 | ····['stenciltablefactory_2eh_4',·['stencilTableFactory.h',·['../a00716.html',·1,·'']]], |
7 | ····['surface_2eh_5',·['surface.h',·['../a00689.html',·1,·'']]], | 7 | ····['surface_2eh_5',·['surface.h',·['../a00689.html',·1,·'']]], |
8 | ····['surfacefactory_2eh_6',·['surfaceFactory.h',·['../a00686.html',·1,·'']]], | 8 | ····['surfacefactory_2eh_6',·['surfaceFactory.h',·['../a00686.html',·1,·'']]], |
9 | ····['surfacefactorycache_2eh_7',·['surfaceFactoryCache.h',·['../a00680.html',·1,·'']]], | 9 | ····['surfacefactorycache_2eh_7',·['surfaceFactoryCache.h',·['../a00680.html',·1,·'']]], |
10 | ····['surfacefactorymeshadapter_2eh_8',·['surfaceFactoryMeshAdapter.h',·['../a00683.html',·1,·'']]] | 10 | ····['surfacefactorymeshadapter_2eh_8',·['surfaceFactoryMeshAdapter.h',·['../a00683.html',·1,·'']]] |
Offset 1, 11 lines modified | Offset 1, 11 lines modified | ||
1 | var·searchData·=·[ | 1 | var·searchData·=·[ |
2 | ····['tbbevaluator_2eh_0',·['tbbEvaluator.h',·['../a00875.html',·1,·'']]], | 2 | ····['tbbevaluator_2eh_0',·['tbbEvaluator.h',·['../a00875.html',·1,·'']]], |
3 | ····['tbbkernel_2eh_1',·['tbbKernel.h',·['../a0087 | 3 | ····['tbbkernel_2eh_1',·['tbbKernel.h',·['../a00872.html',·1,·'']]], |
4 | ····['tessellation_2eh_2',·['tessellation.h',·['../a0067 | 4 | ····['tessellation_2eh_2',·['tessellation.h',·['../a00677.html',·1,·'']]], |
5 | ····['topologydescriptor_2eh_3',·['topologyDescriptor.h',·['../a00713.html',·1,·'']]], | 5 | ····['topologydescriptor_2eh_3',·['topologyDescriptor.h',·['../a00713.html',·1,·'']]], |
6 | ····['topologylevel_2eh_4',·['topologyLevel.h',·['../a00710.html',·1,·'']]], | 6 | ····['topologylevel_2eh_4',·['topologyLevel.h',·['../a00710.html',·1,·'']]], |
7 | ····['topologyrefiner_2eh_5',·['topologyRefiner.h',·['../a00707.html',·1,·'']]], | 7 | ····['topologyrefiner_2eh_5',·['topologyRefiner.h',·['../a00707.html',·1,·'']]], |
8 | ····['topologyrefinerfactory_2eh_6',·['topologyRefinerFactory.h',·['../a00704.html',·1,·'']]], | 8 | ····['topologyrefinerfactory_2eh_6',·['topologyRefinerFactory.h',·['../a00704.html',·1,·'']]], |
9 | ····['types_2eh_7',·['types.h',·['../a01486.html',·1,·'(Global·Namespace)'], | 9 | ····['types_2eh_7',·['types.h',·['../a01486.html',·1,·'(Global·Namespace)'], |
10 | ········['../a01489.html',·1,·'(Global·Namespace)'], | 10 | ········['../a01489.html',·1,·'(Global·Namespace)'], |
11 | ········['../a01492.html',·1,·'(Global·Namespace)'], | 11 | ········['../a01492.html',·1,·'(Global·Namespace)'], |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | var·searchData·=·[ | 1 | var·searchData·=·[ |
2 | ····['vertexdescriptor_2eh_0',·['vertexDescriptor.h',·['../a0067 | 2 | ····['vertexdescriptor_2eh_0',·['vertexDescriptor.h',·['../a00674.html',·1,·'']]] |
3 | ]; | 3 | ]; |
Offset 6, 319 lines modified | Offset 6, 324 lines modified | ||
6 | ········"loc":·"osd_tutorial_0.html" | 6 | ········"loc":·"osd_tutorial_0.html" |
7 | ····},·{ | 7 | ····},·{ |
8 | ········"title":·"bfr_tutorial_3_2.cpp", | 8 | ········"title":·"bfr_tutorial_3_2.cpp", |
9 | ········"text":·"bfr_tutorial_3_2.cpp·bfr_tutorial_3_2.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsbfrtutorial_3_2bfr_tutorial_3_2.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·is·a·variation·of·tutorials·showing·simple·uniform··tessellation.·Rather·than·constructing·and·evaluating·a·Surface·at··a·time,·this·tutorial·shows·how·Surfaces·can·be·created·and·saved··for·repeated·use.···A·simple·SurfaceCache·class·is·created·that·creates·and·stores·the··Surface·for·each·face,·along·with·the·patch·points·associated·with··it.·The·main·tessellation·function·remains·essentially·the·same,··but·here·it·access·the·Surfaces·from·the·SurfaceCache·rather·than··computing·them·locally.···Note·that·while·this·example·illustrated·the·retention·of·all··Surfaces·for·a·mesh,·this·behavior·is·not·recommended.·It·does·not··scale·well·for·large·meshes·and·undermines·the·memory·savings·that··transient·use·of·Surfaces·is·designed·to·achieve.·Rather·than··storing·Surfaces·for·all·faces,·maintaining·a·priority·queue·for·a··fixed·number·may·be·a·reasonable·compromise.··include·opensubdivfartopologyRefiner.h·include·opensubdivbfrrefinerSurfaceFactory.h·include·opensubdivbfrsurface.h·include·opensubdivbfrtessellation.h·include·vector·include·memory·include·string·include·cstring·include·cstdio··Local·headers·with·support·for·this·tutorial·in·namespace·tutorial·include·.meshLoader.h·include·.objWriter.h·using·namespace·OpenSubdiv····Simple·command·line·arguments·to·provide·input·and·run-time·options··class·Args··public··std··string·inputObjFile··std··string·outputObjFile··Sdc··SchemeType·schemeType··int·tessUniformRate··bool·tessQuadsFlag··public··Args··int·argc·,·char··argv···inputObjFile·,·outputObjFile·,·schemeType··Sdc··SCHEME_CATMARK·,·tessUniformRate··5·,·tessQuadsFlag··false···for··int·i··1··i··argc···i···if··strstr··argv··i·,·.obj···if··inputObjFile·.·empty···inputObjFile··std··string··argv··i···else··fprintf··stderr·,·Warning·Extra·Obj·file·s·ignored·n··,·argv··i····else·if···strcmp··argv··i·,·-o···if···i··argc··outputObjFile··std··string··argv··i···else·if···strcmp··argv··i·,·-bilinear···schemeType··Sdc··SCHEME_BILINEAR···else·if···strcmp··argv··i·,·-catmark···schemeType··Sdc··SCHEME_CATMARK···else·if···strcmp··argv··i·,·-loop···schemeType··Sdc··SCHEME_LOOP···else·if···strcmp··argv··i·,·-res···if···i··argc··tessUniformRate··atoi··argv··i···else·if···strcmp··argv··i·,·-quads···tessQuadsFlag··true···else··fprintf··stderr·,·Warning·Unrecognized·argument·s·ignored·n··,·argv··i·····private··Args·······This·simple·class·creates·and·dispenses·Surfaces·for·all·faces·of··a·mesh.·It·consists·primarily·of·an·array·of·simple·structs·entries··for·each·face·and·a·single·array·of·patch·points·for·all·Surfaces··created.···There·are·many·ways·to·create·such·a·cache·depending·on·requirements.··This·is·a·simple·example,·but·the·interface·presents·some·options·that··are·worth·considering.·A·SurfaceCache·is·constructed·here·given·the··following···-·a·reference·to·the·SurfaceFactory··-·the·cache·could·just·as·easily·take·a·reference·to·the·mesh··and·construct·the·SurfaceFactory·internally···-·the·position·data·for·the·mesh··-·this·is·needed·to·compute·patch·points·for·the·Surfaces··-·if·caching·UVs·or·any·other·primvar,·other·data·needs·to·be··provided·--·along·with·the·interpolation·type·for·that·data··vertex,·face-varying,·etc.···-·option·to·cache·patch·points··-·the·cache·could·store·the·Surfaces·only·or·also·include··their·patch·points··-·storing·patch·points·takes·more·memory·but·will·eliminate··any·preparation·time·for·evaluation·of·the·Surface···-·option·to·cache·all·surfaces··-·the·benefits·to·caching·simple·linear·or·regular·surfaces··are·minimal·--·and·may·even·be·detrimental··-·so·only·caching·non-linear·irregular·surfaces·is·an·option··worth·considering···The·SurfaceCache·implementation·here·provides·the·options·noted·above.··But·for·simplicity,·the·actual·usage·of·the·SurfaceCache·does·not·deal··with·the·permutations·of·additional·work·that·is·necessary·when·the··Surfaces·or·their·patch·points·are·not·cached.··class·SurfaceCache··public··typedef·Bfr··Surface··float··Surface··typedef·Bfr··RefinerSurfaceFactory··SurfaceFactory··public··SurfaceCache··SurfaceFactory·const··surfaceFactory·,·std··vector··float··const··meshPoints·,·bool·cachePatchPoints··true·,·bool·cacheAllSurfaces··true··SurfaceCache···delete···SurfaceCache···default····Public·methods·to·retrieved·cached·Surfaces·and·their·pre-computed··patch·points··bool·FaceHasLimitSurface··int·face···return·_entries··face·.·hasLimit···Surface·const··GetSurface··int·face···return·_entries··face·.·surface·.·get··float·const··GetPatchPoints··int·face···return·getPatchPoints··face···private···Simple·struct·to·keep·track·of·Surface·and·more·for·each·face·struct·FaceEntry··FaceEntry···surface·,·hasLimit··false·,·pointOffset··-1····std··unique_ptr··Surface·const··surface··bool·hasLimit··int·pointOffset····Non-const·version·to·be·used·internally·to·aide·assignment·float··getPatchPoints··int·face···return··_entries··face·.·surface···_points·.·empty····_points·.·data···_entries··face·.·pointOffset··3···0···private··std··vector··FaceEntry··_entries··std··vector··float··_points···SurfaceCache··SurfaceCache··SurfaceFactory·const··surfaceFactory·,·std··vector··float··const··meshPoints·,·bool·cachePatchPoints·,·bool·cacheAllSurfaces···int·numFaces··surfaceFactory·.·GetNumFaces··_entries·.·resize··numFaces··int·numPointsInCache··0··for··int·face··0··face··numFaces···face···Surface··s··surfaceFactory·.·CreateVertexSurface··float···face··if··s···FaceEntry··entry··_entries··face··entry·.·hasLimit··true··if··cacheAllSurfaces····s·-·IsRegular····s·-·IsLinear···entry·.·surface·.·reset··s··entry·.·pointOffset··numPointsInCache··numPointsInCache··s·-·GetNumPatchPoints···else··delete·s·····if··cachePatchPoints···_points·.·resize··numPointsInCache··3··for··int·face··0··face··numFaces···face···float··patchPoints··getPatchPoints··face··if··patchPoints···GetSurface··face··-·PreparePatchPoints··meshPoints·.·data·,·3·,·patchPoints·,·3········The·main·tessellation·function·given·a·mesh·and·vertex·positions,··tessellate·each·face·--·writing·results·in·Obj·format.··void·tessellateToObj··Far··TopologyRefiner·const··meshTopology·,·std··vector··float··const··meshVertexPositions·,·Args·const··options·····Use·simpler·local·type·names·for·the·Surface·and·its·factory··typedef·Bfr··RefinerSurfaceFactory··SurfaceFactory··typedef·Bfr··Surface··float··Surface····Initialize·the·SurfaceFactory·for·the·given·base·mesh·very·low··cost·in·terms·of·both·time·and·space·and·tessellate·each·face··independently·i.e.·no·shared·vertices···Note·that·the·SurfaceFactory·is·not·thread-safe·by·default·due·to··use·of·an·internal·cache.·Creating·a·separate·instance·of·the··SurfaceFactory·for·each·thread·is·one·way·to·safely·parallelize··this·loop.·Another·preferred·is·to·assign·a·thread-safe·cache··to·the·single·instance.···First·declare·any·evaluation·options·when·initializing·though··none·are·used·in·this·simple·case··SurfaceFactory··Options·surfaceOptions··SurfaceFactory·meshSurfaceFactory··meshTopology·,·surfaceOptions····Initialize·a·SurfaceCache·to·construct·Surfaces·for·all·faces.··From·this·point·forward·the·SurfaceFactory·is·no·longer·used·to··access·Surfaces.·Note·also·that·usage·below·is·specific·to·the··options·used·to·initialize·the·SurfaceCache··bool·cachePatchPoints··true··bool·cacheAllSurfaces··true··SurfaceCache·surfaceCache··meshSurfaceFactory·,·meshVertexPositions·,·cachePatchPoints·,·cacheAllSurfaces····As·with·previous·tutorials,·output·data·associated·with·the·face··can·be·declared·in·the·scope·local·to·each·face.·But·since·dynamic··memory·is·involved·with·these·variables,·it·is·preferred·to·declare··them·outside·that·loop·to·preserve·and·reuse·that·dynamic·memory.··std··vector··float··outCoords··std··vector··float··outPos·,·outDu·,·outDv··std··vector··int··outFacets····Assign·Tessellation·Options·applied·for·all·faces.·Tessellations··allow·the·creating·of·either·3-·or·4-sided·faces·--·both·of·which··are·supported·here·via·a·command·line·option··int·const·tessFacetSize··3··options·.·tessQuadsFlag··Bfr··Tessellation··Options·tessOptions··tessOptions·.·SetFacetSize··tessFacetSize··tessOptions·.·PreserveQuads··options·.·tessQuadsFlag····Process·each·face,·writing·the·output·of·each·in·Obj·format··tutorial··ObjWriter·objWriter··options·.·outputObjFile··int·numFaces··meshSurfaceFactory·.·GetNumFaces··for··int·faceIndex··0··faceIndex··numFaces···faceIndex·····Retrieve·the·Surface·for·this·face·when·present··if···surfaceCache·.·FaceHasLimitSurface··faceIndex··continue··Surface·const··faceSurface···surfaceCache·.·GetSurface··faceIndex····Declare·a·simple·uniform·Tessellation·for·the·Parameterization··of·this·face·and·identify·coordinates·of·the·points·to·evaluate··Bfr··Tessellation·tessPattern··faceSurface·.·GetParameterization·,·options·.·tessUniformRate·,·tessOptions··int·numOutCoords··tessPattern·.·GetNumCoords··outCoords·.·resize··numOutCoords··2··tessPattern·.·GetCoords··outCoords·.·data····Retrieve·the·patch·points·for·the·Surface,·then·use·them·to··evaluate·output·points·for·all·identified·coordinates··float·const··facePatchPoints··surfaceCache·.·GetPatchPoints··faceIndex··int·pointSize··3··outPos·.·resize··numOutCoords··pointSize··outDu·.·resize··numOutCoords··pointSize··outDv·.·resize··numOutCoords··pointSize··for··int·i··0·,·j··0··i··numOutCoords···i·,·j··pointSize···faceSurface·.·Evaluate···outCoords··i··2·,·facePatchPoints·,·pointSize·,··outPos··j·,··outDu··j·,··outDv··j·····Identify·the·faces·of·the·Tessellation···Note·the·need·to·offset·vertex·indices·for·the·output·faces·--··using·the·number·of·vertices·generated·prior·to·this·face.·One··of·several·Tessellation·methods·to·transform·the·facet·indices··simply·translates·all·indices·by·the·desired·offset.··int·objVertexIndexOffset··objWriter·.·GetNumVertices··int·numFacets··tessPattern·.·GetNumFacets··outFacets·.·resize··numFacets··tessFacetSize··tessPattern·.·GetFacets··outFacets·.·data··tessPattern·.·TransformFacetCoordIndices··outFacets·.·data·,·objVertexIndexOffset····Write·the·evaluated·points·and·faces·connecting·them·as·Obj··objWriter·.·WriteGroupName··baseFace_·,·faceIndex··objWriter·.·WriteVertexPositions··outPos··objWriter·.·WriteVertexNormals··outDu·,·outDv··objWriter·.·WriteFaces··outFacets·,·tessFacetSize·,·true·,·false······Load·command·line·arguments,·specified·or·default·geometry·and·process··int·main··int·argc·,·char··argv···Args·args··argc·,·argv··Far··TopologyRefiner··meshTopology··0··std··vector··float··meshVtxPositions··std··vector··float··meshFVarUVs··meshTopology··tutorial··createTopologyRefiner··args·.·inputObjFile·,·args·.·schemeType·,·meshVtxPositions·,·meshFVarUVs··if··meshTopology··0···return·EXIT_FAILURE···tessellateToObj···meshTopology·,·meshVtxPositions·,·args··delete·meshTopology··return·EXIT_SUCCESS···------------------------------------------------------------------------------·Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | 9 | ········"text":·"bfr_tutorial_3_2.cpp·bfr_tutorial_3_2.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsbfrtutorial_3_2bfr_tutorial_3_2.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·is·a·variation·of·tutorials·showing·simple·uniform··tessellation.·Rather·than·constructing·and·evaluating·a·Surface·at··a·time,·this·tutorial·shows·how·Surfaces·can·be·created·and·saved··for·repeated·use.···A·simple·SurfaceCache·class·is·created·that·creates·and·stores·the··Surface·for·each·face,·along·with·the·patch·points·associated·with··it.·The·main·tessellation·function·remains·essentially·the·same,··but·here·it·access·the·Surfaces·from·the·SurfaceCache·rather·than··computing·them·locally.···Note·that·while·this·example·illustrated·the·retention·of·all··Surfaces·for·a·mesh,·this·behavior·is·not·recommended.·It·does·not··scale·well·for·large·meshes·and·undermines·the·memory·savings·that··transient·use·of·Surfaces·is·designed·to·achieve.·Rather·than··storing·Surfaces·for·all·faces,·maintaining·a·priority·queue·for·a··fixed·number·may·be·a·reasonable·compromise.··include·opensubdivfartopologyRefiner.h·include·opensubdivbfrrefinerSurfaceFactory.h·include·opensubdivbfrsurface.h·include·opensubdivbfrtessellation.h·include·vector·include·memory·include·string·include·cstring·include·cstdio··Local·headers·with·support·for·this·tutorial·in·namespace·tutorial·include·.meshLoader.h·include·.objWriter.h·using·namespace·OpenSubdiv····Simple·command·line·arguments·to·provide·input·and·run-time·options··class·Args··public··std··string·inputObjFile··std··string·outputObjFile··Sdc··SchemeType·schemeType··int·tessUniformRate··bool·tessQuadsFlag··public··Args··int·argc·,·char··argv···inputObjFile·,·outputObjFile·,·schemeType··Sdc··SCHEME_CATMARK·,·tessUniformRate··5·,·tessQuadsFlag··false···for··int·i··1··i··argc···i···if··strstr··argv··i·,·.obj···if··inputObjFile·.·empty···inputObjFile··std··string··argv··i···else··fprintf··stderr·,·Warning·Extra·Obj·file·s·ignored·n··,·argv··i····else·if···strcmp··argv··i·,·-o···if···i··argc··outputObjFile··std··string··argv··i···else·if···strcmp··argv··i·,·-bilinear···schemeType··Sdc··SCHEME_BILINEAR···else·if···strcmp··argv··i·,·-catmark···schemeType··Sdc··SCHEME_CATMARK···else·if···strcmp··argv··i·,·-loop···schemeType··Sdc··SCHEME_LOOP···else·if···strcmp··argv··i·,·-res···if···i··argc··tessUniformRate··atoi··argv··i···else·if···strcmp··argv··i·,·-quads···tessQuadsFlag··true···else··fprintf··stderr·,·Warning·Unrecognized·argument·s·ignored·n··,·argv··i·····private··Args·······This·simple·class·creates·and·dispenses·Surfaces·for·all·faces·of··a·mesh.·It·consists·primarily·of·an·array·of·simple·structs·entries··for·each·face·and·a·single·array·of·patch·points·for·all·Surfaces··created.···There·are·many·ways·to·create·such·a·cache·depending·on·requirements.··This·is·a·simple·example,·but·the·interface·presents·some·options·that··are·worth·considering.·A·SurfaceCache·is·constructed·here·given·the··following···-·a·reference·to·the·SurfaceFactory··-·the·cache·could·just·as·easily·take·a·reference·to·the·mesh··and·construct·the·SurfaceFactory·internally···-·the·position·data·for·the·mesh··-·this·is·needed·to·compute·patch·points·for·the·Surfaces··-·if·caching·UVs·or·any·other·primvar,·other·data·needs·to·be··provided·--·along·with·the·interpolation·type·for·that·data··vertex,·face-varying,·etc.···-·option·to·cache·patch·points··-·the·cache·could·store·the·Surfaces·only·or·also·include··their·patch·points··-·storing·patch·points·takes·more·memory·but·will·eliminate··any·preparation·time·for·evaluation·of·the·Surface···-·option·to·cache·all·surfaces··-·the·benefits·to·caching·simple·linear·or·regular·surfaces··are·minimal·--·and·may·even·be·detrimental··-·so·only·caching·non-linear·irregular·surfaces·is·an·option··worth·considering···The·SurfaceCache·implementation·here·provides·the·options·noted·above.··But·for·simplicity,·the·actual·usage·of·the·SurfaceCache·does·not·deal··with·the·permutations·of·additional·work·that·is·necessary·when·the··Surfaces·or·their·patch·points·are·not·cached.··class·SurfaceCache··public··typedef·Bfr··Surface··float··Surface··typedef·Bfr··RefinerSurfaceFactory··SurfaceFactory··public··SurfaceCache··SurfaceFactory·const··surfaceFactory·,·std··vector··float··const··meshPoints·,·bool·cachePatchPoints··true·,·bool·cacheAllSurfaces··true··SurfaceCache···delete···SurfaceCache···default····Public·methods·to·retrieved·cached·Surfaces·and·their·pre-computed··patch·points··bool·FaceHasLimitSurface··int·face···return·_entries··face·.·hasLimit···Surface·const··GetSurface··int·face···return·_entries··face·.·surface·.·get··float·const··GetPatchPoints··int·face···return·getPatchPoints··face···private···Simple·struct·to·keep·track·of·Surface·and·more·for·each·face·struct·FaceEntry··FaceEntry···surface·,·hasLimit··false·,·pointOffset··-1····std··unique_ptr··Surface·const··surface··bool·hasLimit··int·pointOffset····Non-const·version·to·be·used·internally·to·aide·assignment·float··getPatchPoints··int·face···return··_entries··face·.·surface···_points·.·empty····_points·.·data···_entries··face·.·pointOffset··3···0···private··std··vector··FaceEntry··_entries··std··vector··float··_points···SurfaceCache··SurfaceCache··SurfaceFactory·const··surfaceFactory·,·std··vector··float··const··meshPoints·,·bool·cachePatchPoints·,·bool·cacheAllSurfaces···int·numFaces··surfaceFactory·.·GetNumFaces··_entries·.·resize··numFaces··int·numPointsInCache··0··for··int·face··0··face··numFaces···face···Surface··s··surfaceFactory·.·CreateVertexSurface··float···face··if··s···FaceEntry··entry··_entries··face··entry·.·hasLimit··true··if··cacheAllSurfaces····s·-·IsRegular····s·-·IsLinear···entry·.·surface·.·reset··s··entry·.·pointOffset··numPointsInCache··numPointsInCache··s·-·GetNumPatchPoints···else··delete·s·····if··cachePatchPoints···_points·.·resize··numPointsInCache··3··for··int·face··0··face··numFaces···face···float··patchPoints··getPatchPoints··face··if··patchPoints···GetSurface··face··-·PreparePatchPoints··meshPoints·.·data·,·3·,·patchPoints·,·3········The·main·tessellation·function·given·a·mesh·and·vertex·positions,··tessellate·each·face·--·writing·results·in·Obj·format.··void·tessellateToObj··Far··TopologyRefiner·const··meshTopology·,·std··vector··float··const··meshVertexPositions·,·Args·const··options·····Use·simpler·local·type·names·for·the·Surface·and·its·factory··typedef·Bfr··RefinerSurfaceFactory··SurfaceFactory··typedef·Bfr··Surface··float··Surface····Initialize·the·SurfaceFactory·for·the·given·base·mesh·very·low··cost·in·terms·of·both·time·and·space·and·tessellate·each·face··independently·i.e.·no·shared·vertices···Note·that·the·SurfaceFactory·is·not·thread-safe·by·default·due·to··use·of·an·internal·cache.·Creating·a·separate·instance·of·the··SurfaceFactory·for·each·thread·is·one·way·to·safely·parallelize··this·loop.·Another·preferred·is·to·assign·a·thread-safe·cache··to·the·single·instance.···First·declare·any·evaluation·options·when·initializing·though··none·are·used·in·this·simple·case··SurfaceFactory··Options·surfaceOptions··SurfaceFactory·meshSurfaceFactory··meshTopology·,·surfaceOptions····Initialize·a·SurfaceCache·to·construct·Surfaces·for·all·faces.··From·this·point·forward·the·SurfaceFactory·is·no·longer·used·to··access·Surfaces.·Note·also·that·usage·below·is·specific·to·the··options·used·to·initialize·the·SurfaceCache··bool·cachePatchPoints··true··bool·cacheAllSurfaces··true··SurfaceCache·surfaceCache··meshSurfaceFactory·,·meshVertexPositions·,·cachePatchPoints·,·cacheAllSurfaces····As·with·previous·tutorials,·output·data·associated·with·the·face··can·be·declared·in·the·scope·local·to·each·face.·But·since·dynamic··memory·is·involved·with·these·variables,·it·is·preferred·to·declare··them·outside·that·loop·to·preserve·and·reuse·that·dynamic·memory.··std··vector··float··outCoords··std··vector··float··outPos·,·outDu·,·outDv··std··vector··int··outFacets····Assign·Tessellation·Options·applied·for·all·faces.·Tessellations··allow·the·creating·of·either·3-·or·4-sided·faces·--·both·of·which··are·supported·here·via·a·command·line·option··int·const·tessFacetSize··3··options·.·tessQuadsFlag··Bfr··Tessellation··Options·tessOptions··tessOptions·.·SetFacetSize··tessFacetSize··tessOptions·.·PreserveQuads··options·.·tessQuadsFlag····Process·each·face,·writing·the·output·of·each·in·Obj·format··tutorial··ObjWriter·objWriter··options·.·outputObjFile··int·numFaces··meshSurfaceFactory·.·GetNumFaces··for··int·faceIndex··0··faceIndex··numFaces···faceIndex·····Retrieve·the·Surface·for·this·face·when·present··if···surfaceCache·.·FaceHasLimitSurface··faceIndex··continue··Surface·const··faceSurface···surfaceCache·.·GetSurface··faceIndex····Declare·a·simple·uniform·Tessellation·for·the·Parameterization··of·this·face·and·identify·coordinates·of·the·points·to·evaluate··Bfr··Tessellation·tessPattern··faceSurface·.·GetParameterization·,·options·.·tessUniformRate·,·tessOptions··int·numOutCoords··tessPattern·.·GetNumCoords··outCoords·.·resize··numOutCoords··2··tessPattern·.·GetCoords··outCoords·.·data····Retrieve·the·patch·points·for·the·Surface,·then·use·them·to··evaluate·output·points·for·all·identified·coordinates··float·const··facePatchPoints··surfaceCache·.·GetPatchPoints··faceIndex··int·pointSize··3··outPos·.·resize··numOutCoords··pointSize··outDu·.·resize··numOutCoords··pointSize··outDv·.·resize··numOutCoords··pointSize··for··int·i··0·,·j··0··i··numOutCoords···i·,·j··pointSize···faceSurface·.·Evaluate···outCoords··i··2·,·facePatchPoints·,·pointSize·,··outPos··j·,··outDu··j·,··outDv··j·····Identify·the·faces·of·the·Tessellation···Note·the·need·to·offset·vertex·indices·for·the·output·faces·--··using·the·number·of·vertices·generated·prior·to·this·face.·One··of·several·Tessellation·methods·to·transform·the·facet·indices··simply·translates·all·indices·by·the·desired·offset.··int·objVertexIndexOffset··objWriter·.·GetNumVertices··int·numFacets··tessPattern·.·GetNumFacets··outFacets·.·resize··numFacets··tessFacetSize··tessPattern·.·GetFacets··outFacets·.·data··tessPattern·.·TransformFacetCoordIndices··outFacets·.·data·,·objVertexIndexOffset····Write·the·evaluated·points·and·faces·connecting·them·as·Obj··objWriter·.·WriteGroupName··baseFace_·,·faceIndex··objWriter·.·WriteVertexPositions··outPos··objWriter·.·WriteVertexNormals··outDu·,·outDv··objWriter·.·WriteFaces··outFacets·,·tessFacetSize·,·true·,·false······Load·command·line·arguments,·specified·or·default·geometry·and·process··int·main··int·argc·,·char··argv···Args·args··argc·,·argv··Far··TopologyRefiner··meshTopology··0··std··vector··float··meshVtxPositions··std··vector··float··meshFVarUVs··meshTopology··tutorial··createTopologyRefiner··args·.·inputObjFile·,·args·.·schemeType·,·meshVtxPositions·,·meshFVarUVs··if··meshTopology··0···return·EXIT_FAILURE···tessellateToObj···meshTopology·,·meshVtxPositions·,·args··delete·meshTopology··return·EXIT_SUCCESS···------------------------------------------------------------------------------·Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", |
10 | ········"tags":·"", | 10 | ········"tags":·"", |
11 | ········"loc":·"bfr_tutorial_3_2.html" | 11 | ········"loc":·"bfr_tutorial_3_2.html" |
12 | ····},·{ | 12 | ····},·{ |
13 | ········"title":·"bfr_tutorial_2_2.cpp", | ||
14 | ········"text":·"bfr_tutorial_2_2.cpp·bfr_tutorial_2_2.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsbfrtutorial_2_2bfr_tutorial_2_2.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·builds·on·others·using·the·SurfaceFactory,·Surface··and·Tessellation·classes·by·using·more·of·the·functionality·of·the··Tessellation·class·to·construct·a·tessellation·of·the·mesh·that·is··topologically·watertight,·i.e.·resulting·points·evaluated·along··shared·edges·or·vertices·are·shared·and·not·duplicated.···Since·Tessellation·provides·points·around·its·boundary·first,·the··evaluated·points·for·shared·vertices·and·edges·are·identified·when··constructed·and·reused·when·shared·later.·The·boundary·of·the··tessellation·of·a·face·is·therefore·a·collection·of·shared·points··and·methods·of·Tessellation·help·to·remap·the·faces·generated·to··the·shared·set·of·points.··include·opensubdivfartopologyRefiner.h·include·opensubdivbfrrefinerSurfaceFactory.h·include·opensubdivbfrsurface.h·include·opensubdivbfrtessellation.h·include·vector·include·string·include·cstring·include·cstdio·include·cassert··Local·headers·with·support·for·this·tutorial·in·namespace·tutorial·include·.meshLoader.h·include·.objWriter.h·using·namespace·OpenSubdiv··using·Far··Index··using·Far··IndexArray··using·Far··ConstIndexArray····Simple·command·line·arguments·to·provide·input·and·run-time·options··class·Args··public··std··string·inputObjFile··std··string·outputObjFile··Sdc··SchemeType·schemeType··int·tessUniformRate··bool·tessQuadsFlag··public··Args··int·argc·,·char··argv···inputObjFile·,·outputObjFile·,·schemeType··Sdc··SCHEME_CATMARK·,·tessUniformRate··5·,·tessQuadsFlag··false···for··int·i··1··i··argc···i···if··strstr··argv··i·,·.obj···if··inputObjFile·.·empty···inputObjFile··std··string··argv··i···else··fprintf··stderr·,·Warning·Extra·Obj·file·s·ignored·n··,·argv··i····else·if···strcmp··argv··i·,·-o···if···i··argc··outputObjFile··std··string··argv··i···else·if···strcmp··argv··i·,·-bilinear···schemeType··Sdc··SCHEME_BILINEAR···else·if···strcmp··argv··i·,·-catmark···schemeType··Sdc··SCHEME_CATMARK···else·if···strcmp··argv··i·,·-loop···schemeType··Sdc··SCHEME_LOOP···else·if···strcmp··argv··i·,·-res···if···i··argc··tessUniformRate··atoi··argv··i···else·if···strcmp··argv··i·,·-quads···tessQuadsFlag··true···else··fprintf··stderr·,·Warning·Unrecognized·argument·s·ignored·n··,·argv··i·····private··Args·······Simple·local·structs·supporting·shared·points·for·vertices·and·edges··namespace··struct·SharedVertex··SharedVertex···pointIndex··-1····bool·IsSet··const··return·pointIndex··0···void·Set··int·index···pointIndex··index···int·pointIndex···struct·SharedEdge··SharedEdge···pointIndex··-1·,·numPoints··0····bool·IsSet··const··return·pointIndex··0···void·Set··int·index·,·int·n···pointIndex··index·,·numPoints··n···int·pointIndex··int·numPoints·····end·namespace···The·main·tessellation·function·given·a·mesh·and·vertex·positions,··tessellate·each·face·--·writing·results·in·Obj·format.···This·tessellation·function·differs·from·earlier·tutorials·in·that·it··computes·and·reuses·shared·points·at·vertices·and·edges·of·the·mesh.··There·are·several·ways·to·compute·these·shared·points,·and·which·is··best·depends·on·context.···Dealing·with·shared·data·poses·complications·for·threading·in·general,··so·computing·all·points·for·the·vertices·and·edges·up·front·may·be··preferred·--·despite·the·fact·that·faces·will·be·visited·more·than·once··first·when·generating·potentially·shared·vertex·or·edge·points,·and··later·when·generating·any·interior·points.·The·loops·for·vertices·and··edges·can·be·threaded·and·the·indexing·of·the·shared·points·is·simpler.···For·the·single-threaded·case·here,·the·faces·are·each·processed·in··order·and·any·shared·points·will·be·computed·and·used·as·needed.·So··each·face·is·visited·once·and·so·each·Surface·initialized·once·but··the·bookkeeping·to·deal·with·indices·of·shared·points·becomes·more··complicated.··void·tessellateToObj··Far··TopologyRefiner·const··meshTopology·,·std··vector··float··const··meshVertexPositions·,·Args·const··options·····Use·simpler·local·type·names·for·the·Surface·and·its·factory··typedef·Bfr··RefinerSurfaceFactory··SurfaceFactory··typedef·Bfr··Surface··float··Surface····Initialize·the·SurfaceFactory·for·the·given·base·mesh·very·low··cost·in·terms·of·both·time·and·space·and·tessellate·each·face··independently·i.e.·no·shared·vertices···Note·that·the·SurfaceFactory·is·not·thread-safe·by·default·due·to··use·of·an·internal·cache.·Creating·a·separate·instance·of·the··SurfaceFactory·for·each·thread·is·one·way·to·safely·parallelize··this·loop.·Another·preferred·is·to·assign·a·thread-safe·cache··to·the·single·instance.···First·declare·any·evaluation·options·when·initializing·though··none·are·used·in·this·simple·case··SurfaceFactory··Options·surfaceOptions··SurfaceFactory·meshSurfaceFactory··meshTopology·,·surfaceOptions····The·Surface·to·be·constructed·and·evaluated·for·each·face·--·as··well·as·the·intermediate·and·output·data·associated·with·it·--·can··be·declared·in·the·scope·local·to·each·face.·But·since·dynamic··memory·is·involved·with·these·variables,·it·is·preferred·to·declare··them·outside·that·loop·to·preserve·and·reuse·that·dynamic·memory.··Surface·faceSurface··std··vector··float··facePatchPoints··std··vector··float··outCoords··std··vector··float··outPos·,·outDu·,·outDv··std··vector··int··outFacets····Assign·Tessellation·Options·applied·for·all·faces.·Tessellations··allow·the·creating·of·either·3-·or·4-sided·faces·--·both·of·which··are·supported·here·via·a·command·line·option··int·const·tessFacetSize··3··options·.·tessQuadsFlag··Bfr··Tessellation··Options·tessOptions··tessOptions·.·SetFacetSize··tessFacetSize··tessOptions·.·PreserveQuads··options·.·tessQuadsFlag····Declare·vectors·to·identify·shared·tessellation·points·at·vertices··and·edges·and·their·indices·around·the·boundary·of·a·face··Far··TopologyLevel·const··baseLevel··meshTopology·.·GetLevel··0··std··vector··SharedVertex··sharedVerts··baseLevel·.·GetNumVertices··std··vector··SharedEdge··sharedEdges··baseLevel·.·GetNumEdges··std··vector··int··tessBoundaryIndices····Process·each·face,·writing·the·output·of·each·in·Obj·format··tutorial··ObjWriter·objWriter··options·.·outputObjFile··int·numMeshPointsEvaluated··0··int·numFaces··meshSurfaceFactory·.·GetNumFaces··for··int·faceIndex··0··faceIndex··numFaces···faceIndex·····Initialize·the·Surface·for·this·face·--·if·valid·skipping··holes·and·boundary·faces·in·some·rare·cases··if···meshSurfaceFactory·.·InitVertexSurface··faceIndex·,··faceSurface···continue·····Declare·a·simple·uniform·Tessellation·for·the·Parameterization··of·this·face·and·identify·coordinates·of·the·points·to·evaluate··Bfr··Tessellation·tessPattern··faceSurface·.·GetParameterization·,·options·.·tessUniformRate·,·tessOptions··int·numOutCoords··tessPattern·.·GetNumCoords··outCoords·.·resize··numOutCoords··2··tessPattern·.·GetCoords··outCoords·.·data····Prepare·the·patch·points·for·the·Surface,·then·use·them·to··evaluate·output·points·for·all·identified·coordinates···Resize·patch·point·and·output·arrays·int·pointSize··3··facePatchPoints·.·resize··faceSurface·.·GetNumPatchPoints···pointSize··outPos·.·resize··numOutCoords··pointSize··outDu·.·resize··numOutCoords··pointSize··outDv·.·resize··numOutCoords··pointSize···Populate·the·patch·point·array·faceSurface·.·PreparePatchPoints··meshVertexPositions·.·data·,·pointSize·,·facePatchPoints·.·data·,·pointSize····Evaluate·the·sample·points·of·the·Tessellation···First·traverse·the·boundary·of·the·face·to·determine·whether··to·evaluate·or·share·points·on·vertices·and·edges·of·the·face.··Both·pre-existing·and·new·boundary·points·are·identified·by··index·in·an·array·for·later·use.·The·interior·points·are·all··trivially·computed·after·the·boundary·is·dealt·with.···Identify·the·boundary·and·interior·coords·and·initialize·the··index·array·for·the·potentially·shared·boundary·points··int·numBoundaryCoords··tessPattern·.·GetNumBoundaryCoords··int·numInteriorCoords··numOutCoords·-·numBoundaryCoords··float·const··tessBoundaryCoords···outCoords··0··float·const··tessInteriorCoords···outCoords··numBoundaryCoords··2··ConstIndexArray·fVerts··baseLevel·.·GetFaceVertices··faceIndex··ConstIndexArray·fEdges··baseLevel·.·GetFaceEdges··faceIndex··tessBoundaryIndices·.·resize··numBoundaryCoords····Walk·around·the·face,·inspecting·each·vertex·and·outgoing·edge,··and·populating·the·index·array·of·boundary·points··float··patchPointData··facePatchPoints·.·data··int·boundaryIndex··0··int·numFacePointsEvaluated··0··for··int·i··0··i··fVerts·.·size···i···Index·vertIndex··fVerts··i··Index·edgeIndex··fEdges··i··int·edgeRate··options·.·tessUniformRate····Evaluateassign·or·retrieve·the·shared·point·for·the·vertex··SharedVertex··sharedVertex··sharedVerts··vertIndex··if···sharedVertex·.·IsSet····Identify·indices·of·the·new·shared·point·in·both·the··mesh·and·face·and·increment·their·inventory·int·indexInMesh··numMeshPointsEvaluated···int·indexInFace··numFacePointsEvaluated···sharedVertex·.·Set··indexInMesh···Evaluate·new·shared·point·and·assign·index·to·boundary·float·const··uv···tessBoundaryCoords··boundaryIndex··2··int·pIndex··indexInFace··pointSize··faceSurface·.·Evaluate··uv·,·patchPointData·,·pointSize·,··outPos··pIndex·,··outDu··pIndex·,··outDv··pIndex··tessBoundaryIndices··boundaryIndex····indexInMesh···else···Assign·shared·vertex·point·index·to·boundary·tessBoundaryIndices··boundaryIndex····sharedVertex·.·pointIndex·····Evaluateassign·or·retrieve·all·shared·points·for·the·edge···To·keep·this·simple,·assume·the·edge·is·manifold.·So·the··second·face·sharing·the·edge·has·that·edge·in·the·opposite··direction·in·its·boundary·relative·to·the·first·face·--··making·it·necessary·to·reverse·the·order·of·shared·points··for·the·boundary·of·the·second·face.···To·support·a·non-manifold·edge,·all·subsequent·faces·that··share·the·assigned·shared·edge·must·determine·if·their··orientation·of·that·edge·is·reversed·relative·to·the·first··face·for·which·the·shared·edge·points·were·evaluated.·So·a··little·more·book-keeping·andor·inspection·is·required.··if··edgeRate··1···int·pointsPerEdge··edgeRate·-·1··SharedEdge··sharedEdge··sharedEdges··edgeIndex··if···sharedEdge·.·IsSet····Identify·indices·of·the·new·shared·points·in·both·the··mesh·and·face·and·increment·their·inventory·int·nextInMesh··numMeshPointsEvaluated··int·nextInFace··numFacePointsEvaluated··numFacePointsEvaluated··pointsPerEdge··numMeshPointsEvaluated··pointsPerEdge··sharedEdge·.·Set··nextInMesh·,·pointsPerEdge···Evaluate·shared·points·and·assign·indices·to·boundary·float·const··uv···tessBoundaryCoords··boundaryIndex··2··for··int·j··0··j··pointsPerEdge···j·,·uv··2···int·pIndex···nextInFace····pointSize··faceSurface·.·Evaluate··uv·,·patchPointData·,·pointSize·,··outPos··pIndex·,··outDu··pIndex·,··outDv··pIndex··tessBoundaryIndices··boundaryIndex····nextInMesh·····else···See·note·above·on·simplification·for·manifold·edges·assert···baseLevel·.·IsEdgeNonManifold··edgeIndex···Assign·shared·points·to·boundary·in·reverse·order·int·nextInMesh··sharedEdge·.·pointIndex··pointsPerEdge·-·1··for··int·j··0··j··pointsPerEdge···j···tessBoundaryIndices··boundaryIndex····nextInMesh·--········Evaluate·any·interior·points·unique·to·this·face·--·appending··them·to·those·shared·points·computed·above·for·the·boundary··if··numInteriorCoords···float·const··uv··tessInteriorCoords··int·iLast··numFacePointsEvaluated··numInteriorCoords··for··int·i··numFacePointsEvaluated··i··iLast···i·,·uv··2···int·pIndex··i··pointSize··faceSurface·.·Evaluate··uv·,·patchPointData·,·pointSize·,··outPos··pIndex·,··outDu··pIndex·,··outDv··pIndex···numFacePointsEvaluated··numInteriorCoords··numMeshPointsEvaluated··numInteriorCoords·····Remember·to·trimresize·the·arrays·storing·evaluation·results··for·new·points·to·reflect·the·size·actually·populated.··outPos·.·resize··numFacePointsEvaluated··pointSize··outDu·.·resize··numFacePointsEvaluated··pointSize··outDv·.·resize··numFacePointsEvaluated··pointSize····Identify·the·faces·of·the·Tessellation···Note·that·the·coordinate·indices·used·by·the·facets·are·local··to·the·face·i.e.·they·range·from·0..N-1,·where·N·is·the··number·of·coordinates·in·the·pattern·and·so·need·to·be·offset··when·writing·to·Obj·format.···For·more·advanced·use,·the·coordinates·associated·with·the··boundary·and·interior·of·the·pattern·are·distinguishable·so··that·those·on·the·boundary·can·be·easily·remapped·to·refer·to··shared·edge·or·corner·points,·while·those·in·the·interior·can··be·separately·offset·or·similarly·remapped.···So·transform·the·indices·of·the·facets·here·as·needed·using··the·indices·of·shared·boundary·points·assembled·above·and·a··suitable·offset·for·the·new·interior·points·added··int·tessInteriorOffset··numMeshPointsEvaluated·-·numOutCoords··int·numFacets··tessPattern·.·GetNumFacets··outFacets·.·resize··numFacets··tessFacetSize··tessPattern·.·GetFacets··outFacets·.·data··tessPattern·.·TransformFacetCoordIndices··outFacets·.·data·,·tessBoundaryIndices·.·data·,·tessInteriorOffset····Write·the·evaluated·points·and·faces·connecting·them·as·Obj··objWriter·.·WriteGroupName··baseFace_·,·faceIndex··objWriter·.·WriteVertexPositions··outPos··objWriter·.·WriteVertexNormals··outDu·,·outDv··objWriter·.·WriteFaces··outFacets·,·tessFacetSize·,·true·,·false······Load·command·line·arguments,·specified·or·default·geometry·and·process··int·main··int·argc·,·char··argv···Args·args··argc·,·argv··Far··TopologyRefiner··meshTopology··0··std··vector··float··meshVtxPositions··std··vector··float··meshFVarUVs··meshTopology··tutorial··createTopologyRefiner··args·.·inputObjFile·,·args·.·schemeType·,·meshVtxPositions·,·meshFVarUVs··if··meshTopology··0···return·EXIT_FAILURE···tessellateToObj···meshTopology·,·meshVtxPositions·,·args··delete·meshTopology··return·EXIT_SUCCESS···------------------------------------------------------------------------------·Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | ||
15 | ········"tags":·"", | ||
16 | ········"loc":·"bfr_tutorial_2_2.html" | ||
17 | ····},·{ | ||
18 | ········"title":·"bfr_tutorial_3_1.cpp", | 13 | ········"title":·"bfr_tutorial_3_1.cpp", |
19 | ········"text":·"bfr_tutorial_3_1.cpp·bfr_tutorial_3_1.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsbfrtutorial_3_1bfr_tutorial_3_1.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·illustrates·the·definition·of·a·custom·subclass·of··BfrSurfaceFactory·--·providing·a·class·with·the·SurfaceFactory··interface·adapted·to·a·connected·mesh·representation.···The·bulk·of·this·code·is·therefore·identical·to·a·previous·tutorial··1.3·which·illustrates·simple·use·of·a·BfrSurface·factory.·The··only·difference·here·lies·in·the·explicit·local·definition·of·the··subclass·of·BfrSurfaceFactory·for·FarTopologyRefiner·--·named··CustomSurfaceFactory·in·this·case.··include·.customSurfaceFactory.h·include·opensubdivfartopologyRefiner.h·include·opensubdivbfrsurface.h·include·opensubdivbfrtessellation.h·include·vector·include·string·include·cstring·include·cstdio··Local·headers·with·support·for·this·tutorial·in·namespace·tutorial·include·.meshLoader.h·include·.objWriter.h·using·namespace·OpenSubdiv····Simple·command·line·arguments·to·provide·input·and·run-time·options··class·Args··public··std··string·inputObjFile··std··string·outputObjFile··Sdc··SchemeType·schemeType··int·tessUniformRate··bool·tessQuadsFlag··bool·uv2xyzFlag··public··Args··int·argc·,·char··argv···inputObjFile·,·outputObjFile·,·schemeType··Sdc··SCHEME_CATMARK·,·tessUniformRate··5·,·tessQuadsFlag··false·,·uv2xyzFlag··false···for··int·i··1··i··argc···i···if··strstr··argv··i·,·.obj···if··inputObjFile·.·empty···inputObjFile··std··string··argv··i···else··fprintf··stderr·,·Warning·Extra·Obj·file·s·ignored·n··,·argv··i····else·if···strcmp··argv··i·,·-o···if···i··argc··outputObjFile··std··string··argv··i···else·if···strcmp··argv··i·,·-bilinear···schemeType··Sdc··SCHEME_BILINEAR···else·if···strcmp··argv··i·,·-catmark···schemeType··Sdc··SCHEME_CATMARK···else·if···strcmp··argv··i·,·-loop···schemeType··Sdc··SCHEME_LOOP···else·if···strcmp··argv··i·,·-res···if···i··argc··tessUniformRate··atoi··argv··i···else·if···strcmp··argv··i·,·-quads···tessQuadsFlag··true···else·if···strcmp··argv··i·,·-uv2xyz···uv2xyzFlag··true···else··fprintf··stderr·,·Warning·Unrecognized·argument·s·ignored·n··,·argv··i·····private··Args·······The·main·tessellation·function·given·a·mesh·and·vertex·positions,··tessellate·each·face·--·writing·results·in·Obj·format.··void·tessellateToObj··Far··TopologyRefiner·const··meshTopology·,·std··vector··float··const··meshVertexPositions·,·std··vector··float··const··meshFaceVaryingUVs·,·Args·const··options·····Use·simpler·local·type·names·for·the·Surface·and·its·factory··typedef·CustomSurfaceFactory·SurfaceFactory··typedef·Bfr··Surface··float··Surface····Initialize·the·SurfaceFactory·for·the·given·base·mesh·very·low··cost·in·terms·of·both·time·and·space·and·tessellate·each·face··independently·i.e.·no·shared·vertices···Note·that·the·SurfaceFactory·is·not·thread-safe·by·default·due·to··use·of·an·internal·cache.·Creating·a·separate·instance·of·the··SurfaceFactory·for·each·thread·is·one·way·to·safely·parallelize··this·loop.·Another·preferred·is·to·assign·a·thread-safe·cache··to·the·single·instance.···First·declare·any·evaluation·options·when·initializing···When·dealing·with·face-varying·data,·an·identifier·is·necessary··when·constructing·Surfaces·in·order·to·distinguish·the·different··face-varying·data·channels.·To·avoid·repeatedly·specifying·that··identifier·when·only·one·is·present·or·of·interest,·it·can·be··specified·via·the·Options.··bool·meshHasUVs···meshTopology·.·GetNumFVarChannels···0··SurfaceFactory··Options·surfaceOptions··if··meshHasUVs···surfaceOptions·.·SetDefaultFVarID··0···SurfaceFactory·surfaceFactory··meshTopology·,·surfaceOptions····The·Surface·to·be·constructed·and·evaluated·for·each·face·--·as··well·as·the·intermediate·and·output·data·associated·with·it·--·can··be·declared·in·the·scope·local·to·each·face.·But·since·dynamic··memory·is·involved·with·these·variables,·it·is·preferred·to·declare··them·outside·that·loop·to·preserve·and·reuse·that·dynamic·memory.··Surface·posSurface··Surface·uvSurface··std··vector··float··facePatchPoints··std··vector··float··outCoords··std··vector··float··outPos·,·outDu·,·outDv··std··vector··float··outUV··std··vector··int··outFacets····Assign·Tessellation·Options·applied·for·all·faces.·Tessellations··allow·the·creating·of·either·3-·or·4-sided·faces·--·both·of·which··are·supported·here·via·a·command·line·option··int·const·tessFacetSize··3··options·.·tessQuadsFlag··Bfr··Tessellation··Options·tessOptions··tessOptions·.·SetFacetSize··tessFacetSize··tessOptions·.·PreserveQuads··options·.·tessQuadsFlag····Process·each·face,·writing·the·output·of·each·in·Obj·format··tutorial··ObjWriter·objWriter··options·.·outputObjFile··int·numFaces··surfaceFactory·.·GetNumFaces··for··int·faceIndex··0··faceIndex··numFaces···faceIndex·····Initialize·the·Surfaces·for·position·and·UVs·of·this·face.··There·are·two·ways·to·do·this·--·both·illustrated·here···Creating·Surfaces·for·the·different·data·interpolation·types··independently·is·clear·and·convenient,·but·considerable·work··may·be·duplicated·in·the·construction·process·in·the·case·of··non-linear·face-varying·Surfaces.·So·unless·it·is·known·that··face-varying·interpolation·is·linear,·use·of·InitSurfaces··is·generally·preferred.···Remember·also·that·the·face-varying·identifier·is·omitted·from··the·initialization·methods·here·as·it·was·previously·assigned··to·the·SurfaceFactoryOptions.·In·the·absence·of·an·assignment··of·the·default·FVarID·to·the·Options,·a·failure·to·specify·the··FVarID·here·will·result·in·failure.···The·cases·below·are·expanded·for·illustration·purposes,·and··validity·of·the·resulting·Surface·is·tested·here,·rather·than··the·return·value·of·initialization·methods.··bool·createSurfacesTogether··true··if···meshHasUVs···surfaceFactory·.·InitVertexSurface··faceIndex·,··posSurface···else·if··createSurfacesTogether···surfaceFactory·.·InitSurfaces··faceIndex·,··posSurface·,··uvSurface···else··if··surfaceFactory·.·InitVertexSurface··faceIndex·,··posSurface···surfaceFactory·.·InitFaceVaryingSurface··faceIndex·,··uvSurface····if···posSurface·.·IsValid··continue····Declare·a·simple·uniform·Tessellation·for·the·Parameterization··of·this·face·and·identify·coordinates·of·the·points·to·evaluate··Bfr··Tessellation·tessPattern··posSurface·.·GetParameterization·,·options·.·tessUniformRate·,·tessOptions··int·numOutCoords··tessPattern·.·GetNumCoords··outCoords·.·resize··numOutCoords··2··tessPattern·.·GetCoords··outCoords·.·data····Prepare·the·patch·points·for·the·Surface,·then·use·them·to··evaluate·output·points·for·all·identified·coordinates···Evaluate·vertex·positions···Resize·patch·point·and·output·arrays·int·pointSize··3··facePatchPoints·.·resize··posSurface·.·GetNumPatchPoints···pointSize··outPos·.·resize··numOutCoords··pointSize··outDu·.·resize··numOutCoords··pointSize··outDv·.·resize··numOutCoords··pointSize···Populate·patch·point·and·output·arrays·posSurface·.·PreparePatchPoints··meshVertexPositions·.·data·,·pointSize·,·facePatchPoints·.·data·,·pointSize··for··int·i··0·,·j··0··i··numOutCoords···i·,·j··pointSize···posSurface·.·Evaluate···outCoords··i··2·,·facePatchPoints·.·data·,·pointSize·,··outPos··j·,··outDu··j·,··outDv··j·····Evaluate·face-varying·UVs·when·present·if··meshHasUVs····Resize·patch·point·and·output·arrays··-·note·reuse·of·the·same·patch·point·array·as·position·int·pointSize··2··facePatchPoints·.·resize··uvSurface·.·GetNumPatchPoints···pointSize··outUV·.·resize··numOutCoords··pointSize···Populate·patch·point·and·output·arrays·uvSurface·.·PreparePatchPoints··meshFaceVaryingUVs·.·data·,·pointSize·,·facePatchPoints·.·data·,·pointSize··for··int·i··0·,·j··0··i··numOutCoords···i·,·j··pointSize···uvSurface·.·Evaluate···outCoords··i··2·,·facePatchPoints·.·data·,·pointSize·,··outUV··j······Identify·the·faces·of·the·Tessellation···Note·the·need·to·offset·vertex·indices·for·the·output·faces·--··using·the·number·of·vertices·generated·prior·to·this·face.·One··of·several·Tessellation·methods·to·transform·the·facet·indices··simply·translates·all·indices·by·the·desired·offset.··int·objVertexIndexOffset··objWriter·.·GetNumVertices··int·numFacets··tessPattern·.·GetNumFacets··outFacets·.·resize··numFacets··tessFacetSize··tessPattern·.·GetFacets··outFacets·.·data··tessPattern·.·TransformFacetCoordIndices··outFacets·.·data·,·objVertexIndexOffset····Write·the·evaluated·points·and·faces·connecting·them·as·Obj··objWriter·.·WriteGroupName··baseFace_·,·faceIndex··if··meshHasUVs··options·.·uv2xyzFlag···objWriter·.·WriteVertexPositions··outUV·,·2··objWriter·.·WriteFaces··outFacets·,·tessFacetSize·,·false·,·false···else··objWriter·.·WriteVertexPositions··outPos··objWriter·.·WriteVertexNormals··outDu·,·outDv··if··meshHasUVs···objWriter·.·WriteVertexUVs··outUV···objWriter·.·WriteFaces··outFacets·,·tessFacetSize·,·true·,·meshHasUVs·······Load·command·line·arguments,·specified·or·default·geometry·and·process··int·main··int·argc·,·char··argv···Args·args··argc·,·argv··Far··TopologyRefiner··meshTopology··0··std··vector··float··meshVtxPositions··std··vector··float··meshFVarUVs··meshTopology··tutorial··createTopologyRefiner··args·.·inputObjFile·,·args·.·schemeType·,·meshVtxPositions·,·meshFVarUVs··if··meshTopology··0···return·EXIT_FAILURE···tessellateToObj···meshTopology·,·meshVtxPositions·,·meshFVarUVs·,·args··delete·meshTopology··return·EXIT_SUCCESS···------------------------------------------------------------------------------·Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | 14 | ········"text":·"bfr_tutorial_3_1.cpp·bfr_tutorial_3_1.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsbfrtutorial_3_1bfr_tutorial_3_1.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·illustrates·the·definition·of·a·custom·subclass·of··BfrSurfaceFactory·--·providing·a·class·with·the·SurfaceFactory··interface·adapted·to·a·connected·mesh·representation.···The·bulk·of·this·code·is·therefore·identical·to·a·previous·tutorial··1.3·which·illustrates·simple·use·of·a·BfrSurface·factory.·The··only·difference·here·lies·in·the·explicit·local·definition·of·the··subclass·of·BfrSurfaceFactory·for·FarTopologyRefiner·--·named··CustomSurfaceFactory·in·this·case.··include·.customSurfaceFactory.h·include·opensubdivfartopologyRefiner.h·include·opensubdivbfrsurface.h·include·opensubdivbfrtessellation.h·include·vector·include·string·include·cstring·include·cstdio··Local·headers·with·support·for·this·tutorial·in·namespace·tutorial·include·.meshLoader.h·include·.objWriter.h·using·namespace·OpenSubdiv····Simple·command·line·arguments·to·provide·input·and·run-time·options··class·Args··public··std··string·inputObjFile··std··string·outputObjFile··Sdc··SchemeType·schemeType··int·tessUniformRate··bool·tessQuadsFlag··bool·uv2xyzFlag··public··Args··int·argc·,·char··argv···inputObjFile·,·outputObjFile·,·schemeType··Sdc··SCHEME_CATMARK·,·tessUniformRate··5·,·tessQuadsFlag··false·,·uv2xyzFlag··false···for··int·i··1··i··argc···i···if··strstr··argv··i·,·.obj···if··inputObjFile·.·empty···inputObjFile··std··string··argv··i···else··fprintf··stderr·,·Warning·Extra·Obj·file·s·ignored·n··,·argv··i····else·if···strcmp··argv··i·,·-o···if···i··argc··outputObjFile··std··string··argv··i···else·if···strcmp··argv··i·,·-bilinear···schemeType··Sdc··SCHEME_BILINEAR···else·if···strcmp··argv··i·,·-catmark···schemeType··Sdc··SCHEME_CATMARK···else·if···strcmp··argv··i·,·-loop···schemeType··Sdc··SCHEME_LOOP···else·if···strcmp··argv··i·,·-res···if···i··argc··tessUniformRate··atoi··argv··i···else·if···strcmp··argv··i·,·-quads···tessQuadsFlag··true···else·if···strcmp··argv··i·,·-uv2xyz···uv2xyzFlag··true···else··fprintf··stderr·,·Warning·Unrecognized·argument·s·ignored·n··,·argv··i·····private··Args·······The·main·tessellation·function·given·a·mesh·and·vertex·positions,··tessellate·each·face·--·writing·results·in·Obj·format.··void·tessellateToObj··Far··TopologyRefiner·const··meshTopology·,·std··vector··float··const··meshVertexPositions·,·std··vector··float··const··meshFaceVaryingUVs·,·Args·const··options·····Use·simpler·local·type·names·for·the·Surface·and·its·factory··typedef·CustomSurfaceFactory·SurfaceFactory··typedef·Bfr··Surface··float··Surface····Initialize·the·SurfaceFactory·for·the·given·base·mesh·very·low··cost·in·terms·of·both·time·and·space·and·tessellate·each·face··independently·i.e.·no·shared·vertices···Note·that·the·SurfaceFactory·is·not·thread-safe·by·default·due·to··use·of·an·internal·cache.·Creating·a·separate·instance·of·the··SurfaceFactory·for·each·thread·is·one·way·to·safely·parallelize··this·loop.·Another·preferred·is·to·assign·a·thread-safe·cache··to·the·single·instance.···First·declare·any·evaluation·options·when·initializing···When·dealing·with·face-varying·data,·an·identifier·is·necessary··when·constructing·Surfaces·in·order·to·distinguish·the·different··face-varying·data·channels.·To·avoid·repeatedly·specifying·that··identifier·when·only·one·is·present·or·of·interest,·it·can·be··specified·via·the·Options.··bool·meshHasUVs···meshTopology·.·GetNumFVarChannels···0··SurfaceFactory··Options·surfaceOptions··if··meshHasUVs···surfaceOptions·.·SetDefaultFVarID··0···SurfaceFactory·surfaceFactory··meshTopology·,·surfaceOptions····The·Surface·to·be·constructed·and·evaluated·for·each·face·--·as··well·as·the·intermediate·and·output·data·associated·with·it·--·can··be·declared·in·the·scope·local·to·each·face.·But·since·dynamic··memory·is·involved·with·these·variables,·it·is·preferred·to·declare··them·outside·that·loop·to·preserve·and·reuse·that·dynamic·memory.··Surface·posSurface··Surface·uvSurface··std··vector··float··facePatchPoints··std··vector··float··outCoords··std··vector··float··outPos·,·outDu·,·outDv··std··vector··float··outUV··std··vector··int··outFacets····Assign·Tessellation·Options·applied·for·all·faces.·Tessellations··allow·the·creating·of·either·3-·or·4-sided·faces·--·both·of·which··are·supported·here·via·a·command·line·option··int·const·tessFacetSize··3··options·.·tessQuadsFlag··Bfr··Tessellation··Options·tessOptions··tessOptions·.·SetFacetSize··tessFacetSize··tessOptions·.·PreserveQuads··options·.·tessQuadsFlag····Process·each·face,·writing·the·output·of·each·in·Obj·format··tutorial··ObjWriter·objWriter··options·.·outputObjFile··int·numFaces··surfaceFactory·.·GetNumFaces··for··int·faceIndex··0··faceIndex··numFaces···faceIndex·····Initialize·the·Surfaces·for·position·and·UVs·of·this·face.··There·are·two·ways·to·do·this·--·both·illustrated·here···Creating·Surfaces·for·the·different·data·interpolation·types··independently·is·clear·and·convenient,·but·considerable·work··may·be·duplicated·in·the·construction·process·in·the·case·of··non-linear·face-varying·Surfaces.·So·unless·it·is·known·that··face-varying·interpolation·is·linear,·use·of·InitSurfaces··is·generally·preferred.···Remember·also·that·the·face-varying·identifier·is·omitted·from··the·initialization·methods·here·as·it·was·previously·assigned··to·the·SurfaceFactoryOptions.·In·the·absence·of·an·assignment··of·the·default·FVarID·to·the·Options,·a·failure·to·specify·the··FVarID·here·will·result·in·failure.···The·cases·below·are·expanded·for·illustration·purposes,·and··validity·of·the·resulting·Surface·is·tested·here,·rather·than··the·return·value·of·initialization·methods.··bool·createSurfacesTogether··true··if···meshHasUVs···surfaceFactory·.·InitVertexSurface··faceIndex·,··posSurface···else·if··createSurfacesTogether···surfaceFactory·.·InitSurfaces··faceIndex·,··posSurface·,··uvSurface···else··if··surfaceFactory·.·InitVertexSurface··faceIndex·,··posSurface···surfaceFactory·.·InitFaceVaryingSurface··faceIndex·,··uvSurface····if···posSurface·.·IsValid··continue····Declare·a·simple·uniform·Tessellation·for·the·Parameterization··of·this·face·and·identify·coordinates·of·the·points·to·evaluate··Bfr··Tessellation·tessPattern··posSurface·.·GetParameterization·,·options·.·tessUniformRate·,·tessOptions··int·numOutCoords··tessPattern·.·GetNumCoords··outCoords·.·resize··numOutCoords··2··tessPattern·.·GetCoords··outCoords·.·data····Prepare·the·patch·points·for·the·Surface,·then·use·them·to··evaluate·output·points·for·all·identified·coordinates···Evaluate·vertex·positions···Resize·patch·point·and·output·arrays·int·pointSize··3··facePatchPoints·.·resize··posSurface·.·GetNumPatchPoints···pointSize··outPos·.·resize··numOutCoords··pointSize··outDu·.·resize··numOutCoords··pointSize··outDv·.·resize··numOutCoords··pointSize···Populate·patch·point·and·output·arrays·posSurface·.·PreparePatchPoints··meshVertexPositions·.·data·,·pointSize·,·facePatchPoints·.·data·,·pointSize··for··int·i··0·,·j··0··i··numOutCoords···i·,·j··pointSize···posSurface·.·Evaluate···outCoords··i··2·,·facePatchPoints·.·data·,·pointSize·,··outPos··j·,··outDu··j·,··outDv··j·····Evaluate·face-varying·UVs·when·present·if··meshHasUVs····Resize·patch·point·and·output·arrays··-·note·reuse·of·the·same·patch·point·array·as·position·int·pointSize··2··facePatchPoints·.·resize··uvSurface·.·GetNumPatchPoints···pointSize··outUV·.·resize··numOutCoords··pointSize···Populate·patch·point·and·output·arrays·uvSurface·.·PreparePatchPoints··meshFaceVaryingUVs·.·data·,·pointSize·,·facePatchPoints·.·data·,·pointSize··for··int·i··0·,·j··0··i··numOutCoords···i·,·j··pointSize···uvSurface·.·Evaluate···outCoords··i··2·,·facePatchPoints·.·data·,·pointSize·,··outUV··j······Identify·the·faces·of·the·Tessellation···Note·the·need·to·offset·vertex·indices·for·the·output·faces·--··using·the·number·of·vertices·generated·prior·to·this·face.·One··of·several·Tessellation·methods·to·transform·the·facet·indices··simply·translates·all·indices·by·the·desired·offset.··int·objVertexIndexOffset··objWriter·.·GetNumVertices··int·numFacets··tessPattern·.·GetNumFacets··outFacets·.·resize··numFacets··tessFacetSize··tessPattern·.·GetFacets··outFacets·.·data··tessPattern·.·TransformFacetCoordIndices··outFacets·.·data·,·objVertexIndexOffset····Write·the·evaluated·points·and·faces·connecting·them·as·Obj··objWriter·.·WriteGroupName··baseFace_·,·faceIndex··if··meshHasUVs··options·.·uv2xyzFlag···objWriter·.·WriteVertexPositions··outUV·,·2··objWriter·.·WriteFaces··outFacets·,·tessFacetSize·,·false·,·false···else··objWriter·.·WriteVertexPositions··outPos··objWriter·.·WriteVertexNormals··outDu·,·outDv··if··meshHasUVs···objWriter·.·WriteVertexUVs··outUV···objWriter·.·WriteFaces··outFacets·,·tessFacetSize·,·true·,·meshHasUVs·······Load·command·line·arguments,·specified·or·default·geometry·and·process··int·main··int·argc·,·char··argv···Args·args··argc·,·argv··Far··TopologyRefiner··meshTopology··0··std··vector··float··meshVtxPositions··std··vector··float··meshFVarUVs··meshTopology··tutorial··createTopologyRefiner··args·.·inputObjFile·,·args·.·schemeType·,·meshVtxPositions·,·meshFVarUVs··if··meshTopology··0···return·EXIT_FAILURE···tessellateToObj···meshTopology·,·meshVtxPositions·,·meshFVarUVs·,·args··delete·meshTopology··return·EXIT_SUCCESS···------------------------------------------------------------------------------·Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", |
20 | ········"tags":·"", | 15 | ········"tags":·"", |
21 | ········"loc":·"bfr_tutorial_3_1.html" | 16 | ········"loc":·"bfr_tutorial_3_1.html" |
22 | ····},·{ | 17 | ····},·{ |
18 | ········"title":·"bfr_tutorial_2_2.cpp", | ||
19 | ········"text":·"bfr_tutorial_2_2.cpp·bfr_tutorial_2_2.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsbfrtutorial_2_2bfr_tutorial_2_2.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·builds·on·others·using·the·SurfaceFactory,·Surface··and·Tessellation·classes·by·using·more·of·the·functionality·of·the··Tessellation·class·to·construct·a·tessellation·of·the·mesh·that·is··topologically·watertight,·i.e.·resulting·points·evaluated·along··shared·edges·or·vertices·are·shared·and·not·duplicated.···Since·Tessellation·provides·points·around·its·boundary·first,·the··evaluated·points·for·shared·vertices·and·edges·are·identified·when··constructed·and·reused·when·shared·later.·The·boundary·of·the··tessellation·of·a·face·is·therefore·a·collection·of·shared·points··and·methods·of·Tessellation·help·to·remap·the·faces·generated·to··the·shared·set·of·points.··include·opensubdivfartopologyRefiner.h·include·opensubdivbfrrefinerSurfaceFactory.h·include·opensubdivbfrsurface.h·include·opensubdivbfrtessellation.h·include·vector·include·string·include·cstring·include·cstdio·include·cassert··Local·headers·with·support·for·this·tutorial·in·namespace·tutorial·include·.meshLoader.h·include·.objWriter.h·using·namespace·OpenSubdiv··using·Far··Index··using·Far··IndexArray··using·Far··ConstIndexArray····Simple·command·line·arguments·to·provide·input·and·run-time·options··class·Args··public··std··string·inputObjFile··std··string·outputObjFile··Sdc··SchemeType·schemeType··int·tessUniformRate··bool·tessQuadsFlag··public··Args··int·argc·,·char··argv···inputObjFile·,·outputObjFile·,·schemeType··Sdc··SCHEME_CATMARK·,·tessUniformRate··5·,·tessQuadsFlag··false···for··int·i··1··i··argc···i···if··strstr··argv··i·,·.obj···if··inputObjFile·.·empty···inputObjFile··std··string··argv··i···else··fprintf··stderr·,·Warning·Extra·Obj·file·s·ignored·n··,·argv··i····else·if···strcmp··argv··i·,·-o···if···i··argc··outputObjFile··std··string··argv··i···else·if···strcmp··argv··i·,·-bilinear···schemeType··Sdc··SCHEME_BILINEAR···else·if···strcmp··argv··i·,·-catmark···schemeType··Sdc··SCHEME_CATMARK···else·if···strcmp··argv··i·,·-loop···schemeType··Sdc··SCHEME_LOOP···else·if···strcmp··argv··i·,·-res···if···i··argc··tessUniformRate··atoi··argv··i···else·if···strcmp··argv··i·,·-quads···tessQuadsFlag··true···else··fprintf··stderr·,·Warning·Unrecognized·argument·s·ignored·n··,·argv··i·····private··Args·······Simple·local·structs·supporting·shared·points·for·vertices·and·edges··namespace··struct·SharedVertex··SharedVertex···pointIndex··-1····bool·IsSet··const··return·pointIndex··0···void·Set··int·index···pointIndex··index···int·pointIndex···struct·SharedEdge··SharedEdge···pointIndex··-1·,·numPoints··0····bool·IsSet··const··return·pointIndex··0···void·Set··int·index·,·int·n···pointIndex··index·,·numPoints··n···int·pointIndex··int·numPoints·····end·namespace···The·main·tessellation·function·given·a·mesh·and·vertex·positions,··tessellate·each·face·--·writing·results·in·Obj·format.···This·tessellation·function·differs·from·earlier·tutorials·in·that·it··computes·and·reuses·shared·points·at·vertices·and·edges·of·the·mesh.··There·are·several·ways·to·compute·these·shared·points,·and·which·is··best·depends·on·context.···Dealing·with·shared·data·poses·complications·for·threading·in·general,··so·computing·all·points·for·the·vertices·and·edges·up·front·may·be··preferred·--·despite·the·fact·that·faces·will·be·visited·more·than·once··first·when·generating·potentially·shared·vertex·or·edge·points,·and··later·when·generating·any·interior·points.·The·loops·for·vertices·and··edges·can·be·threaded·and·the·indexing·of·the·shared·points·is·simpler.···For·the·single-threaded·case·here,·the·faces·are·each·processed·in··order·and·any·shared·points·will·be·computed·and·used·as·needed.·So··each·face·is·visited·once·and·so·each·Surface·initialized·once·but··the·bookkeeping·to·deal·with·indices·of·shared·points·becomes·more··complicated.··void·tessellateToObj··Far··TopologyRefiner·const··meshTopology·,·std··vector··float··const··meshVertexPositions·,·Args·const··options·····Use·simpler·local·type·names·for·the·Surface·and·its·factory··typedef·Bfr··RefinerSurfaceFactory··SurfaceFactory··typedef·Bfr··Surface··float··Surface····Initialize·the·SurfaceFactory·for·the·given·base·mesh·very·low··cost·in·terms·of·both·time·and·space·and·tessellate·each·face··independently·i.e.·no·shared·vertices···Note·that·the·SurfaceFactory·is·not·thread-safe·by·default·due·to··use·of·an·internal·cache.·Creating·a·separate·instance·of·the··SurfaceFactory·for·each·thread·is·one·way·to·safely·parallelize··this·loop.·Another·preferred·is·to·assign·a·thread-safe·cache··to·the·single·instance.···First·declare·any·evaluation·options·when·initializing·though··none·are·used·in·this·simple·case··SurfaceFactory··Options·surfaceOptions··SurfaceFactory·meshSurfaceFactory··meshTopology·,·surfaceOptions····The·Surface·to·be·constructed·and·evaluated·for·each·face·--·as··well·as·the·intermediate·and·output·data·associated·with·it·--·can··be·declared·in·the·scope·local·to·each·face.·But·since·dynamic··memory·is·involved·with·these·variables,·it·is·preferred·to·declare··them·outside·that·loop·to·preserve·and·reuse·that·dynamic·memory.··Surface·faceSurface··std··vector··float··facePatchPoints··std··vector··float··outCoords··std··vector··float··outPos·,·outDu·,·outDv··std··vector··int··outFacets····Assign·Tessellation·Options·applied·for·all·faces.·Tessellations··allow·the·creating·of·either·3-·or·4-sided·faces·--·both·of·which··are·supported·here·via·a·command·line·option··int·const·tessFacetSize··3··options·.·tessQuadsFlag··Bfr··Tessellation··Options·tessOptions··tessOptions·.·SetFacetSize··tessFacetSize··tessOptions·.·PreserveQuads··options·.·tessQuadsFlag····Declare·vectors·to·identify·shared·tessellation·points·at·vertices··and·edges·and·their·indices·around·the·boundary·of·a·face··Far··TopologyLevel·const··baseLevel··meshTopology·.·GetLevel··0··std··vector··SharedVertex··sharedVerts··baseLevel·.·GetNumVertices··std··vector··SharedEdge··sharedEdges··baseLevel·.·GetNumEdges··std··vector··int··tessBoundaryIndices····Process·each·face,·writing·the·output·of·each·in·Obj·format··tutorial··ObjWriter·objWriter··options·.·outputObjFile··int·numMeshPointsEvaluated··0··int·numFaces··meshSurfaceFactory·.·GetNumFaces··for··int·faceIndex··0··faceIndex··numFaces···faceIndex·····Initialize·the·Surface·for·this·face·--·if·valid·skipping··holes·and·boundary·faces·in·some·rare·cases··if···meshSurfaceFactory·.·InitVertexSurface··faceIndex·,··faceSurface···continue·····Declare·a·simple·uniform·Tessellation·for·the·Parameterization··of·this·face·and·identify·coordinates·of·the·points·to·evaluate··Bfr··Tessellation·tessPattern··faceSurface·.·GetParameterization·,·options·.·tessUniformRate·,·tessOptions··int·numOutCoords··tessPattern·.·GetNumCoords··outCoords·.·resize··numOutCoords··2··tessPattern·.·GetCoords··outCoords·.·data····Prepare·the·patch·points·for·the·Surface,·then·use·them·to··evaluate·output·points·for·all·identified·coordinates···Resize·patch·point·and·output·arrays·int·pointSize··3··facePatchPoints·.·resize··faceSurface·.·GetNumPatchPoints···pointSize··outPos·.·resize··numOutCoords··pointSize··outDu·.·resize··numOutCoords··pointSize··outDv·.·resize··numOutCoords··pointSize···Populate·the·patch·point·array·faceSurface·.·PreparePatchPoints··meshVertexPositions·.·data·,·pointSize·,·facePatchPoints·.·data·,·pointSize····Evaluate·the·sample·points·of·the·Tessellation···First·traverse·the·boundary·of·the·face·to·determine·whether··to·evaluate·or·share·points·on·vertices·and·edges·of·the·face.··Both·pre-existing·and·new·boundary·points·are·identified·by··index·in·an·array·for·later·use.·The·interior·points·are·all··trivially·computed·after·the·boundary·is·dealt·with.···Identify·the·boundary·and·interior·coords·and·initialize·the··index·array·for·the·potentially·shared·boundary·points··int·numBoundaryCoords··tessPattern·.·GetNumBoundaryCoords··int·numInteriorCoords··numOutCoords·-·numBoundaryCoords··float·const··tessBoundaryCoords···outCoords··0··float·const··tessInteriorCoords···outCoords··numBoundaryCoords··2··ConstIndexArray·fVerts··baseLevel·.·GetFaceVertices··faceIndex··ConstIndexArray·fEdges··baseLevel·.·GetFaceEdges··faceIndex··tessBoundaryIndices·.·resize··numBoundaryCoords····Walk·around·the·face,·inspecting·each·vertex·and·outgoing·edge,··and·populating·the·index·array·of·boundary·points··float··patchPointData··facePatchPoints·.·data··int·boundaryIndex··0··int·numFacePointsEvaluated··0··for··int·i··0··i··fVerts·.·size···i···Index·vertIndex··fVerts··i··Index·edgeIndex··fEdges··i··int·edgeRate··options·.·tessUniformRate····Evaluateassign·or·retrieve·the·shared·point·for·the·vertex··SharedVertex··sharedVertex··sharedVerts··vertIndex··if···sharedVertex·.·IsSet····Identify·indices·of·the·new·shared·point·in·both·the··mesh·and·face·and·increment·their·inventory·int·indexInMesh··numMeshPointsEvaluated···int·indexInFace··numFacePointsEvaluated···sharedVertex·.·Set··indexInMesh···Evaluate·new·shared·point·and·assign·index·to·boundary·float·const··uv···tessBoundaryCoords··boundaryIndex··2··int·pIndex··indexInFace··pointSize··faceSurface·.·Evaluate··uv·,·patchPointData·,·pointSize·,··outPos··pIndex·,··outDu··pIndex·,··outDv··pIndex··tessBoundaryIndices··boundaryIndex····indexInMesh···else···Assign·shared·vertex·point·index·to·boundary·tessBoundaryIndices··boundaryIndex····sharedVertex·.·pointIndex·····Evaluateassign·or·retrieve·all·shared·points·for·the·edge···To·keep·this·simple,·assume·the·edge·is·manifold.·So·the··second·face·sharing·the·edge·has·that·edge·in·the·opposite··direction·in·its·boundary·relative·to·the·first·face·--··making·it·necessary·to·reverse·the·order·of·shared·points··for·the·boundary·of·the·second·face.···To·support·a·non-manifold·edge,·all·subsequent·faces·that··share·the·assigned·shared·edge·must·determine·if·their··orientation·of·that·edge·is·reversed·relative·to·the·first··face·for·which·the·shared·edge·points·were·evaluated.·So·a··little·more·book-keeping·andor·inspection·is·required.··if··edgeRate··1···int·pointsPerEdge··edgeRate·-·1··SharedEdge··sharedEdge··sharedEdges··edgeIndex··if···sharedEdge·.·IsSet····Identify·indices·of·the·new·shared·points·in·both·the··mesh·and·face·and·increment·their·inventory·int·nextInMesh··numMeshPointsEvaluated··int·nextInFace··numFacePointsEvaluated··numFacePointsEvaluated··pointsPerEdge··numMeshPointsEvaluated··pointsPerEdge··sharedEdge·.·Set··nextInMesh·,·pointsPerEdge···Evaluate·shared·points·and·assign·indices·to·boundary·float·const··uv···tessBoundaryCoords··boundaryIndex··2··for··int·j··0··j··pointsPerEdge···j·,·uv··2···int·pIndex···nextInFace····pointSize··faceSurface·.·Evaluate··uv·,·patchPointData·,·pointSize·,··outPos··pIndex·,··outDu··pIndex·,··outDv··pIndex··tessBoundaryIndices··boundaryIndex····nextInMesh·····else···See·note·above·on·simplification·for·manifold·edges·assert···baseLevel·.·IsEdgeNonManifold··edgeIndex···Assign·shared·points·to·boundary·in·reverse·order·int·nextInMesh··sharedEdge·.·pointIndex··pointsPerEdge·-·1··for··int·j··0··j··pointsPerEdge···j···tessBoundaryIndices··boundaryIndex····nextInMesh·--········Evaluate·any·interior·points·unique·to·this·face·--·appending··them·to·those·shared·points·computed·above·for·the·boundary··if··numInteriorCoords···float·const··uv··tessInteriorCoords··int·iLast··numFacePointsEvaluated··numInteriorCoords··for··int·i··numFacePointsEvaluated··i··iLast···i·,·uv··2···int·pIndex··i··pointSize··faceSurface·.·Evaluate··uv·,·patchPointData·,·pointSize·,··outPos··pIndex·,··outDu··pIndex·,··outDv··pIndex···numFacePointsEvaluated··numInteriorCoords··numMeshPointsEvaluated··numInteriorCoords·····Remember·to·trimresize·the·arrays·storing·evaluation·results··for·new·points·to·reflect·the·size·actually·populated.··outPos·.·resize··numFacePointsEvaluated··pointSize··outDu·.·resize··numFacePointsEvaluated··pointSize··outDv·.·resize··numFacePointsEvaluated··pointSize····Identify·the·faces·of·the·Tessellation···Note·that·the·coordinate·indices·used·by·the·facets·are·local··to·the·face·i.e.·they·range·from·0..N-1,·where·N·is·the··number·of·coordinates·in·the·pattern·and·so·need·to·be·offset··when·writing·to·Obj·format.···For·more·advanced·use,·the·coordinates·associated·with·the··boundary·and·interior·of·the·pattern·are·distinguishable·so··that·those·on·the·boundary·can·be·easily·remapped·to·refer·to··shared·edge·or·corner·points,·while·those·in·the·interior·can··be·separately·offset·or·similarly·remapped.···So·transform·the·indices·of·the·facets·here·as·needed·using··the·indices·of·shared·boundary·points·assembled·above·and·a··suitable·offset·for·the·new·interior·points·added··int·tessInteriorOffset··numMeshPointsEvaluated·-·numOutCoords··int·numFacets··tessPattern·.·GetNumFacets··outFacets·.·resize··numFacets··tessFacetSize··tessPattern·.·GetFacets··outFacets·.·data··tessPattern·.·TransformFacetCoordIndices··outFacets·.·data·,·tessBoundaryIndices·.·data·,·tessInteriorOffset····Write·the·evaluated·points·and·faces·connecting·them·as·Obj··objWriter·.·WriteGroupName··baseFace_·,·faceIndex··objWriter·.·WriteVertexPositions··outPos··objWriter·.·WriteVertexNormals··outDu·,·outDv··objWriter·.·WriteFaces··outFacets·,·tessFacetSize·,·true·,·false······Load·command·line·arguments,·specified·or·default·geometry·and·process··int·main··int·argc·,·char··argv···Args·args··argc·,·argv··Far··TopologyRefiner··meshTopology··0··std··vector··float··meshVtxPositions··std··vector··float··meshFVarUVs··meshTopology··tutorial··createTopologyRefiner··args·.·inputObjFile·,·args·.·schemeType·,·meshVtxPositions·,·meshFVarUVs··if··meshTopology··0···return·EXIT_FAILURE···tessellateToObj···meshTopology·,·meshVtxPositions·,·args··delete·meshTopology··return·EXIT_SUCCESS···------------------------------------------------------------------------------·Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | ||
20 | ········"tags":·"", | ||
21 | ········"loc":·"bfr_tutorial_2_2.html" | ||
22 | ····},·{ | ||
23 | ········"title":·"bfr_tutorial_2_1.cpp", | 23 | ········"title":·"bfr_tutorial_2_1.cpp", |
24 | ········"text":·"bfr_tutorial_2_1.cpp·bfr_tutorial_2_1.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsbfrtutorial_2_1bfr_tutorial_2_1.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·builds·on·the·previous·tutorial·that·makes·use·of·the··SurfaceFactory,·Surface·and·Tessellation·classes·by·illustrating·the··use·of·non-uniform·tessellation·parameters·with·Tessellation.···Tessellation·rates·for·the·edges·of·a·face·are·determined·by·a··length·associated·with·each·edge.·That·length·may·be·computed·using··either·the·control·hull·or·the·limit·surface.·The·length·of·a··tessellation·interval·is·required·and·will·be·inferred·if·not··explicitly·specified·as·a·command·line·option.···The·tessellation·rate·for·an·edge·is·computed·as·its·length·divided··by·the·length·of·the·tessellation·interval.·A·maximum·tessellation··rate·is·imposed·to·prevent·accidental·unbounded·tessellation,·but··can·easily·be·raised·as·needed.··include·opensubdivfartopologyRefiner.h·include·opensubdivbfrrefinerSurfaceFactory.h·include·opensubdivbfrsurface.h·include·opensubdivbfrtessellation.h·include·vector·include·string·include·cstring·include·cstdio·include·cmath·include·algorithm··Local·headers·with·support·for·this·tutorial·in·namespace·tutorial·include·.meshLoader.h·include·.objWriter.h·using·namespace·OpenSubdiv····Simple·command·line·arguments·to·provide·input·and·run-time·options··class·Args··public··std··string·inputObjFile··std··string·outputObjFile··Sdc··SchemeType·schemeType··float·tessInterval··int·tessRateMax··bool·useHullFlag··bool·tessQuadsFlag··public··Args··int·argc·,·char··argv···inputObjFile·,·outputObjFile·,·schemeType··Sdc··SCHEME_CATMARK·,·tessInterval··0.0f·,·tessRateMax··10·,·useHullFlag··false·,·tessQuadsFlag··false···for··int·i··1··i··argc···i···if··strstr··argv··i·,·.obj···if··inputObjFile·.·empty···inputObjFile··std··string··argv··i···else··fprintf··stderr·,·Warning·Extra·Obj·file·s·ignored·n··,·argv··i····else·if···strcmp··argv··i·,·-o···if···i··argc··outputObjFile··std··string··argv··i···else·if···strcmp··argv··i·,·-bilinear···schemeType··Sdc··SCHEME_BILINEAR···else·if···strcmp··argv··i·,·-catmark···schemeType··Sdc··SCHEME_CATMARK···else·if···strcmp··argv··i·,·-loop···schemeType··Sdc··SCHEME_LOOP···else·if···strcmp··argv··i·,·-length···if···i··argc··tessInterval···float··atof··argv··i···else·if···strcmp··argv··i·,·-max···if···i··argc··tessRateMax··atoi··argv··i···else·if···strcmp··argv··i·,·-hull···useHullFlag··true···else·if···strcmp··argv··i·,·-quads···tessQuadsFlag··true···else··fprintf··stderr·,·Warning·Unrecognized·argument·s·ignored·n··,·argv··i·····private··Args·······Local·trivial·functions·for·simple·edge·length·calculations·and·the··determination·of·associated·tessellation·rates··inline·float·EdgeLength··float·const··v0·,·float·const··v1···float·dv··3··dv··0···std··abs··v0··0··-·v1··0··dv··1···std··abs··v0··1··-·v1··1··dv··2···std··abs··v0··2··-·v1··2··return·std··sqrt··dv··0···dv··0···dv··1···dv··1···dv··2···dv··2···float·FindLongestEdge··Far··TopologyRefiner·const··mesh·,·std··vector··float··const··vertPos·,·int·pointSize···float·maxLength··0.0f··int·numEdges··mesh·.·GetLevel··0·.·GetNumEdges··for··int·i··0··i··numEdges···i···Far··ConstIndexArray·edgeVerts··mesh·.·GetLevel··0·.·GetEdgeVertices··i··float·edgeLength··EdgeLength···vertPos··edgeVerts··0···pointSize·,··vertPos··edgeVerts··1···pointSize··maxLength··std··max··maxLength·,·edgeLength···return·maxLength···void·GetEdgeTessRates··std··vector··float··const··vertPos·,·int·pointSize·,·Args·const··options·,·int··edgeRates···int·numEdges···int··vertPos·.·size···pointSize··for··int·i··0··i··numEdges···i···int·j···i··1···numEdges··float·edgeLength··EdgeLength···vertPos··i··pointSize·,··vertPos··j··pointSize··edgeRates··i···1···int··edgeLength··options·.·tessInterval··edgeRates··i···std··min··edgeRates··i·,·options·.·tessRateMax······The·main·tessellation·function·given·a·mesh·and·vertex·positions,··tessellate·each·face·--·writing·results·in·Obj·format.··void·tessellateToObj··Far··TopologyRefiner·const··meshTopology·,·std··vector··float··const··meshVertexPositions·,·Args·const··options·····Use·simpler·local·type·names·for·the·Surface·and·its·factory··typedef·Bfr··RefinerSurfaceFactory··SurfaceFactory··typedef·Bfr··Surface··float··Surface····Initialize·the·SurfaceFactory·for·the·given·base·mesh·very·low··cost·in·terms·of·both·time·and·space·and·tessellate·each·face··independently·i.e.·no·shared·vertices···Note·that·the·SurfaceFactory·is·not·thread-safe·by·default·due·to··use·of·an·internal·cache.·Creating·a·separate·instance·of·the··SurfaceFactory·for·each·thread·is·one·way·to·safely·parallelize··this·loop.·Another·preferred·is·to·assign·a·thread-safe·cache··to·the·single·instance.···First·declare·any·evaluation·options·when·initializing·though··none·are·used·in·this·simple·case··SurfaceFactory··Options·surfaceOptions··SurfaceFactory·meshSurfaceFactory··meshTopology·,·surfaceOptions····The·Surface·to·be·constructed·and·evaluated·for·each·face·--·as··well·as·the·intermediate·and·output·data·associated·with·it·--·can··be·declared·in·the·scope·local·to·each·face.·But·since·dynamic··memory·is·involved·with·these·variables,·it·is·preferred·to·declare··them·outside·that·loop·to·preserve·and·reuse·that·dynamic·memory.··Surface·faceSurface··std··vector··float··facePatchPoints··std··vector··int··faceTessRates··std··vector··float··outCoords··std··vector··float··outPos·,·outDu·,·outDv··std··vector··int··outFacets····Assign·Tessellation·Options·applied·for·all·faces.·Tessellations··allow·the·creating·of·either·3-·or·4-sided·faces·--·both·of·which··are·supported·here·via·a·command·line·option··int·const·tessFacetSize··3··options·.·tessQuadsFlag··Bfr··Tessellation··Options·tessOptions··tessOptions·.·SetFacetSize··tessFacetSize··tessOptions·.·PreserveQuads··options·.·tessQuadsFlag····Process·each·face,·writing·the·output·of·each·in·Obj·format··tutorial··ObjWriter·objWriter··options·.·outputObjFile··int·numFaces··meshSurfaceFactory·.·GetNumFaces··for··int·faceIndex··0··faceIndex··numFaces···faceIndex·····Initialize·the·Surface·for·this·face·--·if·valid·skipping··holes·and·boundary·faces·in·some·rare·cases··if···meshSurfaceFactory·.·InitVertexSurface··faceIndex·,··faceSurface···continue·····Prepare·the·Surface·patch·points·first·as·it·may·be·evaluated··to·determine·suitable·edge-rates·for·Tessellation··int·pointSize··3··facePatchPoints·.·resize··faceSurface·.·GetNumPatchPoints···pointSize··faceSurface·.·PreparePatchPoints··meshVertexPositions·.·data·,·pointSize·,·facePatchPoints·.·data·,·pointSize····For·each·of·the·N·edges·of·the·face,·a·tessellation·rate·is··determined·to·initialize·a·non-uniform·Tessellation·pattern.···Many·metrics·are·possible·--·some·based·on·the·geometry·itself··size,·curvature,·others·dependent·on·viewpoint·screen·space··size,·center·of·view,·etc.·and·many·more.·Simple·techniques··are·chosen·here·for·illustration·and·can·easily·be·replaced.···Here·two·methods·are·shown·using·lengths·between·the·corners·of··the·face·--·the·first·using·the·vertex·positions·of·the·face·and··the·second·using·points·evaluated·at·the·corners·of·its·limit··surface.·Use·of·the·control·hull·is·more·efficient·avoiding·the··evaluation·but·may·prove·less·effective·in·some·cases·though··both·estimates·have·their·limitations.··int·N··faceSurface·.·GetFaceSize···Use·the·output·array·temporarily·to·hold·the·N·positions·outPos·.·resize··N··pointSize··if··options·.·useHullFlag···Far··ConstIndexArray·verts··meshTopology·.·GetLevel··0·.·GetFaceVertices··faceIndex··for··int·i··0·,·j··0··i··N···i·,·j··pointSize···float·const··vPos···meshVertexPositions··verts··i···pointSize··outPos··j···vPos··0··outPos··j··1···vPos··1··outPos··j··2···vPos··2····else··Bfr··Parameterization·faceParam··faceSurface·.·GetParameterization··for··int·i··0·,·j··0··i··N···i·,·j··pointSize···float·uv··2··faceParam·.·GetVertexCoord··i·,·uv··faceSurface·.·Evaluate··uv·,·facePatchPoints·.·data·,·pointSize·,··outPos··j····faceTessRates·.·resize··N··GetEdgeTessRates··outPos·,·pointSize·,·options·,·faceTessRates·.·data····Declare·a·non-uniform·Tessellation·using·the·rates·for·each··edge·and·identify·coordinates·of·the·points·to·evaluate···Additional·interior·rates·can·be·optionally·provided·2·for··quads,·1·for·others·but·will·be·inferred·in·their·absence.··Bfr··Tessellation·tessPattern··faceSurface·.·GetParameterization·,·N·,·faceTessRates·.·data·,·tessOptions··int·numOutCoords··tessPattern·.·GetNumCoords··outCoords·.·resize··numOutCoords··2··tessPattern·.·GetCoords··outCoords·.·data····Resize·the·output·arrays·and·evaluate··outPos·.·resize··numOutCoords··pointSize··outDu·.·resize··numOutCoords··pointSize··outDv·.·resize··numOutCoords··pointSize··for··int·i··0·,·j··0··i··numOutCoords···i·,·j··pointSize···faceSurface·.·Evaluate···outCoords··i··2·,·facePatchPoints·.·data·,·pointSize·,··outPos··j·,··outDu··j·,··outDv··j·····Identify·the·faces·of·the·Tessellation···Note·the·need·to·offset·vertex·indices·for·the·output·faces·--··using·the·number·of·vertices·generated·prior·to·this·face.·One··of·several·Tessellation·methods·to·transform·the·facet·indices··simply·translates·all·indices·by·the·desired·offset.··int·objVertexIndexOffset··objWriter·.·GetNumVertices··int·numFacets··tessPattern·.·GetNumFacets··outFacets·.·resize··numFacets··tessFacetSize··tessPattern·.·GetFacets··outFacets·.·data··tessPattern·.·TransformFacetCoordIndices··outFacets·.·data·,·objVertexIndexOffset····Write·the·evaluated·points·and·faces·connecting·them·as·Obj··objWriter·.·WriteGroupName··baseFace_·,·faceIndex··objWriter·.·WriteVertexPositions··outPos··objWriter·.·WriteVertexNormals··outDu·,·outDv··objWriter·.·WriteFaces··outFacets·,·tessFacetSize·,·true·,·false······Load·command·line·arguments,·specified·or·default·geometry·and·process··int·main··int·argc·,·char··argv···Args·args··argc·,·argv··Far··TopologyRefiner··meshTopology··0··std··vector··float··meshVtxPositions··std··vector··float··meshFVarUVs··meshTopology··tutorial··createTopologyRefiner··args·.·inputObjFile·,·args·.·schemeType·,·meshVtxPositions·,·meshFVarUVs··if··meshTopology··0···return·EXIT_FAILURE·····If·no·interval·length·was·specified,·set·one·by·finding·the·longest··edge·of·the·mesh·and·dividing·it·by·the·maximum·tessellation·rate··if··args·.·tessInterval··0.0f···args·.·tessInterval··FindLongestEdge···meshTopology·,·meshVtxPositions·,·3····float··args·.·tessRateMax···tessellateToObj···meshTopology·,·meshVtxPositions·,·args··delete·meshTopology··return·EXIT_SUCCESS···------------------------------------------------------------------------------·Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | 24 | ········"text":·"bfr_tutorial_2_1.cpp·bfr_tutorial_2_1.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsbfrtutorial_2_1bfr_tutorial_2_1.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·builds·on·the·previous·tutorial·that·makes·use·of·the··SurfaceFactory,·Surface·and·Tessellation·classes·by·illustrating·the··use·of·non-uniform·tessellation·parameters·with·Tessellation.···Tessellation·rates·for·the·edges·of·a·face·are·determined·by·a··length·associated·with·each·edge.·That·length·may·be·computed·using··either·the·control·hull·or·the·limit·surface.·The·length·of·a··tessellation·interval·is·required·and·will·be·inferred·if·not··explicitly·specified·as·a·command·line·option.···The·tessellation·rate·for·an·edge·is·computed·as·its·length·divided··by·the·length·of·the·tessellation·interval.·A·maximum·tessellation··rate·is·imposed·to·prevent·accidental·unbounded·tessellation,·but··can·easily·be·raised·as·needed.··include·opensubdivfartopologyRefiner.h·include·opensubdivbfrrefinerSurfaceFactory.h·include·opensubdivbfrsurface.h·include·opensubdivbfrtessellation.h·include·vector·include·string·include·cstring·include·cstdio·include·cmath·include·algorithm··Local·headers·with·support·for·this·tutorial·in·namespace·tutorial·include·.meshLoader.h·include·.objWriter.h·using·namespace·OpenSubdiv····Simple·command·line·arguments·to·provide·input·and·run-time·options··class·Args··public··std··string·inputObjFile··std··string·outputObjFile··Sdc··SchemeType·schemeType··float·tessInterval··int·tessRateMax··bool·useHullFlag··bool·tessQuadsFlag··public··Args··int·argc·,·char··argv···inputObjFile·,·outputObjFile·,·schemeType··Sdc··SCHEME_CATMARK·,·tessInterval··0.0f·,·tessRateMax··10·,·useHullFlag··false·,·tessQuadsFlag··false···for··int·i··1··i··argc···i···if··strstr··argv··i·,·.obj···if··inputObjFile·.·empty···inputObjFile··std··string··argv··i···else··fprintf··stderr·,·Warning·Extra·Obj·file·s·ignored·n··,·argv··i····else·if···strcmp··argv··i·,·-o···if···i··argc··outputObjFile··std··string··argv··i···else·if···strcmp··argv··i·,·-bilinear···schemeType··Sdc··SCHEME_BILINEAR···else·if···strcmp··argv··i·,·-catmark···schemeType··Sdc··SCHEME_CATMARK···else·if···strcmp··argv··i·,·-loop···schemeType··Sdc··SCHEME_LOOP···else·if···strcmp··argv··i·,·-length···if···i··argc··tessInterval···float··atof··argv··i···else·if···strcmp··argv··i·,·-max···if···i··argc··tessRateMax··atoi··argv··i···else·if···strcmp··argv··i·,·-hull···useHullFlag··true···else·if···strcmp··argv··i·,·-quads···tessQuadsFlag··true···else··fprintf··stderr·,·Warning·Unrecognized·argument·s·ignored·n··,·argv··i·····private··Args·······Local·trivial·functions·for·simple·edge·length·calculations·and·the··determination·of·associated·tessellation·rates··inline·float·EdgeLength··float·const··v0·,·float·const··v1···float·dv··3··dv··0···std··abs··v0··0··-·v1··0··dv··1···std··abs··v0··1··-·v1··1··dv··2···std··abs··v0··2··-·v1··2··return·std··sqrt··dv··0···dv··0···dv··1···dv··1···dv··2···dv··2···float·FindLongestEdge··Far··TopologyRefiner·const··mesh·,·std··vector··float··const··vertPos·,·int·pointSize···float·maxLength··0.0f··int·numEdges··mesh·.·GetLevel··0·.·GetNumEdges··for··int·i··0··i··numEdges···i···Far··ConstIndexArray·edgeVerts··mesh·.·GetLevel··0·.·GetEdgeVertices··i··float·edgeLength··EdgeLength···vertPos··edgeVerts··0···pointSize·,··vertPos··edgeVerts··1···pointSize··maxLength··std··max··maxLength·,·edgeLength···return·maxLength···void·GetEdgeTessRates··std··vector··float··const··vertPos·,·int·pointSize·,·Args·const··options·,·int··edgeRates···int·numEdges···int··vertPos·.·size···pointSize··for··int·i··0··i··numEdges···i···int·j···i··1···numEdges··float·edgeLength··EdgeLength···vertPos··i··pointSize·,··vertPos··j··pointSize··edgeRates··i···1···int··edgeLength··options·.·tessInterval··edgeRates··i···std··min··edgeRates··i·,·options·.·tessRateMax······The·main·tessellation·function·given·a·mesh·and·vertex·positions,··tessellate·each·face·--·writing·results·in·Obj·format.··void·tessellateToObj··Far··TopologyRefiner·const··meshTopology·,·std··vector··float··const··meshVertexPositions·,·Args·const··options·····Use·simpler·local·type·names·for·the·Surface·and·its·factory··typedef·Bfr··RefinerSurfaceFactory··SurfaceFactory··typedef·Bfr··Surface··float··Surface····Initialize·the·SurfaceFactory·for·the·given·base·mesh·very·low··cost·in·terms·of·both·time·and·space·and·tessellate·each·face··independently·i.e.·no·shared·vertices···Note·that·the·SurfaceFactory·is·not·thread-safe·by·default·due·to··use·of·an·internal·cache.·Creating·a·separate·instance·of·the··SurfaceFactory·for·each·thread·is·one·way·to·safely·parallelize··this·loop.·Another·preferred·is·to·assign·a·thread-safe·cache··to·the·single·instance.···First·declare·any·evaluation·options·when·initializing·though··none·are·used·in·this·simple·case··SurfaceFactory··Options·surfaceOptions··SurfaceFactory·meshSurfaceFactory··meshTopology·,·surfaceOptions····The·Surface·to·be·constructed·and·evaluated·for·each·face·--·as··well·as·the·intermediate·and·output·data·associated·with·it·--·can··be·declared·in·the·scope·local·to·each·face.·But·since·dynamic··memory·is·involved·with·these·variables,·it·is·preferred·to·declare··them·outside·that·loop·to·preserve·and·reuse·that·dynamic·memory.··Surface·faceSurface··std··vector··float··facePatchPoints··std··vector··int··faceTessRates··std··vector··float··outCoords··std··vector··float··outPos·,·outDu·,·outDv··std··vector··int··outFacets····Assign·Tessellation·Options·applied·for·all·faces.·Tessellations··allow·the·creating·of·either·3-·or·4-sided·faces·--·both·of·which··are·supported·here·via·a·command·line·option··int·const·tessFacetSize··3··options·.·tessQuadsFlag··Bfr··Tessellation··Options·tessOptions··tessOptions·.·SetFacetSize··tessFacetSize··tessOptions·.·PreserveQuads··options·.·tessQuadsFlag····Process·each·face,·writing·the·output·of·each·in·Obj·format··tutorial··ObjWriter·objWriter··options·.·outputObjFile··int·numFaces··meshSurfaceFactory·.·GetNumFaces··for··int·faceIndex··0··faceIndex··numFaces···faceIndex·····Initialize·the·Surface·for·this·face·--·if·valid·skipping··holes·and·boundary·faces·in·some·rare·cases··if···meshSurfaceFactory·.·InitVertexSurface··faceIndex·,··faceSurface···continue·····Prepare·the·Surface·patch·points·first·as·it·may·be·evaluated··to·determine·suitable·edge-rates·for·Tessellation··int·pointSize··3··facePatchPoints·.·resize··faceSurface·.·GetNumPatchPoints···pointSize··faceSurface·.·PreparePatchPoints··meshVertexPositions·.·data·,·pointSize·,·facePatchPoints·.·data·,·pointSize····For·each·of·the·N·edges·of·the·face,·a·tessellation·rate·is··determined·to·initialize·a·non-uniform·Tessellation·pattern.···Many·metrics·are·possible·--·some·based·on·the·geometry·itself··size,·curvature,·others·dependent·on·viewpoint·screen·space··size,·center·of·view,·etc.·and·many·more.·Simple·techniques··are·chosen·here·for·illustration·and·can·easily·be·replaced.···Here·two·methods·are·shown·using·lengths·between·the·corners·of··the·face·--·the·first·using·the·vertex·positions·of·the·face·and··the·second·using·points·evaluated·at·the·corners·of·its·limit··surface.·Use·of·the·control·hull·is·more·efficient·avoiding·the··evaluation·but·may·prove·less·effective·in·some·cases·though··both·estimates·have·their·limitations.··int·N··faceSurface·.·GetFaceSize···Use·the·output·array·temporarily·to·hold·the·N·positions·outPos·.·resize··N··pointSize··if··options·.·useHullFlag···Far··ConstIndexArray·verts··meshTopology·.·GetLevel··0·.·GetFaceVertices··faceIndex··for··int·i··0·,·j··0··i··N···i·,·j··pointSize···float·const··vPos···meshVertexPositions··verts··i···pointSize··outPos··j···vPos··0··outPos··j··1···vPos··1··outPos··j··2···vPos··2····else··Bfr··Parameterization·faceParam··faceSurface·.·GetParameterization··for··int·i··0·,·j··0··i··N···i·,·j··pointSize···float·uv··2··faceParam·.·GetVertexCoord··i·,·uv··faceSurface·.·Evaluate··uv·,·facePatchPoints·.·data·,·pointSize·,··outPos··j····faceTessRates·.·resize··N··GetEdgeTessRates··outPos·,·pointSize·,·options·,·faceTessRates·.·data····Declare·a·non-uniform·Tessellation·using·the·rates·for·each··edge·and·identify·coordinates·of·the·points·to·evaluate···Additional·interior·rates·can·be·optionally·provided·2·for··quads,·1·for·others·but·will·be·inferred·in·their·absence.··Bfr··Tessellation·tessPattern··faceSurface·.·GetParameterization·,·N·,·faceTessRates·.·data·,·tessOptions··int·numOutCoords··tessPattern·.·GetNumCoords··outCoords·.·resize··numOutCoords··2··tessPattern·.·GetCoords··outCoords·.·data····Resize·the·output·arrays·and·evaluate··outPos·.·resize··numOutCoords··pointSize··outDu·.·resize··numOutCoords··pointSize··outDv·.·resize··numOutCoords··pointSize··for··int·i··0·,·j··0··i··numOutCoords···i·,·j··pointSize···faceSurface·.·Evaluate···outCoords··i··2·,·facePatchPoints·.·data·,·pointSize·,··outPos··j·,··outDu··j·,··outDv··j·····Identify·the·faces·of·the·Tessellation···Note·the·need·to·offset·vertex·indices·for·the·output·faces·--··using·the·number·of·vertices·generated·prior·to·this·face.·One··of·several·Tessellation·methods·to·transform·the·facet·indices··simply·translates·all·indices·by·the·desired·offset.··int·objVertexIndexOffset··objWriter·.·GetNumVertices··int·numFacets··tessPattern·.·GetNumFacets··outFacets·.·resize··numFacets··tessFacetSize··tessPattern·.·GetFacets··outFacets·.·data··tessPattern·.·TransformFacetCoordIndices··outFacets·.·data·,·objVertexIndexOffset····Write·the·evaluated·points·and·faces·connecting·them·as·Obj··objWriter·.·WriteGroupName··baseFace_·,·faceIndex··objWriter·.·WriteVertexPositions··outPos··objWriter·.·WriteVertexNormals··outDu·,·outDv··objWriter·.·WriteFaces··outFacets·,·tessFacetSize·,·true·,·false······Load·command·line·arguments,·specified·or·default·geometry·and·process··int·main··int·argc·,·char··argv···Args·args··argc·,·argv··Far··TopologyRefiner··meshTopology··0··std··vector··float··meshVtxPositions··std··vector··float··meshFVarUVs··meshTopology··tutorial··createTopologyRefiner··args·.·inputObjFile·,·args·.·schemeType·,·meshVtxPositions·,·meshFVarUVs··if··meshTopology··0···return·EXIT_FAILURE·····If·no·interval·length·was·specified,·set·one·by·finding·the·longest··edge·of·the·mesh·and·dividing·it·by·the·maximum·tessellation·rate··if··args·.·tessInterval··0.0f···args·.·tessInterval··FindLongestEdge···meshTopology·,·meshVtxPositions·,·3····float··args·.·tessRateMax···tessellateToObj···meshTopology·,·meshVtxPositions·,·args··delete·meshTopology··return·EXIT_SUCCESS···------------------------------------------------------------------------------·Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", |
25 | ········"tags":·"", | 25 | ········"tags":·"", |
26 | ········"loc":·"bfr_tutorial_2_1.html" | 26 | ········"loc":·"bfr_tutorial_2_1.html" |
27 | ····},·{ | 27 | ····},·{ |
28 | ········"title":·"bfr_tutorial_1_4.cpp", | ||
29 | ········"text":·"bfr_tutorial_1_4.cpp·bfr_tutorial_1_4.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsbfrtutorial_1_4bfr_tutorial_1_4.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·builds·on·the·previous·tutorial·that·makes·use·of·the··SurfaceFactory,·Surface·and·Tessellation·classes·for·evaluating·and··tessellating·the·limit·surface·of·faces·of·a·mesh·by·illustrating··how·the·presence·of·additional·data·in·the·mesh·arrays·is·handled.···As·in·the·previous·tutorial,·vertex·positions·and·face-varying·UVs··are·provided·with·the·mesh·to·be·evaluated.·But·here·an·additional··color·is·interleaved·with·the·position·in·the·vertex·data·of·the··mesh·and·a·third·component·is·added·to·face-varying·UV·data·making··it·u,v,w.···To·evaluate·the·position·and·2D·UVs·while·avoiding·the·color·and··unused·third·UV·coordinate,·the·SurfacePointDescriptor·class·is··used·to·describe·the·size·and·stride·of·the·desired·data·to·be··evaluated·in·the·arrays·of·mesh·data.··include·opensubdivfartopologyRefiner.h·include·opensubdivbfrrefinerSurfaceFactory.h·include·opensubdivbfrsurface.h·include·opensubdivbfrtessellation.h·include·vector·include·string·include·cstring·include·cstdio··Local·headers·with·support·for·this·tutorial·in·namespace·tutorial·include·.meshLoader.h·include·.objWriter.h·using·namespace·OpenSubdiv····Simple·command·line·arguments·to·provide·input·and·run-time·options··class·Args··public··std··string·inputObjFile··std··string·outputObjFile··Sdc··SchemeType·schemeType··int·tessUniformRate··bool·tessQuadsFlag··bool·uv2xyzFlag··public··Args··int·argc·,·char··argv···inputObjFile·,·outputObjFile·,·schemeType··Sdc··SCHEME_CATMARK·,·tessUniformRate··5·,·tessQuadsFlag··false·,·uv2xyzFlag··false···for··int·i··1··i··argc···i···if··strstr··argv··i·,·.obj···if··inputObjFile·.·empty···inputObjFile··std··string··argv··i···else··fprintf··stderr·,·Warning·Extra·Obj·file·s·ignored·n··,·argv··i····else·if···strcmp··argv··i·,·-o···if···i··argc··outputObjFile··std··string··argv··i···else·if···strcmp··argv··i·,·-bilinear···schemeType··Sdc··SCHEME_BILINEAR···else·if···strcmp··argv··i·,·-catmark···schemeType··Sdc··SCHEME_CATMARK···else·if···strcmp··argv··i·,·-loop···schemeType··Sdc··SCHEME_LOOP···else·if···strcmp··argv··i·,·-res···if···i··argc··tessUniformRate··atoi··argv··i···else·if···strcmp··argv··i·,·-quads···tessQuadsFlag··true···else·if···strcmp··argv··i·,·-uv2xyz···uv2xyzFlag··true···else··fprintf··stderr·,·Warning·Unrecognized·argument·s·ignored·n··,·argv··i·····private··Args·······The·main·tessellation·function·given·a·mesh·and·vertex·positions,··tessellate·each·face·--·writing·results·in·Obj·format.··void·tessellateToObj··Far··TopologyRefiner·const··meshTopology·,·std··vector··float··const··meshVtxData·,·int·vtxDataSize·,·std··vector··float··const··meshFVarData·,·int·fvarDataSize·,·Args·const··options·····Use·simpler·local·type·names·for·the·Surface·and·its·factory··typedef·Bfr··RefinerSurfaceFactory··SurfaceFactory··typedef·Bfr··Surface··float··Surface··typedef·Surface··PointDescriptor·SurfacePoint····Identify·the·source·positions·and·UVs·within·more·general·data··arrays·for·the·mesh.·If·position·andor·UV·are·not·at·the·start··of·the·vtx·andor·fvar·data,·simply·offset·the·head·of·the·array··here·accordingly··bool·meshHasUVs···meshTopology·.·GetNumFVarChannels···0··float·const··meshPosData··meshVtxData·.·data··SurfacePoint·meshPosPoint··3·,·vtxDataSize··float·const··meshUVData··meshHasUVs··meshFVarData·.·data···0··SurfacePoint·meshUVPoint··2·,·fvarDataSize····Initialize·the·SurfaceFactory·for·the·given·base·mesh·very·low··cost·in·terms·of·both·time·and·space·and·tessellate·each·face··independently·i.e.·no·shared·vertices···Note·that·the·SurfaceFactory·is·not·thread-safe·by·default·due·to··use·of·an·internal·cache.·Creating·a·separate·instance·of·the··SurfaceFactory·for·each·thread·is·one·way·to·safely·parallelize··this·loop.·Another·preferred·is·to·assign·a·thread-safe·cache··to·the·single·instance.···First·declare·any·evaluation·options·when·initializing···When·dealing·with·face-varying·data,·an·identifier·is·necessary··when·constructing·Surfaces·in·order·to·distinguish·the·different··face-varying·data·channels.·To·avoid·repeatedly·specifying·that··identifier·when·only·one·is·present·or·of·interest,·it·can·be··specified·via·the·Options.··SurfaceFactory··Options·surfaceOptions··if··meshHasUVs···surfaceOptions·.·SetDefaultFVarID··0···SurfaceFactory·surfaceFactory··meshTopology·,·surfaceOptions····The·Surface·to·be·constructed·and·evaluated·for·each·face·--·as··well·as·the·intermediate·and·output·data·associated·with·it·--·can··be·declared·in·the·scope·local·to·each·face.·But·since·dynamic··memory·is·involved·with·these·variables,·it·is·preferred·to·declare··them·outside·that·loop·to·preserve·and·reuse·that·dynamic·memory.··Surface·posSurface··Surface·uvSurface··std··vector··float··facePatchPoints··std··vector··float··outCoords··std··vector··float··outPos·,·outDu·,·outDv··std··vector··float··outUV··std··vector··int··outFacets····Assign·Tessellation·Options·applied·for·all·faces.·Tessellations··allow·the·creating·of·either·3-·or·4-sided·faces·--·both·of·which··are·supported·here·via·a·command·line·option··int·const·tessFacetSize··3··options·.·tessQuadsFlag··Bfr··Tessellation··Options·tessOptions··tessOptions·.·SetFacetSize··tessFacetSize··tessOptions·.·PreserveQuads··options·.·tessQuadsFlag····Process·each·face,·writing·the·output·of·each·in·Obj·format··tutorial··ObjWriter·objWriter··options·.·outputObjFile··int·numFaces··surfaceFactory·.·GetNumFaces··for··int·faceIndex··0··faceIndex··numFaces···faceIndex·····Initialize·the·Surfaces·for·position·and·UVs·of·this·face.··There·are·two·ways·to·do·this·--·both·illustrated·here···Creating·Surfaces·for·the·different·data·interpolation·types··independently·is·clear·and·convenient,·but·considerable·work··may·be·duplicated·in·the·construction·process·in·the·case·of··non-linear·face-varying·Surfaces.·So·unless·it·is·known·that··face-varying·interpolation·is·linear,·use·of·InitSurfaces··is·generally·preferred.···Remember·also·that·the·face-varying·identifier·is·omitted·from··the·initialization·methods·here·as·it·was·previously·assigned··to·the·SurfaceFactoryOptions.·In·the·absence·of·an·assignment··of·the·default·FVarID·to·the·Options,·a·failure·to·specify·the··FVarID·here·will·result·in·failure.···The·cases·below·are·expanded·for·illustration·purposes,·and··validity·of·the·resulting·Surface·is·tested·here,·rather·than··the·return·value·of·initialization·methods.··bool·createSurfacesTogether··true··if···meshHasUVs···surfaceFactory·.·InitVertexSurface··faceIndex·,··posSurface···else·if··createSurfacesTogether···surfaceFactory·.·InitSurfaces··faceIndex·,··posSurface·,··uvSurface···else··if··surfaceFactory·.·InitVertexSurface··faceIndex·,··posSurface···surfaceFactory·.·InitFaceVaryingSurface··faceIndex·,··uvSurface····if···posSurface·.·IsValid··continue····Declare·a·simple·uniform·Tessellation·for·the·Parameterization··of·this·face·and·identify·coordinates·of·the·points·to·evaluate··Bfr··Tessellation·tessPattern··posSurface·.·GetParameterization·,·options·.·tessUniformRate·,·tessOptions··int·numOutCoords··tessPattern·.·GetNumCoords··outCoords·.·resize··numOutCoords··2··tessPattern·.·GetCoords··outCoords·.·data····Prepare·the·patch·points·for·the·Surface,·then·use·them·to··evaluate·output·points·for·all·identified·coordinates···Evaluate·vertex·positions···Resize·patch·point·and·output·arrays·int·pointSize··meshPosPoint·.·size··facePatchPoints·.·resize··posSurface·.·GetNumPatchPoints···pointSize··outPos·.·resize··numOutCoords··pointSize··outDu·.·resize··numOutCoords··pointSize··outDv·.·resize··numOutCoords··pointSize···Populate·patch·point·and·output·arrays·float··patchPosData··facePatchPoints·.·data··SurfacePoint·patchPosPoint··pointSize··posSurface·.·PreparePatchPoints··meshPosData·,·meshPosPoint·,·patchPosData·,·patchPosPoint··for··int·i··0·,·j··0··i··numOutCoords···i·,·j··pointSize···posSurface·.·Evaluate···outCoords··i··2·,·patchPosData·,·patchPosPoint·,··outPos··j·,··outDu··j·,··outDv··j·····Evaluate·face-varying·UVs·when·present·if··meshHasUVs····Resize·patch·point·and·output·arrays··-·note·reuse·of·the·same·patch·point·array·as·position·int·pointSize··meshUVPoint·.·size··facePatchPoints·.·resize··uvSurface·.·GetNumPatchPoints···pointSize··outUV·.·resize··numOutCoords··pointSize···Populate·patch·point·and·output·arrays·float··patchUVData··facePatchPoints·.·data··SurfacePoint·patchUVPoint··pointSize··uvSurface·.·PreparePatchPoints··meshUVData·,·meshUVPoint·,·patchUVData·,·patchUVPoint··for··int·i··0·,·j··0··i··numOutCoords···i·,·j··pointSize···uvSurface·.·Evaluate···outCoords··i··2·,·patchUVData·,·patchUVPoint·,··outUV··j······Identify·the·faces·of·the·Tessellation···Note·the·need·to·offset·vertex·indices·for·the·output·faces·--··using·the·number·of·vertices·generated·prior·to·this·face.·One··of·several·Tessellation·methods·to·transform·the·facet·indices··simply·translates·all·indices·by·the·desired·offset.··int·objVertexIndexOffset··objWriter·.·GetNumVertices··int·numFacets··tessPattern·.·GetNumFacets··outFacets·.·resize··numFacets··tessFacetSize··tessPattern·.·GetFacets··outFacets·.·data··tessPattern·.·TransformFacetCoordIndices··outFacets·.·data·,·objVertexIndexOffset····Write·the·evaluated·points·and·faces·connecting·them·as·Obj··objWriter·.·WriteGroupName··baseFace_·,·faceIndex··if··meshHasUVs··options·.·uv2xyzFlag···objWriter·.·WriteVertexPositions··outUV·,·2··objWriter·.·WriteFaces··outFacets·,·tessFacetSize·,·false·,·false···else··objWriter·.·WriteVertexPositions··outPos··objWriter·.·WriteVertexNormals··outDu·,·outDv··if··meshHasUVs···objWriter·.·WriteVertexUVs··outUV···objWriter·.·WriteFaces··outFacets·,·tessFacetSize·,·true·,·meshHasUVs·······Load·command·line·arguments,·specified·or·default·geometry·and·process··int·main··int·argc·,·char··argv···Args·args··argc·,·argv··Far··TopologyRefiner··meshTopology··0··std··vector··float··meshVtxPositions··std··vector··float··meshFVarUVs··meshTopology··tutorial··createTopologyRefiner··args·.·inputObjFile·,·args·.·schemeType·,·meshVtxPositions·,·meshFVarUVs··if··meshTopology··0···return·EXIT_FAILURE·····Expand·the·loaded·position·and·UV·arrays·to·include·additional··data·initialized·with·-1·for·distinction,·e.g.·add·a·4-tuple··for·RGBA·color·to·the·vertex·data·and·add·a·third·field·w··to·the·face-varying·data··int·numPos···int··meshVtxPositions·.·size···3··int·vtxSize··7··std··vector··float··vtxData··numPos··vtxSize·,·-1.0f··for··int·i··0··i··numPos···i···vtxData··i··vtxSize···meshVtxPositions··i··3··vtxData··i··vtxSize··1···meshVtxPositions··i··3··1··vtxData··i··vtxSize··2···meshVtxPositions··i··3··2···int·numUVs···int··meshFVarUVs·.·size···2··int·fvarSize··3··std··vector··float··fvarData··numUVs··fvarSize·,·-1.0f··for··int·i··0··i··numUVs···i···fvarData··i··fvarSize···meshFVarUVs··i··2··fvarData··i··fvarSize··1···meshFVarUVs··i··2··1·····Pass·the·expanded·data·arrays·along·with·their·respective·strides··tessellateToObj···meshTopology·,·vtxData·,·vtxSize·,·fvarData·,·fvarSize·,·args··delete·meshTopology··return·EXIT_SUCCESS···------------------------------------------------------------------------------·Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | ||
30 | ········"tags":·"", | ||
31 | ········"loc":·"bfr_tutorial_1_4.html" | ||
32 | ····},·{ | ||
33 | ········"title":·"bfr_tutorial_1_5.cpp", | 28 | ········"title":·"bfr_tutorial_1_5.cpp", |
34 | ········"text":·"bfr_tutorial_1_5.cpp·bfr_tutorial_1_5.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsbfrtutorial_1_5bfr_tutorial_1_5.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·is·an·alternative·to·an·earlier·tutorial·that·showed··uniform·tessellation.·This·version·differs·by·evaluating·the·points··of·the·tessellation·using·limit·stencils·instead·of·the·standard··Surface·evaluation·methods.···Limit·stencils·factor·the·evaluation·into·a·set·of·coefficients·for··each·control·point·affecting·the·Surface.··include·opensubdivfartopologyRefiner.h·include·opensubdivbfrrefinerSurfaceFactory.h·include·opensubdivbfrsurface.h·include·opensubdivbfrtessellation.h·include·vector·include·string·include·cstring·include·cstdio··Local·headers·with·support·for·this·tutorial·in·namespace·tutorial·include·.meshLoader.h·include·.objWriter.h·using·namespace·OpenSubdiv····Simple·command·line·arguments·to·provide·input·and·run-time·options··class·Args··public··std··string·inputObjFile··std··string·outputObjFile··Sdc··SchemeType·schemeType··int·tessUniformRate··bool·tessQuadsFlag··public··Args··int·argc·,·char··argv···inputObjFile·,·outputObjFile·,·schemeType··Sdc··SCHEME_CATMARK·,·tessUniformRate··5·,·tessQuadsFlag··false···for··int·i··1··i··argc···i···if··strstr··argv··i·,·.obj···if··inputObjFile·.·empty···inputObjFile··std··string··argv··i···else··fprintf··stderr·,·Warning·Extra·Obj·file·s·ignored·n··,·argv··i····else·if···strcmp··argv··i·,·-o···if···i··argc··outputObjFile··std··string··argv··i···else·if···strcmp··argv··i·,·-bilinear···schemeType··Sdc··SCHEME_BILINEAR···else·if···strcmp··argv··i·,·-catmark···schemeType··Sdc··SCHEME_CATMARK···else·if···strcmp··argv··i·,·-loop···schemeType··Sdc··SCHEME_LOOP···else·if···strcmp··argv··i·,·-res···if···i··argc··tessUniformRate··atoi··argv··i···else·if···strcmp··argv··i·,·-quads···tessQuadsFlag··true···else··fprintf··stderr·,·Warning·Unrecognized·argument·s·ignored·n··,·argv··i·····private··Args·······The·main·tessellation·function·given·a·mesh·and·vertex·positions,··tessellate·each·face·--·writing·results·in·Obj·format.··void·tessellateToObj··Far··TopologyRefiner·const··meshTopology·,·std··vector··float··const··meshVertexPositions·,·Args·const··options·····Use·simpler·local·type·names·for·the·Surface·and·its·factory··typedef·Bfr··RefinerSurfaceFactory··SurfaceFactory··typedef·Bfr··Surface··float··Surface····Initialize·the·SurfaceFactory·for·the·given·base·mesh·very·low··cost·in·terms·of·both·time·and·space·and·tessellate·each·face··independently·i.e.·no·shared·vertices···Note·that·the·SurfaceFactory·is·not·thread-safe·by·default·due·to··use·of·an·internal·cache.·Creating·a·separate·instance·of·the··SurfaceFactory·for·each·thread·is·one·way·to·safely·parallelize··this·loop.·Another·preferred·is·to·assign·a·thread-safe·cache··to·the·single·instance.···First·declare·any·evaluation·options·when·initializing·though··none·are·used·in·this·simple·case··SurfaceFactory··Options·surfaceOptions··SurfaceFactory·meshSurfaceFactory··meshTopology·,·surfaceOptions····The·Surface·to·be·constructed·and·evaluated·for·each·face·--·as··well·as·the·intermediate·and·output·data·associated·with·it·--·can··be·declared·in·the·scope·local·to·each·face.·But·since·dynamic··memory·is·involved·with·these·variables,·it·is·preferred·to·declare··them·outside·that·loop·to·preserve·and·reuse·that·dynamic·memory.··Surface·faceSurface··std··vector··float··faceControlPoints··std··vector··float··limitStencils··std··vector··float··outCoords··std··vector··float··outPos·,·outDu·,·outDv··std··vector··int··outFacets····Assign·Tessellation·Options·applied·for·all·faces.·Tessellations··allow·the·creating·of·either·3-·or·4-sided·faces·--·both·of·which··are·supported·here·via·a·command·line·option··int·const·tessFacetSize··3··options·.·tessQuadsFlag··Bfr··Tessellation··Options·tessOptions··tessOptions·.·SetFacetSize··tessFacetSize··tessOptions·.·PreserveQuads··options·.·tessQuadsFlag····Process·each·face,·writing·the·output·of·each·in·Obj·format··tutorial··ObjWriter·objWriter··options·.·outputObjFile··int·numFaces··meshSurfaceFactory·.·GetNumFaces··for··int·faceIndex··0··faceIndex··numFaces···faceIndex·····Initialize·the·Surface·for·this·face·--·if·valid·skipping··holes·and·boundary·faces·in·some·rare·cases··if···meshSurfaceFactory·.·InitVertexSurface··faceIndex·,··faceSurface···continue·····Resize·stencils·and·control·point·arrays·based·on·the·number··of·control·points·for·the·Surface··int·numControlPoints··faceSurface·.·GetNumControlPoints··limitStencils·.·resize··3··numControlPoints··float··pStencil··limitStencils·.·data··float··duStencil··limitStencils·.·data···numControlPoints··float··dvStencil··limitStencils·.·data···numControlPoints··2····Limit·stencils·can·be·applied·using·the·control·points·in·a··local·array·or·directy·from·the·mesh.·Both·are·shown·here,·so··if·using·the·local·array,·resize·and·populate·it··bool·gatherControlPoints··true··if··gatherControlPoints···faceControlPoints·.·resize··numControlPoints··3··faceSurface·.·GatherControlPoints··meshVertexPositions·.·data·,·3·,·faceControlPoints·.·data·,·3·····Declare·a·simple·uniform·Tessellation·for·the·Parameterization··of·this·face·and·identify·coordinates·of·the·points·to·evaluate··Bfr··Tessellation·tessPattern··faceSurface·.·GetParameterization·,·options·.·tessUniformRate·,·tessOptions··int·numOutCoords··tessPattern·.·GetNumCoords··outCoords·.·resize··numOutCoords··2··tessPattern·.·GetCoords··outCoords·.·data····Evaluate·and·apply·stencils·to·compute·points·of·the·tessellation··outPos·.·resize··numOutCoords··3··outDu·.·resize··numOutCoords··3··outDv·.·resize··numOutCoords··3··for··int·i··0··i··numOutCoords···i···float·const··uv··outCoords·.·data···i··2··faceSurface·.·EvaluateStencil··uv·,·pStencil·,·duStencil·,·dvStencil··float··p··outPos·.·data···i··3··float··du··outDu·.·data···i··3··float··dv··outDv·.·data···i··3··if··gatherControlPoints···float·const··controlPoints··faceControlPoints·.·data··faceSurface·.·ApplyStencil··pStencil·,·controlPoints·,·3·,·p··faceSurface·.·ApplyStencil··duStencil·,·controlPoints·,·3·,·du··faceSurface·.·ApplyStencil··dvStencil·,·controlPoints·,·3·,·dv···else··float·const··meshPoints··meshVertexPositions·.·data··faceSurface·.·ApplyStencilFromMesh··pStencil·,·meshPoints·,·3·,·p··faceSurface·.·ApplyStencilFromMesh··duStencil·,·meshPoints·,·3·,·du··faceSurface·.·ApplyStencilFromMesh··dvStencil·,·meshPoints·,·3·,·dv······Identify·the·faces·of·the·Tessellation···Note·the·need·to·offset·vertex·indices·for·the·output·faces·--··using·the·number·of·vertices·generated·prior·to·this·face.·One··of·several·Tessellation·methods·to·transform·the·facet·indices··simply·translates·all·indices·by·the·desired·offset.··int·objVertexIndexOffset··objWriter·.·GetNumVertices··int·numFacets··tessPattern·.·GetNumFacets··outFacets·.·resize··numFacets··tessFacetSize··tessPattern·.·GetFacets··outFacets·.·data··tessPattern·.·TransformFacetCoordIndices··outFacets·.·data·,·objVertexIndexOffset····Write·the·evaluated·points·and·faces·connecting·them·as·Obj··objWriter·.·WriteGroupName··baseFace_·,·faceIndex··objWriter·.·WriteVertexPositions··outPos··objWriter·.·WriteVertexNormals··outDu·,·outDv··objWriter·.·WriteFaces··outFacets·,·tessFacetSize·,·true·,·false······Load·command·line·arguments,·specified·or·default·geometry·and·process··int·main··int·argc·,·char··argv···Args·args··argc·,·argv··Far··TopologyRefiner··meshTopology··0··std··vector··float··meshVtxPositions··std··vector··float··meshFVarUVs··meshTopology··tutorial··createTopologyRefiner··args·.·inputObjFile·,·args·.·schemeType·,·meshVtxPositions·,·meshFVarUVs··if··meshTopology··0···return·EXIT_FAILURE···tessellateToObj···meshTopology·,·meshVtxPositions·,·args··delete·meshTopology··return·EXIT_SUCCESS···------------------------------------------------------------------------------·Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | 29 | ········"text":·"bfr_tutorial_1_5.cpp·bfr_tutorial_1_5.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsbfrtutorial_1_5bfr_tutorial_1_5.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·is·an·alternative·to·an·earlier·tutorial·that·showed··uniform·tessellation.·This·version·differs·by·evaluating·the·points··of·the·tessellation·using·limit·stencils·instead·of·the·standard··Surface·evaluation·methods.···Limit·stencils·factor·the·evaluation·into·a·set·of·coefficients·for··each·control·point·affecting·the·Surface.··include·opensubdivfartopologyRefiner.h·include·opensubdivbfrrefinerSurfaceFactory.h·include·opensubdivbfrsurface.h·include·opensubdivbfrtessellation.h·include·vector·include·string·include·cstring·include·cstdio··Local·headers·with·support·for·this·tutorial·in·namespace·tutorial·include·.meshLoader.h·include·.objWriter.h·using·namespace·OpenSubdiv····Simple·command·line·arguments·to·provide·input·and·run-time·options··class·Args··public··std··string·inputObjFile··std··string·outputObjFile··Sdc··SchemeType·schemeType··int·tessUniformRate··bool·tessQuadsFlag··public··Args··int·argc·,·char··argv···inputObjFile·,·outputObjFile·,·schemeType··Sdc··SCHEME_CATMARK·,·tessUniformRate··5·,·tessQuadsFlag··false···for··int·i··1··i··argc···i···if··strstr··argv··i·,·.obj···if··inputObjFile·.·empty···inputObjFile··std··string··argv··i···else··fprintf··stderr·,·Warning·Extra·Obj·file·s·ignored·n··,·argv··i····else·if···strcmp··argv··i·,·-o···if···i··argc··outputObjFile··std··string··argv··i···else·if···strcmp··argv··i·,·-bilinear···schemeType··Sdc··SCHEME_BILINEAR···else·if···strcmp··argv··i·,·-catmark···schemeType··Sdc··SCHEME_CATMARK···else·if···strcmp··argv··i·,·-loop···schemeType··Sdc··SCHEME_LOOP···else·if···strcmp··argv··i·,·-res···if···i··argc··tessUniformRate··atoi··argv··i···else·if···strcmp··argv··i·,·-quads···tessQuadsFlag··true···else··fprintf··stderr·,·Warning·Unrecognized·argument·s·ignored·n··,·argv··i·····private··Args·······The·main·tessellation·function·given·a·mesh·and·vertex·positions,··tessellate·each·face·--·writing·results·in·Obj·format.··void·tessellateToObj··Far··TopologyRefiner·const··meshTopology·,·std··vector··float··const··meshVertexPositions·,·Args·const··options·····Use·simpler·local·type·names·for·the·Surface·and·its·factory··typedef·Bfr··RefinerSurfaceFactory··SurfaceFactory··typedef·Bfr··Surface··float··Surface····Initialize·the·SurfaceFactory·for·the·given·base·mesh·very·low··cost·in·terms·of·both·time·and·space·and·tessellate·each·face··independently·i.e.·no·shared·vertices···Note·that·the·SurfaceFactory·is·not·thread-safe·by·default·due·to··use·of·an·internal·cache.·Creating·a·separate·instance·of·the··SurfaceFactory·for·each·thread·is·one·way·to·safely·parallelize··this·loop.·Another·preferred·is·to·assign·a·thread-safe·cache··to·the·single·instance.···First·declare·any·evaluation·options·when·initializing·though··none·are·used·in·this·simple·case··SurfaceFactory··Options·surfaceOptions··SurfaceFactory·meshSurfaceFactory··meshTopology·,·surfaceOptions····The·Surface·to·be·constructed·and·evaluated·for·each·face·--·as··well·as·the·intermediate·and·output·data·associated·with·it·--·can··be·declared·in·the·scope·local·to·each·face.·But·since·dynamic··memory·is·involved·with·these·variables,·it·is·preferred·to·declare··them·outside·that·loop·to·preserve·and·reuse·that·dynamic·memory.··Surface·faceSurface··std··vector··float··faceControlPoints··std··vector··float··limitStencils··std··vector··float··outCoords··std··vector··float··outPos·,·outDu·,·outDv··std··vector··int··outFacets····Assign·Tessellation·Options·applied·for·all·faces.·Tessellations··allow·the·creating·of·either·3-·or·4-sided·faces·--·both·of·which··are·supported·here·via·a·command·line·option··int·const·tessFacetSize··3··options·.·tessQuadsFlag··Bfr··Tessellation··Options·tessOptions··tessOptions·.·SetFacetSize··tessFacetSize··tessOptions·.·PreserveQuads··options·.·tessQuadsFlag····Process·each·face,·writing·the·output·of·each·in·Obj·format··tutorial··ObjWriter·objWriter··options·.·outputObjFile··int·numFaces··meshSurfaceFactory·.·GetNumFaces··for··int·faceIndex··0··faceIndex··numFaces···faceIndex·····Initialize·the·Surface·for·this·face·--·if·valid·skipping··holes·and·boundary·faces·in·some·rare·cases··if···meshSurfaceFactory·.·InitVertexSurface··faceIndex·,··faceSurface···continue·····Resize·stencils·and·control·point·arrays·based·on·the·number··of·control·points·for·the·Surface··int·numControlPoints··faceSurface·.·GetNumControlPoints··limitStencils·.·resize··3··numControlPoints··float··pStencil··limitStencils·.·data··float··duStencil··limitStencils·.·data···numControlPoints··float··dvStencil··limitStencils·.·data···numControlPoints··2····Limit·stencils·can·be·applied·using·the·control·points·in·a··local·array·or·directy·from·the·mesh.·Both·are·shown·here,·so··if·using·the·local·array,·resize·and·populate·it··bool·gatherControlPoints··true··if··gatherControlPoints···faceControlPoints·.·resize··numControlPoints··3··faceSurface·.·GatherControlPoints··meshVertexPositions·.·data·,·3·,·faceControlPoints·.·data·,·3·····Declare·a·simple·uniform·Tessellation·for·the·Parameterization··of·this·face·and·identify·coordinates·of·the·points·to·evaluate··Bfr··Tessellation·tessPattern··faceSurface·.·GetParameterization·,·options·.·tessUniformRate·,·tessOptions··int·numOutCoords··tessPattern·.·GetNumCoords··outCoords·.·resize··numOutCoords··2··tessPattern·.·GetCoords··outCoords·.·data····Evaluate·and·apply·stencils·to·compute·points·of·the·tessellation··outPos·.·resize··numOutCoords··3··outDu·.·resize··numOutCoords··3··outDv·.·resize··numOutCoords··3··for··int·i··0··i··numOutCoords···i···float·const··uv··outCoords·.·data···i··2··faceSurface·.·EvaluateStencil··uv·,·pStencil·,·duStencil·,·dvStencil··float··p··outPos·.·data···i··3··float··du··outDu·.·data···i··3··float··dv··outDv·.·data···i··3··if··gatherControlPoints···float·const··controlPoints··faceControlPoints·.·data··faceSurface·.·ApplyStencil··pStencil·,·controlPoints·,·3·,·p··faceSurface·.·ApplyStencil··duStencil·,·controlPoints·,·3·,·du··faceSurface·.·ApplyStencil··dvStencil·,·controlPoints·,·3·,·dv···else··float·const··meshPoints··meshVertexPositions·.·data··faceSurface·.·ApplyStencilFromMesh··pStencil·,·meshPoints·,·3·,·p··faceSurface·.·ApplyStencilFromMesh··duStencil·,·meshPoints·,·3·,·du··faceSurface·.·ApplyStencilFromMesh··dvStencil·,·meshPoints·,·3·,·dv······Identify·the·faces·of·the·Tessellation···Note·the·need·to·offset·vertex·indices·for·the·output·faces·--··using·the·number·of·vertices·generated·prior·to·this·face.·One··of·several·Tessellation·methods·to·transform·the·facet·indices··simply·translates·all·indices·by·the·desired·offset.··int·objVertexIndexOffset··objWriter·.·GetNumVertices··int·numFacets··tessPattern·.·GetNumFacets··outFacets·.·resize··numFacets··tessFacetSize··tessPattern·.·GetFacets··outFacets·.·data··tessPattern·.·TransformFacetCoordIndices··outFacets·.·data·,·objVertexIndexOffset····Write·the·evaluated·points·and·faces·connecting·them·as·Obj··objWriter·.·WriteGroupName··baseFace_·,·faceIndex··objWriter·.·WriteVertexPositions··outPos··objWriter·.·WriteVertexNormals··outDu·,·outDv··objWriter·.·WriteFaces··outFacets·,·tessFacetSize·,·true·,·false······Load·command·line·arguments,·specified·or·default·geometry·and·process··int·main··int·argc·,·char··argv···Args·args··argc·,·argv··Far··TopologyRefiner··meshTopology··0··std··vector··float··meshVtxPositions··std··vector··float··meshFVarUVs··meshTopology··tutorial··createTopologyRefiner··args·.·inputObjFile·,·args·.·schemeType·,·meshVtxPositions·,·meshFVarUVs··if··meshTopology··0···return·EXIT_FAILURE···tessellateToObj···meshTopology·,·meshVtxPositions·,·args··delete·meshTopology··return·EXIT_SUCCESS···------------------------------------------------------------------------------·Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", |
35 | ········"tags":·"", | 30 | ········"tags":·"", |
36 | ········"loc":·"bfr_tutorial_1_5.html" | 31 | ········"loc":·"bfr_tutorial_1_5.html" |
37 | ····},·{ | 32 | ····},·{ |
33 | ········"title":·"bfr_tutorial_1_4.cpp", | ||
34 | ········"text":·"bfr_tutorial_1_4.cpp·bfr_tutorial_1_4.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsbfrtutorial_1_4bfr_tutorial_1_4.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·builds·on·the·previous·tutorial·that·makes·use·of·the··SurfaceFactory,·Surface·and·Tessellation·classes·for·evaluating·and··tessellating·the·limit·surface·of·faces·of·a·mesh·by·illustrating··how·the·presence·of·additional·data·in·the·mesh·arrays·is·handled.···As·in·the·previous·tutorial,·vertex·positions·and·face-varying·UVs··are·provided·with·the·mesh·to·be·evaluated.·But·here·an·additional··color·is·interleaved·with·the·position·in·the·vertex·data·of·the··mesh·and·a·third·component·is·added·to·face-varying·UV·data·making··it·u,v,w.···To·evaluate·the·position·and·2D·UVs·while·avoiding·the·color·and··unused·third·UV·coordinate,·the·SurfacePointDescriptor·class·is··used·to·describe·the·size·and·stride·of·the·desired·data·to·be··evaluated·in·the·arrays·of·mesh·data.··include·opensubdivfartopologyRefiner.h·include·opensubdivbfrrefinerSurfaceFactory.h·include·opensubdivbfrsurface.h·include·opensubdivbfrtessellation.h·include·vector·include·string·include·cstring·include·cstdio··Local·headers·with·support·for·this·tutorial·in·namespace·tutorial·include·.meshLoader.h·include·.objWriter.h·using·namespace·OpenSubdiv····Simple·command·line·arguments·to·provide·input·and·run-time·options··class·Args··public··std··string·inputObjFile··std··string·outputObjFile··Sdc··SchemeType·schemeType··int·tessUniformRate··bool·tessQuadsFlag··bool·uv2xyzFlag··public··Args··int·argc·,·char··argv···inputObjFile·,·outputObjFile·,·schemeType··Sdc··SCHEME_CATMARK·,·tessUniformRate··5·,·tessQuadsFlag··false·,·uv2xyzFlag··false···for··int·i··1··i··argc···i···if··strstr··argv··i·,·.obj···if··inputObjFile·.·empty···inputObjFile··std··string··argv··i···else··fprintf··stderr·,·Warning·Extra·Obj·file·s·ignored·n··,·argv··i····else·if···strcmp··argv··i·,·-o···if···i··argc··outputObjFile··std··string··argv··i···else·if···strcmp··argv··i·,·-bilinear···schemeType··Sdc··SCHEME_BILINEAR···else·if···strcmp··argv··i·,·-catmark···schemeType··Sdc··SCHEME_CATMARK···else·if···strcmp··argv··i·,·-loop···schemeType··Sdc··SCHEME_LOOP···else·if···strcmp··argv··i·,·-res···if···i··argc··tessUniformRate··atoi··argv··i···else·if···strcmp··argv··i·,·-quads···tessQuadsFlag··true···else·if···strcmp··argv··i·,·-uv2xyz···uv2xyzFlag··true···else··fprintf··stderr·,·Warning·Unrecognized·argument·s·ignored·n··,·argv··i·····private··Args·······The·main·tessellation·function·given·a·mesh·and·vertex·positions,··tessellate·each·face·--·writing·results·in·Obj·format.··void·tessellateToObj··Far··TopologyRefiner·const··meshTopology·,·std··vector··float··const··meshVtxData·,·int·vtxDataSize·,·std··vector··float··const··meshFVarData·,·int·fvarDataSize·,·Args·const··options·····Use·simpler·local·type·names·for·the·Surface·and·its·factory··typedef·Bfr··RefinerSurfaceFactory··SurfaceFactory··typedef·Bfr··Surface··float··Surface··typedef·Surface··PointDescriptor·SurfacePoint····Identify·the·source·positions·and·UVs·within·more·general·data··arrays·for·the·mesh.·If·position·andor·UV·are·not·at·the·start··of·the·vtx·andor·fvar·data,·simply·offset·the·head·of·the·array··here·accordingly··bool·meshHasUVs···meshTopology·.·GetNumFVarChannels···0··float·const··meshPosData··meshVtxData·.·data··SurfacePoint·meshPosPoint··3·,·vtxDataSize··float·const··meshUVData··meshHasUVs··meshFVarData·.·data···0··SurfacePoint·meshUVPoint··2·,·fvarDataSize····Initialize·the·SurfaceFactory·for·the·given·base·mesh·very·low··cost·in·terms·of·both·time·and·space·and·tessellate·each·face··independently·i.e.·no·shared·vertices···Note·that·the·SurfaceFactory·is·not·thread-safe·by·default·due·to··use·of·an·internal·cache.·Creating·a·separate·instance·of·the··SurfaceFactory·for·each·thread·is·one·way·to·safely·parallelize··this·loop.·Another·preferred·is·to·assign·a·thread-safe·cache··to·the·single·instance.···First·declare·any·evaluation·options·when·initializing···When·dealing·with·face-varying·data,·an·identifier·is·necessary··when·constructing·Surfaces·in·order·to·distinguish·the·different··face-varying·data·channels.·To·avoid·repeatedly·specifying·that··identifier·when·only·one·is·present·or·of·interest,·it·can·be··specified·via·the·Options.··SurfaceFactory··Options·surfaceOptions··if··meshHasUVs···surfaceOptions·.·SetDefaultFVarID··0···SurfaceFactory·surfaceFactory··meshTopology·,·surfaceOptions····The·Surface·to·be·constructed·and·evaluated·for·each·face·--·as··well·as·the·intermediate·and·output·data·associated·with·it·--·can··be·declared·in·the·scope·local·to·each·face.·But·since·dynamic··memory·is·involved·with·these·variables,·it·is·preferred·to·declare··them·outside·that·loop·to·preserve·and·reuse·that·dynamic·memory.··Surface·posSurface··Surface·uvSurface··std··vector··float··facePatchPoints··std··vector··float··outCoords··std··vector··float··outPos·,·outDu·,·outDv··std··vector··float··outUV··std··vector··int··outFacets····Assign·Tessellation·Options·applied·for·all·faces.·Tessellations··allow·the·creating·of·either·3-·or·4-sided·faces·--·both·of·which··are·supported·here·via·a·command·line·option··int·const·tessFacetSize··3··options·.·tessQuadsFlag··Bfr··Tessellation··Options·tessOptions··tessOptions·.·SetFacetSize··tessFacetSize··tessOptions·.·PreserveQuads··options·.·tessQuadsFlag····Process·each·face,·writing·the·output·of·each·in·Obj·format··tutorial··ObjWriter·objWriter··options·.·outputObjFile··int·numFaces··surfaceFactory·.·GetNumFaces··for··int·faceIndex··0··faceIndex··numFaces···faceIndex·····Initialize·the·Surfaces·for·position·and·UVs·of·this·face.··There·are·two·ways·to·do·this·--·both·illustrated·here···Creating·Surfaces·for·the·different·data·interpolation·types··independently·is·clear·and·convenient,·but·considerable·work··may·be·duplicated·in·the·construction·process·in·the·case·of··non-linear·face-varying·Surfaces.·So·unless·it·is·known·that··face-varying·interpolation·is·linear,·use·of·InitSurfaces··is·generally·preferred.···Remember·also·that·the·face-varying·identifier·is·omitted·from··the·initialization·methods·here·as·it·was·previously·assigned··to·the·SurfaceFactoryOptions.·In·the·absence·of·an·assignment··of·the·default·FVarID·to·the·Options,·a·failure·to·specify·the··FVarID·here·will·result·in·failure.···The·cases·below·are·expanded·for·illustration·purposes,·and··validity·of·the·resulting·Surface·is·tested·here,·rather·than··the·return·value·of·initialization·methods.··bool·createSurfacesTogether··true··if···meshHasUVs···surfaceFactory·.·InitVertexSurface··faceIndex·,··posSurface···else·if··createSurfacesTogether···surfaceFactory·.·InitSurfaces··faceIndex·,··posSurface·,··uvSurface···else··if··surfaceFactory·.·InitVertexSurface··faceIndex·,··posSurface···surfaceFactory·.·InitFaceVaryingSurface··faceIndex·,··uvSurface····if···posSurface·.·IsValid··continue····Declare·a·simple·uniform·Tessellation·for·the·Parameterization··of·this·face·and·identify·coordinates·of·the·points·to·evaluate··Bfr··Tessellation·tessPattern··posSurface·.·GetParameterization·,·options·.·tessUniformRate·,·tessOptions··int·numOutCoords··tessPattern·.·GetNumCoords··outCoords·.·resize··numOutCoords··2··tessPattern·.·GetCoords··outCoords·.·data····Prepare·the·patch·points·for·the·Surface,·then·use·them·to··evaluate·output·points·for·all·identified·coordinates···Evaluate·vertex·positions···Resize·patch·point·and·output·arrays·int·pointSize··meshPosPoint·.·size··facePatchPoints·.·resize··posSurface·.·GetNumPatchPoints···pointSize··outPos·.·resize··numOutCoords··pointSize··outDu·.·resize··numOutCoords··pointSize··outDv·.·resize··numOutCoords··pointSize···Populate·patch·point·and·output·arrays·float··patchPosData··facePatchPoints·.·data··SurfacePoint·patchPosPoint··pointSize··posSurface·.·PreparePatchPoints··meshPosData·,·meshPosPoint·,·patchPosData·,·patchPosPoint··for··int·i··0·,·j··0··i··numOutCoords···i·,·j··pointSize···posSurface·.·Evaluate···outCoords··i··2·,·patchPosData·,·patchPosPoint·,··outPos··j·,··outDu··j·,··outDv··j·····Evaluate·face-varying·UVs·when·present·if··meshHasUVs····Resize·patch·point·and·output·arrays··-·note·reuse·of·the·same·patch·point·array·as·position·int·pointSize··meshUVPoint·.·size··facePatchPoints·.·resize··uvSurface·.·GetNumPatchPoints···pointSize··outUV·.·resize··numOutCoords··pointSize···Populate·patch·point·and·output·arrays·float··patchUVData··facePatchPoints·.·data··SurfacePoint·patchUVPoint··pointSize··uvSurface·.·PreparePatchPoints··meshUVData·,·meshUVPoint·,·patchUVData·,·patchUVPoint··for··int·i··0·,·j··0··i··numOutCoords···i·,·j··pointSize···uvSurface·.·Evaluate···outCoords··i··2·,·patchUVData·,·patchUVPoint·,··outUV··j······Identify·the·faces·of·the·Tessellation···Note·the·need·to·offset·vertex·indices·for·the·output·faces·--··using·the·number·of·vertices·generated·prior·to·this·face.·One··of·several·Tessellation·methods·to·transform·the·facet·indices··simply·translates·all·indices·by·the·desired·offset.··int·objVertexIndexOffset··objWriter·.·GetNumVertices··int·numFacets··tessPattern·.·GetNumFacets··outFacets·.·resize··numFacets··tessFacetSize··tessPattern·.·GetFacets··outFacets·.·data··tessPattern·.·TransformFacetCoordIndices··outFacets·.·data·,·objVertexIndexOffset····Write·the·evaluated·points·and·faces·connecting·them·as·Obj··objWriter·.·WriteGroupName··baseFace_·,·faceIndex··if··meshHasUVs··options·.·uv2xyzFlag···objWriter·.·WriteVertexPositions··outUV·,·2··objWriter·.·WriteFaces··outFacets·,·tessFacetSize·,·false·,·false···else··objWriter·.·WriteVertexPositions··outPos··objWriter·.·WriteVertexNormals··outDu·,·outDv··if··meshHasUVs···objWriter·.·WriteVertexUVs··outUV···objWriter·.·WriteFaces··outFacets·,·tessFacetSize·,·true·,·meshHasUVs·······Load·command·line·arguments,·specified·or·default·geometry·and·process··int·main··int·argc·,·char··argv···Args·args··argc·,·argv··Far··TopologyRefiner··meshTopology··0··std··vector··float··meshVtxPositions··std··vector··float··meshFVarUVs··meshTopology··tutorial··createTopologyRefiner··args·.·inputObjFile·,·args·.·schemeType·,·meshVtxPositions·,·meshFVarUVs··if··meshTopology··0···return·EXIT_FAILURE·····Expand·the·loaded·position·and·UV·arrays·to·include·additional··data·initialized·with·-1·for·distinction,·e.g.·add·a·4-tuple··for·RGBA·color·to·the·vertex·data·and·add·a·third·field·w··to·the·face-varying·data··int·numPos···int··meshVtxPositions·.·size···3··int·vtxSize··7··std··vector··float··vtxData··numPos··vtxSize·,·-1.0f··for··int·i··0··i··numPos···i···vtxData··i··vtxSize···meshVtxPositions··i··3··vtxData··i··vtxSize··1···meshVtxPositions··i··3··1··vtxData··i··vtxSize··2···meshVtxPositions··i··3··2···int·numUVs···int··meshFVarUVs·.·size···2··int·fvarSize··3··std··vector··float··fvarData··numUVs··fvarSize·,·-1.0f··for··int·i··0··i··numUVs···i···fvarData··i··fvarSize···meshFVarUVs··i··2··fvarData··i··fvarSize··1···meshFVarUVs··i··2··1·····Pass·the·expanded·data·arrays·along·with·their·respective·strides··tessellateToObj···meshTopology·,·vtxData·,·vtxSize·,·fvarData·,·fvarSize·,·args··delete·meshTopology··return·EXIT_SUCCESS···------------------------------------------------------------------------------·Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | ||
35 | ········"tags":·"", | ||
36 | ········"loc":·"bfr_tutorial_1_4.html" | ||
37 | ····},·{ | ||
38 | ········"title":·"bfr_tutorial_1_3.cpp", | 38 | ········"title":·"bfr_tutorial_1_3.cpp", |
39 | ········"text":·"bfr_tutorial_1_3.cpp·bfr_tutorial_1_3.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsbfrtutorial_1_3bfr_tutorial_1_3.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·builds·on·the·previous·tutorial·that·makes·use·of·the··SurfaceFactory,·Surface·and·Tessellation·classes·for·evaluating·and··tessellating·the·limit·surface·of·faces·of·a·mesh·by·adding·support··for·the·evaluation·of·face-varying·UVs.···If·UVs·exist·in·the·given·mesh,·they·will·be·evaluated·and·included··with·the·vertex·positions·and·normals·previously·illustrated·as··part·of·the·tessellation·written·to·the·Obj·file.··include·opensubdivfartopologyRefiner.h·include·opensubdivbfrrefinerSurfaceFactory.h·include·opensubdivbfrsurface.h·include·opensubdivbfrtessellation.h·include·vector·include·string·include·cstring·include·cstdio··Local·headers·with·support·for·this·tutorial·in·namespace·tutorial·include·.meshLoader.h·include·.objWriter.h·using·namespace·OpenSubdiv····Simple·command·line·arguments·to·provide·input·and·run-time·options··class·Args··public··std··string·inputObjFile··std··string·outputObjFile··Sdc··SchemeType·schemeType··int·tessUniformRate··bool·tessQuadsFlag··bool·uv2xyzFlag··public··Args··int·argc·,·char··argv···inputObjFile·,·outputObjFile·,·schemeType··Sdc··SCHEME_CATMARK·,·tessUniformRate··5·,·tessQuadsFlag··false·,·uv2xyzFlag··false···for··int·i··1··i··argc···i···if··strstr··argv··i·,·.obj···if··inputObjFile·.·empty···inputObjFile··std··string··argv··i···else··fprintf··stderr·,·Warning·Extra·Obj·file·s·ignored·n··,·argv··i····else·if···strcmp··argv··i·,·-o···if···i··argc··outputObjFile··std··string··argv··i···else·if···strcmp··argv··i·,·-bilinear···schemeType··Sdc··SCHEME_BILINEAR···else·if···strcmp··argv··i·,·-catmark···schemeType··Sdc··SCHEME_CATMARK···else·if···strcmp··argv··i·,·-loop···schemeType··Sdc··SCHEME_LOOP···else·if···strcmp··argv··i·,·-res···if···i··argc··tessUniformRate··atoi··argv··i···else·if···strcmp··argv··i·,·-quads···tessQuadsFlag··true···else·if···strcmp··argv··i·,·-uv2xyz···uv2xyzFlag··true···else··fprintf··stderr·,·Warning·Unrecognized·argument·s·ignored·n··,·argv··i·····private··Args·······The·main·tessellation·function·given·a·mesh·and·vertex·positions,··tessellate·each·face·--·writing·results·in·Obj·format.··void·tessellateToObj··Far··TopologyRefiner·const··meshTopology·,·std··vector··float··const··meshVertexPositions·,·std··vector··float··const··meshFaceVaryingUVs·,·Args·const··options·····Use·simpler·local·type·names·for·the·Surface·and·its·factory··typedef·Bfr··RefinerSurfaceFactory··SurfaceFactory··typedef·Bfr··Surface··float··Surface····Initialize·the·SurfaceFactory·for·the·given·base·mesh·very·low··cost·in·terms·of·both·time·and·space·and·tessellate·each·face··independently·i.e.·no·shared·vertices···Note·that·the·SurfaceFactory·is·not·thread-safe·by·default·due·to··use·of·an·internal·cache.·Creating·a·separate·instance·of·the··SurfaceFactory·for·each·thread·is·one·way·to·safely·parallelize··this·loop.·Another·preferred·is·to·assign·a·thread-safe·cache··to·the·single·instance.···First·declare·any·evaluation·options·when·initializing···When·dealing·with·face-varying·data,·an·identifier·is·necessary··when·constructing·Surfaces·in·order·to·distinguish·the·different··face-varying·data·channels.·To·avoid·repeatedly·specifying·that··identifier·when·only·one·is·present·or·of·interest,·it·can·be··specified·via·the·Options.··bool·meshHasUVs···meshTopology·.·GetNumFVarChannels···0··SurfaceFactory··Options·surfaceOptions··if··meshHasUVs···surfaceOptions·.·SetDefaultFVarID··0···SurfaceFactory·surfaceFactory··meshTopology·,·surfaceOptions····The·Surface·to·be·constructed·and·evaluated·for·each·face·--·as··well·as·the·intermediate·and·output·data·associated·with·it·--·can··be·declared·in·the·scope·local·to·each·face.·But·since·dynamic··memory·is·involved·with·these·variables,·it·is·preferred·to·declare··them·outside·that·loop·to·preserve·and·reuse·that·dynamic·memory.··Surface·posSurface··Surface·uvSurface··std··vector··float··facePatchPoints··std··vector··float··outCoords··std··vector··float··outPos·,·outDu·,·outDv··std··vector··float··outUV··std··vector··int··outFacets····Assign·Tessellation·Options·applied·for·all·faces.·Tessellations··allow·the·creating·of·either·3-·or·4-sided·faces·--·both·of·which··are·supported·here·via·a·command·line·option··int·const·tessFacetSize··3··options·.·tessQuadsFlag··Bfr··Tessellation··Options·tessOptions··tessOptions·.·SetFacetSize··tessFacetSize··tessOptions·.·PreserveQuads··options·.·tessQuadsFlag····Process·each·face,·writing·the·output·of·each·in·Obj·format··tutorial··ObjWriter·objWriter··options·.·outputObjFile··int·numFaces··surfaceFactory·.·GetNumFaces··for··int·faceIndex··0··faceIndex··numFaces···faceIndex·····Initialize·the·Surfaces·for·position·and·UVs·of·this·face.··There·are·two·ways·to·do·this·--·both·illustrated·here···Creating·Surfaces·for·the·different·data·interpolation·types··independently·is·clear·and·convenient,·but·considerable·work··may·be·duplicated·in·the·construction·process·in·the·case·of··non-linear·face-varying·Surfaces.·So·unless·it·is·known·that··face-varying·interpolation·is·linear,·use·of·InitSurfaces··is·generally·preferred.···Remember·also·that·the·face-varying·identifier·is·omitted·from··the·initialization·methods·here·as·it·was·previously·assigned··to·the·SurfaceFactoryOptions.·In·the·absence·of·an·assignment··of·the·default·FVarID·to·the·Options,·a·failure·to·specify·the··FVarID·here·will·result·in·failure.···The·cases·below·are·expanded·for·illustration·purposes,·and··validity·of·the·resulting·Surface·is·tested·here,·rather·than··the·return·value·of·initialization·methods.··bool·createSurfacesTogether··true··if···meshHasUVs···surfaceFactory·.·InitVertexSurface··faceIndex·,··posSurface···else·if··createSurfacesTogether···surfaceFactory·.·InitSurfaces··faceIndex·,··posSurface·,··uvSurface···else··if··surfaceFactory·.·InitVertexSurface··faceIndex·,··posSurface···surfaceFactory·.·InitFaceVaryingSurface··faceIndex·,··uvSurface····if···posSurface·.·IsValid··continue····Declare·a·simple·uniform·Tessellation·for·the·Parameterization··of·this·face·and·identify·coordinates·of·the·points·to·evaluate··Bfr··Tessellation·tessPattern··posSurface·.·GetParameterization·,·options·.·tessUniformRate·,·tessOptions··int·numOutCoords··tessPattern·.·GetNumCoords··outCoords·.·resize··numOutCoords··2··tessPattern·.·GetCoords··outCoords·.·data····Prepare·the·patch·points·for·the·Surface,·then·use·them·to··evaluate·output·points·for·all·identified·coordinates···Evaluate·vertex·positions···Resize·patch·point·and·output·arrays·int·pointSize··3··facePatchPoints·.·resize··posSurface·.·GetNumPatchPoints···pointSize··outPos·.·resize··numOutCoords··pointSize··outDu·.·resize··numOutCoords··pointSize··outDv·.·resize··numOutCoords··pointSize···Populate·patch·point·and·output·arrays·posSurface·.·PreparePatchPoints··meshVertexPositions·.·data·,·pointSize·,·facePatchPoints·.·data·,·pointSize··for··int·i··0·,·j··0··i··numOutCoords···i·,·j··pointSize···posSurface·.·Evaluate···outCoords··i··2·,·facePatchPoints·.·data·,·pointSize·,··outPos··j·,··outDu··j·,··outDv··j·····Evaluate·face-varying·UVs·when·present·if··meshHasUVs····Resize·patch·point·and·output·arrays··-·note·reuse·of·the·same·patch·point·array·as·position·int·pointSize··2··facePatchPoints·.·resize··uvSurface·.·GetNumPatchPoints···pointSize··outUV·.·resize··numOutCoords··pointSize···Populate·patch·point·and·output·arrays·uvSurface·.·PreparePatchPoints··meshFaceVaryingUVs·.·data·,·pointSize·,·facePatchPoints·.·data·,·pointSize··for··int·i··0·,·j··0··i··numOutCoords···i·,·j··pointSize···uvSurface·.·Evaluate···outCoords··i··2·,·facePatchPoints·.·data·,·pointSize·,··outUV··j······Identify·the·faces·of·the·Tessellation···Note·the·need·to·offset·vertex·indices·for·the·output·faces·--··using·the·number·of·vertices·generated·prior·to·this·face.·One··of·several·Tessellation·methods·to·transform·the·facet·indices··simply·translates·all·indices·by·the·desired·offset.··int·objVertexIndexOffset··objWriter·.·GetNumVertices··int·numFacets··tessPattern·.·GetNumFacets··outFacets·.·resize··numFacets··tessFacetSize··tessPattern·.·GetFacets··outFacets·.·data··tessPattern·.·TransformFacetCoordIndices··outFacets·.·data·,·objVertexIndexOffset····Write·the·evaluated·points·and·faces·connecting·them·as·Obj··objWriter·.·WriteGroupName··baseFace_·,·faceIndex··if··meshHasUVs··options·.·uv2xyzFlag···objWriter·.·WriteVertexPositions··outUV·,·2··objWriter·.·WriteFaces··outFacets·,·tessFacetSize·,·false·,·false···else··objWriter·.·WriteVertexPositions··outPos··objWriter·.·WriteVertexNormals··outDu·,·outDv··if··meshHasUVs···objWriter·.·WriteVertexUVs··outUV···objWriter·.·WriteFaces··outFacets·,·tessFacetSize·,·true·,·meshHasUVs·······Load·command·line·arguments,·specified·or·default·geometry·and·process··int·main··int·argc·,·char··argv···Args·args··argc·,·argv··Far··TopologyRefiner··meshTopology··0··std··vector··float··meshVtxPositions··std··vector··float··meshFVarUVs··meshTopology··tutorial··createTopologyRefiner··args·.·inputObjFile·,·args·.·schemeType·,·meshVtxPositions·,·meshFVarUVs··if··meshTopology··0···return·EXIT_FAILURE···tessellateToObj···meshTopology·,·meshVtxPositions·,·meshFVarUVs·,·args··delete·meshTopology··return·EXIT_SUCCESS···------------------------------------------------------------------------------·Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | 39 | ········"text":·"bfr_tutorial_1_3.cpp·bfr_tutorial_1_3.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsbfrtutorial_1_3bfr_tutorial_1_3.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·builds·on·the·previous·tutorial·that·makes·use·of·the··SurfaceFactory,·Surface·and·Tessellation·classes·for·evaluating·and··tessellating·the·limit·surface·of·faces·of·a·mesh·by·adding·support··for·the·evaluation·of·face-varying·UVs.···If·UVs·exist·in·the·given·mesh,·they·will·be·evaluated·and·included··with·the·vertex·positions·and·normals·previously·illustrated·as··part·of·the·tessellation·written·to·the·Obj·file.··include·opensubdivfartopologyRefiner.h·include·opensubdivbfrrefinerSurfaceFactory.h·include·opensubdivbfrsurface.h·include·opensubdivbfrtessellation.h·include·vector·include·string·include·cstring·include·cstdio··Local·headers·with·support·for·this·tutorial·in·namespace·tutorial·include·.meshLoader.h·include·.objWriter.h·using·namespace·OpenSubdiv····Simple·command·line·arguments·to·provide·input·and·run-time·options··class·Args··public··std··string·inputObjFile··std··string·outputObjFile··Sdc··SchemeType·schemeType··int·tessUniformRate··bool·tessQuadsFlag··bool·uv2xyzFlag··public··Args··int·argc·,·char··argv···inputObjFile·,·outputObjFile·,·schemeType··Sdc··SCHEME_CATMARK·,·tessUniformRate··5·,·tessQuadsFlag··false·,·uv2xyzFlag··false···for··int·i··1··i··argc···i···if··strstr··argv··i·,·.obj···if··inputObjFile·.·empty···inputObjFile··std··string··argv··i···else··fprintf··stderr·,·Warning·Extra·Obj·file·s·ignored·n··,·argv··i····else·if···strcmp··argv··i·,·-o···if···i··argc··outputObjFile··std··string··argv··i···else·if···strcmp··argv··i·,·-bilinear···schemeType··Sdc··SCHEME_BILINEAR···else·if···strcmp··argv··i·,·-catmark···schemeType··Sdc··SCHEME_CATMARK···else·if···strcmp··argv··i·,·-loop···schemeType··Sdc··SCHEME_LOOP···else·if···strcmp··argv··i·,·-res···if···i··argc··tessUniformRate··atoi··argv··i···else·if···strcmp··argv··i·,·-quads···tessQuadsFlag··true···else·if···strcmp··argv··i·,·-uv2xyz···uv2xyzFlag··true···else··fprintf··stderr·,·Warning·Unrecognized·argument·s·ignored·n··,·argv··i·····private··Args·······The·main·tessellation·function·given·a·mesh·and·vertex·positions,··tessellate·each·face·--·writing·results·in·Obj·format.··void·tessellateToObj··Far··TopologyRefiner·const··meshTopology·,·std··vector··float··const··meshVertexPositions·,·std··vector··float··const··meshFaceVaryingUVs·,·Args·const··options·····Use·simpler·local·type·names·for·the·Surface·and·its·factory··typedef·Bfr··RefinerSurfaceFactory··SurfaceFactory··typedef·Bfr··Surface··float··Surface····Initialize·the·SurfaceFactory·for·the·given·base·mesh·very·low··cost·in·terms·of·both·time·and·space·and·tessellate·each·face··independently·i.e.·no·shared·vertices···Note·that·the·SurfaceFactory·is·not·thread-safe·by·default·due·to··use·of·an·internal·cache.·Creating·a·separate·instance·of·the··SurfaceFactory·for·each·thread·is·one·way·to·safely·parallelize··this·loop.·Another·preferred·is·to·assign·a·thread-safe·cache··to·the·single·instance.···First·declare·any·evaluation·options·when·initializing···When·dealing·with·face-varying·data,·an·identifier·is·necessary··when·constructing·Surfaces·in·order·to·distinguish·the·different··face-varying·data·channels.·To·avoid·repeatedly·specifying·that··identifier·when·only·one·is·present·or·of·interest,·it·can·be··specified·via·the·Options.··bool·meshHasUVs···meshTopology·.·GetNumFVarChannels···0··SurfaceFactory··Options·surfaceOptions··if··meshHasUVs···surfaceOptions·.·SetDefaultFVarID··0···SurfaceFactory·surfaceFactory··meshTopology·,·surfaceOptions····The·Surface·to·be·constructed·and·evaluated·for·each·face·--·as··well·as·the·intermediate·and·output·data·associated·with·it·--·can··be·declared·in·the·scope·local·to·each·face.·But·since·dynamic··memory·is·involved·with·these·variables,·it·is·preferred·to·declare··them·outside·that·loop·to·preserve·and·reuse·that·dynamic·memory.··Surface·posSurface··Surface·uvSurface··std··vector··float··facePatchPoints··std··vector··float··outCoords··std··vector··float··outPos·,·outDu·,·outDv··std··vector··float··outUV··std··vector··int··outFacets····Assign·Tessellation·Options·applied·for·all·faces.·Tessellations··allow·the·creating·of·either·3-·or·4-sided·faces·--·both·of·which··are·supported·here·via·a·command·line·option··int·const·tessFacetSize··3··options·.·tessQuadsFlag··Bfr··Tessellation··Options·tessOptions··tessOptions·.·SetFacetSize··tessFacetSize··tessOptions·.·PreserveQuads··options·.·tessQuadsFlag····Process·each·face,·writing·the·output·of·each·in·Obj·format··tutorial··ObjWriter·objWriter··options·.·outputObjFile··int·numFaces··surfaceFactory·.·GetNumFaces··for··int·faceIndex··0··faceIndex··numFaces···faceIndex·····Initialize·the·Surfaces·for·position·and·UVs·of·this·face.··There·are·two·ways·to·do·this·--·both·illustrated·here···Creating·Surfaces·for·the·different·data·interpolation·types··independently·is·clear·and·convenient,·but·considerable·work··may·be·duplicated·in·the·construction·process·in·the·case·of··non-linear·face-varying·Surfaces.·So·unless·it·is·known·that··face-varying·interpolation·is·linear,·use·of·InitSurfaces··is·generally·preferred.···Remember·also·that·the·face-varying·identifier·is·omitted·from··the·initialization·methods·here·as·it·was·previously·assigned··to·the·SurfaceFactoryOptions.·In·the·absence·of·an·assignment··of·the·default·FVarID·to·the·Options,·a·failure·to·specify·the··FVarID·here·will·result·in·failure.···The·cases·below·are·expanded·for·illustration·purposes,·and··validity·of·the·resulting·Surface·is·tested·here,·rather·than··the·return·value·of·initialization·methods.··bool·createSurfacesTogether··true··if···meshHasUVs···surfaceFactory·.·InitVertexSurface··faceIndex·,··posSurface···else·if··createSurfacesTogether···surfaceFactory·.·InitSurfaces··faceIndex·,··posSurface·,··uvSurface···else··if··surfaceFactory·.·InitVertexSurface··faceIndex·,··posSurface···surfaceFactory·.·InitFaceVaryingSurface··faceIndex·,··uvSurface····if···posSurface·.·IsValid··continue····Declare·a·simple·uniform·Tessellation·for·the·Parameterization··of·this·face·and·identify·coordinates·of·the·points·to·evaluate··Bfr··Tessellation·tessPattern··posSurface·.·GetParameterization·,·options·.·tessUniformRate·,·tessOptions··int·numOutCoords··tessPattern·.·GetNumCoords··outCoords·.·resize··numOutCoords··2··tessPattern·.·GetCoords··outCoords·.·data····Prepare·the·patch·points·for·the·Surface,·then·use·them·to··evaluate·output·points·for·all·identified·coordinates···Evaluate·vertex·positions···Resize·patch·point·and·output·arrays·int·pointSize··3··facePatchPoints·.·resize··posSurface·.·GetNumPatchPoints···pointSize··outPos·.·resize··numOutCoords··pointSize··outDu·.·resize··numOutCoords··pointSize··outDv·.·resize··numOutCoords··pointSize···Populate·patch·point·and·output·arrays·posSurface·.·PreparePatchPoints··meshVertexPositions·.·data·,·pointSize·,·facePatchPoints·.·data·,·pointSize··for··int·i··0·,·j··0··i··numOutCoords···i·,·j··pointSize···posSurface·.·Evaluate···outCoords··i··2·,·facePatchPoints·.·data·,·pointSize·,··outPos··j·,··outDu··j·,··outDv··j·····Evaluate·face-varying·UVs·when·present·if··meshHasUVs····Resize·patch·point·and·output·arrays··-·note·reuse·of·the·same·patch·point·array·as·position·int·pointSize··2··facePatchPoints·.·resize··uvSurface·.·GetNumPatchPoints···pointSize··outUV·.·resize··numOutCoords··pointSize···Populate·patch·point·and·output·arrays·uvSurface·.·PreparePatchPoints··meshFaceVaryingUVs·.·data·,·pointSize·,·facePatchPoints·.·data·,·pointSize··for··int·i··0·,·j··0··i··numOutCoords···i·,·j··pointSize···uvSurface·.·Evaluate···outCoords··i··2·,·facePatchPoints·.·data·,·pointSize·,··outUV··j······Identify·the·faces·of·the·Tessellation···Note·the·need·to·offset·vertex·indices·for·the·output·faces·--··using·the·number·of·vertices·generated·prior·to·this·face.·One··of·several·Tessellation·methods·to·transform·the·facet·indices··simply·translates·all·indices·by·the·desired·offset.··int·objVertexIndexOffset··objWriter·.·GetNumVertices··int·numFacets··tessPattern·.·GetNumFacets··outFacets·.·resize··numFacets··tessFacetSize··tessPattern·.·GetFacets··outFacets·.·data··tessPattern·.·TransformFacetCoordIndices··outFacets·.·data·,·objVertexIndexOffset····Write·the·evaluated·points·and·faces·connecting·them·as·Obj··objWriter·.·WriteGroupName··baseFace_·,·faceIndex··if··meshHasUVs··options·.·uv2xyzFlag···objWriter·.·WriteVertexPositions··outUV·,·2··objWriter·.·WriteFaces··outFacets·,·tessFacetSize·,·false·,·false···else··objWriter·.·WriteVertexPositions··outPos··objWriter·.·WriteVertexNormals··outDu·,·outDv··if··meshHasUVs···objWriter·.·WriteVertexUVs··outUV···objWriter·.·WriteFaces··outFacets·,·tessFacetSize·,·true·,·meshHasUVs·······Load·command·line·arguments,·specified·or·default·geometry·and·process··int·main··int·argc·,·char··argv···Args·args··argc·,·argv··Far··TopologyRefiner··meshTopology··0··std··vector··float··meshVtxPositions··std··vector··float··meshFVarUVs··meshTopology··tutorial··createTopologyRefiner··args·.·inputObjFile·,·args·.·schemeType·,·meshVtxPositions·,·meshFVarUVs··if··meshTopology··0···return·EXIT_FAILURE···tessellateToObj···meshTopology·,·meshVtxPositions·,·meshFVarUVs·,·args··delete·meshTopology··return·EXIT_SUCCESS···------------------------------------------------------------------------------·Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", |
40 | ········"tags":·"", | 40 | ········"tags":·"", |
41 | ········"loc":·"bfr_tutorial_1_3.html" | 41 | ········"loc":·"bfr_tutorial_1_3.html" |
42 | ····},·{ | 42 | ····},·{ |
43 | ········"title":·"far_tutorial_5_2.cpp", | ||
44 | ········"text":·"far_tutorial_5_2.cpp·far_tutorial_5_2.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsfartutorial_5_2far_tutorial_5_2.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·shows·how·to·manage·the·limit·surface·of·a·potentially··large·mesh·by·creating·groups·of·patches·for·selected·faces·of·the··mesh.·Familiarity·with·construction·and·evaluation·of·a·PatchTable··is·assumed·see·tutorial_5_1.···When·the·patches·for·a·mesh·do·not·need·to·be·retained·for·further··use,·e.g.·when·simply·computing·points·for·a·tessellation,·the·time··and·space·required·to·construct·a·single·large·PatchTable·can·be··considerable.·By·constructing,·evaluating·and·discarding·smaller··PatchTables·for·subsets·of·the·mesh,·the·high·transient·memory·cost··can·be·avoided·when·computed·serially.·When·computed·in·parallel,··there·may·be·little·memory·savings,·but·the·construction·time·can··then·be·distributed.···This·tutorial·creates·simple·geometry·currently·a·lattice·of·cubes··that·can·be·expanded·in·complexity·with·a·simple·multiplier.·The··collection·of·faces·are·then·divided·into·a·specified·number·of·groups··from·which·patches·will·be·constructed·and·evaluated.·A·simple··tessellation·a·triangle·fan·around·the·midpoint·of·each·face·is·then··written·in·Obj·format·to·the·standard·output.··include·......regressioncommonarg_utils.h·include·......regressioncommonfar_utils.h·include·opensubdivfartopologyDescriptor.h·include·opensubdivfarprimvarRefiner.h·include·opensubdivfarpatchTableFactory.h·include·opensubdivfarpatchMap.h·include·opensubdivfarptexIndices.h·include·cassert·include·cstdio·include·cstring·include·fstream·include·sstream·using·namespace·OpenSubdiv··using·Far··Index····Global·utilities·in·this·namespace·are·not·relevant·to·the·tutorial.··They·simply·serve·to·construct·some·default·geometry·to·be·processed··in·the·form·of·a·TopologyRefiner·and·vector·of·vertex·positions.··namespace····Simple·structs·for·x,y,z·position·and·a·3-tuple·for·the·set··of·vertices·of·a·triangle··struct·Pos··Pos····Pos··float·x·,·float·y·,·float·z···p··0···x·,·p··1···y·,·p··2···z···Pos·operator···Pos·const··op··const··return·Pos··p··0···op·.·p··0·,·p··1···op·.·p··1·,·p··2···op·.·p··2····Clear·and·AddWithWeight·required·for·interpolation·void·Clear··void···0···p··0···p··1···p··2···0.0f···void·AddWithWeight··Pos·const··src·,·float·weight···p··0···weight··src·.·p··0··p··1···weight··src·.·p··1··p··2···weight··src·.·p··2···float·p··3···typedef·std··vector··Pos··PosVector··struct·Tri··Tri····Tri··int·a·,·int·b·,·int·c···v··0···a·,·v··1···b·,·v··2···c···int·v··3···typedef·std··vector··Tri··TriVector····Functions·to·populate·the·topology·and·geometry·arrays·with·simple··shapes·that·we·can·multiply·to·increase·complexity··void·appendDefaultPrimitive··Pos·const··origin·,·std··vector··int···vertsPerFace·,·std··vector··Index···faceVerts·,·std··vector··Pos···positionsPerVert····Local·topology·and·position·of·a·cube·centered·at·origin·static·float·const·cubePositions··8··3·····-0.5f·,·-0.5f·,·-0.5f·,··-0.5f·,·0.5f·,·-0.5f·,··-0.5f·,·0.5f·,·0.5f·,··-0.5f·,·-0.5f·,·0.5f·,··0.5f·,·-0.5f·,·-0.5f·,··0.5f·,·0.5f·,·-0.5f·,··0.5f·,·0.5f·,·0.5f·,··0.5f·,·-0.5f·,·0.5f···static·int·const·cubeFaceVerts··6··4·····0·,·3·,·2·,·1·,··4·,·5·,·6·,·7·,··0·,·4·,·7·,·3·,··1·,·2·,·6·,·5·,··0·,·1·,·5·,·4·,··3·,·7·,·6·,·2····Identify·the·next·vertex·before·appending·vertex·positions·int·baseVertex···int··positionsPerVert·.·size··for··int·i··0··i··8···i···float·const··p··cubePositions··i··positionsPerVert·.·push_back··origin··Pos··p··0·,·p··1·,·p··2····Append·number·of·verts-per-face·and·face-vertices·for·each·face·for··int·i··0··i··6···i···vertsPerFace·.·push_back··4··for··int·j··0··j··4···j···faceVerts·.·push_back··baseVertex··cubeFaceVerts··i··j·····void·createDefaultGeometry··int·multiplier·,·std··vector··int···vertsPerFace·,·std··vector··Index···faceVerts·,·std··vector··Pos···positionsPerVert····Default·primitive·is·currently·a·cube·int·const·vertsPerPrimitive··8··int·const·facesPerPrimitive··6··int·const·faceVertsPerPrimitive··24··int·nPrimitives··multiplier··multiplier··multiplier··positionsPerVert·.·reserve··nPrimitives··vertsPerPrimitive··vertsPerFace·.·reserve··nPrimitives··facesPerPrimitive··faceVerts·.·reserve··nPrimitives··faceVertsPerPrimitive··for··int·x··0··x··multiplier···x···for··int·y··0··y··multiplier···y···for··int·z··0··z··multiplier···z···appendDefaultPrimitive··Pos··float··x··2.0f·,··float··y··2.0f·,··float··z··2.0f·,·vertsPerFace·,·faceVerts·,·positionsPerVert········Create·a·TopologyRefiner·from·default·geometry·created·above··Far··TopologyRefiner··createTopologyRefinerDefault··int·multiplier·,·PosVector··posVector···std··vector··int··topVertsPerFace··std··vector··Index··topFaceVerts··createDefaultGeometry··multiplier·,·topVertsPerFace·,·topFaceVerts·,·posVector··typedef·Far··TopologyDescriptor·Descriptor··Sdc··SchemeType·type··OpenSubdiv··Sdc··SCHEME_CATMARK··Sdc··Options·options··options·.·SetVtxBoundaryInterpolation··Sdc··Options··VTX_BOUNDARY_EDGE_AND_CORNER··Descriptor·desc··desc·.·numVertices···int··posVector·.·size··desc·.·numFaces···int··topVertsPerFace·.·size··desc·.·numVertsPerFace···topVertsPerFace··0··desc·.·vertIndicesPerFace···topFaceVerts··0···Instantiate·a·FarTopologyRefiner·from·the·descriptor.·Far··TopologyRefiner··refiner··Far··TopologyRefinerFactory··Descriptor··Create··desc·,·Far··TopologyRefinerFactory··Descriptor··Options··type·,·options··if··refiner··0···exit··EXIT_FAILURE···bool·dumpDefaultGeometryToObj··false··if··dumpDefaultGeometryToObj···int·nVerts···int··posVector·.·size··for··int·i··0··i··nVerts···i···float·const··p··posVector··i·.·p··printf··v·f·f·f·n··,·p··0·,·p··1·,·p··2···int·const··fVerts···topFaceVerts··0··int·nFaces···int··topVertsPerFace·.·size··for··int·i··0··i··nFaces···i···printf··f··for··int·j··0··j··topVertsPerFace··i···j···printf···d·,·1···fVerts····printf···n····exit··EXIT_SUCCESS···return·refiner·····Create·a·TopologyRefiner·from·a·specified·Obj·file··geometry·created·internally··Far··TopologyRefiner··createTopologyRefinerFromObj··std··string·const··objFileName·,·Sdc··SchemeType·schemeType·,·PosVector··posVector···const·char··filename··objFileName·.·c_str··const·Shape··shape··0··std··ifstream·ifs··filename··if··ifs···std··stringstream·ss··ss··ifs·.·rdbuf··ifs·.·close··std··string·shapeString··ss·.·str··shape··Shape··parseObj··shapeString·.·c_str·,·ConvertSdcTypeToShapeScheme··schemeType·,·false··if··shape··0···fprintf··stderr·,·Error·Cannot·create·Shape··from·.obj·file·s·n··,·filename··return·0····else··fprintf··stderr·,·Error·Cannot·open·.obj·file·s·n··,·filename··return·0···Sdc··SchemeType·sdcType··GetSdcType···shape··Sdc··Options·sdcOptions··GetSdcOptions···shape··Far··TopologyRefiner··refiner··Far··TopologyRefinerFactory··Shape··Create···shape·,·Far··TopologyRefinerFactory··Shape··Options··sdcType·,·sdcOptions··if··refiner··0···fprintf··stderr·,·Error·Unable·to·construct·TopologyRefiner··from·.obj·file·s·n··,·filename··return·0···int·numVertices··refiner·-·GetNumVerticesTotal··posVector·.·resize··numVertices··std··memcpy···posVector··0·.·p··0·,··shape·-·verts··0·,·numVertices··3··sizeof··float··delete·shape··return·refiner·····end·namespace···The·PatchGroup·bundles·objects·used·to·create·and·evaluate·a·sparse·set··of·patches.·Its·construction·creates·a·PatchTable·and·all·other·objects··necessary·to·evaluate·patches·associated·with·the·specified·subset·of··faces·provided.·A·simple·method·to·tessellate·a·specified·face·is··provided.···Note·that,·since·the·data·buffers·for·the·base·level·and·refined·levels··are·separate·we·want·to·avoid·copying·primvar·data·for·the·base·level··of·a·potentially·large·mesh,·that·patch·evaluation·needs·to·account··for·the·separation·when·combining·control·points.··struct·PatchGroup··PatchGroup··Far··PatchTableFactory··Options·patchOptions·,·Far··TopologyRefiner·const··baseRefinerArg·,·Far··PtexIndices·const··basePtexIndicesArg·,·std··vector··Pos··const··basePositionsArg·,·std··vector··Index··const··baseFacesArg···PatchGroup··void·TessellateBaseFace··int·face·,·PosVector··tessPoints·,·TriVector··tessTris··const···Const·reference·members·Far··TopologyRefiner·const··baseRefiner··Far··PtexIndices·const··basePtexIndices··std··vector··Pos··const··basePositions··std··vector··Index··const··baseFaces···Members·constructed·to·evaluate·patches·Far··PatchTable··patchTable··Far··PatchMap··patchMap··int·patchFaceSize··std··vector··Pos··localPositions···PatchGroup··PatchGroup··Far··PatchTableFactory··Options·patchOptions·,·Far··TopologyRefiner·const··baseRefinerArg·,·Far··PtexIndices·const··basePtexIndicesArg·,·std··vector··Pos··const··basePositionsArg·,·std··vector··Index··const··baseFacesArg···baseRefiner··baseRefinerArg·,·basePtexIndices··basePtexIndicesArg·,·basePositions··basePositionsArg·,·baseFaces··baseFacesArg····Create·a·local·refiner·sharing·the·base·level,·apply·adaptive··refinement·to·the·given·subset·of·base·faces,·and·construct·a·patch··table·and·its·associated·map·for·the·same·set·of·faces··Far··ConstIndexArray·groupFaces···baseFaces··0·,··int··baseFaces·.·size··Far··TopologyRefiner··localRefiner··Far··TopologyRefinerFactory··Far··TopologyDescriptor··Create··baseRefiner··localRefiner·-·RefineAdaptive··patchOptions·.·GetRefineAdaptiveOptions·,·groupFaces··patchTable··Far··PatchTableFactory··Create···localRefiner·,·patchOptions·,·groupFaces··patchMap··new·Far··PatchMap···patchTable··patchFaceSize··Sdc··SchemeTypeTraits··GetRegularFaceSize··baseRefiner·.·GetSchemeType···Compute·the·number·of·refined·and·local·points·needed·to·evaluate·the··patches,·allocate·and·interpolate.·This·varies·from·tutorial_5_1·in··that·the·primvar·buffer·for·the·base·vertices·is·separate·from·the··refined·vertices·and·local·patch·points·which·must·also·be·accounted··for·when·evaluating·the·patches.··int·nBaseVertices··localRefiner·-·GetLevel··0·.·GetNumVertices··int·nRefinedVertices··localRefiner·-·GetNumVerticesTotal··-·nBaseVertices··int·nLocalPoints··patchTable·-·GetNumLocalPoints··localPositions·.·resize··nRefinedVertices··nLocalPoints··if··nRefinedVertices···Far··PrimvarRefiner·primvarRefiner···localRefiner··Pos·const··src···basePositions··0··Pos··dst···localPositions··0··for··int·level··1··level··localRefiner·-·GetNumLevels···level···primvarRefiner·.·Interpolate··level·,·src·,·dst··src··dst··dst··localRefiner·-·GetLevel··level·.·GetNumVertices····if··nLocalPoints···patchTable·-·GetLocalPointStencilTable··-·UpdateValues···basePositions··0·,·nBaseVertices·,··localPositions··0·,··localPositions··nRefinedVertices···delete·localRefiner···PatchGroup··PatchGroup···delete·patchTable··delete·patchMap···void·PatchGroup··TessellateBaseFace··int·face·,·PosVector··tessPoints·,·TriVector··tessTris··const···Tesselate·the·face·with·points·at·the·midpoint·of·the·face·and·at··each·corner,·and·triangles·connecting·the·midpoint·to·each·edge.··Irregular·faces·require·an·aribrary·number·of·corners·points,·but··all·are·at·the·origin·of·the·child·face·of·the·irregular·base·face··float·const·quadPoints··5··2·····0.5f·,·0.5f·,··0.0f·,·0.0f·,··1.0f·,·0.0f·,··1.0f·,·1.0f·,··0.0f·,·1.0f···float·const·triPoints··4··2·····0.5f·,·0.5f·,··0.0f·,·0.0f·,··1.0f·,·0.0f·,··0.0f·,·1.0f···float·const·irregPoints··4··2·····1.0f·,·1.0f·,··0.0f·,·0.0f····Determine·the·topology·of·the·given·base·face·and·the·resulting··tessellation·points·and·faces·to·generate··int·baseFace··baseFaces··face··int·faceSize··baseRefiner·.·GetLevel··0·.·GetFaceVertices··baseFace·.·size··bool·faceIsIrregular···faceSize··patchFaceSize··int·nTessPoints··faceSize··1··int·nTessFaces··faceSize··tessPoints·.·resize··nTessPoints··tessTris·.·resize··nTessFaces···Compute·the·mid·and·corner·points·--·remember·that·for·an·irregular··face,·we·must·reference·the·individual·ptex·faces·for·each·corner··int·ptexFace··basePtexIndices·.·GetFaceId··baseFace··int·numBaseVerts···int··basePositions·.·size··for··int·i··0··i··nTessPoints···i····Choose·the·s,t·coordinate·from·the·fixed·tessellation·float·const··st··faceIsIrregular··irregPoints··i··0····faceSize··4···quadPoints··i···triPoints··i···Locate·the·patch·corresponding·to·the·face·ptex·idx·and·s,t··and·evaluate·int·patchFace··ptexFace··if··faceIsIrregular···i··0···patchFace··i·-·1···Far··PatchTable··PatchHandle·const··handle··patchMap·-·FindPatch··patchFace·,·st··0·,·st··1··assert··handle··float·pWeights··20··patchTable·-·EvaluateBasis···handle·,·st··0·,·st··1·,·pWeights···Identify·the·patch·cvs·and·combine·with·the·evaluated·weights·--··remember·to·distinguish·cvs·in·the·base·level·Far··ConstIndexArray·cvIndices··patchTable·-·GetPatchVertices···handle··Pos··pos··tessPoints··i··pos·.·Clear··for··int·cv··0··cv··cvIndices·.·size···cv···int·cvIndex··cvIndices··cv··if··cvIndex··numBaseVerts···pos·.·AddWithWeight··basePositions··cvIndex·,·pWeights··cv···else··pos·.·AddWithWeight··localPositions··cvIndex·-·numBaseVerts·,·pWeights··cv······Assign·triangles·connecting·the·midpoint·of·the·base·face·to·the··points·computed·at·the·ends·of·each·of·its·edges··for··int·i··0··i··nTessFaces···i···tessTris··i···Tri··0·,·1··i·,·1···i··1···faceSize······Command·line·arguments·parsed·to·provide·run-time·options··class·Args··public··std··string·inputObjFile··Sdc··SchemeType·schemeType··int·geoMultiplier··int·maxPatchDepth··int·numPatchGroups··bool·noTessFlag··bool·noOutputFlag··public··Args··int·argc·,·char··argv···inputObjFile·,·schemeType··Sdc··SCHEME_CATMARK·,·geoMultiplier··10·,·maxPatchDepth··3·,·numPatchGroups··10·,·noTessFlag··false·,·noOutputFlag··false····Parse·and·assign·standard·arguments·and·Obj·files·ArgOptions·args··args·.·Parse··argc·,·argv··maxPatchDepth··args·.·GetLevel··schemeType··ConvertShapeSchemeToSdcType··args·.·GetDefaultScheme··const·std··vector··const·char··objFiles··args·.·GetObjFiles··if···objFiles·.·empty···for··size_t·i··1··i··objFiles·.·size···i···fprintf··stderr·,·Warning·.obj·file·s·ignored·n··,·objFiles··i···inputObjFile··std··string··objFiles··0····Parse·remaining·arguments·specific·to·this·example·const·std··vector··const·char···rargs··args·.·GetRemainingArgs··for··size_t·i··0··i··rargs·.·size···i···if···strcmp··rargs··i·,·-groups···if···i··rargs·.·size··numPatchGroups··atoi··rargs··i···else·if···strcmp··rargs··i·,·-mult···if···i··rargs·.·size··geoMultiplier··atoi··rargs··i···else·if···strcmp··rargs··i·,·-notess···noTessFlag··true···else·if···strcmp··rargs··i·,·-nooutput···noOutputFlag··true···else··fprintf··stderr·,·Warning·Argument·s·ignored·n··,·rargs··i·····private··Args·······Load·command·line·arguments·and·geometry,·then·divide·the·mesh·into·groups··of·faces·from·which·to·create·and·tessellate·patches··int·main··int·argc·,·char··argv···Args·args··argc·,·argv····Create·or·load·the·base·geometry·command·line·arguments·allow·a··.obj·file·to·be·specified.·In·addition·to·the·TopologyRefiner··and·set·of·positions·for·the·base·vertices,·a·set·of·PtexIndices·is··also·required·to·evaluate·patches,·so·build·it·here·once·for·use··elsewhere··std··vector··Pos··basePositions··Far··TopologyRefiner··baseRefinerPtr··args·.·inputObjFile·.·empty···createTopologyRefinerDefault··args·.·geoMultiplier·,·basePositions···createTopologyRefinerFromObj··args·.·inputObjFile·,·args·.·schemeType·,·basePositions··assert··baseRefinerPtr··Far··TopologyRefiner··baseRefiner···baseRefinerPtr··Far··PtexIndices·basePtexIndices··baseRefiner····Determine·the·sizes·of·the·patch·groups·specified·--·there·will·be··two·sizes·that·differ·by·one·to·account·for·unequal·division··int·numBaseFaces··baseRefiner·.·GetNumFacesTotal··int·numPatchGroups··args·.·numPatchGroups··if··numPatchGroups··numBaseFaces···numPatchGroups··numBaseFaces···else·if··numPatchGroups··1···numPatchGroups··1···int·lesserGroupSize··numBaseFaces··numPatchGroups··int·numLargerGroups··numBaseFaces·-··numPatchGroups··lesserGroupSize····Define·the·options·used·to·construct·the·patches·for·each·group.··Unless·suppressed,·a·tessellation·in·Obj·format·will·also·be·printed··to·standard·output,·so·keep·track·of·the·vertex·indices.··Far··PatchTableFactory··Options·patchOptions··args·.·maxPatchDepth··patchOptions·.·generateVaryingTables··false··patchOptions·.·shareEndCapPatchPoints··false··patchOptions·.·endCapType··Far··PatchTableFactory··Options··ENDCAP_GREGORY_BASIS··int·objVertCount··0··PosVector·tessPoints··TriVector·tessFaces··for··int·i··0··i··numPatchGroups···i·····Initialize·a·vector·with·a·group·of·base·faces·from·which·to··create·and·evaluate·patches··Index·minFace··i··lesserGroupSize··std··min··i·,·numLargerGroups··Index·maxFace··minFace··lesserGroupSize···i··numLargerGroups··std··vector··Far··Index··baseFaces··maxFace·-·minFace··for··int·face··minFace··face··maxFace···face···baseFaces··face·-·minFace···face·····Declare·a·PatchGroup·and·tessellate·its·base·faces·--·generating··vertices·and·faces·in·Obj·format·to·standard·output··PatchGroup·patchGroup··patchOptions·,·baseRefiner·,·basePtexIndices·,·basePositions·,·baseFaces··if··args·.·noTessFlag··continue··if···args·.·noOutputFlag···printf··g·patchGroup_d·n··,·i···for··int·j··0··j···int··baseFaces·.·size···j···patchGroup·.·TessellateBaseFace··j·,·tessPoints·,·tessFaces··if···args·.·noOutputFlag···int·nVerts···int··tessPoints·.·size··for··int·k··0··k··nVerts···k···float·const··p··tessPoints··k·.·p··printf··v·f·f·f·n··,·p··0·,·p··1·,·p··2···int·nTris···int··tessFaces·.·size··int·vBase··1··objVertCount··for··int·k··0··k··nTris···k···int·const··v··tessFaces··k·.·v··printf··f·d·d·d·n··,·vBase··v··0·,·vBase··v··1·,·vBase··v··2···objVertCount··nVerts·····delete·baseRefinerPtr··return·EXIT_SUCCESS···Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | ||
45 | ········"tags":·"", | ||
46 | ········"loc":·"far_tutorial_5_2.html" | ||
47 | ····},·{ | ||
48 | ········"title":·"far_tutorial_5_1.cpp", | ||
49 | ········"text":·"far_tutorial_5_1.cpp·far_tutorial_5_1.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsfartutorial_5_1far_tutorial_5_1.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·shows·how·to·interpolate·surface·limits·at·arbitrary··parametric·locations·using·feature·adaptive·FarPatchTables.···The·evaluation·of·the·limit·surface·at·arbitrary·locations·requires·the··adaptive·isolation·of·topological·features.·This·process·converts·the··input·polygonal·control·cage·into·a·collection·of·bi-cubic·patches.···We·can·then·evaluate·the·patches·at·random·parametric·locations·and··obtain·analytical·positions·and·tangents·on·the·limit·surface.···The·results·are·dumped·into·a·MEL·script·that·draws·streak·particle··systems·that·show·the·tangent·and·bi-tangent·at·the·random·samples·locations.··include·opensubdivfartopologyDescriptor.h·include·opensubdivfarprimvarRefiner.h·include·opensubdivfarpatchTableFactory.h·include·opensubdivfarpatchMap.h·include·opensubdivfarptexIndices.h·include·cassert·include·cstdio·include·cstring·include·cfloat·using·namespace·OpenSubdiv··typedef·double·Real···pyramid·geometry·from·catmark_pyramid_crease0.h·static·int·const·g_nverts··5··static·Real·const·g_verts··24····0.0f·,·0.0f·,·2.0f·,·0.0f·,·-2.0f·,·0.0f·,·2.0f·,·0.0f·,·0.0f·,·0.0f·,·2.0f·,·0.0f·,·-2.0f·,·0.0f·,·0.0f·,··static·int·const·g_vertsperface··5····3·,·3·,·3·,·3·,·4··static·int·const·g_nfaces··5··static·int·const·g_faceverts··16····0·,·1·,·2·,·0·,·2·,·3·,·0·,·3·,·4·,·0·,·4·,·1·,·4·,·3·,·2·,·1··static·int·const·g_ncreases··4··static·int·const·g_creaseverts··8····4·,·3·,·3·,·2·,·2·,·1·,·1·,·4··static·float·const·g_creaseweights··4····3.0f·,·3.0f·,·3.0f·,·3.0f···Creates·a·FarTopologyRefiner·from·the·pyramid·shape·above·static·Far··TopologyRefiner··createTopologyRefiner··------------------------------------------------------------------------------··Vertex·container·implementation.··struct·Vertex···Minimal·required·interface·----------------------·Vertex····void·Clear··void···0···point··0···point··1···point··2···0.0f···void·AddWithWeight··Vertex·const··src·,·Real·weight···point··0···weight··src·.·point··0··point··1···weight··src·.·point··1··point··2···weight··src·.·point··2···Real·point··3···------------------------------------------------------------------------------··Limit·frame·container·implementation·--·this·interface·is·not·strictly··required·but·follows·a·similar·pattern·to·Vertex.··struct·LimitFrame··void·Clear··void···0···point··0···point··1···point··2···0.0f··deriv1··0···deriv1··1···deriv1··2···0.0f··deriv2··0···deriv2··1···deriv2··2···0.0f···void·AddWithWeight··Vertex·const··src·,·Real·weight·,·Real·d1Weight·,·Real·d2Weight···point··0···weight··src·.·point··0··point··1···weight··src·.·point··1··point··2···weight··src·.·point··2··deriv1··0···d1Weight··src·.·point··0··deriv1··1···d1Weight··src·.·point··1··deriv1··2···d1Weight··src·.·point··2··deriv2··0···d2Weight··src·.·point··0··deriv2··1···d2Weight··src·.·point··1··deriv2··2···d2Weight··src·.·point··2···Real·point··3·,·deriv1··3·,·deriv2··3···------------------------------------------------------------------------------·int·main··int·,·char·····Generate·a·FarTopologyRefiner·see·tutorial_1_1·for·details.·Far··TopologyRefiner··refiner··createTopologyRefiner···Patches·are·constructed·from·adaptively·refined·faces,·but·the·processes··of·constructing·the·PatchTable·and·of·applying·adaptive·refinement·have··historically·been·separate.·Adaptive·refinement·is·applied·purely·to··satisfy·the·needs·of·the·desired·PatchTable,·so·options·associated·with··adaptive·refinement·should·be·derived·from·those·specified·for·the··PatchTable.·This·is·not·a·strict·requirement,·but·it·will·avoid··problems·arising·from·specifyingcoordinating·the·two·independently··especially·when·dealing·with·face-varying·patches.··Initialize·options·for·the·PatchTable···Choose·patches·adaptively·refined·to·level·3·since·the·sharpest·crease··in·the·shape·is·3.0f·in·g_creaseweights,·and·include·the·inf-sharp··crease·option·just·to·illustrate·the·need·to·syncronize·options.··int·maxPatchLevel··3··Far··PatchTableFactory··Options·patchOptions··maxPatchLevel··patchOptions·.·SetPatchPrecision··Real···patchOptions·.·useInfSharpPatch··true··patchOptions·.·generateVaryingTables··false··patchOptions·.·endCapType··Far··PatchTableFactory··Options··ENDCAP_GREGORY_BASIS···Initialize·corresonding·options·for·adaptive·refinement·Far··TopologyRefiner··AdaptiveOptions·adaptiveOptions··maxPatchLevel··bool·assignAdaptiveOptionsExplicitly··false··if··assignAdaptiveOptionsExplicitly···adaptiveOptions·.·useInfSharpPatch··true···else···Be·sure·patch·options·were·intialized·with·the·desired·max·level·adaptiveOptions··patchOptions·.·GetRefineAdaptiveOptions···assert··adaptiveOptions·.·useInfSharpPatch··patchOptions·.·useInfSharpPatch···Apply·adaptive·refinement·and·construct·the·associated·PatchTable·to··evaluate·the·limit·surface·refiner·-·RefineAdaptive··adaptiveOptions··Far··PatchTable·const··patchTable··Far··PatchTableFactory··Create···refiner·,·patchOptions···Compute·the·total·number·of·points·we·need·to·evaluate·the·PatchTable.··Approximations·at·irregular·or·extraordinary·features·require·the·use··of·additional·points·associated·with·the·patches·that·are·referred·to··as·local·points·i.e.·local·to·the·PatchTable.·int·nRefinerVertices··refiner·-·GetNumVerticesTotal··int·nLocalPoints··patchTable·-·GetNumLocalPoints···Create·a·buffer·to·hold·the·position·of·the·refined·verts·and··local·points,·then·copy·the·coarse·positions·at·the·beginning.·std··vector··Vertex··verts··nRefinerVertices··nLocalPoints··std··memcpy···verts··0·,·g_verts·,·g_nverts··3··sizeof··Real···Adaptive·refinement·may·result·in·fewer·levels·than·the·max·specified.·int·nRefinedLevels··refiner·-·GetNumLevels···Interpolate·vertex·primvar·data··they·are·the·control·vertices··of·the·limit·patches·see·tutorial_1_1·for·details·Far··PrimvarRefinerReal··Real··primvarRefiner···refiner··Vertex··src···verts··0··for··int·level··1··level··nRefinedLevels···level···Vertex··dst··src··refiner·-·GetLevel··level·-1·.·GetNumVertices··primvarRefiner·.·Interpolate··level·,·src·,·dst··src··dst····Evaluate·local·points·from·interpolated·vertex·primvars.·if··nLocalPoints···patchTable·-·GetLocalPointStencilTable··Real···-·UpdateValues···verts··0·,··verts··nRefinerVertices····Create·a·FarPatchMap·to·help·locating·patches·in·the·table·Far··PatchMap·patchmap···patchTable···Create·a·FarPtexIndices·to·help·find·indices·of·ptex·faces.·Far··PtexIndices·ptexIndices···refiner···Generate·random·samples·on·each·ptex·face·int·nsamplesPerFace··200·,·nfaces··ptexIndices·.·GetNumFaces··std··vector··LimitFrame··samples··nsamplesPerFace··nfaces··srand··static_cast··int···2147483647···Real·pWeights··20·,·dsWeights··20·,·dtWeights··20··for··int·face··0·,·count··0··face··nfaces···face···for··int·sample··0··sample··nsamplesPerFace···sample·,··count···Real·s···Real··rand····Real··RAND_MAX·,·t···Real··rand····Real··RAND_MAX···Locate·the·patch·corresponding·to·the·face·ptex·idx·and·s,t·Far··PatchTable··PatchHandle·const··handle··patchmap·.·FindPatch··face·,·s·,·t··assert··handle···Evaluate·the·patch·weights,·identify·the·CVs·and·compute·the·limit·frame·patchTable·-·EvaluateBasis···handle·,·s·,·t·,·pWeights·,·dsWeights·,·dtWeights··Far··ConstIndexArray·cvs··patchTable·-·GetPatchVertices···handle··LimitFrame··dst··samples··count··dst·.·Clear··for··int·cv··0··cv··cvs·.·size···cv···dst·.·AddWithWeight··verts··cvs··cv·,·pWeights··cv·,·dsWeights··cv·,·dtWeights··cv·······Visualization·with·Maya··print·a·MEL·script·that·generates·particles··at·the·location·of·the·limit·vertices·int·nsamples···int··samples·.·size··printf··file·-f·-new·n····Output·particle·positions·for·the·tangent·printf··particle·-n·deriv1···for··int·sample··0··sample··nsamples···sample···Real·const··pos··samples··sample·.·point··printf··-p·f·f·f·n··,·pos··0·,·pos··1·,·pos··2···printf···n····Set·per-particle·direction·using·the·limit·tangent·display·as·Streak·printf··setAttr··deriv1.particleRenderType··6·n···printf··setAttr··deriv1.velocity··-type··vectorArray··d··,·nsamples··for··int·sample··0··sample··nsamples···sample···Real·const··tan1··samples··sample·.·deriv1··printf··f·f·f·n··,·tan1··0·,·tan1··1·,·tan1··2···printf···n····Output·particle·positions·for·the·bi-tangent·printf··particle·-n·deriv2···for··int·sample··0··sample··nsamples···sample···Real·const··pos··samples··sample·.·point··printf··-p·f·f·f·n··,·pos··0·,·pos··1·,·pos··2···printf···n···printf··setAttr··deriv2.particleRenderType··6·n···printf··setAttr··deriv2.velocity··-type··vectorArray··d··,·nsamples··for··int·sample··0··sample··nsamples···sample···Real·const··tan2··samples··sample·.·deriv2··printf··f·f·f·n··,·tan2··0·,·tan2··1·,·tan2··2···printf···n····Exercise·to·the·reader··cross·tangent··bi-tangent·for·limit··surface·normal...··Force·Maya·DAG·update·to·see·the·result·in·the·viewport·printf··currentTime·-edit·currentTime·-q·n···printf··select·deriv1Shape·deriv2Shape·n····delete·refiner··delete·patchTable··return·EXIT_SUCCESS···------------------------------------------------------------------------------·static·Far··TopologyRefiner··createTopologyRefiner···typedef·Far··TopologyDescriptor·Descriptor··Sdc··SchemeType·type··OpenSubdiv··Sdc··SCHEME_CATMARK··Sdc··Options·options··options·.·SetVtxBoundaryInterpolation··Sdc··Options··VTX_BOUNDARY_EDGE_ONLY··Descriptor·desc··desc·.·numVertices··g_nverts··desc·.·numFaces··g_nfaces··desc·.·numVertsPerFace··g_vertsperface··desc·.·vertIndicesPerFace··g_faceverts··desc·.·numCreases··g_ncreases··desc·.·creaseVertexIndexPairs··g_creaseverts··desc·.·creaseWeights··g_creaseweights···Instantiate·a·FarTopologyRefiner·from·the·descriptor.·Far··TopologyRefiner··refiner··Far··TopologyRefinerFactory··Descriptor··Create··desc·,·Far··TopologyRefinerFactory··Descriptor··Options··type·,·options··return·refiner···Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | ||
50 | ········"tags":·"", | ||
51 | ········"loc":·"far_tutorial_5_1.html" | ||
52 | ····},·{ | ||
53 | ········"title":·"bfr_tutorial_1_2.cpp", | 43 | ········"title":·"bfr_tutorial_1_2.cpp", |
54 | ········"text":·"bfr_tutorial_1_2.cpp·bfr_tutorial_1_2.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsbfrtutorial_1_2bfr_tutorial_1_2.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·builds·on·the·previous·tutorial·that·makes·use·of·the··SurfaceFactory·and·Surface·for·evaluating·the·limit·surface·of·faces··by·using·the·Tessellation·class·to·determine·the·points·to·evaluate··and·the·faces·that·connect·them.···The·Tessellation·class·replaces·the·explicit·determination·of·points··and·faces·for·the·triangle·fan·of·the·previous·example.·Given·a··uniform·tessellation·rate·via·a·command·line·option,·Tessellation··returns·the·set·of·coordinates·to·evaluate,·and·separately·returns··the·faces·that·connect·them.··include·opensubdivfartopologyRefiner.h·include·opensubdivbfrrefinerSurfaceFactory.h·include·opensubdivbfrsurface.h·include·opensubdivbfrtessellation.h·include·vector·include·string·include·cstring·include·cstdio··Local·headers·with·support·for·this·tutorial·in·namespace·tutorial·include·.meshLoader.h·include·.objWriter.h·using·namespace·OpenSubdiv····Simple·command·line·arguments·to·provide·input·and·run-time·options··class·Args··public··std··string·inputObjFile··std··string·outputObjFile··Sdc··SchemeType·schemeType··int·tessUniformRate··bool·tessQuadsFlag··public··Args··int·argc·,·char··argv···inputObjFile·,·outputObjFile·,·schemeType··Sdc··SCHEME_CATMARK·,·tessUniformRate··5·,·tessQuadsFlag··false···for··int·i··1··i··argc···i···if··strstr··argv··i·,·.obj···if··inputObjFile·.·empty···inputObjFile··std··string··argv··i···else··fprintf··stderr·,·Warning·Extra·Obj·file·s·ignored·n··,·argv··i····else·if···strcmp··argv··i·,·-o···if···i··argc··outputObjFile··std··string··argv··i···else·if···strcmp··argv··i·,·-bilinear···schemeType··Sdc··SCHEME_BILINEAR···else·if···strcmp··argv··i·,·-catmark···schemeType··Sdc··SCHEME_CATMARK···else·if···strcmp··argv··i·,·-loop···schemeType··Sdc··SCHEME_LOOP···else·if···strcmp··argv··i·,·-res···if···i··argc··tessUniformRate··atoi··argv··i···else·if···strcmp··argv··i·,·-quads···tessQuadsFlag··true···else··fprintf··stderr·,·Warning·Unrecognized·argument·s·ignored·n··,·argv··i·····private··Args·······The·main·tessellation·function·given·a·mesh·and·vertex·positions,··tessellate·each·face·--·writing·results·in·Obj·format.··void·tessellateToObj··Far··TopologyRefiner·const··meshTopology·,·std··vector··float··const··meshVertexPositions·,·Args·const··options·····Use·simpler·local·type·names·for·the·Surface·and·its·factory··typedef·Bfr··RefinerSurfaceFactory··SurfaceFactory··typedef·Bfr··Surface··float··Surface····Initialize·the·SurfaceFactory·for·the·given·base·mesh·very·low··cost·in·terms·of·both·time·and·space·and·tessellate·each·face··independently·i.e.·no·shared·vertices···Note·that·the·SurfaceFactory·is·not·thread-safe·by·default·due·to··use·of·an·internal·cache.·Creating·a·separate·instance·of·the··SurfaceFactory·for·each·thread·is·one·way·to·safely·parallelize··this·loop.·Another·preferred·is·to·assign·a·thread-safe·cache··to·the·single·instance.···First·declare·any·evaluation·options·when·initializing·though··none·are·used·in·this·simple·case··SurfaceFactory··Options·surfaceOptions··SurfaceFactory·meshSurfaceFactory··meshTopology·,·surfaceOptions····The·Surface·to·be·constructed·and·evaluated·for·each·face·--·as··well·as·the·intermediate·and·output·data·associated·with·it·--·can··be·declared·in·the·scope·local·to·each·face.·But·since·dynamic··memory·is·involved·with·these·variables,·it·is·preferred·to·declare··them·outside·that·loop·to·preserve·and·reuse·that·dynamic·memory.··Surface·faceSurface··std··vector··float··facePatchPoints··std··vector··float··outCoords··std··vector··float··outPos·,·outDu·,·outDv··std··vector··int··outFacets····Assign·Tessellation·Options·applied·for·all·faces.·Tessellations··allow·the·creating·of·either·3-·or·4-sided·faces·--·both·of·which··are·supported·here·via·a·command·line·option··int·const·tessFacetSize··3··options·.·tessQuadsFlag··Bfr··Tessellation··Options·tessOptions··tessOptions·.·SetFacetSize··tessFacetSize··tessOptions·.·PreserveQuads··options·.·tessQuadsFlag····Process·each·face,·writing·the·output·of·each·in·Obj·format··tutorial··ObjWriter·objWriter··options·.·outputObjFile··int·numFaces··meshSurfaceFactory·.·GetNumFaces··for··int·faceIndex··0··faceIndex··numFaces···faceIndex·····Initialize·the·Surface·for·this·face·--·if·valid·skipping··holes·and·boundary·faces·in·some·rare·cases··if···meshSurfaceFactory·.·InitVertexSurface··faceIndex·,··faceSurface···continue·····Declare·a·simple·uniform·Tessellation·for·the·Parameterization··of·this·face·and·identify·coordinates·of·the·points·to·evaluate··Bfr··Tessellation·tessPattern··faceSurface·.·GetParameterization·,·options·.·tessUniformRate·,·tessOptions··int·numOutCoords··tessPattern·.·GetNumCoords··outCoords·.·resize··numOutCoords··2··tessPattern·.·GetCoords··outCoords·.·data····Prepare·the·patch·points·for·the·Surface,·then·use·them·to··evaluate·output·points·for·all·identified·coordinates···Resize·patch·point·and·output·arrays·int·pointSize··3··facePatchPoints·.·resize··faceSurface·.·GetNumPatchPoints···pointSize··outPos·.·resize··numOutCoords··pointSize··outDu·.·resize··numOutCoords··pointSize··outDv·.·resize··numOutCoords··pointSize···Populate·patch·point·and·output·arrays·faceSurface·.·PreparePatchPoints··meshVertexPositions·.·data·,·pointSize·,·facePatchPoints·.·data·,·pointSize··for··int·i··0·,·j··0··i··numOutCoords···i·,·j··pointSize···faceSurface·.·Evaluate···outCoords··i··2·,·facePatchPoints·.·data·,·pointSize·,··outPos··j·,··outDu··j·,··outDv··j·····Identify·the·faces·of·the·Tessellation···Note·the·need·to·offset·vertex·indices·for·the·output·faces·--··using·the·number·of·vertices·generated·prior·to·this·face.·One··of·several·Tessellation·methods·to·transform·the·facet·indices··simply·translates·all·indices·by·the·desired·offset.··int·objVertexIndexOffset··objWriter·.·GetNumVertices··int·numFacets··tessPattern·.·GetNumFacets··outFacets·.·resize··numFacets··tessFacetSize··tessPattern·.·GetFacets··outFacets·.·data··tessPattern·.·TransformFacetCoordIndices··outFacets·.·data·,·objVertexIndexOffset····Write·the·evaluated·points·and·faces·connecting·them·as·Obj··objWriter·.·WriteGroupName··baseFace_·,·faceIndex··objWriter·.·WriteVertexPositions··outPos··objWriter·.·WriteVertexNormals··outDu·,·outDv··objWriter·.·WriteFaces··outFacets·,·tessFacetSize·,·true·,·false······Load·command·line·arguments,·specified·or·default·geometry·and·process··int·main··int·argc·,·char··argv···Args·args··argc·,·argv··Far··TopologyRefiner··meshTopology··0··std··vector··float··meshVtxPositions··std··vector··float··meshFVarUVs··meshTopology··tutorial··createTopologyRefiner··args·.·inputObjFile·,·args·.·schemeType·,·meshVtxPositions·,·meshFVarUVs··if··meshTopology··0···return·EXIT_FAILURE···tessellateToObj···meshTopology·,·meshVtxPositions·,·args··delete·meshTopology··return·EXIT_SUCCESS···------------------------------------------------------------------------------·Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | 44 | ········"text":·"bfr_tutorial_1_2.cpp·bfr_tutorial_1_2.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsbfrtutorial_1_2bfr_tutorial_1_2.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·builds·on·the·previous·tutorial·that·makes·use·of·the··SurfaceFactory·and·Surface·for·evaluating·the·limit·surface·of·faces··by·using·the·Tessellation·class·to·determine·the·points·to·evaluate··and·the·faces·that·connect·them.···The·Tessellation·class·replaces·the·explicit·determination·of·points··and·faces·for·the·triangle·fan·of·the·previous·example.·Given·a··uniform·tessellation·rate·via·a·command·line·option,·Tessellation··returns·the·set·of·coordinates·to·evaluate,·and·separately·returns··the·faces·that·connect·them.··include·opensubdivfartopologyRefiner.h·include·opensubdivbfrrefinerSurfaceFactory.h·include·opensubdivbfrsurface.h·include·opensubdivbfrtessellation.h·include·vector·include·string·include·cstring·include·cstdio··Local·headers·with·support·for·this·tutorial·in·namespace·tutorial·include·.meshLoader.h·include·.objWriter.h·using·namespace·OpenSubdiv····Simple·command·line·arguments·to·provide·input·and·run-time·options··class·Args··public··std··string·inputObjFile··std··string·outputObjFile··Sdc··SchemeType·schemeType··int·tessUniformRate··bool·tessQuadsFlag··public··Args··int·argc·,·char··argv···inputObjFile·,·outputObjFile·,·schemeType··Sdc··SCHEME_CATMARK·,·tessUniformRate··5·,·tessQuadsFlag··false···for··int·i··1··i··argc···i···if··strstr··argv··i·,·.obj···if··inputObjFile·.·empty···inputObjFile··std··string··argv··i···else··fprintf··stderr·,·Warning·Extra·Obj·file·s·ignored·n··,·argv··i····else·if···strcmp··argv··i·,·-o···if···i··argc··outputObjFile··std··string··argv··i···else·if···strcmp··argv··i·,·-bilinear···schemeType··Sdc··SCHEME_BILINEAR···else·if···strcmp··argv··i·,·-catmark···schemeType··Sdc··SCHEME_CATMARK···else·if···strcmp··argv··i·,·-loop···schemeType··Sdc··SCHEME_LOOP···else·if···strcmp··argv··i·,·-res···if···i··argc··tessUniformRate··atoi··argv··i···else·if···strcmp··argv··i·,·-quads···tessQuadsFlag··true···else··fprintf··stderr·,·Warning·Unrecognized·argument·s·ignored·n··,·argv··i·····private··Args·······The·main·tessellation·function·given·a·mesh·and·vertex·positions,··tessellate·each·face·--·writing·results·in·Obj·format.··void·tessellateToObj··Far··TopologyRefiner·const··meshTopology·,·std··vector··float··const··meshVertexPositions·,·Args·const··options·····Use·simpler·local·type·names·for·the·Surface·and·its·factory··typedef·Bfr··RefinerSurfaceFactory··SurfaceFactory··typedef·Bfr··Surface··float··Surface····Initialize·the·SurfaceFactory·for·the·given·base·mesh·very·low··cost·in·terms·of·both·time·and·space·and·tessellate·each·face··independently·i.e.·no·shared·vertices···Note·that·the·SurfaceFactory·is·not·thread-safe·by·default·due·to··use·of·an·internal·cache.·Creating·a·separate·instance·of·the··SurfaceFactory·for·each·thread·is·one·way·to·safely·parallelize··this·loop.·Another·preferred·is·to·assign·a·thread-safe·cache··to·the·single·instance.···First·declare·any·evaluation·options·when·initializing·though··none·are·used·in·this·simple·case··SurfaceFactory··Options·surfaceOptions··SurfaceFactory·meshSurfaceFactory··meshTopology·,·surfaceOptions····The·Surface·to·be·constructed·and·evaluated·for·each·face·--·as··well·as·the·intermediate·and·output·data·associated·with·it·--·can··be·declared·in·the·scope·local·to·each·face.·But·since·dynamic··memory·is·involved·with·these·variables,·it·is·preferred·to·declare··them·outside·that·loop·to·preserve·and·reuse·that·dynamic·memory.··Surface·faceSurface··std··vector··float··facePatchPoints··std··vector··float··outCoords··std··vector··float··outPos·,·outDu·,·outDv··std··vector··int··outFacets····Assign·Tessellation·Options·applied·for·all·faces.·Tessellations··allow·the·creating·of·either·3-·or·4-sided·faces·--·both·of·which··are·supported·here·via·a·command·line·option··int·const·tessFacetSize··3··options·.·tessQuadsFlag··Bfr··Tessellation··Options·tessOptions··tessOptions·.·SetFacetSize··tessFacetSize··tessOptions·.·PreserveQuads··options·.·tessQuadsFlag····Process·each·face,·writing·the·output·of·each·in·Obj·format··tutorial··ObjWriter·objWriter··options·.·outputObjFile··int·numFaces··meshSurfaceFactory·.·GetNumFaces··for··int·faceIndex··0··faceIndex··numFaces···faceIndex·····Initialize·the·Surface·for·this·face·--·if·valid·skipping··holes·and·boundary·faces·in·some·rare·cases··if···meshSurfaceFactory·.·InitVertexSurface··faceIndex·,··faceSurface···continue·····Declare·a·simple·uniform·Tessellation·for·the·Parameterization··of·this·face·and·identify·coordinates·of·the·points·to·evaluate··Bfr··Tessellation·tessPattern··faceSurface·.·GetParameterization·,·options·.·tessUniformRate·,·tessOptions··int·numOutCoords··tessPattern·.·GetNumCoords··outCoords·.·resize··numOutCoords··2··tessPattern·.·GetCoords··outCoords·.·data····Prepare·the·patch·points·for·the·Surface,·then·use·them·to··evaluate·output·points·for·all·identified·coordinates···Resize·patch·point·and·output·arrays·int·pointSize··3··facePatchPoints·.·resize··faceSurface·.·GetNumPatchPoints···pointSize··outPos·.·resize··numOutCoords··pointSize··outDu·.·resize··numOutCoords··pointSize··outDv·.·resize··numOutCoords··pointSize···Populate·patch·point·and·output·arrays·faceSurface·.·PreparePatchPoints··meshVertexPositions·.·data·,·pointSize·,·facePatchPoints·.·data·,·pointSize··for··int·i··0·,·j··0··i··numOutCoords···i·,·j··pointSize···faceSurface·.·Evaluate···outCoords··i··2·,·facePatchPoints·.·data·,·pointSize·,··outPos··j·,··outDu··j·,··outDv··j·····Identify·the·faces·of·the·Tessellation···Note·the·need·to·offset·vertex·indices·for·the·output·faces·--··using·the·number·of·vertices·generated·prior·to·this·face.·One··of·several·Tessellation·methods·to·transform·the·facet·indices··simply·translates·all·indices·by·the·desired·offset.··int·objVertexIndexOffset··objWriter·.·GetNumVertices··int·numFacets··tessPattern·.·GetNumFacets··outFacets·.·resize··numFacets··tessFacetSize··tessPattern·.·GetFacets··outFacets·.·data··tessPattern·.·TransformFacetCoordIndices··outFacets·.·data·,·objVertexIndexOffset····Write·the·evaluated·points·and·faces·connecting·them·as·Obj··objWriter·.·WriteGroupName··baseFace_·,·faceIndex··objWriter·.·WriteVertexPositions··outPos··objWriter·.·WriteVertexNormals··outDu·,·outDv··objWriter·.·WriteFaces··outFacets·,·tessFacetSize·,·true·,·false······Load·command·line·arguments,·specified·or·default·geometry·and·process··int·main··int·argc·,·char··argv···Args·args··argc·,·argv··Far··TopologyRefiner··meshTopology··0··std··vector··float··meshVtxPositions··std··vector··float··meshFVarUVs··meshTopology··tutorial··createTopologyRefiner··args·.·inputObjFile·,·args·.·schemeType·,·meshVtxPositions·,·meshFVarUVs··if··meshTopology··0···return·EXIT_FAILURE···tessellateToObj···meshTopology·,·meshVtxPositions·,·args··delete·meshTopology··return·EXIT_SUCCESS···------------------------------------------------------------------------------·Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", |
55 | ········"tags":·"", | 45 | ········"tags":·"", |
56 | ········"loc":·"bfr_tutorial_1_2.html" | 46 | ········"loc":·"bfr_tutorial_1_2.html" |
57 | ····},·{ | 47 | ····},·{ |
48 | ········"title":·"far_tutorial_5_2.cpp", | ||
49 | ········"text":·"far_tutorial_5_2.cpp·far_tutorial_5_2.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsfartutorial_5_2far_tutorial_5_2.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·shows·how·to·manage·the·limit·surface·of·a·potentially··large·mesh·by·creating·groups·of·patches·for·selected·faces·of·the··mesh.·Familiarity·with·construction·and·evaluation·of·a·PatchTable··is·assumed·see·tutorial_5_1.···When·the·patches·for·a·mesh·do·not·need·to·be·retained·for·further··use,·e.g.·when·simply·computing·points·for·a·tessellation,·the·time··and·space·required·to·construct·a·single·large·PatchTable·can·be··considerable.·By·constructing,·evaluating·and·discarding·smaller··PatchTables·for·subsets·of·the·mesh,·the·high·transient·memory·cost··can·be·avoided·when·computed·serially.·When·computed·in·parallel,··there·may·be·little·memory·savings,·but·the·construction·time·can··then·be·distributed.···This·tutorial·creates·simple·geometry·currently·a·lattice·of·cubes··that·can·be·expanded·in·complexity·with·a·simple·multiplier.·The··collection·of·faces·are·then·divided·into·a·specified·number·of·groups··from·which·patches·will·be·constructed·and·evaluated.·A·simple··tessellation·a·triangle·fan·around·the·midpoint·of·each·face·is·then··written·in·Obj·format·to·the·standard·output.··include·......regressioncommonarg_utils.h·include·......regressioncommonfar_utils.h·include·opensubdivfartopologyDescriptor.h·include·opensubdivfarprimvarRefiner.h·include·opensubdivfarpatchTableFactory.h·include·opensubdivfarpatchMap.h·include·opensubdivfarptexIndices.h·include·cassert·include·cstdio·include·cstring·include·fstream·include·sstream·using·namespace·OpenSubdiv··using·Far··Index····Global·utilities·in·this·namespace·are·not·relevant·to·the·tutorial.··They·simply·serve·to·construct·some·default·geometry·to·be·processed··in·the·form·of·a·TopologyRefiner·and·vector·of·vertex·positions.··namespace····Simple·structs·for·x,y,z·position·and·a·3-tuple·for·the·set··of·vertices·of·a·triangle··struct·Pos··Pos····Pos··float·x·,·float·y·,·float·z···p··0···x·,·p··1···y·,·p··2···z···Pos·operator···Pos·const··op··const··return·Pos··p··0···op·.·p··0·,·p··1···op·.·p··1·,·p··2···op·.·p··2····Clear·and·AddWithWeight·required·for·interpolation·void·Clear··void···0···p··0···p··1···p··2···0.0f···void·AddWithWeight··Pos·const··src·,·float·weight···p··0···weight··src·.·p··0··p··1···weight··src·.·p··1··p··2···weight··src·.·p··2···float·p··3···typedef·std··vector··Pos··PosVector··struct·Tri··Tri····Tri··int·a·,·int·b·,·int·c···v··0···a·,·v··1···b·,·v··2···c···int·v··3···typedef·std··vector··Tri··TriVector····Functions·to·populate·the·topology·and·geometry·arrays·with·simple··shapes·that·we·can·multiply·to·increase·complexity··void·appendDefaultPrimitive··Pos·const··origin·,·std··vector··int···vertsPerFace·,·std··vector··Index···faceVerts·,·std··vector··Pos···positionsPerVert····Local·topology·and·position·of·a·cube·centered·at·origin·static·float·const·cubePositions··8··3·····-0.5f·,·-0.5f·,·-0.5f·,··-0.5f·,·0.5f·,·-0.5f·,··-0.5f·,·0.5f·,·0.5f·,··-0.5f·,·-0.5f·,·0.5f·,··0.5f·,·-0.5f·,·-0.5f·,··0.5f·,·0.5f·,·-0.5f·,··0.5f·,·0.5f·,·0.5f·,··0.5f·,·-0.5f·,·0.5f···static·int·const·cubeFaceVerts··6··4·····0·,·3·,·2·,·1·,··4·,·5·,·6·,·7·,··0·,·4·,·7·,·3·,··1·,·2·,·6·,·5·,··0·,·1·,·5·,·4·,··3·,·7·,·6·,·2····Identify·the·next·vertex·before·appending·vertex·positions·int·baseVertex···int··positionsPerVert·.·size··for··int·i··0··i··8···i···float·const··p··cubePositions··i··positionsPerVert·.·push_back··origin··Pos··p··0·,·p··1·,·p··2····Append·number·of·verts-per-face·and·face-vertices·for·each·face·for··int·i··0··i··6···i···vertsPerFace·.·push_back··4··for··int·j··0··j··4···j···faceVerts·.·push_back··baseVertex··cubeFaceVerts··i··j·····void·createDefaultGeometry··int·multiplier·,·std··vector··int···vertsPerFace·,·std··vector··Index···faceVerts·,·std··vector··Pos···positionsPerVert····Default·primitive·is·currently·a·cube·int·const·vertsPerPrimitive··8··int·const·facesPerPrimitive··6··int·const·faceVertsPerPrimitive··24··int·nPrimitives··multiplier··multiplier··multiplier··positionsPerVert·.·reserve··nPrimitives··vertsPerPrimitive··vertsPerFace·.·reserve··nPrimitives··facesPerPrimitive··faceVerts·.·reserve··nPrimitives··faceVertsPerPrimitive··for··int·x··0··x··multiplier···x···for··int·y··0··y··multiplier···y···for··int·z··0··z··multiplier···z···appendDefaultPrimitive··Pos··float··x··2.0f·,··float··y··2.0f·,··float··z··2.0f·,·vertsPerFace·,·faceVerts·,·positionsPerVert········Create·a·TopologyRefiner·from·default·geometry·created·above··Far··TopologyRefiner··createTopologyRefinerDefault··int·multiplier·,·PosVector··posVector···std··vector··int··topVertsPerFace··std··vector··Index··topFaceVerts··createDefaultGeometry··multiplier·,·topVertsPerFace·,·topFaceVerts·,·posVector··typedef·Far··TopologyDescriptor·Descriptor··Sdc··SchemeType·type··OpenSubdiv··Sdc··SCHEME_CATMARK··Sdc··Options·options··options·.·SetVtxBoundaryInterpolation··Sdc··Options··VTX_BOUNDARY_EDGE_AND_CORNER··Descriptor·desc··desc·.·numVertices···int··posVector·.·size··desc·.·numFaces···int··topVertsPerFace·.·size··desc·.·numVertsPerFace···topVertsPerFace··0··desc·.·vertIndicesPerFace···topFaceVerts··0···Instantiate·a·FarTopologyRefiner·from·the·descriptor.·Far··TopologyRefiner··refiner··Far··TopologyRefinerFactory··Descriptor··Create··desc·,·Far··TopologyRefinerFactory··Descriptor··Options··type·,·options··if··refiner··0···exit··EXIT_FAILURE···bool·dumpDefaultGeometryToObj··false··if··dumpDefaultGeometryToObj···int·nVerts···int··posVector·.·size··for··int·i··0··i··nVerts···i···float·const··p··posVector··i·.·p··printf··v·f·f·f·n··,·p··0·,·p··1·,·p··2···int·const··fVerts···topFaceVerts··0··int·nFaces···int··topVertsPerFace·.·size··for··int·i··0··i··nFaces···i···printf··f··for··int·j··0··j··topVertsPerFace··i···j···printf···d·,·1···fVerts····printf···n····exit··EXIT_SUCCESS···return·refiner·····Create·a·TopologyRefiner·from·a·specified·Obj·file··geometry·created·internally··Far··TopologyRefiner··createTopologyRefinerFromObj··std··string·const··objFileName·,·Sdc··SchemeType·schemeType·,·PosVector··posVector···const·char··filename··objFileName·.·c_str··const·Shape··shape··0··std··ifstream·ifs··filename··if··ifs···std··stringstream·ss··ss··ifs·.·rdbuf··ifs·.·close··std··string·shapeString··ss·.·str··shape··Shape··parseObj··shapeString·.·c_str·,·ConvertSdcTypeToShapeScheme··schemeType·,·false··if··shape··0···fprintf··stderr·,·Error·Cannot·create·Shape··from·.obj·file·s·n··,·filename··return·0····else··fprintf··stderr·,·Error·Cannot·open·.obj·file·s·n··,·filename··return·0···Sdc··SchemeType·sdcType··GetSdcType···shape··Sdc··Options·sdcOptions··GetSdcOptions···shape··Far··TopologyRefiner··refiner··Far··TopologyRefinerFactory··Shape··Create···shape·,·Far··TopologyRefinerFactory··Shape··Options··sdcType·,·sdcOptions··if··refiner··0···fprintf··stderr·,·Error·Unable·to·construct·TopologyRefiner··from·.obj·file·s·n··,·filename··return·0···int·numVertices··refiner·-·GetNumVerticesTotal··posVector·.·resize··numVertices··std··memcpy···posVector··0·.·p··0·,··shape·-·verts··0·,·numVertices··3··sizeof··float··delete·shape··return·refiner·····end·namespace···The·PatchGroup·bundles·objects·used·to·create·and·evaluate·a·sparse·set··of·patches.·Its·construction·creates·a·PatchTable·and·all·other·objects··necessary·to·evaluate·patches·associated·with·the·specified·subset·of··faces·provided.·A·simple·method·to·tessellate·a·specified·face·is··provided.···Note·that,·since·the·data·buffers·for·the·base·level·and·refined·levels··are·separate·we·want·to·avoid·copying·primvar·data·for·the·base·level··of·a·potentially·large·mesh,·that·patch·evaluation·needs·to·account··for·the·separation·when·combining·control·points.··struct·PatchGroup··PatchGroup··Far··PatchTableFactory··Options·patchOptions·,·Far··TopologyRefiner·const··baseRefinerArg·,·Far··PtexIndices·const··basePtexIndicesArg·,·std··vector··Pos··const··basePositionsArg·,·std··vector··Index··const··baseFacesArg···PatchGroup··void·TessellateBaseFace··int·face·,·PosVector··tessPoints·,·TriVector··tessTris··const···Const·reference·members·Far··TopologyRefiner·const··baseRefiner··Far··PtexIndices·const··basePtexIndices··std··vector··Pos··const··basePositions··std··vector··Index··const··baseFaces···Members·constructed·to·evaluate·patches·Far··PatchTable··patchTable··Far··PatchMap··patchMap··int·patchFaceSize··std··vector··Pos··localPositions···PatchGroup··PatchGroup··Far··PatchTableFactory··Options·patchOptions·,·Far··TopologyRefiner·const··baseRefinerArg·,·Far··PtexIndices·const··basePtexIndicesArg·,·std··vector··Pos··const··basePositionsArg·,·std··vector··Index··const··baseFacesArg···baseRefiner··baseRefinerArg·,·basePtexIndices··basePtexIndicesArg·,·basePositions··basePositionsArg·,·baseFaces··baseFacesArg····Create·a·local·refiner·sharing·the·base·level,·apply·adaptive··refinement·to·the·given·subset·of·base·faces,·and·construct·a·patch··table·and·its·associated·map·for·the·same·set·of·faces··Far··ConstIndexArray·groupFaces···baseFaces··0·,··int··baseFaces·.·size··Far··TopologyRefiner··localRefiner··Far··TopologyRefinerFactory··Far··TopologyDescriptor··Create··baseRefiner··localRefiner·-·RefineAdaptive··patchOptions·.·GetRefineAdaptiveOptions·,·groupFaces··patchTable··Far··PatchTableFactory··Create···localRefiner·,·patchOptions·,·groupFaces··patchMap··new·Far··PatchMap···patchTable··patchFaceSize··Sdc··SchemeTypeTraits··GetRegularFaceSize··baseRefiner·.·GetSchemeType···Compute·the·number·of·refined·and·local·points·needed·to·evaluate·the··patches,·allocate·and·interpolate.·This·varies·from·tutorial_5_1·in··that·the·primvar·buffer·for·the·base·vertices·is·separate·from·the··refined·vertices·and·local·patch·points·which·must·also·be·accounted··for·when·evaluating·the·patches.··int·nBaseVertices··localRefiner·-·GetLevel··0·.·GetNumVertices··int·nRefinedVertices··localRefiner·-·GetNumVerticesTotal··-·nBaseVertices··int·nLocalPoints··patchTable·-·GetNumLocalPoints··localPositions·.·resize··nRefinedVertices··nLocalPoints··if··nRefinedVertices···Far··PrimvarRefiner·primvarRefiner···localRefiner··Pos·const··src···basePositions··0··Pos··dst···localPositions··0··for··int·level··1··level··localRefiner·-·GetNumLevels···level···primvarRefiner·.·Interpolate··level·,·src·,·dst··src··dst··dst··localRefiner·-·GetLevel··level·.·GetNumVertices····if··nLocalPoints···patchTable·-·GetLocalPointStencilTable··-·UpdateValues···basePositions··0·,·nBaseVertices·,··localPositions··0·,··localPositions··nRefinedVertices···delete·localRefiner···PatchGroup··PatchGroup···delete·patchTable··delete·patchMap···void·PatchGroup··TessellateBaseFace··int·face·,·PosVector··tessPoints·,·TriVector··tessTris··const···Tesselate·the·face·with·points·at·the·midpoint·of·the·face·and·at··each·corner,·and·triangles·connecting·the·midpoint·to·each·edge.··Irregular·faces·require·an·aribrary·number·of·corners·points,·but··all·are·at·the·origin·of·the·child·face·of·the·irregular·base·face··float·const·quadPoints··5··2·····0.5f·,·0.5f·,··0.0f·,·0.0f·,··1.0f·,·0.0f·,··1.0f·,·1.0f·,··0.0f·,·1.0f···float·const·triPoints··4··2·····0.5f·,·0.5f·,··0.0f·,·0.0f·,··1.0f·,·0.0f·,··0.0f·,·1.0f···float·const·irregPoints··4··2·····1.0f·,·1.0f·,··0.0f·,·0.0f····Determine·the·topology·of·the·given·base·face·and·the·resulting··tessellation·points·and·faces·to·generate··int·baseFace··baseFaces··face··int·faceSize··baseRefiner·.·GetLevel··0·.·GetFaceVertices··baseFace·.·size··bool·faceIsIrregular···faceSize··patchFaceSize··int·nTessPoints··faceSize··1··int·nTessFaces··faceSize··tessPoints·.·resize··nTessPoints··tessTris·.·resize··nTessFaces···Compute·the·mid·and·corner·points·--·remember·that·for·an·irregular··face,·we·must·reference·the·individual·ptex·faces·for·each·corner··int·ptexFace··basePtexIndices·.·GetFaceId··baseFace··int·numBaseVerts···int··basePositions·.·size··for··int·i··0··i··nTessPoints···i····Choose·the·s,t·coordinate·from·the·fixed·tessellation·float·const··st··faceIsIrregular··irregPoints··i··0····faceSize··4···quadPoints··i···triPoints··i···Locate·the·patch·corresponding·to·the·face·ptex·idx·and·s,t··and·evaluate·int·patchFace··ptexFace··if··faceIsIrregular···i··0···patchFace··i·-·1···Far··PatchTable··PatchHandle·const··handle··patchMap·-·FindPatch··patchFace·,·st··0·,·st··1··assert··handle··float·pWeights··20··patchTable·-·EvaluateBasis···handle·,·st··0·,·st··1·,·pWeights···Identify·the·patch·cvs·and·combine·with·the·evaluated·weights·--··remember·to·distinguish·cvs·in·the·base·level·Far··ConstIndexArray·cvIndices··patchTable·-·GetPatchVertices···handle··Pos··pos··tessPoints··i··pos·.·Clear··for··int·cv··0··cv··cvIndices·.·size···cv···int·cvIndex··cvIndices··cv··if··cvIndex··numBaseVerts···pos·.·AddWithWeight··basePositions··cvIndex·,·pWeights··cv···else··pos·.·AddWithWeight··localPositions··cvIndex·-·numBaseVerts·,·pWeights··cv······Assign·triangles·connecting·the·midpoint·of·the·base·face·to·the··points·computed·at·the·ends·of·each·of·its·edges··for··int·i··0··i··nTessFaces···i···tessTris··i···Tri··0·,·1··i·,·1···i··1···faceSize······Command·line·arguments·parsed·to·provide·run-time·options··class·Args··public··std··string·inputObjFile··Sdc··SchemeType·schemeType··int·geoMultiplier··int·maxPatchDepth··int·numPatchGroups··bool·noTessFlag··bool·noOutputFlag··public··Args··int·argc·,·char··argv···inputObjFile·,·schemeType··Sdc··SCHEME_CATMARK·,·geoMultiplier··10·,·maxPatchDepth··3·,·numPatchGroups··10·,·noTessFlag··false·,·noOutputFlag··false····Parse·and·assign·standard·arguments·and·Obj·files·ArgOptions·args··args·.·Parse··argc·,·argv··maxPatchDepth··args·.·GetLevel··schemeType··ConvertShapeSchemeToSdcType··args·.·GetDefaultScheme··const·std··vector··const·char··objFiles··args·.·GetObjFiles··if···objFiles·.·empty···for··size_t·i··1··i··objFiles·.·size···i···fprintf··stderr·,·Warning·.obj·file·s·ignored·n··,·objFiles··i···inputObjFile··std··string··objFiles··0····Parse·remaining·arguments·specific·to·this·example·const·std··vector··const·char···rargs··args·.·GetRemainingArgs··for··size_t·i··0··i··rargs·.·size···i···if···strcmp··rargs··i·,·-groups···if···i··rargs·.·size··numPatchGroups··atoi··rargs··i···else·if···strcmp··rargs··i·,·-mult···if···i··rargs·.·size··geoMultiplier··atoi··rargs··i···else·if···strcmp··rargs··i·,·-notess···noTessFlag··true···else·if···strcmp··rargs··i·,·-nooutput···noOutputFlag··true···else··fprintf··stderr·,·Warning·Argument·s·ignored·n··,·rargs··i·····private··Args·······Load·command·line·arguments·and·geometry,·then·divide·the·mesh·into·groups··of·faces·from·which·to·create·and·tessellate·patches··int·main··int·argc·,·char··argv···Args·args··argc·,·argv····Create·or·load·the·base·geometry·command·line·arguments·allow·a··.obj·file·to·be·specified.·In·addition·to·the·TopologyRefiner··and·set·of·positions·for·the·base·vertices,·a·set·of·PtexIndices·is··also·required·to·evaluate·patches,·so·build·it·here·once·for·use··elsewhere··std··vector··Pos··basePositions··Far··TopologyRefiner··baseRefinerPtr··args·.·inputObjFile·.·empty···createTopologyRefinerDefault··args·.·geoMultiplier·,·basePositions···createTopologyRefinerFromObj··args·.·inputObjFile·,·args·.·schemeType·,·basePositions··assert··baseRefinerPtr··Far··TopologyRefiner··baseRefiner···baseRefinerPtr··Far··PtexIndices·basePtexIndices··baseRefiner····Determine·the·sizes·of·the·patch·groups·specified·--·there·will·be··two·sizes·that·differ·by·one·to·account·for·unequal·division··int·numBaseFaces··baseRefiner·.·GetNumFacesTotal··int·numPatchGroups··args·.·numPatchGroups··if··numPatchGroups··numBaseFaces···numPatchGroups··numBaseFaces···else·if··numPatchGroups··1···numPatchGroups··1···int·lesserGroupSize··numBaseFaces··numPatchGroups··int·numLargerGroups··numBaseFaces·-··numPatchGroups··lesserGroupSize····Define·the·options·used·to·construct·the·patches·for·each·group.··Unless·suppressed,·a·tessellation·in·Obj·format·will·also·be·printed··to·standard·output,·so·keep·track·of·the·vertex·indices.··Far··PatchTableFactory··Options·patchOptions··args·.·maxPatchDepth··patchOptions·.·generateVaryingTables··false··patchOptions·.·shareEndCapPatchPoints··false··patchOptions·.·endCapType··Far··PatchTableFactory··Options··ENDCAP_GREGORY_BASIS··int·objVertCount··0··PosVector·tessPoints··TriVector·tessFaces··for··int·i··0··i··numPatchGroups···i·····Initialize·a·vector·with·a·group·of·base·faces·from·which·to··create·and·evaluate·patches··Index·minFace··i··lesserGroupSize··std··min··i·,·numLargerGroups··Index·maxFace··minFace··lesserGroupSize···i··numLargerGroups··std··vector··Far··Index··baseFaces··maxFace·-·minFace··for··int·face··minFace··face··maxFace···face···baseFaces··face·-·minFace···face·····Declare·a·PatchGroup·and·tessellate·its·base·faces·--·generating··vertices·and·faces·in·Obj·format·to·standard·output··PatchGroup·patchGroup··patchOptions·,·baseRefiner·,·basePtexIndices·,·basePositions·,·baseFaces··if··args·.·noTessFlag··continue··if···args·.·noOutputFlag···printf··g·patchGroup_d·n··,·i···for··int·j··0··j···int··baseFaces·.·size···j···patchGroup·.·TessellateBaseFace··j·,·tessPoints·,·tessFaces··if···args·.·noOutputFlag···int·nVerts···int··tessPoints·.·size··for··int·k··0··k··nVerts···k···float·const··p··tessPoints··k·.·p··printf··v·f·f·f·n··,·p··0·,·p··1·,·p··2···int·nTris···int··tessFaces·.·size··int·vBase··1··objVertCount··for··int·k··0··k··nTris···k···int·const··v··tessFaces··k·.·v··printf··f·d·d·d·n··,·vBase··v··0·,·vBase··v··1·,·vBase··v··2···objVertCount··nVerts·····delete·baseRefinerPtr··return·EXIT_SUCCESS···Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | ||
50 | ········"tags":·"", | ||
51 | ········"loc":·"far_tutorial_5_2.html" | ||
52 | ····},·{ | ||
58 | ········"title":·"far_tutorial_5_3.cpp", | 53 | ········"title":·"far_tutorial_5_3.cpp", |
59 | ········"text":·"far_tutorial_5_3.cpp·far_tutorial_5_3.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsfartutorial_5_3far_tutorial_5_3.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·shows·how·to·use·a·FarLimitStenciTable·to·repeatedly··and·efficiently·evaluate·a·set·of·points·and·optionally·derivatives··on·the·limit·surface.···A·LimitStencilTable·derives·from·StencilTable·but·is·specialized·to··factor·the·evaluation·of·limit·positions·and·derivatives·into·stencils.··This·allows·a·set·of·limit·properties·to·be·efficiently·recomputed·in··response·to·changes·to·the·vertices·of·the·base·mesh.·Constructing··the·different·kinds·of·StencilTables·can·have·a·high·cost,·so·whether··that·cost·is·worth·it·will·depend·on·your·usage·e.g.·if·points·are··only·computed·once,·using·stencil·tables·is·typically·not·worth·the··added·cost.···Any·points·on·the·limit·surface·can·be·identified·for·evaluation.·In··this·example·we·create·a·crude·tessellation·similar·to·tutorial_5_2.··The·midpoint·of·each·face·and·points·near·the·corners·of·the·face·are··evaluated·and·a·triangle·fan·connects·them.··include·......regressioncommonarg_utils.h·include·......regressioncommonfar_utils.h·include·opensubdivfartopologyDescriptor.h·include·opensubdivfarpatchTableFactory.h·include·opensubdivfarstencilTableFactory.h·include·opensubdivfarptexIndices.h·include·cassert·include·cstdio·include·cstring·include·fstream·include·sstream·using·namespace·OpenSubdiv··using·Far··Index····Global·utilities·in·this·namespace·are·not·relevant·to·the·tutorial.··They·simply·serve·to·construct·some·default·geometry·to·be·processed··in·the·form·of·a·TopologyRefiner·and·vector·of·vertex·positions.··namespace····Simple·structs·for·x,y,z·position·and·a·3-tuple·for·the·set··of·vertices·of·a·triangle··struct·Pos··Pos····Pos··float·x·,·float·y·,·float·z···p··0···x·,·p··1···y·,·p··2···z···Pos·operator···Pos·const··op··const··return·Pos··p··0···op·.·p··0·,·p··1···op·.·p··1·,·p··2···op·.·p··2····Clear·and·AddWithWeight·required·for·interpolation·void·Clear··void···0···p··0···p··1···p··2···0.0f···void·AddWithWeight··Pos·const··src·,·float·weight···p··0···weight··src·.·p··0··p··1···weight··src·.·p··1··p··2···weight··src·.·p··2···float·p··3···typedef·std··vector··Pos··PosVector··struct·Tri··Tri····Tri··int·a·,·int·b·,·int·c···v··0···a·,·v··1···b·,·v··2···c···int·v··3···typedef·std··vector··Tri··TriVector····Functions·to·populate·the·topology·and·geometry·arrays·a·simple··shape·whose·positions·may·be·transformed··void·createCube··std··vector··int···vertsPerFace·,·std··vector··Index···faceVertsPerFace·,·std··vector··Pos···positionsPerVert····Local·topology·and·position·of·a·cube·centered·at·origin·static·float·const·cubePositions··8··3·····-0.5f·,·-0.5f·,·-0.5f·,··-0.5f·,·0.5f·,·-0.5f·,··-0.5f·,·0.5f·,·0.5f·,··-0.5f·,·-0.5f·,·0.5f·,··0.5f·,·-0.5f·,·-0.5f·,··0.5f·,·0.5f·,·-0.5f·,··0.5f·,·0.5f·,·0.5f·,··0.5f·,·-0.5f·,·0.5f···static·int·const·cubeFaceVerts··6··4·····0·,·3·,·2·,·1·,··4·,·5·,·6·,·7·,··0·,·4·,·7·,·3·,··1·,·2·,·6·,·5·,··0·,·1·,·5·,·4·,··3·,·7·,·6·,·2····Initialize·verts-per-face·and·face-vertices·for·each·face·vertsPerFace·.·resize··6··faceVertsPerFace·.·resize··24··for··int·i··0··i··6···i···vertsPerFace··i···4··for··int·j··0··j··4···j···faceVertsPerFace··i··4··j···cubeFaceVerts··i··j·····Initialize·vertex·positions·positionsPerVert·.·resize··8··for··int·i··0··i··8···i···float·const··p··cubePositions··i··positionsPerVert··i···Pos··p··0·,·p··1·,·p··2······Create·a·TopologyRefiner·from·default·geometry·created·above··Far··TopologyRefiner··createTopologyRefinerDefault··PosVector··posVector···std··vector··int··topVertsPerFace··std··vector··Index··topFaceVerts··createCube··topVertsPerFace·,·topFaceVerts·,·posVector··typedef·Far··TopologyDescriptor·Descriptor··Sdc··SchemeType·type··OpenSubdiv··Sdc··SCHEME_CATMARK··Sdc··Options·options··options·.·SetVtxBoundaryInterpolation··Sdc··Options··VTX_BOUNDARY_EDGE_AND_CORNER··Descriptor·desc··desc·.·numVertices···int··posVector·.·size··desc·.·numFaces···int··topVertsPerFace·.·size··desc·.·numVertsPerFace···topVertsPerFace··0··desc·.·vertIndicesPerFace···topFaceVerts··0···Instantiate·a·FarTopologyRefiner·from·the·descriptor.·Far··TopologyRefiner··refiner··Far··TopologyRefinerFactory··Descriptor··Create··desc·,·Far··TopologyRefinerFactory··Descriptor··Options··type·,·options··assert··refiner··return·refiner·····Create·a·TopologyRefiner·from·a·specified·Obj·file··geometry·created·internally··Far··TopologyRefiner··createTopologyRefinerFromObj··std··string·const··objFileName·,·Sdc··SchemeType·schemeType·,·PosVector··posVector···const·char··filename··objFileName·.·c_str··const·Shape··shape··0··std··ifstream·ifs··filename··if··ifs···std··stringstream·ss··ss··ifs·.·rdbuf··ifs·.·close··std··string·shapeString··ss·.·str··shape··Shape··parseObj··shapeString·.·c_str·,·ConvertSdcTypeToShapeScheme··schemeType·,·false··if··shape··0···fprintf··stderr·,·Error·Cannot·create·Shape·from·.obj·file·s·n··,·filename··return·0····else··fprintf··stderr·,·Error·Cannot·open·.obj·file·s·n··,·filename··return·0···Sdc··SchemeType·sdcType··GetSdcType···shape··Sdc··Options·sdcOptions··GetSdcOptions···shape··Far··TopologyRefiner··refiner··Far··TopologyRefinerFactory··Shape··Create···shape·,·Far··TopologyRefinerFactory··Shape··Options··sdcType·,·sdcOptions··if··refiner··0···fprintf··stderr·,·Error·Unable·to·construct·TopologyRefiner··from·.obj·file·s·n··,·filename··return·0···int·numVertices··refiner·-·GetNumVerticesTotal··posVector·.·resize··numVertices··std··memcpy···posVector··0·.·p··0·,··shape·-·verts··0·,·numVertices··3··sizeof··float··delete·shape··return·refiner·····Simple·function·to·export·an·Obj·file·for·the·limit·points·--·which··provides·a·simple·tessllation·similar·to·tutorial_5_2.··int·writeToObj··Far··TopologyLevel·const··baseLevel·,·std··vector··Pos··const··vertexPositions·,·int·nextObjVertexIndex···for··size_t·i··0··i··vertexPositions·.·size···i···float·const··p··vertexPositions··i·.·p··printf··v·f·f·f·n··,·p··0·,·p··1·,·p··2·····Connect·the·sequences·of·limit·points·center·followed·by·corners··into·triangle·fans·for·each·base·face··for··int·i··0··i··baseLevel·.·GetNumFaces···i···int·faceSize··baseLevel·.·GetFaceVertices··i·.·size··int·vCenter··nextObjVertexIndex··1··int·vCorner··vCenter··1··for··int·k··0··k··faceSize···k···printf··f·d·d·d·n··,·vCenter·,·vCorner··k·,·vCorner···k··1···faceSize···nextObjVertexIndex··faceSize··1···return·nextObjVertexIndex·····end·namespace···Command·line·arguments·parsed·to·provide·run-time·options··class·Args··public··std··string·inputObjFile··Sdc··SchemeType·schemeType··int·maxPatchDepth··int·numPoses··Pos·poseOffset··bool·deriv1Flag··bool·noPatchesFlag··bool·noOutputFlag··public··Args··int·argc·,·char··argv···inputObjFile·,·schemeType··Sdc··SCHEME_CATMARK·,·maxPatchDepth··3·,·numPoses··0·,·poseOffset··1.0f·,·0.0f·,·0.0f·,·deriv1Flag··false·,·noPatchesFlag··false·,·noOutputFlag··false····Parse·and·assign·standard·arguments·and·Obj·files·ArgOptions·args··args·.·Parse··argc·,·argv··maxPatchDepth··args·.·GetLevel··schemeType··ConvertShapeSchemeToSdcType··args·.·GetDefaultScheme··const·std··vector··const·char··objFiles··args·.·GetObjFiles··if···objFiles·.·empty···for··size_t·i··1··i··objFiles·.·size···i···fprintf··stderr·,·Warning·.obj·file·s·ignored·n··,·objFiles··i···inputObjFile··std··string··objFiles··0····Parse·remaining·arguments·specific·to·this·example·const·std··vector··const·char···rargs··args·.·GetRemainingArgs··for··size_t·i··0··i··rargs·.·size···i···if···strcmp··rargs··i·,·-d1···deriv1Flag··true···else·if···strcmp··rargs··i·,·-nopatches···noPatchesFlag··true···else·if···strcmp··rargs··i·,·-poses···if···i··rargs·.·size··numPoses··atoi··rargs··i···else·if···strcmp··rargs··i·,·-offset···if···i··rargs·.·size··poseOffset·.·p··0····float··atof··rargs··i··if···i··rargs·.·size··poseOffset·.·p··1····float··atof··rargs··i··if···i··rargs·.·size··poseOffset·.·p··2····float··atof··rargs··i···else·if···strcmp··rargs··i·,·-nooutput···noOutputFlag··true···else··fprintf··stderr·,·Warning·Argument·s·ignored·n··,·rargs··i·····private··Args·······Assemble·the·set·of·locations·for·the·limit·points.·The·resulting··vector·of·LocationArrays·can·contain·arbitrary·locations·on·the·limit··surface·--·with·multiple·locations·for·the·same·patch·grouped·into·a··single·array.···In·this·case,·for·each·base·face,·coordinates·for·the·center·and·its··corners·are·specified·--·from·which·we·will·construct·a·triangle·fan··providing·a·crude·tessellation·similar·to·tutorial_5_2.··typedef·Far··LimitStencilTableFactory··LocationArray·LocationArray··int·assembleLimitPointLocations··Far··TopologyRefiner·const··refiner·,·std··vector··LocationArray···locations·····Coordinates·for·the·center·of·the·face·and·its·corners·slightly··inset.·Unlike·most·of·the·public·interface·for·patches,·the··LocationArray·refers·to·parameteric·coordinates·as·s,t,·so·that··convention·will·be·followed·here.···Note·that·the·s,t·coordinates·in·a·LocationArray·are·referred·to··by·reference.·The·memory·holding·these·s,t·values·must·persist··while·the·LimitStencilTable·is·constructed·--·the·arrays·here·are··declared·as·static·for·that·purpose.··static·float·const·quadSCoords··5····0.5f·,·0.05f·,·0.95f·,·0.95f·,·0.05f··static·float·const·quadTCoords··5····0.5f·,·0.05f·,·0.05f·,·0.95f·,·0.95f··static·float·const·triSCoords··4····0.33f·,·0.05f·,·0.95f·,·0.05f··static·float·const·triTCoords··4····0.33f·,·0.05f·,·0.00f·,·0.95f··static·float·const·irregSCoords··2····1.0f·,·0.05f··static·float·const·irregTCoords··2····1.0f·,·0.05f····Since·these·are·references·to·patches·to·be·evaluated,·we·require··use·of·the·Ptex·indices·to·identify·the·top-most·parameterized··patch,·which·is·essential·to·dealing·with·non-quad·faces·in·the··case·of·Catmark.··Far··TopologyLevel·const··baseLevel··refiner·.·GetLevel··0··Far··PtexIndices·basePtexIndices··refiner··int·regFaceSize··Sdc··SchemeTypeTraits··GetRegularFaceSize··refiner·.·GetSchemeType····For·each·base·face,·simply·refer·to·the·s,t·arrays·for·regular·quad··and·triangular·patches·with·a·single·LocationArray.·Otherwise,·for··irregular·faces,·the·corners·of·the·face·come·from·different·patches··and·so·must·be·referenced·in·separate·LocationArrays.··locations·.·clear··int·numLimitPoints··0··for··int·i··0··i··baseLevel·.·GetNumFaces···i···int·baseFaceSize··baseLevel·.·GetFaceVertices··i·.·size··int·basePtexId··basePtexIndices·.·GetFaceId··i··bool·faceIsRegular···baseFaceSize··regFaceSize··if··faceIsRegular····All·coordinates·are·on·the·same·top-level·patch·LocationArray·loc··loc·.·ptexIdx··basePtexId··loc·.·numLocations··baseFaceSize··1··if··baseFaceSize··4···loc·.·s··quadSCoords··loc·.·t··quadTCoords···else··loc·.·s··triSCoords··loc·.·t··triTCoords···locations·.·push_back··loc···else···Center·coordinate·is·on·the·first·sub-patch·while·those·on··near·the·corners·are·on·each·successive·sub-patch·LocationArray·loc··loc·.·numLocations··1··for··int·j··0··j··baseFaceSize···j···bool·isPerimeter···j··0··loc·.·ptexIdx··basePtexId···isPerimeter···j·-1···0··loc·.·s···irregSCoords··isPerimeter··loc·.·t···irregTCoords··isPerimeter··locations·.·push_back··loc····numLimitPoints··baseFaceSize··1···return·numLimitPoints·····Load·command·line·arguments·and·geometry,·build·the·LimitStencilTable··for·a·set·of·points·on·the·limit·surface·and·compute·those·points·for··several·orientations·of·the·mesh··int·main··int·argc·,·char··argv···Args·args··argc·,·argv····Create·or·load·the·base·geometry·command·line·arguments·allow·a··.obj·file·to·be·specified,·providing·a·TopologyRefiner·and·a·set··of·base·vertex·positions·to·work·with··std··vector··Pos··basePositions··Far··TopologyRefiner··refinerPtr··args·.·inputObjFile·.·empty···createTopologyRefinerDefault··basePositions···createTopologyRefinerFromObj··args·.·inputObjFile·,·args·.·schemeType·,·basePositions··assert··refinerPtr··Far··TopologyRefiner··refiner···refinerPtr··Far··TopologyLevel·const··baseLevel··refiner·.·GetLevel··0····Use·of·LimitStencilTable·requires·either·explicit·or·implicit·use··of·a·PatchTable.·A·PatchTable·is·not·required·to·construct·a··LimitStencilTable·--·one·will·be·constructed·internally·for·use··and·discarded·--·but·explicit·construction·is·recommended·to·control··the·many·legacy·options·for·PatchTable,·rather·than·relying·on··internal·defaults.·Adaptive·refinement·is·required·in·both·cases··to·indicate·the·accuracy·of·the·patches.···Note·that·if·a·TopologyRefiner·and·PatchTable·are·not·used·for··any·other·purpose·than·computing·the·limit·points,·that·specifying··the·subset·of·faces·containing·those·limit·points·in·the·adaptive··refinement·and·PatchTable·construction·can·avoid·unnecessary··overhead.··Far··PatchTable··patchTablePtr··0··if··args·.·noPatchesFlag···refiner·.·RefineAdaptive··Far··TopologyRefiner··AdaptiveOptions··args·.·maxPatchDepth···else··Far··PatchTableFactory··Options·patchOptions··args·.·maxPatchDepth··patchOptions·.·useInfSharpPatch··true··patchOptions·.·generateLegacySharpCornerPatches··false··patchOptions·.·generateVaryingTables··false··patchOptions·.·generateFVarTables··false··patchOptions·.·endCapType··Far··PatchTableFactory··Options··ENDCAP_GREGORY_BASIS··refiner·.·RefineAdaptive··patchOptions·.·GetRefineAdaptiveOptions··patchTablePtr··Far··PatchTableFactory··Create··refiner·,·patchOptions··assert··patchTablePtr·····Assemble·the·set·of·locations·for·the·limit·points.·For·each·base··face,·coordinates·for·the·center·and·its·corners·are·specified·--··from·which·we·will·construct·a·triangle·fan·providing·a·crude··tessellation·similar·to·tutorial_5_2.··std··vector··LocationArray··locations··int·numLimitPoints··assembleLimitPointLocations··refiner·,·locations····Construct·a·LimitStencilTable·from·the·refiner,·patch·table·optional··and·the·collection·of·limit·point·locations.·Stencils·can·optionally··be·created·for·computing·dervatives·--·the·default·is·to·compute·1st··derivative·stencils,·so·be·sure·to·disable·that·if·not·necessary··Far··LimitStencilTableFactory··Options·limitOptions··limitOptions·.·generate1stDerivatives··args·.·deriv1Flag··Far··LimitStencilTable·const··limitStencilTablePtr··Far··LimitStencilTableFactory··Create··refiner·,·locations·,·0·,··optional·StencilTable·for·the·refined·points·patchTablePtr·,··optional·PatchTable·limitOptions··assert··limitStencilTablePtr··Far··LimitStencilTable·const··limitStencilTable···limitStencilTablePtr····Apply·the·constructed·LimitStencilTable·to·compute·limit·positions··from·the·base·level·vertex·positions.·This·is·trivial·if·computing··all·positions·in·one·invokation.·The·UpdateValues·method·and·those··for·derivatives·are·overloaded·to·optionally·accept·a·subrange·of··indices·to·distribute·the·computation··std··vector··Pos··limitPositions··numLimitPoints··limitStencilTable·.·UpdateValues··basePositions·,·limitPositions···Call·with·the·optional·subrange·limitStencilTable·.·UpdateValues··basePositions·,·limitPositions·,·0·,·numLimitPoints··2··limitStencilTable·.·UpdateValues··basePositions·,·limitPositions·,··numLimitPoints··2···1·,·numLimitPoints···Write·vertices·and·faces·in·Obj·format·for·the·original·limit·points·int·objVertCount··0··if···args·.·noOutputFlag···printf··g·base_mesh·n···objVertCount··writeToObj··baseLevel·,·limitPositions·,·objVertCount·····Recompute·the·limit·points·and·output·faces·for·different·poses·of··the·original·mesh·--·in·this·case·simply·translated.·Also·optionally··compute·1st·derivatives·though·they·are·not·used·here··std··vector··Pos··posePositions··basePositions··std··vector··Pos··limitDu··args·.·deriv1Flag··numLimitPoints··0··std··vector··Pos··limitDv··args·.·deriv1Flag··numLimitPoints··0··for··int·i··0··i··args·.·numPoses···i····Trivially·transform·the·base·vertex·positions·and·re-compute·for··size_t·j··0··j··basePositions·.·size···j···posePositions··j···posePositions··j···args·.·poseOffset···limitStencilTable·.·UpdateValues··posePositions·,·limitPositions··if··args·.·deriv1Flag···limitStencilTable·.·UpdateDerivs··posePositions·,·limitDu·,·limitDv···if···args·.·noOutputFlag···printf···n·g·pose_d·n··,·i··objVertCount··writeToObj··baseLevel·,·limitPositions·,·objVertCount····delete·refinerPtr··delete·patchTablePtr··delete·limitStencilTablePtr··return·EXIT_SUCCESS···Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | 54 | ········"text":·"far_tutorial_5_3.cpp·far_tutorial_5_3.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsfartutorial_5_3far_tutorial_5_3.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·shows·how·to·use·a·FarLimitStenciTable·to·repeatedly··and·efficiently·evaluate·a·set·of·points·and·optionally·derivatives··on·the·limit·surface.···A·LimitStencilTable·derives·from·StencilTable·but·is·specialized·to··factor·the·evaluation·of·limit·positions·and·derivatives·into·stencils.··This·allows·a·set·of·limit·properties·to·be·efficiently·recomputed·in··response·to·changes·to·the·vertices·of·the·base·mesh.·Constructing··the·different·kinds·of·StencilTables·can·have·a·high·cost,·so·whether··that·cost·is·worth·it·will·depend·on·your·usage·e.g.·if·points·are··only·computed·once,·using·stencil·tables·is·typically·not·worth·the··added·cost.···Any·points·on·the·limit·surface·can·be·identified·for·evaluation.·In··this·example·we·create·a·crude·tessellation·similar·to·tutorial_5_2.··The·midpoint·of·each·face·and·points·near·the·corners·of·the·face·are··evaluated·and·a·triangle·fan·connects·them.··include·......regressioncommonarg_utils.h·include·......regressioncommonfar_utils.h·include·opensubdivfartopologyDescriptor.h·include·opensubdivfarpatchTableFactory.h·include·opensubdivfarstencilTableFactory.h·include·opensubdivfarptexIndices.h·include·cassert·include·cstdio·include·cstring·include·fstream·include·sstream·using·namespace·OpenSubdiv··using·Far··Index····Global·utilities·in·this·namespace·are·not·relevant·to·the·tutorial.··They·simply·serve·to·construct·some·default·geometry·to·be·processed··in·the·form·of·a·TopologyRefiner·and·vector·of·vertex·positions.··namespace····Simple·structs·for·x,y,z·position·and·a·3-tuple·for·the·set··of·vertices·of·a·triangle··struct·Pos··Pos····Pos··float·x·,·float·y·,·float·z···p··0···x·,·p··1···y·,·p··2···z···Pos·operator···Pos·const··op··const··return·Pos··p··0···op·.·p··0·,·p··1···op·.·p··1·,·p··2···op·.·p··2····Clear·and·AddWithWeight·required·for·interpolation·void·Clear··void···0···p··0···p··1···p··2···0.0f···void·AddWithWeight··Pos·const··src·,·float·weight···p··0···weight··src·.·p··0··p··1···weight··src·.·p··1··p··2···weight··src·.·p··2···float·p··3···typedef·std··vector··Pos··PosVector··struct·Tri··Tri····Tri··int·a·,·int·b·,·int·c···v··0···a·,·v··1···b·,·v··2···c···int·v··3···typedef·std··vector··Tri··TriVector····Functions·to·populate·the·topology·and·geometry·arrays·a·simple··shape·whose·positions·may·be·transformed··void·createCube··std··vector··int···vertsPerFace·,·std··vector··Index···faceVertsPerFace·,·std··vector··Pos···positionsPerVert····Local·topology·and·position·of·a·cube·centered·at·origin·static·float·const·cubePositions··8··3·····-0.5f·,·-0.5f·,·-0.5f·,··-0.5f·,·0.5f·,·-0.5f·,··-0.5f·,·0.5f·,·0.5f·,··-0.5f·,·-0.5f·,·0.5f·,··0.5f·,·-0.5f·,·-0.5f·,··0.5f·,·0.5f·,·-0.5f·,··0.5f·,·0.5f·,·0.5f·,··0.5f·,·-0.5f·,·0.5f···static·int·const·cubeFaceVerts··6··4·····0·,·3·,·2·,·1·,··4·,·5·,·6·,·7·,··0·,·4·,·7·,·3·,··1·,·2·,·6·,·5·,··0·,·1·,·5·,·4·,··3·,·7·,·6·,·2····Initialize·verts-per-face·and·face-vertices·for·each·face·vertsPerFace·.·resize··6··faceVertsPerFace·.·resize··24··for··int·i··0··i··6···i···vertsPerFace··i···4··for··int·j··0··j··4···j···faceVertsPerFace··i··4··j···cubeFaceVerts··i··j·····Initialize·vertex·positions·positionsPerVert·.·resize··8··for··int·i··0··i··8···i···float·const··p··cubePositions··i··positionsPerVert··i···Pos··p··0·,·p··1·,·p··2······Create·a·TopologyRefiner·from·default·geometry·created·above··Far··TopologyRefiner··createTopologyRefinerDefault··PosVector··posVector···std··vector··int··topVertsPerFace··std··vector··Index··topFaceVerts··createCube··topVertsPerFace·,·topFaceVerts·,·posVector··typedef·Far··TopologyDescriptor·Descriptor··Sdc··SchemeType·type··OpenSubdiv··Sdc··SCHEME_CATMARK··Sdc··Options·options··options·.·SetVtxBoundaryInterpolation··Sdc··Options··VTX_BOUNDARY_EDGE_AND_CORNER··Descriptor·desc··desc·.·numVertices···int··posVector·.·size··desc·.·numFaces···int··topVertsPerFace·.·size··desc·.·numVertsPerFace···topVertsPerFace··0··desc·.·vertIndicesPerFace···topFaceVerts··0···Instantiate·a·FarTopologyRefiner·from·the·descriptor.·Far··TopologyRefiner··refiner··Far··TopologyRefinerFactory··Descriptor··Create··desc·,·Far··TopologyRefinerFactory··Descriptor··Options··type·,·options··assert··refiner··return·refiner·····Create·a·TopologyRefiner·from·a·specified·Obj·file··geometry·created·internally··Far··TopologyRefiner··createTopologyRefinerFromObj··std··string·const··objFileName·,·Sdc··SchemeType·schemeType·,·PosVector··posVector···const·char··filename··objFileName·.·c_str··const·Shape··shape··0··std··ifstream·ifs··filename··if··ifs···std··stringstream·ss··ss··ifs·.·rdbuf··ifs·.·close··std··string·shapeString··ss·.·str··shape··Shape··parseObj··shapeString·.·c_str·,·ConvertSdcTypeToShapeScheme··schemeType·,·false··if··shape··0···fprintf··stderr·,·Error·Cannot·create·Shape·from·.obj·file·s·n··,·filename··return·0····else··fprintf··stderr·,·Error·Cannot·open·.obj·file·s·n··,·filename··return·0···Sdc··SchemeType·sdcType··GetSdcType···shape··Sdc··Options·sdcOptions··GetSdcOptions···shape··Far··TopologyRefiner··refiner··Far··TopologyRefinerFactory··Shape··Create···shape·,·Far··TopologyRefinerFactory··Shape··Options··sdcType·,·sdcOptions··if··refiner··0···fprintf··stderr·,·Error·Unable·to·construct·TopologyRefiner··from·.obj·file·s·n··,·filename··return·0···int·numVertices··refiner·-·GetNumVerticesTotal··posVector·.·resize··numVertices··std··memcpy···posVector··0·.·p··0·,··shape·-·verts··0·,·numVertices··3··sizeof··float··delete·shape··return·refiner·····Simple·function·to·export·an·Obj·file·for·the·limit·points·--·which··provides·a·simple·tessllation·similar·to·tutorial_5_2.··int·writeToObj··Far··TopologyLevel·const··baseLevel·,·std··vector··Pos··const··vertexPositions·,·int·nextObjVertexIndex···for··size_t·i··0··i··vertexPositions·.·size···i···float·const··p··vertexPositions··i·.·p··printf··v·f·f·f·n··,·p··0·,·p··1·,·p··2·····Connect·the·sequences·of·limit·points·center·followed·by·corners··into·triangle·fans·for·each·base·face··for··int·i··0··i··baseLevel·.·GetNumFaces···i···int·faceSize··baseLevel·.·GetFaceVertices··i·.·size··int·vCenter··nextObjVertexIndex··1··int·vCorner··vCenter··1··for··int·k··0··k··faceSize···k···printf··f·d·d·d·n··,·vCenter·,·vCorner··k·,·vCorner···k··1···faceSize···nextObjVertexIndex··faceSize··1···return·nextObjVertexIndex·····end·namespace···Command·line·arguments·parsed·to·provide·run-time·options··class·Args··public··std··string·inputObjFile··Sdc··SchemeType·schemeType··int·maxPatchDepth··int·numPoses··Pos·poseOffset··bool·deriv1Flag··bool·noPatchesFlag··bool·noOutputFlag··public··Args··int·argc·,·char··argv···inputObjFile·,·schemeType··Sdc··SCHEME_CATMARK·,·maxPatchDepth··3·,·numPoses··0·,·poseOffset··1.0f·,·0.0f·,·0.0f·,·deriv1Flag··false·,·noPatchesFlag··false·,·noOutputFlag··false····Parse·and·assign·standard·arguments·and·Obj·files·ArgOptions·args··args·.·Parse··argc·,·argv··maxPatchDepth··args·.·GetLevel··schemeType··ConvertShapeSchemeToSdcType··args·.·GetDefaultScheme··const·std··vector··const·char··objFiles··args·.·GetObjFiles··if···objFiles·.·empty···for··size_t·i··1··i··objFiles·.·size···i···fprintf··stderr·,·Warning·.obj·file·s·ignored·n··,·objFiles··i···inputObjFile··std··string··objFiles··0····Parse·remaining·arguments·specific·to·this·example·const·std··vector··const·char···rargs··args·.·GetRemainingArgs··for··size_t·i··0··i··rargs·.·size···i···if···strcmp··rargs··i·,·-d1···deriv1Flag··true···else·if···strcmp··rargs··i·,·-nopatches···noPatchesFlag··true···else·if···strcmp··rargs··i·,·-poses···if···i··rargs·.·size··numPoses··atoi··rargs··i···else·if···strcmp··rargs··i·,·-offset···if···i··rargs·.·size··poseOffset·.·p··0····float··atof··rargs··i··if···i··rargs·.·size··poseOffset·.·p··1····float··atof··rargs··i··if···i··rargs·.·size··poseOffset·.·p··2····float··atof··rargs··i···else·if···strcmp··rargs··i·,·-nooutput···noOutputFlag··true···else··fprintf··stderr·,·Warning·Argument·s·ignored·n··,·rargs··i·····private··Args·······Assemble·the·set·of·locations·for·the·limit·points.·The·resulting··vector·of·LocationArrays·can·contain·arbitrary·locations·on·the·limit··surface·--·with·multiple·locations·for·the·same·patch·grouped·into·a··single·array.···In·this·case,·for·each·base·face,·coordinates·for·the·center·and·its··corners·are·specified·--·from·which·we·will·construct·a·triangle·fan··providing·a·crude·tessellation·similar·to·tutorial_5_2.··typedef·Far··LimitStencilTableFactory··LocationArray·LocationArray··int·assembleLimitPointLocations··Far··TopologyRefiner·const··refiner·,·std··vector··LocationArray···locations·····Coordinates·for·the·center·of·the·face·and·its·corners·slightly··inset.·Unlike·most·of·the·public·interface·for·patches,·the··LocationArray·refers·to·parameteric·coordinates·as·s,t,·so·that··convention·will·be·followed·here.···Note·that·the·s,t·coordinates·in·a·LocationArray·are·referred·to··by·reference.·The·memory·holding·these·s,t·values·must·persist··while·the·LimitStencilTable·is·constructed·--·the·arrays·here·are··declared·as·static·for·that·purpose.··static·float·const·quadSCoords··5····0.5f·,·0.05f·,·0.95f·,·0.95f·,·0.05f··static·float·const·quadTCoords··5····0.5f·,·0.05f·,·0.05f·,·0.95f·,·0.95f··static·float·const·triSCoords··4····0.33f·,·0.05f·,·0.95f·,·0.05f··static·float·const·triTCoords··4····0.33f·,·0.05f·,·0.00f·,·0.95f··static·float·const·irregSCoords··2····1.0f·,·0.05f··static·float·const·irregTCoords··2····1.0f·,·0.05f····Since·these·are·references·to·patches·to·be·evaluated,·we·require··use·of·the·Ptex·indices·to·identify·the·top-most·parameterized··patch,·which·is·essential·to·dealing·with·non-quad·faces·in·the··case·of·Catmark.··Far··TopologyLevel·const··baseLevel··refiner·.·GetLevel··0··Far··PtexIndices·basePtexIndices··refiner··int·regFaceSize··Sdc··SchemeTypeTraits··GetRegularFaceSize··refiner·.·GetSchemeType····For·each·base·face,·simply·refer·to·the·s,t·arrays·for·regular·quad··and·triangular·patches·with·a·single·LocationArray.·Otherwise,·for··irregular·faces,·the·corners·of·the·face·come·from·different·patches··and·so·must·be·referenced·in·separate·LocationArrays.··locations·.·clear··int·numLimitPoints··0··for··int·i··0··i··baseLevel·.·GetNumFaces···i···int·baseFaceSize··baseLevel·.·GetFaceVertices··i·.·size··int·basePtexId··basePtexIndices·.·GetFaceId··i··bool·faceIsRegular···baseFaceSize··regFaceSize··if··faceIsRegular····All·coordinates·are·on·the·same·top-level·patch·LocationArray·loc··loc·.·ptexIdx··basePtexId··loc·.·numLocations··baseFaceSize··1··if··baseFaceSize··4···loc·.·s··quadSCoords··loc·.·t··quadTCoords···else··loc·.·s··triSCoords··loc·.·t··triTCoords···locations·.·push_back··loc···else···Center·coordinate·is·on·the·first·sub-patch·while·those·on··near·the·corners·are·on·each·successive·sub-patch·LocationArray·loc··loc·.·numLocations··1··for··int·j··0··j··baseFaceSize···j···bool·isPerimeter···j··0··loc·.·ptexIdx··basePtexId···isPerimeter···j·-1···0··loc·.·s···irregSCoords··isPerimeter··loc·.·t···irregTCoords··isPerimeter··locations·.·push_back··loc····numLimitPoints··baseFaceSize··1···return·numLimitPoints·····Load·command·line·arguments·and·geometry,·build·the·LimitStencilTable··for·a·set·of·points·on·the·limit·surface·and·compute·those·points·for··several·orientations·of·the·mesh··int·main··int·argc·,·char··argv···Args·args··argc·,·argv····Create·or·load·the·base·geometry·command·line·arguments·allow·a··.obj·file·to·be·specified,·providing·a·TopologyRefiner·and·a·set··of·base·vertex·positions·to·work·with··std··vector··Pos··basePositions··Far··TopologyRefiner··refinerPtr··args·.·inputObjFile·.·empty···createTopologyRefinerDefault··basePositions···createTopologyRefinerFromObj··args·.·inputObjFile·,·args·.·schemeType·,·basePositions··assert··refinerPtr··Far··TopologyRefiner··refiner···refinerPtr··Far··TopologyLevel·const··baseLevel··refiner·.·GetLevel··0····Use·of·LimitStencilTable·requires·either·explicit·or·implicit·use··of·a·PatchTable.·A·PatchTable·is·not·required·to·construct·a··LimitStencilTable·--·one·will·be·constructed·internally·for·use··and·discarded·--·but·explicit·construction·is·recommended·to·control··the·many·legacy·options·for·PatchTable,·rather·than·relying·on··internal·defaults.·Adaptive·refinement·is·required·in·both·cases··to·indicate·the·accuracy·of·the·patches.···Note·that·if·a·TopologyRefiner·and·PatchTable·are·not·used·for··any·other·purpose·than·computing·the·limit·points,·that·specifying··the·subset·of·faces·containing·those·limit·points·in·the·adaptive··refinement·and·PatchTable·construction·can·avoid·unnecessary··overhead.··Far··PatchTable··patchTablePtr··0··if··args·.·noPatchesFlag···refiner·.·RefineAdaptive··Far··TopologyRefiner··AdaptiveOptions··args·.·maxPatchDepth···else··Far··PatchTableFactory··Options·patchOptions··args·.·maxPatchDepth··patchOptions·.·useInfSharpPatch··true··patchOptions·.·generateLegacySharpCornerPatches··false··patchOptions·.·generateVaryingTables··false··patchOptions·.·generateFVarTables··false··patchOptions·.·endCapType··Far··PatchTableFactory··Options··ENDCAP_GREGORY_BASIS··refiner·.·RefineAdaptive··patchOptions·.·GetRefineAdaptiveOptions··patchTablePtr··Far··PatchTableFactory··Create··refiner·,·patchOptions··assert··patchTablePtr·····Assemble·the·set·of·locations·for·the·limit·points.·For·each·base··face,·coordinates·for·the·center·and·its·corners·are·specified·--··from·which·we·will·construct·a·triangle·fan·providing·a·crude··tessellation·similar·to·tutorial_5_2.··std··vector··LocationArray··locations··int·numLimitPoints··assembleLimitPointLocations··refiner·,·locations····Construct·a·LimitStencilTable·from·the·refiner,·patch·table·optional··and·the·collection·of·limit·point·locations.·Stencils·can·optionally··be·created·for·computing·dervatives·--·the·default·is·to·compute·1st··derivative·stencils,·so·be·sure·to·disable·that·if·not·necessary··Far··LimitStencilTableFactory··Options·limitOptions··limitOptions·.·generate1stDerivatives··args·.·deriv1Flag··Far··LimitStencilTable·const··limitStencilTablePtr··Far··LimitStencilTableFactory··Create··refiner·,·locations·,·0·,··optional·StencilTable·for·the·refined·points·patchTablePtr·,··optional·PatchTable·limitOptions··assert··limitStencilTablePtr··Far··LimitStencilTable·const··limitStencilTable···limitStencilTablePtr····Apply·the·constructed·LimitStencilTable·to·compute·limit·positions··from·the·base·level·vertex·positions.·This·is·trivial·if·computing··all·positions·in·one·invokation.·The·UpdateValues·method·and·those··for·derivatives·are·overloaded·to·optionally·accept·a·subrange·of··indices·to·distribute·the·computation··std··vector··Pos··limitPositions··numLimitPoints··limitStencilTable·.·UpdateValues··basePositions·,·limitPositions···Call·with·the·optional·subrange·limitStencilTable·.·UpdateValues··basePositions·,·limitPositions·,·0·,·numLimitPoints··2··limitStencilTable·.·UpdateValues··basePositions·,·limitPositions·,··numLimitPoints··2···1·,·numLimitPoints···Write·vertices·and·faces·in·Obj·format·for·the·original·limit·points·int·objVertCount··0··if···args·.·noOutputFlag···printf··g·base_mesh·n···objVertCount··writeToObj··baseLevel·,·limitPositions·,·objVertCount·····Recompute·the·limit·points·and·output·faces·for·different·poses·of··the·original·mesh·--·in·this·case·simply·translated.·Also·optionally··compute·1st·derivatives·though·they·are·not·used·here··std··vector··Pos··posePositions··basePositions··std··vector··Pos··limitDu··args·.·deriv1Flag··numLimitPoints··0··std··vector··Pos··limitDv··args·.·deriv1Flag··numLimitPoints··0··for··int·i··0··i··args·.·numPoses···i····Trivially·transform·the·base·vertex·positions·and·re-compute·for··size_t·j··0··j··basePositions·.·size···j···posePositions··j···posePositions··j···args·.·poseOffset···limitStencilTable·.·UpdateValues··posePositions·,·limitPositions··if··args·.·deriv1Flag···limitStencilTable·.·UpdateDerivs··posePositions·,·limitDu·,·limitDv···if···args·.·noOutputFlag···printf···n·g·pose_d·n··,·i··objVertCount··writeToObj··baseLevel·,·limitPositions·,·objVertCount····delete·refinerPtr··delete·patchTablePtr··delete·limitStencilTablePtr··return·EXIT_SUCCESS···Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", |
60 | ········"tags":·"", | 55 | ········"tags":·"", |
61 | ········"loc":·"far_tutorial_5_3.html" | 56 | ········"loc":·"far_tutorial_5_3.html" |
62 | ····},·{ | 57 | ····},·{ |
63 | ········"title":·"bfr_tutorial_1_1.cpp", | 58 | ········"title":·"bfr_tutorial_1_1.cpp", |
64 | ········"text":·"bfr_tutorial_1_1.cpp·bfr_tutorial_1_1.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsbfrtutorial_1_1bfr_tutorial_1_1.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·illustrates·the·use·of·the·SurfaceFactory,·Surface··and·Parameterization·classes·for·creating·and·evaluating·the·limit··surface·associated·with·each·base·face·of·a·mesh.···Following·the·creation·of·a·connected·mesh·for·a·shape·using·a··FarTopologyRefiner,·as·illustrated·in·Far·tutorials,·an·instance··of·a·SurfaceFactory·is·declared·to·process·its·faces.·Each·face·of··the·mesh·is·evaluated·and·tessellated·independently·with·a·simple··triangle·fan,·with·results·written·out·in·Obj·format·for·inspection.···These·classes·make·it·simple·to·evaluate·and·tessellate·all·faces··quads,·tris·or·others·while·supporting·the·full·set·of·subdivision··options.·While·a·triangle·fan·may·be·a·trivial·tessellation·and·so··not·very·useful·later·examples·using·the·Tessellation·class·provide··more·useful·results·with·the·same·simplicity.··include·opensubdivfartopologyRefiner.h·include·opensubdivbfrrefinerSurfaceFactory.h·include·opensubdivbfrsurface.h·include·vector·include·string·include·cstring·include·cstdio··Local·headers·with·support·for·this·tutorial·in·namespace·tutorial·include·.meshLoader.h·include·.objWriter.h·using·namespace·OpenSubdiv····Simple·command·line·arguments·to·provide·input·and·run-time·options··class·Args··public··std··string·inputObjFile··std··string·outputObjFile··Sdc··SchemeType·schemeType··public··Args··int·argc·,·char··argv···inputObjFile·,·outputObjFile·,·schemeType··Sdc··SCHEME_CATMARK···for··int·i··1··i··argc···i···if··strstr··argv··i·,·.obj···if··inputObjFile·.·empty···inputObjFile··std··string··argv··i···else··fprintf··stderr·,·Warning·Extra·Obj·file·s·ignored·n··,·argv··i····else·if···strcmp··argv··i·,·-o···if···i··argc··outputObjFile··std··string··argv··i···else·if···strcmp··argv··i·,·-bilinear···schemeType··Sdc··SCHEME_BILINEAR···else·if···strcmp··argv··i·,·-catmark···schemeType··Sdc··SCHEME_CATMARK···else·if···strcmp··argv··i·,·-loop···schemeType··Sdc··SCHEME_LOOP···else··fprintf··stderr·,·Warning·Unrecognized·argument·s·ignored·n··,·argv··i·····private··Args·······The·main·tessellation·function·given·a·mesh·and·vertex·positions,··tessellate·each·face·--·writing·results·in·Obj·format.··void·tessellateToObj··Far··TopologyRefiner·const··meshTopology·,·std··vector··float··const··meshVertexPositions·,·Args·const··options·····Use·simpler·local·type·names·for·the·Surface·and·its·factory··typedef·Bfr··RefinerSurfaceFactory··SurfaceFactory··typedef·Bfr··Surface··float··Surface····Initialize·the·SurfaceFactory·for·the·given·base·mesh·very·low··cost·in·terms·of·both·time·and·space·and·tessellate·each·face··independently·i.e.·no·shared·vertices···Note·that·the·SurfaceFactory·is·not·thread-safe·by·default·due·to··use·of·an·internal·cache.·Creating·a·separate·instance·of·the··SurfaceFactory·for·each·thread·is·one·way·to·safely·parallelize··this·loop.·Another·preferred·is·to·assign·a·thread-safe·cache··to·the·single·instance.···First·declare·any·evaluation·options·when·initializing·though··none·are·used·in·this·simple·case··SurfaceFactory··Options·surfaceOptions··SurfaceFactory·meshSurfaceFactory··meshTopology·,·surfaceOptions····The·Surface·to·be·constructed·and·evaluated·for·each·face·--·as··well·as·the·intermediate·and·output·data·associated·with·it·--·can··be·declared·in·the·scope·local·to·each·face.·But·since·dynamic··memory·is·involved·with·these·variables,·it·is·preferred·to·declare··them·outside·that·loop·to·preserve·and·reuse·that·dynamic·memory.··Surface·faceSurface··std··vector··float··facePatchPoints··std··vector··float··outCoords··std··vector··float··outPos·,·outDu·,·outDv··std··vector··int··outTriangles····Process·each·face,·writing·the·output·of·each·in·Obj·format··tutorial··ObjWriter·objWriter··options·.·outputObjFile··int·numFaces··meshSurfaceFactory·.·GetNumFaces··for··int·faceIndex··0··faceIndex··numFaces···faceIndex·····Initialize·the·Surface·for·this·face·--·if·valid·skipping··holes·and·boundary·faces·in·some·rare·cases··if···meshSurfaceFactory·.·InitVertexSurface··faceIndex·,··faceSurface···continue·····Get·the·Parameterization·of·the·Surface·and·use·it·to·identify··coordinates·for·evaluation·--·in·this·case,·at·the·vertices··and·center·of·the·face·to·create·a·fan·of·triangles··Bfr··Parameterization·faceParam··faceSurface·.·GetParameterization··int·faceSize··faceParam·.·GetFaceSize··int·numOutCoords··faceSize··1··outCoords·.·resize··numOutCoords··2··for··int·i··0··i··faceSize···i···faceParam·.·GetVertexCoord··i·,··outCoords··i··2···faceParam·.·GetCenterCoord···outCoords··faceSize··2····Prepare·the·patch·points·for·the·Surface,·then·use·them·to··evaluate·output·points·for·all·identified·coordinates···Resize·patch·point·and·output·arrays·int·pointSize··3··facePatchPoints·.·resize··faceSurface·.·GetNumPatchPoints···pointSize··outPos·.·resize··numOutCoords··pointSize··outDu·.·resize··numOutCoords··pointSize··outDv·.·resize··numOutCoords··pointSize···Populate·patch·point·and·output·arrays·faceSurface·.·PreparePatchPoints··meshVertexPositions·.·data·,·pointSize·,·facePatchPoints·.·data·,·pointSize··for··int·i··0·,·j··0··i··numOutCoords···i·,·j··pointSize···faceSurface·.·Evaluate···outCoords··i··2·,·facePatchPoints·.·data·,·pointSize·,··outPos··j·,··outDu··j·,··outDv··j·····Identify·the·faces·of·the·tessellation,·i.e.·the·triangle·fan··connecting·points·at·the·vertices·to·the·center·last·point···Note·the·need·to·offset·vertex·indices·for·the·output·faces·--··using·the·number·of·vertices·generated·prior·to·this·face.··int·objVertexIndexOffset··objWriter·.·GetNumVertices··outTriangles·.·resize··faceSize··3··int··outTriangle··outTriangles·.·data··for··int·i··0··i··faceSize···i·,·outTriangle··3···outTriangle··0···objVertexIndexOffset··i··outTriangle··1···objVertexIndexOffset···i··1···faceSize··outTriangle··2···objVertexIndexOffset··faceSize·····Write·the·evaluated·points·and·faces·connecting·them·as·Obj··objWriter·.·WriteGroupName··baseFace_·,·faceIndex··objWriter·.·WriteVertexPositions··outPos··objWriter·.·WriteVertexNormals··outDu·,·outDv··objWriter·.·WriteFaces··outTriangles·,·3·,·true·,·false······Load·command·line·arguments,·specified·or·default·geometry·and·process··int·main··int·argc·,·char··argv···Args·args··argc·,·argv··Far··TopologyRefiner··meshTopology··0··std··vector··float··meshVtxPositions··std··vector··float··meshFVarUVs··meshTopology··tutorial··createTopologyRefiner··args·.·inputObjFile·,·args·.·schemeType·,·meshVtxPositions·,·meshFVarUVs··if··meshTopology··0···return·EXIT_FAILURE···tessellateToObj···meshTopology·,·meshVtxPositions·,·args··delete·meshTopology··return·EXIT_SUCCESS···------------------------------------------------------------------------------·Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | 59 | ········"text":·"bfr_tutorial_1_1.cpp·bfr_tutorial_1_1.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsbfrtutorial_1_1bfr_tutorial_1_1.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·illustrates·the·use·of·the·SurfaceFactory,·Surface··and·Parameterization·classes·for·creating·and·evaluating·the·limit··surface·associated·with·each·base·face·of·a·mesh.···Following·the·creation·of·a·connected·mesh·for·a·shape·using·a··FarTopologyRefiner,·as·illustrated·in·Far·tutorials,·an·instance··of·a·SurfaceFactory·is·declared·to·process·its·faces.·Each·face·of··the·mesh·is·evaluated·and·tessellated·independently·with·a·simple··triangle·fan,·with·results·written·out·in·Obj·format·for·inspection.···These·classes·make·it·simple·to·evaluate·and·tessellate·all·faces··quads,·tris·or·others·while·supporting·the·full·set·of·subdivision··options.·While·a·triangle·fan·may·be·a·trivial·tessellation·and·so··not·very·useful·later·examples·using·the·Tessellation·class·provide··more·useful·results·with·the·same·simplicity.··include·opensubdivfartopologyRefiner.h·include·opensubdivbfrrefinerSurfaceFactory.h·include·opensubdivbfrsurface.h·include·vector·include·string·include·cstring·include·cstdio··Local·headers·with·support·for·this·tutorial·in·namespace·tutorial·include·.meshLoader.h·include·.objWriter.h·using·namespace·OpenSubdiv····Simple·command·line·arguments·to·provide·input·and·run-time·options··class·Args··public··std··string·inputObjFile··std··string·outputObjFile··Sdc··SchemeType·schemeType··public··Args··int·argc·,·char··argv···inputObjFile·,·outputObjFile·,·schemeType··Sdc··SCHEME_CATMARK···for··int·i··1··i··argc···i···if··strstr··argv··i·,·.obj···if··inputObjFile·.·empty···inputObjFile··std··string··argv··i···else··fprintf··stderr·,·Warning·Extra·Obj·file·s·ignored·n··,·argv··i····else·if···strcmp··argv··i·,·-o···if···i··argc··outputObjFile··std··string··argv··i···else·if···strcmp··argv··i·,·-bilinear···schemeType··Sdc··SCHEME_BILINEAR···else·if···strcmp··argv··i·,·-catmark···schemeType··Sdc··SCHEME_CATMARK···else·if···strcmp··argv··i·,·-loop···schemeType··Sdc··SCHEME_LOOP···else··fprintf··stderr·,·Warning·Unrecognized·argument·s·ignored·n··,·argv··i·····private··Args·······The·main·tessellation·function·given·a·mesh·and·vertex·positions,··tessellate·each·face·--·writing·results·in·Obj·format.··void·tessellateToObj··Far··TopologyRefiner·const··meshTopology·,·std··vector··float··const··meshVertexPositions·,·Args·const··options·····Use·simpler·local·type·names·for·the·Surface·and·its·factory··typedef·Bfr··RefinerSurfaceFactory··SurfaceFactory··typedef·Bfr··Surface··float··Surface····Initialize·the·SurfaceFactory·for·the·given·base·mesh·very·low··cost·in·terms·of·both·time·and·space·and·tessellate·each·face··independently·i.e.·no·shared·vertices···Note·that·the·SurfaceFactory·is·not·thread-safe·by·default·due·to··use·of·an·internal·cache.·Creating·a·separate·instance·of·the··SurfaceFactory·for·each·thread·is·one·way·to·safely·parallelize··this·loop.·Another·preferred·is·to·assign·a·thread-safe·cache··to·the·single·instance.···First·declare·any·evaluation·options·when·initializing·though··none·are·used·in·this·simple·case··SurfaceFactory··Options·surfaceOptions··SurfaceFactory·meshSurfaceFactory··meshTopology·,·surfaceOptions····The·Surface·to·be·constructed·and·evaluated·for·each·face·--·as··well·as·the·intermediate·and·output·data·associated·with·it·--·can··be·declared·in·the·scope·local·to·each·face.·But·since·dynamic··memory·is·involved·with·these·variables,·it·is·preferred·to·declare··them·outside·that·loop·to·preserve·and·reuse·that·dynamic·memory.··Surface·faceSurface··std··vector··float··facePatchPoints··std··vector··float··outCoords··std··vector··float··outPos·,·outDu·,·outDv··std··vector··int··outTriangles····Process·each·face,·writing·the·output·of·each·in·Obj·format··tutorial··ObjWriter·objWriter··options·.·outputObjFile··int·numFaces··meshSurfaceFactory·.·GetNumFaces··for··int·faceIndex··0··faceIndex··numFaces···faceIndex·····Initialize·the·Surface·for·this·face·--·if·valid·skipping··holes·and·boundary·faces·in·some·rare·cases··if···meshSurfaceFactory·.·InitVertexSurface··faceIndex·,··faceSurface···continue·····Get·the·Parameterization·of·the·Surface·and·use·it·to·identify··coordinates·for·evaluation·--·in·this·case,·at·the·vertices··and·center·of·the·face·to·create·a·fan·of·triangles··Bfr··Parameterization·faceParam··faceSurface·.·GetParameterization··int·faceSize··faceParam·.·GetFaceSize··int·numOutCoords··faceSize··1··outCoords·.·resize··numOutCoords··2··for··int·i··0··i··faceSize···i···faceParam·.·GetVertexCoord··i·,··outCoords··i··2···faceParam·.·GetCenterCoord···outCoords··faceSize··2····Prepare·the·patch·points·for·the·Surface,·then·use·them·to··evaluate·output·points·for·all·identified·coordinates···Resize·patch·point·and·output·arrays·int·pointSize··3··facePatchPoints·.·resize··faceSurface·.·GetNumPatchPoints···pointSize··outPos·.·resize··numOutCoords··pointSize··outDu·.·resize··numOutCoords··pointSize··outDv·.·resize··numOutCoords··pointSize···Populate·patch·point·and·output·arrays·faceSurface·.·PreparePatchPoints··meshVertexPositions·.·data·,·pointSize·,·facePatchPoints·.·data·,·pointSize··for··int·i··0·,·j··0··i··numOutCoords···i·,·j··pointSize···faceSurface·.·Evaluate···outCoords··i··2·,·facePatchPoints·.·data·,·pointSize·,··outPos··j·,··outDu··j·,··outDv··j·····Identify·the·faces·of·the·tessellation,·i.e.·the·triangle·fan··connecting·points·at·the·vertices·to·the·center·last·point···Note·the·need·to·offset·vertex·indices·for·the·output·faces·--··using·the·number·of·vertices·generated·prior·to·this·face.··int·objVertexIndexOffset··objWriter·.·GetNumVertices··outTriangles·.·resize··faceSize··3··int··outTriangle··outTriangles·.·data··for··int·i··0··i··faceSize···i·,·outTriangle··3···outTriangle··0···objVertexIndexOffset··i··outTriangle··1···objVertexIndexOffset···i··1···faceSize··outTriangle··2···objVertexIndexOffset··faceSize·····Write·the·evaluated·points·and·faces·connecting·them·as·Obj··objWriter·.·WriteGroupName··baseFace_·,·faceIndex··objWriter·.·WriteVertexPositions··outPos··objWriter·.·WriteVertexNormals··outDu·,·outDv··objWriter·.·WriteFaces··outTriangles·,·3·,·true·,·false······Load·command·line·arguments,·specified·or·default·geometry·and·process··int·main··int·argc·,·char··argv···Args·args··argc·,·argv··Far··TopologyRefiner··meshTopology··0··std··vector··float··meshVtxPositions··std··vector··float··meshFVarUVs··meshTopology··tutorial··createTopologyRefiner··args·.·inputObjFile·,·args·.·schemeType·,·meshVtxPositions·,·meshFVarUVs··if··meshTopology··0···return·EXIT_FAILURE···tessellateToObj···meshTopology·,·meshVtxPositions·,·args··delete·meshTopology··return·EXIT_SUCCESS···------------------------------------------------------------------------------·Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", |
65 | ········"tags":·"", | 60 | ········"tags":·"", |
66 | ········"loc":·"bfr_tutorial_1_1.html" | 61 | ········"loc":·"bfr_tutorial_1_1.html" |
67 | ····},·{ | 62 | ····},·{ |
63 | ········"title":·"far_tutorial_5_1.cpp", | ||
64 | ········"text":·"far_tutorial_5_1.cpp·far_tutorial_5_1.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsfartutorial_5_1far_tutorial_5_1.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·shows·how·to·interpolate·surface·limits·at·arbitrary··parametric·locations·using·feature·adaptive·FarPatchTables.···The·evaluation·of·the·limit·surface·at·arbitrary·locations·requires·the··adaptive·isolation·of·topological·features.·This·process·converts·the··input·polygonal·control·cage·into·a·collection·of·bi-cubic·patches.···We·can·then·evaluate·the·patches·at·random·parametric·locations·and··obtain·analytical·positions·and·tangents·on·the·limit·surface.···The·results·are·dumped·into·a·MEL·script·that·draws·streak·particle··systems·that·show·the·tangent·and·bi-tangent·at·the·random·samples·locations.··include·opensubdivfartopologyDescriptor.h·include·opensubdivfarprimvarRefiner.h·include·opensubdivfarpatchTableFactory.h·include·opensubdivfarpatchMap.h·include·opensubdivfarptexIndices.h·include·cassert·include·cstdio·include·cstring·include·cfloat·using·namespace·OpenSubdiv··typedef·double·Real···pyramid·geometry·from·catmark_pyramid_crease0.h·static·int·const·g_nverts··5··static·Real·const·g_verts··24····0.0f·,·0.0f·,·2.0f·,·0.0f·,·-2.0f·,·0.0f·,·2.0f·,·0.0f·,·0.0f·,·0.0f·,·2.0f·,·0.0f·,·-2.0f·,·0.0f·,·0.0f·,··static·int·const·g_vertsperface··5····3·,·3·,·3·,·3·,·4··static·int·const·g_nfaces··5··static·int·const·g_faceverts··16····0·,·1·,·2·,·0·,·2·,·3·,·0·,·3·,·4·,·0·,·4·,·1·,·4·,·3·,·2·,·1··static·int·const·g_ncreases··4··static·int·const·g_creaseverts··8····4·,·3·,·3·,·2·,·2·,·1·,·1·,·4··static·float·const·g_creaseweights··4····3.0f·,·3.0f·,·3.0f·,·3.0f···Creates·a·FarTopologyRefiner·from·the·pyramid·shape·above·static·Far··TopologyRefiner··createTopologyRefiner··------------------------------------------------------------------------------··Vertex·container·implementation.··struct·Vertex···Minimal·required·interface·----------------------·Vertex····void·Clear··void···0···point··0···point··1···point··2···0.0f···void·AddWithWeight··Vertex·const··src·,·Real·weight···point··0···weight··src·.·point··0··point··1···weight··src·.·point··1··point··2···weight··src·.·point··2···Real·point··3···------------------------------------------------------------------------------··Limit·frame·container·implementation·--·this·interface·is·not·strictly··required·but·follows·a·similar·pattern·to·Vertex.··struct·LimitFrame··void·Clear··void···0···point··0···point··1···point··2···0.0f··deriv1··0···deriv1··1···deriv1··2···0.0f··deriv2··0···deriv2··1···deriv2··2···0.0f···void·AddWithWeight··Vertex·const··src·,·Real·weight·,·Real·d1Weight·,·Real·d2Weight···point··0···weight··src·.·point··0··point··1···weight··src·.·point··1··point··2···weight··src·.·point··2··deriv1··0···d1Weight··src·.·point··0··deriv1··1···d1Weight··src·.·point··1··deriv1··2···d1Weight··src·.·point··2··deriv2··0···d2Weight··src·.·point··0··deriv2··1···d2Weight··src·.·point··1··deriv2··2···d2Weight··src·.·point··2···Real·point··3·,·deriv1··3·,·deriv2··3···------------------------------------------------------------------------------·int·main··int·,·char·····Generate·a·FarTopologyRefiner·see·tutorial_1_1·for·details.·Far··TopologyRefiner··refiner··createTopologyRefiner···Patches·are·constructed·from·adaptively·refined·faces,·but·the·processes··of·constructing·the·PatchTable·and·of·applying·adaptive·refinement·have··historically·been·separate.·Adaptive·refinement·is·applied·purely·to··satisfy·the·needs·of·the·desired·PatchTable,·so·options·associated·with··adaptive·refinement·should·be·derived·from·those·specified·for·the··PatchTable.·This·is·not·a·strict·requirement,·but·it·will·avoid··problems·arising·from·specifyingcoordinating·the·two·independently··especially·when·dealing·with·face-varying·patches.··Initialize·options·for·the·PatchTable···Choose·patches·adaptively·refined·to·level·3·since·the·sharpest·crease··in·the·shape·is·3.0f·in·g_creaseweights,·and·include·the·inf-sharp··crease·option·just·to·illustrate·the·need·to·syncronize·options.··int·maxPatchLevel··3··Far··PatchTableFactory··Options·patchOptions··maxPatchLevel··patchOptions·.·SetPatchPrecision··Real···patchOptions·.·useInfSharpPatch··true··patchOptions·.·generateVaryingTables··false··patchOptions·.·endCapType··Far··PatchTableFactory··Options··ENDCAP_GREGORY_BASIS···Initialize·corresonding·options·for·adaptive·refinement·Far··TopologyRefiner··AdaptiveOptions·adaptiveOptions··maxPatchLevel··bool·assignAdaptiveOptionsExplicitly··false··if··assignAdaptiveOptionsExplicitly···adaptiveOptions·.·useInfSharpPatch··true···else···Be·sure·patch·options·were·intialized·with·the·desired·max·level·adaptiveOptions··patchOptions·.·GetRefineAdaptiveOptions···assert··adaptiveOptions·.·useInfSharpPatch··patchOptions·.·useInfSharpPatch···Apply·adaptive·refinement·and·construct·the·associated·PatchTable·to··evaluate·the·limit·surface·refiner·-·RefineAdaptive··adaptiveOptions··Far··PatchTable·const··patchTable··Far··PatchTableFactory··Create···refiner·,·patchOptions···Compute·the·total·number·of·points·we·need·to·evaluate·the·PatchTable.··Approximations·at·irregular·or·extraordinary·features·require·the·use··of·additional·points·associated·with·the·patches·that·are·referred·to··as·local·points·i.e.·local·to·the·PatchTable.·int·nRefinerVertices··refiner·-·GetNumVerticesTotal··int·nLocalPoints··patchTable·-·GetNumLocalPoints···Create·a·buffer·to·hold·the·position·of·the·refined·verts·and··local·points,·then·copy·the·coarse·positions·at·the·beginning.·std··vector··Vertex··verts··nRefinerVertices··nLocalPoints··std··memcpy···verts··0·,·g_verts·,·g_nverts··3··sizeof··Real···Adaptive·refinement·may·result·in·fewer·levels·than·the·max·specified.·int·nRefinedLevels··refiner·-·GetNumLevels···Interpolate·vertex·primvar·data··they·are·the·control·vertices··of·the·limit·patches·see·tutorial_1_1·for·details·Far··PrimvarRefinerReal··Real··primvarRefiner···refiner··Vertex··src···verts··0··for··int·level··1··level··nRefinedLevels···level···Vertex··dst··src··refiner·-·GetLevel··level·-1·.·GetNumVertices··primvarRefiner·.·Interpolate··level·,·src·,·dst··src··dst····Evaluate·local·points·from·interpolated·vertex·primvars.·if··nLocalPoints···patchTable·-·GetLocalPointStencilTable··Real···-·UpdateValues···verts··0·,··verts··nRefinerVertices····Create·a·FarPatchMap·to·help·locating·patches·in·the·table·Far··PatchMap·patchmap···patchTable···Create·a·FarPtexIndices·to·help·find·indices·of·ptex·faces.·Far··PtexIndices·ptexIndices···refiner···Generate·random·samples·on·each·ptex·face·int·nsamplesPerFace··200·,·nfaces··ptexIndices·.·GetNumFaces··std··vector··LimitFrame··samples··nsamplesPerFace··nfaces··srand··static_cast··int···2147483647···Real·pWeights··20·,·dsWeights··20·,·dtWeights··20··for··int·face··0·,·count··0··face··nfaces···face···for··int·sample··0··sample··nsamplesPerFace···sample·,··count···Real·s···Real··rand····Real··RAND_MAX·,·t···Real··rand····Real··RAND_MAX···Locate·the·patch·corresponding·to·the·face·ptex·idx·and·s,t·Far··PatchTable··PatchHandle·const··handle··patchmap·.·FindPatch··face·,·s·,·t··assert··handle···Evaluate·the·patch·weights,·identify·the·CVs·and·compute·the·limit·frame·patchTable·-·EvaluateBasis···handle·,·s·,·t·,·pWeights·,·dsWeights·,·dtWeights··Far··ConstIndexArray·cvs··patchTable·-·GetPatchVertices···handle··LimitFrame··dst··samples··count··dst·.·Clear··for··int·cv··0··cv··cvs·.·size···cv···dst·.·AddWithWeight··verts··cvs··cv·,·pWeights··cv·,·dsWeights··cv·,·dtWeights··cv·······Visualization·with·Maya··print·a·MEL·script·that·generates·particles··at·the·location·of·the·limit·vertices·int·nsamples···int··samples·.·size··printf··file·-f·-new·n····Output·particle·positions·for·the·tangent·printf··particle·-n·deriv1···for··int·sample··0··sample··nsamples···sample···Real·const··pos··samples··sample·.·point··printf··-p·f·f·f·n··,·pos··0·,·pos··1·,·pos··2···printf···n····Set·per-particle·direction·using·the·limit·tangent·display·as·Streak·printf··setAttr··deriv1.particleRenderType··6·n···printf··setAttr··deriv1.velocity··-type··vectorArray··d··,·nsamples··for··int·sample··0··sample··nsamples···sample···Real·const··tan1··samples··sample·.·deriv1··printf··f·f·f·n··,·tan1··0·,·tan1··1·,·tan1··2···printf···n····Output·particle·positions·for·the·bi-tangent·printf··particle·-n·deriv2···for··int·sample··0··sample··nsamples···sample···Real·const··pos··samples··sample·.·point··printf··-p·f·f·f·n··,·pos··0·,·pos··1·,·pos··2···printf···n···printf··setAttr··deriv2.particleRenderType··6·n···printf··setAttr··deriv2.velocity··-type··vectorArray··d··,·nsamples··for··int·sample··0··sample··nsamples···sample···Real·const··tan2··samples··sample·.·deriv2··printf··f·f·f·n··,·tan2··0·,·tan2··1·,·tan2··2···printf···n····Exercise·to·the·reader··cross·tangent··bi-tangent·for·limit··surface·normal...··Force·Maya·DAG·update·to·see·the·result·in·the·viewport·printf··currentTime·-edit·currentTime·-q·n···printf··select·deriv1Shape·deriv2Shape·n····delete·refiner··delete·patchTable··return·EXIT_SUCCESS···------------------------------------------------------------------------------·static·Far··TopologyRefiner··createTopologyRefiner···typedef·Far··TopologyDescriptor·Descriptor··Sdc··SchemeType·type··OpenSubdiv··Sdc··SCHEME_CATMARK··Sdc··Options·options··options·.·SetVtxBoundaryInterpolation··Sdc··Options··VTX_BOUNDARY_EDGE_ONLY··Descriptor·desc··desc·.·numVertices··g_nverts··desc·.·numFaces··g_nfaces··desc·.·numVertsPerFace··g_vertsperface··desc·.·vertIndicesPerFace··g_faceverts··desc·.·numCreases··g_ncreases··desc·.·creaseVertexIndexPairs··g_creaseverts··desc·.·creaseWeights··g_creaseweights···Instantiate·a·FarTopologyRefiner·from·the·descriptor.·Far··TopologyRefiner··refiner··Far··TopologyRefinerFactory··Descriptor··Create··desc·,·Far··TopologyRefinerFactory··Descriptor··Options··type·,·options··return·refiner···Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | ||
65 | ········"tags":·"", | ||
66 | ········"loc":·"far_tutorial_5_1.html" | ||
67 | ····},·{ | ||
68 | ········"title":·"far_tutorial_4_3.cpp", | 68 | ········"title":·"far_tutorial_4_3.cpp", |
69 | ········"text":·"far_tutorial_4_3.cpp·far_tutorial_4_3.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsfartutorial_4_3far_tutorial_4_3.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·shows·how·to·create·and·manipulate·table·of·cascading·stencils.···We·initialize·a·FarTopologyRefiner·with·a·cube·and·apply·uniform··refinement.·We·then·use·a·FarStencilTableFactory·to·generate·a·stencil··table.·We·set·the·factory·Options·to·not·factorize·intermediate·levels,··thus·giving·a·table·of·cascading·stencils.···We·then·apply·the·stencils·to·the·vertex·position·primvar·data,·and·insert··a·hierarchical·edit·at·level·1.·This·edit·is·smoothed·by·the·application··of·the·subsequent·stencil·cascades.···The·results·are·dumped·into·an·OBJ·file·that·shows·the·intermediate·levels··of·refinement·of·the·original·cube.··include·opensubdivfartopologyDescriptor.h·include·opensubdivfarstencilTable.h·include·opensubdivfarstencilTableFactory.h·include·cstdio·include·cstring·------------------------------------------------------------------------------··Vertex·container·implementation.··struct·Vertex···Minimal·required·interface·----------------------·Vertex····Vertex··Vertex·const··src···_position··0···src·.·_position··0··_position··1···src·.·_position··1··_position··2···src·.·_position··2···void·Clear··void···0···_position··0···_position··1···_position··2···0.0f···void·AddWithWeight··Vertex·const··src·,·float·weight···_position··0···weight··src·.·_position··0··_position··1···weight··src·.·_position··1··_position··2···weight··src·.·_position··2····Public·interface·------------------------------------·void·SetPosition··float·x·,·float·y·,·float·z···_position··0···x··_position··1···y··_position··2···z···float·const··GetPosition··const··return·_position···float··GetPosition···return·_position···private··float·_position··3···------------------------------------------------------------------------------··Cube·geometry·from·catmark_cube.h·static·float·g_verts··24····-0.5f·,·-0.5f·,·0.5f·,·0.5f·,·-0.5f·,·0.5f·,·-0.5f·,·0.5f·,·0.5f·,·0.5f·,·0.5f·,·0.5f·,·-0.5f·,·0.5f·,·-0.5f·,·0.5f·,·0.5f·,·-0.5f·,·-0.5f·,·-0.5f·,·-0.5f·,·0.5f·,·-0.5f·,·-0.5f··static·int·g_nverts··8·,·g_nfaces··6··static·int·g_vertsperface··6····4·,·4·,·4·,·4·,·4·,·4··static·int·g_vertIndices··24····0·,·1·,·3·,·2·,·2·,·3·,·5·,·4·,·4·,·5·,·7·,·6·,·6·,·7·,·1·,·0·,·1·,·7·,·5·,·3·,·6·,·0·,·2·,·4··using·namespace·OpenSubdiv··static·Far··TopologyRefiner··createTopologyRefiner··------------------------------------------------------------------------------·int·main··int·,·char·····Generate·a·FarTopologyRefiner·see·tutorial_1_1·for·details.·Far··TopologyRefiner··refiner··createTopologyRefiner···Uniformly·refine·the·topology·up·to·maxlevel.·int·maxlevel··4··refiner·-·RefineUniform··Far··TopologyRefiner··UniformOptions··maxlevel···Use·the·FarStencilTable·factory·to·create·cascading·stencil·table··note·we·want·stencils·for·each·refinement·level··cascade·mode·is·achieved·by·setting·factorizeIntermediateLevels··to·false·Far··StencilTableFactory··Options·options··options·.·generateIntermediateLevels··true··options·.·factorizeIntermediateLevels··false··options·.·generateOffsets··true··Far··StencilTable·const··stencilTable··Far··StencilTableFactory··Create···refiner·,·options··std··vector··Vertex··vertexBuffer··refiner·-·GetNumVerticesTotal··-·g_nverts··Vertex··destVerts···vertexBuffer··0··int·start··0·,·end··0···stencil·batches·for·each·level·of·subdivision·for··int·level··0··level··maxlevel···level···int·nverts··refiner·-·GetLevel··level··1·.·GetNumVertices··Vertex·const··srcVerts··reinterpret_cast··Vertex···g_verts··if··level··0···srcVerts···vertexBuffer··start···start··end··end··nverts··stencilTable·-·UpdateValues··srcVerts·,·destVerts·,·start·,·end···apply·2·hierarchical·edits·on·level·1·vertices·if··level··1···float··pos··destVerts··start··5·.·GetPosition··pos··1···0.5f··pos··destVerts··start··20·.·GetPosition··pos··0···0.25f······Output·OBJ·of·the·highest·level·refined·-----------·Vertex··verts···vertexBuffer··0···Print·vertex·positions·for··int·level··1·,·firstvert··0··level··maxlevel···level···Far··TopologyLevel·const··refLevel··refiner·-·GetLevel··level··printf··g·level_d·n··,·level··int·nverts··refLevel·.·GetNumVertices··for··int·vert··0··vert··nverts···vert···float·const··pos··verts··vert·.·GetPosition··printf··v·f·f·f·n··,·pos··0·,·pos··1·,·pos··2···verts··nverts···Print·faces·for··int·face··0··face··refLevel·.·GetNumFaces···face···Far··ConstIndexArray·fverts··refLevel·.·GetFaceVertices··face···all·refined·Catmark·faces·should·be·quads·assert··fverts·.·size···4··printf··f···for··int·vert··0··vert··fverts·.·size···vert···printf··d··,·fverts··vert···firstvert··1···OBJ·uses·1-based·arrays...··printf···n····firstvert··nverts····delete·refiner··delete·stencilTable··return·EXIT_SUCCESS···------------------------------------------------------------------------------·static·Far··TopologyRefiner··createTopologyRefiner····Populate·a·topology·descriptor·with·our·raw·data.·typedef·Far··TopologyDescriptor·Descriptor··Sdc··SchemeType·type··OpenSubdiv··Sdc··SCHEME_CATMARK··Sdc··Options·options··options·.·SetVtxBoundaryInterpolation··Sdc··Options··VTX_BOUNDARY_EDGE_ONLY··Descriptor·desc··desc·.·numVertices··g_nverts··desc·.·numFaces··g_nfaces··desc·.·numVertsPerFace··g_vertsperface··desc·.·vertIndicesPerFace··g_vertIndices···Instantiate·a·FarTopologyRefiner·from·the·descriptor.·return·Far··TopologyRefinerFactory··Descriptor··Create··desc·,·Far··TopologyRefinerFactory··Descriptor··Options··type·,·options···------------------------------------------------------------------------------·Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | 69 | ········"text":·"far_tutorial_4_3.cpp·far_tutorial_4_3.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsfartutorial_4_3far_tutorial_4_3.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·shows·how·to·create·and·manipulate·table·of·cascading·stencils.···We·initialize·a·FarTopologyRefiner·with·a·cube·and·apply·uniform··refinement.·We·then·use·a·FarStencilTableFactory·to·generate·a·stencil··table.·We·set·the·factory·Options·to·not·factorize·intermediate·levels,··thus·giving·a·table·of·cascading·stencils.···We·then·apply·the·stencils·to·the·vertex·position·primvar·data,·and·insert··a·hierarchical·edit·at·level·1.·This·edit·is·smoothed·by·the·application··of·the·subsequent·stencil·cascades.···The·results·are·dumped·into·an·OBJ·file·that·shows·the·intermediate·levels··of·refinement·of·the·original·cube.··include·opensubdivfartopologyDescriptor.h·include·opensubdivfarstencilTable.h·include·opensubdivfarstencilTableFactory.h·include·cstdio·include·cstring·------------------------------------------------------------------------------··Vertex·container·implementation.··struct·Vertex···Minimal·required·interface·----------------------·Vertex····Vertex··Vertex·const··src···_position··0···src·.·_position··0··_position··1···src·.·_position··1··_position··2···src·.·_position··2···void·Clear··void···0···_position··0···_position··1···_position··2···0.0f···void·AddWithWeight··Vertex·const··src·,·float·weight···_position··0···weight··src·.·_position··0··_position··1···weight··src·.·_position··1··_position··2···weight··src·.·_position··2····Public·interface·------------------------------------·void·SetPosition··float·x·,·float·y·,·float·z···_position··0···x··_position··1···y··_position··2···z···float·const··GetPosition··const··return·_position···float··GetPosition···return·_position···private··float·_position··3···------------------------------------------------------------------------------··Cube·geometry·from·catmark_cube.h·static·float·g_verts··24····-0.5f·,·-0.5f·,·0.5f·,·0.5f·,·-0.5f·,·0.5f·,·-0.5f·,·0.5f·,·0.5f·,·0.5f·,·0.5f·,·0.5f·,·-0.5f·,·0.5f·,·-0.5f·,·0.5f·,·0.5f·,·-0.5f·,·-0.5f·,·-0.5f·,·-0.5f·,·0.5f·,·-0.5f·,·-0.5f··static·int·g_nverts··8·,·g_nfaces··6··static·int·g_vertsperface··6····4·,·4·,·4·,·4·,·4·,·4··static·int·g_vertIndices··24····0·,·1·,·3·,·2·,·2·,·3·,·5·,·4·,·4·,·5·,·7·,·6·,·6·,·7·,·1·,·0·,·1·,·7·,·5·,·3·,·6·,·0·,·2·,·4··using·namespace·OpenSubdiv··static·Far··TopologyRefiner··createTopologyRefiner··------------------------------------------------------------------------------·int·main··int·,·char·····Generate·a·FarTopologyRefiner·see·tutorial_1_1·for·details.·Far··TopologyRefiner··refiner··createTopologyRefiner···Uniformly·refine·the·topology·up·to·maxlevel.·int·maxlevel··4··refiner·-·RefineUniform··Far··TopologyRefiner··UniformOptions··maxlevel···Use·the·FarStencilTable·factory·to·create·cascading·stencil·table··note·we·want·stencils·for·each·refinement·level··cascade·mode·is·achieved·by·setting·factorizeIntermediateLevels··to·false·Far··StencilTableFactory··Options·options··options·.·generateIntermediateLevels··true··options·.·factorizeIntermediateLevels··false··options·.·generateOffsets··true··Far··StencilTable·const··stencilTable··Far··StencilTableFactory··Create···refiner·,·options··std··vector··Vertex··vertexBuffer··refiner·-·GetNumVerticesTotal··-·g_nverts··Vertex··destVerts···vertexBuffer··0··int·start··0·,·end··0···stencil·batches·for·each·level·of·subdivision·for··int·level··0··level··maxlevel···level···int·nverts··refiner·-·GetLevel··level··1·.·GetNumVertices··Vertex·const··srcVerts··reinterpret_cast··Vertex···g_verts··if··level··0···srcVerts···vertexBuffer··start···start··end··end··nverts··stencilTable·-·UpdateValues··srcVerts·,·destVerts·,·start·,·end···apply·2·hierarchical·edits·on·level·1·vertices·if··level··1···float··pos··destVerts··start··5·.·GetPosition··pos··1···0.5f··pos··destVerts··start··20·.·GetPosition··pos··0···0.25f······Output·OBJ·of·the·highest·level·refined·-----------·Vertex··verts···vertexBuffer··0···Print·vertex·positions·for··int·level··1·,·firstvert··0··level··maxlevel···level···Far··TopologyLevel·const··refLevel··refiner·-·GetLevel··level··printf··g·level_d·n··,·level··int·nverts··refLevel·.·GetNumVertices··for··int·vert··0··vert··nverts···vert···float·const··pos··verts··vert·.·GetPosition··printf··v·f·f·f·n··,·pos··0·,·pos··1·,·pos··2···verts··nverts···Print·faces·for··int·face··0··face··refLevel·.·GetNumFaces···face···Far··ConstIndexArray·fverts··refLevel·.·GetFaceVertices··face···all·refined·Catmark·faces·should·be·quads·assert··fverts·.·size···4··printf··f···for··int·vert··0··vert··fverts·.·size···vert···printf··d··,·fverts··vert···firstvert··1···OBJ·uses·1-based·arrays...··printf···n····firstvert··nverts····delete·refiner··delete·stencilTable··return·EXIT_SUCCESS···------------------------------------------------------------------------------·static·Far··TopologyRefiner··createTopologyRefiner····Populate·a·topology·descriptor·with·our·raw·data.·typedef·Far··TopologyDescriptor·Descriptor··Sdc··SchemeType·type··OpenSubdiv··Sdc··SCHEME_CATMARK··Sdc··Options·options··options·.·SetVtxBoundaryInterpolation··Sdc··Options··VTX_BOUNDARY_EDGE_ONLY··Descriptor·desc··desc·.·numVertices··g_nverts··desc·.·numFaces··g_nfaces··desc·.·numVertsPerFace··g_vertsperface··desc·.·vertIndicesPerFace··g_vertIndices···Instantiate·a·FarTopologyRefiner·from·the·descriptor.·return·Far··TopologyRefinerFactory··Descriptor··Create··desc·,·Far··TopologyRefinerFactory··Descriptor··Options··type·,·options···------------------------------------------------------------------------------·Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", |
70 | ········"tags":·"", | 70 | ········"tags":·"", |
71 | ········"loc":·"far_tutorial_4_3.html" | 71 | ········"loc":·"far_tutorial_4_3.html" |
72 | ····},·{ | 72 | ····},·{ |
73 | ········"title":·"far_tutorial_4_1.cpp", | ||
74 | ········"text":·"far_tutorial_4_1.cpp·far_tutorial_4_1.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsfartutorial_4_1far_tutorial_4_1.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·shows·how·to·create·and·manipulate·FarStencilTable.·We·use··the·factorized·stencils·to·interpolate·vertex·primvar·data·buffers.··include·opensubdivfartopologyDescriptor.h·include·opensubdivfarstencilTable.h·include·opensubdivfarstencilTableFactory.h·include·cstdio·include·cstring·------------------------------------------------------------------------------··Vertex·container·implementation.··struct·Vertex···Minimal·required·interface·----------------------·Vertex····Vertex··Vertex·const··src···_position··0···src·.·_position··0··_position··1···src·.·_position··1··_position··2···src·.·_position··2···void·Clear··void···0···_position··0···_position··1···_position··2···0.0f···void·AddWithWeight··Vertex·const··src·,·float·weight···_position··0···weight··src·.·_position··0··_position··1···weight··src·.·_position··1··_position··2···weight··src·.·_position··2····Public·interface·------------------------------------·void·SetPosition··float·x·,·float·y·,·float·z···_position··0···x··_position··1···y··_position··2···z···float·const··GetPosition··const··return·_position···private··float·_position··3···------------------------------------------------------------------------------··Cube·geometry·from·catmark_cube.h·static·float·g_verts··24····-0.5f·,·-0.5f·,·0.5f·,·0.5f·,·-0.5f·,·0.5f·,·-0.5f·,·0.5f·,·0.5f·,·0.5f·,·0.5f·,·0.5f·,·-0.5f·,·0.5f·,·-0.5f·,·0.5f·,·0.5f·,·-0.5f·,·-0.5f·,·-0.5f·,·-0.5f·,·0.5f·,·-0.5f·,·-0.5f··static·int·g_nverts··8·,·g_nfaces··6··static·int·g_vertsperface··6····4·,·4·,·4·,·4·,·4·,·4··static·int·g_vertIndices··24····0·,·1·,·3·,·2·,·2·,·3·,·5·,·4·,·4·,·5·,·7·,·6·,·6·,·7·,·1·,·0·,·1·,·7·,·5·,·3·,·6·,·0·,·2·,·4··using·namespace·OpenSubdiv··static·Far··TopologyRefiner··createTopologyRefiner··------------------------------------------------------------------------------·int·main··int·,·char·····Generate·a·FarTopologyRefiner·see·tutorial_1_1·for·details.·Far··TopologyRefiner··refiner··createTopologyRefiner···Uniformly·refine·the·topology·up·to·maxlevel.·int·maxlevel··3··refiner·-·RefineUniform··Far··TopologyRefiner··UniformOptions··maxlevel···Use·the·FarStencilTable·factory·to·create·discrete·stencil·table··note·we·only·want·stencils·for·the·highest·refinement·level.·Far··StencilTableFactory··Options·options··options·.·generateIntermediateLevels··false··options·.·generateOffsets··true··Far··StencilTable·const··stencilTable··Far··StencilTableFactory··Create···refiner·,·options···Allocate·vertex·primvar·buffer·1·stencil·for·each·vertex·int·nstencils··stencilTable·-·GetNumStencils··std··vector··Vertex··vertexBuffer··nstencils···Quick··dirty·re-cast·of·the·primvar·data·from·our·cube··this·is·where·you·would·drive·shape·deformations·every·frame·Vertex··controlValues··reinterpret_cast··Vertex···g_verts····This·section·would·be·applied·every·frame·after·control·vertices·have··been·moved.··Apply·stencils·on·the·control·vertex·data·to·update·the·primvar·data··of·the·refined·vertices.·stencilTable·-·UpdateValues··controlValues·,··vertexBuffer··0·····Visualization·with·Maya··print·a·MEL·script·that·generates·particles··at·the·location·of·the·refined·vertices·printf··particle···for··int·i··0··i···int··vertexBuffer·.·size···i···float·const··pos··vertexBuffer··i·.·GetPosition··printf··-p·f·f·f·n··,·pos··0·,·pos··1·,·pos··2···printf··-c·1·n····delete·refiner··delete·stencilTable··return·EXIT_SUCCESS···------------------------------------------------------------------------------·static·Far··TopologyRefiner··createTopologyRefiner····Populate·a·topology·descriptor·with·our·raw·data.·typedef·Far··TopologyDescriptor·Descriptor··Sdc··SchemeType·type··OpenSubdiv··Sdc··SCHEME_CATMARK··Sdc··Options·options··options·.·SetVtxBoundaryInterpolation··Sdc··Options··VTX_BOUNDARY_EDGE_ONLY··Descriptor·desc··desc·.·numVertices··g_nverts··desc·.·numFaces··g_nfaces··desc·.·numVertsPerFace··g_vertsperface··desc·.·vertIndicesPerFace··g_vertIndices···Instantiate·a·FarTopologyRefiner·from·the·descriptor.·return·Far··TopologyRefinerFactory··Descriptor··Create··desc·,·Far··TopologyRefinerFactory··Descriptor··Options··type·,·options···------------------------------------------------------------------------------·Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | ||
75 | ········"tags":·"", | ||
76 | ········"loc":·"far_tutorial_4_1.html" | ||
77 | ····},·{ | ||
78 | ········"title":·"far_tutorial_4_2.cpp", | 73 | ········"title":·"far_tutorial_4_2.cpp", |
79 | ········"text":·"far_tutorial_4_2.cpp·far_tutorial_4_2.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsfartutorial_4_2far_tutorial_4_2.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·shows·how·to·create·and·manipulate·both·vertex·and·varying··FarStencilTable·to·interpolate·2·primvar·data·buffers·vertex·positions·and··vertex·colors.··include·opensubdivfartopologyDescriptor.h·include·opensubdivfarstencilTable.h·include·opensubdivfarstencilTableFactory.h·include·cstdio·include·cstring·------------------------------------------------------------------------------··Vertex·container·implementation.··struct·Vertex···Minimal·required·interface·----------------------·Vertex····Vertex··Vertex·const··src···_data··0···src·.·_data··0··_data··1···src·.·_data··1··_data··2···src·.·_data··2···void·Clear··void···0···_data··0···_data··1···_data··2···0.0f···void·AddWithWeight··Vertex·const··src·,·float·weight···_data··0···weight··src·.·_data··0··_data··1···weight··src·.·_data··1··_data··2···weight··src·.·_data··2····Public·interface·------------------------------------·float·const··GetData··const··return·_data···private··float·_data··3···------------------------------------------------------------------------------··Cube·geometry·from·catmark_cube.h·static·float·g_verts··24····-0.5f·,·-0.5f·,·0.5f·,·0.5f·,·-0.5f·,·0.5f·,·-0.5f·,·0.5f·,·0.5f·,·0.5f·,·0.5f·,·0.5f·,·-0.5f·,·0.5f·,·-0.5f·,·0.5f·,·0.5f·,·-0.5f·,·-0.5f·,·-0.5f·,·-0.5f·,·0.5f·,·-0.5f·,·-0.5f···Per-vertex·RGB·color·data·static·float·g_colors··24····1.0f·,·0.0f·,·0.5f·,·0.0f·,·1.0f·,·0.0f·,·0.0f·,·0.0f·,·1.0f·,·1.0f·,·1.0f·,·1.0f·,·1.0f·,·1.0f·,·0.0f·,·0.0f·,·1.0f·,·1.0f·,·1.0f·,·0.0f·,·1.0f·,·0.0f·,·0.0f·,·0.0f··static·int·g_nverts··8·,·g_nfaces··6··static·int·g_vertsperface··6····4·,·4·,·4·,·4·,·4·,·4··static·int·g_vertIndices··24····0·,·1·,·3·,·2·,·2·,·3·,·5·,·4·,·4·,·5·,·7·,·6·,·6·,·7·,·1·,·0·,·1·,·7·,·5·,·3·,·6·,·0·,·2·,·4··using·namespace·OpenSubdiv··static·Far··TopologyRefiner··createTopologyRefiner··------------------------------------------------------------------------------·int·main··int·,·char·····Generate·a·FarTopologyRefiner·see·tutorial_1_1·for·details.·Far··TopologyRefiner··refiner··createTopologyRefiner···Uniformly·refine·the·topology·up·to·maxlevel.·int·maxlevel··4··refiner·-·RefineUniform··Far··TopologyRefiner··UniformOptions··maxlevel··int·nverts··refiner·-·GetLevel··maxlevel·.·GetNumVertices···Use·the·FarStencilTable·factory·to·create·discrete·stencil·table·Far··StencilTableFactory··Options·options··options·.·generateIntermediateLevels··false···only·the·highest·refinement·level.·options·.·generateOffsets··true····Vertex·primvar·data···Create·stencils·table·for·vertex·interpolation·options·.·interpolationMode··Far··StencilTableFactory··INTERPOLATE_VERTEX··Far··StencilTable·const··vertexStencils··Far··StencilTableFactory··Create···refiner·,·options··assert··nverts··vertexStencils·-·GetNumStencils···Allocate·vertex·primvar·buffer·1·stencil·for·each·vertex·std··vector··Vertex··vertexBuffer··vertexStencils·-·GetNumStencils···Use·the·cube·vertex·positions·as·vertex·primvar·data·Vertex··vertexCVs··reinterpret_cast··Vertex···g_verts····Varying·primvar·data···Create·stencils·table·for·varying·interpolation·options·.·interpolationMode··Far··StencilTableFactory··INTERPOLATE_VARYING··Far··StencilTable·const··varyingStencils··Far··StencilTableFactory··Create···refiner·,·options··assert··nverts··varyingStencils·-·GetNumStencils···Allocate·varying·primvar·buffer·1·stencil·for·each·vertex·std··vector··Vertex··varyingBuffer··varyingStencils·-·GetNumStencils···Use·per-vertex·array·of·RGB·colors·as·varying·primvar·data·Vertex··varyingCVs··reinterpret_cast··Vertex···g_colors··delete·refiner····Apply·stencils·in·frame·loop····This·section·would·be·applied·every·frame·after·control·vertices·have··been·moved.··Apply·stencils·on·the·control·vertex·data·to·update·the·primvar·data··of·the·refined·vertices.·vertexStencils·-·UpdateValues··vertexCVs·,··vertexBuffer··0··varyingStencils·-·UpdateValues··varyingCVs·,··varyingBuffer··0·····Visualization·with·Maya··print·a·MEL·script·that·generates·particles··at·the·location·of·the·refined·vertices·printf··particle···for··int·vert··0··vert···int··nverts···vert···float·const··pos··vertexBuffer··vert·.·GetData··printf··-p·f·f·f·n··,·pos··0·,·pos··1·,·pos··2···printf··-c·1·n····Set·particle·point·size·20·--·very·large·printf··addAttr·-is·true·-ln··pointSize··-at·long·-dv·20·particleShape1·n····Add·per-particle·color·attribute·rgbPP·printf··addAttr·-ln··rgbPP··-dt·vectorArray·particleShape1·n····Set·per-particle·color·values·from·our·varying·primvar·data·printf··setAttr··particleShape1.rgbPP··-type··vectorArray··d··,·nverts··for··int·vert··0··vert··nverts···vert···float·const··color··varyingBuffer··vert·.·GetData··printf··f·f·f·n··,·color··0·,·color··1·,·color··2···printf···n····delete·vertexStencils··delete·varyingStencils··return·EXIT_SUCCESS···------------------------------------------------------------------------------·static·Far··TopologyRefiner··createTopologyRefiner····Populate·a·topology·descriptor·with·our·raw·data.·typedef·Far··TopologyDescriptor·Descriptor··Sdc··SchemeType·type··OpenSubdiv··Sdc··SCHEME_CATMARK··Sdc··Options·options··options·.·SetVtxBoundaryInterpolation··Sdc··Options··VTX_BOUNDARY_EDGE_ONLY··Descriptor·desc··desc·.·numVertices··g_nverts··desc·.·numFaces··g_nfaces··desc·.·numVertsPerFace··g_vertsperface··desc·.·vertIndicesPerFace··g_vertIndices···Instantiate·a·FarTopologyRefiner·from·the·descriptor.·Far··TopologyRefiner··refiner··Far··TopologyRefinerFactory··Descriptor··Create··desc·,·Far··TopologyRefinerFactory··Descriptor··Options··type·,·options··return·refiner···------------------------------------------------------------------------------·Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | 74 | ········"text":·"far_tutorial_4_2.cpp·far_tutorial_4_2.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsfartutorial_4_2far_tutorial_4_2.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·shows·how·to·create·and·manipulate·both·vertex·and·varying··FarStencilTable·to·interpolate·2·primvar·data·buffers·vertex·positions·and··vertex·colors.··include·opensubdivfartopologyDescriptor.h·include·opensubdivfarstencilTable.h·include·opensubdivfarstencilTableFactory.h·include·cstdio·include·cstring·------------------------------------------------------------------------------··Vertex·container·implementation.··struct·Vertex···Minimal·required·interface·----------------------·Vertex····Vertex··Vertex·const··src···_data··0···src·.·_data··0··_data··1···src·.·_data··1··_data··2···src·.·_data··2···void·Clear··void···0···_data··0···_data··1···_data··2···0.0f···void·AddWithWeight··Vertex·const··src·,·float·weight···_data··0···weight··src·.·_data··0··_data··1···weight··src·.·_data··1··_data··2···weight··src·.·_data··2····Public·interface·------------------------------------·float·const··GetData··const··return·_data···private··float·_data··3···------------------------------------------------------------------------------··Cube·geometry·from·catmark_cube.h·static·float·g_verts··24····-0.5f·,·-0.5f·,·0.5f·,·0.5f·,·-0.5f·,·0.5f·,·-0.5f·,·0.5f·,·0.5f·,·0.5f·,·0.5f·,·0.5f·,·-0.5f·,·0.5f·,·-0.5f·,·0.5f·,·0.5f·,·-0.5f·,·-0.5f·,·-0.5f·,·-0.5f·,·0.5f·,·-0.5f·,·-0.5f···Per-vertex·RGB·color·data·static·float·g_colors··24····1.0f·,·0.0f·,·0.5f·,·0.0f·,·1.0f·,·0.0f·,·0.0f·,·0.0f·,·1.0f·,·1.0f·,·1.0f·,·1.0f·,·1.0f·,·1.0f·,·0.0f·,·0.0f·,·1.0f·,·1.0f·,·1.0f·,·0.0f·,·1.0f·,·0.0f·,·0.0f·,·0.0f··static·int·g_nverts··8·,·g_nfaces··6··static·int·g_vertsperface··6····4·,·4·,·4·,·4·,·4·,·4··static·int·g_vertIndices··24····0·,·1·,·3·,·2·,·2·,·3·,·5·,·4·,·4·,·5·,·7·,·6·,·6·,·7·,·1·,·0·,·1·,·7·,·5·,·3·,·6·,·0·,·2·,·4··using·namespace·OpenSubdiv··static·Far··TopologyRefiner··createTopologyRefiner··------------------------------------------------------------------------------·int·main··int·,·char·····Generate·a·FarTopologyRefiner·see·tutorial_1_1·for·details.·Far··TopologyRefiner··refiner··createTopologyRefiner···Uniformly·refine·the·topology·up·to·maxlevel.·int·maxlevel··4··refiner·-·RefineUniform··Far··TopologyRefiner··UniformOptions··maxlevel··int·nverts··refiner·-·GetLevel··maxlevel·.·GetNumVertices···Use·the·FarStencilTable·factory·to·create·discrete·stencil·table·Far··StencilTableFactory··Options·options··options·.·generateIntermediateLevels··false···only·the·highest·refinement·level.·options·.·generateOffsets··true····Vertex·primvar·data···Create·stencils·table·for·vertex·interpolation·options·.·interpolationMode··Far··StencilTableFactory··INTERPOLATE_VERTEX··Far··StencilTable·const··vertexStencils··Far··StencilTableFactory··Create···refiner·,·options··assert··nverts··vertexStencils·-·GetNumStencils···Allocate·vertex·primvar·buffer·1·stencil·for·each·vertex·std··vector··Vertex··vertexBuffer··vertexStencils·-·GetNumStencils···Use·the·cube·vertex·positions·as·vertex·primvar·data·Vertex··vertexCVs··reinterpret_cast··Vertex···g_verts····Varying·primvar·data···Create·stencils·table·for·varying·interpolation·options·.·interpolationMode··Far··StencilTableFactory··INTERPOLATE_VARYING··Far··StencilTable·const··varyingStencils··Far··StencilTableFactory··Create···refiner·,·options··assert··nverts··varyingStencils·-·GetNumStencils···Allocate·varying·primvar·buffer·1·stencil·for·each·vertex·std··vector··Vertex··varyingBuffer··varyingStencils·-·GetNumStencils···Use·per-vertex·array·of·RGB·colors·as·varying·primvar·data·Vertex··varyingCVs··reinterpret_cast··Vertex···g_colors··delete·refiner····Apply·stencils·in·frame·loop····This·section·would·be·applied·every·frame·after·control·vertices·have··been·moved.··Apply·stencils·on·the·control·vertex·data·to·update·the·primvar·data··of·the·refined·vertices.·vertexStencils·-·UpdateValues··vertexCVs·,··vertexBuffer··0··varyingStencils·-·UpdateValues··varyingCVs·,··varyingBuffer··0·····Visualization·with·Maya··print·a·MEL·script·that·generates·particles··at·the·location·of·the·refined·vertices·printf··particle···for··int·vert··0··vert···int··nverts···vert···float·const··pos··vertexBuffer··vert·.·GetData··printf··-p·f·f·f·n··,·pos··0·,·pos··1·,·pos··2···printf··-c·1·n····Set·particle·point·size·20·--·very·large·printf··addAttr·-is·true·-ln··pointSize··-at·long·-dv·20·particleShape1·n····Add·per-particle·color·attribute·rgbPP·printf··addAttr·-ln··rgbPP··-dt·vectorArray·particleShape1·n····Set·per-particle·color·values·from·our·varying·primvar·data·printf··setAttr··particleShape1.rgbPP··-type··vectorArray··d··,·nverts··for··int·vert··0··vert··nverts···vert···float·const··color··varyingBuffer··vert·.·GetData··printf··f·f·f·n··,·color··0·,·color··1·,·color··2···printf···n····delete·vertexStencils··delete·varyingStencils··return·EXIT_SUCCESS···------------------------------------------------------------------------------·static·Far··TopologyRefiner··createTopologyRefiner····Populate·a·topology·descriptor·with·our·raw·data.·typedef·Far··TopologyDescriptor·Descriptor··Sdc··SchemeType·type··OpenSubdiv··Sdc··SCHEME_CATMARK··Sdc··Options·options··options·.·SetVtxBoundaryInterpolation··Sdc··Options··VTX_BOUNDARY_EDGE_ONLY··Descriptor·desc··desc·.·numVertices··g_nverts··desc·.·numFaces··g_nfaces··desc·.·numVertsPerFace··g_vertsperface··desc·.·vertIndicesPerFace··g_vertIndices···Instantiate·a·FarTopologyRefiner·from·the·descriptor.·Far··TopologyRefiner··refiner··Far··TopologyRefinerFactory··Descriptor··Create··desc·,·Far··TopologyRefinerFactory··Descriptor··Options··type·,·options··return·refiner···------------------------------------------------------------------------------·Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", |
80 | ········"tags":·"", | 75 | ········"tags":·"", |
81 | ········"loc":·"far_tutorial_4_2.html" | 76 | ········"loc":·"far_tutorial_4_2.html" |
82 | ····},·{ | 77 | ····},·{ |
83 | ········"title":·"far_tutorial_3_1.cpp", | ||
84 | ········"text":·"far_tutorial_3_1.cpp·far_tutorial_3_1.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsfartutorial_3_1far_tutorial_3_1.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·shows·how·to·interface·a·high-level·topology·representation··with·Far·for·better·efficiency.·In·tutorial·0,·we·showed·how·to·instantiate··topology·from·a·simple·face-vertex·list.·Here·we·will·show·how·to·take··advantage·of·more·complex·data·structures.···Many·client·applications·that·manipulate·geometry·use·advanced·data·structures··such·as·half-edge,·quad-edge·or·winged-edge·in·order·to·represent·complex··topological·relationships·beyond·the·usual·face-vertex·lists.·We·can·take··advantage·of·this·information.···Far·provides·an·advanced·interface·that·allows·such·a·client·application·to··communicate·advanced·component·relationships·directly·and·avoid·having·Far··rebuilding·them·redundantly.··include·opensubdivfartopologyRefinerFactory.h·include·opensubdivfarprimvarRefiner.h·include·cstdio·------------------------------------------------------------------------------·using·namespace·OpenSubdiv··------------------------------------------------------------------------------···For·this·tutorial,·we·provide·the·complete·topological·representation·of·a··simple·pyramid.·In·our·case,·we·store·it·as·a·simple·sequence·of·integers,··with·the·understanding·that·client-code·would·provide·a·fully·implemented··data-structure·such·as·quad-edges·or·winged-edges.···Pyramid·geometry·from·catmark_pyramid.h·-·extended·for·this·tutorial··static·int·g_nverts··5·,·g_nedges··8·,·g_nfaces··5···vertex·positions·static·float·g_verts··5··3····0.0f·,·0.0f·,·2.0f·,··0.0f·,·-2.0f·,·0.0f·,··2.0f·,·0.0f·,·0.0f·,··0.0f·,·2.0f·,·0.0f·,··-2.0f·,·0.0f·,·0.0f···number·of·vertices·in·each·face·static·int·g_facenverts··5····3·,·3·,·3·,·3·,·4···index·of·face·vertices·static·int·g_faceverts··16····0·,·1·,·2·,·0·,·2·,·3·,·0·,·3·,·4·,·0·,·4·,·1·,·4·,·3·,·2·,·1···index·of·edge·vertices·2·per·edge·static·int·g_edgeverts··16····0·,·1·,·1·,·2·,·2·,·0·,·2·,·3·,·3·,·0·,·3·,·4·,·4·,·0·,·4·,·1···index·of·face·edges·static·int·g_faceedges··16····0·,·1·,·2·,·2·,·3·,·4·,·4·,·5·,·6·,·6·,·7·,·0·,·5·,·3·,·1·,·7···number·of·faces·adjacent·to·each·edge·static·int·g_edgenfaces··8····2·,·2·,·2·,·2·,·2·,·2·,·2·,·2···index·of·faces·incident·to·a·given·edge·static·int·g_edgefaces··16····0·,·3·,·0·,·4·,·0·,·1·,·1·,·4·,·1·,·2·,·2·,·4·,·2·,·3·,·3·,·4···number·of·faces·incident·to·each·vertex·static·int·g_vertexnfaces··5····4·,·3·,·3·,·3·,·3···index·of·faces·incident·to·each·vertex·static·int·g_vertexfaces··25····0·,·1·,·2·,·3·,·0·,·3·,·4·,·0·,·4·,·1·,·1·,·4·,·2·,·2·,·4·,·3···number·of·edges·incident·to·each·vertex·static·int·g_vertexnedges··5····4·,·3·,·3·,·3·,·3···index·of·edges·incident·to·each·vertex·static·int·g_vertexedges··25····0·,·2·,·4·,·6·,·1·,·0·,·7·,·2·,·1·,·3·,·4·,·3·,·5·,·6·,·5·,·7···Edge·crease·sharpness·static·float·g_edgeCreases··8····0.0f·,·2.5f·,·0.0f·,·2.5f·,·0.0f·,·2.5f·,·0.0f·,·2.5f··------------------------------------------------------------------------------···Because·existing·client-code·may·not·provide·an·exact·match·for·the··topological·queries·required·by·Fars·interface,·we·can·provide·a·converter··class.·This·can·be·particularly·useful·for·instance·if·the·client··data-structure·requires·additional·relationships·to·be·mapped.·For·instance,··half-edge·representations·do·not·store·unique·edge·indices·and·it·can·be··difficult·to·traverse·edges·or·faces·adjacent·to·a·given·vertex.···Using·an·intermediate·wrapper·class·allows·us·to·leverage·existing··relationships·information·from·a·mesh,·and·generate·the·missing·components··temporarily.···For·a·practical·example,·you·can·look·at·the·file·hbr_to_vtr.h·in·the·same··tutorial·directory.·This·example·implements·a·OsdHbrConverter·class·as·a··way·of·interfacing·PRmans·half-edge·representation·to·Far.··struct·Converter··public··Sdc··SchemeType·GetType··const··return·Sdc··SCHEME_CATMARK···Sdc··Options·GetOptions··const··Sdc··Options·options··options·.·SetVtxBoundaryInterpolation··Sdc··Options··VTX_BOUNDARY_EDGE_ONLY··return·options···int·GetNumFaces··const··return·g_nfaces···int·GetNumEdges··const··return·g_nedges···int·GetNumVertices··const··return·g_nverts·····Face·relationships··int·GetNumFaceVerts··int·face··const··return·g_facenverts··face···int·const··GetFaceVerts··int·face··const··return·g_faceverts··getCompOffset··g_facenverts·,·face···int·const··GetFaceEdges··int·face··const··return·g_faceedges··getCompOffset··g_facenverts·,·face·····Edge·relationships··int·const··GetEdgeVertices··int·edge··const··return·g_edgeverts··edge··2···int·GetNumEdgeFaces··int·edge··const··return·g_edgenfaces··edge···int·const··GetEdgeFaces··int·edge··const··return·g_edgefaces··getCompOffset··g_edgenfaces·,·edge·····Vertex·relationships··int·GetNumVertexEdges··int·vert··const··return·g_vertexnedges··vert···int·const··GetVertexEdges··int·vert··const··return·g_vertexedges··getCompOffset··g_vertexnedges·,·vert···int·GetNumVertexFaces··int·vert··const··return·g_vertexnfaces··vert···int·const··GetVertexFaces··int·vert··const··return·g_vertexfaces··getCompOffset··g_vertexnfaces·,·vert···private··int·getCompOffset··int·const··comps·,·int·comp··const··int·ofs··0··for··int·i··0··i··comp···i···ofs··comps··i···return·ofs····------------------------------------------------------------------------------·namespace·OpenSubdiv··namespace·OPENSUBDIV_VERSION··namespace·Far··template··bool·TopologyRefinerFactory··Converter··resizeComponentTopology··TopologyRefiner··refiner·,·Converter·const··conv····Faces·and·face-verts·int·nfaces··conv·.·GetNumFaces··setNumBaseFaces··refiner·,·nfaces··for··int·face··0··face··nfaces···face···int·nv··conv·.·GetNumFaceVerts··face··setNumBaseFaceVertices··refiner·,·face·,·nv····Edges·and·edge-faces·int·nedges··conv·.·GetNumEdges··setNumBaseEdges··refiner·,·nedges··for··int·edge··0··edge··nedges···edge···int·nf··conv·.·GetNumEdgeFaces··edge··setNumBaseEdgeFaces··refiner·,·edge·,·nf····Vertices·and·vert-faces·and·vert-edges·int·nverts··conv·.·GetNumVertices··setNumBaseVertices··refiner·,·nverts··for··int·vert··0··vert··nverts···vert···int·ne··conv·.·GetNumVertexEdges··vert·,·nf··conv·.·GetNumVertexFaces··vert··setNumBaseVertexEdges··refiner·,·vert·,·ne··setNumBaseVertexFaces··refiner·,·vert·,·nf···return·true···template··bool·TopologyRefinerFactory··Converter··assignComponentTopology··TopologyRefiner··refiner·,·Converter·const··conv···using·Far··IndexArray····Face·relations·int·nfaces··conv·.·GetNumFaces··for··int·face··0··face··nfaces···face···IndexArray·dstFaceVerts··getBaseFaceVertices··refiner·,·face··IndexArray·dstFaceEdges··getBaseFaceEdges··refiner·,·face··int·const··faceverts··conv·.·GetFaceVerts··face··int·const··faceedges··conv·.·GetFaceEdges··face··for··int·vert··0··vert··conv·.·GetNumFaceVerts··face···vert···dstFaceVerts··vert···faceverts··vert··dstFaceEdges··vert···faceedges··vert·······Edge·relations···Note·if·your·representation·is·unable·to·provide·edge·relationships··ex·half-edges,·you·can·comment·out·this·section·and·Far·will··automatically·generate·the·missing·information.··int·nedges··conv·.·GetNumEdges··for··int·edge··0··edge··nedges···edge····Edge-vertices·IndexArray·dstEdgeVerts··getBaseEdgeVertices··refiner·,·edge··dstEdgeVerts··0···conv·.·GetEdgeVertices··edge··0··dstEdgeVerts··1···conv·.·GetEdgeVertices··edge··1···Edge-faces·IndexArray·dstEdgeFaces··getBaseEdgeFaces··refiner·,·edge··for··int·face··0··face··conv·.·GetNumEdgeFaces··face···face···dstEdgeFaces··face···conv·.·GetEdgeFaces··edge··face·······Vertex·relations·int·nverts··conv·.·GetNumVertices··for··int·vert··0··vert··nverts···vert····Vert-Faces·IndexArray·vertFaces··getBaseVertexFaces··refiner·,·vert··LocalIndexArray·vertInFaceIndices··getBaseVertexFaceLocalIndicesrefiner,·vert·for··int·face··0··face··conv·.·GetNumVertexFaces··vert···face···vertFaces··face···conv·.·GetVertexFaces··vert··face····Vert-Edges·IndexArray·vertEdges··getBaseVertexEdges··refiner·,·vert··LocalIndexArray·vertInEdgeIndices··getBaseVertexEdgeLocalIndicesrefiner,·vert·for··int·edge··0··edge··conv·.·GetNumVertexEdges··vert···edge···vertEdges··edge···conv·.·GetVertexEdges··vert··edge·····populateBaseLocalIndices··refiner··return·true···template··bool·TopologyRefinerFactory··Converter··assignComponentTags··TopologyRefiner··refiner·,·Converter·const··conv····arbitrarily·sharpen·the·4·bottom·edges·of·the·pyramid·to·2.5f·for··int·edge··0··edge··conv·.·GetNumEdges···edge···setBaseEdgeSharpness··refiner·,·edge·,·g_edgeCreases··edge···return·true···ifdef·_MSC_VER·template··void·TopologyRefinerFactory··Converter··reportInvalidTopology··TopologyError··errCode··,·char·const··msg·,·Converter·const···mesh······Optional·topology·validation·error·reporting··This·method·is·called·whenever·the·factory·encounters·topology·validation··errors.·By·default,·nothing·is·reported··Warning··msg···template··bool·TopologyRefinerFactory··Converter··assignFaceVaryingTopology··TopologyRefiner···refiner··,·Converter·const···conv·····Because·of·the·way·MSVC·specializes·templated·functions,·we·had·to··remove·the·default·stubs·in·FarTopologyRefinerFactory.·In·this··example,·no·face-varying·data·is·being·added,·but·we·still·need·to··implement·a·template·specialization·or·MSVC·linker·fails.·return·true···endif···namespace·Far···namespace·OPENSUBDIV_VERSION···namespace·OpenSubdiv·------------------------------------------------------------------------------···Vertex·container·implementation.··struct·Vertex···Minimal·required·interface·----------------------·Vertex····Vertex··Vertex·const··src···_position··0···src·.·_position··0··_position··1···src·.·_position··1··_position··2···src·.·_position··2···void·Clear··void···0···_position··0···_position··1···_position··2···0.0f···void·AddWithWeight··Vertex·const··src·,·float·weight···_position··0···weight··src·.·_position··0··_position··1···weight··src·.·_position··1··_position··2···weight··src·.·_position··2····Public·interface·------------------------------------·void·SetPosition··float·x·,·float·y·,·float·z···_position··0···x··_position··1···y··_position··2···z···const·float··GetPosition··const··return·_position···private··float·_position··3···------------------------------------------------------------------------------·int·main··int·,·char····Converter·conv··Far··TopologyRefiner··refiner··Far··TopologyRefinerFactory··Converter··Create··conv·,·Far··TopologyRefinerFactory··Converter··Options··conv·.·GetType·,·conv·.·GetOptions··int·maxlevel··5···Uniformly·refine·the·topology·up·to·maxlevel·refiner·-·RefineUniform··Far··TopologyRefiner··UniformOptions··maxlevel···Allocate·a·buffer·for·vertex·primvar·data.·The·buffer·length·is·set·to··be·the·sum·of·all·children·vertices·up·to·the·highest·level·of·refinement.·std··vector··Vertex··vbuffer··refiner·-·GetNumVerticesTotal··Vertex··verts···vbuffer··0···Initialize·coarse·mesh·positions·int·nCoarseVerts··g_nverts··for··int·i··0··i··nCoarseVerts···i···verts··i·.·SetPosition··g_verts··i··0·,·g_verts··i··1·,·g_verts··i··2····Interpolate·vertex·primvar·data·Far··PrimvarRefiner·primvarRefiner···refiner··Vertex··src··verts··for··int·level··1··level··maxlevel···level···Vertex··dst··src··refiner·-·GetLevel··level·-1·.·GetNumVertices··primvarRefiner·.·Interpolate··level·,·src·,·dst··src··dst·····Output·OBJ·of·the·highest·level·refined·-----------·Far··TopologyLevel·const··refLastLevel··refiner·-·GetLevel··maxlevel··int·nverts··refLastLevel·.·GetNumVertices··int·nfaces··refLastLevel·.·GetNumFaces···Print·vertex·positions·int·firstOfLastVerts··refiner·-·GetNumVerticesTotal··-·nverts··for··int·vert··0··vert··nverts···vert···float·const··pos··verts··firstOfLastVerts··vert·.·GetPosition··printf··v·f·f·f·n··,·pos··0·,·pos··1·,·pos··2····Print·faces·for··int·face··0··face··nfaces···face···Far··ConstIndexArray·fverts··refLastLevel·.·GetFaceVertices··face···all·refined·Catmark·faces·should·be·quads·assert··fverts·.·size···4··printf··f···for··int·vert··0··vert··fverts·.·size···vert···printf··d··,·fverts··vert···1···OBJ·uses·1-based·arrays...··printf···n·····delete·refiner··return·EXIT_SUCCESS···------------------------------------------------------------------------------·Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | ||
85 | ········"tags":·"", | ||
86 | ········"loc":·"far_tutorial_3_1.html" | ||
87 | ····},·{ | ||
88 | ········"title":·"far_tutorial_2_3.cpp", | 78 | ········"title":·"far_tutorial_2_3.cpp", |
89 | ········"text":·"far_tutorial_2_3.cpp·far_tutorial_2_3.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsfartutorial_2_3far_tutorial_2_3.cpp·------------------------------------------------------------------------------··Tutorial·description···NOTE·The·following·approaches·are·approximations·to·compute·smooth·normals,··for·highest·fidelity·patches·should·be·used·for·positions·and·normals,··which·form·the·true·limit·surface.···Building·on·tutorial·3,·this·example·shows·how·to·instantiate·a·simple·mesh,··refine·it·uniformly,·interpolate·both·vertex·and·face-varying··primvar·data,·and·finally·calculate·approximated·smooth·normals.··The·resulting·interpolated·data·is·output·in·obj·format.···Currently,·this·tutorial·supports·3·methods·to·approximate·smooth·normals···CrossTriangle··Calculates·smooth·normals·accumulating·per·vertex·using··3·verts·to·generate·2·vectors.·This·approximation·has··trouble·when·working·with·quads·which·can·be·non-planar··since·it·only·takes·into·account·half·of·each·face.···CrossQuad··Calculates·smooth·normals·accumulating·per·vertex··but·this·time,·instead·of·taking·into·account·only·3·verts··it·creates·2·vectors·crossing·the·quad.··This·approximation·builds·upon·CrossTriangle·but·takes··into·account·the·4·verts·of·the·face.···Limit··Calculates·the·normals·at·the·limit·for·each·vert··at·the·last·level·of·subdivision.··These·are·the·true·limit·normals,·however,·in·this·example··they·are·used·with·verts·that·are·not·at·the·limit.··This·can·lead·to·new·visual·artifacts·since·the·normals··and·the·positions·dont·match.·Additionally,·this·approach··requires·extra·computation·to·calculate·the·limit·normals.··For·this·reason,·we·strongly·suggest·using··limit·positions·with·limit·normals.··include·opensubdivfartopologyDescriptor.h·include·opensubdivfarprimvarRefiner.h·include·cstdio·------------------------------------------------------------------------------··Math·helpers.····Returns·the·normalized·version·of·the·input·vector·inline·void·normalize··float··n···float·rn··1.0f··sqrtf··n··0···n··0···n··1···n··1···n··2···n··2··n··0···rn··n··1···rn··n··2···rn····Returns·the·cross·product·of·p·v1·and·p·v2.·void·cross··float·const··v1·,·float·const··v2·,·float··vOut···vOut··0···v1··1···v2··2··-·v1··2···v2··1··vOut··1···v1··2···v2··0··-·v1··0···v2··2··vOut··2···v1··0···v2··1··-·v1··1···v2··0···------------------------------------------------------------------------------··Face-varying·implementation.···struct·Vertex···Minimal·required·interface·----------------------·Vertex···Clear···Vertex··Vertex·const··src···position··0···src·.·position··0··position··1···src·.·position··1··position··2···src·.·position··2···void·Clear···position··0···position··1···position··2···0.0f···void·AddWithWeight··Vertex·const··src·,·float·weight···position··0···weight··src·.·position··0··position··1···weight··src·.·position··1··position··2···weight··src·.·position··2····Public·interface·------------------------------------·void·SetPosition··float·x·,·float·y·,·float·z···position··0···x··position··1···y··position··2···z···const·float··GetPosition··const··return·position···float·position··3···------------------------------------------------------------------------------··Face-varying·container·implementation.···We·are·using·a·uv·texture·layout·as·a·face-varying·primtiive·variable··attribute.·Because·face-varying·data·is·specified·per-face-per-vertex,··we·cannot·use·the·same·container·that·we·use·for·vertex·or·varying··data.·We·specify·a·new·container,·which·only·carries·u,v·coordinates.··Similarly·to·our·Vertex·container,·we·add·a·minimaliztic·interpolation··interface·with·a·Clear·and·AddWithWeight·methods.··struct·FVarVertexUV···Minimal·required·interface·----------------------·void·Clear···u··v··0.0f···void·AddWithWeight··FVarVertexUV·const··src·,·float·weight···u··weight··src·.·u··v··weight··src·.·v····Basic·uv·layout·channel·float·u·,·v···struct·FVarVertexColor···Minimal·required·interface·----------------------·void·Clear···r··g··b··a··0.0f···void·AddWithWeight··FVarVertexColor·const··src·,·float·weight···r··weight··src·.·r··g··weight··src·.·g··b··weight··src·.·b··a··weight··src·.·a····Basic·color·layout·channel·float·r·,·g·,·b·,·a···------------------------------------------------------------------------------··Cube·geometry·from·catmark_cube.h··vertex·primitive·variable·data··topology·static·float·g_verts··8··3····-0.5f·,·-0.5f·,·0.5f·,··0.5f·,·-0.5f·,·0.5f·,··-0.5f·,·0.5f·,·0.5f·,··0.5f·,·0.5f·,·0.5f·,··-0.5f·,·0.5f·,·-0.5f·,··0.5f·,·0.5f·,·-0.5f·,··-0.5f·,·-0.5f·,·-0.5f·,··0.5f·,·-0.5f·,·-0.5f··static·int·g_nverts··8·,·g_nfaces··6··static·int·g_vertsperface··6····4·,·4·,·4·,·4·,·4·,·4··static·int·g_vertIndices··24····0·,·1·,·3·,·2·,·2·,·3·,·5·,·4·,·4·,·5·,·7·,·6·,·6·,·7·,·1·,·0·,·1·,·7·,·5·,·3·,·6·,·0·,·2·,·4···face-varying·primitive·variable·data··topology·for·UVs·static·float·g_uvs··14··2····0.375·,·0.00·,··0.625·,·0.00·,··0.375·,·0.25·,··0.625·,·0.25·,··0.375·,·0.50·,··0.625·,·0.50·,··0.375·,·0.75·,··0.625·,·0.75·,··0.375·,·1.00·,··0.625·,·1.00·,··0.875·,·0.00·,··0.875·,·0.25·,··0.125·,·0.00·,··0.125·,·0.25··static·int·g_nuvs··14··static·int·g_uvIndices··24····0·,·1·,·3·,·2·,·2·,·3·,·5·,·4·,·4·,·5·,·7·,·6·,·6·,·7·,·9·,·8·,·1·,·10·,·11·,·3·,·12·,·0·,·2·,·13···face-varying·primitive·variable·data··topology·for·color·static·float·g_colors··24··4····1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·0.0·,·0.0·,·1.0·,··1.0·,·0.0·,·0.0·,·1.0·,··1.0·,·0.0·,·0.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0··static·int·g_ncolors··24··static·int·g_colorIndices··24····0·,·3·,·9·,·6·,·7·,·10·,·15·,·12·,·13·,·16·,·21·,·18·,·19·,·22·,·4·,·1·,·5·,·23·,·17·,·11·,·20·,·2·,·8·,·14··using·namespace·OpenSubdiv···Approximation·methods·for·smooth·normal·computations·enum·NormalApproximation··CrossTriangle·,·CrossQuad·,·Limit··------------------------------------------------------------------------------·int·main··int·argc·,·char··argv···const·int·maxlevel··2··enum·NormalApproximation·normalApproximation··CrossTriangle···Parsing·command·line·parameters·to·see·if·the·user·wants·to·use·a··specific·method·to·calculate·normals·for··int·i··1··i··argc···i···if··strstr··argv··i·,·-limit···normalApproximation··Limit···else·if···strcmp··argv··i·,·-crossquad···normalApproximation··CrossQuad···else·if···strcmp··argv··i·,·-crosstriangle···normalApproximation··CrossTriangle···else··printf··Parameters··n···printf···-crosstriangle··use·the·cross·product·of·vectors·n···printf···generated·from·3·verts·default.·n···printf···-crossquad··use·the·cross·product·of·vectors·n···printf···generated·from·4·verts.·n···printf···-limit··use·normals·calculated·from·the·limit.·n···return·0····typedef·Far··TopologyDescriptor·Descriptor··Sdc··SchemeType·type··OpenSubdiv··Sdc··SCHEME_CATMARK··Sdc··Options·options··options·.·SetVtxBoundaryInterpolation··Sdc··Options··VTX_BOUNDARY_EDGE_ONLY··options·.·SetFVarLinearInterpolation··Sdc··Options··FVAR_LINEAR_NONE···Populate·a·topology·descriptor·with·our·raw·data·Descriptor·desc··desc·.·numVertices··g_nverts··desc·.·numFaces··g_nfaces··desc·.·numVertsPerFace··g_vertsperface··desc·.·vertIndicesPerFace··g_vertIndices···Create·a·face-varying·channel·descriptor·const·int·numChannels··2··const·int·channelUV··0··const·int·channelColor··1··Descriptor··FVarChannel·channels··numChannels··channels··channelUV·.·numValues··g_nuvs··channels··channelUV·.·valueIndices··g_uvIndices··channels··channelColor·.·numValues··g_ncolors··channels··channelColor·.·valueIndices··g_colorIndices···Add·the·channel·topology·to·the·main·descriptor·desc·.·numFVarChannels··numChannels··desc·.·fvarChannels··channels···Instantiate·a·FarTopologyRefiner·from·the·descriptor·Far··TopologyRefiner··refiner··Far··TopologyRefinerFactory··Descriptor··Create··desc·,·Far··TopologyRefinerFactory··Descriptor··Options··type·,·options···Uniformly·refine·the·topolgy·up·to·maxlevel··note·fullTopologyInLastLevel·must·be·true·to·work·with·face-varying·data··Far··TopologyRefiner··UniformOptions·refineOptions··maxlevel··refineOptions·.·fullTopologyInLastLevel··true··refiner·-·RefineUniform··refineOptions····Allocate·and·initialize·the·vertex·primvar·data·see·tutorial·2·for··more·details.·std··vector··Vertex··vbuffer··refiner·-·GetNumVerticesTotal··Vertex··verts···vbuffer··0··for··int·i··0··i··g_nverts···i···verts··i·.·SetPosition··g_verts··i··0·,·g_verts··i··1·,·g_verts··i··2····Allocate··initialize·the·first·channel·of·face-varying·primvars·UVs·std··vector··FVarVertexUV··fvBufferUV··refiner·-·GetNumFVarValuesTotal··channelUV··FVarVertexUV··fvVertsUV···fvBufferUV··0··for··int·i··0··i··g_nuvs···i···fvVertsUV··i·.·u··g_uvs··i··0··fvVertsUV··i·.·v··g_uvs··i··1····Allocate··interpolate·the·face-varying·primvar·data·colors·std··vector··FVarVertexColor··fvBufferColor··refiner·-·GetNumFVarValuesTotal··channelColor··FVarVertexColor··fvVertsColor···fvBufferColor··0··for··int·i··0··i··g_ncolors···i···fvVertsColor··i·.·r··g_colors··i··0··fvVertsColor··i·.·g··g_colors··i··1··fvVertsColor··i·.·b··g_colors··i··2··fvVertsColor··i·.·a··g_colors··i··3····Interpolate·both·vertex·and·face-varying·primvar·data·Far··PrimvarRefiner·primvarRefiner···refiner··Vertex··srcVert··verts··FVarVertexUV··srcFVarUV··fvVertsUV··FVarVertexColor··srcFVarColor··fvVertsColor··for··int·level··1··level··maxlevel···level···Vertex··dstVert··srcVert··refiner·-·GetLevel··level·-1·.·GetNumVertices··FVarVertexUV··dstFVarUV··srcFVarUV··refiner·-·GetLevel··level·-1·.·GetNumFVarValues··channelUV··FVarVertexColor··dstFVarColor··srcFVarColor··refiner·-·GetLevel··level·-1·.·GetNumFVarValues··channelColor··primvarRefiner·.·Interpolate··level·,·srcVert·,·dstVert··primvarRefiner·.·InterpolateFaceVarying··level·,·srcFVarUV·,·dstFVarUV·,·channelUV··primvarRefiner·.·InterpolateFaceVarying··level·,·srcFVarColor·,·dstFVarColor·,·channelColor··srcVert··dstVert··srcFVarUV··dstFVarUV··srcFVarColor··dstFVarColor····Approximate·normals·Far··TopologyLevel·const··refLastLevel··refiner·-·GetLevel··maxlevel··int·nverts··refLastLevel·.·GetNumVertices··int·nfaces··refLastLevel·.·GetNumFaces··int·firstOfLastVerts··refiner·-·GetNumVerticesTotal··-·nverts··std··vector··Vertex··normals··nverts···Different·ways·to·approximate·smooth·normals···For·details·check·the·description·at·the·beginning·of·the·file·if··normalApproximation··Limit····Approximation·using·the·normal·at·the·limit·with·verts·that·are··not·at·the·limit···For·details·check·the·description·at·the·beginning·of·the·file·std··vector··Vertex··fineLimitPos··nverts··std··vector··Vertex··fineDu··nverts··std··vector··Vertex··fineDv··nverts··primvarRefiner·.·Limit···verts··firstOfLastVerts·,·fineLimitPos·,·fineDu·,·fineDv··for··int·vert··0··vert··nverts···vert···float·const··du··fineDu··vert·.·GetPosition··float·const··dv··fineDv··vert·.·GetPosition··float·norm··3··cross··du·,·dv·,·norm··normals··vert·.·SetPosition··norm··0·,·norm··1·,·norm··2····else·if··normalApproximation··CrossQuad····Approximate·smooth·normals·by·accumulating·normal·vectors·computed·as··the·cross·product·of·two·vectors·generated·by·the·4·verts·that··form·each·quad···For·details·check·the·description·at·the·beginning·of·the·file·for··int·f··0··f··nfaces··f····Far··ConstIndexArray·faceVertices··refLastLevel·.·GetFaceVertices··f···We·will·use·the·first·three·verts·to·calculate·a·normal·const·float··v0··verts··firstOfLastVerts··faceVertices··0··.·GetPosition··const·float··v1··verts··firstOfLastVerts··faceVertices··1··.·GetPosition··const·float··v2··verts··firstOfLastVerts··faceVertices··2··.·GetPosition··const·float··v3··verts··firstOfLastVerts··faceVertices··3··.·GetPosition···Calculate·the·cross·product·between·the·vectors·formed·by·v1-v0·and··v2-v0,·and·then·normalize·the·result·float·normalCalculated····0.0·,·0.0·,·0.0··float·a··3····v2··0··-·v0··0·,·v2··1··-·v0··1·,·v2··2··-·v0··2···float·b··3····v3··0··-·v1··0·,·v3··1··-·v1··1·,·v3··2··-·v1··2···cross··a·,·b·,·normalCalculated··normalize··normalCalculated···Accumulate·that·normal·on·all·verts·that·are·part·of·that·face·for··int·vInFace··0··vInFace··faceVertices·.·size···vInFace····int·vertexIndex··faceVertices··vInFace··normals··vertexIndex·.·position··0···normalCalculated··0··normals··vertexIndex·.·position··1···normalCalculated··1··normals··vertexIndex·.·position··2···normalCalculated··2·····else·if··normalApproximation··CrossTriangle····Approximate·smooth·normals·by·accumulating·normal·vectors·computed·as··the·cross·product·of·two·vectors·generated·by·3·verts·of·the·quad···For·details·check·the·description·at·the·beginning·of·the·file·for··int·f··0··f··nfaces··f····Far··ConstIndexArray·faceVertices··refLastLevel·.·GetFaceVertices··f···We·will·use·the·first·three·verts·to·calculate·a·normal·const·float··v0··verts··firstOfLastVerts··faceVertices··0··.·GetPosition··const·float··v1··verts··firstOfLastVerts··faceVertices··1··.·GetPosition··const·float··v2··verts··firstOfLastVerts··faceVertices··2··.·GetPosition···Calculate·the·cross·product·between·the·vectors·formed·by·v1-v0·and··v2-v0,·and·then·normalize·the·result·float·normalCalculated····0.0·,·0.0·,·0.0··float·a··3····v1··0··-·v0··0·,·v1··1··-·v0··1·,·v1··2··-·v0··2···float·b··3····v2··0··-·v0··0·,·v2··1··-·v0··1·,·v2··2··-·v0··2···cross··a·,·b·,·normalCalculated··normalize··normalCalculated···Accumulate·that·normal·on·all·verts·that·are·part·of·that·face·for··int·vInFace··0··vInFace··faceVertices·.·size···vInFace····int·vertexIndex··faceVertices··vInFace··normals··vertexIndex·.·position··0···normalCalculated··0··normals··vertexIndex·.·position··1···normalCalculated··1··normals··vertexIndex·.·position··2···normalCalculated··2······Finally·we·just·need·to·normalize·the·accumulated·normals·for··int·vert··0··vert··nverts···vert···normalize···normals··vert·.·position··0·····Output·OBJ·of·the·highest·level·refined·-----------··Print·vertex·positions·for··int·vert··0··vert··nverts···vert···float·const··pos··verts··firstOfLastVerts··vert·.·GetPosition··printf··v·f·f·f·n··,·pos··0·,·pos··1·,·pos··2····Print·vertex·normals·for··int·vert··0··vert··nverts···vert···float·const··pos··normals··vert·.·GetPosition··printf··vn·f·f·f·n··,·pos··0·,·pos··1·,·pos··2····Print·uvs·int·nuvs··refLastLevel·.·GetNumFVarValues··channelUV··int·firstOfLastUvs··refiner·-·GetNumFVarValuesTotal··channelUV··-·nuvs··for··int·fvvert··0··fvvert··nuvs···fvvert···FVarVertexUV·const··uv··fvVertsUV··firstOfLastUvs··fvvert··printf··vt·f·f·n··,·uv·.·u·,·uv·.·v····Print·faces·for··int·face··0··face··nfaces···face···Far··ConstIndexArray·fverts··refLastLevel·.·GetFaceVertices··face··Far··ConstIndexArray·fuvs··refLastLevel·.·GetFaceFVarValues··face·,·channelUV···all·refined·Catmark·faces·should·be·quads·assert··fverts·.·size···4··fuvs·.·size···4··printf··f···for··int·vert··0··vert··fverts·.·size···vert····OBJ·uses·1-based·arrays...·printf··ddd··,·fverts··vert···1·,·fuvs··vert···1·,·fverts··vert···1···printf···n·····delete·refiner··return·EXIT_SUCCESS···------------------------------------------------------------------------------·Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | 79 | ········"text":·"far_tutorial_2_3.cpp·far_tutorial_2_3.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsfartutorial_2_3far_tutorial_2_3.cpp·------------------------------------------------------------------------------··Tutorial·description···NOTE·The·following·approaches·are·approximations·to·compute·smooth·normals,··for·highest·fidelity·patches·should·be·used·for·positions·and·normals,··which·form·the·true·limit·surface.···Building·on·tutorial·3,·this·example·shows·how·to·instantiate·a·simple·mesh,··refine·it·uniformly,·interpolate·both·vertex·and·face-varying··primvar·data,·and·finally·calculate·approximated·smooth·normals.··The·resulting·interpolated·data·is·output·in·obj·format.···Currently,·this·tutorial·supports·3·methods·to·approximate·smooth·normals···CrossTriangle··Calculates·smooth·normals·accumulating·per·vertex·using··3·verts·to·generate·2·vectors.·This·approximation·has··trouble·when·working·with·quads·which·can·be·non-planar··since·it·only·takes·into·account·half·of·each·face.···CrossQuad··Calculates·smooth·normals·accumulating·per·vertex··but·this·time,·instead·of·taking·into·account·only·3·verts··it·creates·2·vectors·crossing·the·quad.··This·approximation·builds·upon·CrossTriangle·but·takes··into·account·the·4·verts·of·the·face.···Limit··Calculates·the·normals·at·the·limit·for·each·vert··at·the·last·level·of·subdivision.··These·are·the·true·limit·normals,·however,·in·this·example··they·are·used·with·verts·that·are·not·at·the·limit.··This·can·lead·to·new·visual·artifacts·since·the·normals··and·the·positions·dont·match.·Additionally,·this·approach··requires·extra·computation·to·calculate·the·limit·normals.··For·this·reason,·we·strongly·suggest·using··limit·positions·with·limit·normals.··include·opensubdivfartopologyDescriptor.h·include·opensubdivfarprimvarRefiner.h·include·cstdio·------------------------------------------------------------------------------··Math·helpers.····Returns·the·normalized·version·of·the·input·vector·inline·void·normalize··float··n···float·rn··1.0f··sqrtf··n··0···n··0···n··1···n··1···n··2···n··2··n··0···rn··n··1···rn··n··2···rn····Returns·the·cross·product·of·p·v1·and·p·v2.·void·cross··float·const··v1·,·float·const··v2·,·float··vOut···vOut··0···v1··1···v2··2··-·v1··2···v2··1··vOut··1···v1··2···v2··0··-·v1··0···v2··2··vOut··2···v1··0···v2··1··-·v1··1···v2··0···------------------------------------------------------------------------------··Face-varying·implementation.···struct·Vertex···Minimal·required·interface·----------------------·Vertex···Clear···Vertex··Vertex·const··src···position··0···src·.·position··0··position··1···src·.·position··1··position··2···src·.·position··2···void·Clear···position··0···position··1···position··2···0.0f···void·AddWithWeight··Vertex·const··src·,·float·weight···position··0···weight··src·.·position··0··position··1···weight··src·.·position··1··position··2···weight··src·.·position··2····Public·interface·------------------------------------·void·SetPosition··float·x·,·float·y·,·float·z···position··0···x··position··1···y··position··2···z···const·float··GetPosition··const··return·position···float·position··3···------------------------------------------------------------------------------··Face-varying·container·implementation.···We·are·using·a·uv·texture·layout·as·a·face-varying·primtiive·variable··attribute.·Because·face-varying·data·is·specified·per-face-per-vertex,··we·cannot·use·the·same·container·that·we·use·for·vertex·or·varying··data.·We·specify·a·new·container,·which·only·carries·u,v·coordinates.··Similarly·to·our·Vertex·container,·we·add·a·minimaliztic·interpolation··interface·with·a·Clear·and·AddWithWeight·methods.··struct·FVarVertexUV···Minimal·required·interface·----------------------·void·Clear···u··v··0.0f···void·AddWithWeight··FVarVertexUV·const··src·,·float·weight···u··weight··src·.·u··v··weight··src·.·v····Basic·uv·layout·channel·float·u·,·v···struct·FVarVertexColor···Minimal·required·interface·----------------------·void·Clear···r··g··b··a··0.0f···void·AddWithWeight··FVarVertexColor·const··src·,·float·weight···r··weight··src·.·r··g··weight··src·.·g··b··weight··src·.·b··a··weight··src·.·a····Basic·color·layout·channel·float·r·,·g·,·b·,·a···------------------------------------------------------------------------------··Cube·geometry·from·catmark_cube.h··vertex·primitive·variable·data··topology·static·float·g_verts··8··3····-0.5f·,·-0.5f·,·0.5f·,··0.5f·,·-0.5f·,·0.5f·,··-0.5f·,·0.5f·,·0.5f·,··0.5f·,·0.5f·,·0.5f·,··-0.5f·,·0.5f·,·-0.5f·,··0.5f·,·0.5f·,·-0.5f·,··-0.5f·,·-0.5f·,·-0.5f·,··0.5f·,·-0.5f·,·-0.5f··static·int·g_nverts··8·,·g_nfaces··6··static·int·g_vertsperface··6····4·,·4·,·4·,·4·,·4·,·4··static·int·g_vertIndices··24····0·,·1·,·3·,·2·,·2·,·3·,·5·,·4·,·4·,·5·,·7·,·6·,·6·,·7·,·1·,·0·,·1·,·7·,·5·,·3·,·6·,·0·,·2·,·4···face-varying·primitive·variable·data··topology·for·UVs·static·float·g_uvs··14··2····0.375·,·0.00·,··0.625·,·0.00·,··0.375·,·0.25·,··0.625·,·0.25·,··0.375·,·0.50·,··0.625·,·0.50·,··0.375·,·0.75·,··0.625·,·0.75·,··0.375·,·1.00·,··0.625·,·1.00·,··0.875·,·0.00·,··0.875·,·0.25·,··0.125·,·0.00·,··0.125·,·0.25··static·int·g_nuvs··14··static·int·g_uvIndices··24····0·,·1·,·3·,·2·,·2·,·3·,·5·,·4·,·4·,·5·,·7·,·6·,·6·,·7·,·9·,·8·,·1·,·10·,·11·,·3·,·12·,·0·,·2·,·13···face-varying·primitive·variable·data··topology·for·color·static·float·g_colors··24··4····1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·0.0·,·0.0·,·1.0·,··1.0·,·0.0·,·0.0·,·1.0·,··1.0·,·0.0·,·0.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0··static·int·g_ncolors··24··static·int·g_colorIndices··24····0·,·3·,·9·,·6·,·7·,·10·,·15·,·12·,·13·,·16·,·21·,·18·,·19·,·22·,·4·,·1·,·5·,·23·,·17·,·11·,·20·,·2·,·8·,·14··using·namespace·OpenSubdiv···Approximation·methods·for·smooth·normal·computations·enum·NormalApproximation··CrossTriangle·,·CrossQuad·,·Limit··------------------------------------------------------------------------------·int·main··int·argc·,·char··argv···const·int·maxlevel··2··enum·NormalApproximation·normalApproximation··CrossTriangle···Parsing·command·line·parameters·to·see·if·the·user·wants·to·use·a··specific·method·to·calculate·normals·for··int·i··1··i··argc···i···if··strstr··argv··i·,·-limit···normalApproximation··Limit···else·if···strcmp··argv··i·,·-crossquad···normalApproximation··CrossQuad···else·if···strcmp··argv··i·,·-crosstriangle···normalApproximation··CrossTriangle···else··printf··Parameters··n···printf···-crosstriangle··use·the·cross·product·of·vectors·n···printf···generated·from·3·verts·default.·n···printf···-crossquad··use·the·cross·product·of·vectors·n···printf···generated·from·4·verts.·n···printf···-limit··use·normals·calculated·from·the·limit.·n···return·0····typedef·Far··TopologyDescriptor·Descriptor··Sdc··SchemeType·type··OpenSubdiv··Sdc··SCHEME_CATMARK··Sdc··Options·options··options·.·SetVtxBoundaryInterpolation··Sdc··Options··VTX_BOUNDARY_EDGE_ONLY··options·.·SetFVarLinearInterpolation··Sdc··Options··FVAR_LINEAR_NONE···Populate·a·topology·descriptor·with·our·raw·data·Descriptor·desc··desc·.·numVertices··g_nverts··desc·.·numFaces··g_nfaces··desc·.·numVertsPerFace··g_vertsperface··desc·.·vertIndicesPerFace··g_vertIndices···Create·a·face-varying·channel·descriptor·const·int·numChannels··2··const·int·channelUV··0··const·int·channelColor··1··Descriptor··FVarChannel·channels··numChannels··channels··channelUV·.·numValues··g_nuvs··channels··channelUV·.·valueIndices··g_uvIndices··channels··channelColor·.·numValues··g_ncolors··channels··channelColor·.·valueIndices··g_colorIndices···Add·the·channel·topology·to·the·main·descriptor·desc·.·numFVarChannels··numChannels··desc·.·fvarChannels··channels···Instantiate·a·FarTopologyRefiner·from·the·descriptor·Far··TopologyRefiner··refiner··Far··TopologyRefinerFactory··Descriptor··Create··desc·,·Far··TopologyRefinerFactory··Descriptor··Options··type·,·options···Uniformly·refine·the·topolgy·up·to·maxlevel··note·fullTopologyInLastLevel·must·be·true·to·work·with·face-varying·data··Far··TopologyRefiner··UniformOptions·refineOptions··maxlevel··refineOptions·.·fullTopologyInLastLevel··true··refiner·-·RefineUniform··refineOptions····Allocate·and·initialize·the·vertex·primvar·data·see·tutorial·2·for··more·details.·std··vector··Vertex··vbuffer··refiner·-·GetNumVerticesTotal··Vertex··verts···vbuffer··0··for··int·i··0··i··g_nverts···i···verts··i·.·SetPosition··g_verts··i··0·,·g_verts··i··1·,·g_verts··i··2····Allocate··initialize·the·first·channel·of·face-varying·primvars·UVs·std··vector··FVarVertexUV··fvBufferUV··refiner·-·GetNumFVarValuesTotal··channelUV··FVarVertexUV··fvVertsUV···fvBufferUV··0··for··int·i··0··i··g_nuvs···i···fvVertsUV··i·.·u··g_uvs··i··0··fvVertsUV··i·.·v··g_uvs··i··1····Allocate··interpolate·the·face-varying·primvar·data·colors·std··vector··FVarVertexColor··fvBufferColor··refiner·-·GetNumFVarValuesTotal··channelColor··FVarVertexColor··fvVertsColor···fvBufferColor··0··for··int·i··0··i··g_ncolors···i···fvVertsColor··i·.·r··g_colors··i··0··fvVertsColor··i·.·g··g_colors··i··1··fvVertsColor··i·.·b··g_colors··i··2··fvVertsColor··i·.·a··g_colors··i··3····Interpolate·both·vertex·and·face-varying·primvar·data·Far··PrimvarRefiner·primvarRefiner···refiner··Vertex··srcVert··verts··FVarVertexUV··srcFVarUV··fvVertsUV··FVarVertexColor··srcFVarColor··fvVertsColor··for··int·level··1··level··maxlevel···level···Vertex··dstVert··srcVert··refiner·-·GetLevel··level·-1·.·GetNumVertices··FVarVertexUV··dstFVarUV··srcFVarUV··refiner·-·GetLevel··level·-1·.·GetNumFVarValues··channelUV··FVarVertexColor··dstFVarColor··srcFVarColor··refiner·-·GetLevel··level·-1·.·GetNumFVarValues··channelColor··primvarRefiner·.·Interpolate··level·,·srcVert·,·dstVert··primvarRefiner·.·InterpolateFaceVarying··level·,·srcFVarUV·,·dstFVarUV·,·channelUV··primvarRefiner·.·InterpolateFaceVarying··level·,·srcFVarColor·,·dstFVarColor·,·channelColor··srcVert··dstVert··srcFVarUV··dstFVarUV··srcFVarColor··dstFVarColor····Approximate·normals·Far··TopologyLevel·const··refLastLevel··refiner·-·GetLevel··maxlevel··int·nverts··refLastLevel·.·GetNumVertices··int·nfaces··refLastLevel·.·GetNumFaces··int·firstOfLastVerts··refiner·-·GetNumVerticesTotal··-·nverts··std··vector··Vertex··normals··nverts···Different·ways·to·approximate·smooth·normals···For·details·check·the·description·at·the·beginning·of·the·file·if··normalApproximation··Limit····Approximation·using·the·normal·at·the·limit·with·verts·that·are··not·at·the·limit···For·details·check·the·description·at·the·beginning·of·the·file·std··vector··Vertex··fineLimitPos··nverts··std··vector··Vertex··fineDu··nverts··std··vector··Vertex··fineDv··nverts··primvarRefiner·.·Limit···verts··firstOfLastVerts·,·fineLimitPos·,·fineDu·,·fineDv··for··int·vert··0··vert··nverts···vert···float·const··du··fineDu··vert·.·GetPosition··float·const··dv··fineDv··vert·.·GetPosition··float·norm··3··cross··du·,·dv·,·norm··normals··vert·.·SetPosition··norm··0·,·norm··1·,·norm··2····else·if··normalApproximation··CrossQuad····Approximate·smooth·normals·by·accumulating·normal·vectors·computed·as··the·cross·product·of·two·vectors·generated·by·the·4·verts·that··form·each·quad···For·details·check·the·description·at·the·beginning·of·the·file·for··int·f··0··f··nfaces··f····Far··ConstIndexArray·faceVertices··refLastLevel·.·GetFaceVertices··f···We·will·use·the·first·three·verts·to·calculate·a·normal·const·float··v0··verts··firstOfLastVerts··faceVertices··0··.·GetPosition··const·float··v1··verts··firstOfLastVerts··faceVertices··1··.·GetPosition··const·float··v2··verts··firstOfLastVerts··faceVertices··2··.·GetPosition··const·float··v3··verts··firstOfLastVerts··faceVertices··3··.·GetPosition···Calculate·the·cross·product·between·the·vectors·formed·by·v1-v0·and··v2-v0,·and·then·normalize·the·result·float·normalCalculated····0.0·,·0.0·,·0.0··float·a··3····v2··0··-·v0··0·,·v2··1··-·v0··1·,·v2··2··-·v0··2···float·b··3····v3··0··-·v1··0·,·v3··1··-·v1··1·,·v3··2··-·v1··2···cross··a·,·b·,·normalCalculated··normalize··normalCalculated···Accumulate·that·normal·on·all·verts·that·are·part·of·that·face·for··int·vInFace··0··vInFace··faceVertices·.·size···vInFace····int·vertexIndex··faceVertices··vInFace··normals··vertexIndex·.·position··0···normalCalculated··0··normals··vertexIndex·.·position··1···normalCalculated··1··normals··vertexIndex·.·position··2···normalCalculated··2·····else·if··normalApproximation··CrossTriangle····Approximate·smooth·normals·by·accumulating·normal·vectors·computed·as··the·cross·product·of·two·vectors·generated·by·3·verts·of·the·quad···For·details·check·the·description·at·the·beginning·of·the·file·for··int·f··0··f··nfaces··f····Far··ConstIndexArray·faceVertices··refLastLevel·.·GetFaceVertices··f···We·will·use·the·first·three·verts·to·calculate·a·normal·const·float··v0··verts··firstOfLastVerts··faceVertices··0··.·GetPosition··const·float··v1··verts··firstOfLastVerts··faceVertices··1··.·GetPosition··const·float··v2··verts··firstOfLastVerts··faceVertices··2··.·GetPosition···Calculate·the·cross·product·between·the·vectors·formed·by·v1-v0·and··v2-v0,·and·then·normalize·the·result·float·normalCalculated····0.0·,·0.0·,·0.0··float·a··3····v1··0··-·v0··0·,·v1··1··-·v0··1·,·v1··2··-·v0··2···float·b··3····v2··0··-·v0··0·,·v2··1··-·v0··1·,·v2··2··-·v0··2···cross··a·,·b·,·normalCalculated··normalize··normalCalculated···Accumulate·that·normal·on·all·verts·that·are·part·of·that·face·for··int·vInFace··0··vInFace··faceVertices·.·size···vInFace····int·vertexIndex··faceVertices··vInFace··normals··vertexIndex·.·position··0···normalCalculated··0··normals··vertexIndex·.·position··1···normalCalculated··1··normals··vertexIndex·.·position··2···normalCalculated··2······Finally·we·just·need·to·normalize·the·accumulated·normals·for··int·vert··0··vert··nverts···vert···normalize···normals··vert·.·position··0·····Output·OBJ·of·the·highest·level·refined·-----------··Print·vertex·positions·for··int·vert··0··vert··nverts···vert···float·const··pos··verts··firstOfLastVerts··vert·.·GetPosition··printf··v·f·f·f·n··,·pos··0·,·pos··1·,·pos··2····Print·vertex·normals·for··int·vert··0··vert··nverts···vert···float·const··pos··normals··vert·.·GetPosition··printf··vn·f·f·f·n··,·pos··0·,·pos··1·,·pos··2····Print·uvs·int·nuvs··refLastLevel·.·GetNumFVarValues··channelUV··int·firstOfLastUvs··refiner·-·GetNumFVarValuesTotal··channelUV··-·nuvs··for··int·fvvert··0··fvvert··nuvs···fvvert···FVarVertexUV·const··uv··fvVertsUV··firstOfLastUvs··fvvert··printf··vt·f·f·n··,·uv·.·u·,·uv·.·v····Print·faces·for··int·face··0··face··nfaces···face···Far··ConstIndexArray·fverts··refLastLevel·.·GetFaceVertices··face··Far··ConstIndexArray·fuvs··refLastLevel·.·GetFaceFVarValues··face·,·channelUV···all·refined·Catmark·faces·should·be·quads·assert··fverts·.·size···4··fuvs·.·size···4··printf··f···for··int·vert··0··vert··fverts·.·size···vert····OBJ·uses·1-based·arrays...·printf··ddd··,·fverts··vert···1·,·fuvs··vert···1·,·fverts··vert···1···printf···n·····delete·refiner··return·EXIT_SUCCESS···------------------------------------------------------------------------------·Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", |
90 | ········"tags":·"", | 80 | ········"tags":·"", |
91 | ········"loc":·"far_tutorial_2_3.html" | 81 | ········"loc":·"far_tutorial_2_3.html" |
92 | ····},·{ | 82 | ····},·{ |
93 | ········"title":·"far_tutorial_ | 83 | ········"title":·"far_tutorial_3_1.cpp", |
94 | ········"text":·"far_tutorial_ | 84 | ········"text":·"far_tutorial_3_1.cpp·far_tutorial_3_1.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsfartutorial_3_1far_tutorial_3_1.cpp·-------------------------------------------------------[·...·truncated·by·diffoscope;·len:·12038,·SHA:·bc493fae7b62b8cb20b73eddcf80515802f01315a1f31db1fdb682beeae74952·...·]·Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", |
95 | ········"tags":·"", | 85 | ········"tags":·"", |
96 | ········"loc":·"far_tutorial_ | 86 | ········"loc":·"far_tutorial_3_1.html" |
87 | ····},·{ | ||
88 | ········"title":·"far_tutorial_4_1.cpp", | ||
89 | ········"text":·"far_tutorial_4_1.cpp·far_tutorial_4_1.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsfartutorial_4_1far_tutorial_4_1.cpp·------------------------------------------------------------------------------··Tutorial·description···This·tutorial·shows·how·to·create·and·manipulate·FarStencilTable.·We·use··the·factorized·stencils·to·interpolate·vertex·primvar·data·buffers.··include·opensubdivfartopologyDescriptor.h·include·opensubdivfarstencilTable.h·include·opensubdivfarstencilTableFactory.h·include·cstdio·include·cstring·------------------------------------------------------------------------------··Vertex·container·implementation.··struct·Vertex···Minimal·required·interface·----------------------·Vertex····Vertex··Vertex·const··src···_position··0···src·.·_position··0··_position··1···src·.·_position··1··_position··2···src·.·_position··2···void·Clear··void···0···_position··0···_position··1···_position··2···0.0f···void·AddWithWeight··Vertex·const··src·,·float·weight···_position··0···weight··src·.·_position··0··_position··1···weight··src·.·_position··1··_position··2···weight··src·.·_position··2····Public·interface·------------------------------------·void·SetPosition··float·x·,·float·y·,·float·z···_position··0···x··_position··1···y··_position··2···z···float·const··GetPosition··const··return·_position···private··float·_position··3···------------------------------------------------------------------------------··Cube·geometry·from·catmark_cube.h·static·float·g_verts··24····-0.5f·,·-0.5f·,·0.5f·,·0.5f·,·-0.5f·,·0.5f·,·-0.5f·,·0.5f·,·0.5f·,·0.5f·,·0.5f·,·0.5f·,·-0.5f·,·0.5f·,·-0.5f·,·0.5f·,·0.5f·,·-0.5f·,·-0.5f·,·-0.5f·,·-0.5f·,·0.5f·,·-0.5f·,·-0.5f··static·int·g_nverts··8·,·g_nfaces··6··static·int·g_vertsperface··6····4·,·4·,·4·,·4·,·4·,·4··static·int·g_vertIndices··24····0·,·1·,·3·,·2·,·2·,·3·,·5·,·4·,·4·,·5·,·7·,·6·,·6·,·7·,·1·,·0·,·1·,·7·,·5·,·3·,·6·,·0·,·2·,·4··using·namespace·OpenSubdiv··static·Far··TopologyRefiner··createTopologyRefiner··------------------------------------------------------------------------------·int·main··int·,·char·····Generate·a·FarTopologyRefiner·see·tutorial_1_1·for·details.·Far··TopologyRefiner··refiner··createTopologyRefiner···Uniformly·refine·the·topology·up·to·maxlevel.·int·maxlevel··3··refiner·-·RefineUniform··Far··TopologyRefiner··UniformOptions··maxlevel···Use·the·FarStencilTable·factory·to·create·discrete·stencil·table··note·we·only·want·stencils·for·the·highest·refinement·level.·Far··StencilTableFactory··Options·options··options·.·generateIntermediateLevels··false··options·.·generateOffsets··true··Far··StencilTable·const··stencilTable··Far··StencilTableFactory··Create···refiner·,·options···Allocate·vertex·primvar·buffer·1·stencil·for·each·vertex·int·nstencils··stencilTable·-·GetNumStencils··std··vector··Vertex··vertexBuffer··nstencils···Quick··dirty·re-cast·of·the·primvar·data·from·our·cube··this·is·where·you·would·drive·shape·deformations·every·frame·Vertex··controlValues··reinterpret_cast··Vertex···g_verts····This·section·would·be·applied·every·frame·after·control·vertices·have··been·moved.··Apply·stencils·on·the·control·vertex·data·to·update·the·primvar·data··of·the·refined·vertices.·stencilTable·-·UpdateValues··controlValues·,··vertexBuffer··0·····Visualization·with·Maya··print·a·MEL·script·that·generates·particles··at·the·location·of·the·refined·vertices·printf··particle···for··int·i··0··i···int··vertexBuffer·.·size···i···float·const··pos··vertexBuffer··i·.·GetPosition··printf··-p·f·f·f·n··,·pos··0·,·pos··1·,·pos··2···printf··-c·1·n····delete·refiner··delete·stencilTable··return·EXIT_SUCCESS···------------------------------------------------------------------------------·static·Far··TopologyRefiner··createTopologyRefiner····Populate·a·topology·descriptor·with·our·raw·data.·typedef·Far··TopologyDescriptor·Descriptor··Sdc··SchemeType·type··OpenSubdiv··Sdc··SCHEME_CATMARK··Sdc··Options·options··options·.·SetVtxBoundaryInterpolation··Sdc··Options··VTX_BOUNDARY_EDGE_ONLY··Descriptor·desc··desc·.·numVertices··g_nverts··desc·.·numFaces··g_nfaces··desc·.·numVertsPerFace··g_vertsperface··desc·.·vertIndicesPerFace··g_vertIndices···Instantiate·a·FarTopologyRefiner·from·the·descriptor.·return·Far··TopologyRefinerFactory··Descriptor··Create··desc·,·Far··TopologyRefinerFactory··Descriptor··Options··type·,·options···------------------------------------------------------------------------------·Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | ||
90 | ········"tags":·"", | ||
91 | ········"loc":·"far_tutorial_4_1.html" | ||
97 | ····},·{ | 92 | ····},·{ |
98 | ········"title":·"far_tutorial_2_2.cpp", | 93 | ········"title":·"far_tutorial_2_2.cpp", |
99 | ········"text":·"far_tutorial_2_2.cpp·far_tutorial_2_2.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsfartutorial_2_2far_tutorial_2_2.cpp·------------------------------------------------------------------------------··Tutorial·description···Building·on·tutorial·0,·this·example·shows·how·to·instantiate·a·simple·mesh,··refine·it·uniformly·and·then·interpolate·both·vertex·and·face-varying··primvar·data.··The·resulting·interpolated·data·is·output·as·an·obj·file,·with·the··face-varying·data·recorded·in·the·uv·texture·layout.··include·opensubdivfartopologyDescriptor.h·include·opensubdivfarprimvarRefiner.h·include·cstdio·------------------------------------------------------------------------------··Face-varying·implementation.···struct·Vertex···Minimal·required·interface·----------------------·Vertex····Vertex··Vertex·const··src···_position··0···src·.·_position··0··_position··1···src·.·_position··1··_position··2···src·.·_position··2···void·Clear··void···0···_position··0···_position··1···_position··2···0.0f···void·AddWithWeight··Vertex·const··src·,·float·weight···_position··0···weight··src·.·_position··0··_position··1···weight··src·.·_position··1··_position··2···weight··src·.·_position··2····Public·interface·------------------------------------·void·SetPosition··float·x·,·float·y·,·float·z···_position··0···x··_position··1···y··_position··2···z···const·float··GetPosition··const··return·_position···private··float·_position··3···------------------------------------------------------------------------------··Face-varying·container·implementation.···We·are·using·a·uv·texture·layout·as·a·face-varying·primitive·variable··attribute.·Because·face-varying·data·is·specified·per-face-per-vertex,··we·cannot·use·the·same·container·that·we·use·for·vertex·or·varying··data.·We·specify·a·new·container,·which·only·carries·u,v·coordinates.··Similarly·to·our·Vertex·container,·we·add·a·minimalistic·interpolation··interface·with·a·Clear·and·AddWithWeight·methods.··struct·FVarVertexUV···Minimal·required·interface·----------------------·void·Clear···u··v··0.0f···void·AddWithWeight··FVarVertexUV·const··src·,·float·weight···u··weight··src·.·u··v··weight··src·.·v····Basic·uv·layout·channel·float·u·,·v···struct·FVarVertexColor···Minimal·required·interface·----------------------·void·Clear···r··g··b··a··0.0f···void·AddWithWeight··FVarVertexColor·const··src·,·float·weight···r··weight··src·.·r··g··weight··src·.·g··b··weight··src·.·b··a··weight··src·.·a····Basic·color·layout·channel·float·r·,·g·,·b·,·a···------------------------------------------------------------------------------··Cube·geometry·from·catmark_cube.h··vertex·primitive·variable·data··topology·static·float·g_verts··8··3····-0.5f·,·-0.5f·,·0.5f·,··0.5f·,·-0.5f·,·0.5f·,··-0.5f·,·0.5f·,·0.5f·,··0.5f·,·0.5f·,·0.5f·,··-0.5f·,·0.5f·,·-0.5f·,··0.5f·,·0.5f·,·-0.5f·,··-0.5f·,·-0.5f·,·-0.5f·,··0.5f·,·-0.5f·,·-0.5f··static·int·g_nverts··8·,·g_nfaces··6··static·int·g_vertsperface··6····4·,·4·,·4·,·4·,·4·,·4··static·int·g_vertIndices··24····0·,·1·,·3·,·2·,·2·,·3·,·5·,·4·,·4·,·5·,·7·,·6·,·6·,·7·,·1·,·0·,·1·,·7·,·5·,·3·,·6·,·0·,·2·,·4···face-varying·primitive·variable·data··topology·for·UVs·static·float·g_uvs··14··2····0.375·,·0.00·,··0.625·,·0.00·,··0.375·,·0.25·,··0.625·,·0.25·,··0.375·,·0.50·,··0.625·,·0.50·,··0.375·,·0.75·,··0.625·,·0.75·,··0.375·,·1.00·,··0.625·,·1.00·,··0.875·,·0.00·,··0.875·,·0.25·,··0.125·,·0.00·,··0.125·,·0.25··static·int·g_nuvs··14··static·int·g_uvIndices··24····0·,·1·,·3·,·2·,·2·,·3·,·5·,·4·,·4·,·5·,·7·,·6·,·6·,·7·,·9·,·8·,·1·,·10·,·11·,·3·,·12·,·0·,·2·,·13···face-varying·primitive·variable·data··topology·for·color·static·float·g_colors··24··4····1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·0.0·,·0.0·,·1.0·,··1.0·,·0.0·,·0.0·,·1.0·,··1.0·,·0.0·,·0.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0··static·int·g_ncolors··24··static·int·g_colorIndices··24····0·,·3·,·9·,·6·,·7·,·10·,·15·,·12·,·13·,·16·,·21·,·18·,·19·,·22·,·4·,·1·,·5·,·23·,·17·,·11·,·20·,·2·,·8·,·14··using·namespace·OpenSubdiv··------------------------------------------------------------------------------·int·main··int·,·char····int·maxlevel··3··typedef·Far··TopologyDescriptor·Descriptor··Sdc··SchemeType·type··OpenSubdiv··Sdc··SCHEME_CATMARK··Sdc··Options·options··options·.·SetVtxBoundaryInterpolation··Sdc··Options··VTX_BOUNDARY_EDGE_ONLY··options·.·SetFVarLinearInterpolation··Sdc··Options··FVAR_LINEAR_NONE···Populate·a·topology·descriptor·with·our·raw·data·Descriptor·desc··desc·.·numVertices··g_nverts··desc·.·numFaces··g_nfaces··desc·.·numVertsPerFace··g_vertsperface··desc·.·vertIndicesPerFace··g_vertIndices··int·channelUV··0··int·channelColor··1···Create·a·face-varying·channel·descriptor·Descriptor··FVarChannel·channels··2··channels··channelUV·.·numValues··g_nuvs··channels··channelUV·.·valueIndices··g_uvIndices··channels··channelColor·.·numValues··g_ncolors··channels··channelColor·.·valueIndices··g_colorIndices···Add·the·channel·topology·to·the·main·descriptor·desc·.·numFVarChannels··2··desc·.·fvarChannels··channels···Instantiate·a·FarTopologyRefiner·from·the·descriptor·Far··TopologyRefiner··refiner··Far··TopologyRefinerFactory··Descriptor··Create··desc·,·Far··TopologyRefinerFactory··Descriptor··Options··type·,·options···Uniformly·refine·the·topology·up·to·maxlevel··note·fullTopologyInLastLevel·must·be·true·to·work·with·face-varying·data··Far··TopologyRefiner··UniformOptions·refineOptions··maxlevel··refineOptions·.·fullTopologyInLastLevel··true··refiner·-·RefineUniform··refineOptions····Allocate·and·initialize·the·vertex·primvar·data·see·tutorial·2·for··more·details.·std··vector··Vertex··vbuffer··refiner·-·GetNumVerticesTotal··Vertex··verts···vbuffer··0··for··int·i··0··i··g_nverts···i···verts··i·.·SetPosition··g_verts··i··0·,·g_verts··i··1·,·g_verts··i··2····Allocate·and·initialize·the·first·channel·of·face-varying·primvar·data·UVs·std··vector··FVarVertexUV··fvBufferUV··refiner·-·GetNumFVarValuesTotal··channelUV··FVarVertexUV··fvVertsUV···fvBufferUV··0··for··int·i··0··i··g_nuvs···i···fvVertsUV··i·.·u··g_uvs··i··0··fvVertsUV··i·.·v··g_uvs··i··1····Allocate··interpolate·the·face-varying·primvar·data·colors·std··vector··FVarVertexColor··fvBufferColor··refiner·-·GetNumFVarValuesTotal··channelColor··FVarVertexColor··fvVertsColor···fvBufferColor··0··for··int·i··0··i··g_ncolors···i···fvVertsColor··i·.·r··g_colors··i··0··fvVertsColor··i·.·g··g_colors··i··1··fvVertsColor··i·.·b··g_colors··i··2··fvVertsColor··i·.·a··g_colors··i··3····Interpolate·both·vertex·and·face-varying·primvar·data·Far··PrimvarRefiner·primvarRefiner···refiner··Vertex··srcVert··verts··FVarVertexUV··srcFVarUV··fvVertsUV··FVarVertexColor··srcFVarColor··fvVertsColor··for··int·level··1··level··maxlevel···level···Vertex··dstVert··srcVert··refiner·-·GetLevel··level·-1·.·GetNumVertices··FVarVertexUV··dstFVarUV··srcFVarUV··refiner·-·GetLevel··level·-1·.·GetNumFVarValues··channelUV··FVarVertexColor··dstFVarColor··srcFVarColor··refiner·-·GetLevel··level·-1·.·GetNumFVarValues··channelColor··primvarRefiner·.·Interpolate··level·,·srcVert·,·dstVert··primvarRefiner·.·InterpolateFaceVarying··level·,·srcFVarUV·,·dstFVarUV·,·channelUV··primvarRefiner·.·InterpolateFaceVarying··level·,·srcFVarColor·,·dstFVarColor·,·channelColor··srcVert··dstVert··srcFVarUV··dstFVarUV··srcFVarColor··dstFVarColor·····Output·OBJ·of·the·highest·level·refined·-----------·Far··TopologyLevel·const··refLastLevel··refiner·-·GetLevel··maxlevel··int·nverts··refLastLevel·.·GetNumVertices··int·nuvs··refLastLevel·.·GetNumFVarValues··channelUV··int·ncolors··refLastLevel·.·GetNumFVarValues··channelColor··int·nfaces··refLastLevel·.·GetNumFaces···Print·vertex·positions·int·firstOfLastVerts··refiner·-·GetNumVerticesTotal··-·nverts··for··int·vert··0··vert··nverts···vert···float·const··pos··verts··firstOfLastVerts··vert·.·GetPosition··printf··v·f·f·f·n··,·pos··0·,·pos··1·,·pos··2····Print·uvs·int·firstOfLastUvs··refiner·-·GetNumFVarValuesTotal··channelUV··-·nuvs··for··int·fvvert··0··fvvert··nuvs···fvvert···FVarVertexUV·const··uv··fvVertsUV··firstOfLastUvs··fvvert··printf··vt·f·f·n··,·uv·.·u·,·uv·.·v····Print·colors·int·firstOfLastColors··refiner·-·GetNumFVarValuesTotal··channelColor··-·ncolors··for··int·fvvert··0··fvvert··ncolors···fvvert···FVarVertexColor·const··c··fvVertsColor··firstOfLastColors··fvvert··printf··c·f·f·f·f·n··,·c·.·r·,·c·.·g·,·c·.·b·,·c·.·a····Print·faces·for··int·face··0··face··nfaces···face···Far··ConstIndexArray·fverts··refLastLevel·.·GetFaceVertices··face··Far··ConstIndexArray·fuvs··refLastLevel·.·GetFaceFVarValues··face·,·channelUV···all·refined·Catmark·faces·should·be·quads·assert··fverts·.·size···4··fuvs·.·size···4··printf··f···for··int·vert··0··vert··fverts·.·size···vert····OBJ·uses·1-based·arrays...·printf··dd··,·fverts··vert···1·,·fuvs··vert···1···printf···n·····delete·refiner··return·EXIT_SUCCESS···------------------------------------------------------------------------------·Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | 94 | ········"text":·"far_tutorial_2_2.cpp·far_tutorial_2_2.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsfartutorial_2_2far_tutorial_2_2.cpp·------------------------------------------------------------------------------··Tutorial·description···Building·on·tutorial·0,·this·example·shows·how·to·instantiate·a·simple·mesh,··refine·it·uniformly·and·then·interpolate·both·vertex·and·face-varying··primvar·data.··The·resulting·interpolated·data·is·output·as·an·obj·file,·with·the··face-varying·data·recorded·in·the·uv·texture·layout.··include·opensubdivfartopologyDescriptor.h·include·opensubdivfarprimvarRefiner.h·include·cstdio·------------------------------------------------------------------------------··Face-varying·implementation.···struct·Vertex···Minimal·required·interface·----------------------·Vertex····Vertex··Vertex·const··src···_position··0···src·.·_position··0··_position··1···src·.·_position··1··_position··2···src·.·_position··2···void·Clear··void···0···_position··0···_position··1···_position··2···0.0f···void·AddWithWeight··Vertex·const··src·,·float·weight···_position··0···weight··src·.·_position··0··_position··1···weight··src·.·_position··1··_position··2···weight··src·.·_position··2····Public·interface·------------------------------------·void·SetPosition··float·x·,·float·y·,·float·z···_position··0···x··_position··1···y··_position··2···z···const·float··GetPosition··const··return·_position···private··float·_position··3···------------------------------------------------------------------------------··Face-varying·container·implementation.···We·are·using·a·uv·texture·layout·as·a·face-varying·primitive·variable··attribute.·Because·face-varying·data·is·specified·per-face-per-vertex,··we·cannot·use·the·same·container·that·we·use·for·vertex·or·varying··data.·We·specify·a·new·container,·which·only·carries·u,v·coordinates.··Similarly·to·our·Vertex·container,·we·add·a·minimalistic·interpolation··interface·with·a·Clear·and·AddWithWeight·methods.··struct·FVarVertexUV···Minimal·required·interface·----------------------·void·Clear···u··v··0.0f···void·AddWithWeight··FVarVertexUV·const··src·,·float·weight···u··weight··src·.·u··v··weight··src·.·v····Basic·uv·layout·channel·float·u·,·v···struct·FVarVertexColor···Minimal·required·interface·----------------------·void·Clear···r··g··b··a··0.0f···void·AddWithWeight··FVarVertexColor·const··src·,·float·weight···r··weight··src·.·r··g··weight··src·.·g··b··weight··src·.·b··a··weight··src·.·a····Basic·color·layout·channel·float·r·,·g·,·b·,·a···------------------------------------------------------------------------------··Cube·geometry·from·catmark_cube.h··vertex·primitive·variable·data··topology·static·float·g_verts··8··3····-0.5f·,·-0.5f·,·0.5f·,··0.5f·,·-0.5f·,·0.5f·,··-0.5f·,·0.5f·,·0.5f·,··0.5f·,·0.5f·,·0.5f·,··-0.5f·,·0.5f·,·-0.5f·,··0.5f·,·0.5f·,·-0.5f·,··-0.5f·,·-0.5f·,·-0.5f·,··0.5f·,·-0.5f·,·-0.5f··static·int·g_nverts··8·,·g_nfaces··6··static·int·g_vertsperface··6····4·,·4·,·4·,·4·,·4·,·4··static·int·g_vertIndices··24····0·,·1·,·3·,·2·,·2·,·3·,·5·,·4·,·4·,·5·,·7·,·6·,·6·,·7·,·1·,·0·,·1·,·7·,·5·,·3·,·6·,·0·,·2·,·4···face-varying·primitive·variable·data··topology·for·UVs·static·float·g_uvs··14··2····0.375·,·0.00·,··0.625·,·0.00·,··0.375·,·0.25·,··0.625·,·0.25·,··0.375·,·0.50·,··0.625·,·0.50·,··0.375·,·0.75·,··0.625·,·0.75·,··0.375·,·1.00·,··0.625·,·1.00·,··0.875·,·0.00·,··0.875·,·0.25·,··0.125·,·0.00·,··0.125·,·0.25··static·int·g_nuvs··14··static·int·g_uvIndices··24····0·,·1·,·3·,·2·,·2·,·3·,·5·,·4·,·4·,·5·,·7·,·6·,·6·,·7·,·9·,·8·,·1·,·10·,·11·,·3·,·12·,·0·,·2·,·13···face-varying·primitive·variable·data··topology·for·color·static·float·g_colors··24··4····1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·0.0·,·0.0·,·1.0·,··1.0·,·0.0·,·0.0·,·1.0·,··1.0·,·0.0·,·0.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0·,··1.0·,·1.0·,·1.0·,·1.0··static·int·g_ncolors··24··static·int·g_colorIndices··24····0·,·3·,·9·,·6·,·7·,·10·,·15·,·12·,·13·,·16·,·21·,·18·,·19·,·22·,·4·,·1·,·5·,·23·,·17·,·11·,·20·,·2·,·8·,·14··using·namespace·OpenSubdiv··------------------------------------------------------------------------------·int·main··int·,·char····int·maxlevel··3··typedef·Far··TopologyDescriptor·Descriptor··Sdc··SchemeType·type··OpenSubdiv··Sdc··SCHEME_CATMARK··Sdc··Options·options··options·.·SetVtxBoundaryInterpolation··Sdc··Options··VTX_BOUNDARY_EDGE_ONLY··options·.·SetFVarLinearInterpolation··Sdc··Options··FVAR_LINEAR_NONE···Populate·a·topology·descriptor·with·our·raw·data·Descriptor·desc··desc·.·numVertices··g_nverts··desc·.·numFaces··g_nfaces··desc·.·numVertsPerFace··g_vertsperface··desc·.·vertIndicesPerFace··g_vertIndices··int·channelUV··0··int·channelColor··1···Create·a·face-varying·channel·descriptor·Descriptor··FVarChannel·channels··2··channels··channelUV·.·numValues··g_nuvs··channels··channelUV·.·valueIndices··g_uvIndices··channels··channelColor·.·numValues··g_ncolors··channels··channelColor·.·valueIndices··g_colorIndices···Add·the·channel·topology·to·the·main·descriptor·desc·.·numFVarChannels··2··desc·.·fvarChannels··channels···Instantiate·a·FarTopologyRefiner·from·the·descriptor·Far··TopologyRefiner··refiner··Far··TopologyRefinerFactory··Descriptor··Create··desc·,·Far··TopologyRefinerFactory··Descriptor··Options··type·,·options···Uniformly·refine·the·topology·up·to·maxlevel··note·fullTopologyInLastLevel·must·be·true·to·work·with·face-varying·data··Far··TopologyRefiner··UniformOptions·refineOptions··maxlevel··refineOptions·.·fullTopologyInLastLevel··true··refiner·-·RefineUniform··refineOptions····Allocate·and·initialize·the·vertex·primvar·data·see·tutorial·2·for··more·details.·std··vector··Vertex··vbuffer··refiner·-·GetNumVerticesTotal··Vertex··verts···vbuffer··0··for··int·i··0··i··g_nverts···i···verts··i·.·SetPosition··g_verts··i··0·,·g_verts··i··1·,·g_verts··i··2····Allocate·and·initialize·the·first·channel·of·face-varying·primvar·data·UVs·std··vector··FVarVertexUV··fvBufferUV··refiner·-·GetNumFVarValuesTotal··channelUV··FVarVertexUV··fvVertsUV···fvBufferUV··0··for··int·i··0··i··g_nuvs···i···fvVertsUV··i·.·u··g_uvs··i··0··fvVertsUV··i·.·v··g_uvs··i··1····Allocate··interpolate·the·face-varying·primvar·data·colors·std··vector··FVarVertexColor··fvBufferColor··refiner·-·GetNumFVarValuesTotal··channelColor··FVarVertexColor··fvVertsColor···fvBufferColor··0··for··int·i··0··i··g_ncolors···i···fvVertsColor··i·.·r··g_colors··i··0··fvVertsColor··i·.·g··g_colors··i··1··fvVertsColor··i·.·b··g_colors··i··2··fvVertsColor··i·.·a··g_colors··i··3····Interpolate·both·vertex·and·face-varying·primvar·data·Far··PrimvarRefiner·primvarRefiner···refiner··Vertex··srcVert··verts··FVarVertexUV··srcFVarUV··fvVertsUV··FVarVertexColor··srcFVarColor··fvVertsColor··for··int·level··1··level··maxlevel···level···Vertex··dstVert··srcVert··refiner·-·GetLevel··level·-1·.·GetNumVertices··FVarVertexUV··dstFVarUV··srcFVarUV··refiner·-·GetLevel··level·-1·.·GetNumFVarValues··channelUV··FVarVertexColor··dstFVarColor··srcFVarColor··refiner·-·GetLevel··level·-1·.·GetNumFVarValues··channelColor··primvarRefiner·.·Interpolate··level·,·srcVert·,·dstVert··primvarRefiner·.·InterpolateFaceVarying··level·,·srcFVarUV·,·dstFVarUV·,·channelUV··primvarRefiner·.·InterpolateFaceVarying··level·,·srcFVarColor·,·dstFVarColor·,·channelColor··srcVert··dstVert··srcFVarUV··dstFVarUV··srcFVarColor··dstFVarColor·····Output·OBJ·of·the·highest·level·refined·-----------·Far··TopologyLevel·const··refLastLevel··refiner·-·GetLevel··maxlevel··int·nverts··refLastLevel·.·GetNumVertices··int·nuvs··refLastLevel·.·GetNumFVarValues··channelUV··int·ncolors··refLastLevel·.·GetNumFVarValues··channelColor··int·nfaces··refLastLevel·.·GetNumFaces···Print·vertex·positions·int·firstOfLastVerts··refiner·-·GetNumVerticesTotal··-·nverts··for··int·vert··0··vert··nverts···vert···float·const··pos··verts··firstOfLastVerts··vert·.·GetPosition··printf··v·f·f·f·n··,·pos··0·,·pos··1·,·pos··2····Print·uvs·int·firstOfLastUvs··refiner·-·GetNumFVarValuesTotal··channelUV··-·nuvs··for··int·fvvert··0··fvvert··nuvs···fvvert···FVarVertexUV·const··uv··fvVertsUV··firstOfLastUvs··fvvert··printf··vt·f·f·n··,·uv·.·u·,·uv·.·v····Print·colors·int·firstOfLastColors··refiner·-·GetNumFVarValuesTotal··channelColor··-·ncolors··for··int·fvvert··0··fvvert··ncolors···fvvert···FVarVertexColor·const··c··fvVertsColor··firstOfLastColors··fvvert··printf··c·f·f·f·f·n··,·c·.·r·,·c·.·g·,·c·.·b·,·c·.·a····Print·faces·for··int·face··0··face··nfaces···face···Far··ConstIndexArray·fverts··refLastLevel·.·GetFaceVertices··face··Far··ConstIndexArray·fuvs··refLastLevel·.·GetFaceFVarValues··face·,·channelUV···all·refined·Catmark·faces·should·be·quads·assert··fverts·.·size···4··fuvs·.·size···4··printf··f···for··int·vert··0··vert··fverts·.·size···vert····OBJ·uses·1-based·arrays...·printf··dd··,·fverts··vert···1·,·fuvs··vert···1···printf···n·····delete·refiner··return·EXIT_SUCCESS···------------------------------------------------------------------------------·Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", |
100 | ········"tags":·"", | 95 | ········"tags":·"", |
101 | ········"loc":·"far_tutorial_2_2.html" | 96 | ········"loc":·"far_tutorial_2_2.html" |
102 | ····},·{ | 97 | ····},·{ |
103 | ········"title":·"far_tutorial_2_1.cpp", | 98 | ········"title":·"far_tutorial_2_1.cpp", |
104 | ········"text":·"far_tutorial_2_1.cpp·far_tutorial_2_1.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsfartutorial_2_1far_tutorial_2_1.cpp·------------------------------------------------------------------------------··Tutorial·description···Building·on·tutorial·0,·this·example·shows·how·to·instantiate·a·simple·mesh,··refine·it·uniformly·and·then·interpolate·additional·sets·of·primvar·data.··include·opensubdivfartopologyDescriptor.h·include·opensubdivfarprimvarRefiner.h·include·cstdio·------------------------------------------------------------------------------··Vertex·container·implementation.···We·are·adding·a·per-vertex·color·attribute·to·our·primvar·data.·While·they··are·separate·properties·and·exist·in·separate·buffers·as·when·read·from·an··Alembic·file·they·are·both·of·the·form·float3·and·so·we·can·use·the·same··underlying·type.···While·color·and·position·may·be·the·same,·well·make·the·color·a·varying··primvar,·e.g.·it·is·constrained·to·being·linearly·interpolated·between··vertices,·rather·than·smoothly·like·position·and·other·vertex·data.··struct·Point3···Minimal·required·interface·----------------------·Point3····void·Clear··void···0···_point··0···_point··1···_point··2···0.0f···void·AddWithWeight··Point3·const··src·,·float·weight···_point··0···weight··src·.·_point··0··_point··1···weight··src·.·_point··1··_point··2···weight··src·.·_point··2····Public·interface·------------------------------------·void·SetPoint··float·x·,·float·y·,·float·z···_point··0···x··_point··1···y··_point··2···z···const·float··GetPoint··const··return·_point···private··float·_point··3···typedef·Point3·VertexPosition··typedef·Point3·VertexColor··------------------------------------------------------------------------------··Cube·geometry·from·catmark_cube.h·static·float·g_verts··8··3····-0.5f·,·-0.5f·,·0.5f·,··0.5f·,·-0.5f·,·0.5f·,··-0.5f·,·0.5f·,·0.5f·,··0.5f·,·0.5f·,·0.5f·,··-0.5f·,·0.5f·,·-0.5f·,··0.5f·,·0.5f·,·-0.5f·,··-0.5f·,·-0.5f·,·-0.5f·,··0.5f·,·-0.5f·,·-0.5f···Per-vertex·RGB·color·data·static·float·g_colors··8··3····1.0f·,·0.0f·,·0.5f·,··0.0f·,·1.0f·,·0.0f·,··0.0f·,·0.0f·,·1.0f·,··1.0f·,·1.0f·,·1.0f·,··1.0f·,·1.0f·,·0.0f·,··0.0f·,·1.0f·,·1.0f·,··1.0f·,·0.0f·,·1.0f·,··0.0f·,·0.0f·,·0.0f··static·int·g_nverts··8·,·g_nfaces··6··static·int·g_vertsperface··6····4·,·4·,·4·,·4·,·4·,·4··static·int·g_vertIndices··24····0·,·1·,·3·,·2·,·2·,·3·,·5·,·4·,·4·,·5·,·7·,·6·,·6·,·7·,·1·,·0·,·1·,·7·,·5·,·3·,·6·,·0·,·2·,·4··using·namespace·OpenSubdiv··static·Far··TopologyRefiner··createFarTopologyRefiner··------------------------------------------------------------------------------·int·main··int·,·char····int·maxlevel··5··Far··TopologyRefiner··refiner··createFarTopologyRefiner···Uniformly·refine·the·topology·up·to·maxlevel·refiner·-·RefineUniform··Far··TopologyRefiner··UniformOptions··maxlevel···Allocate·buffers·for·vertex·primvar·data.···We·assume·we·received·the·coarse·data·for·the·mesh·in·separate·buffers··from·some·other·source,·e.g.·an·Alembic·file.·Meanwhile,·we·want·buffers··for·the·lastfinest·subdivision·level·to·persist.·We·have·no·interest··in·the·intermediate·levels.···Determine·the·sizes·for·our·needs·int·nCoarseVerts··g_nverts··int·nFineVerts··refiner·-·GetLevel··maxlevel·.·GetNumVertices··int·nTotalVerts··refiner·-·GetNumVerticesTotal··int·nTempVerts··nTotalVerts·-·nCoarseVerts·-·nFineVerts···Allocate·and·initialize·the·primvar·data·for·the·original·coarse·vertices·std··vector··VertexPosition··coarsePosBuffer··nCoarseVerts··std··vector··VertexColor··coarseClrBuffer··nCoarseVerts··for··int·i··0··i··nCoarseVerts···i···coarsePosBuffer··i·.·SetPoint··g_verts··i··0·,·g_verts··i··1·,·g_verts··i··2··coarseClrBuffer··i·.·SetPoint··g_colors··i··0·,·g_colors··i··1·,·g_colors··i··2····Allocate·intermediate·and·final·storage·to·be·populated·std··vector··VertexPosition··tempPosBuffer··nTempVerts··std··vector··VertexPosition··finePosBuffer··nFineVerts··std··vector··VertexColor··tempClrBuffer··nTempVerts··std··vector··VertexColor··fineClrBuffer··nFineVerts···Interpolate·all·primvar·data·--·separate·buffers·can·be·populated·on··separate·threads·if·desired·VertexPosition··srcPos···coarsePosBuffer··0··VertexPosition··dstPos···tempPosBuffer··0··VertexColor··srcClr···coarseClrBuffer··0··VertexColor··dstClr···tempClrBuffer··0··Far··PrimvarRefiner·primvarRefiner···refiner··for··int·level··1··level··maxlevel···level···primvarRefiner·.·Interpolate··level·,·srcPos·,·dstPos··primvarRefiner·.·InterpolateVarying··level·,·srcClr·,·dstClr··srcPos··dstPos·,·dstPos··refiner·-·GetLevel··level·.·GetNumVertices··srcClr··dstClr·,·dstClr··refiner·-·GetLevel··level·.·GetNumVertices····Interpolate·the·last·level·into·the·separate·buffers·for·our·final·data·primvarRefiner·.·Interpolate··maxlevel·,·srcPos·,·finePosBuffer··primvarRefiner·.·InterpolateVarying··maxlevel·,·srcClr·,·fineClrBuffer····Visualization·with·Maya··print·a·MEL·script·that·generates·colored··particles·at·the·location·of·the·refined·vertices·dont·forget·to··turn·shading·on·in·the·viewport·to·see·the·colors·int·nverts··nFineVerts···Output·particle·positions·printf··particle···for··int·vert··0··vert··nverts···vert···float·const··pos··finePosBuffer··vert·.·GetPoint··printf··-p·f·f·f·n··,·pos··0·,·pos··1·,·pos··2···printf···n····Set·particle·point·size·20·--·very·large·printf··addAttr·-is·true·-ln··pointSize··-at·long·-dv·20·particleShape1·n····Add·per-particle·color·attribute·rgbPP·printf··addAttr·-ln··rgbPP··-dt·vectorArray·particleShape1·n····Set·per-particle·color·values·from·our·primvar·data·printf··setAttr··particleShape1.rgbPP··-type··vectorArray··d··,·nverts··for··int·vert··0··vert··nverts···vert···float·const··color··fineClrBuffer··vert·.·GetPoint··printf··f·f·f·n··,·color··0·,·color··1·,·color··2···printf···n····delete·refiner··return·EXIT_SUCCESS···------------------------------------------------------------------------------··Creates·FarTopologyRefiner·from·raw·geometry···see·tutorial_1_1·for·more·details··static·Far··TopologyRefiner··createFarTopologyRefiner····Populate·a·topology·descriptor·with·our·raw·data·typedef·Far··TopologyDescriptor·Descriptor··Sdc··SchemeType·type··OpenSubdiv··Sdc··SCHEME_CATMARK··Sdc··Options·options··options·.·SetVtxBoundaryInterpolation··Sdc··Options··VTX_BOUNDARY_EDGE_ONLY··Descriptor·desc··desc·.·numVertices··g_nverts··desc·.·numFaces··g_nfaces··desc·.·numVertsPerFace··g_vertsperface··desc·.·vertIndicesPerFace··g_vertIndices···Instantiate·a·FarTopologyRefiner·from·the·descriptor·Far··TopologyRefiner··refiner··Far··TopologyRefinerFactory··Descriptor··Create··desc·,·Far··TopologyRefinerFactory··Descriptor··Options··type·,·options··return·refiner···------------------------------------------------------------------------------·Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", | 99 | ········"text":·"far_tutorial_2_1.cpp·far_tutorial_2_1.cpp·3.6.0·User·Docs·API·Docs·Release·Notes·Forum·Github·OSD_ARTICLE_TITLE·httpsgithub.comPixarAnimationStudiosOpenSubdivblobreleasetutorialsfartutorial_2_1far_tutorial_2_1.cpp·------------------------------------------------------------------------------··Tutorial·description···Building·on·tutorial·0,·this·example·shows·how·to·instantiate·a·simple·mesh,··refine·it·uniformly·and·then·interpolate·additional·sets·of·primvar·data.··include·opensubdivfartopologyDescriptor.h·include·opensubdivfarprimvarRefiner.h·include·cstdio·------------------------------------------------------------------------------··Vertex·container·implementation.···We·are·adding·a·per-vertex·color·attribute·to·our·primvar·data.·While·they··are·separate·properties·and·exist·in·separate·buffers·as·when·read·from·an··Alembic·file·they·are·both·of·the·form·float3·and·so·we·can·use·the·same··underlying·type.···While·color·and·position·may·be·the·same,·well·make·the·color·a·varying··primvar,·e.g.·it·is·constrained·to·being·linearly·interpolated·between··vertices,·rather·than·smoothly·like·position·and·other·vertex·data.··struct·Point3···Minimal·required·interface·----------------------·Point3····void·Clear··void···0···_point··0···_point··1···_point··2···0.0f···void·AddWithWeight··Point3·const··src·,·float·weight···_point··0···weight··src·.·_point··0··_point··1···weight··src·.·_point··1··_point··2···weight··src·.·_point··2····Public·interface·------------------------------------·void·SetPoint··float·x·,·float·y·,·float·z···_point··0···x··_point··1···y··_point··2···z···const·float··GetPoint··const··return·_point···private··float·_point··3···typedef·Point3·VertexPosition··typedef·Point3·VertexColor··------------------------------------------------------------------------------··Cube·geometry·from·catmark_cube.h·static·float·g_verts··8··3····-0.5f·,·-0.5f·,·0.5f·,··0.5f·,·-0.5f·,·0.5f·,··-0.5f·,·0.5f·,·0.5f·,··0.5f·,·0.5f·,·0.5f·,··-0.5f·,·0.5f·,·-0.5f·,··0.5f·,·0.5f·,·-0.5f·,··-0.5f·,·-0.5f·,·-0.5f·,··0.5f·,·-0.5f·,·-0.5f···Per-vertex·RGB·color·data·static·float·g_colors··8··3····1.0f·,·0.0f·,·0.5f·,··0.0f·,·1.0f·,·0.0f·,··0.0f·,·0.0f·,·1.0f·,··1.0f·,·1.0f·,·1.0f·,··1.0f·,·1.0f·,·0.0f·,··0.0f·,·1.0f·,·1.0f·,··1.0f·,·0.0f·,·1.0f·,··0.0f·,·0.0f·,·0.0f··static·int·g_nverts··8·,·g_nfaces··6··static·int·g_vertsperface··6····4·,·4·,·4·,·4·,·4·,·4··static·int·g_vertIndices··24····0·,·1·,·3·,·2·,·2·,·3·,·5·,·4·,·4·,·5·,·7·,·6·,·6·,·7·,·1·,·0·,·1·,·7·,·5·,·3·,·6·,·0·,·2·,·4··using·namespace·OpenSubdiv··static·Far··TopologyRefiner··createFarTopologyRefiner··------------------------------------------------------------------------------·int·main··int·,·char····int·maxlevel··5··Far··TopologyRefiner··refiner··createFarTopologyRefiner···Uniformly·refine·the·topology·up·to·maxlevel·refiner·-·RefineUniform··Far··TopologyRefiner··UniformOptions··maxlevel···Allocate·buffers·for·vertex·primvar·data.···We·assume·we·received·the·coarse·data·for·the·mesh·in·separate·buffers··from·some·other·source,·e.g.·an·Alembic·file.·Meanwhile,·we·want·buffers··for·the·lastfinest·subdivision·level·to·persist.·We·have·no·interest··in·the·intermediate·levels.···Determine·the·sizes·for·our·needs·int·nCoarseVerts··g_nverts··int·nFineVerts··refiner·-·GetLevel··maxlevel·.·GetNumVertices··int·nTotalVerts··refiner·-·GetNumVerticesTotal··int·nTempVerts··nTotalVerts·-·nCoarseVerts·-·nFineVerts···Allocate·and·initialize·the·primvar·data·for·the·original·coarse·vertices·std··vector··VertexPosition··coarsePosBuffer··nCoarseVerts··std··vector··VertexColor··coarseClrBuffer··nCoarseVerts··for··int·i··0··i··nCoarseVerts···i···coarsePosBuffer··i·.·SetPoint··g_verts··i··0·,·g_verts··i··1·,·g_verts··i··2··coarseClrBuffer··i·.·SetPoint··g_colors··i··0·,·g_colors··i··1·,·g_colors··i··2····Allocate·intermediate·and·final·storage·to·be·populated·std··vector··VertexPosition··tempPosBuffer··nTempVerts··std··vector··VertexPosition··finePosBuffer··nFineVerts··std··vector··VertexColor··tempClrBuffer··nTempVerts··std··vector··VertexColor··fineClrBuffer··nFineVerts···Interpolate·all·primvar·data·--·separate·buffers·can·be·populated·on··separate·threads·if·desired·VertexPosition··srcPos···coarsePosBuffer··0··VertexPosition··dstPos···tempPosBuffer··0··VertexColor··srcClr···coarseClrBuffer··0··VertexColor··dstClr···tempClrBuffer··0··Far··PrimvarRefiner·primvarRefiner···refiner··for··int·level··1··level··maxlevel···level···primvarRefiner·.·Interpolate··level·,·srcPos·,·dstPos··primvarRefiner·.·InterpolateVarying··level·,·srcClr·,·dstClr··srcPos··dstPos·,·dstPos··refiner·-·GetLevel··level·.·GetNumVertices··srcClr··dstClr·,·dstClr··refiner·-·GetLevel··level·.·GetNumVertices····Interpolate·the·last·level·into·the·separate·buffers·for·our·final·data·primvarRefiner·.·Interpolate··maxlevel·,·srcPos·,·finePosBuffer··primvarRefiner·.·InterpolateVarying··maxlevel·,·srcClr·,·fineClrBuffer····Visualization·with·Maya··print·a·MEL·script·that·generates·colored··particles·at·the·location·of·the·refined·vertices·dont·forget·to··turn·shading·on·in·the·viewport·to·see·the·colors·int·nverts··nFineVerts···Output·particle·positions·printf··particle···for··int·vert··0··vert··nverts···vert···float·const··pos··finePosBuffer··vert·.·GetPoint··printf··-p·f·f·f·n··,·pos··0·,·pos··1·,·pos··2···printf···n····Set·particle·point·size·20·--·very·large·printf··addAttr·-is·true·-ln··pointSize··-at·long·-dv·20·particleShape1·n····Add·per-particle·color·attribute·rgbPP·printf··addAttr·-ln··rgbPP··-dt·vectorArray·particleShape1·n····Set·per-particle·color·values·from·our·primvar·data·printf··setAttr··particleShape1.rgbPP··-type··vectorArray··d··,·nverts··for··int·vert··0··vert··nverts···vert···float·const··color··fineClrBuffer··vert·.·GetPoint··printf··f·f·f·n··,·color··0·,·color··1·,·color··2···printf···n····delete·refiner··return·EXIT_SUCCESS···------------------------------------------------------------------------------··Creates·FarTopologyRefiner·from·raw·geometry···see·tutorial_1_1·for·more·details··static·Far··TopologyRefiner··createFarTopologyRefiner····Populate·a·topology·descriptor·with·our·raw·data·typedef·Far··TopologyDescriptor·Descriptor··Sdc··SchemeType·type··OpenSubdiv··Sdc··SCHEME_CATMARK··Sdc··Options·options··options·.·SetVtxBoundaryInterpolation··Sdc··Options··VTX_BOUNDARY_EDGE_ONLY··Descriptor·desc··desc·.·numVertices··g_nverts··desc·.·numFaces··g_nfaces··desc·.·numVertsPerFace··g_vertsperface··desc·.·vertIndicesPerFace··g_vertIndices···Instantiate·a·FarTopologyRefiner·from·the·descriptor·Far··TopologyRefiner··refiner··Far··TopologyRefinerFactory··Descriptor··Create··desc·,·Far··TopologyRefinerFactory··Descriptor··Options··type·,·options··return·refiner···------------------------------------------------------------------------------·Generated·on·2025-01-02·0847·UTC.·User·Docs·API·Docs·Release·Notes·Forum·TM···1986·-·2017·PIXAR.·ALL·RIGHTS·RESERVED.·Terms·of·Use", |
105 | ········"tags":·"", | 100 | ········"tags":·"", |
106 | ········"loc":·"far_tutorial_2_1.html" | 101 | ········"loc":·"far_tutorial_2_1.html" |
107 | ····},·{ | 102 | ····},·{ |
Max diff block lines reached; 565133/854652 bytes (66.12%) of diff not shown. |